Method and device for positioning and navigating
First Claim
1. A method for positioning and navigating for use in an electronic device, the electronic device including a processor and a memory for storing instructions executable by the processor, the method comprising:
- obtaining, by the processor, an initial coordinate of a user;
obtaining, by the processor, a preset number of one or more environment pictures in a preset geographic range corresponding to the initial coordinate, and obtaining, by the processor, an absolute coordinate corresponding to each of the obtained environment pictures from a preset correspondence relationship between different environment pictures and different absolute coordinates;
obtaining, by the processor, for each of the obtained environment pictures, a relative position between an object in the environment picture and the user; and
determining, by the processor, current geographic position information of the user based on the relative position and the absolute coordinate;
wherein the obtaining of the preset number of environment pictures comprises;
obtaining m candidate pictures in the preset geographic range corresponding to the initial coordinate; and
selecting n environment pictures from the m candidate pictures as the obtained environment pictures, wherein m≧
n>
0;
wherein when the preset number of environment pictures is one and a first environment picture is obtained, the determining comprises;
determining a current orientation of the user based on the relative position obtained for the first environment picture, the absolute coordinate corresponding to the first environment picture, and the initial coordinate of the user; and
determining the initial coordinate as an actual coordinate of the user;
wherein when the preset number of environment pictures is two and first and second environment pictures are obtained, the determining comprises;
determining the current orientation and the actual coordinate of the user based on the relative positions obtained for the first and second environment pictures, respectively, the absolute coordinates corresponding to the first and second environment pictures, respectively, and the initial coordinate of the user; and
wherein when the preset number of environment pictures is three or more, and first, second, third, or more environment pictures are obtained, the determining comprises;
determining the current orientation and the actual coordinate of the user based on the relative positions obtained for the first, second, third, or more environment pictures, respectively, and the absolute coordinates corresponding to the first, second, third, or more environment pictures, respectively.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for positioning and navigating for use in an electronic device, includes: obtaining an initial coordinate of a user; obtaining a preset number of one or more environment pictures in a preset geographic range corresponding to the initial coordinate, and obtaining an absolute coordinate corresponding to each of the obtained environment pictures from a preset correspondence relationship between different environment pictures and different absolute coordinates; obtaining, for each of the obtained environment pictures, a relative position between an object in the environment picture and the user; and determining current geographic position information of the user based on the relative position and the absolute coordinate.
-
Citations
16 Claims
-
1. A method for positioning and navigating for use in an electronic device, the electronic device including a processor and a memory for storing instructions executable by the processor, the method comprising:
-
obtaining, by the processor, an initial coordinate of a user; obtaining, by the processor, a preset number of one or more environment pictures in a preset geographic range corresponding to the initial coordinate, and obtaining, by the processor, an absolute coordinate corresponding to each of the obtained environment pictures from a preset correspondence relationship between different environment pictures and different absolute coordinates; obtaining, by the processor, for each of the obtained environment pictures, a relative position between an object in the environment picture and the user; and determining, by the processor, current geographic position information of the user based on the relative position and the absolute coordinate; wherein the obtaining of the preset number of environment pictures comprises; obtaining m candidate pictures in the preset geographic range corresponding to the initial coordinate; and selecting n environment pictures from the m candidate pictures as the obtained environment pictures, wherein m≧
n>
0;wherein when the preset number of environment pictures is one and a first environment picture is obtained, the determining comprises; determining a current orientation of the user based on the relative position obtained for the first environment picture, the absolute coordinate corresponding to the first environment picture, and the initial coordinate of the user; and determining the initial coordinate as an actual coordinate of the user; wherein when the preset number of environment pictures is two and first and second environment pictures are obtained, the determining comprises; determining the current orientation and the actual coordinate of the user based on the relative positions obtained for the first and second environment pictures, respectively, the absolute coordinates corresponding to the first and second environment pictures, respectively, and the initial coordinate of the user; and wherein when the preset number of environment pictures is three or more, and first, second, third, or more environment pictures are obtained, the determining comprises; determining the current orientation and the actual coordinate of the user based on the relative positions obtained for the first, second, third, or more environment pictures, respectively, and the absolute coordinates corresponding to the first, second, third, or more environment pictures, respectively. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An electronic device for positioning and navigating, comprising:
-
a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to; obtain an initial coordinate of a user; obtain a preset number of one or more environment pictures in a preset geographic range corresponding to the initial coordinate, and obtain an absolute coordinate corresponding to each of the obtained environment pictures from a preset correspondence relationship between different environment pictures and different absolute coordinates; obtain, for each of the obtained environment pictures, a relative position between an object in the environment picture and the user; and determine current geographic position information of the user based on the relative position and the absolute coordinate; wherein, in obtaining the preset number of environment pictures, the processor is further configured to; obtain m candidate pictures in the preset geographic range corresponding to the initial coordinate; and select n environment pictures from the m candidate pictures as the obtained environment pictures, wherein m≧
n>
0;wherein when the preset number of environment pictures is one and a first environment picture is obtained, the processor is further configured to; determine a current orientation of the user based on the relative position obtained for the first environment picture, the absolute coordinate corresponding to the first environment picture, and the initial coordinate of the user; and determine the initial coordinate as an actual coordinate of the user; wherein when the preset number of environment pictures is two and first and second environment pictures are obtained, the processor is further configured to; determine the current orientation and the actual coordinate of the user based on the relative positions obtained for the first and second environment pictures, respectively, the absolute coordinates corresponding to the first and second environment pictures, respectively, and the initial coordinate of the user; and wherein when the preset number of environment pictures is three or more, and first, second, third, or more environment pictures are obtained, the processor is further configured to; determine the current orientation and the actual coordinate of the user based on the relative positions obtained for the first, second, third, or more environment pictures, respectively, and the absolute coordinates corresponding to the first, second, third, or more environment pictures, respectively. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification