Method and device for selecting order locations based on map search
By displaying a selection icon on the map page and allowing users to drag it to a predetermined location, the problem of inaccurate location information input by users is solved, thus improving the user experience of the ride-hailing system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING DIDI INFINITY TECH & DEV CO LTD
- Filing Date
- 2016-09-07
- Publication Date
- 2026-06-30
AI Technical Summary
In existing ride-hailing systems, the location information entered by users cannot be accurately located, resulting in a poor user experience.
This paper provides a method for selecting order locations under map search. It displays selection icons on the map page and allows users to drag the selection icons to the predicted location points, and determines the selection location by combining selection strategies.
This increases the user's freedom and operability in selecting the origin and destination of an order, thus enhancing the user experience.
Smart Images

Figure CN116701783B_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application No. 201610808446.6, filed on September 7, 2016, entitled "Method and Apparatus for Selecting Order Points under Map Search". Technical Field
[0002] This invention relates to the field of computer processing technology, and in particular to a method and apparatus for selecting order points under map search. Background Technology
[0003] The use of ride-hailing systems is becoming increasingly common. Passengers can submit ride requests through ride-hailing software installed on their user equipment (UE), and the ride-hailing system will then generate and allocate orders based on the ride requests.
[0004] When a passenger sends a ride request through the UE, they need to enter their starting point and destination. Due to the intelligence of the ride-hailing system, when the starting point or destination is entered, the system will automatically match the entered location information to display locations that are the same as or close to the entered location information in the drop-down menu, so as to obtain the existing precise location information on the map.
[0005] However, there's a possibility that the user's entered location information cannot be found in the dropdown menu, or that only nearby locations can be found, but these nearby locations cannot accurately pinpoint the user's desired location. Therefore, locating a location becomes difficult for the user, leading to a less than ideal user experience. Summary of the Invention
[0006] This invention provides a method and apparatus for selecting order locations using map search, which solves the problem in the prior art that it is impossible to accurately locate on a map based on the location name.
[0007] In a first aspect, the present invention provides a method for selecting order points under map search, comprising:
[0008] When a map selection trigger operation is detected, the map page that matches the area information entered in the current address search box is called, and the selection icon is displayed on the map page according to the first selection strategy.
[0009] The response icon drag operation moves the selected point icon to the predicted location point on the map page;
[0010] The selected location is determined based on the second selection strategy and the predicted location.
[0011] Preferably, before the map selection trigger operation is detected, the method further includes:
[0012] When the focus of the information input falls into the address search box, the address information input in the address search box is obtained, and the address information includes area information and location information;
[0013] The location information is used to match the location in a preset address database, and the matching information and map selection icons are displayed in the drop-down menu.
[0014] Preferably, the first point selection strategy includes:
[0015] The address search box includes a starting address search box and an ending address search box, and the corresponding selection point icons are displayed at the center, starting point, and ending point of the map page.
[0016] Preferably, the second point selection strategy includes:
[0017] After the selected point icon is moved to the predicted location point on the map page by the response icon drag operation, the address information within the preset range of the predicted location point is obtained, and the address information of the predicted location point and the address information within the preset range of the predicted location point are displayed in the drop-down address list.
[0018] If you select any location information in the drop-down address list, the selected location information is the selected location point;
[0019] If the predicted location point is selected, then the predicted location point is the selected location point.
[0020] Preferably, if the area information includes multiple sub-areas, the selection icon is displayed at the center of the map page corresponding to the sub-area with the largest area.
[0021] Secondly, the present invention provides an order selection device under map search, comprising:
[0022] The display module is used to call up a map page that matches the area information entered in the current address search box after detecting the map selection trigger operation, and display the selection icon on the map page according to the first selection strategy.
[0023] The prediction module is used to respond to icon dragging operations to make the selected point icon reach the predicted location point on the map page;
[0024] The point selection module is used to determine the selected point location based on the second point selection strategy and the predicted location point.
[0025] Preferably, it further includes an input module and a matching module, wherein,
[0026] The input module is used to obtain the address information entered in the address search box after detecting that the information input focus has fallen into the address search box. The address information includes region information and location information.
[0027] The matching module is used to perform matching in a preset address information database based on the location information, and display the matching information and map selection icons in the drop-down menu.
[0028] Preferably, the first point selection strategy includes:
[0029] The address search box includes a starting address search box and an ending address search box, and the corresponding selection point icons are displayed at the center, starting point, and ending point of the map page.
[0030] Preferably, the point selection module is specifically used for:
[0031] After the selected point icon is moved to the predicted location point on the map page by the response icon drag operation, the address information within the preset range of the predicted location point is obtained, and the address information of the predicted location point and the address information within the preset range of the predicted location point are displayed in the drop-down address list.
[0032] If you select any location information in the drop-down address list, the selected location information is the selected location point;
[0033] If the predicted location point is selected, then the predicted location point is the selected location point.
[0034] Preferably, if the area information includes multiple sub-areas, the selection icon is displayed at the center of the map page corresponding to the sub-area with the largest area.
[0035] As can be seen from the above technical solution, the order selection method and device under map search provided by the present invention, when the location information that matches the location information entered in the address search box is not found in the address information database, enters the map selection interface after triggering the operation, and drags the selection icon to determine the predicted location point. Based on the predicted location point, the selected location point is determined, which makes the selection of the starting point and the ending point of the order more free and operable, and brings a better user experience. Attached Figure Description
[0036] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
[0037] Figure 1 This is a flowchart illustrating the order selection method under map search provided in Embodiment 1 of the present invention;
[0038] Figure 2 A schematic diagram of the location information input and matching process provided in Embodiment 1 of the present invention;
[0039] Figure 3 This is a schematic diagram of the input page provided in Embodiment 1 of the present invention;
[0040] Figure 4 This is a schematic diagram of the interface for dragging a map provided in Embodiment 1 of the present invention;
[0041] Figure 5 This is a schematic diagram of the order selection device under map search provided in Embodiment 2 of the present invention. Detailed Implementation
[0042] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0043] The following provides examples of some of the terms mentioned in the embodiments of this disclosure.
[0044] In this disclosure, the term "User Equipment" (UE) refers to a mobile terminal or personal computer (PC) used by a calling service provider, such as a passenger in a ride-hailing service. Examples include smartphones, personal digital assistants (PDAs), tablets, laptops, carputers, handheld game consoles, smart glasses, smartwatches, wearable devices, virtual display devices, or display enhancement devices (such as Google Glass, Oculus Rift, HoloLens, and Gear VR).
[0045] Figure 1 This invention illustrates a method for selecting order points using a map search, as provided in Embodiment 1 of the present invention, comprising:
[0046] S11. When a map selection trigger operation is detected, the map page that matches the area information entered in the current address search box is called, and the selection icon is displayed on the map page according to the first selection strategy.
[0047] In this step S11, it should be noted that before detecting the trigger operation of map point selection, it is necessary to input location information in the starting address search box or the ending address search box first, so as to determine whether there is matching information identical to the input location information, and thus determine whether to trigger the map point selection operation.
[0048] Therefore, the input matching process of the embodiment of the present invention is as Figure 2 shown:
[0049] S111. After detecting that the information input focus falls into the address search box, obtain the address information input in the address search box, where the address information includes region information and location information.
[0050] In this step S111, it is explained as Figure 3 shown. The address search box includes a region information box and a location information box. Among them, the region information box can input province, city, planned area, etc. The location information box can input location name, address number, etc.
[0051] As Figure 3 shown, input the region information "Beijing" and the location information "Qingluo" in the address search box.
[0052] S112. Match according to the location information in the preset address information library, and display the matching information and the map point selection icon in the called drop-down menu.
[0053] In this step S112, it is continued to be explained as Figure 3 shown. After inputting the region information "Beijing" and the location information "Qingluo" in the address search box, the server will search for location points similar to or identical to "Qingluo" from the preset address information library by using the common search method and display them in the drop-down menu.
[0054] As Figure 3 shown, the drop-down menu displays "Qingyundian Police Station Public Security Patrol Team" and "Qinglongqiao Sub-district Office Public Security Patrol Booth", and at the same time, the locations of "Qingyundian Police Station Public Security Patrol Team" and "Qinglongqiao Sub-district Office Public Security Patrol Booth" can also be displayed. For example, "Qingyundian Police Station Public Security Patrol Team" is near "Beijing-Fangshan Road", and "Qinglongqiao Sub-district Office Public Security Patrol Booth" is at "No. 19, Xinjian Gongmen Road, Summer Palace, Haidian District".
[0055] In this step S112, it is continued to be explained as Figure 3 shown. The location points displayed in the drop-down menu called out in step S112 deviate from "Qingluo", that is, they fail to match precisely, which is regarded as the unsuccessful search and match for "Qingluo". At this time, it is necessary to perform the map point selection operation.
[0056] As Figure 3As shown, a "Map Selection" trigger button is set at the bottom of the drop-down menu. Since the drop-down menu does not display precise location information, the "Map Selection" button can be triggered.
[0057] After triggering the "Select Point on Map" button, a map page matching the area information in the address search box will be displayed. For example... Figure 3 If the region information is "Beijing", then the displayed map page will be a map page of Beijing.
[0058] Since no precise matching location information was obtained when matching the input location information, it is impossible to determine where the selected point coordinates should be displayed on the map page. Therefore, the first point selection strategy is needed to determine the initial display position of the selected point coordinates on the map page.
[0059] The first point selection strategy will be explained below:
[0060] Case 1: The area information entered in the starting address search box and the ending address search box is the same.
[0061] 11. If the location information entered in the starting address search box does not match in the preset address information database, but the location information entered in the ending address search box matches in the preset address information database, then the selected point icon will be displayed at the ending point.
[0062] It should be noted that when entering location information in the address search box, it is generally done one by one.
[0063] Enter location information in the destination address search box. If the entered location information matches within the preset address database, the entered location information is selected as the destination. Then, enter location information in the starting point address search box. If the entered location information does not match within the preset address database, the map page is invoked, and the selected point icon is displayed on the map page at the destination location.
[0064] For example, if the region information entered in both the starting and ending address search boxes is "Beijing," and the location information A entered in the ending search box matches in the address database, then point A on the map page will be the ending location. If the location information B entered in the starting search box does not match in the address database, then the selection icon representing B will be displayed on point A on the map page.
[0065] 12. If the location information entered in the starting address search box matches the preset address information database, and the location information entered in the ending address search box does not match the preset address information database, then the selection point icon will be displayed at the starting point position.
[0066] It should be noted that when entering location information in the address search box, it is generally done one by one.
[0067] Enter location information in the starting address search box. If the entered location information matches within the preset address database, then select the entered location as the starting point. Next, enter location information in the ending address search box. If the entered location information does not match within the preset address database, then open the map page and display the selected point icon on the starting point on the map page.
[0068] For example, if both the starting and ending address search boxes contain the region "Beijing," and the location information A entered in the starting search box matches in the address database, then point A on the map page will be the starting point. If the location information B entered in the starting search box does not match in the address database, then the selection icon representing B will be displayed on point A on the map page.
[0069] 13. If the location information entered in the starting address search box does not match the preset address information database, and the location information entered in the ending address search box does not match the preset address information database, then the selected point icon will be displayed in the center of the map page.
[0070] It should be noted that when entering location information in the address search box, it is generally done one by one. If the area information includes multiple sub-areas, the selection icon will be displayed in the center of the map page corresponding to the largest sub-area.
[0071] Enter your location information in the starting address search box. If the entered location information does not match the preset address information database, the selected point icon will be displayed in the center of the map page.
[0072] Enter the location information in the destination address search box. If the entered location information does not match the preset address information database, the selected point icon will be displayed in the center of the map page.
[0073] For example, if the area information entered in both the starting address search box and the ending address search box is "Beijing", and the location information A entered in the starting search box does not match in the address information database, then the selection icon representing A on the map page will be displayed on location point A1.
[0074] If the location information B entered in the destination search box does not match in the address information database, the selection icon representing B will be displayed on the location point B1 on the map page.
[0075] Additionally, if the location information A entered in the starting search box does not match in the address information database, the selection icon representing A will be displayed on location point A1 on the map page. Similarly, if the location information B entered in the ending search box does not match in the address information database, the selection icon representing B will be displayed on location point A1 on the map page. This is based on the provisions of situation 12 above.
[0076] If the location information B entered in the destination search box does not match in the address information database, the selection icon representing B will be displayed on the map page at location point B1. Similarly, if the location information A entered in the starting point search box does not match in the address information database, the selection icon representing A will be displayed on the map page at location point B1. This situation is determined according to situation 11 above.
[0077] Scenario 2: The area information entered in the starting address search box and the ending address search box are different.
[0078] If the location information entered in the starting address search box does not match in the preset address information database, the selected point icon will be displayed in the center of the map page that matches the area information entered in the starting address search box.
[0079] If the location information entered in the destination address search box does not match in the preset address information database, the selected point icon will be displayed in the center of the map page that matches the area information entered in the destination address search box.
[0080] For example, the region information entered in the starting address search box is "Beijing", and the destination address search box is "Gu'an, Langfang, Hebei".
[0081] If the location information entered in the starting address search box is A, and location information A is not matched in the address information database, then the map page of "Beijing" will be brought up, and the selected point icon representing A will be displayed in the center of the map page.
[0082] If the location information entered in the destination address search box is B, and the location information B does not match in the address information database, then the map page of "Gu'an, Langfang, Hebei" will be displayed, and the selection point icon representing B will be displayed in the center of the map page.
[0083] S12. Respond to the icon drag operation to move the selected point icon to the predicted location point on the map page.
[0084] In this step, it should be noted that... Figure 4To explain, the selected point coordinates are displayed on the map page. After manually selecting the coordinates, users can slide and drag the corresponding icon back and forth on the screen to move the selected point to their perceived pre-defined location on the map page. This pre-defined location is either close to the unmatched location or, in the user's memory, the location of the unmatched location.
[0085] S13. Determine the selected location point based on the second selection strategy and the predicted location point.
[0086] In this step, it should be noted that the second point selection strategy includes: after the point selection icon is dragged to a predetermined location on the map page, the address information within a preset range of the predetermined location is obtained, and the address information of the predetermined location and the address information within the preset range of the predetermined location are displayed in a drop-down address list.
[0087] If you select any location information in the drop-down address list, the selected location information is the selected location point;
[0088] If the predicted location point is selected, then the predicted location point is the selected location point.
[0089] It should be noted that the address information within the preset range of the predicted location point mentioned in this step may include: address information within the area centered on the predicted location point and with a preset distance value (e.g., 300 meters) as the radius; and address information of a preset number (e.g., 3-4) radiating outward from the predicted location point in an increasingly larger area.
[0090] Continue with Figure 4 To explain further, in the diagram, after the selected point icon determines the location, the first line of the drop-down address list will display "Current Location, No. X, XXXX Road, XX District, XX City". The location points within the preset range of the predicted location point will be "Location A, XXX Road, XX District, XX City" and "Location B, XX District".
[0091] If you choose to confirm the predicted location point, the selected predicted location point will be the selected location point. Simply click "OK" in the image.
[0092] If you select "Location A, XXX Road, XX District, XX City" from the drop-down address list, simply click "OK" in the image.
[0093] Once both the starting and ending points are selected, the order placement interface will appear. Simply click the order placement button.
[0094] The present invention provides a method for selecting order locations under map search. When the location information that matches the location information entered in the address search box is not found in the address information database, the method enters the map selection interface after triggering the operation, and drags the selection icon to determine the predicted location point. The selected location point is determined based on the predicted location point, which makes the selection of the start and end points of the order more flexible and operable, and brings a better user experience.
[0095] Figure 5 This invention illustrates an order selection device based on map search, according to Embodiment 2 of the present invention. The device includes a display module, a prediction module, and a selection module, wherein:
[0096] The display module is used to call up a map page that matches the area information entered in the current address search box after detecting the map selection trigger operation, and display the selection icon on the map page according to the first selection strategy.
[0097] The prediction module is used to respond to icon dragging operations to make the selected point icon reach the predicted location point on the map page;
[0098] The point selection module is used to determine the selected point location based on the second point selection strategy and the predicted location point.
[0099] Before the display module performs its operation, the device provided in Embodiment 2 of the present invention further includes an input module and a matching module, wherein:
[0100] The input module is used to obtain the address information entered in the address search box after detecting that the information input focus has fallen into the address search box. The address information includes region information and location information.
[0101] The matching module is used to perform matching in a preset address information database based on the location information, and display the matching information and map selection icons in the drop-down menu.
[0102] During the order selection process, the input module first detects that the focus of the information input has fallen into the address search box, then retrieves the address information entered in the address search box and sends the address information to the matching module. The matching module matches the location information in a preset address information database and displays the matching information and a map selection icon in a drop-down menu. The user can view the location information displayed in the drop-down menu, and if no matching location information is found in the drop-down menu that matches the input location information, the map selection operation is triggered, and the trigger information is sent to the display module.
[0103] After detecting a map selection trigger operation, the display module calls up a map page that matches the area information entered in the current address search box, and displays the selected point icon on the map page according to the first selection strategy. Since the first selection strategy has been explained in detail above, it will not be repeated here.
[0104] The prediction module controls the selected point icon. After the selected point icon is moved to the predicted location point on the map page in response to the icon drag operation, it calls the drop-down address list and displays the location information of the near-predicted location point in the drop-down address list.
[0105] If you select any location information in the drop-down address list, the selected location information is the selected location point; if you select the predicted location point, the predicted location point is the selected location point.
[0106] Since the device described in Embodiment 2 of the present invention is based on the same principle as the method described in Embodiment 1 above, more detailed explanations will not be repeated here.
[0107] It should be noted that, in the embodiments of the present invention, the relevant functional modules can be implemented using a hardware processor.
[0108] The order selection device under map search provided in Embodiment 2 of the present invention, when the location information that matches the location information entered in the address search box is not found in the address information database, enters the map selection interface after triggering the operation, and drags the selection icon to determine the predicted location point. The selected location point is determined based on the predicted location point, which makes the selection of the starting point and the ending point of the order more free and operable, and brings a better user experience.
[0109] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. For those skilled in the art, the present invention can be modified and varied in various ways. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for selecting order locations based on map search, characterized in that, include: In response to detecting that the focus of the information input falls into the address search box, the address information input in the address search box is obtained, and the address information includes region information and location information; The location information is used to match the location in a preset address database, and the matching information and map selection icons are displayed in a drop-down menu. The matching information includes the name and description of the matched location. When the location information does not match in the preset address information database, a map selection trigger button is displayed at the bottom of the drop-down menu. In response to the detection of the trigger operation of the map selection trigger button, a map page that matches the area information is called according to the area information entered in the current address search box, and a selection icon is displayed on the map page. The system responds to the icon drag operation, causing the selected point icon to reach the predicted location point on the map page, obtains the address information within the preset range of the predicted location point, and displays the address information of the predicted location point and the address information within the preset range of the predicted location point in the drop-down address list. as well as The selected location is determined based on the selected address information; The address search box includes a starting address search box and an ending address search box; The display of the point selection icon on the map page includes: In response to the same area information entered in the starting address search box and the ending address search box, if the first location information entered in the starting address search box and the second location information entered in the ending address search box do not match in the address information database, the selected point icon will be displayed in the center of the map page. If only one of the first location information or the second location information matches in the address information database, the selected point icon will be displayed at the matching starting point or the matching ending point.
2. The method according to claim 1, characterized in that, The display of the point selection icon on the map page includes: In response to the difference in regional information entered in the starting address search box and the ending address search box, the selected point icon is displayed in the center of the map page.
3. The method according to claim 2, characterized in that, The regional information includes multiple sub-regions, and the center position of the map page is the center position of the map page corresponding to the sub-region with the largest area.
4. The method according to claim 1, characterized in that, The predicted location point is a location that is close to the unmatched location information, or a location that the user believes the unmatched location information is located in.
5. The method according to claim 1, characterized in that, The acquisition of address information within a preset range of the predicted location point includes: Using the predicted location point as the center, obtain the address information of at least one location within an area with a preset distance value as the radius.
6. An order selection device based on map search, characterized in that, include: The display module is used to display a map selection trigger button at the bottom of the drop-down menu when the location information does not match in the preset address information database. In response to the detection of the trigger operation of the map selection trigger button, the module calls up the map page that matches the area information entered in the current address search box and displays the selection icon on the map page. The prediction module is used to respond to icon dragging operations to make the selected point icon reach the predicted location point on the map page; The point selection module is used to obtain address information within a preset range of the predicted location point and display the address information of the predicted location point and the address information within the preset range of the predicted location point in the drop-down address list; And determine the selected location point based on the selected address information; The device is also used for: In response to detecting that the focus of the information input falls into the address search box, the address information input in the address search box is obtained, and the address information includes region information and location information; The location information is used to match the location in a preset address database, and the matching information and map selection icons are displayed in a drop-down menu. The matching information includes the name and description of the matched location. The address search box includes a starting address search box and an ending address search box; The display of the point selection icon on the map page includes: In response to the same area information entered in the starting address search box and the ending address search box, if the first location information entered in the starting address search box and the second location information entered in the ending address search box do not match in the address information database, the selected point icon will be displayed in the center of the map page. If only one of the first location information or the second location information matches in the address information database, the selected point icon will be displayed at the matching starting point or the matching ending point.