CN111213118A - Position identification method and terminal - Google Patents

Position identification method and terminal Download PDF

Info

Publication number
CN111213118A
CN111213118A CN201780095752.2A CN201780095752A CN111213118A CN 111213118 A CN111213118 A CN 111213118A CN 201780095752 A CN201780095752 A CN 201780095752A CN 111213118 A CN111213118 A CN 111213118A
Authority
CN
China
Prior art keywords
positioning mark
electronic map
priority
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201780095752.2A
Other languages
Chinese (zh)
Other versions
CN111213118B (en
Inventor
杜知行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Publication of CN111213118A publication Critical patent/CN111213118A/en
Application granted granted Critical
Publication of CN111213118B publication Critical patent/CN111213118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the invention discloses a position identification method and a terminal, wherein the method comprises the steps that the terminal acquires position information input to an electronic map, determines the position corresponding to the position information in the electronic map, and displays a positioning mark on the position; the method comprises the steps of detecting a sliding instruction input to the positioning mark, moving the positioning mark in the electronic map according to the sliding instruction to update the current position of the positioning mark, identifying the current position of the positioning mark and obtaining updated position information.

Description

Position identification method and terminal Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a position identification method and a terminal.
Background
With the development of science and technology, electronic maps are used more and more frequently, and route searching is the most common way for people to use maps, and the route searching inevitably has the selection of positions (such as starting points, passing points or destinations). The center area of the current electronic map displays a mark (such as a red dot), the mark is not movable, when a user needs to select a position on the electronic map, the map can be dragged, the position needing to be selected is ensured to be overlapped with the mark, and then the terminal can identify the position corresponding to the mark.
However, when the user selects a location by using the above method, the user usually needs to drag the electronic map for multiple times to ensure that the location to be selected coincides with the mark, or the user needs to first reduce the electronic map, determine the area to which the location to be selected belongs in the electronic map, then enlarge the area, and further drag the electronic map, so as to ensure that the location to be selected coincides with the mark, which is tedious in operation and has low efficiency of location identification.
Disclosure of Invention
The embodiment of the invention discloses a position identification method and a terminal, which can simplify the operation flow of a user when selecting a position in an electronic map and improve the position identification efficiency of the terminal.
A first aspect of an embodiment of the present invention provides a position identification method, including:
acquiring position information input to an electronic map;
determining a position corresponding to the position information in the electronic map, and displaying a positioning mark on the position;
detecting a sliding instruction input to the positioning mark, and moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark;
and identifying the current position of the positioning mark to obtain updated position information.
In a possible implementation manner, after determining a position corresponding to the position information in the electronic map and displaying a positioning mark on the position, the method further includes:
acquiring display time of at least two positioning marks, wherein the at least two positioning marks comprise the positioning mark;
determining the priority of the positioning mark corresponding to the display time according to the display time;
generating a route according to the priorities of the at least two positioning marks, wherein the route comprises a starting point and an end point, and the priority of the positioning mark corresponding to the starting point is higher than the priority of the positioning mark corresponding to the end point.
In a possible implementation manner, after determining a position corresponding to the position information in the electronic map and displaying a positioning mark on the position, the method further includes:
receiving an attribute information setting instruction;
setting attribute information of the positioning mark according to the attribute information setting instruction, wherein the attribute information comprises starting point identification information, passing point identification information and ending point identification information;
and determining the priority of the positioning mark according to the attribute information.
The priority of the positioning mark with the attribute information being the starting point identification information is higher than that of the positioning mark with the attribute information being the passing point identification information, and the priority of the positioning mark with the attribute information being the passing point identification information is higher than that of the positioning mark with the attribute information being the ending point identification information.
In a possible implementation manner, after determining a position corresponding to the position information in the electronic map and displaying a positioning mark on the position, the method further includes:
acquiring the priority corresponding to the positioning mark;
acquiring a target color corresponding to the positioning mark according to the corresponding relation between the priority and the color;
determining the display color of the positioning mark as the target color.
In one possible implementation manner, the terminal detects a zooming instruction input aiming at the electronic map;
and zooming the electronic map according to the zooming instruction.
In one possible implementation manner, the obtaining of the position information input to the electronic map includes:
when touch operation on the electronic map is detected, acquiring a touch point corresponding to the touch operation;
and acquiring the position information of the pointed position of the touch point in the electronic map.
In one possible implementation manner, the obtaining of the position information input to the electronic map includes:
detecting a search instruction of a search area in the electronic map;
and responding to the search instruction, and acquiring the position information input in the search area.
A second aspect of an embodiment of the present invention provides a terminal, including:
an acquisition unit configured to acquire position information input to an electronic map;
the determining unit is used for determining the position corresponding to the position information in the electronic map and displaying a positioning mark on the position;
the detection unit is used for detecting a sliding instruction input to the positioning mark and moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark;
and the identification unit is used for identifying the current position of the positioning mark to obtain updated position information.
The terminal provided in the second aspect of the embodiments of the present invention is configured to implement the location identification method provided in the first aspect of the embodiments of the present invention, and for a specific implementation process, reference may be made to the specific description of the first aspect, which is not described herein again.
A third aspect of the present embodiment provides another terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to the first aspect of the present embodiment.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to the first aspect of embodiments of the present invention.
In the embodiment of the invention, the terminal acquires the position information input to the electronic map, determines the position corresponding to the position information in the electronic map, displays the positioning mark on the position, updates the current position of the positioning mark by detecting the sliding instruction input to the positioning mark and moving the positioning mark in the electronic map according to the sliding instruction, further identifies the current position of the positioning mark to obtain the updated position information, can simplify the operation process of a user when selecting the position in the electronic map, and improves the position identification efficiency of the terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a location identification method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another position identification method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an electronic map interface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminal related to the embodiment of the invention can include but is not limited to electronic equipment such as a smart phone, a palm computer, a vehicle-mounted terminal or wearable equipment. The operating system of the terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiment of the present invention.
Referring to fig. 1, a schematic flow chart of a location identification method according to an embodiment of the present invention is shown, where the method includes:
s101, acquiring position information input to the electronic map.
Specifically, when the terminal detects that the current display interface is an electronic map interface, the terminal starts a position information input function, and the user can input position information of a position desired to be queried, so that the terminal can acquire the position information input by the user on the electronic map. The position information is a real geographical position, such as 'Hangzhou West lake', 'West-and-an terracotta warriors' and the like. The manner of inputting the location information by the user includes, but is not limited to, touching the electronic map to input the location information, inputting text carrying the location information in the location search box, or inputting voice carrying the location information in the location search box, etc.
S102, determining the position corresponding to the position information in the electronic map, and displaying a positioning mark on the position.
Specifically, the location information represents a real geographic location, and the location corresponding to the location information is a location in the electronic map corresponding to the real geographic location. After the terminal acquires the position information input by the user, a positioning mark is displayed at the position corresponding to the position information. Specifically, the shape of the positioning mark may include, but is not limited to, a water drop, a red dot, a circle, and the like, and the embodiment of the present invention is not limited thereto.
Optionally, the user presses a voice input key on the electronic map, the terminal can adjust the display area of the electronic map by inputting the 'Hangzhou West lake' through voice, the 'Hangzhou West lake' and a map around the 'Hangzhou West lake' are displayed in the display area of the electronic map, and a positioning mark in the shape of an inverted water drop is added at the position of the 'Hangzhou West lake'.
S103, detecting a sliding instruction input to the positioning mark, and moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark.
Specifically, a user finger performs sliding operation on the touch screen, the terminal generates a sliding instruction according to the sliding operation, and moves the positioning mark according to the sliding instruction. Alternatively, the movement trajectory of the positioning mark may be the same as the sliding trajectory of the user's finger.
Taking the schematic view of the electronic map interface shown in fig. 3 as an example, when the terminal displays the positioning mark at the position 301 of the electronic map, the user presses the positioning mark, then the finger drags the positioning mark to slide the positioning mark for a distance to the position 302, the terminal detects the sliding operation input by the user on the positioning mark, generates a sliding instruction, moves the positioning mark to the position 302 along the sliding track of the finger according to the sliding instruction, and displays the positioning mark at the position 302 to complete the position update. Alternatively, the terminal may display the position information and the display time of the positioning mark in the display frame 303 of the electronic map.
Optionally, when receiving a sliding instruction input by a user, the terminal may determine whether a pressure value carried by the sliding instruction is greater than a preset threshold, and if the pressure value is greater than the preset threshold, the terminal determines that the sliding instruction is an effective instruction, and controls the positioning mark 301 in the electronic map to move along a sliding track of a finger of the user. If the pressure value is smaller than or equal to the preset threshold value, optionally, ending the process, or prompting the user to perform the sliding operation again. The preset threshold may be 0.5 n, 1 n, 2 n, or the like, and it should be noted that the preset threshold may be set by a developer when the developer leaves a factory, or may be set by a user, which is not limited in the embodiment of the present invention.
S104, identifying the current position of the positioning mark to obtain updated position information.
Specifically, after the terminal moves the positioning mark according to the sliding operation input by the user on the positioning mark, the terminal detects the position information corresponding to the positioning mark, records the position information again, and completes the updating operation on the position information corresponding to the positioning mark.
Optionally, the electronic map may include a reliable position area and an unreliable position area, and after detecting that the positioning mark moves, the terminal may determine whether the current position of the positioning mark is in the reliable position area, and if the current position of the positioning mark is in the reliable position area, the terminal identifies the current position of the positioning mark to obtain updated position information. If the position of the positioning mark is in the unreliable position area, prompting a user whether to confirm that the positioning mark is moved to the position, and if the user confirms that the positioning mark is moved to the position, identifying the current position of the positioning mark by the terminal to obtain updated position information. If the user confirms that the positioning mark is rejected to be moved to the position, the terminal can update the display color of the reliable position area adjacent to the positioning mark in the electronic map from the first display color to the second display color so as to prompt the user to move the positioning mark to the reliable position area with the display color of the second display color, and after the user moves the positioning mark, the terminal can redetermine the position of the positioning mark and complete the updating operation of the positioning mark position information. It should be noted that the reliable location area and the unreliable location area are location areas that are set on a map in advance by the terminal, and the embodiment of the present invention is not limited. The first display color and the second display color are different, for example, the first display color may be blue and the second display color may be red.
For example, if the user moves the positioning mark into a river, the river is in an unreliable position area, the terminal sends a prompt message to inquire whether the user confirms that the positioning mark is moved to the position, if the user chooses not, the terminal changes the color of the reliable position area adjacent to the positioning mark in the electronic map from blue to red, so that the user can move the positioning mark to the reliable position area conveniently, the user moves the positioning mark to the reliable position area (such as a restaurant on the river bank) according to the prompt of the terminal, and the terminal redetermines the position of the positioning mark as the restaurant on the river bank to complete the operation of updating the position information of the positioning mark.
Optionally, the reliable location area may be set based on a user requirement, for example, when the user needs to locate the input location information, the terminal may set an area in the electronic map that is centered on the location information as the reliable location area. If the user needs to navigate the input location information (for example, the location information is used as a starting point or an end point), the terminal may set an area, such as a road, a stop, or a gateway, included in the electronic map and adjacent to the location information as a reliable location area.
For example, if the location information input by the user is "hangzhou west lake", when the user only needs to use an electronic map for positioning, the terminal may set an area including "hangzhou west lake" as a reliable location area, and if the user needs to use an electronic map for navigation (for example, input the location information as a starting point through taxi taking software), the "hangzhou west lake" belongs to an unreliable location area, and a road around the "hangzhou west lake" belongs to the reliable location area, the terminal may set the road around the "hangzhou west lake" as the reliable location area.
In the embodiment of the invention, the position information input to the electronic map is acquired, the position corresponding to the position information is determined in the electronic map, and the positioning mark is displayed at the position; and detecting a sliding instruction input to the positioning mark, moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark, identifying the current position of the positioning mark and obtaining updated position information, so that the operation process of a user when selecting a position in the electronic map can be simplified, and the position identification efficiency of the terminal is improved.
Referring to fig. 2, a schematic flow chart of a position identification method according to an embodiment of the present invention is shown, where the method includes:
s201, acquiring position information input to the electronic map.
Specifically, the terminal acquires the position information input by the user on the electronic map, wherein the position information input by the user is in a manner including but not limited to touch operation on the electronic map, inputting characters carrying the position information in the position search box, inputting voice carrying the position information in the position search box, and the like.
In a possible implementation manner, a user inputs a touch operation to the electronic map, and the terminal detects a touch position of the touch operation input by the user and acquires position information corresponding to the touch position.
Optionally, in the process of acquiring the position information input by the user on the electronic map, the terminal may complete the zoom processing on the electronic map according to the operation of the user, further detect the touch operation input by the user on the electronic map after the zoom processing, and acquire the position information corresponding to the position of the touch operation.
For example, the terminal performs zooming processing on an electronic map interface, displays a map module that the user desires to query in a display screen, the map module includes a position that the user desires to query, for example, the position that the user desires to query is 'west lake', the terminal displays the electronic map module including the position of 'west lake' according to the operation of the user, and the terminal can acquire the position information input by the user as 'west lake' by touching the position of 'west lake' in the electronic map.
In a possible implementation manner, the terminal displays a position search box in the electronic map, and the user can input the position information which the user wants to inquire in the position search box.
Optionally, when the information input by the user has a plurality of candidate location information, the terminal may display the plurality of candidate location information in a prompt box of the electronic map according to the information input by the user. The user selects one of the candidate position information in the prompt box, and the terminal determines the candidate position information selected by the user as the position information input by the user.
Optionally, the terminal may adjust a display area of the electronic map, and display all the candidate location information in the display area of the electronic map. When a user clicks one of the candidate information in the display area of the electronic map, the terminal determines the candidate position information selected by the user as the position information input by the user.
For example, the content input by the user in the location search box is "west lake", the terminal determines that the alternative location information is "west lake" located in hangzhou and "west lake" located in sichuan according to the information input by the user, the terminal may display the "west lake" located in hangzhou and the "west lake" located in sichuan in the prompt box, and adjust the display area of the electronic map, so that the electronic map may display the locations of the two "west lakes" at the same time. When the user selects the 'west lake' located in Hangzhou in the prompt box or clicks the position of the 'west lake' located in Hangzhou in the electronic map, the terminal determines that the position information input by the user is the 'west lake' located in Hangzhou. Optionally, the terminal may further adjust a zoom scale of the electronic map, so that the terminal accurately displays the positioning mark of the "west lake" in the hangzhou at the corresponding position of the display screen according to the zoom scale of the electronic map.
In a possible implementation manner, the terminal may provide a voice input key, the user starts to input voice information after pressing the voice input key, and the terminal acquires the location information that the user needs to query according to the voice information input by the user.
S202, determining a position corresponding to the position information in the electronic map, and displaying a positioning mark on the position.
Specifically, after receiving the position information input by the user, the terminal determines a position corresponding to the position information in the electronic map, and displays a positioning mark on the position. For example, if the user inputs "hangzhou west lake" in the location search box, the terminal displays a positioning mark at a location corresponding to "hangzhou west lake" in the electronic map.
It should be noted that, a user may input only one piece of location information, or may input a plurality of pieces of location information; if the user inputs a plurality of pieces of position information, the terminal may display a positioning mark at a position corresponding to each piece of position information. For example, a user may click any position in a map, and when the terminal detects that the click duration of the user is longer than a preset duration, a positioning mark may be displayed at the position clicked by the user. For another example, the user may click any position in the map, and when the terminal detects that the click pressure value of the user is greater than the preset pressure value, the positioning mark may be displayed at the position clicked by the user. For another example, the user may click any position in the map, and when the terminal detects that the click pressure value of the user is greater than the preset pressure value and the click duration is greater than the preset duration, the positioning mark may be displayed at the position clicked by the user
When the terminal displays the positioning marks, the display time of each positioning mark is recorded, and the display time of each positioning mark is displayed in the display area of the electronic map.
S203, determining the priority of the positioning mark according to the display time of the positioning mark.
Specifically, after the terminal displays the positioning marks in the electronic map, the display time of the positioning marks is recorded, and when at least two positioning marks are displayed by the terminal, the priority of the positioning marks is determined according to the display time. In an alternative implementation manner, the earlier the display time is, the higher the priority of the positioning mark is, or the later the display time is, the higher the priority of the positioning mark is, which is not limited in the embodiment of the present invention.
Optionally, after the terminal determines the priority of each positioning mark, an identifier corresponding to the priority of the positioning mark is displayed on the positioning mark, where the identifier includes, but is not limited to, a number, a letter, and the like. When the user needs to modify the priority of the positioning mark, the identifier corresponding to the positioning mark can be modified.
For example, for N positioning marks, N is an integer greater than or equal to 1, the positioning mark with the highest priority displays the number 1, the positioning mark with the second priority displays the number 2, and so on, the positioning mark with the lowest priority displays the number N. When a user wants to change the priority of the positioning mark, the user can click the number on the positioning mark to modify the number, and after the number is modified, the priority of the corresponding positioning mark is changed into the priority corresponding to the number.
Optionally, when the user wishes to set the priority of the positioning mark by himself, attribute information may be added to the positioning mark, and the terminal determines the priority of the positioning mark according to the attribute information added by the user. It should be noted that the attribute information includes start point identification information, route point identification information, or end point identification information, where the priority of the positioning mark of the attribute information, which is the start point identification information, is higher than the priority of the positioning mark of the attribute information, which is the route point identification information, and the priority of the positioning mark of the attribute information, which is the route point identification information, is higher than the priority of the positioning mark of the attribute information, which is the end point identification information. The terminal can determine the content displayed in the positioning mark attribute setting frame according to the number of the positioning marks displayed in the electronic map. When a plurality of route point identification information exists, the terminal adds an identification to each route point identification information, and determines the priority of the route point identification information according to the identification, wherein the identification includes but is not limited to numbers, letters and the like.
For example, the terminal displays 4 positioning marks on the electronic map, and the corresponding positions are a place 1, a place 2, a place 3 and a place 4. When a user clicks a positioning mark corresponding to a point 1, a positioning mark attribute information setting frame is displayed in the electronic map, and 4 positioning mark options are displayed in the frame, namely a starting point identifier, a passing point 1 identifier, a passing point 2 identifier and an end point identifier. If the user selects the start point identifier in the positioning marker option for the location 1, the terminal may determine the attribute information of the positioning marker corresponding to the location 1 as the start point identifier information. Correspondingly, the user selects the route point 1 identifier in the positioning mark option for the point 2, and the terminal can determine the attribute information of the positioning mark corresponding to the point 2 as the route point 1 identifier information. The user selects the route point 1 identifier in the positioning mark option for the point 2, and the terminal can determine the attribute information of the positioning mark corresponding to the point 2 as the route point 1 identifier information. The user selects the identification of the route point 2 in the positioning mark option aiming at the point 3, and the terminal can determine the attribute information of the positioning mark corresponding to the point 3 as the identification information of the route point 2. The terminal determines that the priority of the positioning mark corresponding to the place 1 is higher than that of the positioning mark corresponding to the place 2, the priority of the positioning mark corresponding to the place 2 is higher than that of the positioning mark corresponding to the place 3, and the priority of the positioning mark corresponding to the place 3 is higher than that of the positioning mark corresponding to the place 4 according to the setting of a user.
And S204, determining the target color corresponding to the positioning mark according to the corresponding relation between the priority and the color.
Specifically, after the priority of the positioning mark is determined according to step S203, the target color corresponding to the priority of the positioning mark may be determined according to the correspondence between the priority and the color, and the terminal acquires the target color and sets the color of the positioning mark as the target color. When the terminal modifies the priority of the positioning mark according to the operation of the user, the display color of the positioning mark is also changed into the color corresponding to the modified priority. It should be noted that the specific corresponding relationship between the priority and the color is set by the developer at the time of factory shipment, and the user may also modify the specific corresponding relationship in setting the function options, which is not limited in the embodiment of the present invention.
S205, detecting a sliding instruction input to the positioning mark, and moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark.
Specifically, when the display interface of the terminal is an electronic map interface, the user's finger slides on the touch screen. When the terminal detects that the user slides the positioning mark, the distance between the sliding starting point and the pressing ending point is judged, if the distance is larger than the preset distance, the terminal judges that the sliding operation is a sliding instruction input by the user to the positioning mark, the terminal redisplays the positioning mark at the position where the sliding operation of the user is finished, records the position of the positioning mark and the display time of the positioning mark, and finishes the updating operation of the current position of the positioning mark. If the distance is less than or equal to the preset distance, optionally, the terminal may end the process.
S206, identifying the current position of the positioning mark to obtain updated position information.
Specifically, after detecting that the user moves the positioning mark, the terminal redetermines the position of the positioning mark and the display time of the positioning mark, and displays the position and the display time in the display frame, so as to obtain updated position information.
And S207, generating a route according to the priorities of the at least two positioning marks.
Specifically, when the terminal detects that at least two positioning marks are displayed in the electronic map, a route is generated according to the priorities of the at least two positioning marks, the route comprises a starting point and an end point, and the priority of the positioning mark corresponding to the starting point is higher than the priority of the positioning mark corresponding to the end point.
Optionally, the route may further include a passing point, where the priority of the positioning mark corresponding to the start point is higher than the priority of the positioning mark corresponding to the passing point, and the priority of the positioning mark corresponding to the passing point is higher than the priority of the positioning mark corresponding to the end point.
Optionally, before the terminal generates the route, it is detected that the user clicks a route generation key preset in the electronic map. And if the terminal detects that the user clicks the key, generating a route according to the priorities of the at least two positioning marks, and displaying the route in the electronic map. The positioning mark with the highest priority is defined as the starting point of the route, the positioning mark with the second priority is defined as the first passing point of the route, and so on, the positioning mark with the lowest priority is defined as the ending point of the route.
In the embodiment of the invention, the position information input to the electronic map is acquired, the position corresponding to the position information is determined in the electronic map, the positioning mark is displayed on the position, after the positioning mark is displayed in the electronic map, the terminal acquires the display time of the positioning mark, determines the priority of the positioning mark according to the display time, determines the target color corresponding to the positioning mark according to the corresponding relation between the priority and the color, identifies the current position of the positioning mark to obtain the updated position information, and generates the route according to the priorities of at least two positioning marks. By the embodiment of the invention, the operation of the user in selecting the position in the electronic map can be simplified, and the position identification efficiency of the terminal is improved.
A terminal provided by an embodiment of the present invention will be described in detail with reference to fig. 4. It should be noted that the terminal shown in fig. 4 is used for executing the method according to the embodiment of the present invention shown in fig. 1-2, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, and reference is made to the embodiment of the present invention shown in fig. 1-2.
Please refer to fig. 4, which is a schematic structural diagram of a terminal according to the present invention; the terminal 40 may include: an acquisition unit 401, a determination unit 402, a detection unit 403, and an identification unit 404.
An acquisition unit 401 configured to acquire position information input to an electronic map;
a determining unit 402, configured to determine a position corresponding to the position information in the electronic map, and display a positioning mark at the position;
a detecting unit 403, configured to detect a sliding instruction input to the positioning mark, and move the positioning mark in the electronic map according to the sliding instruction, so as to update a current position of the positioning mark;
an identifying unit 404, configured to identify a current position of the positioning mark, so as to obtain updated position information.
Optionally, the obtaining unit 401 is further configured to obtain display time of at least two positioning marks after the determining unit 402 determines the position corresponding to the position information in the electronic map and displays the positioning marks at the position, where the at least two positioning marks include the positioning mark;
the determining unit 402 is further configured to determine, according to each display time, a priority of a positioning mark corresponding to the display time;
the determining unit 402 is further configured to generate a route according to the priorities of the at least two positioning marks, where the route includes a starting point and an end point, and the priority of the positioning mark corresponding to the starting point is higher than the priority of the positioning mark corresponding to the end point.
Optionally, the terminal in the embodiment of the present invention may further include:
a receiving unit 405, configured to receive an attribute information setting instruction after the determining unit 402 determines a position corresponding to the position information in the electronic map and displays a positioning mark at the position;
a setting unit 406, configured to set attribute information of the positioning mark according to the attribute information setting instruction, where the attribute information includes start point identification information, route point identification information, and end point identification information;
the determining unit 402 is further configured to determine a priority of the positioning mark according to the attribute information.
Optionally, the priority of the positioning mark whose attribute information is the start point identification information is higher than the priority of the positioning mark whose attribute information is the route point identification information, and the priority of the positioning mark whose attribute information is the route point identification information is higher than the priority of the positioning mark whose attribute information is the end point identification information.
Optionally, the obtaining unit 401 is further configured to obtain a priority corresponding to the positioning mark after the determining unit 402 determines the position corresponding to the position information in the electronic map, and displays the positioning mark at the position;
the obtaining unit 401 is further configured to obtain a target color corresponding to the priority of the positioning mark according to the correspondence between the priority and the color;
the terminal in the embodiment of the present invention may further include:
a setting unit 406, configured to set the display color of the positioning mark as the target color.
Optionally, the detecting unit 403 is further configured to detect a zoom instruction input for the electronic map;
the terminal in the embodiment of the present invention may further include:
a zooming unit 407, configured to zoom the electronic map according to the zooming instruction.
Optionally, the acquiring unit 401 acquires the position information input to the electronic map, which specifically includes:
when touch operation on the electronic map is detected, acquiring a touch point corresponding to the touch operation;
and acquiring the position information of the pointed position of the touch point in the electronic map.
Optionally, the acquiring unit 401 acquires the position information input to the electronic map, which specifically includes:
detecting a search instruction of a search area in the electronic map;
and responding to the search instruction, and acquiring the position information input in the search area.
In the embodiment of the present invention, the obtaining unit 401 obtains the position information input to the electronic map; the determining unit 402 determines a position corresponding to the position information in the electronic map, and displays a positioning mark on the position; the detection unit 403 detects a sliding instruction input to the positioning mark, and moves the positioning mark in the electronic map according to the sliding instruction, so as to update the current position of the positioning mark; the identification unit 404 identifies the current position of the positioning mark to obtain updated position information, so that the operation of the user in selecting a position in the electronic map can be simplified, and the position identification efficiency of the terminal can be improved.
Referring to fig. 5, a schematic structural diagram of another terminal is provided in the embodiment of the present invention. As shown in fig. 5, the terminal includes: at least one processor 501, an input device 503, an output device 504, a memory 505, at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The input device 503 may be a control panel, a microphone, or the like, and the output device 504 may be a display screen, or the like. The memory 505 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 505 may alternatively be at least one memory device located remotely from the processor 501. Wherein the processor 501 may be combined with the terminal described in fig. 4, the memory 505 stores a set of program codes, and the processor 501, the input device 503, and the output device 504 call the program codes stored in the memory 505 to perform the following operations:
the input device 503 acquires position information input to the electronic map;
the processor 501 determines a position corresponding to the position information in the electronic map, and the output device 504 displays a positioning mark at the position;
the input device 503 detects a sliding instruction input to the positioning mark, and the processor 501 moves the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark;
the processor 501 identifies the current position of the positioning mark to obtain updated position information.
In an alternative embodiment, after the output device 504 displays the positioning mark at the position, it is further configured to perform the following steps:
the processor 501 obtains display time of at least two positioning marks, wherein the at least two positioning marks comprise the positioning mark;
the processor 501 determines the priority of the positioning mark corresponding to the display time according to each display time;
the processor 501 generates a route according to the priorities of the at least two positioning marks, where the route includes a starting point and an end point, and the priority of the positioning mark corresponding to the starting point is higher than the priority of the positioning mark corresponding to the end point.
In an alternative embodiment, after the output device 504 displays the positioning mark at the position, it is further configured to perform the following steps:
the input device 503 receives an attribute information setting instruction;
the processor 501 sets attribute information of the positioning mark according to the attribute information setting instruction, where the attribute information includes start point identification information, passing point identification information, and end point identification information;
the processor 501 determines the priority of the positioning mark according to the attribute information, where the priority of the positioning mark whose attribute information is start point identification information is higher than the priority of the positioning mark whose attribute information is route point identification information, and the priority of the positioning mark whose attribute information is route point identification information is higher than the priority of the positioning mark whose attribute information is end point identification information.
In an alternative embodiment, after the output device 504 displays the positioning mark at the position, it is further configured to perform the following steps:
the processor 501 obtains the priority corresponding to the positioning mark;
the processor 501 obtains a target color corresponding to the priority of the positioning mark according to the corresponding relationship between the priority and the color;
the processor 501 sets the display color of the positioning mark to the target color.
In an alternative embodiment, the input device 503 may also perform the following steps:
detecting a zoom instruction input for the electronic map;
processor 501 may also perform the following steps:
and zooming the electronic map according to the zooming instruction.
In an alternative embodiment, the input device 503 may acquire the position information input to the electronic map, specifically:
when the input device 503 detects a touch operation on the electronic map, acquiring a touch point corresponding to the touch operation;
the processor 501 obtains position information of a position pointed by the touch point in the electronic map.
In an alternative embodiment, the input device 503 may acquire the position information input to the electronic map, specifically:
the input device 503 detects a search instruction for a search area in the electronic map;
the processor 501 responds to the search instruction and acquires the position information input in the search area.
In the embodiment of the present invention, the input device 503 acquires position information input to the electronic map; the processor 501 determines a position corresponding to the position information in the electronic map, and the output device 504 displays a positioning mark on the position; the input device 503 detects a sliding instruction input to the positioning mark, and the processor 501 moves the positioning mark in the electronic map according to the sliding instruction to update the current position of the positioning mark; the processor 501 identifies the current position of the positioning mark to obtain updated position information, so that the operation of the user in selecting a position in the electronic map can be simplified, and the position identification efficiency of the terminal can be improved.
The units in the embodiments of the present invention may be implemented by a general-purpose Integrated Circuit, such as a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC).
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like, and the bus 504 may be divided into an address bus, a data bus, a control bus, or the like, where fig. 5 is merely a thick line for ease of illustration, but does not indicate only one bus or one type of bus.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer storage medium and may include the processes of the embodiments of the methods described above when executed. The computer storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

  1. A method of location identification, comprising:
    acquiring position information input to an electronic map;
    determining a position corresponding to the position information in the electronic map, and displaying a positioning mark on the position;
    detecting a sliding instruction input to the positioning mark, and moving the positioning mark in the electronic map according to the sliding instruction so as to update the current position of the positioning mark;
    and identifying the current position of the positioning mark to obtain updated position information.
  2. The method according to claim 1, wherein after determining the position corresponding to the position information in the electronic map and displaying a positioning mark on the position, the method further comprises:
    acquiring display time of at least two positioning marks, wherein the at least two positioning marks comprise the positioning mark;
    determining the priority of the positioning mark corresponding to the display time according to the display time;
    generating a route according to the priorities of the at least two positioning marks, wherein the route comprises a starting point and an end point, and the priority of the positioning mark corresponding to the starting point is higher than the priority of the positioning mark corresponding to the end point.
  3. The method according to claim 1, wherein after determining the position corresponding to the position information in the electronic map and displaying a positioning mark on the position, the method further comprises:
    receiving an attribute information setting instruction;
    setting attribute information of the positioning mark according to the attribute information setting instruction, wherein the attribute information comprises starting point identification information, passing point identification information and ending point identification information;
    and determining the priority of the positioning mark according to the attribute information.
  4. The method according to claim 3, wherein the priority of the positioning mark whose attribute information is the start point identification information is higher than the priority of the positioning mark whose attribute information is the route point identification information, and the priority of the positioning mark whose attribute information is the route point identification information is higher than the priority of the positioning mark whose attribute information is the end point identification information.
  5. The method according to any one of claims 2-4, wherein after determining the position corresponding to the position information in the electronic map and displaying the positioning mark on the position, the method further comprises:
    acquiring the priority corresponding to the positioning mark;
    acquiring a target color corresponding to the priority of the positioning mark according to the corresponding relation between the priority and the color;
    setting the display color of the positioning mark as the target color.
  6. The method of claim 1, further comprising:
    detecting a zoom instruction input for the electronic map;
    and zooming the electronic map according to the zooming instruction.
  7. The method of claim 1, wherein the obtaining the location information input to the electronic map comprises:
    when touch operation on the electronic map is detected, acquiring a touch point corresponding to the touch operation;
    and acquiring the position information of the pointed position of the touch point in the electronic map.
  8. The method of claim 1, wherein the obtaining the location information input to the electronic map comprises:
    detecting a search instruction of a search area in the electronic map;
    and responding to the search instruction, and acquiring the position information input in the search area.
  9. A terminal, characterized in that it comprises means for performing the method according to any of claims 1-8.
  10. A terminal, comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-8.
