CN111754770B - Traffic control method and device and electronic equipment - Google Patents

Traffic control method and device and electronic equipment Download PDF

Info

Publication number
CN111754770B
CN111754770B CN202010462870.6A CN202010462870A CN111754770B CN 111754770 B CN111754770 B CN 111754770B CN 202010462870 A CN202010462870 A CN 202010462870A CN 111754770 B CN111754770 B CN 111754770B
Authority
CN
China
Prior art keywords
target
track
traffic
travel
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010462870.6A
Other languages
Chinese (zh)
Other versions
CN111754770A (en
Inventor
林沛坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010462870.6A priority Critical patent/CN111754770B/en
Publication of CN111754770A publication Critical patent/CN111754770A/en
Application granted granted Critical
Publication of CN111754770B publication Critical patent/CN111754770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0145Measuring and analyzing of parameters relative to traffic conditions for specific applications for active traffic flow control

Abstract

The specification discloses a traffic control method, a traffic control device and electronic equipment, wherein the method comprises the following steps: acquiring a travel track generated when a plurality of traffic objects move from a target departure area to a target arrival area; determining a target track meeting a first preset condition according to the travel track; determining a traffic mode corresponding to the target track as a target traffic mode; and carrying out traffic control on the target path corresponding to the target track according to the target traffic mode. The traffic experience of the traffic object in the process of moving from the target departure area to the target arrival area can be improved.

Description

Traffic control method and device and electronic equipment
Technical Field
The present disclosure relates to the field of traffic control technologies, and more particularly, to a traffic control method, a traffic control apparatus, an electronic device, and a computer-readable medium.
Background
With the continuous development of economy, the travel demands of users are more and more diversified in the daily commuting process.
In the prior art, only a departure place and a destination of a user can be generally identified, and a travel mode of the user cannot be identified, so that the travel requirement of the user cannot be determined. Therefore, high-quality travel service cannot be provided for the user, and the travel experience of the user is improved.
Disclosure of Invention
An object of the present description is to provide a new solution for traffic control.
According to a first aspect of the present specification, there is provided a traffic control method comprising:
acquiring a travel track generated when a plurality of traffic objects move from a target departure area to a target arrival area;
determining a target track meeting a first preset condition according to the travel track;
determining a traffic mode corresponding to the target track as a target traffic mode;
and carrying out traffic control on the target path corresponding to the target track according to the target traffic mode.
Optionally, the obtaining of the travel track generated when the plurality of traffic objects move from the target departure area to the target arrival area includes:
acquiring position tracks of the plurality of traffic objects generated in at least one statistical period;
and extracting the travel track from the position track based on the target departure area and the target arrival area.
Optionally, the method further includes:
analyzing track points recorded in each position track and corresponding acquisition time respectively to obtain at least one pair of corresponding departure area and arrival area;
and determining the target departure area and the target arrival area according to each pair of departure area and arrival area corresponding to each position track.
Optionally, the determining, according to the travel trajectory, a target trajectory that meets a first preset condition includes:
clustering the travel tracks;
and determining the target track according to the clustering result.
Optionally, the clustering the travel tracks includes:
coding each travel track respectively to obtain corresponding track fingerprints;
and clustering the travel tracks according to the track fingerprints.
Optionally, the respectively encoding each of the travel tracks to obtain corresponding track fingerprints includes:
sampling each travel track to obtain a track point sequence consisting of a first set number of sampling tracks;
and respectively coding the track point sequence corresponding to each travel track according to a preset locality sensitive hash algorithm to obtain corresponding track fingerprints.
Optionally, the clustering result is at least one track set, where each track set includes at least one travel track;
the determining the target track according to the clustering result includes:
determining the number of travel tracks contained in each track set;
selecting a track set meeting a second preset condition as a target set according to the number;
and determining the target track according to the travel track contained in the target set.
Optionally, the determining a transportation mode corresponding to the target track includes, as a target transportation mode:
acquiring a plurality of preset traffic lines, wherein each traffic line has a corresponding traffic mode;
comparing the target track with each traffic line to obtain a traffic line matched with the target track as the target line;
and taking the traffic mode corresponding to the target line as the target traffic mode.
Optionally, the performing traffic control on the target path corresponding to the target track according to the target traffic manner includes:
setting the timing information of a signal lamp of at least one intersection in the target path under the condition that the target traffic mode is a first specified mode; alternatively, the first and second electrodes may be,
and setting the running route and/or the running frequency of the vehicles running in the target path under the condition that the target transportation mode is the second designated mode.
According to a second aspect of the present specification, there is provided a traffic control device comprising:
the system comprises a route acquisition module, a route selection module and a route selection module, wherein the route acquisition module is used for acquiring a route track generated when a plurality of traffic objects move from a target departure area to a target arrival area;
the track determining module is used for determining a target track meeting a first preset condition according to the travel track;
the mode determining module is used for determining a traffic mode corresponding to the target track as a target traffic mode;
and the traffic control module is used for carrying out traffic control on the target path corresponding to the target track according to the target traffic mode.
According to a third aspect of the present specification, there is provided an electronic apparatus comprising:
the apparatus of the second aspect of the present description; alternatively, the first and second electrodes may be,
a processor and a memory for storing executable instructions for controlling the processor to perform the method according to the first aspect of the specification.
According to a fourth aspect of the present description, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method according to the first aspect of the present description.
The predicted traffic in the target time segment is predicted according to the historical traffic of the specified road segment and the actual traffic in the previous time segment, so that the obtained predicted traffic is more accurate and timely. The traffic control is carried out on the appointed road section within the target time segment according to the predicted traffic, so that the congestion condition of the appointed road section can be effectively improved, and the travel experience of a user driving on the appointed road section is improved.
Other features of the present description and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a block diagram of one example of a hardware configuration of an electronic device that may be used to implement embodiments of the present description.
FIG. 2 is a block diagram of another example of a hardware configuration of an electronic device that may be used to implement embodiments of the present description;
FIG. 3 is a flow diagram of a traffic control method according to an embodiment of the present description;
fig. 4 is a schematic diagram of an application scenario of a traffic control method according to an embodiment of the present specification;
FIG. 5 is a flow diagram illustrating an example of a traffic control method according to an embodiment of the present description;
FIG. 6 is a block schematic diagram of a traffic control device according to an embodiment of the present description;
FIG. 7 is a functional block diagram of an electronic device provided in accordance with a first embodiment of the present description;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to a second embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present specification unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 and 2 are block diagrams of hardware configurations of an electronic device 1000 that can be used to implement a traffic control method of any embodiment of the present specification.
In one embodiment, as shown in FIG. 1, the electronic device 1000 may be a server 1100.
The server 1100 provides a computer for processing, database, and communications facilities. The server 1100 can be a unitary server or distributed servers across multiple computers or computer data centers. The server may be of various types, such as, but not limited to, a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interaction server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. For example, a server, such as a blade server, a cloud server, etc., or may be a group of servers, which may include one or more of the above types of servers, etc.
In this embodiment, the server 1100 may include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160, as shown in fig. 1.
In this embodiment, the server 1100 may also include a speaker, a microphone, and the like, which are not limited herein.
The processor 1110 may be a dedicated server processor, or may be a desktop processor, a mobile version processor, etc. which meet performance requirements, and is not limited herein. The memory 1120 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1130 includes various bus interfaces such as a serial bus interface (including a USB interface), a parallel bus interface, and the like. The communication device 1140 is capable of wired or wireless communication, for example. The display device 1150 is, for example, a liquid crystal display panel, an LED display panel touch display panel, or the like. Input devices 1160 may include, for example, a touch screen, a keyboard, and the like.
In this embodiment, the memory 1120 of the server 1100 is configured to store instructions for controlling the processor 1110 to operate to perform at least a traffic control method according to any embodiment of the present description. The skilled person can design the instructions according to the solution disclosed in the present specification. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
Although a number of devices are shown in fig. 1 for server 1100, this description may refer to only some of the devices, for example, server 1100 may refer to only memory 1120 and processor 1110.
In one embodiment, the electronic device 1000 may be a terminal device 1200 such as a PC, a notebook computer, or the like used by an operator, which is not limited herein.
In this embodiment, referring to fig. 2, the terminal device 1200 may include a processor 1210, a memory 1220, an interface means 1230, a communication means 1240, a display means 1250, an input means 1260, a speaker 1270, a microphone 1280, and the like.
The processor 1210 may be a mobile version processor. The memory 1220 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1230 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1240 may be, for example, capable of wired or wireless communication, the communication device 1240 may include a short-range communication device, such as any device that performs short-range wireless communication based on short-range wireless communication protocols, such as the Hilink protocol, wiFi (IEEE 802.11 protocol), mesh, bluetooth, zigBee, thread, Z-Wave, NFC, UWB, liFi, and the like, and the communication device 1240 may also include a long-range communication device, such as any device that performs WLAN, GPRS, 2G/3G/4G/5G long-range communication. The display device 1250 is, for example, a liquid crystal display, a touch display, or the like. The input device 1260 may include, for example, a touch screen, a keyboard, and the like. A user can input/output voice information through the speaker 1270 and the microphone 1280.
In this embodiment, the memory 1220 of the terminal device 1200 is configured to store instructions for controlling the processor 1210 to operate at least to perform a traffic control method according to any of the embodiments of the present description. The skilled person can design the instructions according to the solution disclosed in the present specification. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
Although a plurality of devices of the terminal apparatus 1200 are shown in fig. 2, the present specification may refer to only some of the devices, for example, the terminal apparatus 1200 refers to only the memory 1220, the processor 1210 and the display device 1250.
< method examples >
In the present embodiment, a traffic control method is provided. The method may be implemented by an electronic device. The electronic device may be the server 1100 as shown in fig. 1 or the terminal device 1200 as shown in fig. 2.
As shown in fig. 3, the traffic control method of the present embodiment may include the following steps S3100 to S3400:
step S3100, acquiring a route trajectory generated when a plurality of traffic objects move from the target departure area to the target arrival area.
In one embodiment of the present description, the traffic object may be an object generating a track, and the type of the traffic object may be, for example, a motor vehicle, an electric vehicle, a bus, a bicycle, a person, a ship, an airplane, a logistics vehicle, a subway, or a train.
In the embodiment of the present specification, the traffic control method will be described by taking an example in which the type of the traffic object is human.
In an embodiment of the present specification, the area ranges corresponding to the target departure area and the target arrival area may be set in advance according to an application scenario or a specific requirement. For example, the area may be a cell, a building, an industrial park, or the like.
The travel track in this embodiment can include a plurality of track points and the sampling time that corresponds the track point, and each track point represents the position that traffic object was located at the sampling time that corresponds.
The travel track can be acquired by a high-definition camera system arranged in a road or acquired by a positioning module carried by a traffic object. The positioning module can be arranged on the traffic object under the condition that the traffic object is a vehicle (a motor vehicle, an electric vehicle, a bus, a bicycle, a ship, an airplane, a logistics vehicle, a subway or a train), and can be arranged in the terminal equipment used by the traffic object under the condition that the traffic object is a pedestrian.
The positioning module may acquire the track of the traffic object through a global navigation satellite system (including GPS, beidou, galileo, or the like), or may acquire the track of the traffic object through LBS (Location Based Services).
In one embodiment of the present specification, acquiring the travel trajectories of the plurality of traffic objects moving from the target departure area to the target arrival area may include steps S3110 to S3120 as follows:
step S3110, obtaining position trajectories of a plurality of traffic objects generated in at least one statistical period.
In this embodiment, the position trajectory may represent the position of the corresponding traffic object within the corresponding statistical period.
In an embodiment of the present specification, the statistical period may be set in advance according to an application scenario or a specific requirement, for example, one statistical period may be one day.
In step S3120, a travel trajectory is extracted from the position trajectories based on the target departure area and the target arrival area.
Specifically, each position track may be analyzed, and a position track which includes track points corresponding to the target departure area and the target arrival area and whose acquisition time is before the acquisition time of the track point corresponding to the target arrival area is taken as a track to be intercepted; and for each track to be intercepted, intercepting a part (including track points corresponding to the positions of the target departure area and the target arrival area) between the track points corresponding to the positions of the target departure area and the target arrival area as a travel track.
In an embodiment of the present specification, the target departure area and the target arrival area may be set in advance according to an application scenario or a specific requirement.
In another embodiment of the present description, the target departure area and the target arrival area may be analyzed from the position trajectories of the plurality of traffic objects in at least one statistical cycle.
On the basis of the embodiment, the method may further include a step of acquiring a target departure area and a target arrival area, including:
respectively analyzing track points recorded in each position track and corresponding acquisition time to obtain at least one pair of corresponding departure area and arrival area; and determining a target departure area and a target arrival area according to each pair of departure areas and arrival areas corresponding to each position track.
In this embodiment, according to the track points recorded in each position track and the corresponding acquisition time, the staying area and the corresponding staying duration of the corresponding position track can be determined. The area range of the staying area may be set in advance according to an application scenario or specific requirements, and may be, for example, a cell, a building, or an industrial park.
Specifically, the staying area corresponding to each trace point may be determined, and the staying duration corresponding to each staying area may be determined according to the sampling time corresponding to the trace point in each staying area. And in each staying area, for any track point, another track point with the time difference between the sampling time and the sampling time smaller than the set time length is arranged. The set time length can be preset according to an application scene or specific requirements and is greater than the time interval between sampling times of adjacent track points. For example, the time interval between the sampling times of adjacent track points is 1 minute, and the set time period may be 5 minutes.
For example, one of the location tracks is that the traffic object makes a round trip between the residential place (area a) and the work place (area B) within a statistical period, i.e., from area a to area B and from area B to area a. Then, the dwell region corresponding to the position trajectory may include region a, region B, and region a.
In one embodiment, the stopping areas with stopping time duration exceeding the set time duration may be determined as a corresponding pair of departure area and arrival area according to the chronological order.
For example, according to the chronological order, the staying areas corresponding to one position track are respectively an area a, an area B, and an area a, and then two pairs of departure areas and arrival areas, which are respectively an area a and an area B, and an area B and an area a, can be obtained.
For another example, according to the time sequence, the staying areas corresponding to one position track are respectively an area a, an area B, an area C, and an area a, so that three pairs of corresponding departure areas and arrival areas can be obtained, which are respectively an area a and an area B, an area B and an area C, and an area C and an area a.
Determining the target departure area and the target arrival area according to each pair of departure area and arrival area corresponding to each position track may specifically include: and determining the number of the position tracks corresponding to each pair of the departure area and the arrival area, and selecting at least one pair of the departure area and the arrival area of which the number of the corresponding position tracks meets a third preset condition as a target departure area and a target arrival area respectively. The third preset condition may be preset according to an application scenario or specific requirements.
In one example, at least one pair of departure area and arrival area where the number of corresponding location tracks exceeds a preset first number threshold may be selected as the target departure area and the target arrival area, respectively. The first quantity threshold may be a quantity set in advance based on the position tracks according to an application scenario or a specific requirement. For example, in the case where the number of location trajectories is 1000, the first number threshold may be 500.
In another example, the departure area and the arrival area corresponding to the second set number with the largest number of position tracks may be selected as the target departure area and the target arrival area, respectively. The second set number may be set in advance according to an application scenario or a specific requirement. For example, the second set number may be 1, and then, 1 pair of departure areas and arrival areas with the largest number of corresponding location tracks may be selected, the departure area therein is used as a target departure area, and the arrival area therein is used as a target arrival area. For another example, the second set number may be 2, and then, 2 pairs of departure areas and arrival areas with the largest number of corresponding location tracks may be selected, including: departure zone a and arrival zone B, departure zone C and arrival zone D. And then taking the departure area A and the departure area C as target departure areas, taking the arrival area B and the arrival area D as target arrival areas, wherein the target departure area A corresponds to the target arrival area B, and the target departure area C corresponds to the target arrival area D.
In the case where a plurality of pairs of target departure areas and target arrival areas are obtained, the traffic control method according to the embodiment of the present specification may be executed for each pair of target departure area and target arrival area, respectively. The present embodiment will describe the traffic control method in detail in this specification, taking a pair of a target departure area and a target arrival area as an example.
Step S3200, determining a target trajectory satisfying a first preset condition according to the travel trajectory.
In one embodiment of the present specification, determining the target trajectory according to the travel trajectory may include steps S3210 to S3220 shown below:
step S3210, clustering the travel tracks.
In an embodiment of the present specification, clustering the travel tracks may include steps S3211 to S3212 as follows:
step S3211, each of the travel tracks is encoded to obtain a corresponding track fingerprint.
In an embodiment of the present specification, if the number of track points included in each travel track is the same, each travel track may be directly encoded according to a preset locality sensitive hashing algorithm to obtain a corresponding track fingerprint.
The travel tracks are encoded by using a local-sensitive hashing (LSH) algorithm, so that the probability that the track fingerprints of two travel tracks which are more similar are the same is higher.
In another embodiment of the present specification, the number of track points included in different travel tracks may be different, and then encoding each travel track respectively to obtain a corresponding track fingerprint may include the following steps S3211-1 to S3211-2:
step S3211-1, sampling each stroke track to obtain a track point sequence composed of a first set number of sampling tracks.
The first set number may be set in advance according to an application scenario or a specific requirement. For example, the first set number may be 100. Then, sampling processing may be performed on each travel track to obtain a track point sequence composed of 100 sampled track points.
In this embodiment, the sampling trace points in each trace point sequence may equally divide the trace points in the corresponding travel trace.
And S3211-2, respectively encoding a track point sequence corresponding to each travel track according to a preset locality sensitive hashing algorithm to obtain corresponding track fingerprints.
In this embodiment, the way of encoding the track point sequence is the same as the way of encoding the travel track, and is not described herein again.
Step S3212, clustering the travel tracks according to the track fingerprints.
In one embodiment of the present specification, the corresponding track trip may be clustered according to the track fingerprint based on any one of the clustering algorithms.
The clustering algorithm used in the present embodiment may be, for example, a K-Means (K Means) clustering algorithm, a mean shift clustering algorithm, a maximum Expectation (EM) clustering algorithm using a Gaussian Mixture Model (GMM), a hierarchical clustering algorithm, a Graph Community Detection (Graph Community Detection) algorithm, or a density-based clustering algorithm. In one example, the corresponding track strokes may be clustered according to the track fingerprints Based on a DBSCAN (Density-Based Spatial Clustering of Applications with Noise) Density Clustering algorithm.
In the clustering in this embodiment, the track fingerprints of the track strokes are divided into a plurality of classes composed of similar track fingerprints, and the track strokes corresponding to the track fingerprints in each class are used as a set to obtain a clustering result.
In another embodiment of the present specification, all the travel tracks may be clustered based on euclidean distances by calculating euclidean distances between every two travel tracks.
Step S3220, determining a target track according to the clustering result.
In this embodiment, the clustering result may be at least one track set, and each track set includes at least one travel track.
Then, determining the target track according to the clustering result may include steps S3221 to S3223 shown as follows:
in step S3221, the number of travel tracks included in each track set is determined.
Step S3222, selecting a trajectory set meeting a second preset condition according to the number of included travel trajectories, as a target set.
In this embodiment, the number of target sets may be one or multiple, and is not limited herein.
In one embodiment of the present specification, a third set number of trajectory sets including the largest number of travel trajectories may be selected as the target set. The third set quantity may be set in advance according to an application scenario or specific requirements, for example, the third set quantity may be 1, and then, one trajectory set with the largest number of travel trajectories may be selected as the target set.
In another embodiment of the present specification, a trajectory set including a number of travel trajectories exceeding a preset second number threshold may be selected as the target set. The second quantity threshold may be preset according to an application scenario or a specific requirement, and the second quantity may be smaller than the total number of the travel tracks acquired in step S3100. For example, in the case where the total number of travel tracks is 1000, the second number threshold may be 300. Then, a trajectory set containing more than 300 travel trajectories may be selected as the target set.
Step S3223 determines a target trajectory according to the travel trajectory included in the target set.
In one embodiment of the present specification, one of the travel tracks included in each target set may be selected as a target track.
In another embodiment of the present specification, a cluster center of each target set may be determined separately, and the cluster center may be used as a target track.
And step S3300, determining the traffic mode of the traffic object in the target track as the target traffic mode.
In one embodiment of the present specification, the method of determining the traffic manner of the traffic object in the target track may include steps S3310 to S3330 as follows:
step S3310, a plurality of preset traffic routes are obtained, each of which has a corresponding traffic mode.
In this embodiment, the transportation modes may include self-driving/driving, public transportation, subway, walking, and riding. The traffic route may reflect a moving path and a moving speed of the traffic object when the traffic object moves from the target departure area to the target arrival area according to the corresponding traffic manner.
Step S3320, comparing the target track with each traffic line to obtain a traffic line matched with the target track as a target line.
In this embodiment, the target route corresponding to each target track may be compared with the moving route reflected by each traffic route, and then the moving speed corresponding to each target track is compared with the moving speed reflected by each traffic route, so as to determine the traffic route matched with each target track, and the traffic route is used as the target route corresponding to the target track.
Step S3330, the traffic mode corresponding to the target line is used as the target traffic mode.
And obtaining the target traffic mode corresponding to each target track according to the traffic mode corresponding to each target line and the target track.
For example, if the traffic manner corresponding to the target link 1 is traffic manner 1, and the target track corresponding to the target link 1 is target track 2, then the target traffic manner corresponding to the target track 2 may be traffic manner 1.
The traffic demand that the traffic object moves from the target departure area to the target arrival area can be reflected by the target traffic mode obtained by the embodiment.
And step S3400, performing traffic control on the target path corresponding to the target track according to the target traffic mode.
In one embodiment of the present specification, the timing information of the signal light of at least one intersection in the target route may be set in a case where the target transportation mode is the first specification mode. The first designation means may be, for example, a self-driving/taxi taking.
In this embodiment, by setting the timing information of the signal lamp of at least one intersection in the target path, the traffic experience of the traffic object in the process of moving from the target departure area to the target arrival area can be improved.
The timing information may include a signal period duration of the corresponding intersection, a signal phase of the corresponding intersection, and a green time and a traffic direction corresponding to each phase of the corresponding intersection.
The signal period duration comprises the time required for the signal to run for one cycle, including the change of the signal lamp, and is equal to the sum of the green, yellow and red lamp times; and also equal to the sum of the green and yellow (typically fixed) lamp times required for all phases.
Signal phase: the signal phase in this specification is taken in a meaning well known in the art. For example, it may include that within a signal period, a sequence of signal states of one or more traffic flows with the same signal light color is called a signal phase. The signal phases are divided according to the time sequence of the signal display obtained by the traffic flow, and there are several phases according to different time sequence arrangements. Each control state corresponds to a different set of lamp color combinations, called a phase. In short, one phase is also referred to as one control state. For another example, the signal display states corresponding to a group of traffic flows which do not conflict with each other and simultaneously obtain the right of way may be referred to as signal phases. It can be seen that the signal phases are divided according to the alternation of the right of way in the intersection within one signal cycle.
The green time in this embodiment may be an actual green time or an effective green time.
The actual green time may be the time taken for the green light to turn on to turn off.
Effective green time: including the actual vehicle transit time that is effectively utilized. It is equal to the sum of the green and yellow times minus the lost time. The lost time comprises two parts, namely the time when the green light signal is turned on and the vehicle is started; when the green light is turned off and the yellow light is turned on, only the vehicle passing the stop line can pass continuously, so that a part of the lost time is the delay time of the acceleration ending of the actual green light time minus the starting time. The end lag time is the fraction of the yellow lamp time that is effectively utilized. The loss time for each phase is the difference between the start delay time and the end delay time.
Phase difference: for two intersections, it refers to the difference between the start times of green (or red) lights in the same phase at two adjacent intersections.
The absolute phase difference is a time difference between a starting point or an ending point of a green light (red light) signal in the main road coordination direction of each intersection and a starting point or an ending point of a green light (red light) signal in the main road coordination direction of a certain intersection (generally a key intersection). The relative phase difference refers to the time difference between the starting point or the ending point of the green light (red light) of the main road coordination direction signal of the adjacent intersection. The relative phase difference is equal to the difference between the absolute phase differences of the two intersections.
The above definitions are only used to illustrate specific embodiments of the present description and do not limit the scope of the description.
In another embodiment of the present specification, the operation route and/or the operation frequency of the vehicle operating in the target route may be set in the case where the target transportation mode is the second specified mode. The second designation may be, for example, public transportation.
Specifically, under the condition that the target transportation mode corresponding to the target track is a public transportation, the public transportation from the target departure area to the target arrival area can be customized according to the target track. The scheduling of the buses corresponding to the target tracks can be adjusted, and therefore the running frequency of the buses is adjusted.
According to the embodiment of the specification, a target track meeting a first preset condition is determined according to a travel track generated when a plurality of traffic objects move from a target departure area to a target arrival area; and determining a target traffic mode corresponding to the target track, and performing traffic control on a target route corresponding to the target track according to the target traffic mode. The target traffic mode can reflect the traffic demand of the traffic object moving from the target departure area to the target arrival area, so that the corresponding traffic control is performed on the target route according to the target traffic object, and the traffic experience of the traffic object moving from the target departure area to the target arrival area can be improved.
The following describes a process implemented by the traffic control method in the embodiment of the present specification by using an example shown in fig. 4.
When each traffic object moves from a target departure area to a target arrival area, the travel track of each traffic object is acquired through the terminal equipment carried by each traffic object, and the travel track is acquired by the electronic equipment.
The method comprises the steps that under the condition that travel tracks generated when a plurality of traffic objects move from a target departure area to a target arrival area are obtained, according to the travel tracks, the electronic equipment determines target tracks meeting first preset conditions, and determines traffic modes corresponding to the target tracks to serve as the target traffic modes; and carrying out traffic control on the target path corresponding to the target track according to the target traffic mode. The target traffic mode can reflect the traffic demand of the traffic object moving from the target departure area to the target arrival area, so that the corresponding traffic control is carried out on the target route according to the target traffic object, and the traffic experience of the traffic object in the process of moving from the target departure area to the target arrival area can be improved.
< example >
Fig. 5 is a flowchart illustrating an example of a traffic control method in an embodiment of the present specification.
As shown in fig. 5, the method may include:
step S5001, obtaining position tracks generated by a plurality of traffic objects in at least one statistical period.
Step S5002, analyzing the track points recorded in each position track and the corresponding acquisition time respectively to obtain at least one corresponding pair of departure area and arrival area.
Step S5003, determining a target departure area and a target arrival area according to each pair of departure area and arrival area corresponding to each position track.
In step S5004, a travel trajectory is extracted from the position trajectory based on the target departure area and the target arrival area.
Step S5005, each travel track is encoded respectively to obtain corresponding track fingerprints.
Step S5006, clustering the travel tracks according to the track fingerprints to obtain at least one track set, wherein each track set comprises at least one travel track.
In step S5007, the number of travel trajectories included in each trajectory set is determined.
Step S5008, selecting a track set meeting a second preset condition as a target set according to the number of the included travel tracks.
Step S5009 is to determine a target trajectory according to the travel trajectory included in the target set.
In the step S5010, a plurality of preset transportation lines are obtained, where each transportation line has a corresponding transportation mode.
Step S5011, comparing the target trajectory with each of the traffic routes to obtain a traffic route matched with the target trajectory, and using the traffic route as the target route.
In step S5012, the traffic method corresponding to the target link is used as the target traffic method.
And step S5013, carrying out traffic control on the target path corresponding to the target track according to the target traffic mode.
For example, when the target transportation mode is self-driving/driving, the timing information of the signal lamp at least one intersection in the target route may be set.
For another example, when the target transportation mode corresponding to the target track is a bus, the bus from the target departure area to the target arrival area may be customized according to the target track. The shift arrangement of the bus corresponding to the target track can be adjusted, and the running frequency of the bus can be adjusted.
< apparatus embodiment >
In the present embodiment, a traffic control apparatus 4000 is provided, as shown in fig. 6, and includes a route acquiring module 4100, a trajectory determining module 4200, a mode determining module 4300, and a traffic control module 4400. The journey acquiring module 4100 is configured to acquire journey trajectories generated when a plurality of traffic objects move from a target departure area to a target arrival area; the trajectory determination module 4200 is configured to determine a target trajectory satisfying a first preset condition according to a travel trajectory; the mode determining module 4300 is configured to determine a traffic mode corresponding to the target track as a target traffic mode; the traffic control module 4400 is configured to perform traffic control on a target path corresponding to a target track according to a target traffic manner.
In one embodiment of the present description, the journey acquisition module 4100 may also be configured to:
acquiring position tracks of a plurality of traffic objects generated in at least one statistical period;
and extracting the travel track from the position track based on the target departure area and the target arrival area.
In one embodiment of the present description, the traffic control device 4000 may further include:
respectively analyzing track points recorded in each position track and corresponding acquisition time to obtain at least one pair of corresponding departure area and arrival area;
and determining a target departure area and a target arrival area according to each pair of departure areas and arrival areas corresponding to each position track.
In one embodiment of the present description, the trajectory determination module 4200 may be further configured to:
clustering the travel tracks;
and determining a target track according to the clustering result.
In one embodiment of the present description, clustering the travel tracks includes:
coding each travel track respectively to obtain corresponding track fingerprints;
and clustering the travel tracks according to the track fingerprints.
In an embodiment of the present specification, encoding each of the travel tracks respectively to obtain a corresponding track fingerprint includes:
sampling each travel track to obtain a track point sequence consisting of a first set number of sampling tracks;
and respectively coding the track point sequence corresponding to each travel track according to a preset locality sensitive hash algorithm to obtain the corresponding track fingerprint.
In an embodiment of the present specification, the clustering result is at least one track set, where each track set includes at least one travel track;
determining the target trajectory according to the clustering result includes:
determining the number of travel tracks contained in each track set;
selecting a track set meeting a second preset condition as a target set according to the number;
and determining a target track according to the travel track contained in the target set.
In one embodiment of the present description, the manner determining module 4300 may be further configured to:
acquiring a plurality of preset traffic routes, wherein each traffic route has a corresponding traffic mode;
comparing the target track with each traffic line to obtain a traffic line matched with the target track as a target line;
and taking the traffic mode corresponding to the target line as a target traffic mode.
In one embodiment of the present description, the traffic control module 4400 may be further configured to:
setting time distribution information of a signal lamp of at least one intersection in a target path under the condition that the target traffic mode is a first designated mode; alternatively, the first and second electrodes may be,
and setting the running route and/or the running frequency of the vehicles running in the target path under the condition that the target transportation mode is the second specified mode.
It will be appreciated by those skilled in the art that the traffic control device 4000 may be implemented in various ways. For example, the traffic control device 4000 may be implemented by an instruction configuration processor. For example, the traffic control apparatus 4000 may be implemented by storing instructions in ROM and reading the instructions from ROM into a programmable device when the device is started. For example, the traffic control device 4000 may be cured into a dedicated device (e.g., ASIC). The traffic control device 4000 may be divided into units independent of each other, or they may be integrated together. The traffic control device 4000 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
In this embodiment, the traffic control device 4000 may have various implementations, for example, the traffic control device 4000 may be any software product or functional module running in an application program providing traffic control service, or a peripheral insert, plug-in, patch, etc. of the software product or application program, and may also be the software product or application program itself.
< electronic apparatus >
In this embodiment, an electronic device 1000 is also provided. The electronic device 1000 may be the server 1100 shown in fig. 1, or may be the terminal device 1200 shown in fig. 2.
In one aspect, as shown in fig. 7, the electronic device 1000 may include the traffic control apparatus 4000 described above for implementing the traffic control method according to any embodiment of the present disclosure.
In another aspect, as shown in fig. 8, the electronic device 1000 may further include a processor 1300 and a memory 1300, the memory 1300 being configured to store executable instructions; the processor 1300 is configured to operate the electronic device 1000 to perform a traffic control method according to any embodiment of the present description according to the control of the instructions.
< computer-readable storage Medium >
In this embodiment, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a traffic control method according to any of the embodiments of the present specification.
The present description may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the specification.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, 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 disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present specification may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present description are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, the electronic circuit being operable to execute the computer-readable program instructions.
Aspects of the present description are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the description. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. 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 terminology used herein is chosen in order to best explain the principles of the embodiments, the intended application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present description is defined by the appended claims.

Claims (11)

1. A traffic control method, comprising:
acquiring a travel track generated when a plurality of traffic objects move from a target departure area to a target arrival area;
determining a target track meeting a first preset condition according to the travel track;
acquiring a plurality of preset traffic lines, wherein each traffic line has a corresponding traffic mode; the traffic route reflects a moving path and a moving speed of a traffic object moving from a target departure area to a target arrival area according to a corresponding traffic mode;
comparing the target path corresponding to each target track with the moving path reflected by each traffic line, comparing the moving speed corresponding to each target track with the moving speed reflected by each traffic line, and determining the traffic line matched with each target track as the target line corresponding to the target track;
taking the traffic mode corresponding to the target line as a target traffic mode;
and carrying out traffic control on the target path corresponding to the target track according to the target traffic mode.
2. The method of claim 1, wherein the obtaining of the travel track generated by the plurality of traffic objects moving from the target departure area to the target arrival area comprises:
acquiring position tracks generated by the plurality of traffic objects in at least one statistical period;
and extracting the travel track from the position track based on the target departure area and the target arrival area.
3. The method of claim 2, further comprising:
respectively analyzing track points recorded in each position track and corresponding acquisition time to obtain at least one corresponding pair of departure area and arrival area;
and determining the target departure area and the target arrival area according to each pair of departure area and arrival area corresponding to each position track.
4. The method according to claim 1, wherein the determining, according to the travel trajectory, a target trajectory satisfying a first preset condition includes:
clustering the travel tracks;
and determining the target track according to the clustering result.
5. The method of claim 4, the clustering the travel tracks comprising:
coding each travel track respectively to obtain corresponding track fingerprints;
and clustering the travel tracks according to the track fingerprints.
6. The method of claim 5, wherein the encoding each of the travel tracks respectively to obtain a corresponding track fingerprint comprises:
sampling each travel track to obtain a track point sequence consisting of a first set number of sampling tracks;
and respectively coding the track point sequence corresponding to each travel track according to a preset locality sensitive hash algorithm to obtain corresponding track fingerprints.
7. The method according to claim 4, wherein the clustering result is at least one track set, wherein each track set comprises at least one travel track;
the determining the target track according to the clustering result includes:
determining the number of travel tracks contained in each track set;
selecting a track set meeting a second preset condition as a target set according to the number;
and determining the target track according to the travel track contained in the target set.
8. The method of claim 1, wherein the traffic control of the target path corresponding to the target track according to the target traffic manner comprises:
setting timing information of a signal lamp of at least one intersection in the target path under the condition that the target traffic mode is self-driving or driving; alternatively, the first and second electrodes may be,
and setting the running route and/or running frequency of the vehicles running in the target route under the condition that the target transportation mode is the public transportation.
9. A traffic control device comprising:
the system comprises a route acquisition module, a route selection module and a route selection module, wherein the route acquisition module is used for acquiring route tracks generated when a plurality of traffic objects move from a target departure area to a target arrival area;
the track determining module is used for determining a target track meeting a first preset condition according to the travel track;
the mode determining module is used for determining a traffic mode corresponding to the target track as a target traffic mode;
the traffic control module is used for carrying out traffic control on a target path corresponding to the target track according to the target traffic mode;
the manner determination module may be further operable to:
acquiring a plurality of preset traffic lines, wherein each traffic line has a corresponding traffic mode; the traffic route reflects a moving path and a moving speed of the traffic object when the traffic object moves from the target departure area to the target arrival area according to the corresponding traffic mode;
comparing the target track with each traffic line to obtain a traffic line matched with the target track as a target line;
taking the traffic mode corresponding to the target line as a target traffic mode;
the manner determination module may be further operable to:
and comparing the target path corresponding to each target track with the moving path reflected by each traffic line, comparing the moving speed corresponding to each target track with the moving speed reflected by each traffic line, and determining the traffic line matched with each target track as the target line corresponding to the target track.
10. An electronic device, comprising:
the apparatus of claim 9; alternatively, the first and second electrodes may be,
a processor and a memory for storing executable instructions for controlling the processor to perform the method of any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN202010462870.6A 2020-05-27 2020-05-27 Traffic control method and device and electronic equipment Active CN111754770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010462870.6A CN111754770B (en) 2020-05-27 2020-05-27 Traffic control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010462870.6A CN111754770B (en) 2020-05-27 2020-05-27 Traffic control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111754770A CN111754770A (en) 2020-10-09
CN111754770B true CN111754770B (en) 2022-12-23

Family

ID=72673695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010462870.6A Active CN111754770B (en) 2020-05-27 2020-05-27 Traffic control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111754770B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113920722B (en) * 2021-09-23 2023-04-14 摩拜(北京)信息技术有限公司 Intersection passing state obtaining method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751671A (en) * 2015-03-13 2015-07-01 武汉佳诺得电子科技有限公司 Bus dispatching control system and method
CN107204113A (en) * 2016-03-17 2017-09-26 高德软件有限公司 Determine the methods, devices and systems of congestion in road state
CN107689152A (en) * 2016-08-04 2018-02-13 西门子公司 Method and apparatus for carrying out traffic processing in a road network
CN107786746B (en) * 2017-10-27 2020-10-30 北京小米移动软件有限公司 Control method, device and system for traffic application and storage medium
CN208922481U (en) * 2018-06-07 2019-05-31 广东技术师范学院 A kind of Intelligent Dynamic timing traffic light systems based on vehicle flowrate video detection

Also Published As

Publication number Publication date
CN111754770A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US11068788B2 (en) Automatic generation of human-understandable geospatial descriptors
US10360800B2 (en) Warning driver of intent of others
KR20210129205A (en) Message pushing method, storage medium and server
CA2884372C (en) Public transportation navigator
US10650678B2 (en) Cognitive traffic light pattern analysis and notification
CN111341099B (en) Data processing method and device and electronic equipment
US9891879B2 (en) Enabling proximity-aware visual identification
JP2022549453A (en) Systems and methods for processing vehicle event data for trip analysis
EP3909035A2 (en) System for determining a journey of a vehicle
US10366460B2 (en) Optimized route sharing
CN111223310B (en) Information processing method and device and electronic equipment
CN111210625B (en) Traffic control method and device and electronic equipment
WO2021191685A2 (en) System and method for vehicle event data processing for identifying parking areas
CN111063189B (en) Traffic flow processing method and device and electronic equipment
Binu et al. Android based application for efficient carpooling with user tracking facility
CN111754770B (en) Traffic control method and device and electronic equipment
EP3955599A1 (en) System and method for processing vehicle event data for journey analysis
CN111815942B (en) Track processing method and device and electronic equipment
CN111199639A (en) Method, device and system for adjusting parking fence area and server
US10783782B1 (en) Vehicle management
CN111932872B (en) Traffic control method and device and electronic equipment
CN106781470B (en) Method and device for processing running speed of urban road
CN112652161B (en) Method and device for processing traffic flow path distribution information and electronic equipment
CN112836102B (en) Information display method and device
CN112950857B (en) Information display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant