A method, device and electronic device for processing vehicle flow path distribution information

Through the methods of clustering and feature vector mapping functions, the errors in the prediction of traffic path distribution information in the existing technology are corrected, the prediction accuracy is improved, and the problem that the existing technology fails to effectively consider the overall factors is solved.

CN111915877BActive Publication Date: 2024-09-10ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910381137.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-08
Publication Date
2024-09-10
Estimated Expiration
2039-05-08

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider overall factors when predicting traffic path distribution information in traffic areas, resulting in large deviations between prediction results and actual conditions.

Method used

By obtaining the historical traffic path distribution information of the preset area for clustering, the traffic path distribution class is obtained, and the predicted traffic path distribution information is modified using feature vectors and mapping functions so that it belongs to a specific traffic path distribution class, thereby improving the prediction accuracy.

Benefits of technology

It improves the prediction accuracy of traffic path distribution information, reduces error accumulation, and enhances the accuracy of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111915877B
    Figure CN111915877B
Patent Text Reader

Abstract

The present invention discloses a method, device and electronic device for processing vehicle flow path distribution information. The processing method comprises: obtaining predicted vehicle flow path distribution information of a preset area in the next time period; obtaining a predicted vehicle flow path distribution class corresponding to the preset area in the next time period; and correcting the predicted vehicle flow path distribution information according to the predicted vehicle flow path distribution class, so that the corrected predicted vehicle flow path distribution information belongs to the predicted vehicle flow path distribution class.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of traffic control, and more specifically, to a method for processing vehicle flow path distribution information, a device for processing vehicle flow path distribution information, an electronic device, and a computer-readable medium. Background Art

[0002] The future traffic demand of a traffic area can be obtained through the predicted traffic path distribution information. The traffic path distribution information includes the paths in the traffic area and the traffic volume value passing through each path. The path can be a sequence of road sections on the traffic road network.

[0003] The traffic path distribution during the target period may be related to the current traffic path distribution information in the traffic area, the traffic path distribution information around the traffic area, time, date, weather and other factors.

[0004] In the prior art, a regression model is usually established for each path in the traffic area to obtain the predicted traffic flow value of each path, and the predicted traffic flow values ​​of each path are combined and superimposed to form a prediction of the traffic flow path distribution information of the traffic area in the target period. However, this prediction method does not take into account the overall factors of the preset area, which is prone to error accumulation, so that the combined traffic flow path distribution information may deviate greatly from the actual one. Summary of the invention

[0005] One object of the present invention is to provide a new technical solution for predicting the future traffic path distribution information of a preset area.

[0006] According to a first aspect of the present invention, a method for processing vehicle flow path distribution information is provided, comprising:

[0007] Obtaining predicted traffic flow path distribution information of a preset area in a target time period; the traffic flow path distribution information includes paths in the preset area and traffic flow values ​​passing through each path in a corresponding time period;

[0008] Obtaining a predicted traffic path distribution class corresponding to the preset area in the target time period; wherein the traffic path distribution class includes a clustering result obtained by clustering traffic path distribution information for at least one historical time period;

[0009] The predicted traffic path distribution information is corrected according to the predicted traffic path distribution class so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0010] Optionally, the step of obtaining predicted traffic path distribution information of a preset area in a target period includes:

[0011] Obtaining a path within the preset area;

[0012] Obtain the predicted traffic flow value of each path during the target period respectively;

[0013] According to the predicted traffic flow value passing through each path during the target time period, the predicted traffic flow path distribution information of the preset area during the target time period is obtained.

[0014] Optionally, use each path in turn as the target path.

[0015] The step of obtaining the predicted traffic flow value passing through the target path during the target period includes:

[0016] Acquire a selected first feature vector, wherein the first feature vector includes a plurality of first features that affect the traffic flow value of the target path in a target period; the plurality of first features include a first traffic feature and a first environmental feature;

[0017] Acquire a first mapping function between the first feature vector and a vehicle flow value passing through the target path;

[0018] According to the first mapping function and the vector value of the first feature vector in the current time period, a predicted vehicle flow value passing through the target path in the target time period is obtained.

[0019] Optionally, the first traffic feature includes at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area; and / or, the first environmental feature includes at least one of time, date, and weather.

[0020] Optionally, the step of obtaining a first mapping function between the first feature vector and a vehicle flow value passing through the target path includes:

[0021] Acquire first training samples according to historical vehicle flow trajectories, wherein each first training sample includes a historical vehicle flow trajectory matching the target path;

[0022] The first mapping function is obtained by training according to the vector value of the first feature vector of the first training sample and the actual vehicle flow value passing through the target path corresponding to the first training sample.

[0023] Optionally, the processing method further includes:

[0024] Acquire an actual vehicle flow trajectory matching the target path within the target time period as a new first training sample;

[0025] The first mapping function is modified according to the vector value of the first feature vector of the new first training sample and the actual vehicle flow value passing through the target path within the target time period corresponding to the new first training sample.

[0026] Optionally, before obtaining the predicted traffic path distribution class corresponding to the target time period in the preset area, the step further includes:

[0027] Acquire the traffic path distribution information of the preset area in multiple historical time periods as the historical traffic path distribution information;

[0028] Clustering the plurality of historical traffic path distribution information to obtain at least one traffic path distribution class;

[0029] The obtaining of the predicted traffic path distribution class corresponding to the preset area in the target time period includes: obtaining the traffic path distribution class corresponding to the preset area in the target time period from the at least one traffic path distribution class as the predicted traffic path distribution class.

[0030] Optionally, the step of clustering the plurality of historical vehicle flow path distribution information to obtain at least one vehicle flow path distribution class includes:

[0031] Determine the number of segments each path contains;

[0032] According to the distribution information of each historical traffic flow path, determine the traffic flow value passing through each path in the corresponding historical period;

[0033] According to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, the distance between each two historical traffic flow path distribution information is determined;

[0034] According to the distance between each two pieces of historical traffic path distribution information, a plurality of the historical traffic path distribution information are clustered to obtain at least one of the traffic path distribution classes.

[0035] Optionally, the step of determining the distance between each pair of historical traffic flow path distribution information according to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period includes:

[0036] According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow sum corresponding to each historical traffic flow path distribution information is determined; wherein the road section flow sum is the sum of the traffic flow values ​​passing through each road section in the corresponding period;

[0037] According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow difference corresponding to each two historical traffic flow path distribution information is determined; wherein the road section flow difference is the sum of the differences in the traffic flow values ​​passing through each road section in the corresponding two periods;

[0038] The distance between each pair of historical traffic path distribution information is determined based on the sum of the road section flow corresponding to each piece of historical traffic path distribution information and the difference in road section flow corresponding to each pair of historical traffic path distribution information.

[0039] Optionally, the step of clustering a plurality of the historical vehicle flow path distribution information according to the distance between each two historical vehicle flow path distribution information to obtain at least one vehicle flow path distribution class includes:

[0040] Take each traffic path distribution information as a node and build a relationship graph based on the distance between every two nodes;

[0041] Splitting the relationship graph into at least one subgraph according to the distance between every two nodes;

[0042] Get with each child Figure 1 A corresponding traffic path distribution class is generated, and the traffic path distribution information corresponding to the nodes contained in each subgraph is divided into the corresponding traffic path distribution class.

[0043] Optionally, the step of taking each traffic path distribution information as a node and constructing a relationship graph according to the distance between every two nodes includes:

[0044] Each traffic flow path distribution information is regarded as a node, and each node is connected to a set number of nodes closest to itself to obtain the relationship graph.

[0045] Optionally, the step of splitting the relationship graph into at least one subgraph according to the distance between every two nodes includes:

[0046] The connection between two nodes whose distance exceeds a preset distance threshold is cut off to split the relationship graph into at least one subgraph.

[0047] Optionally, the step of obtaining the predicted traffic path distribution class corresponding to the preset area in the target time period includes:

[0048] Acquire a selected second feature vector, wherein the second feature vector includes a plurality of second features that affect the vehicle flow path distribution class corresponding to the preset area during the target period; the plurality of second features include a second traffic feature and a second environmental feature;

[0049] Obtaining a second mapping function between the second feature vector and the traffic path distribution class;

[0050] According to the second mapping function and the vector value of the second feature vector in the current time period, the traffic path distribution class corresponding to the preset area in the target time period is obtained as the predicted traffic path distribution class.

[0051] Optionally, the second traffic characteristic includes at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area; and / or, the second environmental characteristic includes at least one of time, date, and weather.

[0052] Optionally, the step of obtaining a second mapping function between the second feature vector and the traffic path distribution class includes:

[0053] Use historical traffic trajectories as the second training sample;

[0054] The second mapping function is obtained by training according to the vector value of the second feature vector of the second training sample and the traffic path distribution class actually corresponding to the second training sample.

[0055] Optionally, the processing method further includes:

[0056] Acquire the actual vehicle flow trajectory within the target time period as a new second training sample;

[0057] The second mapping function is modified according to the vector value of the second feature vector of the new second training sample and the vehicle flow path distribution class actually corresponding to the new second training sample.

