WO2021175319A1 - Entrance and exit marking and route planning - Google Patents

Entrance and exit marking and route planning Download PDF

Info

Publication number
WO2021175319A1
WO2021175319A1 PCT/CN2021/079375 CN2021079375W WO2021175319A1 WO 2021175319 A1 WO2021175319 A1 WO 2021175319A1 CN 2021079375 W CN2021079375 W CN 2021079375W WO 2021175319 A1 WO2021175319 A1 WO 2021175319A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
aoi
historical order
intersection
delivery
Prior art date
Application number
PCT/CN2021/079375
Other languages
French (fr)
Chinese (zh)
Inventor
宋亚统
陈水平
杜方潇
Original Assignee
北京三快在线科技有限公司
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 北京三快在线科技有限公司 filed Critical 北京三快在线科技有限公司
Publication of WO2021175319A1 publication Critical patent/WO2021175319A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Definitions

  • This application relates to the field of computers, in particular to entry and exit marking and route planning.
  • the delivery person can deliver the goods ordered by the user online to the user/consignee, which brings great convenience to the user's life.
  • the delivery person needs to deliver the product ordered by the user online from the merchant of the product to the user/consignee.
  • most of the delivery addresses of user orders are located in the Area Of Interest (AOI), such as communities, hospitals, etc.
  • AOI Area Of Interest
  • the present disclosure provides a method for marking entrances and exits, which includes: determining an AOI of a region of interest to be marked; acquiring at least one target historical order matching the AOI to be marked; determining to execute the target history for each of the target historical orders
  • the delivery trajectory of the order’s delivery capacity during the execution of the target historical order is taken as the delivery trajectory corresponding to the target historical order; according to the delivery trajectory corresponding to the target historical order, the delivery trajectory corresponding to the target historical order is determined
  • the intersection generated by the boundary of the AOI to be marked is used as the intersection corresponding to the target historical order; according to the respective intersection corresponding to the at least one target historical order, the entrance and exit of the AOI to be marked is determined and marked.
  • obtaining at least one target historical order matching the AOI to be marked includes: for each historical order, determining the delivery location of the distribution corresponding to the historical order; and determining the delivery location through a preset AOI search tree The AOI that the delivery location falls into; if the AOI that the delivery location falls into is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
  • the determining, based on the delivery trajectory corresponding to the target historical order, the intersection generated by the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order includes: determining the The intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked is used as the intersection to be identified; in the delivery trajectory corresponding to the target historical order, it is determined that it is adjacent to the intersection to be identified and is located at the AOI to be marked.
  • the trajectory point outside the boundary is used as the first trajectory point; the trajectory point adjacent to the to-be-identified intersection and located inside the boundary of the to-be-marked AOI is determined in the distribution trajectory corresponding to the target historical order as the second trajectory point Track points; if the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points, and not less than the second set number of second continuous track points, the intersection to be identified As the intersection point corresponding to the target historical order, the first continuous track point is located outside the boundary of the AOI to be marked and is adjacent to the first track point, and the second continuous track point is located on the to-be-marked AOI. Mark the inner side of the boundary of the AOI and be adjacent to the second track point.
  • the step of determining and marking the entrance and exit of the AOI to be marked according to the respective intersection points of the at least one target historical order includes: for each of the target historical orders, if the intersection point corresponding to the target historical order is determined If the preset condition is met, the intersection corresponding to the target historical order is used as a candidate marking point; according to each candidate marking point, the entrance and exit of the AOI to be marked is determined and marked.
  • using the intersection corresponding to the target historical order as a candidate labeling point includes: for each intersection corresponding to the target historical order, determining that the target historical order corresponds to The track point adjacent to the intersection in the delivery trajectory, and the line between the track point adjacent to the intersection and the intersection is determined; if the angle between the line and the vertical line corresponding to the intersection is not If the angle is greater than the set angle, it is determined that the intersection point is a candidate marking point that meets the preset condition, wherein the vertical line corresponding to the intersection point passes through the intersection point and is perpendicular to the boundary of the AOI to be marked where the intersection point is located.
  • the intersection corresponding to the target historical order is used as a candidate labeling point, including: for each intersection corresponding to the target historical order, if the intersection corresponds to the The distance between adjacent trajectory points in the delivery trajectory corresponding to the target historical order does not exceed a set distance, and the intersection is determined to be a candidate labeling point that meets the preset condition.
  • the intersection corresponding to the target historical order is used as a candidate marking point, including: for each intersection corresponding to the target historical order, corresponding to the target historical order If the intersection point is the first intersection point between the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, determine the intersection point as a candidate marked point that meets the preset conditions; or The travel direction of the delivery trajectory corresponding to the target historical order, and if the intersection is the last intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, the intersection is determined to be a candidate marked point that meets the preset conditions.
  • the determining and labeling the entrance and exit of the AOI to be labeled according to each of the candidate labeling points includes: inputting each of the candidate labeling points into a preset screening model, and determining to be used to characterize each of the AOIs The distribution function of the probability density of the candidate labeling point; determining at least one wave crest from the distribution function; for each of the wave crests, if the peak value of the wave crest is not less than the set threshold, the candidate labeling point corresponding to the wave crest is regarded as the waiting Mark the entrances and exits of the AOI and mark them.
  • the method further includes: For each track point in the delivery track corresponding to the order, if the distance between the track point and the adjacent track point is not less than the set distance, the track point is removed from the delivery track corresponding to the target historical order.
  • the method further includes: For each track point in the delivery track corresponding to the order, if the delivery speed of the delivery capacity of the target historical order at the track point is not less than the set speed, the track point is removed from the delivery track corresponding to the target historical order.
  • the present disclosure provides a route planning method, which includes: receiving a target order to be delivered from a user; determining the area of interest AOI to which the target order belongs as the target AOI according to the delivery address of the target order; The entrance and exit of the target AOI perform route planning for the delivery route of the target order, wherein the entrance and exit of the target AOI are marked by the above-mentioned entrance and exit marking method; the planned delivery route is recommended to those who execute the target order Distribution capacity.
  • the route planning of the delivery route of the target order according to the entrance and exit of the target AOI includes: selecting a target from the entrance and exit of the target AOI according to the historical order corresponding to the target AOI Entrance and exit; according to the target entrance and exit, a delivery route through the target entrance and exit is planned.
  • the present disclosure provides a device for marking entrances and exits, including: a first determining module configured to determine a region of interest AOI to be marked; an acquisition module configured to acquire at least one target historical order matching the AOI to be marked; The second determining module is configured to determine, for each of the target historical orders, the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order.
  • the third determination module which is configured to determine the intersection of the distribution trajectory corresponding to the target historical order and the boundary of the AOI to be marked according to the distribution trajectory corresponding to the target historical order, as the intersection corresponding to the target historical order; label The module is configured to determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points of the at least one target historical order.
  • the present disclosure provides a route planning device, including: a receiving module configured to receive a target order to be delivered from a user; a determining module configured to determine the target order according to the delivery address of the target order The area of interest AOI belongs to as the target AOI; a planning module configured to plan the delivery route of the target order according to the entrance and exit of the target AOI, wherein the entrance and exit of the target AOI are marked by the above entrance and exit method Marking; recommendation module, which is configured to recommend the planned delivery route to the delivery capacity that executes the target order.
  • the present disclosure provides a computer-readable storage medium that stores a computer program that, when executed by a processor, implements the above-mentioned method for marking entrances and exits or the above-mentioned method for route planning.
  • the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the above-mentioned method for marking entrances and exits when the computer program is executed Or the above-mentioned route planning method.
  • the service platform can determine the area of interest AOI to be marked, and obtain at least one target historical order that matches the AOI to be marked. For each target historical order, determine the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order as the delivery trajectory corresponding to the target historical order. Then determine the intersection point between the delivery track corresponding to the target historical order and the boundary of the AOI to be marked as the intersection point corresponding to the target historical order. According to the respective intersection points corresponding to at least one target historical order, the entrance and exit of the AOI to be marked is determined and marked.
  • the service platform can determine the entrance and exit of the AOI to be marked from the intersection of these delivery trajectories and the boundary of the AOI to be marked based on a number of historical delivery trajectories that have passed through the AOI to be marked. Label. Therefore, this method can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
  • FIG. 1 is a schematic flowchart of a method for marking entrances and exits according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an AOI of a region of interest provided by an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of an AOI search tree provided by an embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of a delivery trajectory corresponding to a target historical order provided by an embodiment of the disclosure
  • FIG. 5 is a schematic diagram of noise points in a delivery trajectory provided by an embodiment of the disclosure.
  • FIG. 6 is a schematic diagram of the intersection of a delivery trajectory and the boundary of an AOI to be marked according to an embodiment of the disclosure
  • FIG. 7 is a schematic diagram of a probability density distribution function provided by an embodiment of the disclosure.
  • FIG. 8 is a schematic flowchart of a route planning method provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a device for marking entrances and exits according to an embodiment of the disclosure.
  • FIG. 10 is a schematic diagram of a route planning device provided by an embodiment of the disclosure.
  • FIG. 11 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
  • the AOI information shown on the electronic map is not very accurate. If the entrance and exit of the AOI are not marked, the delivery staff can only communicate with the user/receipt because they cannot determine the entrance and exit of the AOI on the electronic map. The shipper contacts again to determine the delivery route, thereby reducing the delivery efficiency of the delivery staff.
  • FIG. 1 is a schematic flowchart of a method for marking entrances and exits according to an embodiment of the present disclosure, which specifically includes the following steps S101 to S105.
  • S101 Determine the AOI of the region of interest to be marked.
  • AOI area of interest
  • AOI is pre-divided by the staff of the service platform on the electronic map through data collection
  • AOI can include hospitals, schools, communities, office buildings and other communities.
  • the distribution capacity mentioned here can refer to units that can have a certain transportation capacity and carrying capacity, such as distributors, distribution robots, drones, and unmanned vehicles.
  • FIG. 2 is a schematic diagram of an AOI of a region of interest provided by an embodiment of the disclosure.
  • a user who placed an order sets the delivery address in Building No. 1 of the H cell in Figure 2.
  • the H cell mentioned here is the AOI where the consignee is located.
  • the entrances and exits include the north gate or the east gate. If the delivery capacity receives an order placed by the user, it needs to enter the community from the north or east gate of the community to reach Building 1 so that the delivery items ordered by the user can be delivered to the consignee.
  • the service platform needs to pre-determine the area of interest AOI that needs to be marked for the entrance and exit according to its actual business needs, as the area of interest AOI to be marked, and then mark these entrances and exits of the AOI to be marked in the subsequent process.
  • the AOI to be marked may be an AOI with less than a certain number of entrances and exits. For example, if an AOI has less than two entrances and exits, it can be determined that the AOI is an AOI to be marked. For AOIs with a large number of entrances and exits, it is not necessary to mark them.
  • S102 Obtain at least one target historical order matching the AOI to be marked.
  • the service platform can obtain at least one target historical order that matches the AOI to be marked for each AOI to be marked. Among them, the service platform can determine from each historical order the historical order whose delivery location is in the AOI to be marked as the target historical order that matches the AOI to be marked.
  • the delivery location of the historical order mentioned here can refer to the delivery address set by the user for the historical order, or it can refer to the actual delivery location where the delivery capacity and the consignee deliver the delivery when the historical order is executed.
  • the service platform can determine the delivery location of the distribution corresponding to the historical order, and then determine the AOI that the delivery location falls into through the preset AOI search tree, if the delivery location falls If the incoming AOI is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
  • the AOI search tree mentioned here may refer to a tree-like data structure that can store each AOI or points of information (POI) in each AOI according to a geographic containment relationship, as shown in FIG. 3.
  • FIG. 3 is a schematic diagram of an AOI search tree provided by an embodiment of the disclosure.
  • the service platform can create an AOI search tree as shown in Figure 3. It can be seen that, according to the geographical inclusion relationship, the B and C areas are stored in the child nodes of the node corresponding to the A city, and the H and G cells are stored in the child nodes of the node corresponding to the B area. In this way, if the service platform obtains a historical order whose delivery location is in the H cell, according to the AOI search tree, the service platform can determine that the historical order is a target historical order that matches the AOI of the H cell.
  • S103 For each target historical order, determine the delivery trajectory that the delivery capacity of the target historical order has passed during the execution of the target historical order, as the delivery trajectory corresponding to the target historical order.
  • the service platform After the service platform has determined at least one target historical order that matches the AOI to be marked, it can determine the delivery trajectory that the delivery capacity for executing the target historical order passes during the execution of the target historical order for each target historical order , As the delivery trajectory corresponding to the target historical order.
  • the service platform can collect the trajectory points passed by the delivery capacity of the distribution task in real time, thereby obtaining the delivery trajectory of the delivery capacity connected by the trajectory points. In addition to collecting each trajectory point, the service platform also collects information such as the travel speed of the distribution capacity at each trajectory point.
  • the service platform can determine the delivery trajectory that the delivery capacity has passed in the process of executing the target historical order for the delivery capacity of the target historical order, and intercept the delivery trajectory from the delivery capacity from entering the to-be-marked AOI
  • the part of the delivery trajectory that leaves the AOI to be marked is used as the delivery trajectory corresponding to the target historical order, as shown in Figure 4.
  • FIG. 4 is a schematic diagram of a distribution trajectory corresponding to a target historical order provided by an embodiment of the disclosure.
  • the service platform determines a target historical order that matches the AOI of cell H, and determines the delivery trajectory through which the delivery capacity of the target historical order is executed as shown in Figure 4, and the delivery trajectory can be seen Start from outside the H cell, pass the entrance of the H cell, turn to Building No. 1 in the H cell, and then pass the exit of the H cell to the outside of the H cell.
  • the delivery trajectory shown in FIG. 4 can be used as the delivery trajectory corresponding to the target historical order.
  • the service platform does not pay attention to the entire delivery trajectory of a target historical order, but instead pays attention to the partial delivery trajectory composed of track points located near or inside the AOI to which the target historical order belongs, and then through this Part of the delivery trajectory is used to determine the intersection point with the AOI that the target historical order belongs to.
  • FIG. 5 is a schematic diagram of noise points in a delivery trajectory provided by an embodiment of the disclosure.
  • the service platform needs to remove the noise points in the delivery trajectory corresponding to the target historical order.
  • the service platform can target each track point in the delivery track corresponding to the target historical order, and if the distance between the track point and the adjacent track point is not less than the set distance, the track point is determined to be a noise point and Remove the track point from the delivery track corresponding to the target historical order.
  • the service platform in the delivery trajectory determined by the service platform in Figure 5, there is a track point E that deviates far from the actual delivery trajectory. Obviously, the track point E is a noise point. If the set distance set by the service platform is 50m, and the distance between the track point E and the two adjacent track points F and G is not less than 50m, the service platform can determine that the track point E is a noise point, and The track point E is removed from the determined delivery track.
  • the service platform can also target each track point in the delivery trajectory corresponding to the target historical order. If the delivery capacity of the target historical order is executed, the delivery speed corresponding to the track point is not less than the set speed.
  • the trajectory point is a noise point and the trajectory point is removed from the delivery trajectory corresponding to the target historical order.
  • the service platform can also use the above two methods as methods to remove noise points in the delivery trajectory corresponding to the target historical order. For example, if there is a track point in the delivery track corresponding to the target order determined by the service platform and the distance between the adjacent track point is not less than the set distance, and the delivery capacity for executing the target historical order is at the corresponding track point If the delivery speed is not less than the set speed, the track point is determined to be a noise point and the track point is removed from the delivery track corresponding to the target historical order.
  • S104 According to the distribution trajectory corresponding to the target historical order, determine the intersection of the distribution trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
  • the service platform After the service platform determines the delivery trajectory corresponding to the target historical order, it can determine the intersection of the delivery trajectory and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
  • the service platform needs to determine the corresponding target historical order The intersection point where the delivery trajectory crosses the boundary of the AOI to be marked and intersects the boundary is taken as the intersection point corresponding to the target historical order.
  • the service platform may determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection to be identified.
  • the boundary of the AOI to be marked refers to the boundary of the AOI to be marked on the preset electronic map, as shown in FIG. 4.
  • marking the entrance and exit of the AOI to be marked it may also refer to marking the entrance and exit of the AOI to be marked on the electronic map.
  • the service platform can further determine the trajectory point adjacent to the to-be-identified intersection and outside the boundary of the to-be-marked AOI in the delivery trajectory corresponding to the target historical order as the first trajectory point; In the delivery trajectory corresponding to the order, a trajectory point adjacent to the to-be-identified intersection and located inside the boundary of the AOI to be marked is determined as the second trajectory point.
  • the service platform can use the to-be-identified intersection as The intersection point corresponding to the target historical order.
  • the first continuous track point is located outside the boundary of the AOI to be marked and is adjacent to the first track point
  • the second continuous track point is located inside the boundary of the AOI to be marked and is adjacent to the boundary of the AOI to be marked.
  • the second track points are adjacent.
  • the intersection of the triangle generated by the intersection of the delivery trajectory and the boundary of the H cell on the electronic map as shown in Fig. 4 it can be seen that the trajectory point adjacent to the intersection and located outside the boundary of the H cell is the first trajectory point
  • the trajectory point adjacent to the intersection and located inside the boundary of the H cell is the second trajectory point.
  • the service platform sets the first set number to 1 and the second set number to 2
  • first set number and second set number can be set according to actual needs, and the specific values used for the first set number and the second set number are not limited in this disclosure. It is worth mentioning that if the value of the first set number and the second set number is larger, the determined intersection point is more accurate. Therefore, in order to ensure that the determined intersection point is more reasonable, the first The specific numerical values of the set quantity and the second set quantity are set to be larger.
  • S105 Determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order.
  • the service platform After the service platform determines the intersection corresponding to at least one target historical order that matches the AOI to be marked, it can determine the entrance and exit of the AOI to be marked and mark it according to each intersection corresponding to the at least one historical target order.
  • the service platform can, for each target historical order, if it is determined that the intersection corresponding to the target historical order meets the preset conditions, the intersection corresponding to the target historical order is used as a candidate marking point, and then the candidate marking point is determined according to each candidate marking point.
  • the entrances and exits of AOI are marked.
  • the service platform can determine the trajectory point adjacent to the intersection in the delivery trajectory corresponding to the target historical order, and determine the trajectory point adjacent to the intersection and the difference between the intersection. The connection between. If the angle between the line and the vertical line corresponding to the intersection is not greater than the set angle, the intersection is determined to be a candidate labeled point that meets the preset conditions, wherein the vertical line corresponding to the intersection passes through the intersection and is relative to the intersection.
  • the boundary of the AOI to be marked where the intersection is located is vertical, as shown in Figure 6.
  • FIG. 6 is a schematic diagram of the intersection of a delivery trajectory and the boundary of an AOI to be marked according to an embodiment of the disclosure.
  • the intersection of the delivery trajectory and the boundary of the H cell is the intersection point C, and the intersection point C is determined.
  • the angle between the line and the vertical line corresponding to the intersection point C is 40 degrees, and the vertical line corresponding to the intersection point C passes through the intersection point C and is relative to the intersection point C.
  • the boundary (that is, the upper boundary of the AOI) is vertical. If the track point C is missing due to a positioning problem, the service platform only collects the delivery track formed by track points A, B, D, and E.
  • intersection point B The intersection of the delivery track and the boundary of the H cell is the intersection point B, and the neighboring point B can be determined
  • the line between the trajectory point and the intersection point B and it can be seen that the angle between the line and the vertical line corresponding to the intersection point B is 65 degrees, and the vertical line corresponding to the intersection point B passes through the intersection point B and is located relative to the intersection point B
  • the boundary (that is, the upper boundary of the AOI) is vertical.
  • the determined delivery track is the delivery track formed by the track points A, D, and E, and the intersection of the delivery track and the boundary of the H cell is the intersection point A
  • the line between the adjacent track points of intersection A and intersection A can be determined, and it can be seen that the angle between the line and the vertical line corresponding to intersection A is 80 degrees, and the vertical line corresponding to intersection A It passes through the intersection A and is perpendicular to the boundary at which the intersection A is located (that is, the upper boundary of the AOI).
  • intersection point C may be the location when the distribution capacity enters the H cell, and for the intersection point A and the intersection point B, due to the phenomenon of missing trajectory points when the service platform collects the distribution trajectory, these two intersection points are the H cell The possibility of entrance and exit is very small. Therefore, the service platform sets the set angle to 60 degrees, so that the intersection point C is the intersection point that meets the preset conditions, and the intersection point A or the intersection point B is not the intersection point that meets the preset conditions.
  • a preset condition can better screen the intersection points that may be the entrances and exits of the AOI to be marked.
  • the service platform can also target each intersection corresponding to the target historical order. If the distance between the intersection and the adjacent track point in the delivery trajectory corresponding to the target historical order does not exceed the set distance, determine that the intersection is a conformity Candidate labeling points with preset conditions.
  • the service platform can also, for each intersection corresponding to the target historical order, according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the first of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked Point of intersection, determine that the intersection point is a candidate marked point that meets the preset conditions; or according to the travel direction of the delivery track corresponding to the target historical order, if the intersection point is the delivery track corresponding to the target historical order and the to-be-marked AOI The last intersection point of the boundary of, and the intersection point is determined to be a candidate labeled point that meets the preset condition.
  • the delivery capacity enters the AOI to deliver the delivery to the consignee and exits from the AOI.
  • the delivery trajectory generated during the period can produce two intersections with the boundary of the AOI. Therefore, from From the distribution trajectory, the intersection that meets the preset conditions is the first intersection or the last intersection between the distribution trajectory and the AOI.
  • the service platform can select the required preset conditions according to actual needs, and then filter the determined intersections through the selected preset conditions , To determine the candidate label points.
  • the service platform can determine the entrance and exit of the AOI to be marked from the candidate marking points and mark it.
  • the service platform may input each candidate annotation point into a preset screening model, determine a distribution function used to characterize the probability density of each candidate annotation point, and determine at least one peak from the distribution function. For each wave peak, if the peak value of the wave peak is not less than the set threshold, the candidate marking point corresponding to the wave peak is used as the entrance and exit of the AOI to be marked and marked.
  • the set threshold mentioned here can be determined by the service platform according to actual needs.
  • the algorithm used in the screening model may be a clustering algorithm such as kernel density estimation, which is not specifically limited here, as shown in FIG. 7.
  • FIG. 7 is a schematic diagram of a probability density distribution function provided by an embodiment of the disclosure.
  • the candidate label points of the H cell determined by the service platform are shown on the left in Figure 7. Most of the candidate label points are located at the upper and right borders of the H cell, and two sporadic candidate label points are at the lower boundary of the cell, so The distribution function of the probability density drawn for the H cell in the above example will roughly be the distribution function on the right in FIG. 7.
  • the distribution function has three crests: crest 1, crest 2 and crest 3, crest 1 and crest 2 correspond to the upper boundary and the dense candidate label point cluster in the right boundary, and crest 3 corresponds to the sporadic two candidates in the lower boundary Mark points.
  • the service platform can determine that the sporadic candidate labeling points are probably not the entrances and exits of the H cell, or are not the regular entrances and exits of the H cell, so as to screen out the sporadic candidate labeling points.
  • the service platform determines that the peaks of peak 1 and peak 2 are greater than the set threshold, and the peak of peak 3 is less than the set threshold. Then, according to the distribution function, it can be determined that the entrances and exits of the H cell are the candidate labeled points corresponding to peaks 1 and 2.
  • the service platform has determined candidate marking points that can be the entrances and exits of the AOI to be marked, and these candidate marking points can be directly marked as the entrances and exits of the AOI to be marked. It should be pointed out that if there are too few candidate annotation points determined within the set history time for the AOI to be labeled, the AOI to be labeled may be determined according to the above probability density distribution function due to too few samples. The entrances and exits are not accurate. Therefore, the service platform can determine the number of candidate marking points for the AOI to be marked within the set historical time, and if the number is less than the set number, the entry and exit of the AOI to be marked will not be marked.
  • the service platform can determine and label the entrance and exit of the AOI to be marked from the intersection of these delivery trajectories and the boundary of the AOI to be marked based on a number of historical delivery trajectories that have passed through the AOI to be marked.
  • the service platform can determine the intersection that may be the entrance and exit of the AOI to be marked from these intersections, and further determine the entrance and exit of the AOI to be marked from the intersection that may be the entrance and exit of the AOI to be marked through a preset screening model . Therefore, this method can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
  • the service platform After the service platform determines the entrances and exits of each AOI to be marked, it can plan the route for the delivery capacity of the order delivery task through the marked entrances and exits. The specific process is shown in Figure 8.
  • FIG. 8 is a schematic flowchart of a route planning method provided by an embodiment of the present disclosure, which specifically includes the following steps S801 to S804.
  • S801 Receive a target order to be delivered from the user.
  • S802 According to the delivery address of the target order, determine the region of interest AOI to which the target order belongs as the target AOI.
  • the service platform may receive the target order to be delivered from the user, and determine the AOI to which the target order belongs as the target AOI according to the delivery address of the target order.
  • the target order mentioned here refers to the order placed by the user according to their actual needs.
  • the AOI to which the target order belongs refers to the AOI to which the delivery address of the target order belongs.
  • S803 Perform route planning on the delivery route of the target order according to the entrance and exit of the target AOI.
  • S804 Recommend the planned delivery route to the delivery capacity that executes the target order.
  • the service platform can plan the delivery route of the target order based on the entrance and exit marked in the target AOI, and recommend the planned delivery route to the delivery capacity that executes the target order.
  • the service platform can select at least one entrance and exit from these entrances and exits as the target entrance and exit through the historical order corresponding to the target AOI.
  • the historical order corresponding to the target AOI mentioned here refers to the historical order whose delivery address belongs to the target AOI, and for these historical orders, the service platform can obtain the delivery capacity for executing these historical orders while executing these historical orders.
  • the path traversed in the process of the order distribution task, and based on these paths, further determine which of the entrances and exits corresponding to the target AOI are the entrances and exits that the delivery capacity often passes through, and then can be used as the target entrance and exit.
  • the service platform can plan a delivery route through the target entrance and exit, and then recommend the delivery route to the delivery capacity that executes the target order. In this way, the delivery capacity can deliver the delivery corresponding to the target order to the consignee more efficiently.
  • the service platform can also select the target entrance and exit according to the acquired status information of each entrance and exit corresponding to the target AOI.
  • each entrance and exit of the AOI is not always in a state of passage, and some entrances and exits may be temporarily closed due to special circumstances. Therefore, the status information of the entrances and exits corresponding to the target AOI mentioned here can be used to characterize the entrances and exits. Whether it is in a passable state.
  • the service platform can select the entrances and exits in the traffic state as the target entrances and exits according to the acquired status information of these entrances and exits. There can be many specific ways to obtain the status information of the entrance and exit, for example, it can be manual information reporting, or the status information of the entrance and exit can be determined through historical orders. Other methods for selecting target entrances and exits will not be illustrated one by one here.
  • the present disclosure also provides corresponding means for marking entrances and exits and a device for route planning, as shown in Figs. 9 and 10 Shown.
  • FIG. 9 is a schematic diagram of a device for marking entrances and exits provided by the present disclosure, which specifically includes: a first determining module 901, an acquiring module 902, a second determining module 903, a third determining module 904, and a marking module 905.
  • the first determining module 901 is configured to determine the region of interest AOI to be marked.
  • the obtaining module 902 is configured to obtain at least one target historical order matching the AOI to be marked.
  • the second determining module 903 is configured to determine, for each of the target historical orders, the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order Trajectory.
  • the third determining module 904 is configured to determine, according to the delivery trajectory corresponding to the target historical order, the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
  • the marking module 905 is configured to determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order.
  • the acquisition module 902 is configured to determine, for each historical order, the delivery location of the distribution corresponding to the historical order; determine the AOI into which the delivery location falls through a preset AOI search tree; If the AOI in the delivery location is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
  • the third determining module 904 is configured to determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection to be identified; in the delivery trajectory corresponding to the target historical order Determine the trajectory point adjacent to the to-be-identified intersection and located outside the boundary of the to-be-marked AOI as the first trajectory point; determine that it is adjacent to the to-be-identified intersection in the delivery trajectory corresponding to the target historical order, And the track point located inside the boundary of the AOI to be marked is used as the second track point; if the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points, and not less than the first continuous track point 2.
  • a set number of second continuous trajectory points using the to-be-identified intersection point as the intersection point corresponding to the target historical order, wherein the first continuous trajectory point is located outside the boundary of the AOI to be marked and is connected to the first A trajectory point is adjacent, and the second continuous trajectory point is located inside the boundary of the to-be-marked AOI and is adjacent to the second trajectory point.
  • the marking module 905 is configured to, for each of the target historical orders, if it is determined that the intersection corresponding to the target historical order meets a preset condition, the intersection corresponding to the target historical order is used as a candidate marking point; For each candidate marking point, the entrance and exit of the AOI to be marked is determined and marked.
  • the labeling module 905 is configured to, for each intersection corresponding to the target historical order, determine the trajectory point adjacent to the intersection in the delivery trajectory corresponding to the target historical order, and determine that it is adjacent to the intersection If the angle between the line and the vertical line corresponding to the intersection is not greater than the set angle, determine that the intersection is a candidate labeled point that meets the preset conditions, Wherein, the vertical line corresponding to the intersection point passes through the intersection point and is perpendicular to the boundary of the AOI to be marked where the intersection point is located.
  • the labeling module 905 is configured to target each intersection corresponding to the target historical order, if the distance between the intersection and the adjacent track point in the delivery trajectory corresponding to the target historical order does not exceed Set the distance, and determine that the intersection point is a candidate labeling point that meets the preset condition.
  • the labeling module 905 is configured to, for each intersection corresponding to the target historical order, according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the delivery trajectory corresponding to the target historical order and The first intersection of the boundary of the AOI to be marked, determine that the intersection is a candidate marked point that meets the preset conditions; or according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the target historical order corresponding The last intersection point between the delivery trajectory of and the boundary of the AOI to be marked, and the intersection point is determined to be a candidate marking point that meets the preset condition.
  • the labeling module 905 is configured to input each candidate labeling point into a preset screening model, and determine a distribution function used to characterize the probability density of each candidate labeling point; from the distribution At least one wave crest is determined in the function; for each of the wave crests, if the peak value of the wave crest is not less than the set threshold, the candidate marking point corresponding to the wave crest is used as the entrance and exit of the AOI to be marked and marked.
  • the second determining module 903 is configured to, for each track point in the delivery track corresponding to the target historical order, if the distance between the track point and the adjacent track point is not less than the set distance, The track point is removed from the delivery track corresponding to the target historical order.
  • the second determining module 903 is configured to, for each track point in the delivery track corresponding to the target historical order, if the delivery speed of the delivery capacity for the target historical order at the track point is not less than the set point If the speed is fixed, the track point is determined to be a noise point and the track point is removed.
  • the device can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
  • FIG. 10 is a schematic diagram of a route planning apparatus provided by the present disclosure, which specifically includes: a receiving module 1001 configured to receive a target order to be delivered from a user; a determining module 1002 configured to receive goods according to the target order Address, determine the area of interest AOI to which the target order belongs as the target AOI; planning module 1003, which is configured to plan the delivery route of the target order according to the entrance and exit of the target AOI, where the target AOI’s The entrances and exits are marked by the above-mentioned method for marking the entrances and exits; the recommendation module 1004 is configured to recommend the planned delivery route to the delivery capacity that executes the target order.
  • a receiving module 1001 configured to receive a target order to be delivered from a user
  • a determining module 1002 configured to receive goods according to the target order Address, determine the area of interest AOI to which the target order belongs as the target AOI
  • planning module 1003 which is configured to plan the delivery route of the target order according to the
  • the planning module 1003 is configured to select a target entrance and exit from the entrances and exits of the target AOI according to the historical order corresponding to the target AOI; plan to pass the target entrance and exit according to the target entrance and exit The delivery route.
  • the service platform can recommend a delivery route to the delivery capacity that executes the target order according to the marked entry and exit of the target AOI to which the target order belongs. This will greatly facilitate the delivery capacity of the delivery capacity to execute the delivery task of the target order, and effectively improve the order execution efficiency of the delivery capacity.
  • the present disclosure also provides a computer-readable storage medium that stores a computer program, and the computer program can be used to execute the method of marking the entrance and exit provided in FIG. 1 or the method of route planning provided in FIG. 8.
  • the present disclosure also provides a schematic structural diagram of the electronic device shown in FIG. 11.
  • the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory.
  • the processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to implement the method of marking the entrance and exit described in FIG. 1 or the method of route planning described in FIG. 8.
  • the present disclosure does not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the following processing flow is not limited to each logic unit, and can also be Hardware or logic device.
  • the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow).
  • hardware improvements for example, improvements in circuit structures such as diodes, transistors, switches, etc.
  • software improvements improvements in method flow.
  • the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module.
  • a programmable logic device for example, a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal JHDL
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the control logic of the memory.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • program modules can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network.
  • program modules can be located in local and remote computer storage media including storage devices.

Abstract

Provided is a method relating to entrance and exit marking and route planning. The method comprises: for each Area Of Interest (AOI) to be marked, obtaining at least one target historical order that matches said AOI (S102); for each target historical order, determining a delivery trajectory corresponding to the target historical order; then determining an intersection point generated by the delivery trajectory corresponding to the target historical order and the boundary of said AOI as an intersection point corresponding to the target historical order; and according to the intersection point corresponding to the target historical order, determining an entrance and exit of said AOI and marking same.

Description

出入口标注和路线规划Entrance and exit marking and route planning 技术领域Technical field
本申请涉及计算机领域,尤其涉及出入口标注和路线规划。This application relates to the field of computers, in particular to entry and exit marking and route planning.
背景技术Background technique
越来越多的人们在线上订购商品,随之配送业务应用的越来越广泛。配送员能够将用户在线订购的商品送达至该用户/收货人手中,给用户的生活带来了极大的方便。More and more people order goods online, and the distribution business application becomes more and more extensive. The delivery person can deliver the goods ordered by the user online to the user/consignee, which brings great convenience to the user's life.
配送员需要将用户在线上订购的商品,从该商品的商家手中送达至该用户/收货人手中。在实际应用中,大部分用户订单的收货地址位于感兴趣区域(Area Of Interest,AOI)中,比如小区、医院等。The delivery person needs to deliver the product ordered by the user online from the merchant of the product to the user/consignee. In practical applications, most of the delivery addresses of user orders are located in the Area Of Interest (AOI), such as communities, hospitals, etc.
发明内容Summary of the invention
本公开提供了一种出入口标注的方法,包括:确定待标注感兴趣区域AOI;获取与该待标注AOI相匹配的至少一个目标历史订单;针对每个所述目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹;根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点;根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。The present disclosure provides a method for marking entrances and exits, which includes: determining an AOI of a region of interest to be marked; acquiring at least one target historical order matching the AOI to be marked; determining to execute the target history for each of the target historical orders The delivery trajectory of the order’s delivery capacity during the execution of the target historical order is taken as the delivery trajectory corresponding to the target historical order; according to the delivery trajectory corresponding to the target historical order, the delivery trajectory corresponding to the target historical order is determined The intersection generated by the boundary of the AOI to be marked is used as the intersection corresponding to the target historical order; according to the respective intersection corresponding to the at least one target historical order, the entrance and exit of the AOI to be marked is determined and marked.
可选地,获取与该待标注AOI相匹配的至少一个目标历史订单,包括:针对每个历史订单,确定该历史订单对应的配送物的交付地点;通过预设的AOI搜索树,确定所述交付地点所落入的AOI;若所述交付地点所落入的AOI与该待标注AOI相同,则将该历史订单确定为与该待标注AOI相匹配的目标历史订单。Optionally, obtaining at least one target historical order matching the AOI to be marked includes: for each historical order, determining the delivery location of the distribution corresponding to the historical order; and determining the delivery location through a preset AOI search tree The AOI that the delivery location falls into; if the AOI that the delivery location falls into is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
可选地,所述根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点,包括:确定该目标历史订单对应的配送轨迹与该待标注AOI的边界产生的交点,作为待识别交点;在该目标历史订单对应的配送轨迹中确定与所述待识别交点相邻,且位于该待标注AOI的边界的外侧的轨迹点,作为第一轨迹点;在该目标历史订单对应的配送轨迹中确 定与所述待识别交点相邻,且位于该待标注AOI的边界的内侧的轨迹点,作为第二轨迹点;若该目标历史订单对应的配送轨迹包含不少于第一设定数量的第一连续轨迹点,以及不少于第二设定数量的第二连续轨迹点,将所述待识别交点作为该目标历史订单对应的交点,其中,所述第一连续轨迹点位于该待标注AOI的边界的外侧、并且与所述第一轨迹点相邻,所述第二连续轨迹点位于所述待标注AOI的边界的内侧、并且与所述第二轨迹点相邻。Optionally, the determining, based on the delivery trajectory corresponding to the target historical order, the intersection generated by the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order includes: determining the The intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked is used as the intersection to be identified; in the delivery trajectory corresponding to the target historical order, it is determined that it is adjacent to the intersection to be identified and is located at the AOI to be marked. The trajectory point outside the boundary is used as the first trajectory point; the trajectory point adjacent to the to-be-identified intersection and located inside the boundary of the to-be-marked AOI is determined in the distribution trajectory corresponding to the target historical order as the second trajectory point Track points; if the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points, and not less than the second set number of second continuous track points, the intersection to be identified As the intersection point corresponding to the target historical order, the first continuous track point is located outside the boundary of the AOI to be marked and is adjacent to the first track point, and the second continuous track point is located on the to-be-marked AOI. Mark the inner side of the boundary of the AOI and be adjacent to the second track point.
可选地,所述根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注,包括:针对每个所述目标历史订单,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点;根据各所述候选标注点,确定该待标注AOI的出入口并进行标注。Optionally, the step of determining and marking the entrance and exit of the AOI to be marked according to the respective intersection points of the at least one target historical order includes: for each of the target historical orders, if the intersection point corresponding to the target historical order is determined If the preset condition is met, the intersection corresponding to the target historical order is used as a candidate marking point; according to each candidate marking point, the entrance and exit of the AOI to be marked is determined and marked.
可选地,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:针对该目标历史订单对应的每个交点,确定该目标历史订单对应的配送轨迹中与该交点相邻的轨迹点,并确定与该交点相邻的轨迹点和该交点之间的连线;若所述连线与该交点对应的垂线之间的夹角不大于设定角度,确定该交点为符合所述预设条件的候选标注点,其中,该交点对应的垂线经过该交点并相对于该交点位于的该待标注AOI的边界垂直。Optionally, if it is determined that the intersection corresponding to the target historical order meets a preset condition, using the intersection corresponding to the target historical order as a candidate labeling point includes: for each intersection corresponding to the target historical order, determining that the target historical order corresponds to The track point adjacent to the intersection in the delivery trajectory, and the line between the track point adjacent to the intersection and the intersection is determined; if the angle between the line and the vertical line corresponding to the intersection is not If the angle is greater than the set angle, it is determined that the intersection point is a candidate marking point that meets the preset condition, wherein the vertical line corresponding to the intersection point passes through the intersection point and is perpendicular to the boundary of the AOI to be marked where the intersection point is located.
可选地,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:针对该目标历史订单对应的每个交点,若该交点与在该目标历史订单对应的配送轨迹中的相邻的轨迹点之间的距离不超过设定距离,确定该交点为符合所述预设条件的候选标注点。Optionally, if it is determined that the intersection corresponding to the target historical order meets a preset condition, the intersection corresponding to the target historical order is used as a candidate labeling point, including: for each intersection corresponding to the target historical order, if the intersection corresponds to the The distance between adjacent trajectory points in the delivery trajectory corresponding to the target historical order does not exceed a set distance, and the intersection is determined to be a candidate labeling point that meets the preset condition.
可选地,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:针对该目标历史订单对应的每个交点,根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的第一个交点,确定该交点为符合所述预设条件的候选标注点;或根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的最后一个交点,确定该交点为符合所述预设条件的候选标注点。Optionally, if it is determined that the intersection corresponding to the target historical order meets a preset condition, the intersection corresponding to the target historical order is used as a candidate marking point, including: for each intersection corresponding to the target historical order, corresponding to the target historical order If the intersection point is the first intersection point between the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, determine the intersection point as a candidate marked point that meets the preset conditions; or The travel direction of the delivery trajectory corresponding to the target historical order, and if the intersection is the last intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, the intersection is determined to be a candidate marked point that meets the preset conditions.
可选地,所述根据各所述候选标注点,确定该待标注AOI的出入口并进行标注,包括:将各所述候选标注点输入到预设的筛选模型中,确定用于表征各所述候选标注点的概率密度的分布函数;从所述分布函数中确定至少一个波峰;针对每个所述波峰,若该波峰的峰值不小于设定阈值,将该波峰对应的候选标注点作为该待标注AOI的出入口并进 行标注。Optionally, the determining and labeling the entrance and exit of the AOI to be labeled according to each of the candidate labeling points includes: inputting each of the candidate labeling points into a preset screening model, and determining to be used to characterize each of the AOIs The distribution function of the probability density of the candidate labeling point; determining at least one wave crest from the distribution function; for each of the wave crests, if the peak value of the wave crest is not less than the set threshold, the candidate labeling point corresponding to the wave crest is regarded as the waiting Mark the entrances and exits of the AOI and mark them.
可选地,在确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹之前,所述方法还包括:针对该目标历史订单对应的配送轨迹中的每个轨迹点,若该轨迹点与相邻的轨迹点的距离不小于设定距离,将该轨迹点从该目标历史订单对应的配送轨迹中去除。Optionally, before determining the delivery trajectory that the delivery capacity of the target historical order has traversed during the execution of the target historical order is used as the delivery trajectory corresponding to the target historical order, the method further includes: For each track point in the delivery track corresponding to the order, if the distance between the track point and the adjacent track point is not less than the set distance, the track point is removed from the delivery track corresponding to the target historical order.
可选地,在确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹之前,所述方法还包括:针对该目标历史订单对应的配送轨迹中的每个轨迹点,若执行该目标历史订单的配送运力在该轨迹点的配送速度不小于设定速度,将该轨迹点从该目标历史订单对应的配送轨迹中去除。Optionally, before determining the delivery trajectory that the delivery capacity of the target historical order has traversed during the execution of the target historical order is used as the delivery trajectory corresponding to the target historical order, the method further includes: For each track point in the delivery track corresponding to the order, if the delivery speed of the delivery capacity of the target historical order at the track point is not less than the set speed, the track point is removed from the delivery track corresponding to the target historical order.
本公开提供了一种路线规划的方法,包括:接收来自用户的待配送的目标订单;根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI;根据所述目标AOI的出入口对所述目标订单的配送路线进行路线规划,其中,所述目标AOI的出入口是通过上述出入口标注的方法进行标注的;将规划出的配送路线推荐给执行所述目标订单的配送运力。The present disclosure provides a route planning method, which includes: receiving a target order to be delivered from a user; determining the area of interest AOI to which the target order belongs as the target AOI according to the delivery address of the target order; The entrance and exit of the target AOI perform route planning for the delivery route of the target order, wherein the entrance and exit of the target AOI are marked by the above-mentioned entrance and exit marking method; the planned delivery route is recommended to those who execute the target order Distribution capacity.
可选地,所述根据所述目标AOI的出入口,对所述目标订单的配送路线进行路线规划,包括:根据所述目标AOI对应的历史订单,从所述目标AOI的各出入口中选取出目标出入口;根据所述目标出入口,规划出通过所述目标出入口的配送路线。Optionally, the route planning of the delivery route of the target order according to the entrance and exit of the target AOI includes: selecting a target from the entrance and exit of the target AOI according to the historical order corresponding to the target AOI Entrance and exit; according to the target entrance and exit, a delivery route through the target entrance and exit is planned.
本公开提供了一种出入口标注的装置,包括:第一确定模块,其配置为确定待标注感兴趣区域AOI;获取模块,其配置为获取与该待标注AOI相匹配的至少一个目标历史订单;第二确定模块,其配置为针对每个所述目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹;第三确定模块,其配置为根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点;标注模块,其配置为根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。The present disclosure provides a device for marking entrances and exits, including: a first determining module configured to determine a region of interest AOI to be marked; an acquisition module configured to acquire at least one target historical order matching the AOI to be marked; The second determining module is configured to determine, for each of the target historical orders, the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order The third determination module, which is configured to determine the intersection of the distribution trajectory corresponding to the target historical order and the boundary of the AOI to be marked according to the distribution trajectory corresponding to the target historical order, as the intersection corresponding to the target historical order; label The module is configured to determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points of the at least one target historical order.
本公开提供了一种路线规划的装置,包括:接收模块,其配置为接收来自用户的待配送的目标订单;确定模块,其配置为根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI;规划模块,其配置为根据所述目标AOI的出 入口对所述目标订单的配送路线进行路线规划,其中,所述目标AOI的出入口是通过上述出入口标注的方法进行标注的;推荐模块,其配置为将规划出的配送路线推荐给执行所述目标订单的配送运力。The present disclosure provides a route planning device, including: a receiving module configured to receive a target order to be delivered from a user; a determining module configured to determine the target order according to the delivery address of the target order The area of interest AOI belongs to as the target AOI; a planning module configured to plan the delivery route of the target order according to the entrance and exit of the target AOI, wherein the entrance and exit of the target AOI are marked by the above entrance and exit method Marking; recommendation module, which is configured to recommend the planned delivery route to the delivery capacity that executes the target order.
本公开提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述出入口标注的方法或上述路线规划的方法。The present disclosure provides a computer-readable storage medium that stores a computer program that, when executed by a processor, implements the above-mentioned method for marking entrances and exits or the above-mentioned method for route planning.
本公开提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述出入口标注的方法或上述路线规划的方法。The present disclosure provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements the above-mentioned method for marking entrances and exits when the computer program is executed Or the above-mentioned route planning method.
本公开的实施例能够达到以下有益效果:The embodiments of the present disclosure can achieve the following beneficial effects:
从上述方法中可以看出,服务平台可以确定出待标注感兴趣区域AOI,并获取与该待标注AOI相匹配的至少一个目标历史订单。针对每个目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹。再确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点。根据至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。It can be seen from the above method that the service platform can determine the area of interest AOI to be marked, and obtain at least one target historical order that matches the AOI to be marked. For each target historical order, determine the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order as the delivery trajectory corresponding to the target historical order. Then determine the intersection point between the delivery track corresponding to the target historical order and the boundary of the AOI to be marked as the intersection point corresponding to the target historical order. According to the respective intersection points corresponding to at least one target historical order, the entrance and exit of the AOI to be marked is determined and marked.
从上述方法中可以看出,服务平台可以根据历史上若干个穿过待标注AOI的配送轨迹,从这些配送轨迹与该待标注AOI的边界的交点中,确定出该待标注AOI的出入口并进行标注。因此本方法可以通过历史数据自动确定出待标注AOI的出入口,从而在一定程度上提高配送效率。It can be seen from the above method that the service platform can determine the entrance and exit of the AOI to be marked from the intersection of these delivery trajectories and the boundary of the AOI to be marked based on a number of historical delivery trajectories that have passed through the AOI to be marked. Label. Therefore, this method can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
附图说明Description of the drawings
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, and do not constitute an improper limitation of the present disclosure. In the attached picture:
图1为本公开实施例提供的一种出入口标注的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for marking entrances and exits according to an embodiment of the present disclosure;
图2为本公开实施例提供的一种感兴趣区域AOI的示意图;FIG. 2 is a schematic diagram of an AOI of a region of interest provided by an embodiment of the disclosure;
图3为本公开实施例提供的一种AOI搜索树的示意图;FIG. 3 is a schematic diagram of an AOI search tree provided by an embodiment of the disclosure;
图4为本公开实施例提供的一种目标历史订单对应的配送轨迹的示意图;FIG. 4 is a schematic diagram of a delivery trajectory corresponding to a target historical order provided by an embodiment of the disclosure;
图5为本公开实施例提供的一种配送轨迹中的噪声点的示意图;5 is a schematic diagram of noise points in a delivery trajectory provided by an embodiment of the disclosure;
图6为本公开实施例提供的一种配送轨迹与待标注AOI的边界的交点的示意图;6 is a schematic diagram of the intersection of a delivery trajectory and the boundary of an AOI to be marked according to an embodiment of the disclosure;
图7为本公开实施例提供的一种概率密度的分布函数的示意图;FIG. 7 is a schematic diagram of a probability density distribution function provided by an embodiment of the disclosure;
图8为本公开实施例提供的一种路线规划的方法的流程示意图;FIG. 8 is a schematic flowchart of a route planning method provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种出入口标注的装置示意图;FIG. 9 is a schematic diagram of a device for marking entrances and exits according to an embodiment of the disclosure;
图10为本公开实施例提供的一种路线规划的装置示意图;FIG. 10 is a schematic diagram of a route planning device provided by an embodiment of the disclosure;
图11为本公开实施例提供的一种电子设备示意图。FIG. 11 is a schematic diagram of an electronic device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚,下面将结合本公开具体实施例及相应的附图对本公开技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the objectives, technical solutions, and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with specific embodiments of the present disclosure and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
在实际应用中,电子地图上所示出的AOI信息并不十分精确,如未标出AOI的出入口,这就使得配送员因无法在电子地图上确定AOI的出入口而只能通过与用户/收货人再次联系来确定配送路线,从而降低配送员的配送效率。In practical applications, the AOI information shown on the electronic map is not very accurate. If the entrance and exit of the AOI are not marked, the delivery staff can only communicate with the user/receipt because they cannot determine the entrance and exit of the AOI on the electronic map. The shipper contacts again to determine the delivery route, thereby reducing the delivery efficiency of the delivery staff.
因此,如何能够确定出用户订单的收货地址所在AOI的出入口,从而提高配送效率,则是一个亟待解决的问题。Therefore, how to determine the entrance and exit of the AOI where the delivery address of the user's order is located, so as to improve the delivery efficiency, is an urgent problem to be solved.
以下结合附图,详细说明本公开各实施例提供的技术方案。The technical solutions provided by the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
图1为本公开实施例提供的一种出入口标注的方法的流程示意图,具体包括以下步骤S101至S105。FIG. 1 is a schematic flowchart of a method for marking entrances and exits according to an embodiment of the present disclosure, which specifically includes the following steps S101 to S105.
S101:确定待标注感兴趣区域AOI。S101: Determine the AOI of the region of interest to be marked.
在实际应用中,使用配送业务的用户所下订单的收货地址大多会处于感兴趣区域(Area of interest,AOI),其中,AOI是服务平台的工作人员预先通过数据采集在电子地图上划分出的各个区域,AOI可以包括医院、学校、小区、办公楼等社区。基于此,在执行配送任务时配送运力需要从收货人所在的感兴趣区域AOI的出入口进入AOI才能够到达收货人所在的具体位置,进而将配送物送达至收货人手中。这里提到的配送运力可以是指配送员、配送机器人、无人机、无人车等能够拥有一定运输能力以及承载能力的单位。In practical applications, most of the delivery addresses of orders placed by users who use the delivery service will be in the area of interest (AOI). Among them, AOI is pre-divided by the staff of the service platform on the electronic map through data collection In each area, AOI can include hospitals, schools, communities, office buildings and other communities. Based on this, when the delivery task is performed, the delivery capacity needs to enter the AOI from the entrance and exit of the AOI in the area of interest where the consignee is located to be able to reach the specific location of the consignee, and then deliver the delivery to the consignee. The distribution capacity mentioned here can refer to units that can have a certain transportation capacity and carrying capacity, such as distributors, distribution robots, drones, and unmanned vehicles.
图2为本公开实施例提供的一种感兴趣区域AOI的示意图。FIG. 2 is a schematic diagram of an AOI of a region of interest provided by an embodiment of the disclosure.
例如,如图2所示,一个下达订单的用户将收货地址设定在图2中H小区的1号楼,这里提到的H小区为收货人所在的感兴趣区域AOI,该小区的出入口包括北门或东门。配送运力若是接到该用户下达的订单,需要从该小区的北门或是东门进入该小区,才能够到达1号楼,从而将该用户订购的配送物送达至收货人手中。For example, as shown in Figure 2, a user who placed an order sets the delivery address in Building No. 1 of the H cell in Figure 2. The H cell mentioned here is the AOI where the consignee is located. The entrances and exits include the north gate or the east gate. If the delivery capacity receives an order placed by the user, it needs to enter the community from the north or east gate of the community to reach Building 1 so that the delivery items ordered by the user can be delivered to the consignee.
所以,服务平台需要根据自己的实际业务需求,预先确定出需要对出入口进行标注的感兴趣区域AOI,作为待标注感兴趣区域AOI,进而在后续过程中,对这些待标注AOI的出入口进行标注。在本公开中,待标注AOI可以是出入口的数量少于一定数量的AOI,例如,若是一个AOI的出入口少于2个,则可以确定该AOI为待标注AOI。而对于出入口的数量较多的AOI来说,可以不对其进行标注。Therefore, the service platform needs to pre-determine the area of interest AOI that needs to be marked for the entrance and exit according to its actual business needs, as the area of interest AOI to be marked, and then mark these entrances and exits of the AOI to be marked in the subsequent process. In the present disclosure, the AOI to be marked may be an AOI with less than a certain number of entrances and exits. For example, if an AOI has less than two entrances and exits, it can be determined that the AOI is an AOI to be marked. For AOIs with a large number of entrances and exits, it is not necessary to mark them.
S102:获取与该待标注AOI相匹配的至少一个目标历史订单。S102: Obtain at least one target historical order matching the AOI to be marked.
服务平台确定出各待标注AOI后,可以针对每个待标注AOI,获取与该待标注AOI相匹配的至少一个目标历史订单。其中,服务平台可以从各历史订单中,确定出交付地点位于该待标注AOI中的历史订单,作为与该待标注AOI相匹配的目标历史订单。这里提到的历史订单的交付地点可以是指用户针对该历史订单所设定的收货地址,也可以是指配送运力在执行该历史订单时与收货人交付配送物的实际交付地点。After determining each AOI to be marked, the service platform can obtain at least one target historical order that matches the AOI to be marked for each AOI to be marked. Among them, the service platform can determine from each historical order the historical order whose delivery location is in the AOI to be marked as the target historical order that matches the AOI to be marked. The delivery location of the historical order mentioned here can refer to the delivery address set by the user for the historical order, or it can refer to the actual delivery location where the delivery capacity and the consignee deliver the delivery when the historical order is executed.
具体的,服务平台可以针对每个历史订单,确定该历史订单对应的配送物的交付地点,进而通过预设的AOI搜索树,确定该交付地点所落入的AOI,若所述交付地点所落入的AOI与该待标注AOI相同,则将该历史订单确定为与该该待标注AOI相匹配的目标历史订单。这里提到的AOI搜索树可以是指能够将各AOI或是各AOI中的兴趣点(Point of Information,POI)按照地理上的包含关系进行存储的树状数据结构,如图3所示。Specifically, for each historical order, the service platform can determine the delivery location of the distribution corresponding to the historical order, and then determine the AOI that the delivery location falls into through the preset AOI search tree, if the delivery location falls If the incoming AOI is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked. The AOI search tree mentioned here may refer to a tree-like data structure that can store each AOI or points of information (POI) in each AOI according to a geographic containment relationship, as shown in FIG. 3.
图3为本公开实施例提供的一种AOI搜索树的示意图。FIG. 3 is a schematic diagram of an AOI search tree provided by an embodiment of the disclosure.
如上述例子中,假如H小区在A市的B区内,那么服务平台可以创建如图3中的AOI搜索树。可以看出,根据地理上的包含关系,B区和C区被存储在A市对应的节点的子节点中,而H小区和G小区被存储在B区对应的节点的子节点中。这样,若是服务平台获取到一个交付地点为该H小区内的历史订单,根据AOI搜索树,服务平台能够确定该历史订单为与H小区这一AOI相匹配的目标历史订单。As in the above example, if cell H is in zone B of city A, the service platform can create an AOI search tree as shown in Figure 3. It can be seen that, according to the geographical inclusion relationship, the B and C areas are stored in the child nodes of the node corresponding to the A city, and the H and G cells are stored in the child nodes of the node corresponding to the B area. In this way, if the service platform obtains a historical order whose delivery location is in the H cell, according to the AOI search tree, the service platform can determine that the historical order is a target historical order that matches the AOI of the H cell.
S103:针对每个目标历史订单,确定执行该目标历史订单的配送运力在执行该目标 历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹。S103: For each target historical order, determine the delivery trajectory that the delivery capacity of the target historical order has passed during the execution of the target historical order, as the delivery trajectory corresponding to the target historical order.
服务平台确定出与该待标注AOI相匹配的至少一个目标历史订单后,可以针对每个目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹。After the service platform has determined at least one target historical order that matches the AOI to be marked, it can determine the delivery trajectory that the delivery capacity for executing the target historical order passes during the execution of the target historical order for each target historical order , As the delivery trajectory corresponding to the target historical order.
在实际应用中,服务平台可以对执行配送任务的配送运力实时采集其配送过程中所经过的轨迹点,从而得到由轨迹点连成的该配送运力的配送轨迹。服务平台除了采集每个轨迹点外,还会采集配送运力在每个轨迹点上的行进速度等信息。In practical applications, the service platform can collect the trajectory points passed by the delivery capacity of the distribution task in real time, thereby obtaining the delivery trajectory of the delivery capacity connected by the trajectory points. In addition to collecting each trajectory point, the service platform also collects information such as the travel speed of the distribution capacity at each trajectory point.
所以,服务平台可以针对执行该目标历史订单的配送运力,确定该配送运力执行该目标历史订单的过程中所经过的配送轨迹,并从这一配送轨迹中截取该配送运力从进入该待标注AOI到离开该待标注AOI的部分配送轨迹作为该目标历史订单对应的配送轨迹,如图4所示。Therefore, the service platform can determine the delivery trajectory that the delivery capacity has passed in the process of executing the target historical order for the delivery capacity of the target historical order, and intercept the delivery trajectory from the delivery capacity from entering the to-be-marked AOI The part of the delivery trajectory that leaves the AOI to be marked is used as the delivery trajectory corresponding to the target historical order, as shown in Figure 4.
图4为本公开实施例提供的一种目标历史订单对应的配送轨迹的示意图。FIG. 4 is a schematic diagram of a distribution trajectory corresponding to a target historical order provided by an embodiment of the disclosure.
例如,服务平台确定出了一个与H小区这一AOI相匹配的目标历史订单,并确定出如图4所示的执行该目标历史订单的配送运力所经过的配送轨迹,可以看出该配送轨迹从H小区外开始,经过H小区的入口后转向H小区中的1号楼,之后经过H小区的出口到达H小区外。图4所示的该配送轨迹可以作为该目标历史订单对应的配送轨迹。For example, the service platform determines a target historical order that matches the AOI of cell H, and determines the delivery trajectory through which the delivery capacity of the target historical order is executed as shown in Figure 4, and the delivery trajectory can be seen Start from outside the H cell, pass the entrance of the H cell, turn to Building No. 1 in the H cell, and then pass the exit of the H cell to the outside of the H cell. The delivery trajectory shown in FIG. 4 can be used as the delivery trajectory corresponding to the target historical order.
也就是说,在本公开中,服务平台并不关注一个目标历史订单的全部配送轨迹,而是关注位于该目标历史订单所属AOI附近或是内部的轨迹点所组成的部分配送轨迹,进而通过这部分配送轨迹来判断与该目标历史订单所属AOI所产生的交点。That is to say, in the present disclosure, the service platform does not pay attention to the entire delivery trajectory of a target historical order, but instead pays attention to the partial delivery trajectory composed of track points located near or inside the AOI to which the target historical order belongs, and then through this Part of the delivery trajectory is used to determine the intersection point with the AOI that the target historical order belongs to.
需要指出的是,在实际应用中,可能会出现服务平台采集的该目标历史订单对应的配送轨迹中的轨迹点偏离该目标历史订单实际的配送轨迹的情况,从而造成后续确定出的该目标历史订单对应的配送轨迹与该待标注AOI的边界的交点不准确,如图5所示。It should be pointed out that in practical applications, it may happen that the track points in the delivery trajectory corresponding to the target historical order collected by the service platform deviate from the actual delivery trajectory of the target historical order, resulting in the subsequent determination of the target history The intersection of the delivery trajectory corresponding to the order and the boundary of the AOI to be marked is not accurate, as shown in Figure 5.
图5为本公开实施例提供的一种配送轨迹中的噪声点的示意图。FIG. 5 is a schematic diagram of noise points in a delivery trajectory provided by an embodiment of the disclosure.
当出现如图5中的轨迹点偏离目标历史订单的实际的配送轨迹很远的情况时,服务平台确定出的交点很可能不是待标注AOI的出入口,从而导致确定出的待标注AOI的出入口不准确。When the trajectory point as shown in Figure 5 deviates from the actual delivery trajectory of the target historical order very far, the intersection determined by the service platform is probably not the entrance and exit of the AOI to be marked, resulting in the determined entrance and exit of the AOI to be marked. precise.
为防止上述情况所带来的影响,在本公开中,服务平台需要将该目标历史订单对应的配送轨迹中的噪声点进行去除。具体的,服务平台可以针对该目标历史订单对应的配 送轨迹中的每个轨迹点,若该轨迹点与相邻的轨迹点的距离都不小于设定距离,则确定该轨迹点为噪声点并将该轨迹点从该目标历史订单对应的配送轨迹中去除。In order to prevent the impact caused by the above situation, in the present disclosure, the service platform needs to remove the noise points in the delivery trajectory corresponding to the target historical order. Specifically, the service platform can target each track point in the delivery track corresponding to the target historical order, and if the distance between the track point and the adjacent track point is not less than the set distance, the track point is determined to be a noise point and Remove the track point from the delivery track corresponding to the target historical order.
例如,如图5中服务平台确定出的配送轨迹中存在一个偏离实际的配送轨迹很远的轨迹点E,显然该轨迹点E为噪声点。假如服务平台设置的设定距离为50m,而该轨迹点E与相邻的两个轨迹点F、G间的距离都不小于50m,服务平台可以确定出该轨迹点E为噪声点,并将该轨迹点E从该确定的配送轨迹中去除。For example, in the delivery trajectory determined by the service platform in Figure 5, there is a track point E that deviates far from the actual delivery trajectory. Obviously, the track point E is a noise point. If the set distance set by the service platform is 50m, and the distance between the track point E and the two adjacent track points F and G is not less than 50m, the service platform can determine that the track point E is a noise point, and The track point E is removed from the determined delivery track.
除此之外,服务平台还可以针对该目标历史订单对应的配送轨迹中的每个轨迹点,若执行该目标历史订单的配送运力在该轨迹点对应的配送速度不小于设定速度,则确定该轨迹点为噪声点并将该轨迹点从该目标历史订单对应的配送轨迹中去除。In addition, the service platform can also target each track point in the delivery trajectory corresponding to the target historical order. If the delivery capacity of the target historical order is executed, the delivery speed corresponding to the track point is not less than the set speed. The trajectory point is a noise point and the trajectory point is removed from the delivery trajectory corresponding to the target historical order.
当然,服务平台也可以将上述两种方法均作为去除该目标历史订单对应的配送轨迹中的噪声点的方法。如,若服务平台确定出的该目标订单对应的配送轨迹中存在一个轨迹点与相邻的轨迹点的距离都不小于设定距离,并且执行该目标历史订单的配送运力在该轨迹点对应的配送速度不小于设定速度,则确定该轨迹点为噪声点并将该轨迹点从该目标历史订单对应的配送轨迹中去除。Of course, the service platform can also use the above two methods as methods to remove noise points in the delivery trajectory corresponding to the target historical order. For example, if there is a track point in the delivery track corresponding to the target order determined by the service platform and the distance between the adjacent track point is not less than the set distance, and the delivery capacity for executing the target historical order is at the corresponding track point If the delivery speed is not less than the set speed, the track point is determined to be a noise point and the track point is removed from the delivery track corresponding to the target historical order.
S104:根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点。S104: According to the distribution trajectory corresponding to the target historical order, determine the intersection of the distribution trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
服务平台确定出该目标历史订单对应的配送轨迹后,可以确定出该配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点。After the service platform determines the delivery trajectory corresponding to the target historical order, it can determine the intersection of the delivery trajectory and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
由于可能会出现该目标历史订单对应的配送轨迹与该待标注AOI的边界相交、但该配送轨迹却没有进入该待标注AOI的内部的情况,因此,服务平台需要确定出该目标历史订单对应的配送轨迹穿过该待标注AOI的边界、并与该边界相交的交点,作为该目标历史订单对应的交点。Since it may happen that the delivery trajectory corresponding to the target historical order intersects the boundary of the AOI to be marked, but the delivery trajectory does not enter the interior of the AOI to be marked, the service platform needs to determine the corresponding target historical order The intersection point where the delivery trajectory crosses the boundary of the AOI to be marked and intersects the boundary is taken as the intersection point corresponding to the target historical order.
具体的,服务平台可以确定该目标历史订单对应的配送轨迹与该待标注AOI的边界产生的交点,作为待识别交点。其中,在本公开中,待标注AOI的边界指的是待标注AOI在预设电子地图上的边界,如图4所示。相应的,后续在对待标注AOI的出入口进行标注时,也可以是指在电子地图上标注出待标注AOI的出入口。Specifically, the service platform may determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection to be identified. Among them, in the present disclosure, the boundary of the AOI to be marked refers to the boundary of the AOI to be marked on the preset electronic map, as shown in FIG. 4. Correspondingly, when subsequently marking the entrance and exit of the AOI to be marked, it may also refer to marking the entrance and exit of the AOI to be marked on the electronic map.
而后,服务平台可以进一步地在该目标历史订单对应的配送轨迹中确定与该待识别交点相邻、且位于该待标注AOI的边界的外侧的轨迹点,作为第一轨迹点;在该目标历史订单对应的配送轨迹中确定与该待识别交点相邻、且位于该待标注AOI的边界的内侧 的轨迹点,作为第二轨迹点。Then, the service platform can further determine the trajectory point adjacent to the to-be-identified intersection and outside the boundary of the to-be-marked AOI in the delivery trajectory corresponding to the target historical order as the first trajectory point; In the delivery trajectory corresponding to the order, a trajectory point adjacent to the to-be-identified intersection and located inside the boundary of the AOI to be marked is determined as the second trajectory point.
若该目标历史订单对应的配送轨迹包含不少于第一设定数量的第一连续轨迹点,以及不少于第二设定数量的第二连续轨迹点,服务平台可以将该待识别交点作为该目标历史订单对应的交点。其中,所述第一连续轨迹点位于该待标注AOI的边界的外侧、并且与所述第一轨迹点相邻,所述第二连续轨迹点位于所述待标注AOI的边界的内侧、并且与所述第二轨迹点相邻。If the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points and not less than the second set number of second continuous track points, the service platform can use the to-be-identified intersection as The intersection point corresponding to the target historical order. Wherein, the first continuous track point is located outside the boundary of the AOI to be marked and is adjacent to the first track point, and the second continuous track point is located inside the boundary of the AOI to be marked and is adjacent to the boundary of the AOI to be marked. The second track points are adjacent.
例如,如图4所示的配送轨迹与H小区在电子地图上的边界相交产生的三角形的交点,可以看出,与该交点相邻并且位于H小区的边界外侧的轨迹点为第一轨迹点,与该交点相邻并且位于H小区的边界内侧的轨迹点为第二轨迹点。若服务平台将第一设定数量设为1,第二设定数量设为2,可以看出在H小区的边界外侧有不少于1个的连续轨迹点与第一轨迹点相邻,在H小区的边界内侧有不少于2个的连续轨迹点与第二轨迹点相邻,因此,该交点可以作为图4所示的配送轨迹对应的目标历史订单的交点。For example, the intersection of the triangle generated by the intersection of the delivery trajectory and the boundary of the H cell on the electronic map as shown in Fig. 4, it can be seen that the trajectory point adjacent to the intersection and located outside the boundary of the H cell is the first trajectory point , The trajectory point adjacent to the intersection and located inside the boundary of the H cell is the second trajectory point. If the service platform sets the first set number to 1 and the second set number to 2, it can be seen that there are no less than 1 continuous track point adjacent to the first track point outside the boundary of the H cell. There are no less than two continuous track points adjacent to the second track point inside the boundary of the H cell, and therefore, this intersection point can be used as the intersection point of the target historical order corresponding to the delivery track shown in FIG. 4.
需要说明的是,上述第一设定数量和第二设定数量可以根据实际需求进行设定,本公开中并不对第一设定数量和第二设定数量所采用的具体数值进行限定。而值得一提的是,若第一设定数量和第二设定数量的数值越大,则确定出的交点更为准确,所以,为了保证确定出的交点更为合理,则可以将第一设定数量和第二设定数量的具体数值设置的较大些。It should be noted that the above-mentioned first set number and second set number can be set according to actual needs, and the specific values used for the first set number and the second set number are not limited in this disclosure. It is worth mentioning that if the value of the first set number and the second set number is larger, the determined intersection point is more accurate. Therefore, in order to ensure that the determined intersection point is more reasonable, the first The specific numerical values of the set quantity and the second set quantity are set to be larger.
S105:根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。S105: Determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order.
服务平台确定出与该待标注AOI相匹配的至少一个目标历史订单对应的交点后,可以根据至少一个目标历史订单对应的各交点,确定该待标注AOI的出入口并进行标注。After the service platform determines the intersection corresponding to at least one target historical order that matches the AOI to be marked, it can determine the entrance and exit of the AOI to be marked and mark it according to each intersection corresponding to the at least one historical target order.
其中,服务平台可以针对每个目标历史订单,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,再根据各候选标注点,确定该待标注AOI的出入口并进行标注。Among them, the service platform can, for each target historical order, if it is determined that the intersection corresponding to the target historical order meets the preset conditions, the intersection corresponding to the target historical order is used as a candidate marking point, and then the candidate marking point is determined according to each candidate marking point. The entrances and exits of AOI are marked.
具体的,服务平台可以针对该目标历史订单对应的每个交点,确定该目标历史订单对应的配送轨迹中与该交点相邻的轨迹点,并确定与该交点相邻的轨迹点和该交点之间的连线。若该连线与该交点对应的垂线之间的夹角不大于设定角度,确定该交点为符合预设条件的候选标注点,其中,该交点对应的垂线经过该交点并相对于该交点位于的该待标注AOI的边界垂直,如图6所示。Specifically, for each intersection corresponding to the target historical order, the service platform can determine the trajectory point adjacent to the intersection in the delivery trajectory corresponding to the target historical order, and determine the trajectory point adjacent to the intersection and the difference between the intersection. The connection between. If the angle between the line and the vertical line corresponding to the intersection is not greater than the set angle, the intersection is determined to be a candidate labeled point that meets the preset conditions, wherein the vertical line corresponding to the intersection passes through the intersection and is relative to the intersection. The boundary of the AOI to be marked where the intersection is located is vertical, as shown in Figure 6.
图6为本公开实施例提供的一种配送轨迹与待标注AOI的边界的交点的示意图。FIG. 6 is a schematic diagram of the intersection of a delivery trajectory and the boundary of an AOI to be marked according to an embodiment of the disclosure.
例如,如图6所示,当服务平台采集到由轨迹点A、B、C、D、E连成的配送轨迹时,该配送轨迹与H小区边界的交点为交点C,确定出交点C相邻的轨迹点与交点C之间的连线后,可以看出该连线与交点C对应的垂线之间的夹角为40度,交点C对应的垂线经过交点C并相对于交点C位于的边界(即AOI的上边界)垂直。若轨迹点C由于定位问题缺失,服务平台只采集到轨迹点A、B、D、E连成的配送轨迹,该配送轨迹与H小区边界的交点为交点B,可以确定出交点B相邻的轨迹点与交点B之间的连线,而且可以看出该连线与交点B对应的垂线之间的夹角为65度,交点B对应的垂线经过交点B并相对于交点B位于的边界(即AOI的上边界)垂直。For example, as shown in Figure 6, when the service platform collects the delivery trajectory formed by trajectory points A, B, C, D, and E, the intersection of the delivery trajectory and the boundary of the H cell is the intersection point C, and the intersection point C is determined. After the line between the adjacent track point and the intersection point C, it can be seen that the angle between the line and the vertical line corresponding to the intersection point C is 40 degrees, and the vertical line corresponding to the intersection point C passes through the intersection point C and is relative to the intersection point C. The boundary (that is, the upper boundary of the AOI) is vertical. If the track point C is missing due to a positioning problem, the service platform only collects the delivery track formed by track points A, B, D, and E. The intersection of the delivery track and the boundary of the H cell is the intersection point B, and the neighboring point B can be determined The line between the trajectory point and the intersection point B, and it can be seen that the angle between the line and the vertical line corresponding to the intersection point B is 65 degrees, and the vertical line corresponding to the intersection point B passes through the intersection point B and is located relative to the intersection point B The boundary (that is, the upper boundary of the AOI) is vertical.
若服务平台采集配送轨迹时轨迹点B、C都由于定位问题缺失,那么确定出的配送轨迹为由轨迹点A、D、E连成的配送轨迹,该配送轨迹与H小区边界的交点为交点A,可以确定出交点A相邻的轨迹点与交点A之间的连线,并且可以看出该连线与交点A对应的垂线之间的夹角为80度,交点A对应的垂线经过交点A并相对于交点A位于的边界(即AOI的上边界)垂直。If the track points B and C are missing due to positioning problems when the service platform collects the delivery track, the determined delivery track is the delivery track formed by the track points A, D, and E, and the intersection of the delivery track and the boundary of the H cell is the intersection point A, the line between the adjacent track points of intersection A and intersection A can be determined, and it can be seen that the angle between the line and the vertical line corresponding to intersection A is 80 degrees, and the vertical line corresponding to intersection A It passes through the intersection A and is perpendicular to the boundary at which the intersection A is located (that is, the upper boundary of the AOI).
基于此,可以看出,交点C可能是配送运力进入H小区时的地点,而对于交点A以及交点B,由于服务平台采集配送轨迹时出现了缺失轨迹点的现象,这两个交点是H小区出入口的可能性很小。因此服务平台将设定角度设为60度,这样交点C为符合预设条件的交点,而交点A或交点B不为符合预设条件的交点。Based on this, it can be seen that the intersection point C may be the location when the distribution capacity enters the H cell, and for the intersection point A and the intersection point B, due to the phenomenon of missing trajectory points when the service platform collects the distribution trajectory, these two intersection points are the H cell The possibility of entrance and exit is very small. Therefore, the service platform sets the set angle to 60 degrees, so that the intersection point C is the intersection point that meets the preset conditions, and the intersection point A or the intersection point B is not the intersection point that meets the preset conditions.
从以上例子中可以看出,夹角越小,交点越可能是配送运力在配送过程中进入该待标注AOI时的地点,也就表明这一交点越可能是该待标注AOI的出入口,因此这一预设条件能够对可能是待标注AOI的出入口的交点进行更好的筛选。It can be seen from the above example that the smaller the angle, the more likely the intersection is the place where the distribution capacity enters the AOI to be marked during the distribution process, which means that the intersection is more likely to be the entrance and exit of the AOI to be marked. A preset condition can better screen the intersection points that may be the entrances and exits of the AOI to be marked.
服务平台还可以针对该目标历史订单对应的每个交点,若该交点与在该目标历史订单对应的配送轨迹中的相邻的轨迹点之间的距离不超过设定距离,确定该交点为符合预设条件的候选标注点。The service platform can also target each intersection corresponding to the target historical order. If the distance between the intersection and the adjacent track point in the delivery trajectory corresponding to the target historical order does not exceed the set distance, determine that the intersection is a conformity Candidate labeling points with preset conditions.
服务平台还可以针对该目标历史订单对应的每个交点,根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的第一个交点,确定该交点为符合所述预设条件的候选标注点;或是根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的最后一个交点,确定该交点为符合所述预设条件的候选标注点。The service platform can also, for each intersection corresponding to the target historical order, according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the first of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked Point of intersection, determine that the intersection point is a candidate marked point that meets the preset conditions; or according to the travel direction of the delivery track corresponding to the target historical order, if the intersection point is the delivery track corresponding to the target historical order and the to-be-marked AOI The last intersection point of the boundary of, and the intersection point is determined to be a candidate labeled point that meets the preset condition.
也就是说,通常情况下,配送运力进入到AOI将配送物交付到收货人手中,并从该AOI中出去,期间所产生的配送轨迹可以与该AOI的边界产生两个交点,所以,从配送轨迹上看,符合预设条件的交点为配送轨迹与该AOI所产生的第一个交点或是最后一个交点。That is to say, under normal circumstances, the delivery capacity enters the AOI to deliver the delivery to the consignee and exits from the AOI. The delivery trajectory generated during the period can produce two intersections with the boundary of the AOI. Therefore, from From the distribution trajectory, the intersection that meets the preset conditions is the first intersection or the last intersection between the distribution trajectory and the AOI.
可以看出,以上为服务平台设置的三个预设条件,在实际应用中,服务平台可以根据实际需求选择需要的预设条件,进而通过选取出的预设条件对确定出的各交点进行筛选,确定出候选标注点。It can be seen that the above three preset conditions are set for the service platform. In practical applications, the service platform can select the required preset conditions according to actual needs, and then filter the determined intersections through the selected preset conditions , To determine the candidate label points.
在确定出各候选标注点后,服务平台可以从各候选标注点中确定出该待标注AOI的出入口并进行标注。具体的,服务平台可以将各候选标注点输入到预设的筛选模型中,确定用于表征各候选标注点的概率密度的分布函数,并从分布函数中确定至少一个波峰。针对每个波峰,若该波峰的峰值不小于设定阈值,将该波峰对应的候选标注点作为该待标注AOI的出入口并进行标注。这里提到的设定阈值可以由服务平台根据实际需求进行确定。该筛选模型所使用的算法可以是核密度估计等聚类算法,具体不在此限定,如图7所示。After determining each candidate marking point, the service platform can determine the entrance and exit of the AOI to be marked from the candidate marking points and mark it. Specifically, the service platform may input each candidate annotation point into a preset screening model, determine a distribution function used to characterize the probability density of each candidate annotation point, and determine at least one peak from the distribution function. For each wave peak, if the peak value of the wave peak is not less than the set threshold, the candidate marking point corresponding to the wave peak is used as the entrance and exit of the AOI to be marked and marked. The set threshold mentioned here can be determined by the service platform according to actual needs. The algorithm used in the screening model may be a clustering algorithm such as kernel density estimation, which is not specifically limited here, as shown in FIG. 7.
图7为本公开实施例提供的一种概率密度的分布函数的示意图。FIG. 7 is a schematic diagram of a probability density distribution function provided by an embodiment of the disclosure.
例如,服务平台确定出的H小区的候选标注点如图7中左侧所示,大部分候选标注点处于H小区的上边界以及右边界,零星两个候选标注点处于小区的下边界,因此针对上述例子中的H小区绘制出的概率密度的分布函数大致会是图7中右侧的分布函数。For example, the candidate label points of the H cell determined by the service platform are shown on the left in Figure 7. Most of the candidate label points are located at the upper and right borders of the H cell, and two sporadic candidate label points are at the lower boundary of the cell, so The distribution function of the probability density drawn for the H cell in the above example will roughly be the distribution function on the right in FIG. 7.
可以看出该分布函数有三个波峰:波峰1、波峰2和波峰3,波峰1和波峰2对应上边界以及右边界中密集的候选标注点簇,而波峰3对应下边界中的零星两个候选标注点。根据该分布函数,服务平台可以确定出零星的候选标注点很可能并不是H小区的出入口,或是并不是H小区的常规出入口,从而将该零星的候选标注点筛除。服务平台确定出波峰1和波峰2的峰值大于设定阈值,波峰3的峰值小于设定阈值,那么根据该分布函数可以确定出H小区的出入口为波峰1和波峰2对应的候选标注点。It can be seen that the distribution function has three crests: crest 1, crest 2 and crest 3, crest 1 and crest 2 correspond to the upper boundary and the dense candidate label point cluster in the right boundary, and crest 3 corresponds to the sporadic two candidates in the lower boundary Mark points. According to the distribution function, the service platform can determine that the sporadic candidate labeling points are probably not the entrances and exits of the H cell, or are not the regular entrances and exits of the H cell, so as to screen out the sporadic candidate labeling points. The service platform determines that the peaks of peak 1 and peak 2 are greater than the set threshold, and the peak of peak 3 is less than the set threshold. Then, according to the distribution function, it can be determined that the entrances and exits of the H cell are the candidate labeled points corresponding to peaks 1 and 2.
服务平台在上述过程中确定出了能够作为该待标注AOI的出入口的候选标注点,可以将这些候选标注点作为该待标注AOI的出入口直接进行标注。需要指出的是,若是针对该待标注AOI,在设定历史时间内确定出的候选标注点过少,则可能会由于样本过少而导致根据上述概率密度的分布函数确定出的该待标注AOI的出入口不准确。因此,服务平台可以确定出设定历史时间内该待标注AOI的候选标注点的数目,若该数目小于设 定数目,则不对该待标注AOI标注出入口。In the above process, the service platform has determined candidate marking points that can be the entrances and exits of the AOI to be marked, and these candidate marking points can be directly marked as the entrances and exits of the AOI to be marked. It should be pointed out that if there are too few candidate annotation points determined within the set history time for the AOI to be labeled, the AOI to be labeled may be determined according to the above probability density distribution function due to too few samples. The entrances and exits are not accurate. Therefore, the service platform can determine the number of candidate marking points for the AOI to be marked within the set historical time, and if the number is less than the set number, the entry and exit of the AOI to be marked will not be marked.
从上述可以看出,服务平台可以根据历史上若干个穿过待标注AOI的配送轨迹,从这些配送轨迹与该待标注AOI的边界的交点中,确定出该待标注AOI的出入口并进行标注。服务平台能够从这些交点中确定出可能是该待标注AOI的出入口的交点,并通过预设的筛选模型进一步的从可能是该待标注AOI的出入口的交点中,确定出该待标注AOI的出入口。因此本方法可以通过历史数据自动确定出待标注AOI的出入口,从而在一定程度上提高配送效率。It can be seen from the above that the service platform can determine and label the entrance and exit of the AOI to be marked from the intersection of these delivery trajectories and the boundary of the AOI to be marked based on a number of historical delivery trajectories that have passed through the AOI to be marked. The service platform can determine the intersection that may be the entrance and exit of the AOI to be marked from these intersections, and further determine the entrance and exit of the AOI to be marked from the intersection that may be the entrance and exit of the AOI to be marked through a preset screening model . Therefore, this method can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
服务平台确定出各待标注AOI的出入口后,可以通过标注出的出入口,为执行订单配送任务的配送运力进行路线规划,具体过程如图8所示。After the service platform determines the entrances and exits of each AOI to be marked, it can plan the route for the delivery capacity of the order delivery task through the marked entrances and exits. The specific process is shown in Figure 8.
图8为本公开实施例提供的一种路线规划的方法的流程示意图,具体包括以下步骤S801至S804。FIG. 8 is a schematic flowchart of a route planning method provided by an embodiment of the present disclosure, which specifically includes the following steps S801 to S804.
S801:接收来自用户的待配送的目标订单。S801: Receive a target order to be delivered from the user.
S802:根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI。S802: According to the delivery address of the target order, determine the region of interest AOI to which the target order belongs as the target AOI.
在本公开中,服务平台可以接收来自用户的待配送的目标订单,并根据该目标订单的收货地址,确定该目标订单所属的AOI作为目标AOI。其中,这里提到的目标订单,即是指用户根据自身的实际需求所下的订单。而该目标订单所属的AOI即是指该目标订单的收货地址所归属的AOI。In the present disclosure, the service platform may receive the target order to be delivered from the user, and determine the AOI to which the target order belongs as the target AOI according to the delivery address of the target order. Among them, the target order mentioned here refers to the order placed by the user according to their actual needs. The AOI to which the target order belongs refers to the AOI to which the delivery address of the target order belongs.
S803:根据所述目标AOI的出入口对所述目标订单的配送路线进行路线规划。S803: Perform route planning on the delivery route of the target order according to the entrance and exit of the target AOI.
S804:将规划出的配送路线推荐给执行所述目标订单的配送运力。S804: Recommend the planned delivery route to the delivery capacity that executes the target order.
若是服务平台已经标注出了该目标AOI的出入口,可以根据该目标AOI中标注出的出入口,规划出该目标订单的配送路线,并将规划出的配送路线推荐给执行该目标订单的配送运力。If the service platform has marked the entrance and exit of the target AOI, it can plan the delivery route of the target order based on the entrance and exit marked in the target AOI, and recommend the planned delivery route to the delivery capacity that executes the target order.
由于该目标AOI可能有多个出入口,所以,服务平台可以通过该目标AOI所对应的历史订单,从这些出入口中选取出至少一个出入口作为目标出入口。其中,这里提到的该目标AOI所对应的历史订单是指收货地址属于该目标AOI的历史订单,而对于这些历史订单来说,服务平台可以获取执行这些历史订单的配送运力在执行这些历史订单的配送任务过程中所走过的路径,并基于这些路径,进一步地确定出该目标AOI所对应 的各出入口中,哪些出入口是配送运力经常通过的出入口,进而可以将其作为目标出入口。而后,服务平台可以规划出通过该目标出入口的配送路线,进而将该配送路线推荐给执行目标订单的配送运力。这样,该配送运力能够更加有效率的将该目标订单对应的配送物送达至收货人手中。Since the target AOI may have multiple entrances and exits, the service platform can select at least one entrance and exit from these entrances and exits as the target entrance and exit through the historical order corresponding to the target AOI. Among them, the historical order corresponding to the target AOI mentioned here refers to the historical order whose delivery address belongs to the target AOI, and for these historical orders, the service platform can obtain the delivery capacity for executing these historical orders while executing these historical orders. The path traversed in the process of the order distribution task, and based on these paths, further determine which of the entrances and exits corresponding to the target AOI are the entrances and exits that the delivery capacity often passes through, and then can be used as the target entrance and exit. Then, the service platform can plan a delivery route through the target entrance and exit, and then recommend the delivery route to the delivery capacity that executes the target order. In this way, the delivery capacity can deliver the delivery corresponding to the target order to the consignee more efficiently.
当然,服务平台选取目标出入口的方式也不唯一,除了上述提到的方式外,服务平台也可以根据获取到的该目标AOI所对应的各出入口的状态信息,从中选取目标出入口。因为在实际应用中,AOI的每个出入口并不是总处于通行状态,一些出入口因为特殊情况可能会临时关闭,所以,这里提到的该目标AOI所对应的各出入口的状态信息可以用于表征出入口是否处于通行状态。基于此,服务平台可以根据获取到的这些出入口的状态信息,从中选取处于通行状态的出入口作为目标出入口。而获取出入口的状态信息的具体方式可以有多种,例如,可以是人为进行信息上报,也可以是通过历史订单,来确定出入口的状态信息。而其他选取目标出入口的方式在此就不一一举例说明了。Of course, the method for the service platform to select the target entrance and exit is not unique. In addition to the above-mentioned methods, the service platform can also select the target entrance and exit according to the acquired status information of each entrance and exit corresponding to the target AOI. Because in practical applications, each entrance and exit of the AOI is not always in a state of passage, and some entrances and exits may be temporarily closed due to special circumstances. Therefore, the status information of the entrances and exits corresponding to the target AOI mentioned here can be used to characterize the entrances and exits. Whether it is in a passable state. Based on this, the service platform can select the entrances and exits in the traffic state as the target entrances and exits according to the acquired status information of these entrances and exits. There can be many specific ways to obtain the status information of the entrance and exit, for example, it can be manual information reporting, or the status information of the entrance and exit can be determined through historical orders. Other methods for selecting target entrances and exits will not be illustrated one by one here.
以上为本公开的一个或多个实施例提供的出入口标注的方法以及路线规划的方法,基于同样的思路,本公开还提供了相应的出入口标注的装置以及路线规划的装置,如图9、10所示。The above is the method for marking entrances and exits and the method for route planning provided by one or more embodiments of the present disclosure. Based on the same idea, the present disclosure also provides corresponding means for marking entrances and exits and a device for route planning, as shown in Figs. 9 and 10 Shown.
图9为本公开提供的一种出入口标注的装置示意图,具体包括:第一确定模块901、获取模块902、第二确定模块903、第三确定模块904和标注模块905。9 is a schematic diagram of a device for marking entrances and exits provided by the present disclosure, which specifically includes: a first determining module 901, an acquiring module 902, a second determining module 903, a third determining module 904, and a marking module 905.
第一确定模块901,其配置为确定待标注感兴趣区域AOI。The first determining module 901 is configured to determine the region of interest AOI to be marked.
获取模块902,其配置为获取与该待标注AOI相匹配的至少一个目标历史订单。The obtaining module 902 is configured to obtain at least one target historical order matching the AOI to be marked.
第二确定模块903,其配置为针对每个所述目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹。The second determining module 903 is configured to determine, for each of the target historical orders, the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order Trajectory.
第三确定模块904,其配置为根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点。The third determining module 904 is configured to determine, according to the delivery trajectory corresponding to the target historical order, the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order.
标注模块905,其配置为根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。The marking module 905 is configured to determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order.
可选地,所述获取模块902,其配置为针对每个历史订单,确定该历史订单对应的配送物的交付地点;通过预设的AOI搜索树,确定所述交付地点所落入的AOI;若 所述交付地点所落入的AOI与该待标注AOI相同,则将该历史订单确定为与该待标注AOI相匹配的目标历史订单。Optionally, the acquisition module 902 is configured to determine, for each historical order, the delivery location of the distribution corresponding to the historical order; determine the AOI into which the delivery location falls through a preset AOI search tree; If the AOI in the delivery location is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
可选地,所述第三确定模块904,其配置为确定该目标历史订单对应的配送轨迹与该待标注AOI的边界产生的交点,作为待识别交点;在该目标历史订单对应的配送轨迹中确定与所述待识别交点相邻,且位于该待标注AOI的边界的外侧的轨迹点,作为第一轨迹点;在该目标历史订单对应的配送轨迹中确定与所述待识别交点相邻,且位于该待标注AOI的边界的内侧的轨迹点,作为第二轨迹点;若该目标历史订单对应的配送轨包含不少于第一设定数量的第一连续轨迹点,以及不少于第二设定数量的第二连续轨迹点,将所述待识别交点作为该目标历史订单对应的交点,其中,所述第一连续轨迹点位于该待标注AOI的边界的外侧、并且与所述第一轨迹点相邻,所述第二连续轨迹点位于所述待标注AOI的边界的内侧、并且与所述第二轨迹点相邻。Optionally, the third determining module 904 is configured to determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection to be identified; in the delivery trajectory corresponding to the target historical order Determine the trajectory point adjacent to the to-be-identified intersection and located outside the boundary of the to-be-marked AOI as the first trajectory point; determine that it is adjacent to the to-be-identified intersection in the delivery trajectory corresponding to the target historical order, And the track point located inside the boundary of the AOI to be marked is used as the second track point; if the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points, and not less than the first continuous track point 2. A set number of second continuous trajectory points, using the to-be-identified intersection point as the intersection point corresponding to the target historical order, wherein the first continuous trajectory point is located outside the boundary of the AOI to be marked and is connected to the first A trajectory point is adjacent, and the second continuous trajectory point is located inside the boundary of the to-be-marked AOI and is adjacent to the second trajectory point.
可选地,所述标注模块905,其配置为针对每个所述目标历史订单,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点;根据各所述候选标注点,确定该待标注AOI的出入口并进行标注。Optionally, the marking module 905 is configured to, for each of the target historical orders, if it is determined that the intersection corresponding to the target historical order meets a preset condition, the intersection corresponding to the target historical order is used as a candidate marking point; For each candidate marking point, the entrance and exit of the AOI to be marked is determined and marked.
可选地,所述标注模块905,其配置为针对该目标历史订单对应的每个交点,确定该目标历史订单对应的配送轨迹中与该交点相邻的轨迹点,并确定与该交点相邻的轨迹点和该交点之间的连线;若所述连线与该交点对应的垂线之间的夹角不大于设定角度,确定该交点为符合所述预设条件的候选标注点,其中,该交点对应的垂线经过该交点并相对于该交点位于的该待标注AOI的边界垂直。Optionally, the labeling module 905 is configured to, for each intersection corresponding to the target historical order, determine the trajectory point adjacent to the intersection in the delivery trajectory corresponding to the target historical order, and determine that it is adjacent to the intersection If the angle between the line and the vertical line corresponding to the intersection is not greater than the set angle, determine that the intersection is a candidate labeled point that meets the preset conditions, Wherein, the vertical line corresponding to the intersection point passes through the intersection point and is perpendicular to the boundary of the AOI to be marked where the intersection point is located.
可选地,所述标注模块905,其配置为针对该目标历史订单对应的每个交点,若该交点与在该目标历史订单对应的配送轨迹中的相邻的轨迹点之间的距离不超过设定距离,确定该交点为符合所述预设条件的候选标注点。Optionally, the labeling module 905 is configured to target each intersection corresponding to the target historical order, if the distance between the intersection and the adjacent track point in the delivery trajectory corresponding to the target historical order does not exceed Set the distance, and determine that the intersection point is a candidate labeling point that meets the preset condition.
可选地,所述标注模块905,其配置为针对该目标历史订单对应的每个交点,根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的第一个交点,确定该交点为符合所述预设条件的候选标注点;或根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的最后一个交点,确定该交点为符合所述预设条件的候选标注点。Optionally, the labeling module 905 is configured to, for each intersection corresponding to the target historical order, according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the delivery trajectory corresponding to the target historical order and The first intersection of the boundary of the AOI to be marked, determine that the intersection is a candidate marked point that meets the preset conditions; or according to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the target historical order corresponding The last intersection point between the delivery trajectory of and the boundary of the AOI to be marked, and the intersection point is determined to be a candidate marking point that meets the preset condition.
可选地,所述标注模块905,其配置为将各所述候选标注点输入到预设的筛选模 型中,确定用于表征各所述候选标注点的概率密度的分布函数;从所述分布函数中确定至少一个波峰;针对每个所述波峰,若该波峰的峰值不小于设定阈值,将该波峰对应的候选标注点作为该待标注AOI的出入口并进行标注。Optionally, the labeling module 905 is configured to input each candidate labeling point into a preset screening model, and determine a distribution function used to characterize the probability density of each candidate labeling point; from the distribution At least one wave crest is determined in the function; for each of the wave crests, if the peak value of the wave crest is not less than the set threshold, the candidate marking point corresponding to the wave crest is used as the entrance and exit of the AOI to be marked and marked.
可选地,所述第二确定模块903,其配置为针对该目标历史订单对应的配送轨迹中的每个轨迹点,若该轨迹点与相邻的轨迹点的距离不小于设定距离,将该轨迹点从该目标历史订单对应的配送轨迹中去除。Optionally, the second determining module 903 is configured to, for each track point in the delivery track corresponding to the target historical order, if the distance between the track point and the adjacent track point is not less than the set distance, The track point is removed from the delivery track corresponding to the target historical order.
可选地,所述第二确定模块903,其配置为针对该目标历史订单对应的配送轨迹中的每个轨迹点,若执行该目标历史订单的配送运力在该轨迹点的配送速度不小于设定速度,则确定该轨迹点为噪声点并将该轨迹点去除。Optionally, the second determining module 903 is configured to, for each track point in the delivery track corresponding to the target historical order, if the delivery speed of the delivery capacity for the target historical order at the track point is not less than the set point If the speed is fixed, the track point is determined to be a noise point and the track point is removed.
从上述装置可以看出,由于可以根据历史上若干个穿过待标注AOI的配送轨迹,并从这些配送轨迹与该待标注AOI的边界的交点中,确定出该待标注AOI的出入口并进行标注。因此本装置可以通过历史数据自动确定出待标注AOI的出入口,从而在一定程度上提高配送效率。It can be seen from the above device that it is possible to determine and label the entrance and exit of the AOI to be marked from the intersection of these delivery trajectories and the boundary of the AOI to be marked based on a number of historical delivery trajectories that have passed through the AOI to be marked. . Therefore, the device can automatically determine the entrance and exit of the AOI to be marked through historical data, thereby improving the delivery efficiency to a certain extent.
图10为本公开提供的一种路线规划的装置示意图,具体包括:接收模块1001,其配置为接收来自用户的待配送的目标订单;确定模块1002,其配置为根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI;规划模块1003,其配置为根据所述目标AOI的出入口对所述目标订单的配送路线进行路线规划,其中,所述目标AOI的出入口是通过上述出入口标注的方法进行标注的;推荐模块1004,其配置为将规划出的配送路线推荐给执行所述目标订单的配送运力。FIG. 10 is a schematic diagram of a route planning apparatus provided by the present disclosure, which specifically includes: a receiving module 1001 configured to receive a target order to be delivered from a user; a determining module 1002 configured to receive goods according to the target order Address, determine the area of interest AOI to which the target order belongs as the target AOI; planning module 1003, which is configured to plan the delivery route of the target order according to the entrance and exit of the target AOI, where the target AOI’s The entrances and exits are marked by the above-mentioned method for marking the entrances and exits; the recommendation module 1004 is configured to recommend the planned delivery route to the delivery capacity that executes the target order.
可选地,所述规划模块1003,其配置为根据所述目标AOI对应的历史订单,从所述目标AOI的各出入口中选取出目标出入口;根据所述目标出入口,规划出通过所述目标出入口的配送路线。Optionally, the planning module 1003 is configured to select a target entrance and exit from the entrances and exits of the target AOI according to the historical order corresponding to the target AOI; plan to pass the target entrance and exit according to the target entrance and exit The delivery route.
从上述装置可以看出,由于服务平台在接收到来自用户的待配送的目标订单后,可以根据标注出的该目标订单所属的目标AOI的出入口,向执行该目标订单的配送运力推荐配送路线,这样将极大的方便该配送运力执行该目标订单的配送任务,有效的提高了该配送运力的订单执行效率。It can be seen from the above device that after receiving the target order to be delivered from the user, the service platform can recommend a delivery route to the delivery capacity that executes the target order according to the marked entry and exit of the target AOI to which the target order belongs. This will greatly facilitate the delivery capacity of the delivery capacity to execute the delivery task of the target order, and effectively improve the order execution efficiency of the delivery capacity.
本公开还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,计算机程序可用于执行上述图1提供的出入口标注的方法或上述图8提供的路线规划的方法。The present disclosure also provides a computer-readable storage medium that stores a computer program, and the computer program can be used to execute the method of marking the entrance and exit provided in FIG. 1 or the method of route planning provided in FIG. 8.
本公开还提供了图11所示的电子设备的示意结构图。如图11所述,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,以实现上述图1所述的出入口标注的方法或是上述图8所述的路线规划的方法。当然,除了软件实现方式之外,本公开并不排除其他实现方式,比如逻辑器件或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。The present disclosure also provides a schematic structural diagram of the electronic device shown in FIG. 11. As shown in Figure 11, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory. Of course, it may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory to the memory and then runs it to implement the method of marking the entrance and exit described in FIG. 1 or the method of route planning described in FIG. 8. Of course, in addition to the software implementation, the present disclosure does not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the following processing flow is not limited to each logic unit, and can also be Hardware or logic device.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (for example, a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a piece of PLD, without requiring chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized with "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that just a little bit of logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain the hardware circuit that implements the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs  C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic. The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and/or hardware.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本领域技术人员应明白,本公开的实施例可提供为方法、系统或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本公开可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程 序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本公开,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The present disclosure may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present disclosure can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本公开中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present disclosure are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本公开的实施例而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above descriptions are only the embodiments of the present disclosure, and are not used to limit the present disclosure. For those skilled in the art, the present disclosure can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims (16)

  1. 一种出入口标注的方法,包括:A method of marking entrances and exits, including:
    确定待标注感兴趣区域AOI;Determine the AOI of the area of interest to be marked;
    获取与该待标注AOI相匹配的至少一个目标历史订单;Obtain at least one target historical order matching the AOI to be marked;
    针对每个所述目标历史订单,For each said target historical order,
    确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹;Determine the delivery trajectory that the delivery capacity that executes the target historical order passes in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order;
    根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点;According to the delivery trajectory corresponding to the target historical order, determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order;
    根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。According to the respective intersection points corresponding to the at least one target historical order, the entrance and exit of the AOI to be marked is determined and marked.
  2. 如权利要求1所述的方法,其特征在于,获取与该待标注AOI相匹配的至少一个目标历史订单,包括:The method of claim 1, wherein obtaining at least one target historical order matching the AOI to be marked comprises:
    针对每个历史订单,For each historical order,
    确定该历史订单对应的配送物的交付地点;Determine the delivery location of the distribution corresponding to the historical order;
    通过预设的AOI搜索树,确定所述交付地点所落入的AOI;Determine the AOI into which the delivery location falls through the preset AOI search tree;
    若所述交付地点所落入的AOI与该待标注AOI相同,则将该历史订单确定为与该待标注AOI相匹配的目标历史订单。If the AOI in the delivery location is the same as the AOI to be marked, the historical order is determined as the target historical order that matches the AOI to be marked.
  3. 如权利要求1所述的方法,其特征在于,所述根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点,包括:The method according to claim 1, wherein the intersection of the distribution trajectory corresponding to the target historical order and the boundary of the AOI to be marked is determined according to the distribution trajectory corresponding to the target historical order, as the target history The intersection point corresponding to the order, including:
    确定该目标历史订单对应的配送轨迹与该待标注AOI的边界产生的交点,作为待识别交点;Determine the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection to be identified;
    在该目标历史订单对应的配送轨迹中确定与所述待识别交点相邻,且位于该待标注AOI的边界的外侧的轨迹点,作为第一轨迹点;Determine, in the distribution trajectory corresponding to the target historical order, a trajectory point adjacent to the to-be-identified intersection and located outside the boundary of the to-be-marked AOI as the first trajectory point;
    在该目标历史订单对应的配送轨迹中确定与所述待识别交点相邻,且位于该待标注AOI的边界的内侧的轨迹点,作为第二轨迹点;Determine, in the delivery trajectory corresponding to the target historical order, a trajectory point adjacent to the to-be-identified intersection and located inside the boundary of the to-be-marked AOI as the second trajectory point;
    若该目标历史订单对应的配送轨迹包含不少于第一设定数量的第一连续轨迹点,以及不少于第二设定数量的第二连续轨迹点,将所述待识别交点作为该目标历史订单对应的交点,其中,所述第一连续轨迹点位于该待标注AOI的边界的外侧、并且与所述第一轨迹点相邻,所述第二连续轨迹点位于所述待标注AOI的边界的内侧、并且与所述第二 轨迹点相邻。If the delivery track corresponding to the target historical order contains not less than the first set number of first continuous track points and not less than the second set number of second continuous track points, use the to-be-identified intersection as the target The intersection point corresponding to the historical order, wherein the first continuous track point is located outside the boundary of the AOI to be marked and is adjacent to the first track point, and the second continuous track point is located at the AOI to be marked Inside the boundary and adjacent to the second track point.
  4. 如权利要求1至3中任一所述的方法,其特征在于,所述根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注,包括:The method according to any one of claims 1 to 3, wherein the determining and marking the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order comprises:
    针对每个所述目标历史订单,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点;For each of the target historical orders, if it is determined that the intersection corresponding to the target historical order meets a preset condition, use the intersection corresponding to the target historical order as a candidate labeling point;
    根据各所述候选标注点,确定该待标注AOI的出入口并进行标注。According to each candidate marking point, the entrance and exit of the AOI to be marked is determined and marked.
  5. 如权利要求4所述的方法,其特征在于,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:5. The method of claim 4, wherein if it is determined that the intersection corresponding to the target historical order meets a preset condition, using the intersection corresponding to the target historical order as a candidate marking point comprises:
    针对该目标历史订单对应的每个交点,For each intersection corresponding to the target historical order,
    确定该目标历史订单对应的配送轨迹中与该交点相邻的轨迹点,并Determine the trajectory point adjacent to the intersection in the distribution trajectory corresponding to the target historical order, and
    确定与该交点相邻的轨迹点和该交点之间的连线;Determine the line between the track point adjacent to the intersection and the intersection;
    若所述连线与该交点对应的垂线之间的夹角不大于设定角度,确定该交点为符合所述预设条件的候选标注点,其中,该交点对应的垂线经过该交点并相对于该交点位于的该待标注AOI的边界垂直。If the angle between the line and the vertical line corresponding to the intersection point is not greater than the set angle, the intersection point is determined to be a candidate labeled point that meets the preset conditions, wherein the vertical line corresponding to the intersection point passes through the intersection point and merges. The boundary of the AOI to be marked is perpendicular to the intersection point.
  6. 如权利要求4所述的方法,其特征在于,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:5. The method of claim 4, wherein if it is determined that the intersection corresponding to the target historical order meets a preset condition, using the intersection corresponding to the target historical order as a candidate marking point comprises:
    针对该目标历史订单对应的每个交点,For each intersection corresponding to the target historical order,
    若该交点与在该目标历史订单对应的配送轨迹中的相邻的轨迹点之间的距离不超过设定距离,确定该交点为符合所述预设条件的候选标注点。If the distance between the intersection point and the adjacent track point in the delivery track corresponding to the target historical order does not exceed the set distance, it is determined that the intersection point is a candidate marked point that meets the preset condition.
  7. 如权利要求4所述的方法,其特征在于,若确定该目标历史订单对应的交点符合预设条件,将该目标历史订单对应的交点作为候选标注点,包括:5. The method of claim 4, wherein if it is determined that the intersection corresponding to the target historical order meets a preset condition, using the intersection corresponding to the target historical order as a candidate marking point comprises:
    针对该目标历史订单对应的每个交点,For each intersection corresponding to the target historical order,
    根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的第一个交点,确定该交点为符合所述预设条件的候选标注点;或According to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the first intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, it is determined that the intersection is a candidate that meets the preset conditions Mark point; or
    根据该目标历史订单对应的配送轨迹的行进方向,若该交点为该目标历史订单对应的配送轨迹与该待标注AOI的边界的最后一个交点,确定该交点为符合所述预设条件的候选标注点。According to the travel direction of the delivery trajectory corresponding to the target historical order, if the intersection is the last intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked, it is determined that the intersection is a candidate label that meets the preset conditions point.
  8. 如权利要求4所述的方法,其特征在于,所述根据各所述候选标注点,确定该待标注AOI的出入口并进行标注,包括:The method according to claim 4, wherein the determining and marking the entrance and exit of the AOI to be marked according to each of the candidate marking points comprises:
    将各所述候选标注点输入到预设的筛选模型中,确定用于表征各所述候选标注点的 概率密度的分布函数;Inputting each candidate annotation point into a preset screening model, and determining a distribution function used to characterize the probability density of each candidate annotation point;
    从所述分布函数中确定至少一个波峰;Determining at least one wave crest from the distribution function;
    针对每个所述波峰,若该波峰的峰值不小于设定阈值,将该波峰对应的候选标注点作为该待标注AOI的出入口并进行标注。For each of the wave crests, if the peak value of the wave crest is not less than the set threshold, the candidate marking point corresponding to the wave crest is used as the entrance and exit of the AOI to be marked and marked.
  9. 如权利要求1所述的方法,其特征在于,在确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹之前,所述方法还包括:The method of claim 1, wherein before determining the delivery trajectory that the delivery capacity of the target historical order has passed during the execution of the target historical order is used as the delivery trajectory corresponding to the target historical order, The method also includes:
    针对该目标历史订单对应的配送轨迹中的每个轨迹点,For each track point in the delivery track corresponding to the target historical order,
    若该轨迹点与相邻的轨迹点的距离不小于设定距离,将该轨迹点从该目标历史订单对应的配送轨迹中去除。If the distance between the track point and the adjacent track point is not less than the set distance, the track point is removed from the delivery track corresponding to the target historical order.
  10. 如权利要求1所述的方法,其特征在于,在确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹之前,所述方法还包括:The method of claim 1, wherein before determining the delivery trajectory that the delivery capacity of the target historical order has passed during the execution of the target historical order is used as the delivery trajectory corresponding to the target historical order, The method also includes:
    针对该目标历史订单对应的配送轨迹中的每个轨迹点,For each track point in the delivery track corresponding to the target historical order,
    若执行该目标历史订单的配送运力在该轨迹点的配送速度不小于设定速度,将该轨迹点从该目标历史订单对应的配送轨迹中去除。If the delivery speed of the delivery capacity of the target historical order at the track point is not less than the set speed, the track point is removed from the delivery track corresponding to the target historical order.
  11. 一种路线规划的方法,包括:A method of route planning including:
    接收来自用户的待配送的目标订单;Receive target orders to be delivered from users;
    根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI;According to the delivery address of the target order, determine the area of interest AOI to which the target order belongs as the target AOI;
    根据所述目标AOI的出入口对所述目标订单的配送路线进行路线规划,其中,所述目标AOI的出入口是通过上述权利要求1~10任一项方法进行标注的;Route planning for the delivery route of the target order according to the entrance and exit of the target AOI, wherein the entrance and exit of the target AOI are marked by any one of the above-mentioned methods of claims 1 to 10;
    将规划出的配送路线推荐给执行所述目标订单的配送运力。Recommend the planned distribution route to the distribution capacity that executes the target order.
  12. 如权利要求11所述的方法,其特征在于,所述根据所述目标AOI的出入口,对所述目标订单的配送路线进行路线规划,包括:The method according to claim 11, wherein the step of planning the delivery route of the target order according to the entrance and exit of the target AOI comprises:
    根据所述目标AOI对应的历史订单,从所述目标AOI的各出入口中选取出目标出入口;According to the historical order corresponding to the target AOI, select a target entrance and exit from the entrances and exits of the target AOI;
    根据所述目标出入口,规划出通过所述目标出入口的配送路线。According to the target entrance and exit, a delivery route through the target entrance and exit is planned.
  13. 一种出入口标注的装置,包括:A device for marking entrances and exits, including:
    第一确定模块,其配置为确定待标注感兴趣区域AOI;The first determining module is configured to determine the AOI of the region of interest to be marked;
    获取模块,其配置为获取与该待标注AOI相匹配的至少一个目标历史订单;An obtaining module, which is configured to obtain at least one target historical order matching the AOI to be marked;
    第二确定模块,其配置为针对每个所述目标历史订单,确定执行该目标历史订单的配送运力在执行该目标历史订单的过程中所经过的配送轨迹,作为该目标历史订单对应的配送轨迹;The second determining module is configured to determine, for each of the target historical orders, the delivery trajectory that the delivery capacity of the target historical order passes through in the process of executing the target historical order, as the delivery trajectory corresponding to the target historical order ;
    第三确定模块,其配置为根据该目标历史订单对应的配送轨迹,确定该目标历史订单对应的配送轨迹与该待标注AOI的边界所产生的交点,作为该目标历史订单对应的交点;The third determining module is configured to determine, according to the delivery trajectory corresponding to the target historical order, the intersection of the delivery trajectory corresponding to the target historical order and the boundary of the AOI to be marked as the intersection corresponding to the target historical order;
    标注模块,其配置为根据所述至少一个目标历史订单各自对应的交点,确定该待标注AOI的出入口并进行标注。The marking module is configured to determine and mark the entrance and exit of the AOI to be marked according to the respective intersection points corresponding to the at least one target historical order.
  14. 一种路线规划的装置,包括:A route planning device, including:
    接收模块,其配置为接收来自用户的待配送的目标订单;Receiving module, which is configured to receive target orders to be delivered from users;
    确定模块,其配置为根据所述目标订单的收货地址,确定所述目标订单所属的感兴趣区域AOI作为目标AOI;A determining module, which is configured to determine the region of interest AOI to which the target order belongs as the target AOI according to the delivery address of the target order;
    规划模块,其配置为根据所述目标AOI的出入口对所述目标订单的配送路线进行路线规划,其中,所述目标AOI的出入口是通过上述权利要求1~10任一项方法进行标注的;A planning module configured to plan the delivery route of the target order according to the entrance and exit of the target AOI, wherein the entrance and exit of the target AOI are marked by any one of the above-mentioned methods of claims 1 to 10;
    推荐模块,其配置为将规划出的配送路线推荐给执行所述目标订单的配送运力。The recommendation module is configured to recommend the planned delivery route to the delivery capacity that executes the target order.
  15. 一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述权利要求1~10或11~12任一项所述的方法。A computer-readable storage medium, characterized in that the storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1-10 or 11-12 is realized.
  16. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述权利要求1~10或11~12任一项所述的方法。An electronic device comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor implements the above claims 1 to when the computer program is executed. The method of any one of 10 or 11-12.
PCT/CN2021/079375 2020-03-05 2021-03-05 Entrance and exit marking and route planning WO2021175319A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010148157.4A CN113360787A (en) 2020-03-05 2020-03-05 Method, device, medium and electronic device for entrance and exit marking and route planning
CN202010148157.4 2020-03-05

Publications (1)

Publication Number Publication Date
WO2021175319A1 true WO2021175319A1 (en) 2021-09-10

Family

ID=77523686

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079375 WO2021175319A1 (en) 2020-03-05 2021-03-05 Entrance and exit marking and route planning

Country Status (2)

Country Link
CN (1) CN113360787A (en)
WO (1) WO2021175319A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114509080A (en) * 2021-12-07 2022-05-17 高德软件有限公司 Mining method of common exit and entrance, route recommendation method and product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101191731A (en) * 2006-11-22 2008-06-04 乐金电子(昆山)电脑有限公司 Moving body route navigation method and system
CN103778233A (en) * 2014-01-26 2014-05-07 百度在线网络技术(北京)有限公司 Interest point marking method and device
CN104240053A (en) * 2014-07-31 2014-12-24 东莞市福欣电脑科技有限公司 Method for planning travel of vehicle for dispatch
US20160334236A1 (en) * 2014-05-22 2016-11-17 Telogis, Inc. Context-based routing and access path selection
CN109668563A (en) * 2017-10-16 2019-04-23 北京嘀嘀无限科技发展有限公司 Processing method and processing device based on indoor track
US20190310090A1 (en) * 2018-04-05 2019-10-10 Symbol Technologies, Llc Method, system and apparatus for generating navigational data
CN110503352A (en) * 2018-05-16 2019-11-26 北京三快在线科技有限公司 A kind of method, apparatus and computer readable storage medium of determining delivery point
CN110689804A (en) * 2019-10-10 2020-01-14 百度在线网络技术(北京)有限公司 Method and apparatus for outputting information
CN112069272A (en) * 2020-08-10 2020-12-11 拉扎斯网络科技(上海)有限公司 Method and device for determining entrance/exit information, electronic equipment and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101191731A (en) * 2006-11-22 2008-06-04 乐金电子(昆山)电脑有限公司 Moving body route navigation method and system
CN103778233A (en) * 2014-01-26 2014-05-07 百度在线网络技术(北京)有限公司 Interest point marking method and device
US20160334236A1 (en) * 2014-05-22 2016-11-17 Telogis, Inc. Context-based routing and access path selection
CN104240053A (en) * 2014-07-31 2014-12-24 东莞市福欣电脑科技有限公司 Method for planning travel of vehicle for dispatch
CN109668563A (en) * 2017-10-16 2019-04-23 北京嘀嘀无限科技发展有限公司 Processing method and processing device based on indoor track
US20190310090A1 (en) * 2018-04-05 2019-10-10 Symbol Technologies, Llc Method, system and apparatus for generating navigational data
CN110503352A (en) * 2018-05-16 2019-11-26 北京三快在线科技有限公司 A kind of method, apparatus and computer readable storage medium of determining delivery point
CN110689804A (en) * 2019-10-10 2020-01-14 百度在线网络技术(北京)有限公司 Method and apparatus for outputting information
CN112069272A (en) * 2020-08-10 2020-12-11 拉扎斯网络科技(上海)有限公司 Method and device for determining entrance/exit information, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114509080A (en) * 2021-12-07 2022-05-17 高德软件有限公司 Mining method of common exit and entrance, route recommendation method and product
CN114509080B (en) * 2021-12-07 2024-04-16 高德软件有限公司 Excavation method of common exit and entrance, route recommendation method and product

Also Published As

Publication number Publication date
CN113360787A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
JP6828044B2 (en) Route deviation recognition method, terminal, and storage medium
WO2021052185A1 (en) Determining driving trajectory of intelligent driving vehicle
WO2018113787A1 (en) Region division method and device, and storage medium
Jiang et al. A review of urban computing for mobile phone traces: current methods, challenges and opportunities
US11537138B2 (en) Adaptive region division method and system
CN108418825A (en) Risk model training, rubbish account detection method, device and equipment
TWI710917B (en) Data processing method and device
CN109670671B (en) Bus network evaluation method and device
CN105606102A (en) Grid model based PDR indoor positioning method and system
CN110119860B (en) Rubbish account detection method, device and equipment
TWI718379B (en) Evaluation method, device and equipment for users using shared items
WO2021175319A1 (en) Entrance and exit marking and route planning
CN110555432B (en) Method, device, equipment and medium for processing interest points
CN110413286A (en) A kind of application dispositions method, device and equipment
Li et al. A trajectory restoration algorithm for low-sampling-rate floating car data and complex urban road networks
CN114295119A (en) Map construction method and device
CN110530398B (en) Method and device for detecting precision of electronic map
CN111340412A (en) Order processing method and device, readable storage medium and electronic equipment
WO2020155788A1 (en) Data determination method, apparatus and device, and medium
CN114003672B (en) Method, device, equipment and medium for processing road dynamic event
CN110458651A (en) Trade company's recognition methods, device, equipment and storage medium
CN114485706A (en) Route planning method and device, storage medium and electronic equipment
Zou et al. Deep Learning for Cross-Domain Data Fusion in Urban Computing: Taxonomy, Advances, and Outlook
CN109598513A (en) A kind of Risk Identification Method and device
US10094676B1 (en) System and method for calculating and storing predicted travel times

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21764511

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21764511

Country of ref document: EP

Kind code of ref document: A1