Store location determination method, device, electronic device and readable storage medium
By obtaining the road data and driving trajectory of the target store area and determining the target road that coincides with it, the problem of large workload and low efficiency in the store location determination process is solved, and accurate and efficient store location determination is achieved.
Patent Information
- Application Number
- CN202011346855.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-25
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2040-11-25
AI Technical Summary
In the prior art, the workload and efficiency of store location determination process are high, and the road point mining effect depends on the map matching effect, which increases uncertainty.
By obtaining the road data and driving trajectory of the area where the target store is located, determine the target road that coincides with the driving trajectory, and then determine the exact location of the store based on the target road and store location.
Accurately determine the store location, improve the efficiency of store location determination, and reduce workload and uncertainty.
Smart Images

Figure CN114547217B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of database technology, and in particular to a method, device, electronic device and readable storage medium for determining a store location. Background Art
[0002] Cycling route planning is one of the key basic services for food delivery. On the one hand, the planned route of the food delivery order will be displayed on the rider's App, which has an important impact on the rider's decision whether to accept the order and how to deliver it. When the route is inaccurate, it will cause the delivery of the food delivery order to be overdue, which may lead to customer complaints; on the other hand, the planned distance calculated based on the cycling planned route will serve as a key input for the core delivery systems such as rider subsidies, dispatching orders, estimated order delivery time, and merchant delivery range, which has a significant impact on the quality of decision-making.
[0003] The route planning service determines the store location in the map navigation according to the location of the store POI (Point of Information), that is, the store's binding point. At the starting point or end point of the planned route, the store location is set as the binding point in the process of setting the planned route in the map navigation, and the store is bound by determining the store's binding point. When the planned route is wrong, the order distance will be inaccurate. At the same time, errors in the route entry and exit segments will mislead the rider and extend the pickup and delivery time. In some scenarios, the problem of binding errors will frequently occur in fixed store POIs.
[0004] In the related art, the binding point is obtained by binding the deliveryman's entry and exit trajectory. First, the deliveryman's entry and exit trajectory is matched with a map, and then the point closest to the store POI is found in the matching route as the binding point.
[0005] In the process of implementing the present invention, the applicant discovered that there are at least the following technical problems in the related art.
[0006] First, the workload of binding routes based on entry and exit trajectories is large, and it takes a long time to determine the binding points, which is inefficient; second, the effect of binding point mining depends on the map matching effect, which increases uncertainty.
[0007] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0008] Embodiments of the present invention provide a method, device, electronic device and readable storage medium for determining a store location, so as to at least solve the technical problem of low efficiency in determining the store location due to the large workload of inputting a store track and binding a route in the process of determining the store location in the related art.
[0009] According to one aspect of an embodiment of the present invention, a method for determining a store location is provided, comprising: obtaining road data and a driving trajectory corresponding to an area where a target store is located; determining a target road corresponding to the driving trajectory, wherein the target road is a road in the road data that overlaps with the driving trajectory; and determining a store location corresponding to the target store based on the target road and the store location of the target store.
[0010] According to another aspect of an embodiment of the present invention, a store location determination device is also provided, including: an acquisition unit, used to acquire road data and a driving trajectory corresponding to the area where a target store is located; a first determination unit, used to determine a target road corresponding to the driving trajectory, wherein the target road is a road in the road data that overlaps with the driving trajectory; and a second determination unit, used to determine the store location corresponding to the target store based on the target road and the store location of the target store.
[0011] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the store location determination method as described above.
[0012] According to another aspect of an embodiment of the present invention, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the store location determination method as described above are implemented.
[0013] In the embodiment of the present invention, by obtaining the road data and driving trajectory corresponding to the area where the target store is located; determining the target road corresponding to the driving trajectory, wherein the target road is the road that coincides with the driving trajectory in the road data; and determining the store location corresponding to the store according to the target road and the store location of the target store. The purpose of accurately determining the store location is achieved, thereby achieving the technical effect of improving the efficiency of determining the store location, and further solving the technical problem of low efficiency in determining the store location due to the large workload of binding the store input trajectory in the process of determining the store location in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0015] Figure 1 is a schematic diagram of an optional application scenario of a store determination method according to an embodiment of the present invention;
[0016] Figure 2is a flow chart of an optional store determination method according to an embodiment of the present invention;
[0017] Figure 3 is a schematic diagram of an optional target store location area according to an embodiment of the present invention;
[0018] Figure 4a is a schematic diagram of an optional target road according to an embodiment of the present invention;
[0019] Figure 4b is a schematic diagram of an optional target grid area according to an embodiment of the present invention;
[0020] Figure 5 is a schematic diagram of an optional traveling trajectory according to an embodiment of the present invention;
[0021] Figure 6 is a schematic structural diagram of an optional store determination device according to an embodiment of the present invention;
[0022] Figure 7 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Example 1
[0026] According to one aspect of an embodiment of the present invention, a method for determining a store location is provided. Optionally, as an optional implementation, the above-mentioned method for determining a store location can be but is not limited to being applied to: Figure 1 In the environment shown, Figure 1 Schematic diagram of the hardware environment of the store location determination method according to an embodiment of the present invention. Figure 1 As shown, the terminal 10 can exchange data with the server 20 , and the server 20 can exchange data with the preset server 30 .
[0027] In this embodiment, after receiving the navigation request from the terminal 10, the server 20 obtains the road data and driving trajectory corresponding to the area where the target store is located from the preset server 30 according to the target store location in the navigation request, and the server 20 determines the target road corresponding to the driving trajectory, wherein the target road is the road that coincides with the driving trajectory in the road data; and determines the store location corresponding to the target store according to the target road and the store location of the target store. Then the server 20 generates navigation data according to the store location corresponding to the determined target store and sends it to the terminal 10. In this embodiment, by obtaining the road data and driving trajectory near the target store, and then performing spatial calculations on the driving trajectory and road data to determine the actual passed area, and then determining the store location corresponding to the target store, the purpose of accurately determining the store location is achieved, thereby achieving the technical effect of improving the efficiency of determining the store location.
[0028] According to an embodiment of the present invention, a method for determining a store location is provided. Figure 2 As shown, the method may specifically include the following steps:
[0029] S202, obtaining road data and driving trajectory corresponding to the area where the target store is located;
[0030] S204, determining a target road corresponding to the driving trajectory, wherein the target road is a road in the road data that overlaps with the driving trajectory;
[0031] S206: Determine the store location corresponding to the target store according to the target road and the store location of the target store.
[0032] In a specific application scenario, the road data and the driving trajectory are pre-stored in a database of a preset server. For example, the road data is a road network corresponding to the area where the target store is located, and the driving trajectory is the movement or travel route of the driving personnel. The driving trajectory is a driving route composed of multiple trajectory points, which is used to represent the travel route of the relevant personnel in the current area or road. In this embodiment, the starting point or the end point of the driving trajectory is the target store, that is, the driving trajectory can reach the target store.
[0033] In this embodiment, a certain area is selected as the target store location area according to the store location of the target store, for example, the target store location area is selected within a circular range with a preset radius and the target store as the center. Or a square area with a preset area and the target store as the center is selected as the target store location area.
[0034] After obtaining the road data and driving trajectory corresponding to the area where the target store is located, the target road that coincides with the driving trajectory is obtained, that is, the target road is the road that the relevant personnel actually pass through and can reach the target store. Then, based on the target road and the store location of the target store, the point on the target road that is closest to the store location is obtained as the store location corresponding to the target store.
[0035] It should be noted that, through the above embodiment, the road data and driving trajectory corresponding to the area where the target store is located are obtained; the target road corresponding to the driving trajectory is determined, wherein the target road is the road that coincides with the driving trajectory in the road data; and the store location corresponding to the store is determined according to the target road and the store location of the target store. The purpose of accurately determining the store location is achieved, thereby achieving the technical effect of improving the efficiency of determining the store location, and further solving the technical problem of low efficiency in determining the store location due to the large workload of binding the store input trajectory in the process of determining the store location in the related technology.
[0036] Optionally, in this embodiment, obtaining the roads and driving trajectories corresponding to the area where the target store is located includes but is not limited to: determining the store location and the target area corresponding to the store location; and obtaining the road data and driving trajectory corresponding to the target area from a preset server.
[0037] Specifically, Figure 3 As shown, the store location O of the target store is determined, and a circular area with a radius of R is selected as the target area with the store location O as the center, and then the road data and driving trajectory corresponding to the target area are obtained from the preset server.
[0038] In the above embodiment, by determining the target area corresponding to the store location and obtaining the road data and driving trajectory corresponding to the target area, the road data and driving trajectory are screened, and the amount of data for store location calculation is reduced to improve the calculation efficiency of the store location.
[0039] Optionally, in this embodiment, obtaining the road data and driving trajectory corresponding to the target area from the preset server includes but is not limited to: obtaining the driving trajectory within a preset time period from the preset server.
[0040] In this embodiment, the effective driving trajectory is selected by selecting the time period of the driving trajectory. In one example, for example, the driving trajectory of the relevant personnel in the target area within one month stored in the preset server is obtained.
[0041] It should also be noted that in the process of determining the target road, the heat value of each driving track in the road is set. If the sum of the heat values of the road is less than the preset heat threshold, it is determined that the road is not the target road.
[0042] In the above embodiment, the driving trajectory of a preset server within a preset time period is obtained to ensure the validity of the driving trajectory.
[0043] Optionally, in this embodiment, determining the target road corresponding to the driving trajectory includes but is not limited to: dividing the road in the target area into multiple grid areas of preset area sizes; obtaining trajectory points corresponding to the driving trajectory; determining the grid area where the trajectory points exist as the target grid area; and determining the target road based on the target grid area in the road.
[0044] Specifically, in this embodiment, the road is divided into a plurality of grid areas of the same size, and the track points in the driving track are determined. If the track points exist in the grid area, the grid area is determined to be the target grid area. If the track points do not exist in the grid area, it is determined that the driving track does not pass through the grid area, and the grid area is not the target grid area. After determining that the track points in the driving track correspond to the target grid area, the connecting line of the target grid area is determined to be the target road.
[0045] In an example, Figure 4a As shown, the road is divided into multiple grid areas of the same size, and the driving trajectory L includes trajectory points L 1 , trajectory point L 2 And the trajectory point L 3 Then the target grid area can be determined as S 1 , S 2 and S 3 , then according to the target grid area S 1 , S 2 and S 3 The target road S is determined.
[0046] Through the above embodiment, by dividing the road into a plurality of grid areas of preset sizes, and then determining the target road according to the grid areas and the track points of the driving track, the accuracy of the target road selection is improved.
[0047] Optionally, in this embodiment, determining the grid area where trajectory points exist as the target grid area includes but is not limited to: when the number of trajectory points in the grid area where trajectory points exist is greater than or equal to a preset number threshold, determining the grid area where trajectory points exist is the target grid area; when the number of trajectory points in the grid area where trajectory points exist is less than a preset number threshold, determining the grid area where trajectory points exist is the non-target grid area.
[0048] In a specific application scenario, the driving trajectory of the relevant personnel includes bends and detours, that is, the driving trajectory of the relevant personnel does not directly reach the target store, and the travel route corresponding to the driving trajectory is accidental and is not the optimal solution to reach the target store. Therefore, in this embodiment, when the number of trajectory points in the grid area is greater than the preset number threshold, the grid area is determined to be the target grid area; otherwise, the grid area is considered to be a non-target grid area.
[0049] In an example, Figure 4b As shown, the grid area S in the road 1 , S 2 , S 3 and S 4 There are trajectory points in the grid area S 1 , S 4 The number of trajectory points in is 4, and the grid area S 2 The number of trajectory points in is 3, and the grid area S 3 The number of trajectory points in is 1. If the preset number threshold is 3, then the grid area S 1 , S 2 and S 4 is the target grid area, grid area S 3 It is the non-target grid area.
[0050] Through the above embodiments, the target grid area is determined according to the number of track points in the grid area, so as to improve the accuracy of the target grid area.
[0051] Optionally, in this embodiment, determining the target road based on the target grid area in the road includes but is not limited to: when the angle between the moving trajectory and the road is greater than or equal to a preset angle, determining the moving trajectory as crossing the road, wherein the moving trajectory is a trajectory formed by the target grid area; when the angle between the moving trajectory and the road is less than a preset angle, determining the moving trajectory as moving along the road.
[0052] Specifically, in this embodiment, the moving track is a line connecting the target grid areas. Figure 5As shown, if the included angle between the travel trajectory S and the road L is greater than or equal to 60 degrees, the travel trajectory S is determined to be crossing the road. If the included angle between the travel trajectory S and the road L is less than the preset angle of 60 degrees, it is determined that the travel trajectory does not cross the road and is traveling along the road.
[0053] Optionally, in this embodiment, determining the store location corresponding to the store based on the target road and the store location of the target store includes but is not limited to: when the target road is a one-way passable road, determining the store location is on the same side as the target store.
[0054] Specifically, in this embodiment, after the target road corresponding to the target store is determined, the specific location of the store is determined according to the road conditions of the target road. In the case where the target road is a road accessible on both sides, the point closest to the store location on the target road is determined as the store location. In the case where the target road is a road accessible on one side, the point closest to the store location on the same side of the target road as the target store is determined as the store location.
[0055] Through this embodiment, the road data and driving trajectory corresponding to the area where the target store is located are obtained; the target road corresponding to the driving trajectory is determined, wherein the target road is the road that coincides with the driving trajectory in the road data; and the store location corresponding to the store is determined according to the target road and the store location of the target store. The purpose of accurately determining the store location is achieved, thereby achieving the technical effect of improving the efficiency of determining the store location, and further solving the technical problem of low efficiency in determining the store location due to the large workload of binding the store input trajectory in the process of determining the store location in the related technology.
[0056] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0057] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0058] Example 2
[0059] According to an embodiment of the present invention, a store location determination device for implementing the above-mentioned store location determination method is also provided. Figure 6 As shown, the device comprises:
[0060] 1) An acquisition unit 60 is used to acquire road data and driving tracks corresponding to the area where the target store is located;
[0061] 2) a first determining unit 62, configured to determine a target road corresponding to the driving trajectory, wherein the target road is a road in the road data that overlaps with the driving trajectory;
[0062] 3) A second determining unit 64, configured to determine a store location corresponding to the store according to the target road and the store location of the target store.
[0063] Optionally, the specific examples in this embodiment may refer to the examples described in the above-mentioned embodiment 1, and this embodiment will not be described in detail here.
[0064] Example 3
[0065] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the store location determination method as described above.
[0066] Figure 7 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0067] Reference Figure 7The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and a power supply 711. Those skilled in the art will appreciate that Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0068] It should be understood that in the embodiment of the present invention, the radio frequency unit 701 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 710 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 701 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
[0069] The electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0070] The audio output unit 703 can convert the audio data received by the RF unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 can also provide audio output related to a specific function performed by the electronic device 700 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, etc.
[0071] The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processor (GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 706. The image frame processed by the graphics processor 7041 can be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702. The microphone 7042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 701 in the case of a telephone call mode.
[0072] The electronic device 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and / or the backlight when the electronic device 700 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 705 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0073] The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0074] The user input unit 707 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 7071 or near the touch panel 7071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 7071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 710, receives the command sent by the processor 710 and executes it. In addition, the touch panel 7071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 7071, the user input unit 707 may also include other input devices 7072. Specifically, other input devices 7072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0075] Further, the touch panel 7071 may be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in FIG4 , the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited to the specifics herein.
[0076] The interface unit 708 is an interface for connecting an external device to the electronic device 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 700 or may be used to transmit data between the electronic device 700 and an external device.
[0077] The memory 709 can be used to store software programs and various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 709 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0078] The processor 710 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 709, and calling data stored in the memory 709, so as to monitor the electronic device as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 710.
[0079] The electronic device 700 may also include a power supply 711 (such as a battery) for supplying power to each component. Preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0080] In addition, the electronic device 700 includes some functional modules not shown, which will not be described in detail here.
[0081] Preferably, an embodiment of the present invention further provides an electronic device, comprising: a processor 710, a memory 709, and a computer program stored in the memory 709 and executable on the processor 710. When the computer program is executed by the processor 710, each process of the above-mentioned store location determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0082] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned store location determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0083] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0084] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
[0085] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0086] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0089] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining a store location, characterized in that: include: Obtaining road data corresponding to the area where the target store is located and the riding trajectory of the rider, wherein the area where the target store is located is an area within a preset distance range centered on the target store; Determine a target road corresponding to the driving trajectory, wherein the starting point or the end point of the driving trajectory is the target store, and the target road is a road in the road data that coincides with the driving trajectory; Determine the store location corresponding to the target store according to the target road and the store location of the target store. If the target road is a unilaterally passable road, determine that the store location is on the same side as the target store. If the target road is a bilaterally passable road, determine that the point closest to the target road and the store location is the store location. Wherein, determining the target road corresponding to the driving trajectory includes: Dividing the roads in the area where the target store is located into a plurality of grid areas of preset sizes; Obtaining a trajectory point corresponding to the driving trajectory; Determine the grid area where the trajectory point exists as the target grid area; Determining the target road according to the target grid area in the road; Wherein, determining the target road according to the target grid area in the road comprises: When the angle between the travel trajectory and the road is greater than or equal to a preset angle, determining that the travel trajectory crosses the road, wherein the travel trajectory is a trajectory formed by the target grid area; When the angle between the moving trajectory and the road is less than a preset angle, determining that the moving trajectory is moving along the road; The method further includes: The heat value of each driving track is set, and when the sum of the heat values of the road is less than a preset heat threshold, it is determined that the road is not a target road.
2. The method according to claim 1, characterized in that Obtaining the roads and driving trajectories corresponding to the area where the target store is located includes: Determine the store location and the target area corresponding to the store location; The road data corresponding to the target area and the driving trajectory are obtained from a preset server.
3. The method according to claim 2, characterized in that Acquiring the road data corresponding to the target area and the driving trajectory from a preset server includes: Obtain the driving trajectory in the preset time period from the preset server.
4. The method according to claim 1, characterized in that: Determining the grid area where the trajectory points exist as the target grid area includes: In the case where the number of track points in the grid area where the track points exist is greater than or equal to a preset number threshold, determining the grid area where the track points exist as the target grid area; When the number of track points in the grid area where track points exist is less than the preset number threshold, the grid area where track points exist is determined to be a non-target grid area.
5. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the store location determination method as described in any one of claims 1 to 4.
6. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the store location determination method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Positioning setting method and electronic equipment
CN106767764A