[0058] Optionally, the step of correcting the predicted traffic path distribution information according to the predicted traffic path distribution class so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class includes:

[0059] Determining target traffic path distribution information representing a cluster center of the predicted traffic path distribution class;

[0060] Determining a distance between the predicted traffic path distribution information and the target traffic path distribution information;

[0061] According to the distance between the predicted traffic path distribution information and the target traffic path distribution information, the predicted traffic path distribution information is corrected so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0062] Optionally, the step of correcting the predicted traffic path distribution information according to the distance between the predicted traffic path distribution information and the target traffic path distribution information so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class includes:

[0063] respectively determining the distance between each piece of vehicle flow path distribution information included in the predicted vehicle flow path distribution class and the target vehicle flow path distribution information;

[0064] Determine the maximum value of the distance between each vehicle flow path distribution information and the target vehicle flow path distribution information;

[0065] The predicted traffic path distribution information is corrected so that the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information is less than or equal to the maximum value.

[0066] Optionally, the step of determining target traffic path distribution information representing the cluster center of the predicted traffic path distribution class includes:

[0067] Determine an optimization function between a target traffic flow value passing through each path and an indicator for measuring a cluster center according to the traffic flow value passing through each path in the traffic flow path distribution information contained in the predicted traffic flow path distribution class;

[0068] According to the optimization function corresponding to each path, the target traffic flow value passing through each path is determined when the index measuring the cluster center is minimized;

[0069] According to the target vehicle flow value passing through each path, the target vehicle flow path distribution information is obtained.

[0070] Optionally, the processing method further includes:

[0071] Traffic control is performed on the preset area according to the corrected predicted traffic path distribution information.

[0072] According to a second aspect of the present invention, there is provided a device for processing vehicle flow path distribution information, comprising:

[0073] A distribution information prediction module, used to obtain predicted traffic flow path distribution information of a preset area in a target time period; the traffic flow path distribution information includes paths in the preset area and the traffic flow value passing through each path in a corresponding time period;

[0074] A distribution class prediction module, used to obtain the predicted traffic path distribution class corresponding to the preset area in the target time period; wherein the traffic path distribution class includes traffic path distribution information of at least one historical time period;

[0075] The distribution information correction module is used to correct the predicted traffic path distribution information according to the predicted traffic path distribution class, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0076] According to a third aspect of the present invention, there is provided an electronic device, comprising the processing device according to the second aspect of the present invention; or, comprising a processor and a memory, wherein the memory is used to store executable instructions, and the instructions are used to control the processor to execute the processing method according to the first aspect of the present invention.

[0077] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the processing method according to the first aspect of the present invention.

[0078] In an embodiment of the present invention, by pre-acquiring the predicted traffic path distribution information of a preset area in a target time period, then obtaining the predicted traffic path distribution class corresponding to the target time period, and correcting the predicted traffic path distribution information according to the predicted traffic path distribution class, the final corrected predicted traffic path distribution information can be made more accurate.

[0079] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0081] Figure 1 is a block diagram of an example of a hardware configuration of an electronic device that can be used to implement an embodiment of the present invention.

[0082] Figure 2 is a block diagram of another example of a hardware configuration of an electronic device that can be used to implement an embodiment of the present invention;

[0083] Figure 3 is a flowchart of a method for processing vehicle flow path distribution information according to an embodiment of the present invention;

[0084] Figure 4 is a schematic diagram of an example of a preset area according to an embodiment of the present invention;

[0085] Figure 5 is a schematic diagram of an example of traffic path distribution information of a first historical period according to an embodiment of the present invention;

[0086] Figure 6is a schematic diagram of an example of traffic path distribution information of a second historical period according to an embodiment of the present invention;

[0087] Figure 7 is a schematic diagram of an example of traffic path distribution information of a third historical period according to an embodiment of the present invention;

[0088] Figure 8 is a flowchart of an example of a method for processing vehicle flow path distribution information according to an embodiment of the present invention;

[0089] Fig. 9 is a schematic diagram of a device for processing vehicle flow path distribution information according to an embodiment of the present invention;

[0090] Fig.10 is a principle block diagram of an electronic device provided according to a first embodiment of the present invention;

[0091] Fig.11 FIG. 4 is a schematic diagram of the hardware structure of an electronic device provided according to a second embodiment of the present invention. DETAILED DESCRIPTION

[0092] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0093] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0094] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0095] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0096] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0097] <Hardware Configuration>

[0098] Figure 1 and Figure 2 It is a block diagram of the hardware configuration of an electronic device 1000 that can be used to implement the method for processing vehicle flow path distribution information according to any embodiment of the present invention.

[0099] In one embodiment, Figure 1 As shown, the electronic device 1000 may be a server 1100 .

[0100] Server 1100 provides a business point for processing, database, and communication facilities. Server 1100 can be a monolithic server or a distributed server across multiple computers or computer data centers. The server can be of various types, such as but not limited to, a network server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or an embedded logic component or a combination of two or more such components for executing the appropriate functions supported or implemented by the server. For example, a server such as a blade server, a cloud server, etc., or a server group consisting of multiple servers, which may include one or more of the above-mentioned types of servers, etc.

[0101] In this embodiment, the server 1100 can be as follows Figure 1 As shown, it includes a processor 1110 , a memory 1120 , an interface device 1130 , a communication device 1140 , a display device 1150 , and an input device 1160 .

[0102] In this embodiment, the server 1100 may also include a speaker, a microphone, etc., which are not limited here.

[0103] The processor 1110 may be a dedicated server processor, or a desktop processor or a mobile processor that meets the performance requirements, which is not limited here. The memory 1120 includes, for example, ROM (read-only memory), RAM (random access memory), non-volatile memory such as a hard disk, etc. The interface device 1130 includes, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1140 is capable of wired or wireless communication, for example. The display device 1150 is, for example, a liquid crystal display, an LED display, a touch display, etc. The input device 1160 may include, for example, a touch screen, a keyboard, etc.

[0104] In this embodiment, the memory 1120 of the server 1100 is used to store instructions, and the instructions are used to control the processor 1110 to operate to at least execute the method for processing the vehicle flow path distribution information according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0105] Despite Figure 1, multiple devices of the server 1100 are shown; however, the present invention may only involve some of the devices, for example, the server 1100 only involves the memory 1120 and the processor 1110 .

[0106] In one embodiment, the electronic device 1000 may be a terminal device 1200 such as a PC or a laptop computer used by an operator, which is not limited here.

[0107] In this embodiment, refer to Figure 2 As shown, the terminal device 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, a speaker 1270, a microphone 1280, and the like.

[0108] The processor 1210 may be a mobile version processor. The memory 1220 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1230 may include, for example, a USB interface, a headphone interface, etc. The communication device 1240 may, for example, be capable of wired or wireless communication. The communication device 1240 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1240 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 1250 may, for example, be a liquid crystal display, a touch display, etc. The input device 1260 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through the speaker 1270 and the microphone 1280.

[0109] In this embodiment, the memory 1220 of the terminal device 1200 is used to store instructions, and the instructions are used to control the processor 1210 to operate to at least execute the method for processing vehicle flow path distribution information according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0110] Despite Figure 2 , multiple devices of the terminal device 1200 are shown, but the present invention may only involve some of the devices, for example, the terminal device 1200 only involves the memory 1220, the processor 1210, and the display device 1250.

[0111] <Method Example>

[0112] In this embodiment, a method for processing vehicle flow path distribution information is provided. The processing method may be implemented by an electronic device. The electronic device may be Figure 1 The server 1100 shown, or Figure 2 Terminal device 1200 is shown.

[0113] according to Figure 3 As shown, the method for processing the traffic path distribution information of this embodiment may include the following steps S1000 to S3000:

[0114] Step S1000, obtaining the predicted traffic path distribution information of a preset area during a target period.

[0115] The target time period may be a future time period or a past time period.

[0116] The preset area in this embodiment can be a traffic area selected in the city according to the application scenario or specific needs. For example, the preset area can be Figure 4 As shown in the preset area in Figure 5 to Figure 7 as shown in the preset area in the .

[0117] Specifically, the predicted traffic flow path distribution information may include paths in a preset area and predicted traffic flow values ​​passing through each path within a target time period.

[0118] The path in this embodiment may be a sequence of road segments on a road network, and a road segment may refer to a traffic route between two adjacent intersections on a traffic network in a driving direction. Figure 4 to Figure 7 In the embodiment shown in , the paths in the preset area acquired by step S1000 may include: path A, path B, path C, path D, path E and path F.

[0119] In one embodiment, the step of obtaining the predicted traffic path distribution information of the preset area in the target period may include the following steps S1100 to S1300:

[0120] Step S1100, obtaining a path within a preset area.

[0121] Step S1200, respectively obtaining the predicted traffic flow value passing through each path during the target time period.

[0122] The predicted traffic flow value passing through each path in the target time period may be obtained respectively by taking each path as the target path in turn, and obtaining the predicted traffic flow value passing through the target path in the target time period.

[0123] Specifically, the time period can be set according to the application scenario or specific needs, and the duration of each time period (including the target time period, current time period, and historical time period described in this embodiment) is equal. For example, the time period between every two adjacent hourly points can be regarded as a time period. Then, 8-9 o'clock on the current date can be used as the current time period, and 9-10 o'clock can be used as the target time period.

[0124] The step of obtaining the predicted vehicle flow value passing through the target path during the target period may include steps S1210 to S1230 as follows:

[0125] Step S1210, obtaining the selected first vector feature.

[0126] The first feature vector may include a plurality of first features that affect the traffic flow value of the target path in the target period, and the plurality of first features include a first traffic feature and a first environmental feature.

[0127] The first traffic feature may include at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area. The first environmental feature may include at least one of the time, date, and weather.

[0128] In this embodiment, x j It can be a first feature such as a first traffic feature, a first environmental feature, etc. that can affect the traffic flow value of the target path in the target period. For example, the first traffic feature can be the traffic flow path distribution information of the preset area and the traffic flow path distribution information around the preset area, and the first environmental feature can be time, date and weather. Here, the feature vector X can have 5 features, that is, n=5. At this time, the feature vector X can be expressed as X=(x1, x2, x3, x4, x5). Of course, the feature vector X can also include other features related to the traffic flow value.

[0129] Step S1220: Obtain a first mapping function between the first feature vector and the vehicle flow value passing through the target path.

[0130] The independent variable of the first mapping function F1(x) is the characteristic vector X, and the dependent variable F1(x) is the predicted traffic flow value determined by the characteristic vector X.

[0131] In this embodiment, the step S1220 of obtaining the first mapping function between the first feature vector and the vehicle flow value passing through the target path may further include the following steps S1221 to S1222:

[0132] Step S1221, obtaining a first training sample according to historical vehicle flow trajectories.

[0133] Each first training sample includes a vehicle flow trajectory that matches the target path.

[0134] Step S1222: A first mapping function is obtained by training according to the vector value of the first feature vector of the first training sample and the actual vehicle flow value passing through the target path corresponding to the first training sample.

[0135] In one embodiment, steps S1221 to S1222 of training the first mapping function may be performed according to a preset training cycle. The training cycle may be set according to a specific application scenario or application requirement, for example, may be set to 1 day.

[0136] In this embodiment, based on the vector value of the first feature vector of the training sample and the actual vehicle flow value of the target path corresponding to the training sample, the first mapping function F(x) can be obtained by various fitting means. For example, the first mapping function F1(x) can be obtained by using any multivariate linear regression model, which is not limited here.

[0137] In one example, the multivariate linear regression model can be a simple polynomial function that reflects the first mapping function F1(x), wherein the coefficients of each order of the polynomial function are unknown. By substituting the vector value of the first eigenvector of the first training sample and the actual vehicle flow value passing through the target path corresponding to the first training sample into the polynomial function, the coefficients of each order of the polynomial function can be determined, thereby obtaining the first mapping function F1(x).

[0138] In another example, various regression models, such as an additive model, can be used to perform multiple rounds of training using the first vector value of the first feature vector of the first training sample and the actual traffic flow value of the target path corresponding to the first training sample as accurate samples. Each round learns the residual after the previous round of fitting, and iterates T rounds to control the residual to a very low value, so that the final first mapping function F1(x) has a very high accuracy. The additive model is, for example, LightGBM, GBDT, XGBoost, etc., which are not limited here.

[0139] Step S1230, obtaining a predicted vehicle flow value passing through the target path in a target time period according to the first mapping function and the vector value of the first eigenvector in the current time period.

[0140] In this embodiment, according to the first mapping function between the first eigenvector obtained in step S1220 and the vehicle flow value passing through the target path, the vector value can be substituted into the first mapping function F(x) according to the vector value of the first eigenvector in the current time period, so as to obtain the predicted vehicle flow value passing through the target path in the target time period.

[0141] According to this embodiment of the present invention, it is possible to obtain the predicted traffic flow value passing through the target path during the target time period based on the first feature vector and the first mapping function. Since the first mapping function is obtained by training based on a large number of training samples, when the predicted traffic flow value is determined using the first mapping function, the accuracy of the obtained predicted traffic flow value can be improved.

[0142] Step S1300, obtaining predicted traffic flow path distribution information of a preset area in the next time period according to the predicted traffic flow value passing through each path in the next time period.

[0143] Specifically, the predicted traffic flow values ​​passing through each path in the next time period may be integrated to obtain the predicted traffic flow path distribution information of the preset area in the next time period.

[0144] Step S2000, obtaining the predicted traffic path distribution class corresponding to the preset area in the target time period.

[0145] The traffic path distribution class includes a clustering result obtained by clustering traffic path distribution information of a preset area in at least one historical period.

[0146] Specifically, the traffic path distribution information of a preset area in at least one historical period may be clustered to obtain at least one traffic path distribution class, and each traffic path distribution class may be a collection of traffic path distribution information of all historical periods belonging to the cluster, or may be a unique identifier of the corresponding cluster. The traffic path distribution information of all historical periods belonging to the corresponding cluster may be uniquely determined through the unique identifier of the cluster. The identifier may be composed of at least one character.

[0147] Then, the predicted traffic path distribution class corresponding to the target time period may be one of at least one traffic path distribution class obtained by clustering.

[0148] The traffic path distribution information may include the paths in the preset area and the traffic volume value passing through each path in the corresponding time period. Figure 5 to Figure 7 for Figure 4 Schematic diagram of traffic path distribution information of preset areas in different historical periods.

[0149] In one embodiment, step S1000 and step S2000 may be executed simultaneously, step S1000 may be executed first and then step S2000, or step S2000 may be executed first and then step S1000. The present invention does not specifically limit the execution order of step S1000 and step S2000.

[0150] In one embodiment, before executing step S2000, the processing method may further include the step of obtaining at least one traffic path distribution class corresponding to the preset area, so as to obtain the traffic path distribution class corresponding to the preset area in the target period in step S2000 as the predicted traffic path distribution class. The predicted traffic path distribution class in this embodiment is one of the at least one traffic path distribution class corresponding to the preset area obtained.

[0151] The step of obtaining at least one traffic path distribution class may further include the following steps S6100 to S6200:

[0152] Step S6100, obtaining the traffic path distribution information of a preset area in multiple historical time periods as the historical traffic path distribution information.

[0153] For example, Figure 5 It can be a schematic diagram of the traffic path distribution information in the first historical period, Figure 6 It can be a schematic diagram of the traffic path distribution information in the second historical period, Figure 7 It can be a schematic diagram of the traffic path distribution information in the third historical period.

[0154] In such Figure 5 In the traffic path distribution information in the first historical period shown, it can be obtained that the traffic flow values ​​passing through path A, path B, path C, path D, path E and path F in the first historical period are 300, 168, 270, 156, 0, and 0 respectively. Figure 6 In the traffic path distribution information in the second historical period shown, it can be obtained that the traffic flow values ​​passing through path A, path B, path C, path D, path E and path F in the second historical period are 340, 168, 270, 0, 227, and 0 respectively. Figure 7 In the traffic path distribution information in the third historical period shown, it can be obtained that the traffic flow values ​​passing through path A, path B, path C, path D, path E and path F in the third historical period are 0, 168, 270, 0, 227, and 100 respectively.

[0155] Step S6200: cluster multiple historical traffic path distribution information to obtain at least one traffic path distribution class.

[0156] In one example, clustering multiple historical traffic path distribution information to obtain at least one traffic path distribution class may further include the following steps S6210 to S6240:

[0157] Step S6210, determining the number of road segments included in each path.

[0158] The road section in this embodiment is a traffic route between two adjacent intersections in a corresponding path, and the number of road sections is the number of road sections included in the corresponding path.

[0159] For example, in Figure 4 to Figure 7 In the preset area shown, the number of road sections included in path A, path B and path F is 5, and the number of road sections included in path C, path D and path E is 3.

[0160] Step S6220, based on each historical traffic path distribution information, determine the traffic volume value passing through each path in the corresponding historical period.

[0161] Step S6230, determining the distance between each pair of historical traffic flow path distribution information according to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period.

[0162] The distance between each two pieces of historical traffic path distribution information can be used to characterize the degree of difference between the corresponding two pieces of historical traffic path distribution information.

[0163] In one example, according to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, determining the distance between each two pieces of historical traffic flow path distribution information may include the following steps S6231 to S6233:

[0164] Step S6231, according to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, determine the road section flow and corresponding to each historical traffic flow path distribution information.

[0165] The section flow sum is the sum of the traffic flow values ​​passing through each section during the corresponding time period.

[0166] In such Figure 5 In the traffic path distribution information of the first historical period shown, based on the number of road sections contained in each path and the traffic flow value passing through the corresponding path in the first historical period, the sum of the road section flow corresponding to the traffic path distribution information in the first historical period can be obtained as f1, where f1=300*5+168*5+270*3+156*3+0*5+0*5=3618.

[0167] In such Figure 6 In the traffic path distribution information of the second historical period shown, based on the number of road sections contained in each path and the traffic flow value passing through the corresponding path in the second historical period, the sum of the road section flow corresponding to the traffic path distribution information in the second historical period can be obtained as f2, where f2=340*5+168*5+270*3+0*3+227*5+0*5=4031.

[0168] In such Figure 7 In the traffic path distribution information of the third historical period shown, based on the number of road sections contained in each path and the traffic flow value passing through the corresponding path in the third historical period, the sum of the road section flow corresponding to the traffic path distribution information in the third historical period can be obtained as f3, where f3=0*5+168*5+270*3+0*3+227*5+100*5=3285.

[0169] Step S6232, according to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, determine the road section flow difference corresponding to every two pieces of historical traffic flow path distribution information.

[0170] The road section flow difference is the sum of the differences in the vehicle flow values ​​passing through each road section in the corresponding two time periods.

[0171] Specifically, the sum of the differences in the traffic flow values ​​of all sections in each path in the two time periods may be determined respectively, and then the sum of the differences in the traffic flow values ​​corresponding to each path may be summed to obtain the sum of the differences in the traffic flow values ​​of each section in the two time periods. The sum of the differences in the traffic flow values ​​of all sections in one path in the two time periods may be obtained by first determining the difference in the traffic flow values ​​of the path in the two time periods, and then multiplying the difference by the number of sections included in the path.

[0172] For Figure 5 The traffic path distribution information in the first historical period shown, and Figure 6 For the traffic path distribution information in the second historical period shown, based on the number of road sections included in each path, the traffic flow value passing through the corresponding path in the first historical period, and the traffic flow value passing through the corresponding path in the second historical period, the road section flow difference corresponding to the traffic path distribution information in the first historical period and the traffic path distribution information in the second historical period can be determined.

[0173] Specifically, it can be determined that the sum of the differences in the historical traffic flow through each section of path A during the first historical period and the second historical period is (340-300)*5, the sum of the differences in the historical traffic flow through each section of path B during the first historical period and the second historical period is (168-168)*5, the sum of the differences in the historical traffic flow through each section of path C during the first historical period and the second historical period is (270-270)*3, the sum of the differences in the historical traffic flow through each section of path D during the first historical period and the second historical period is (156-0)*3, the sum of the differences in the historical traffic flow through each section of path E during the first historical period and the second historical period is (227-0)*3, and the sum of the differences in the historical traffic flow through each section of path F during the first historical period and the second historical period is (0-0)*5. Then, the difference in the section traffic flow corresponding to the traffic path distribution information during the first historical period and the traffic path distribution information during the second historical period can be Δf 12 , Δf 12 =(340-300)*5+(168-168)*5+(270-270)*3+(156-0)*3+(227-0)*3+(0-0)*5=1349.

[0174] For Figure 5 The traffic path distribution information in the first historical period shown, and Figure 7 For the traffic path distribution information in the third historical time period shown, based on the number of road sections included in each path, the traffic flow value passing through the corresponding path in the first historical time period, and the traffic flow value passing through the corresponding path in the third historical time period, the road section flow difference corresponding to the traffic path distribution information in the first historical time period and the traffic path distribution information in the third historical time period can be determined.

[0175] Specifically, it can be determined that the sum of the differences in the historical traffic flow through each section of path A during the first historical period and the third historical period is (340-0)*5, the sum of the differences in the historical traffic flow through each section of path B during the first historical period and the third historical period is (168-168)*5, the sum of the differences in the historical traffic flow through each section of path C during the first historical period and the third historical period is (270-270)*3, the sum of the differences in the historical traffic flow through each section of path D during the first historical period and the third historical period is (156-0)*3, the sum of the differences in the historical traffic flow through each section of path E during the first historical period and the third historical period is (227-0)*3, and the sum of the differences in the historical traffic flow through each section of path F during the first historical period and the third historical period is (100-0)*5. Then, the difference in the section traffic flow corresponding to the traffic path distribution information in the first historical period and the traffic path distribution information in the third historical period can be Δf 13 , Δf 13 =(340-0)*5+(168-168)*5+(270-270)*3+(156-0)*3+(227-0)*3+(100-0)*5=3349.

[0176] For Figure 6 The traffic path distribution information in the second historical period shown, and Figure 7 For the traffic path distribution information in the third historical time period shown, based on the number of road sections included in each path, the traffic flow value passing through the corresponding path in the second historical time period, and the traffic flow value passing through the corresponding path in the third historical time period, the road section flow difference corresponding to the traffic path distribution information in the second historical time period and the traffic path distribution information in the third historical time period can be determined.

[0177] Specifically, it can be determined that the sum of the differences in the historical traffic flow through each section of path A during the second historical period and the third historical period is (340-0)*5, the sum of the differences in the historical traffic flow through each section of path B during the second historical period and the third historical period is (168-168)*5, the sum of the differences in the historical traffic flow through each section of path C during the second historical period and the third historical period is (270-270)*3, the sum of the differences in the historical traffic flow through each section of path D during the second historical period and the third historical period is (0-0)*3, the sum of the differences in the historical traffic flow through each section of path E during the second historical period and the third historical period is (227-227)*3, and the sum of the differences in the historical traffic flow through each section of path F during the second historical period and the third historical period is (100-0)*5. Then, the difference in the section traffic flow corresponding to the traffic path distribution information in the second historical period and the traffic path distribution information in the third historical period can be Δf 23 , Δf 23 =(340-0)*5+(168-168)*5+(270-270)*3+(0-0)*3+(227-227)*3+(100-0)*5=2200.

[0178] Step S6233, determining the distance between each pair of historical traffic path distribution information according to the sum of the road section flow corresponding to each piece of historical traffic path distribution information and the difference in road section flow corresponding to each pair of historical traffic path distribution information.

[0179] In one example, the method for determining the distance between each two historical traffic path distribution information can be: determining the geometric mean of the sum of the road section flow rates corresponding to the two historical traffic path distribution information, and then calculating the ratio between the road section flow rate difference corresponding to the two historical traffic path distribution information and the geometric mean, as the distance between the two historical traffic path distribution information.

[0180] For Figure 5 The traffic path distribution information in the first historical period shown, and Figure 6 For the traffic path distribution information in the second historical period shown in FIG. 1 , the geometric mean of the road section flow and the traffic path distribution information in the first historical period and the traffic path distribution information in the second historical period can be determined as follows: Then calculate the road flow difference Δf corresponding to the traffic path distribution information in the first historical period and the traffic path distribution information in the second historical period 12 With the geometric mean The ratio between the traffic path distribution information in the first historical period and the traffic path distribution information in the second historical period is obtained. 12 ,

[0181] For Figure 5 The traffic path distribution information in the first historical period shown, and Figure 7 For the traffic path distribution information in the third historical period shown in FIG. 1 , the geometric mean of the road section flow and the traffic path distribution information in the first historical period and the traffic path distribution information in the third historical period can be determined as Then calculate the road flow difference Δf corresponding to the traffic path distribution information in the first historical period and the traffic path distribution information in the third historical period 13 With the geometric mean The ratio between the traffic path distribution information in the first historical period and the traffic path distribution information in the third historical period is obtained. 13 ,

[0182] For Figure 6 The traffic path distribution information in the second historical period shown, and Figure 7 For the traffic path distribution information in the third historical period shown in FIG. 1 , the geometric mean of the road section flow and the traffic path distribution information in the second historical period and the traffic path distribution information in the third historical period can be determined as Then calculate the road flow difference Δf corresponding to the traffic path distribution information in the second historical period and the traffic path distribution information in the third historical period 23 With the geometric mean The ratio between them is used to obtain the distance d between the traffic path distribution information in the second historical period and the traffic path distribution information in the third historical period. 23 ,

[0183] Step S6240: Clustering multiple pieces of historical vehicle flow path distribution information according to the distance between each two pieces of historical vehicle flow path distribution information to obtain at least one vehicle flow path distribution class.

[0184] The clustering method used in this embodiment can be any one or more of system clustering, ordered sample clustering, dynamic clustering, fuzzy clustering, and graph theory clustering, and the specific clustering method is not limited here.

[0185] By clustering multiple historical traffic path distribution information, the distance between historical traffic path distribution information belonging to the same traffic path distribution class can be made smaller, while the distance between historical traffic path distribution information belonging to different traffic path distribution classes can be made longer.

[0186] In one example, the step of clustering a plurality of historical traffic path distribution information according to the distance between each two historical traffic path distribution information to obtain at least one traffic path distribution class may include the following steps S6241 to S6243:

[0187] Step S6241, taking each traffic path distribution information as a node, and constructing a relationship graph based on the distance between every two nodes.

[0188] In one example, each traffic path distribution information may be regarded as a node, and every two nodes are connected to obtain the relationship graph.

[0189] In another example, each traffic path distribution information may be regarded as a node, and each node is connected to a set number of nodes closest to itself to obtain the relationship graph.

[0190] In this example, the set number can be set in advance according to the application scenario or specific needs. For example, the set number can be set to 5. Then, each node can be connected to the 5 nodes closest to itself to obtain the relationship diagram.

[0191] Step S6242: split the relationship graph into at least one subgraph according to the distance between every two nodes.

[0192] In one example, the connection between two nodes whose distance exceeds a preset distance threshold may be cut off to split the relationship graph into at least one subgraph.

[0193] In another example, a graph partitioning method is applied to split the relationship graph into at least one subgraph, so that the sum of distances between every two nodes in the same subgraph is minimized and the sum of distances between every two nodes in different subgraphs is maximized.

[0194] The graph segmentation method used in this example may be a minimum segmentation method, or a Normalized Cut method, etc., which is not limited here.

[0195] Step S6243, obtain Figure 1 A corresponding traffic path distribution class is generated, and the traffic path distribution information corresponding to the nodes contained in each subgraph is divided into the corresponding traffic path distribution class.

[0196] For example, in the case where nodes 1 and 2 are located in the child Figure 1 In the example, nodes 3 and 4 are located in the child Figure 2 In the case of Figure 1 One-to-one corresponding traffic path distribution class 1, and Figure 2One-to-one corresponding traffic path distribution class 2, and the traffic path distribution information corresponding to node 1 and node 2 is divided into traffic path distribution class 1, and the traffic path distribution information corresponding to node 3 and node 4 is divided into traffic path distribution class 2.

[0197] After obtaining at least one traffic path distribution class, one of the at least one traffic path distribution classes obtained can be used as a predicted traffic path distribution class based on the traffic path distribution information of a preset area in a target period of time.

[0198] The step of obtaining the vehicle flow path distribution class corresponding to the preset area in the target time period as a step of predicting the vehicle flow path distribution class may further include the following steps S2100 to S2300:

[0199] Step S2100, obtaining the selected second eigenvector.

[0200] The second feature vector may include a plurality of second features that affect the vehicle flow path distribution class corresponding to the preset area during the target period. The plurality of second features include a second traffic feature and a second environment feature.

[0201] The second traffic feature may include at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area. The second environmental feature may include at least one of the time, date, and weather.

[0202] In this embodiment, y j It can be a second feature such as a second traffic feature, a second environmental feature, etc. that can affect the traffic path distribution class corresponding to the preset area during the target period. For example, the second traffic feature can be the traffic path distribution information of the preset area and the traffic path distribution information around the preset area. The second environmental feature can be time, date and weather. Here, the feature vector Y can have 5 features, that is, n=5. At this time, the feature vector Y can be expressed as Y=(y1, y2, y3, y4, y5). Of course, the feature vector Y can also include other features related to the corresponding traffic path distribution class.

[0203] Step S2200: Obtain a second mapping function between the second feature vector and the traffic path distribution class.

[0204] The independent variable of the second mapping function F2(y) is the characteristic vector Y, and the dependent variable F2(y) is the predicted traffic path distribution class determined by the characteristic vector Y.

[0205] In this embodiment, the step S2200 of obtaining the second mapping function between the second feature vector and the traffic path distribution class may further include the following steps S2210 to S2220:

[0206] Step S2210: Using the historical vehicle flow trajectory as the second training sample.

[0207] Step S2220: training a second mapping function according to the vector value of the second feature vector of the second training sample and the vehicle flow path distribution class actually corresponding to the second training sample.

[0208] In one embodiment, steps S2210 to S2220 of training the second mapping function may be performed according to a preset training cycle. The training cycle may be set according to a specific application scenario or application requirement, for example, may be set to 1 day.

[0209] In this embodiment, based on the vector value of the second feature vector of the training sample and the traffic path distribution class actually corresponding to the training sample, the second mapping function F2(y) can be obtained by various fitting means. For example, the second mapping function F2(y) can be obtained by using any multivariate linear regression model, which is not limited here.

[0210] In one example, the multivariate linear regression model can be a simple polynomial function that reflects the second mapping function F2(y), wherein the coefficients of each order of the polynomial function are unknown. By substituting the vector value of the second eigenvector of the second training sample and the traffic path distribution class actually corresponding to the second training sample into the polynomial function, the coefficients of each order of the polynomial function can be determined, thereby obtaining the second mapping function F2(y).

[0211] In another example, various regression models, such as an additive model, can be used to perform multiple rounds of training using the second vector value of the second feature vector of the second training sample and the traffic path distribution class actually corresponding to the second training sample as accurate samples. Each round learns the residual after the previous round of fitting, and iterates T rounds to control the residual to a very low value, so that the final second mapping function F2(y) has a very high accuracy. The additive model is, for example, LightGBM, GBDT, XGBoost, etc., which are not limited here.

[0212] Step S2300, according to the second mapping function and the vector value of the second eigenvector in the current time period, the traffic path distribution class corresponding to the preset area in the target time period is obtained as the predicted traffic path distribution class.

[0213] In this embodiment, according to the second mapping function between the second feature vector obtained in step S2200 and the traffic path distribution class, the vector value can be substituted into the second mapping function F(x) according to the vector value of the second feature vector in the current time period, so as to obtain the predicted traffic path distribution class that actually corresponds to the preset area in the target time period.

[0214] According to this embodiment of the present invention, the predicted traffic path distribution class corresponding to the preset area in the target period can be obtained according to the second feature vector and the second mapping function. Since the second mapping function is obtained by training based on a large number of training samples, when the predicted traffic path distribution class is determined by using the second mapping function, the accuracy of the obtained predicted traffic path distribution class can be improved.

[0215] After executing step S1000 and step S2000, continue to execute the following step S3000.

[0216] Step S3000: correcting the predicted traffic path distribution information according to the predicted traffic path distribution class, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0217] In the case where the predicted traffic path distribution class is a collection of traffic path distribution information of all historical periods belonging to the corresponding cluster, the predicted traffic path distribution information may be corrected based on the traffic path distribution information of all historical periods belonging to the predicted traffic path distribution class. In the case where the predicted traffic path distribution class is a unique identifier of the corresponding cluster, the traffic path distribution information of all historical periods belonging to the predicted traffic path distribution class may be determined through the unique identifier, and then the predicted traffic path distribution information may be corrected based on the traffic path distribution information of all historical periods belonging to the predicted traffic path distribution class.

[0218] In one example, correcting the predicted traffic path distribution information according to the predicted traffic path distribution class may include steps S3100 to S3300:

[0219] Step S3100, determining target traffic path distribution information representing the cluster center of the predicted traffic path distribution class.

[0220] The target traffic path distribution information may not be the traffic path distribution information of any historical period included in the predicted traffic path distribution class, but the traffic path distribution information obtained based on the traffic path distribution information of all historical periods included in the predicted traffic path distribution class, which can represent the cluster center of the predicted traffic path distribution class.

[0221] In one example, the step of determining target vehicle flow path distribution information may include steps S3110 to S3130:

[0222] Step S3110, determining an optimization function between a target traffic flow value passing through each path and an indicator for measuring a cluster center according to the traffic flow value passing through each path in the traffic flow path distribution information contained in the predicted traffic flow path distribution class.

[0223] Specifically, the indicator for measuring the cluster center corresponding to each path may be the sum of squares of differences between a target vehicle flow value passing through the corresponding path and each vehicle flow value passing through the corresponding path.

[0224] Step S3120, determining the target vehicle flow value passing through each path when the index for measuring the cluster center is minimized according to the optimization function corresponding to each path.

[0225] In one embodiment, the heuristic solver Louvain algorithm may be used to solve the optimization function corresponding to each path to obtain the target vehicle flow value passing through each path.

[0226] Step S3130, obtaining target traffic flow path distribution information according to the target traffic flow value passing through each path.

[0227] Specifically, the target traffic flow values ​​passing through each path may be integrated to obtain the target traffic flow path distribution information.

[0228] Step S3200, determining the distance between the predicted traffic path distribution information and the target traffic path distribution information.

[0229] The method for determining the distance between the predicted traffic path distribution information and the target traffic path distribution information may specifically refer to the method for determining the distance between each two pieces of historical traffic path distribution information in the aforementioned steps S6231 to S6233, which will not be described in detail here.

[0230] Step S3300: correcting the predicted traffic path distribution information according to the distance between the predicted traffic path distribution information and the target traffic path distribution information, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0231] The method of correcting the predicted traffic path distribution information according to the distance between the predicted traffic path distribution information and the target traffic path distribution information may be to make the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information smaller.

[0232] In one example, the step of correcting the predicted traffic path distribution information according to the distance between the predicted traffic path distribution information and the target traffic path distribution information so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class may include the following steps S3310 to S3330:

[0233] Step S3310, respectively determining the distance between each vehicle flow path distribution information included in the predicted vehicle flow path distribution class and the target vehicle flow path distribution information.

[0234] The method for determining the distance between each traffic path distribution information contained in the predicted traffic path distribution class and the target traffic path distribution information can specifically refer to the method for determining the distance between each two historical traffic path distribution information in the aforementioned steps S6231 to S6233, which will not be repeated here.

[0235] Step S3320, determining the maximum value of the distance between each vehicle flow path distribution information and the target vehicle flow path distribution information.

[0236] Step S3330, correcting the predicted traffic path distribution information so that the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information is less than or equal to the maximum value.

[0237] If the distance between the revised predicted traffic path distribution information and the target traffic path distribution information is less than or equal to the maximum value, it can be indicated that the revised predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0238] In one example, the processing method may further include, before executing step S3000: determining whether the predicted traffic path distribution information belongs to the predicted traffic path distribution class; if so, there is no need to correct the predicted traffic path distribution information according to the predicted traffic path distribution class; if not, executing step S3000, correcting the predicted traffic path distribution information according to the predicted traffic path distribution class, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0239] In this way, by using the processing method of this embodiment to predict the traffic path distribution information of the preset area target time period, the final corrected predicted traffic path distribution information can be more accurate.

[0240] In one example, after the predicted traffic flow path distribution information is corrected in step S3000, traffic control can be performed on the preset area according to the corrected predicted traffic flow path distribution information. Specifically, it can help traffic managers to make decisions on traffic light optimization control plans in advance according to the corrected predicted traffic flow path distribution information. In this way, it can help traffic managers to more actively specify or adjust traffic management plans, thereby improving the quality of traffic management and decision-making efficiency.

[0241] Specifically, the specific method of performing traffic control on a preset area may include: performing corresponding control on at least one of the signal cycle duration of traffic lights in the preset area, the green-to-signal ratio of at least one phase, and the phase difference of multiple intersections in at least one phase.

[0242] The phase in this embodiment has a meaning known in the industry. For example, it may include that within a signal cycle, a sequence of signal states of one or several traffic flows with the same signal light color display is called a phase. Phases are divided according to the timing of the traffic flow obtaining signal displays, and there are as many phases as there are different timing arrangements. Each control state corresponds to a group of different light color combinations, which is called a phase. In short, a phase is also called a control state. For another example, for a group of non-conflicting traffic flows that simultaneously obtain the right of way, the corresponding signal display state can be called a phase. It can be seen that the phase is divided according to the alternation of the right of way at the intersection within a signal cycle.

[0243] The signal cycle length, including the time required for the signal light to change and run a cycle, is equal to the sum of the green, yellow and red light times; it is also equal to the sum of the green light time and the yellow light time (generally fixed) required for all phases.

[0244] The green-to-signal ratio refers to the proportion of time that can be used for vehicle traffic within a signal light cycle. That is, the ratio of the green light time of a certain phase to the cycle length. The green light time can be the actual green light time or the effective green light time.

[0245] The actual green light time can be the time from when the green light is turned on to when the green light is turned off. The effective green light time: includes the actual vehicle passage time that is effectively utilized, which is equal to the sum of the green light time and the yellow light time minus the loss time. The loss time includes two parts. One is the time when the vehicle starts when the green light signal is turned on; and when the green light is turned off and the yellow light is turned on, only vehicles that cross the stop line can continue to pass, so there is also a part of loss time, which is the actual green light time minus the start time acceleration end lag time. The end lag time is the effectively utilized part of the yellow light time. The loss time of each phase is the difference between the start delay time and the end lag time.

[0246] Phase difference: For two signalized intersections, it refers to the difference in the start time of the green light (or red light) of the same phase at two adjacent intersections.

[0247] The above definitions are only used to exemplify the specific embodiments of the present invention and are not to be interpreted as limiting the scope of protection of the invention.

[0248] For example, according to Figure 4 In the corrected predicted traffic path distribution information obtained for the preset area shown, if the traffic flow value passing through path C and path D is less than the traffic flow value passing through path A and path F, then for the intersection of path C and path A, the method of performing traffic control on the preset area during the target time period may include: setting the green-to-signal ratio of the intersection at the phase corresponding to path A and path F to be greater than the green-to-signal ratio at the phase corresponding to path C and path D.

[0249] For example, according to Figure 4 In the corrected predicted traffic path distribution information obtained for the preset area shown, if the traffic flow values ​​passing through path A and path F are much greater than the traffic flow values ​​passing through other paths, then the method of traffic control for the preset area during the target time period may include: setting the phase difference of these intersections at the phases corresponding to path A and path F, so that when vehicles travel along path A or path F, they can enjoy the green wave effect of continuously passing through these intersections without stopping.

[0250] In one example, after the target period has passed, the processing method may further include steps S7110 to S7120:

[0251] Step S7110, obtaining the vehicle flow trajectory matching each path in the future time period as a new first training sample of the corresponding path.

[0252] Step S7120, correcting the first mapping function of the corresponding path according to the vector value of the first feature vector of the new first training sample of each path and the actual vehicle flow value corresponding to the new first training sample of each path passing through the corresponding path within the target time period.

[0253] According to this embodiment of the present invention, after the target time period, the actual traffic trajectory of the preset area matching each path within the target time period can be obtained as a new training sample of the corresponding path, and the first mapping function of the corresponding path is corrected respectively, that is, these new training samples are added, and the first mapping function of each path is retrained respectively, so that the prediction of the traffic flow value passing through each path becomes more and more accurate.

[0254] In one example, after the target period has passed, the processing method may further include steps S7210 to S7220:

[0255] Step S7210, obtaining the actual vehicle flow trajectory within the target time period as a new second training sample.

[0256] Step S7220: modify the second mapping function according to the vector value of the second feature vector of the new second training sample and the vehicle flow path distribution class actually corresponding to the new second training sample.

[0257] According to this embodiment of the present invention, after the target time period, the actual traffic trajectory of the preset area during the target time period can be obtained, and the actual traffic trajectory can be used as a new training sample to correct the second mapping function, that is, to add these new training samples and retrain the second mapping function to make the prediction of the corresponding traffic path distribution class more and more accurate.

[0258] <Example>

[0259] Figure 8 The method for processing the traffic path distribution information is shown in the example. Figure 4 to Figure 7 Taking the preset area shown in the figure as an example, a method for processing the traffic path distribution information is described. The processing method may include the following steps S8001 to S8011:

[0260] Step S8001, obtaining a path within a preset area.

[0261] Step S8002, obtaining the selected first vector feature.

[0262] Step S8003: Obtain a first mapping function between the first feature vector and the vehicle flow value passing through each path.

[0263] Step S8004, determining the predicted traffic flow value passing through the corresponding path in the target time period according to the first mapping function corresponding to each path and the vector value of the first eigenvector in the current time period.

[0264] In this example, the target period may be a future period.

[0265] Step S8005, obtaining the predicted traffic flow path distribution information of the preset area in the target period according to the predicted traffic flow value passing through each path in the target period.

[0266] Step S8006, obtaining the traffic path distribution information of the preset area in multiple historical time periods as the historical traffic path distribution information.

[0267] Step S8007: cluster multiple historical traffic path distribution information to obtain at least one traffic path distribution class.

[0268] Step S8008, obtaining the selected second eigenvector.

[0269] Step S8009: Obtain a second mapping function between the second feature vector and the traffic path distribution class.

[0270] Step S8010, according to the second mapping function and the vector value of the second eigenvector in the current time period, the traffic path distribution class corresponding to the preset area in the target time period is obtained as the predicted traffic path distribution class.

[0271] Step S8011, determining target traffic path distribution information representing the cluster center of the predicted traffic path distribution class.

[0272] Step S8012, determining the maximum value of the distance between each vehicle flow path distribution information and the target vehicle flow path distribution information.

[0273] Step S8013, determining the distance between the predicted traffic path distribution information and the target traffic path distribution information.

[0274] Step S8014, respectively determining the distance between each vehicle flow path distribution information included in the predicted vehicle flow path distribution class and the target vehicle flow path distribution information.

[0275] Step S8015, correcting the predicted traffic path distribution information so that the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information is less than or equal to the maximum value.

[0276] The maximum value in this step is the maximum value obtained in step S8012.

[0277] <Device Example>

[0278] In this embodiment, a vehicle flow path distribution information processing device 9000 is provided. Fig. 9 As shown, it includes a distribution information prediction module 9100, a distribution class prediction module 9200 and a distribution information correction module 9300. The distribution information acquisition module 9100 is used to obtain the predicted traffic path distribution information of the preset area in the target time period; the traffic path distribution information includes the paths in the preset area and the traffic volume value passing through each path in the corresponding time period; the distribution class prediction module 9200 is used to obtain the predicted traffic path distribution class corresponding to the preset area in the target time period; wherein the traffic path distribution class includes the traffic path distribution information of at least one historical time period; the distribution information correction module 9300 is used to correct the predicted traffic path distribution information according to the predicted traffic path distribution class, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0279] In one example, the distribution information prediction module 9100 may also be used to:

[0280] Used to obtain the path within the preset area;

[0281] Obtain the predicted traffic flow value of each path during the target period respectively;

[0282] According to the predicted traffic flow value passing through each path during the target period, the predicted traffic flow path distribution information of the preset area during the target period is obtained.

[0283] In one example, respectively obtaining the predicted traffic flow value of each path during the target period includes:

[0284] Take each path in turn as the target path;

[0285] Acquire a selected first feature vector, wherein the first feature vector includes a plurality of first features that affect the traffic flow value of the target path in the target period; the plurality of first features include a first traffic feature and a first environmental feature;

[0286] Obtaining a first mapping function between the first characteristic vector and the vehicle flow value passing through the target path;

[0287] According to the first mapping function and the vector value of the first eigenvector in the current time period, a predicted vehicle flow value passing through the target path in the target time period is obtained.

[0288] In one example, the first traffic feature includes at least one of the traffic path distribution information of a preset area and the traffic path distribution information around the preset area; and / or, the first environmental feature includes at least one of the time, date, and weather.

[0289] In one example, obtaining a first mapping function between the first feature vector and the traffic flow value passing through the target path includes:

[0290] Acquire first training samples according to historical vehicle flow trajectories, wherein each first training sample includes a historical vehicle flow trajectory matching a target path;

[0291] A first mapping function is obtained through training according to the vector value of the first feature vector of the first training sample and the actual vehicle flow value passing through the target path corresponding to the first training sample.

[0292] In an example, the processing device 9000 may further include:

[0293] A module for obtaining actual vehicle flow trajectories matching a target path within a target period as a new first training sample;

[0294] A module for correcting the first mapping function according to the vector value of the first feature vector of the new first training sample and the actual vehicle flow value passing through the target path within the target time period corresponding to the new first training sample.

[0295] In an example, the processing device 9000 may further include:

[0296] A module for obtaining the traffic path distribution information of a preset area in multiple historical time periods as the historical traffic path distribution information;

[0297] A module for clustering multiple historical traffic path distribution information to obtain at least one traffic path distribution class.

[0298] In one example, clustering multiple historical traffic path distribution information to obtain at least one traffic path distribution class includes:

[0299] Determine the number of segments each path contains;

[0300] According to the distribution information of each historical traffic flow path, determine the traffic flow value passing through each path in the corresponding historical period;

[0301] According to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, the distance between each two historical traffic flow path distribution information is determined;

[0302] According to the distance between every two pieces of historical traffic path distribution information, multiple pieces of historical traffic path distribution information are clustered to obtain at least one traffic path distribution class.

[0303] In one example, according to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, determining the distance between each two pieces of historical traffic flow path distribution information includes:

[0304] According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow sum corresponding to each historical traffic flow path distribution information is determined; wherein the road section flow sum is the sum of the traffic flow values ​​passing through each road section in the corresponding period;

[0305] According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow difference corresponding to each two historical traffic flow path distribution information is determined; wherein the road section flow difference is the sum of the differences in the traffic flow values ​​passing through each road section in the corresponding two periods;

[0306] The distance between each pair of historical traffic path distribution information is determined based on the sum of the road section flow corresponding to each piece of historical traffic path distribution information and the difference in road section flow corresponding to each pair of historical traffic path distribution information.

[0307] In one example, according to the distance between each two pieces of historical traffic path distribution information, a plurality of historical traffic path distribution information are clustered to obtain at least one traffic path distribution class including:

[0308] Take each traffic path distribution information as a node and build a relationship graph based on the distance between every two nodes;

[0309] According to the distance between every two nodes, split the relationship graph into at least one subgraph;

[0310] Get with each child Figure 1 A corresponding traffic path distribution class is generated, and the traffic path distribution information corresponding to the nodes contained in each subgraph is divided into the corresponding traffic path distribution class.

[0311] In one example, each traffic path distribution information is taken as a node, and a relationship graph is constructed based on the distance between each two nodes, including:

[0312] Each traffic path distribution information is regarded as a node, and each node is connected to a set number of nodes closest to itself to obtain a relationship graph.

[0313] In one example, splitting the relationship graph into at least one subgraph according to the distance between every two nodes includes:

[0314] The connection between two nodes whose distance exceeds a preset distance threshold is cut off to split the relationship graph into at least one subgraph.

[0315] In one example, the distribution class prediction module 9200 may also be used to:

[0316] Acquire a selected second feature vector, wherein the second feature vector includes a plurality of second features that affect the traffic path distribution class corresponding to the preset area during the target period; the plurality of second features include a second traffic feature and a second environmental feature;

[0317] Obtaining a second mapping function between the second eigenvector and the traffic path distribution class;

[0318] According to the second mapping function and the vector value of the second eigenvector in the current time period, the traffic path distribution class corresponding to the preset area in the target time period is obtained as the predicted traffic path distribution class.

[0319] In one example, the second traffic feature includes at least one of the traffic path distribution information of a preset area and the traffic path distribution information around the preset area; and / or, the second environmental feature includes at least one of the time, date, and weather.

[0320] In one example, obtaining a second mapping function between the second feature vector and the traffic path distribution class includes:

[0321] Use historical traffic trajectories as the second training sample;

[0322] The second mapping function is obtained through training according to the vector value of the second feature vector of the second training sample and the vehicle flow path distribution class actually corresponding to the second training sample.

[0323] In one example, the processing device may further include:

[0324] A module for obtaining actual vehicle flow trajectories within a target period as a new second training sample;

[0325] A module for correcting the second mapping function according to the vector value of the second feature vector of the new second training sample and the vehicle flow path distribution class actually corresponding to the new second training sample.

[0326] In one example, the distribution information correction module 9300 may also be used to:

[0327] Determine target traffic path distribution information representing a cluster center of a predicted traffic path distribution class;

[0328] Determine the distance between the predicted traffic flow path distribution information and the target traffic flow path distribution information;

[0329] According to the distance between the predicted traffic path distribution information and the target traffic path distribution information, the predicted traffic path distribution information is corrected so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

[0330] In one example, according to the distance between the predicted traffic path distribution information and the target traffic path distribution information, the predicted traffic path distribution information is corrected so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class including:

[0331] respectively determining the distance between each traffic path distribution information included in the predicted traffic path distribution class and the target traffic path distribution information;

[0332] Determine the maximum value of the distance between each vehicle flow path distribution information and the target vehicle flow path distribution information;

[0333] The predicted traffic path distribution information is corrected so that the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information is less than or equal to a maximum value.

[0334] In one example, determining target traffic path distribution information representing a cluster center of a predicted traffic path distribution class includes:

[0335] According to the traffic flow value passing through each path in the traffic flow path distribution information contained in the predicted traffic flow path distribution class, an optimization function between the target traffic flow value passing through each path and the index for measuring the cluster center is determined;

[0336] According to the optimization function corresponding to each path, the target traffic flow value passing through each path is determined when the index measuring the cluster center is minimized;

[0337] According to the target traffic flow value passing through each path, the target traffic flow path distribution information is obtained.

[0338] In an example, the processing device 9000 may further include:

[0339] A module for performing traffic control in a preset area based on the revised predicted traffic path distribution information.

[0340] Those skilled in the art should understand that the processing device 9000 for the traffic path distribution information can be implemented in various ways. For example, the processing device 9000 for the traffic path distribution information can be implemented by configuring the processor with instructions. For example, the instructions can be stored in a ROM, and when the device is started, the instructions are read from the ROM into a programmable device to implement the processing device 9000 for the traffic path distribution information. For example, the processing device 9000 for the traffic path distribution information can be solidified into a dedicated device (such as an ASIC). The processing device 9000 for the traffic path distribution information can be divided into independent units, or they can be combined together for implementation. The processing device 9000 for the traffic path distribution information can be implemented by one of the various implementation methods described above, or can be implemented by a combination of two or more of the various implementation methods described above.

[0341] In this embodiment, the vehicle flow path distribution information processing device 9000 can have multiple implementation forms. For example, the vehicle flow path distribution information processing device 9000 can be a functional module running in any software product or application that provides vehicle flow path distribution information processing services, or it can be an external embedded component, plug-in, patch, etc. of these software products or applications, or it can also be these software products or applications themselves.

[0342] <Electronic equipment>

[0343] In this embodiment, an electronic device 7000 is also provided. The electronic device 7000 may be Figure 1 The server 1100 shown may also be Figure 2 The terminal device 1200 is shown.

[0344] On the one hand, Fig.10 As shown, the electronic device 7000 may include the aforementioned vehicle flow path distribution information processing device 9000, which is used to implement the vehicle flow path distribution information processing method of any embodiment of the present invention.

[0345] On the other hand, Fig.11 As shown, the electronic device 7000 may also include a processor 7100 and a memory 7200, wherein the memory 7200 is used to store executable instructions; the processor 7100 is used to control the operation of the electronic device 7000 to execute the method for processing vehicle path distribution information according to any embodiment of the present invention according to the instructions.

[0346] <Computer Readable Storage Medium>

[0347] In this embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the method for processing vehicle path distribution information as in any embodiment of the present invention is implemented.

[0348] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0349] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0350] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0351] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0352] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0353] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0354] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0355] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0356] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for processing traffic path distribution information, wherein: include: Obtain the predicted traffic path distribution information of the preset area during the target period; The traffic path distribution information includes the paths in the preset area and the traffic flow values ​​passing through each path in the corresponding time period; Obtaining, from at least one vehicle flow path distribution class, a predicted vehicle flow path distribution class corresponding to the preset area in the target time period; wherein the vehicle flow path distribution class includes a clustering result obtained by clustering vehicle flow path distribution information for at least one historical time period; the at least one vehicle flow path distribution class is obtained by clustering a plurality of the historical vehicle flow path distribution information based on the distance between each two historical vehicle flow path distribution information; The predicted traffic path distribution information is corrected according to the predicted traffic path distribution class so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

2. The processing method according to claim 1, wherein: The step of obtaining the predicted traffic path distribution information of the preset area in the target period includes: Obtaining a path within the preset area; Obtain the predicted traffic flow value of each path during the target period respectively; According to the predicted traffic flow value passing through each path during the target time period, the predicted traffic flow path distribution information of the preset area during the target time period is obtained.

3. The processing method according to claim 2, wherein: Each path in the preset area is taken as the target path in turn. The step of obtaining the predicted vehicle flow value passing through the target path during the target period includes: Acquire a selected first feature vector, wherein the first feature vector includes a plurality of first features that affect the traffic flow value of the target path in a target period; the plurality of first features include a first traffic feature and a first environmental feature; Acquire a first mapping function between the first feature vector and a vehicle flow value passing through the target path; According to the first mapping function and the vector value of the first feature vector in the current time period, a predicted vehicle flow value passing through the target path in the target time period is obtained.

4. The processing method according to claim 3, wherein: The first traffic feature includes at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area; and / or the first environmental feature includes at least one of time, date, and weather.

5. The processing method according to claim 3, wherein: The step of obtaining a first mapping function between the first feature vector and the vehicle flow value passing through the target path includes: Acquire first training samples according to historical vehicle flow trajectories, wherein each first training sample includes a historical vehicle flow trajectory matching the target path; The first mapping function is obtained by training according to the vector value of the first feature vector of the first training sample and the actual vehicle flow value passing through the target path corresponding to the first training sample.

6. The processing method according to claim 5, wherein: The processing method also includes: Acquire an actual vehicle flow trajectory matching the target path within the target time period as a new first training sample; The first mapping function is modified according to the vector value of the first feature vector of the new first training sample and the actual vehicle flow value passing through the target path within the target time period corresponding to the new first training sample.

7. The processing method according to claim 1, wherein: Before obtaining the predicted traffic path distribution class corresponding to the target time period in the preset area, the method further includes: Acquire the traffic path distribution information of the preset area in multiple historical time periods as the historical traffic path distribution information; Clustering is performed on the plurality of historical traffic path distribution information to obtain the at least one traffic path distribution class.

8. The processing method according to claim 7, wherein: The step of clustering the plurality of historical traffic path distribution information to obtain at least one traffic path distribution class comprises: Determine the number of segments each path contains; According to the distribution information of each historical traffic flow path, determine the traffic flow value passing through each path in the corresponding historical period; According to the number of road sections included in each path and the traffic volume value passing through the corresponding path in each historical period, the distance between each two historical traffic flow path distribution information is determined; According to the distance between each two pieces of historical traffic path distribution information, a plurality of the historical traffic path distribution information are clustered to obtain at least one of the traffic path distribution classes.

9. The processing method according to claim 8, wherein: The step of determining the distance between each pair of historical traffic flow path distribution information according to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period includes: According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow sum corresponding to each historical traffic flow path distribution information is determined; wherein the road section flow sum is the sum of the traffic flow values ​​passing through each road section in the corresponding period; According to the number of road sections included in each path and the traffic flow value passing through the corresponding path in each historical period, the road section flow difference corresponding to each two historical traffic flow path distribution information is determined; wherein the road section flow difference is the sum of the differences in the traffic flow values ​​passing through each road section in the corresponding two periods; The distance between each pair of historical traffic path distribution information is determined based on the sum of the road section flow corresponding to each piece of historical traffic path distribution information and the difference in road section flow corresponding to each pair of historical traffic path distribution information.

10. The processing method according to claim 8, wherein: The step of clustering a plurality of the historical vehicle flow path distribution information according to the distance between each two historical vehicle flow path distribution information to obtain at least one vehicle flow path distribution class comprises: Take each traffic path distribution information as a node and build a relationship graph based on the distance between every two nodes; Splitting the relationship graph into at least one subgraph according to the distance between every two nodes; A traffic path distribution class corresponding to each subgraph is obtained, and the traffic path distribution information corresponding to the nodes contained in each subgraph is divided into the corresponding traffic path distribution class.

11. The processing method according to claim 10, wherein: The step of taking each traffic path distribution information as a node and constructing a relationship graph according to the distance between each two nodes comprises: Each traffic flow path distribution information is regarded as a node, and each node is connected to a set number of nodes closest to itself to obtain the relationship graph.

12. The processing method according to claim 11, wherein: The step of splitting the relationship graph into at least one subgraph according to the distance between every two nodes comprises: The connection between two nodes whose distance exceeds a preset distance threshold is cut off to split the relationship graph into at least one subgraph.

13. The processing method according to claim 1, wherein: The step of obtaining the predicted traffic path distribution class corresponding to the preset area in the target time period includes: Acquire a selected second feature vector, wherein the second feature vector includes a plurality of second features that affect the vehicle flow path distribution class corresponding to the preset area during the target period; the plurality of second features include a second traffic feature and a second environmental feature; Obtaining a second mapping function between the second feature vector and the traffic path distribution class; According to the second mapping function and the vector value of the second feature vector in the current time period, the traffic path distribution class corresponding to the preset area in the target time period is obtained as the predicted traffic path distribution class.

14. The processing method according to claim 13, wherein: The second traffic characteristic includes at least one of the traffic path distribution information of the preset area and the traffic path distribution information around the preset area; and / or, the second environmental characteristic includes at least one of time, date, and weather.

15. The processing method according to claim 13, wherein: The step of obtaining a second mapping function between the second feature vector and the traffic path distribution class comprises: Use historical traffic trajectories as the second training sample; The second mapping function is obtained by training according to the vector value of the second feature vector of the second training sample and the traffic path distribution class actually corresponding to the second training sample.

16. The processing method according to claim 15, wherein: The processing method also includes: Acquire the actual vehicle flow trajectory within the target time period as a new second training sample; The second mapping function is modified according to the vector value of the second feature vector of the new second training sample and the vehicle flow path distribution class actually corresponding to the new second training sample.

17. The processing method according to claim 1, wherein: The step of correcting the predicted traffic path distribution information according to the predicted traffic path distribution class so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class comprises: Determining target traffic path distribution information representing a cluster center of the predicted traffic path distribution class; Determining a distance between the predicted traffic path distribution information and the target traffic path distribution information; According to the distance between the predicted traffic path distribution information and the target traffic path distribution information, the predicted traffic path distribution information is corrected so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

18. The processing method according to claim 17, wherein: The step of correcting the predicted traffic path distribution information according to the distance between the predicted traffic path distribution information and the target traffic path distribution information so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class comprises: respectively determining the distance between each piece of vehicle flow path distribution information included in the predicted vehicle flow path distribution class and the target vehicle flow path distribution information; Determine the maximum value of the distance between each vehicle flow path distribution information and the target vehicle flow path distribution information; The predicted traffic path distribution information is corrected so that the distance between the corrected predicted traffic path distribution information and the target traffic path distribution information is less than or equal to the maximum value.

19. The processing method according to claim 17, wherein: The step of determining target traffic path distribution information representing the cluster center of the predicted traffic path distribution class includes: Determine an optimization function between a target traffic flow value passing through each path and an indicator for measuring a cluster center according to the traffic flow value passing through each path in the traffic flow path distribution information contained in the predicted traffic flow path distribution class; According to the optimization function corresponding to each path, determine the target traffic flow value passing through each path when the index measuring the cluster center is minimized; According to the target vehicle flow value passing through each path, the target vehicle flow path distribution information is obtained.

20. The processing method according to any one of claims 1 to 19, wherein: The processing method also includes: Traffic control is performed on the preset area according to the corrected predicted traffic path distribution information.

21. A device for processing vehicle flow path distribution information, wherein: include: A distribution information prediction module is used to obtain the predicted traffic path distribution information of a preset area during a target period; The traffic path distribution information includes the paths in the preset area and the traffic flow values ​​passing through each path in the corresponding time period; A distribution class prediction module, used to obtain the predicted traffic path distribution class corresponding to the preset area in the target time period from at least one traffic path distribution class; wherein the traffic path distribution class includes a clustering result obtained by clustering traffic path distribution information for at least one historical time period; the at least one traffic path distribution class is obtained by clustering a plurality of the historical traffic path distribution information based on the distance between each two historical traffic path distribution information; The distribution information correction module is used to correct the predicted traffic path distribution information according to the predicted traffic path distribution class, so that the corrected predicted traffic path distribution information belongs to the predicted traffic path distribution class.

22. An electronic device, wherein: It comprises a processing device according to claim 21; or, it comprises a processor and a memory, wherein the memory is used to store executable instructions, and the instructions are used to control the processor to execute the processing method according to any one of claims 1 to 20.

23. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the processing method according to any one of claims 1 to 20 when executed by a processor.