-
公开(公告)号:US12056125B2
公开(公告)日:2024-08-06
申请号:US17860906
申请日:2022-07-08
Applicant: Huawei Technologies Co., Ltd. , Tsinghua University
Inventor: Guoliang Li , Xiang Yu , Di Yang
IPC: G06F16/2453 , G06F16/22
CPC classification number: G06F16/24544 , G06F16/2246 , G06F16/24545
Abstract: A database processing method and an apparatus are provided, and may be applied to a database system. A tree structure is used to represent a join order and used as an input of a neural network, and different first attribute matrices are allocated to different brother nodes in the input tree structure. This helps the neural network comprehensively learn information about the join order, obtain representation information capable of differentiating the join order from another join order, and predict costs of the join order accurately based on the obtained representation information of the join order. Then, an optimizer selects a join order with lowest costs for a query statement based on the costs predicted by a cost prediction module.
-
公开(公告)号:US10900789B2
公开(公告)日:2021-01-26
申请号:US16303324
申请日:2016-05-20
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chenxi Lu , Yu Wang , Guoliang Li , Xiaohan Chen
Abstract: A positioning method and a mobile device, where the method is applied to the mobile device and includes periodically detecting a status of the mobile device, where the status of the mobile device includes a driving state and a walking state, positioning the mobile device using a first positioning algorithm when detecting that a quantity of times that the driving state consecutively occurs reaches M, where the M is an integer greater than one, and positioning the mobile device using a second positioning algorithm when detecting that a quantity of times that the walking state consecutively occurs reaches N, where the N is an integer greater than one. Hence, the status of the mobile device can be more accurately determined by implementing this technical solution to position the mobile device using a positioning algorithm matching an actual status of the mobile device, thereby improving accuracy of a positioning result.
-
公开(公告)号:US20190212150A1
公开(公告)日:2019-07-11
申请号:US16303324
申请日:2016-05-20
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chenxi Lu , Yu Wang , Guoliang Li , Xiaohan Chen
IPC: G01C21/20
CPC classification number: G01C21/20 , H04M1/72569 , H04M1/72572 , H04M2250/12 , H04W64/00 , H04W64/006
Abstract: A positioning method and a mobile device, where the method is applied to the mobile device and includes periodically detecting a status of the mobile device, where the status of the mobile device includes a driving state and a walking state, positioning the mobile device using a first positioning algorithm when detecting that a quantity of times that the driving state consecutively occurs reaches M, where the M is an integer greater than one, and positioning the mobile device using a second positioning algorithm when detecting that a quantity of times that the walking state consecutively occurs reaches N, where the N is an integer greater than one. Hence, the status of the mobile device can be more accurately determined by implementing this technical solution to position the mobile device using a positioning algorithm matching an actual status of the mobile device, thereby improving accuracy of a positioning result.
-
-