CN201780095752.2A 2017-10-09 2017-10-09 Position identification method and terminal Active CN111213118B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105343 WO2019071378A1 (en) 2017-10-09 2017-10-09 Position identification method and terminal

Publications (2)

Publication Number Publication Date
CN111213118A true CN111213118A (en) 2020-05-29
CN111213118B CN111213118B (en) 2023-11-03

Family

ID=66100336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780095752.2A Active CN111213118B (en) 2017-10-09 2017-10-09 Position identification method and terminal

Country Status (2)

Country Link
CN (1) CN111213118B (en)
WO (1) WO2019071378A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707234A (en) * 2020-06-01 2020-09-25 柳七峰 Method and system for detecting levelness for rail track construction, storage medium and intelligent terminal
CN112651806A (en) * 2020-12-30 2021-04-13 北京瞰瞰科技有限公司 Method for quickly finding passenger

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020077746A1 (en) * 2000-12-14 2002-06-20 Gary Zuber Method and apparatus for providing routes using auto ferries and channels
JP2008262095A (en) * 2007-04-13 2008-10-30 Xanavi Informatics Corp In-vehicle map display apparatus
US20110224896A1 (en) * 2010-03-09 2011-09-15 Nokia Corporation Method and apparatus for providing touch based routing services
US20120215439A1 (en) * 2011-02-22 2012-08-23 E-Lead Electronic Co., Ltd. More accurate navigation method
US20140365124A1 (en) * 2013-06-08 2014-12-11 Apple Inc. Mapping Application Search Function
US20140365122A1 (en) * 2013-06-08 2014-12-11 Apple Inc. Navigation Peek Ahead and Behind in a Navigation Application
CN104679423A (en) * 2013-12-03 2015-06-03 方正国际软件(北京)有限公司 Method and system for accurately positioning geographic position of touch screen
CN104991727A (en) * 2015-07-20 2015-10-21 无线生活(杭州)信息科技有限公司 Information display method and device
CN105260431A (en) * 2015-09-30 2016-01-20 百度在线网络技术(北京)有限公司 Electronic map based information acquisition method and apparatus
US20160291852A1 (en) * 2015-03-31 2016-10-06 Naver Corporation Method and system for providing zoom-controlled transportation route map or road map
CN106323317A (en) * 2016-09-22 2017-01-11 百度在线网络技术(北京)有限公司 Navigation method and device
US20170039076A1 (en) * 2014-04-30 2017-02-09 Empire Technology Development Llc Adjusting tap position on touch screen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106969774A (en) * 2013-04-28 2017-07-21 腾讯科技(深圳)有限公司 Air navigation aid and device, terminal, server and system
CN103280153A (en) * 2013-05-24 2013-09-04 南京邮电大学 Mobile terminal positioning method based on QR codes
CN103455558A (en) * 2013-08-08 2013-12-18 义乌中国小商品城信息技术有限公司 Positioning method and positioning device
CN107093210B (en) * 2017-04-20 2021-07-16 北京图森智途科技有限公司 Laser point cloud labeling method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020077746A1 (en) * 2000-12-14 2002-06-20 Gary Zuber Method and apparatus for providing routes using auto ferries and channels
JP2008262095A (en) * 2007-04-13 2008-10-30 Xanavi Informatics Corp In-vehicle map display apparatus
US20110224896A1 (en) * 2010-03-09 2011-09-15 Nokia Corporation Method and apparatus for providing touch based routing services
US20120215439A1 (en) * 2011-02-22 2012-08-23 E-Lead Electronic Co., Ltd. More accurate navigation method
US20140365124A1 (en) * 2013-06-08 2014-12-11 Apple Inc. Mapping Application Search Function
US20140365122A1 (en) * 2013-06-08 2014-12-11 Apple Inc. Navigation Peek Ahead and Behind in a Navigation Application
CN104679423A (en) * 2013-12-03 2015-06-03 方正国际软件(北京)有限公司 Method and system for accurately positioning geographic position of touch screen
US20170039076A1 (en) * 2014-04-30 2017-02-09 Empire Technology Development Llc Adjusting tap position on touch screen
US20160291852A1 (en) * 2015-03-31 2016-10-06 Naver Corporation Method and system for providing zoom-controlled transportation route map or road map
CN104991727A (en) * 2015-07-20 2015-10-21 无线生活(杭州)信息科技有限公司 Information display method and device
CN105260431A (en) * 2015-09-30 2016-01-20 百度在线网络技术(北京)有限公司 Electronic map based information acquisition method and apparatus
CN106323317A (en) * 2016-09-22 2017-01-11 百度在线网络技术(北京)有限公司 Navigation method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111707234A (en) * 2020-06-01 2020-09-25 柳七峰 Method and system for detecting levelness for rail track construction, storage medium and intelligent terminal
CN112651806A (en) * 2020-12-30 2021-04-13 北京瞰瞰科技有限公司 Method for quickly finding passenger
CN112651806B (en) * 2020-12-30 2023-08-08 北京瞰瞰智能科技有限公司 Method for quickly finding passengers

Also Published As

Publication number Publication date
CN111213118B (en) 2023-11-03
WO2019071378A1 (en) 2019-04-18

Similar Documents

Publication Publication Date Title
AU2021200254B2 (en) Method for displaying current geographical location on emergency call screen and terminal
CN108827307B (en) Navigation method, navigation device, terminal and computer readable storage medium
TWI587254B (en) Method and non-transitory computer-readable medium for map language switching, and navigating systen
US10789078B2 (en) Method and system for inputting information
US20110224896A1 (en) Method and apparatus for providing touch based routing services
EP2306154A2 (en) Navigation device and program
US20190212163A1 (en) Route planning method and apparatus, computer storage medium, terminal
US8478516B2 (en) Method and system for providing navigation assistance on a mobile device
EP2588837B1 (en) Provision of database objects for destination search by a navigation device
CN101965500A (en) Graphical user interface for presenting location information
CN109631920B (en) Map application with improved navigation tool
CN111241222B (en) Map information display method, storage medium and electronic equipment
CN105608101B (en) Address utilizes method, device and mobile terminal in text
KR20100062901A (en) Method and device for searching course using touch pattern
CN105869513A (en) Method and apparatus for displaying associated mark points on electronic map interface
CN107077268B (en) Suggesting a target location as a viewport moves
CN112132654A (en) Method, device and storage medium for displaying house source information
CN109029480B (en) Map application with improved navigation tool
CN111213118B (en) Position identification method and terminal
CN103778209A (en) POI (Point of Interest) search result display method and electronic equipment
CN106886294B (en) Input method error correction method and device
US9285219B2 (en) Technique for determining location data from a database
CN106970899B (en) Text processing method and device
US9830359B2 (en) Marking and searching mobile content by location
JP2013127724A (en) Application selection device, application selection means, and application selection program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant