Route processing method, device and electronic equipment
By calculating the movement trajectory data of target objects on the road, popular routes are screened out, which solves the problem of incomplete popular routes in the existing technology and achieves more accurate reflection of traffic conditions and reasonable traffic planning.
Patent Information
- Application Number
- CN201910927552.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-09-27
AI Technical Summary
In the existing technology, the traffic control department's acquisition of popular routes based on daily experience is not complete enough and cannot accurately reflect the actual traffic status, which affects the rationality of urban transportation planning.
By calculating the movement trajectory data of target objects on the road, the traffic popularity of adjacent reference point pairs is determined, and the reference point pairs with higher traffic popularity are screened out to determine popular traffic routes in the area.
The popular traffic routes obtained are more accurate, can fully reflect the traffic conditions in the region, and support more reasonable traffic planning and management.
Smart Images

Figure CN112577487B
Abstract
Description
Technical Field
[0001] The present application relates to a route processing method, device and electronic equipment, and belongs to the field of computer technology. Background Art
[0002] At present, urban transportation plays an important role in people's daily life. Traffic control departments formulate relevant measures or provide guidance strategies based on the routes to facilitate people's travel. For example, when formulating traffic measures, if the situation of popular routes can be fully understood, the risks will be much smaller; and the traffic control department can also optimize the routes, such as raising the road priority and arranging more security resources to improve traffic efficiency.
[0003] The traditional method of obtaining popular routes is for traffic control departments to grasp the main routes on the road based on daily experience. However, the popular routes grasped based on daily experience may not be very complete, cannot reasonably reflect the actual traffic status, and are not conducive to making reasonable urban traffic planning. Summary of the invention
[0004] The embodiments of the present invention provide a route processing method, device and electronic device to obtain more accurate popular travel routes.
[0005] In order to achieve the above object, an embodiment of the present invention provides a route processing method, including:
[0006] Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area;
[0007] Acquire adjacent reference point pairs whose pass heat is greater than a first pass heat threshold as valid pass adjacent reference point pairs;
[0008] According to the valid adjacent reference point pairs, the popular travel routes in the designated area are determined.
[0009] The embodiment of the present invention further provides a route processing device, including:
[0010] A traffic heat calculation module, used to calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area;
[0011] A valid adjacent reference point pair determination module, used to obtain an adjacent reference point pair whose passing heat is greater than a first passing heat threshold as a valid passing adjacent reference point pair;
[0012] The popular route determination module is used to determine the popular route of the designated area according to the adjacent reference point pairs of the valid passage.
[0013] The embodiment of the present invention also provides a route processing method, including:
[0014] In response to a request from a client or a navigation service platform for obtaining a popular route in a specified area, extracting movement trajectory data of a target object on a road in the specified area from a road traffic database;
[0015] Calculating the passing heat of a plurality of adjacent reference point pairs in the designated area according to the movement trajectory data;
[0016] Obtaining adjacent reference point pairs whose traffic heat is greater than a first traffic heat threshold as adjacent reference point pairs for effective commuting;
[0017] Based on the valid adjacent reference point pairs, the popular travel routes in the designated area are determined and sent to the client or navigation service platform.
[0018] The embodiment of the present invention also provides a route processing method, including:
[0019] Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area;
[0020] Obtaining adjacent reference point pairs whose traffic heat is less than the second traffic heat threshold as the adjacent reference point pairs for unpopular traffic;
[0021] The unpopular passage route in the designated area is determined according to the unpopular adjacent reference point pair.
[0022] An embodiment of the present invention further provides an electronic device, including:
[0023] Memory, used to store programs;
[0024] The processor is coupled to the memory and is used to execute the program. When the program is running, the route processing method is executed.
[0025] The route processing method, device and electronic device proposed in the embodiment of the present invention calculate the traffic heat in units of smaller interval routes determined by adjacent reference point pairs, and screen adjacent reference point pairs based on the traffic heat to determine adjacent reference point pairs with higher heat, and then determine the popular routes in the area based on this. Compared with the popular routes determined by the existing technology based on the daily experience of the traffic control department, the popular routes determined in this way are more accurate and reasonable, can fully reflect the traffic conditions in the area, and can also meet more applications.
[0026] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is a schematic diagram of an application example of an embodiment of the present invention in an urban area;
[0028] Figure 2 This is one of the flowcharts of the route processing method according to an embodiment of the present invention;
[0029] Figure 3 A schematic diagram of the structure of a route processing device according to an embodiment of the present invention;
[0030] Figure 4 The second flowchart of the route processing method according to the embodiment of the present invention;
[0031] Figure 5 The third flowchart of the route processing method according to the embodiment of the present invention;
[0032] Figure 6 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0034] The technical solution of the present invention is further illustrated by some specific embodiments below.
[0035] For ease of understanding, the relevant terms in this application are explained.
[0036] Checkpoint: A location set up on the road to monitor passing vehicles. Cameras can be set up to capture and record information such as the license plates of vehicles passing below. In addition, detection equipment such as induction coils and speed radars can also be set up.
[0037] GPS trajectory data: Data collected by GPS devices, including time information and longitude and latitude coordinate information, combined with known map data, can calculate the route trajectory and related movement parameters (such as speed, movement distance, etc.) of the object carrying the GPS device over a period of time.
[0038] Benchmark: A point that can record the license plate positions of vehicles passing through within a period of time. For checkpoint data, the benchmark includes the checkpoint. In addition, the benchmark can also be based on traffic data and flexibly set. For example, the benchmark can be set at any position on the route based on GPS track data. The setting of the benchmark can be determined according to the actual traffic data statistics needs. For example, the benchmark can be set at intersections and other locations.
[0039] Adjacent benchmark points: Benchmark points that appear consecutively in a route are called adjacent benchmark points. Adjacent benchmark points can be directional or not, which depends entirely on the needs of data processing. For example, for some main roads, where two-way and isolated driving lanes have been strictly divided, traffic data in the two directions generally do not affect each other. Therefore, it is more reasonable to separate the statistics by direction. On some relatively narrow sections of the road, since vehicles in both directions still affect each other, the direction factor can be ignored in the statistics of traffic data.
[0040] Reference point distance: The distance between reference points can be defined in many ways, such as the shortest path distance, L1 (Manhattan) distance, L2 (Euclidean) distance, etc., and L1 distance is usually used. The following does not specify which method is used to calculate the reference point distance, and you can choose flexibly during implementation. However, please note that if the shortest path distance is selected, it may be asymmetric because the route selection in the two directions may be different. In order to avoid ambiguity, the following discussion of distance refers to the directed distance, that is, the distance from the starting reference point to the target reference point.
[0041] OD: origin and destination, a term in transportation engineering, referring to the departure place and destination.
[0042] Cross reference point: In a path, a reference point with three or more adjacent reference points is called a cross reference point.
[0043] The above-mentioned related terms are all described with vehicles as the objects. Those skilled in the art should understand that the above-mentioned vehicles can be replaced by other target objects moving on the road, such as pedestrians, bicycles, etc.
[0044] The embodiment of the present invention proposes a route processing method, which is mainly applied to the analysis of the movement trajectory data of the target object in a certain area to determine the popular routes in the area. The analyzed popular routes can be used in many aspects, such as real-time traffic scheduling, urban planning and construction, route planning during peak hours, etc.
[0045] The principle of the embodiment of the present invention is to divide the roads in the area into multiple small interval routes (determined by adjacent reference point pairs) by selecting multiple adjacent reference point pairs, then perform traffic heat statistics on these small interval routes respectively, and screen these interval routes according to the statistical results, and finally, form the popular traffic routes in the area based on the screened interval routes.
[0046] In the processing method proposed in the embodiment of the present invention, the popular routes finally determined are based on the statistical results of a large amount of actual traffic trajectory data in the area, and such statistics are based on smaller interval routes divided by adjacent reference point pairs as basic units, rather than directly counting longer routes. Compared with the popular routes determined entirely by the daily experience of the traffic management department in the prior art, this method is more accurate and reasonable, and can fully reflect the traffic conditions in the area.
[0047] Below Figure 1 The route processing method of the embodiment of the present invention is further explained by taking the application example of the urban area shown in FIG. Figure 1 In the example shown, the checkpoints on the road are used as reference points in the area (solid points in the figure). The checkpoints can monitor vehicles traveling on the road in real time through cameras and other detection equipment, and record vehicle traffic data. The vehicle movement trajectory data recorded by multiple checkpoints can be formed, and these data can be recorded in the road traffic database of the traffic management department.
[0048] Based on the movement trajectory data of these vehicles, the traffic heat between each adjacent reference point pair can be analyzed. As shown in the figure, any two adjacent reference points can constitute an adjacent reference point pair. As shown in the figure, (P1, P3), (P3, P4), (P4, P5), (P6, P7), (P6, P8) all constitute adjacent reference point pairs. These adjacent reference point pairs divide the road into multiple smaller road sections. It should be noted that the selection of adjacent reference point pairs can be determined according to actual needs, and their adjacent relationships can be determined according to needs. For example, in order to simplify the amount of calculation, P1 and P4, P4 and P9 can be used as adjacent reference points. In addition, the adjacent reference point pairs can also set direction data. Under the premise of setting the direction attribute, (P1, P3) and (P3, P1) are two different adjacent reference point pairs.
[0049] Then, the traffic heat of the road section formed by each pair of adjacent reference points is calculated. Specifically, the transfer flow, transfer probability and reference point distance between adjacent reference point pairs are extracted from the above-mentioned movement trajectory data, and then the traffic heat is statistically determined based on these data.
[0050] The traffic heat is calculated based on at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs. Among them, the transfer flow, transfer probability and reference point distance are some indicators used to measure the traffic operation status. The following examples illustrate the calculation methods of these indicators:
[0051] For example, given a pair of reference points X and Y, the time range [t1, t2] from reference point X is selected, for example, in seconds (s); the distance from reference point X to Y is d XY (i.e., the distance between the reference points), for example, in meters (m). The above commuting index value with X as the starting point and Y as the end point is calculated.
[0052] The set of vehicles passing through the reference point X in the time period [t1, t2] is C X , recorded in [t1+d XY / 25,t2+d XY / 5] (assuming the corresponding vehicle speeds are 25m / s and 5m / s, the corresponding time range to reach reference point Y) The set of vehicles passing through reference point Y during the time period is C Y , the time interval defined in this way can include all vehicles from X to Y with an average speed ranging from 18km / h to 90km / h. Let C X→Y =C X ∩C Y represents the set of vehicles that travel from reference point X to Y during the time period [t1, t2], and has the following definition:
[0053] Transfer flow from reference point X to Y: C X→Y =C X ∩C Y .
[0054] The transition probability (correlation) from the reference point X to Y: R X→Y =|C X→Y | / |C X |, (here "|C X | and |C Y "|" indicates the number of elements in the collection).
[0055] Then, at least one indicator value may be weighted and calculated to obtain a commuting score for the adjacent ordered reference point pair.
[0056] For example, let the passing heat from reference point X to Y be: S X→Y =α|C X→Y |+βR X→Y +γd XY , where α, β, and γ are weight parameters.
[0057] In this solution, the traffic popularity combines the transfer flow, transfer probability, and distance between the reference points of the reference point pair, which can represent the preference of the business scenario for commuting routes to a certain extent. That is, the higher the score of the reference point pair, the more likely it is to be a popular route or part of a popular route. The weight parameters α, β, and γ can make the algorithm more flexible and make the mined popular routes more accurate.
[0058] After calculating the traffic heat of the road sections formed by each adjacent reference point pair, these road sections can be screened to remove the adjacent reference point pairs with a heat threshold that is less than a preset heat threshold, leaving the reference point pairs that are greater than or equal to the heat threshold as the adjacent reference point pairs for effective traffic, so as to determine the user's subsequent popular routes.
[0059] After the valid adjacent reference points are screened out, the popular routes can be found based on these valid adjacent reference points. Popular routes can be determined based on different needs. For example, the popular routes between the starting point and the end point can be determined under the condition of selecting the starting point and the end point. As shown in the figure, for example, P0 and P2 are selected as the starting point and the end point respectively. After the calculation in the previous steps, it is obtained that (P1, P3), (P3, P4), (P4, P5), (P9, P10), (P4, P11), and (P6, P7) are all valid adjacent reference point pairs in the area. Among these valid adjacent reference point pairs, (P1, P3), (P3, P4), (P4, P5), and (P9, P10) can form a route between P0 and P2 (route 1 shown in the figure), and this route contains 4 valid adjacent reference point pairs, while the number of valid adjacent reference point pairs contained in other possible routes is less than 4. Therefore, route 1 can be used as a popular route.
[0060] For another example, all popular routes in the area can be found based on these valid adjacent reference point pairs. For example, a certain condition can be set, and routes containing more than three valid adjacent reference point pairs are considered popular routes. Figure 1 Route 1 and Route 2 are popular routes in this area.
[0061] It should be noted that in actual applications, the scope of the area may be very large, such as a city or a district in a city, and the standards and requirements for popular routes may also be different. However, under the basic principles of the method provided in the above-mentioned embodiment of the present invention, conditions can be flexibly set to find the required popular routes.
[0062] The technical solution of the present application is further illustrated below through multiple embodiments.
[0063] Embodiment 1
[0064] like Figure 2 As shown, it is a route processing method of an embodiment of the present invention, comprising:
[0065] S101: Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area.
[0066] The above-mentioned target objects may include pedestrians, motor vehicles and non-motor vehicles, etc. For some roads, there may be a mixed traffic of the three or two of them, or the road may be planned to strictly divide and isolate motor vehicle lanes, non-motor vehicle lanes and sidewalks, etc. When collecting the movement trajectory data of the target object, it can be flexibly selected according to the actual road conditions and statistical needs. For example, only the movement trajectory data of motor vehicles can be counted.
[0067] For some roads with clear divisions, road attributes can be introduced to further divide the roads, and road attributes can include: pedestrians, motor vehicles, and non-motor vehicles. Accordingly, this step can include: obtaining the movement trajectory data of the target object on the road with the specified road attribute in the specified area, and calculating the traffic heat of multiple adjacent reference point pairs in the specified area based on the movement trajectory data.
[0068] In addition, the adjacent reference point pairs mentioned above may also have a direction attribute, and may also be referred to as adjacent ordered reference point pairs. For adjacent reference point pairs with a direction attribute, the movement trajectory data may be different depending on the direction. Therefore, the process of calculating the passage heat specifically includes: calculating the passage heat according to the movement trajectory data in the direction corresponding to the adjacent ordered reference point pairs.
[0069] In addition, the collection of mobile trajectory data can be achieved by collecting target objects through surveillance cameras and / or vehicle detectors set on the road and / or GPS devices set on the target objects. The collected mobile trajectory data can be stored in the road traffic database of the urban traffic system of the traffic management department. When the traffic heat calculation is required, the historical mobile trajectory data within a certain time range can be retrieved from the road traffic database for analysis and calculation. Of course, the traffic heat of multiple adjacent reference point pairs in the area can also be calculated based on the real-time collected mobile trajectory data to perform real-time traffic planning and control.
[0070] In terms of the algorithm for calculating the traffic heat, the calculation can be based on one or more of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs. Specifically, at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs can be extracted from the movement trajectory data; then the traffic heat is calculated based on at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs.
[0071] Transfer flow, transfer probability and benchmark distance are some indicators used to measure traffic operation status. The examples of their specific calculation methods have been explained above. In the actual application process, the weights of these indicators in determining traffic heat can be flexibly set based on different needs.
[0072] S102: Obtain adjacent reference point pairs whose traffic heat is greater than the first traffic heat threshold as valid traffic adjacent reference point pairs. In order to distinguish it from the following embodiments, the traffic heat threshold in this step is called the first traffic heat threshold. The first traffic heat threshold is used to screen out adjacent reference point pairs with higher heat as basic data for subsequent determination of popular traffic routes. The first traffic heat threshold can be flexibly set according to actual needs.
[0073] S103: Determine the popular routes in the designated area based on the valid adjacent reference point pairs. In step S102, determining the valid adjacent reference point pairs actually determines a plurality of route sections with high traffic popularity, and using these route sections as basic units, determines the popular routes in the area.
[0074] In the process of determining the popular routes, various conditions can be introduced as needed, for example, the popular routes must contain more than a predetermined number of adjacent reference point pairs, and for another example, the popular routes are determined on the premise of setting the starting point and the end point of the route. Of course, all routes containing valid adjacent reference point pairs can be found as the popular routes of the area, and the specific selection can be based on actual needs.
[0075] The popular routes determined based on the above method can be used in many aspects, including: real-time dispatch of public vehicles and / or private vehicles according to the determined popular routes, so as to disperse the traffic to non-popular routes;
[0076] Based on the identified popular routes, tidal lane planning is carried out to better smooth the flow of traffic during peak hours;
[0077] Urban construction planning can be carried out based on the determined popular routes. For example, the planning of building complexes can better avoid traffic congestion, making people's life and work smoother.
[0078] The route processing method proposed in the embodiment of the present invention calculates the traffic heat in units of smaller interval routes determined by adjacent reference point pairs, and screens adjacent reference point pairs based on the traffic heat to determine adjacent reference point pairs with higher heat, and then determines the popular routes in the area based on this. Compared with the popular routes determined by the existing technology based entirely on the daily experience of the traffic control department, the popular routes determined in this way are more accurate and reasonable, can fully reflect the traffic conditions in the area, and can meet more applications.
[0079] Embodiment 2
[0080] like Figure 3 As shown, it is a schematic diagram of the structure of a route processing device according to an embodiment of the present invention, comprising:
[0081] The traffic heat calculation module 11 is used to calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area. The specific calculation process of the traffic heat may include: extracting at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs from the movement trajectory data; and calculating the traffic heat according to at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs.
[0082] The effective adjacent reference point pair determination module 12 is used to obtain adjacent reference point pairs whose traffic heat is greater than the first traffic heat threshold as effective traffic adjacent reference point pairs. The first traffic heat threshold is used to screen out adjacent reference point pairs with higher heat as basic data for subsequent determination of popular traffic routes. The first traffic heat threshold can be flexibly set according to actual needs.
[0083] The popular route determination module 13 is used to determine the popular routes in the specified area based on the valid adjacent reference point pairs. In the process of determining the popular routes, various conditions can be introduced as needed, for example, the popular routes must contain more than a predetermined number of adjacent reference point pairs, and for another example, the popular routes are determined on the premise of setting the starting point and the end point of the route. Of course, all routes containing valid adjacent reference point pairs can also be found as the popular routes in the area. The specific selection can be based on actual needs.
[0084] The popular routes determined based on the above method can be used in many aspects, for example, real-time scheduling of public vehicles and / or private vehicles to disperse traffic to non-popular routes; tidal lane planning to better smooth traffic during peak hours; and urban construction planning.
[0085] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0086] The route processing device proposed in the embodiment of the present invention calculates the traffic heat in units of smaller interval routes determined by adjacent reference point pairs, and screens adjacent reference point pairs based on the traffic heat to determine adjacent reference point pairs with higher heat, and then determines the popular routes in the area based on this. Compared with the popular routes determined by the existing technology based entirely on the daily experience of the traffic control department, the popular routes determined in this way are more accurate and reasonable, can fully reflect the traffic conditions in the area, and can meet more applications.
[0087] Embodiment 3
[0088] The various route processing methods introduced above can be applied to the traffic management platform. The traffic management platform can open interfaces to provide various data services for some clients or third-party navigation service platforms. The traffic management platform, taking advantage of the movement trajectory data of various target objects it has mastered, provides the aforementioned popular routes to various clients and navigation service platforms. The clients and navigation service platforms perform further application processing based on the relevant information of the popular routes obtained. Specifically, Figure 4 As shown, the route processing method of this embodiment includes:
[0089] S201: In response to a request from a client or navigation service platform to obtain popular routes for a specified area, extract the movement trajectory data of the target object on the road in the specified area from the road traffic database. The client and the navigation service platform need to send a request to the traffic management platform to obtain popular routes, and then trigger the traffic management platform to perform the calculation of popular routes. The client and the navigation service platform can attach relevant conditions in the request, such as the specified area range, the target object for statistics (motor vehicles, non-motor vehicles, pedestrians, etc.), whether to set the direction attribute, the heat threshold and other information.
[0090] S202: Calculate the traffic heat of multiple adjacent reference point pairs in the designated area according to the movement trajectory data. The traffic heat calculation process may include: extracting at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs from the movement trajectory data; and calculating the traffic heat according to at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs.
[0091] S203: Obtain adjacent reference point pairs whose traffic heat is greater than the first traffic heat threshold as adjacent reference point pairs for effective commuting. In this step, adjacent reference point pairs with higher heat are screened out through the first traffic heat threshold as basic data for subsequent determination of popular traffic routes. The first traffic heat threshold can be flexibly set according to actual needs.
[0092] S204: Determine the popular travel routes in the designated area based on the valid adjacent reference point pairs, and send them to the client or navigation service platform.
[0093] After obtaining the popular route information provided by the traffic management platform, the client or navigation service platform can perform further applications. For example, path navigation can be performed based on the currently calculated popular routes to avoid congestion or evacuate traffic. Therefore, after the above step S204, the following may also be included:
[0094] S205: The client or navigation service platform performs path navigation planning based on popular routes and the starting point and end point provided by the user.
[0095] The client here can be an application program installed on a mobile terminal, a computer or a dedicated navigation device. The client can obtain normal route planning from a third-party navigation service platform in a conventional manner, provide multiple candidate routes, and then combine the popular routes obtained from the traffic management platform to select the best one from the multiple candidate routes. Of course, the navigation service platform can also obtain the popular routes provided by the traffic management platform and directly recommend a more preferred route to the user through the client.
[0096] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0097] The route processing method provided in the embodiment of the present invention can provide more accurate and reasonable popular route information to the client or the third-party navigation service platform through the calculation service of the popular routes provided by the traffic management platform, thereby facilitating the client or the third-party navigation service platform to perform further path planning services.
[0098] Embodiment 4
[0099] The above embodiments are all based on various processings performed on popular routes. This embodiment proposes a route processing method to find out unpopular routes in a specified area, and further apply the unpopular routes. Specifically, Figure 5 As shown, the route processing method includes:
[0100] S301: Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area. The traffic heat can be calculated in the same way as in the aforementioned embodiment, and specifically may include: extracting at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs from the movement trajectory data; and calculating the traffic heat according to at least one of the transfer flow, transfer probability and reference point distance between adjacent reference point pairs. In addition, the calculation of traffic heat may introduce a directional attribute into adjacent ordered reference point pairs, that is, adjacent ordered reference point pairs have directionality. Accordingly, this step may include: calculating the traffic heat according to the movement trajectory data in the direction corresponding to the adjacent ordered reference point pairs.
[0101] S302: Obtain adjacent reference point pairs whose traffic heat is less than the second traffic heat threshold as the adjacent reference point pairs of unpopular routes. In order to distinguish from the previous embodiment, the traffic heat threshold here is called the second traffic heat threshold. In contrast to the previous embodiment, in this embodiment, the second traffic heat threshold is used to screen out adjacent reference point pairs with lower heat as basic data for subsequent determination of unpopular routes. The second traffic heat threshold is lower than the first traffic heat threshold mentioned above, and its purpose is to find out the route sections with less traffic. The second traffic heat threshold can also be flexibly set according to actual needs.
[0102] S303: Determine the unpopular routes in the designated area based on the unpopular adjacent reference point pairs. After determining the unpopular adjacent reference point pairs, multiple route sections with low traffic popularity are actually determined. Taking these route sections as basic units, the unpopular routes in the area can be determined.
[0103] Similar to the previous embodiment, in the process of determining the unpopular routes, various conditions can be introduced as needed, for example, the unpopular routes must contain more than a predetermined number of unpopular adjacent reference point pairs, and for another example, the unpopular routes are determined on the premise of setting the starting point and the end point of the route. Of course, all routes containing unpopular adjacent reference point pairs can be found as the unpopular routes in the area, and the specific selection can be based on actual needs.
[0104] After determining the unpopular routes in the area, public vehicles and / or private vehicles can be dispatched in real time based on the data of the unpopular routes to give priority to the unpopular routes for route planning. In addition, the determined unpopular routes can also be used for urban traffic diversion, path planning, urban planning and construction, etc. Of course, the previous popular routes and unpopular routes can also be combined for urban traffic diversion, path planning, urban planning and construction, etc.
[0105] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0106] The route processing method provided by the embodiment of the present invention calculates the traffic heat in units of smaller interval routes determined by adjacent reference point pairs, and screens adjacent reference point pairs based on the traffic heat to determine unpopular adjacent reference point pairs with lower heat, and then determines unpopular traffic routes in the area based on this. The unpopular traffic routes determined in this way can fully reflect the status of unpopular routes in the area, thereby providing valuable traffic data information for traffic path planning, traffic flow diversion, and urban planning and construction.
[0107] Embodiment 5
[0108] The above embodiments describe the process and device structure of the route processing technology of the embodiment of the present invention. The functions of the above method and device can be implemented by means of an electronic device, such as Figure 6 As shown, it is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, which specifically includes: a memory 110 and a processor 120.
[0109] The memory 110 is used to store programs.
[0110] In addition to the above-mentioned programs, the memory 110 may also be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
[0111] The memory 110 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0112] The processor 120 is coupled to the memory 110 and is used to execute the program in the memory 110 to perform the operation steps of the route processing method described in the above embodiments.
[0113] In addition, the processor 120 may also include various modules described in the above embodiments to perform route processing, and the memory 110 may be used, for example, to store data required for these modules to perform operations and / or output data.
[0114] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0115] Furthermore, as shown in the figure, the electronic device may also include other components such as a communication component 130, a power component 140, an audio component 150, and a display 160. The figure only schematically shows some components, which does not mean that the electronic device only includes the components shown in the figure.
[0116] The communication component 130 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component 130 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 130 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0117] The power supply component 140 provides power to various components of the electronic device. The power supply component 140 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.
[0118] The audio component 150 is configured to output and / or input audio signals. For example, the audio component 150 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 110 or sent via the communication component 130. In some embodiments, the audio component 150 also includes a speaker for outputting audio signals.
[0119] The display 160 includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0120] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A route processing method, comprising: Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area; Acquire adjacent reference point pairs whose pass heat is greater than a first pass heat threshold as valid pass adjacent reference point pairs; Determine a popular travel route in the designated area according to the valid adjacent reference point pair; The step of calculating the traffic heat of a plurality of adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area comprises: Extracting the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs from the movement trajectory data; the transfer flow is the set of vehicles arriving at the reference point Y from the reference point X within a preset time period, and the vehicle set is the intersection of the set of vehicles passing through the reference point X and the set of vehicles passing through the reference point Y within the preset time period; The traffic heat is calculated according to the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs.
2. The method according to claim 1, wherein: The adjacent reference point pairs include adjacent ordered reference point pairs, and the adjacent ordered reference point pairs have directionality. The step of calculating the passing heat of a plurality of adjacent reference point pairs in the area includes: The passing heat is calculated according to the movement trajectory data in the direction corresponding to the adjacent ordered reference point pairs.
3. The method according to claim 1, wherein: Also includes: The movement trajectory data of the target object is collected by using a surveillance camera and / or a vehicle detector set on the road and / or a GPS device set on the target object, and stored in a road traffic database of the urban traffic system. The target object includes: one or more of: motor vehicles, non-motor vehicles and pedestrians.
4. The method according to claim 3, wherein: The step of calculating the traffic heat of a plurality of adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area comprises: The traffic heat of multiple adjacent reference point pairs in the area is calculated based on the historical movement trajectory data stored in the road traffic database and / or the movement trajectory data collected in real time.
5. The method according to claim 1, wherein: Also includes: The popular travel routes in the designated area are stored in a road traffic database of the urban traffic system.
6. The method according to claim 1, wherein: The road has road attributes, and the road attributes include: pedestrian, motor vehicle, non-motor vehicle, The step of calculating the traffic heat of a plurality of adjacent reference point pairs in the designated area according to the movement trajectory data of the target object on the road in the designated area comprises: The moving trajectory data of the target object on the road with the specified road attribute in the specified area is obtained, and the passing heat of multiple adjacent reference point pairs in the specified area is calculated according to the moving trajectory data.
7. The method according to claim 1, wherein: Also includes: Based on the determined popular routes, public vehicles and / or private vehicles are dispatched in real time to disperse the traffic to non-popular routes.
8. The method according to claim 1, wherein: Also includes: Tidal lane planning is carried out based on the identified popular routes.
9. The method according to claim 1, wherein: Also includes: Carry out urban construction planning based on the determined popular routes.
10. A route processing device, comprising: A traffic heat calculation module, used to calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area; A valid adjacent reference point pair determination module, used to obtain an adjacent reference point pair whose passing heat is greater than a first passing heat threshold as a valid passing adjacent reference point pair; A popular route determination module, used to determine the popular routes in the designated area according to the valid adjacent reference point pairs; The step of calculating the traffic heat of a plurality of adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area comprises: Extracting the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs from the movement trajectory data; the transfer flow is the set of vehicles arriving at the reference point Y from the reference point X within a preset time period, and the vehicle set is the intersection of the set of vehicles passing through the reference point X and the set of vehicles passing through the reference point Y within the preset time period; The traffic heat is calculated according to the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs.
11. A route processing method, comprising: In response to a request from a client or a navigation service platform for obtaining a popular route in a specified area, extracting movement trajectory data of a target object on a road in the specified area from a road traffic database; Calculating the passing heat of a plurality of adjacent reference point pairs in the designated area according to the movement trajectory data; Acquire adjacent reference point pairs whose pass heat is greater than a first pass heat threshold as valid pass adjacent reference point pairs; Determine the popular travel routes in the designated area based on the valid adjacent reference point pairs, and send them to the client or navigation service platform; The calculation of the traffic heat of multiple adjacent reference point pairs in the specified area is as follows: Extracting the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs from the movement trajectory data; the transfer flow is the set of vehicles arriving at the reference point Y from the reference point X within a preset time period, and the vehicle set is the intersection of the set of vehicles passing through the reference point X and the set of vehicles passing through the reference point Y within the preset time period; The traffic heat is calculated according to the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs.
12. The method according to claim 11, wherein: Also includes: The client or navigation service platform performs path navigation planning according to the popular routes and the starting point and the end point provided by the user.
13. A route processing method, comprising: Calculate the traffic heat of multiple adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area; Obtaining adjacent reference point pairs whose traffic heat is less than the second traffic heat threshold as the adjacent reference point pairs for unpopular traffic; Determining the unpopular passage route in the designated area according to the unpopular adjacent reference point pair; The step of calculating the traffic heat of a plurality of adjacent reference point pairs in the specified area according to the movement trajectory data of the target object on the road in the specified area comprises: Extracting the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs from the movement trajectory data; The traffic heat is calculated according to the transfer flow, transfer probability and reference point distance between the adjacent reference point pairs.
14. The method according to claim 13, wherein: The adjacent reference point pairs are specifically adjacent ordered reference point pairs, and the adjacent ordered reference point pairs have directionality. The step of calculating the passing heat of a plurality of adjacent reference point pairs in the area includes: The passing heat is calculated according to the movement trajectory data in the direction corresponding to the adjacent ordered reference point pairs.
15. The method according to claim 13, wherein: Also includes: Based on the determined unpopular routes, public vehicles and / or private vehicles are dispatched in real time to give priority to the unpopular routes for route planning.
16. An electronic device comprising: Memory, used to store programs; A processor, coupled to the memory, is used to execute the program, and when the program is running, it executes the route processing method described in any one of claims 1 to 9 and 11 to 15.
