CN114999184A - Method, device, equipment, storage medium and program product for updating signal time interval - Google Patents

Method, device, equipment, storage medium and program product for updating signal time interval Download PDF

Info

Publication number
CN114999184A
CN114999184A CN202210423847.5A CN202210423847A CN114999184A CN 114999184 A CN114999184 A CN 114999184A CN 202210423847 A CN202210423847 A CN 202210423847A CN 114999184 A CN114999184 A CN 114999184A
Authority
CN
China
Prior art keywords
time interval
adjacent
distance
signal control
time
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.)
Pending
Application number
CN202210423847.5A
Other languages
Chinese (zh)
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.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent Technology Co 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 Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202210423847.5A priority Critical patent/CN114999184A/en
Publication of CN114999184A publication Critical patent/CN114999184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/081Plural intersections under common control
    • G08G1/083Controlling the allocation of time between phases of a cycle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device, equipment, a storage medium and a program product for updating a signal time interval, wherein the method comprises the following steps: acquiring a signal control scheme of each time interval in a plurality of time intervals; determining the distance of a signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods; and combining at least two adjacent time interval signal control schemes included in at least one target adjacent time interval group based on the signal control scheme distance corresponding to each adjacent time interval group to obtain an updated time interval signal control scheme and an updated time interval signal control scheme.

Description

Method, device, equipment, storage medium and program product for updating signal time interval
Technical Field
The present disclosure relates to, but not limited to, the field of data processing technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for updating a signal period.
Background
The traffic signal control is a key part of dynamic management and control of urban road intersections, and plays a vital role in organizing, commanding and controlling the traffic flow direction and flow of intersections, maintaining traffic order and guaranteeing traffic safety. The essence of signal control is to separate traffic streams with conflicting traffic directions in the intersection from time to obtain right of way in different signal phases, thereby ensuring traffic order, efficiency and safety.
In order to meet traffic demands in different time periods throughout the day, urban road traffic signal control generally adopts a multi-period signal control scheme, namely, a plurality of time periods are divided, and the same signal is adopted to control time-sharing parameters such as a period, a phase sequence, a green signal ratio and the like in the same time period; for single-point optimization of signals, time division optimization is the primary link and is the premise and basis for optimization of subsequent signal timing parameters.
Disclosure of Invention
In view of the above, the embodiments of the present disclosure provide at least a method, an apparatus, a device, a storage medium, and a program product for updating a signal period.
The technical scheme of the embodiment of the disclosure is realized as follows:
in one aspect, an embodiment of the present disclosure provides a method for updating a signal period, where the method includes: acquiring a signal control scheme of each time interval in a plurality of time intervals; determining the distance of a signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods; and combining the signal control schemes of at least two adjacent time periods included in at least one target adjacent time period group based on the distance of the signal control scheme corresponding to each adjacent time period group to obtain the updated time period and the updated signal control scheme of the time period.
In some embodiments, the signaling scheme includes at least one type of signaling parameter; the determining the distance of the signaling control scheme corresponding to each adjacent time interval group comprises: for each of the adjacent time interval groups, determining a parameter distance of each of the types based on at least one type of signaling parameter of each of the adjacent time intervals in the adjacent time interval group; and determining the distance of the signal control scheme corresponding to the adjacent time interval group based on the parameter distance of each type and the preset weight of each type.
In the embodiment of the disclosure, the multiple time periods are divided into multiple adjacent time period groups, and the distance between the signaling control schemes in each adjacent time period in the adjacent time period groups is determined, so that the adjacent time period groups to be combined can be determined from the multiple time periods, and the adjacent time periods in the adjacent time period groups to be combined do not have obvious influence on the real scene after being combined.
In some embodiments, the at least one type of signal controlled parameter comprises a cycle duration and an active green duration; said determining a parameter distance of each of said types based on at least one type of signaling parameter for each of said adjacent ones of said groups of adjacent time periods comprises: determining a cycle duration distance based on the cycle duration of each of the adjacent time periods; determining an effective green light time length distance based on the effective green light time length of each of the adjacent time periods; the determining the distance of the signaling control scheme corresponding to the adjacent time period group based on the parameter distance of each type and the preset weight of each type comprises: and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the period time length distance, the effective green light time length distance, the period weight and the green light weight.
In the embodiment of the disclosure, because two types of signal control parameters, namely the period duration and the effective green light duration, are used as determining factors for determining the signal control scheme distance, the signal control scheme distance and the time dimension can be bound, and because the subsequent time interval optimization is also based on the time dimension adjustment, the pertinence of the signal control scheme distance can be stronger, and the effect of the subsequent time interval optimization is better.
In some embodiments, the valid green time period comprises a green time period for each of the plurality of phases; said determining an effective green time duration distance based on an effective green time duration of each of said adjacent said time periods, comprising: for each phase, determining the time length difference between the green light time lengths of the phases corresponding to each adjacent time period as the green light time length distance of the phase; and determining the effective green light time length distance based on the green light time length distance of each phase.
In the embodiment of the disclosure, the green light time length distance corresponding to the green light time length of each phase is determined respectively, and then the effective green light time length distance is determined based on the green light time length distance corresponding to each phase, so that the obtained effective green light time length distance is more comprehensive, and the accuracy of the distance of the signal control scheme is further improved.
In some embodiments, the signal control scheme comprises a signal control sub-scheme for each of at least one intersection; the determining the distance of the signaling control scheme corresponding to each adjacent time interval group comprises: for each adjacent time period group, determining a signal control sub-scheme distance corresponding to each intersection based on the signal control sub-scheme of each intersection of each adjacent time period in the adjacent time period group; and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the distance of the signal control sub scheme corresponding to each intersection.
In the embodiment of the present disclosure, since the distance of the signaling and control scheme corresponding to each intersection in the real scene is determined respectively, the time interval of the real scene including a plurality of intersections can be adjusted integrally.
In some embodiments, the merging, based on the distance between the signaling schemes corresponding to each of the adjacent time period groups, the signaling schemes of at least two adjacent time periods included in at least one target adjacent time period group to obtain the updated time period and the updated signaling schemes of the updated time period includes: determining at least one target adjacent time interval group based on the distance of a signal control scheme corresponding to each adjacent time interval group; the distance of the signal control scheme of the target adjacent time interval group is smaller than the distance of the signal control scheme of other adjacent time interval groups; aiming at each target adjacent time interval group, merging the signal control schemes of at least two adjacent time intervals included in the target adjacent time interval group to obtain a merging time interval corresponding to the target adjacent time interval group and a signal control scheme of the merging time interval; and obtaining the updated time interval and the updated time interval signal control scheme based on the combined time interval and the signal control scheme of the combined time interval, and the uncombined time interval and the signal control scheme of the uncombined time interval in the plurality of time intervals.
In the embodiment of the disclosure, because the adjacent time interval group with a smaller distance between the signal control schemes is used as the target adjacent time interval group to be merged, the adjacent time intervals with similar signal control schemes can be merged preferentially in the time interval merging process, and the adjacent time intervals with larger difference between the signal control schemes can be merged later, so that the probability that the merged time intervals can meet the traffic control requirement in a real scene can be improved.
In some embodiments, the signaling scheme includes at least one type of signaling parameter; the merging the signaling control schemes of at least two adjacent time periods included in the target adjacent time period group to obtain a merging time period corresponding to the target adjacent time period group and the signaling control scheme of the merging time period includes: obtaining the time interval range of the merging time interval based on the time interval ranges of the at least two adjacent time intervals; fusing the signal control parameters of each type of the at least two adjacent time intervals to obtain fused signal control parameters of each type; the signal control scheme of the merging time period comprises fusion signal control parameters of each type.
In the embodiment of the disclosure, because the adjacent time period group with the smaller distance between the signal control schemes is used as the adjacent time period group to be combined, the adjacent time periods with similar signal control schemes can be preferentially combined in the time period combination process, and the adjacent time periods with larger difference between the signal control schemes can be combined after delay, so that the probability that the combined time periods can meet the traffic control requirement in a real scene can be improved.
In some embodiments, the method further comprises: acquiring a preset time interval quantity requirement; and under the condition that the updated time interval does not meet the time interval quantity requirement, taking the updated time interval as the multiple time intervals, and returning to the step of acquiring the signal control scheme of each time interval in the multiple time intervals until the updated time interval meets the time interval quantity requirement.
In the embodiment of the disclosure, because the multiple time periods are iteratively adjusted based on the preset time period number requirement, compared with a scheme of adjusting the time period number requirement at one time, the time period optimization effect can be improved.
In another aspect, an embodiment of the present disclosure provides an apparatus for updating a signal period, where the apparatus includes:
the acquisition module is used for acquiring a signal control scheme of each time interval in a plurality of time intervals;
the determining module is used for determining the distance of the signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods;
and the merging module is used for merging the signal control schemes of at least two adjacent time periods included in at least one target adjacent time period group based on the distance of the signal control scheme corresponding to each adjacent time period group to obtain the updated time period and the updated signal control scheme of the time period.
In yet another aspect, the present disclosure provides a computer device, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements some or all of the steps of the above method when executing the program.
In yet another aspect, the disclosed embodiments provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements some or all of the steps of the above-described method.
In yet another aspect, the disclosed embodiments provide a computer program comprising computer readable code which, when run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
In yet another aspect, the disclosed embodiments provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, which when read and executed by a computer, implements some or all of the steps of the above method.
In the embodiment of the disclosure, by acquiring the signal control scheme of each time interval in multiple time intervals, dividing the multiple time intervals into at least one adjacent time interval group, and combining at least two adjacent time intervals in the adjacent time interval group, the number of time intervals can be effectively reduced, and the frequency of the change of the signal control scheme in a road scene can be reduced in the actual deployment process; meanwhile, the adjacent time period groups needing to be combined are determined according to the distance between the signal control scheme and the control scheme between at least two adjacent time periods in each adjacent time period group, so that the adjacent time periods with larger distance between the signal control scheme and the control scheme can be prevented from being combined, and the probability that the combined time periods cannot meet the traffic control requirement in a real scene is reduced. The embodiment of the disclosure can optimize the division of time intervals in time intervals, and improves the rationality of the signal control scheme in the deployment process.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the technical aspects of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flow chart illustrating an implementation of a signal period updating method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating an implementation of a signal period updating method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating an implementation flow of a method for updating a signal period according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart illustrating an implementation flow of a method for updating a signal period according to an embodiment of the present disclosure;
fig. 5 is a schematic flow chart illustrating an implementation of a signal period updating method according to an embodiment of the present disclosure;
fig. 6 is a schematic flow chart illustrating an implementation of a signal period updating method according to an embodiment of the present disclosure;
fig. 7A is a schematic flow chart illustrating an implementation of a signal period updating method according to an embodiment of the disclosure;
fig. 7B is a schematic diagram illustrating comparison of waiting time before and after updating of a signal period according to an embodiment of the disclosure;
fig. 8 is a schematic structural diagram illustrating a component of an apparatus for updating a signal period according to an embodiment of the present disclosure;
fig. 9 is a hardware entity diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated with reference to the drawings and the embodiments, the described embodiments should not be construed as limiting the present disclosure, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. Reference to the terms "first/second/third" merely distinguishes similar objects and does not denote a particular ordering for the objects, and it is understood that "first/second/third" may, where permissible, be interchanged in a particular order or sequence so that embodiments of the present disclosure described herein can be practiced other than as specifically illustrated or described herein.
The disclosed embodiments provide a method for updating a signal period, which may be performed by a processor of a computer device. The computer device refers to a device with data processing capability, such as a server, a notebook computer, a tablet computer, a desktop computer, a smart television, a set-top box, a mobile device (e.g., a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, and a portable game device). Fig. 1 is a schematic implementation flow diagram of a method for updating a signal period according to an embodiment of the present disclosure, as shown in fig. 1, the method includes the following steps S101 to S103:
step S101, obtaining a signal control scheme of each time interval in a plurality of time intervals.
The time periods are divided in advance, and the duration of each time period is set in advance. In some embodiments, the durations of the different periods may be the same. For example, the duration of each period may be 15 minutes (min). For example, each time period obtained by dividing in advance may be: 0:00:00-0:15:00, 0:15:00-0:30:00, 0:30:00-0:45:00, …, 23:30:00-23:45:00, 23:45:00-00:00: 00.
In other embodiments, the time lengths of different time periods may also be different, and in the present invention, the method for dividing the time period in advance is not specifically limited. For example, 8:00:00-9:00:00 of the peak period is set as a period of 1 hour in duration; the duration of the other time periods can be uniformly set to 15 minutes, and then the obtained time periods are as follows: 0:00-0:15:00, 0:15:00-0:30:00, 0:30:00-0:45:00, …, 8:00:00-9:00, 9:00:00-9:15:00, …, 23:30:00-23:45:00, 23:45:00-00: 00.
In some embodiments, the per-session signaling scheme may be used to control traffic lights of at least one real intersection in a road scene. At least one real intersection in the road scene can be connected through roads in any form. The real intersection of the embodiment can be a road intersection in the forms of T shape, Y shape, cross shape, X shape, dislocation, ring shape and the like.
In some embodiments, the signaling scheme (signal light control scheme) includes signaling parameters including at least one of: signal phase, signal period duration, green ratio, phase difference, green interval time, effective green time. The following explains the various signalling parameters:
signal phase: within a signal period, a sequence of signal states of one or several 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 signal phases in different time sequences. Each control state correspondingly displays a group of different lamp color combinations, which is called a phase. In short, one phase is also referred to as one control state. Taking the intersection as an example, the intersection can include 4 signal phases: the phase shifting device comprises a first phase corresponding to the north-south direction, a second phase corresponding to the east-west direction, a third phase corresponding to the north-south forward left direction and a fourth phase corresponding to the east-west forward left direction.
Signal period duration: when the signal lamp changes, the time required for the signal to run for one cycle is equal to the sum of the green, yellow and red lamp times; and also equal to the sum of the green and yellow lamp times required for all phases.
The green signal ratio: refers to the ratio of the effective green time to the length of the signal period within one period (for one signal phase).
Phase difference: it is the difference between the green (or red) light start times of the same signal phase at two (adjacent) intersections. The phase difference can be largely classified into an absolute phase difference and a relative phase difference. The relative phase difference is the difference between the green light starting times of the coordinated phases of two adjacent intersections in the linked signal system with the same cycle time of each intersection. The absolute phase difference refers to that a standard intersection is selected in the linkage signal system, the phase difference of the intersection is specified to be zero, and the phase difference of other intersections relative to the standard intersection is called as the absolute phase difference. The phase difference in the embodiments of the present disclosure refers to the relative phase difference.
Green light interval time: it is the time from the end of the green light in the phase where the right of way is lost to the start of the green light in the next phase where the right of way is obtained.
Effective green time: is 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 green light time minus the starting time plus the finishing lag time. The end lag time is the portion 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.
It should be noted that, for each time period, the traffic control scheme corresponding to the time period may be preset based on experience, or may be based on a real-time lane traffic state in the road scene, where the lane traffic state includes at least one of the following: the actual traffic of the actual intersection in the actual scene, the actual length of the lane and the length of the vehicle queue in the lane. The method can complete the acquisition of the traffic state of the lane based on at least one sensor by arranging the at least one sensor in the real scene; in other embodiments, the vehicle data detected by the network model may be used for calculation, which is not particularly limited.
In some embodiments, signal control parameters such as cycle duration and green light time of each phase can be acquired by a Webster timing method based on a real-time lane traffic state in the road scene.
Step S102, determining the distance of the signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the degree of difference between the signal control schemes of the at least two adjacent time periods.
In some embodiments, the adjacent time period group comprises at least two adjacent time periods, and the time periods within the adjacent time period group may be referred to as adjacent time periods in the embodiments described below.
In some embodiments, in the case where the number of the adjacent period groups is at least two, there is no identical period between any two adjacent period groups. For example, in the case where the plurality of epochs include four epochs of ABCD, it may be divided into an adjacent epoch group including AB and an adjacent epoch group including CD, at which time the two adjacent epoch groups do not have the same epoch.
In other embodiments, in the case where the number of the adjacent period groups is at least two, the same period exists between any two adjacent period groups. For example, in the case where the plurality of epochs include four epochs of ABCD, it may be divided into an adjacent epoch group including AB, an adjacent epoch group including BC, and an adjacent epoch group including CD, at which time the two adjacent epoch groups do not have the same epoch.
In some embodiments, the number of adjacent time periods included in the adjacent time period group is not limited by the present disclosure, and may be any integer greater than or equal to 2. When the number of the adjacent time period groups is at least two, the number of the adjacent time periods in each adjacent time period group may be the same or different.
In some embodiments, for each adjacent time interval group, the distance between the communication schemes corresponding to the adjacent time interval group characterizes the difference degree between the communication schemes corresponding to the adjacent time intervals in the adjacent time interval group. For example, in the case that the number of the adjacent time periods is two, the distance between the signaling schemes corresponding to the adjacent time period group is the distance between the signaling schemes corresponding to the two adjacent time periods; when the number of the adjacent time intervals is three, the distance between the communication control schemes of the three adjacent time intervals is the distance between the communication control schemes of the adjacent time intervals.
By the embodiment, the adjacent time period group can comprise a plurality of adjacent time periods, and at least two time periods can be combined at one time in the process of combining the adjacent time period group, so that the time period combination efficiency can be improved, the operation amount of the distance of the signal control scheme in the signal time period updating process can be reduced, and the signal time period updating efficiency can be improved.
The difference degree between the signal control schemes can be determined by comparing the difference degree between each signal control parameter in the signal control schemes.
Step S103, merging the signal control schemes of at least two adjacent time intervals included in at least one target adjacent time interval group based on the signal control scheme distance corresponding to each adjacent time interval group to obtain the updated time interval and the signal control scheme of the updated time interval.
In some embodiments, the adjacent time period group with the minimum distance between the signal control schemes may be used as the adjacent time period group that needs to be subjected to time period combination, and the signal control schemes of at least two adjacent time periods in the adjacent time period group that needs to be subjected to time period combination are combined to obtain the corresponding combination time period and the signal control scheme corresponding to the combination time period.
After the merging is completed, the time interval and the signaling control scheme corresponding to the time interval obtained in step S101 may be updated based on the obtained merging time interval and the signaling control scheme corresponding to the merging time interval, so as to obtain the signaling control scheme of the updated time interval and the updated time interval.
Illustratively, in a case where the multiple time intervals include four time intervals of ABCD, if BC is required to be combined as a group of adjacent time intervals requiring time interval combination, so as to obtain a combined time interval E, the obtained updated time interval includes AED, where the signaling schemes corresponding to time intervals a and D are not changed, and the signaling scheme corresponding to time interval E is obtained by combining the signaling scheme of time interval B and the signaling scheme of time interval C.
In the embodiment of the disclosure, by acquiring the signaling control scheme of each time interval in a plurality of time intervals, dividing the plurality of time intervals into at least one adjacent time interval group, and combining at least two adjacent time intervals in the adjacent time interval group, the number of time intervals can be effectively reduced, and the frequency of the change of the signaling control scheme in a road scene can be reduced in the actual deployment process; meanwhile, the adjacent time period groups needing to be combined are determined according to the distance between the signal control scheme and the control scheme between at least two adjacent time periods in each adjacent time period group, so that the adjacent time periods with larger distance between the signal control scheme and the control scheme can be prevented from being combined, and the probability that the combined time periods cannot meet the traffic control requirement in a real scene is reduced. The embodiment of the disclosure can optimize the division of time intervals, and improves the rationality of the signal control scheme in the deployment process.
In some embodiments, after acquiring the plurality of time periods, the plurality of time periods may be divided into at least one adjacent time period group, and the distance of the signaling scheme corresponding to each adjacent time period group is calculated. The method further comprises the following steps:
dividing the plurality of epochs into at least one of the groups of adjacent epochs; the set of adjacent time periods includes at least two of the adjacent time periods. And for each adjacent time interval group, determining the distance of the signaling scheme corresponding to the adjacent time interval group based on the signaling scheme of each adjacent time interval in the adjacent time interval group.
Wherein, in some embodiments, the number of time periods of the plurality of time periods is M, the plurality of time periods may be divided into at least one of the adjacent time period groups by: acquiring a preset adjacent time period number N, and dividing the multiple time periods into (M-N +1) adjacent time period groups based on the adjacent time period number N.
Fig. 2 is an alternative flow chart of a signal period updating method provided by the embodiment of the disclosure, which can be executed by a processor of a computer device. The signalling scheme comprises at least one type of signalling parameter. The at least one type of signal control parameter may include a signal period duration, a split ratio, a phase difference, a green light interval time, and an effective green light time. Based on fig. 1, S102 in fig. 1 may be updated to S201 to S202, which will be described in conjunction with the steps shown in fig. 2.
S201, aiming at each adjacent time interval group, determining a parameter distance of each type based on at least one type of signal control parameter of each adjacent time interval in the adjacent time interval group.
In some embodiments, for each type of signal control parameter, a parameter distance of the type of signal control parameter needs to be calculated, and the parameter distance is used for characterizing the distance between the type of signal control parameters in each adjacent time period.
Wherein, in the case that the adjacent time interval group comprises two adjacent time intervals, the difference value between the type of the signaling control parameters in the two adjacent time intervals can be used as the type of the parameter distance; in the case that the adjacent time interval group includes three or more adjacent time intervals, the intermediate signaling parameter of the type in the adjacent time interval group may be determined based on the signaling parameter of the type in each adjacent time interval, and then the parameter distance of the type may be determined based on the difference between the intermediate signaling parameter and the signaling parameter of the type in each adjacent time interval.
S202, determining the distance of the signal control scheme corresponding to the adjacent time interval group based on the parameter distance of each type and the preset weight of each type.
In some embodiments, for each type of the signaling control parameter, a preset weight set for each type of the signaling control parameter may be obtained, and after obtaining a distance of each type of the parameter, the distance of each type of the parameter may be weighted and summed based on the preset weight of each type, so as to obtain a distance of the signaling control scheme corresponding to the adjacent time period group.
In the embodiment of the disclosure, the multiple time periods are divided into multiple adjacent time period groups, and the distance between the signaling control schemes in each adjacent time period in the adjacent time period groups is determined, so that the adjacent time period groups to be combined can be determined from the multiple time periods, and the adjacent time periods in the adjacent time period groups to be combined do not have obvious influence on the real scene after being combined.
Fig. 3 is an alternative flow chart of a signal period updating method provided by the embodiment of the disclosure, which can be executed by a processor of a computer device. Based on fig. 2, the at least one type of the signaling parameter includes a period duration and an effective green duration, and S201 in fig. 2 may include S301 to S302, which will be described with reference to the steps shown in fig. 3.
Step S301, determining a period duration distance based on the period duration of each of the adjacent time periods.
Step S302, determining the effective green light time length distance based on the effective green light time length of each adjacent time interval.
In some embodiments, the cycle duration distance is used to characterize a degree of difference between cycle durations of at least one adjacent time period; the valid green time period distance is used to characterize the degree of difference between valid green time periods of at least one adjacent time period.
Illustratively, taking the example that the adjacent time interval group includes two adjacent time intervals, the cycle duration of the adjacent time interval a is 110S, and the cycle duration of the adjacent time interval B is 90S. Wherein, the difference 20S between the cycle durations of the adjacent time interval a and the adjacent time interval B can be used as the cycle duration distance; it is also possible to calculate the average cycle duration 100S of the group of adjacent periods, and determine the ratio 1.1 of the adjacent period a to the average cycle duration and the ratio 0.9 of the adjacent period B to the average cycle duration, respectively, and take the sum of the absolute values of the differences between the ratios of the adjacent periods and 1 as 0.2 as the cycle duration distance.
In some embodiments, taking the example that the adjacent time interval group includes two adjacent time intervals, the period duration distance may be implemented by equation (1):
d c =|c x -c y equation (1);
wherein d is c Is a period duration distance, c x Indicating the period duration of the adjacent period x, c y Indicating the cycle duration of the adjacent period y.
It should be noted that steps S301 and S302 may be performed synchronously.
In some embodiments, the effective green time period comprises a green time period for each of the plurality of phases. The above-described determination of the valid green light period distance based on the valid green light period of each of the adjacent periods may be realized by S3021 to S3022.
In this embodiment, the real intersection supports a plurality of traffic directions. The supported traffic flow directions are different according to different styles of road intersections. Taking an intersection as an example, the intersection can support multiple traffic directions. Assuming that "north up and south down" is taken as a reference for an intersection as an example, the 8 traffic directions required for the intersection to be controlled by the signal lamps include: the straight direction of the east inlet, the left turn direction of the east inlet, the straight direction of the south inlet, the left turn direction of the south inlet, the straight direction of the north inlet, the left turn direction of the north inlet, the straight direction of the west inlet, and the left turn direction of the west inlet. Each traffic direction corresponds to a phase.
Step S3021, for each of the phases, determining a time difference between green light durations of the phases corresponding to each of the adjacent time periods as a green light duration distance of the phase.
In some embodiments, the valid green light duration includes a green light duration corresponding to each phase in the current intersection. In the process of determining the valid green light duration distance, the green light duration distance of each phase needs to be determined based on the green light duration of each phase. For each phase, the green light duration of each adjacent time period in the phase can be obtained, and the green light duration distance of the phase is determined based on the difference between the green light durations corresponding to the phase.
For example, taking the valid green light time length as an example, including the green light time lengths corresponding to the north-south straight-going phase and the east-west straight-going phase, the green light time length difference of the north-south straight-going phase may be determined based on the green light time lengths of the north-south straight-going phase of each adjacent time period; and determining the difference degree of the green light time lengths of the east-west straight-going phases based on the green light time lengths of the east-west straight-going phases of each adjacent time period.
Step S3022, determining the effective green light duration distance based on the green light duration distance of each of the phases.
In some embodiments, after obtaining the green light duration distance corresponding to each phase, the average of the green light duration distances corresponding to each phase may be used as the valid green light duration distance.
In some embodiments, taking the example that the adjacent time period group includes two adjacent time periods, the above valid green light duration distance can be implemented by equation (2):
Figure BDA0003607671010000131
wherein d is g For effective green duration distance, n is the number of phases, i is the ith phase, g x,i Indicate adjacencyOf the ith phase of period x, g y,i The green light duration of the ith phase representing the adjacent period y.
Step S303, determining the distance of the signal control scheme corresponding to the adjacent time period group based on the period time length distance, the effective green light time length distance, the period weight and the green light weight.
In some embodiments, the corresponding cycle weight may be preset for the cycle duration, and the corresponding green light weight may be set for the effective green light duration. Based on this, the attention direction of the signal control scheme can be dynamically adjusted by adjusting the period weight and the green light weight, so that the corresponding merging strategy can be conveniently adjusted.
In some embodiments, the distance between the signaling schemes of the adjacent time period groups can be implemented by equation (3):
d A =p g d g +p c d c formula (3);
wherein d is A Distance of signalling schemes, p, for groups of adjacent time periods g Green weight corresponding to effective green duration, d g For effective green light duration distance, p c Presetting a corresponding period weight for the period duration, d c Is the cycle duration distance.
In the embodiment of the present disclosure, because two types of signal control parameters, namely the period duration and the effective green light duration, are used as determining factors for determining the signal control scheme distance, the signal control scheme distance and the time dimension can be bound, and because the subsequent time interval optimization is also based on the adjustment of the time dimension, the pertinence of the signal control scheme distance can be stronger, and the effect of the subsequent time interval optimization is better.
Fig. 4 is an alternative flow chart of a signal period updating method provided by the embodiment of the disclosure, which can be executed by a processor of a computer device. Based on fig. 2, the signal control scheme includes a signal control sub-scheme for each of at least one intersection, and S202 in fig. 2 may include S401 to S402, which will be described with reference to the steps shown in fig. 4.
Step S401, determining a distance of the signal-control sub-scheme corresponding to each intersection based on the signal-control sub-scheme of each intersection in each adjacent time period.
In some embodiments, the signaling control scheme in the present disclosure can be used for signal control of multiple intersections, where each intersection corresponds to an independent signaling control sub-scheme. Based on this, the signal control scheme comprises a signal control sub-scheme corresponding to each intersection.
Illustratively, the signaling scheme may include a first signaling sub-scheme, a second signaling sub-scheme, and an nth signaling sub-scheme corresponding to the first intersection, the second intersection, and the nth intersection, respectively. At this time, the distance of the first signaling sub-scheme corresponding to the first intersection may be determined based on the first signaling sub-scheme of each adjacent time period in the adjacent time period group, the distance of the second signaling sub-scheme corresponding to the second intersection may be determined based on the first signaling sub-scheme of each adjacent time period in the adjacent time period group, and so on, and the distance of the signaling sub-scheme corresponding to the nth intersection may be obtained.
In some embodiments, for each intersection, determining a distance of a signaling sub-scheme corresponding to the intersection based on the signaling sub-scheme of the intersection for each of the adjacent time periods comprises: for each intersection, determining a parameter distance of each type based on at least one type of signal control parameter of each adjacent time interval; and determining the distance of the signal control sub-scheme corresponding to the adjacent time interval group based on the parameter distance of each type and the preset weight of each type.
Wherein the at least one type of signal control parameter comprises a period duration and an effective green light duration; the determining the parameter distance of each type based on at least one type of signaling control parameter of each adjacent time interval comprises: determining a cycle duration distance based on the cycle duration of each of the adjacent time periods; determining an effective green light time length distance based on the effective green light time length of each adjacent time period; the determining the distance of the signaling control scheme corresponding to the adjacent time period group based on the parameter distance of each type and the preset weight of each type comprises: and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the period time length distance, the effective green light time length distance, the period weight and the green light weight.
Wherein the valid green time duration comprises a green time duration for each of a plurality of phases; said determining an effective green light duration distance based on the effective green light duration of each of said adjacent time periods comprises: determining a green light duration distance for each of said phases based on a green light duration for each of said phases for each of said adjacent time periods; determining the effective green light duration distance based on the green light duration distance for each of the phases.
Step S402, determining the distance of the signal control scheme corresponding to the adjacent time period group based on the distance of the signal control sub scheme corresponding to each intersection.
In some embodiments, the maximum value in the distance of the signaling control sub-scheme corresponding to each intersection can be taken as the distance of the signaling control scheme corresponding to the adjacent time period group; the minimum value in the distance of the signal control sub-scheme corresponding to each intersection can be taken as the distance of the signal control scheme corresponding to the adjacent time interval group; and taking the average value of the distance of the signal control sub-scheme corresponding to each intersection as the distance of the signal control scheme corresponding to the adjacent time period group.
In some embodiments, the distance of the signaling scheme corresponding to the adjacent time period group can be determined by formula (4).
Figure BDA0003607671010000151
Wherein d is xy Representing the distance, n, of the signalling scheme between adjacent time periods x and y k Indicating the number of phases, g, at the k-th crossing j,k,i Denotes the duration of green light at ith phase of kth crossing in jth (including x and y) group signal scheme, c j,k Represents the cycle duration, p, of the kth crossing of the jth group signal scheme g Weight of distance in duration of green light, p c Is the weight of the period duration distance.
In the embodiment of the present disclosure, since the distance of the signaling and control scheme corresponding to each intersection in the real scene is determined respectively, the time interval of the real scene including a plurality of intersections can be adjusted integrally.
Fig. 5 is an alternative flow chart of a signal period updating method provided by the embodiment of the disclosure, which can be executed by a processor of a computer device. Based on any of the above embodiments, taking fig. 1 as an example, S103 in fig. 1 may be updated to S501 to S502, which will be described with reference to the steps shown in fig. 5.
Step S501, determining at least one target adjacent time interval group based on the distance of the signal control scheme corresponding to each adjacent time interval group; the distance between the signal control schemes of the target adjacent time interval group is smaller than the distance between the signal control schemes of other adjacent time interval groups.
In some embodiments, the number of the target neighboring period groups may be 1, and at this time, the target neighboring period group is a neighboring period group with a smallest distance between the control schemes in the plurality of neighboring period groups. The other adjacent period group is any (all) adjacent period group except the target adjacent period group in the at least one adjacent period group.
In some embodiments, the number of the target adjacent time period groups may be N ≧ 2, where the target adjacent time period group is N adjacent time period groups with the smallest distance of the control schemes in the plurality of adjacent time period groups, and there is no same time period between the N target adjacent time period groups. For example, in the case where the plurality of periods includes four periods of ABCD, the adjacent period group including AB, the adjacent period group including BC, and the adjacent period group including CD may be divided, and the distance between the signaling schemes of the adjacent period group including AB and the adjacent period group including BC is greater than that of the adjacent period group including CD, at this time, in the case where the number of the target adjacent period groups is 2, the signaling schemes of the adjacent period group including AB and the adjacent period group including BC cannot be regarded as the adjacent period group to be merged, and the adjacent period group including AB and the adjacent period group including CD should be regarded as the adjacent period group to be merged.
In some embodiments, each adjacent time period group may be sorted according to a magnitude relationship of the distance of the signaling control scheme based on the distance of the signaling control scheme corresponding to each adjacent time period group, and the N adjacent time period groups with small distance of the signaling control scheme may be used as the at least one target adjacent time period group. In another embodiment, a preset distance threshold may be obtained, and the adjacent time period group with the distance of the signal control scheme smaller than the distance threshold is taken as the at least one target adjacent time period group.
Step S502, aiming at each target adjacent time interval group, merging the signal control schemes of at least two adjacent time intervals included in the target adjacent time interval group to obtain a merging time interval corresponding to the target adjacent time interval group and a signal control scheme of the merging time interval.
Step S503, obtaining the updated time interval and the updated time interval signal control scheme based on the signal control schemes of the combined time interval and the combined time interval, and the signal control schemes of the non-combined time interval and the non-combined time interval in the plurality of time intervals.
In some embodiments, each target adjacent time period group needs to be merged, so as to obtain a merging time period corresponding to each target adjacent time period group and a signaling control scheme corresponding to the merging time period.
The updated time interval comprises a merging time interval and a time interval which is not merged in the plurality of time intervals, and correspondingly, the signal control scheme of the updated time interval comprises a signal control scheme of the merging time interval and a signal control scheme of the time interval which is not merged in the plurality of time intervals.
For example, taking the multiple time intervals including four ABCD time intervals as an example, in the case that the adjacent time interval group including the BC is determined as the target adjacent time interval group, the adjacent time interval group including the BC may be combined, so as to obtain a combined time interval E and a corresponding signaling scheme. At this time, the resulting updated period may include the merging period E, the periods a and D where merging is not performed.
In some embodiments, the signaling scheme includes at least one type of signaling parameter. The above merging of the signaling control schemes in at least two adjacent time periods included in the target adjacent time period group to obtain a merging time period corresponding to the target adjacent time period group and the signaling control scheme in the merging time period may be implemented through steps S5021 to S5022, and includes:
step S5021, obtaining a time period range of the merging time period based on the time period ranges of the at least two adjacent time periods.
In some embodiments, the time period range is used to determine a start time and an end time of the time period. In the merging of the period ranges of at least two adjacent periods in the target adjacent period group, the period range of the merging period may be determined based on the start time and the end time of each adjacent period.
Illustratively, in the case that the target adjacent period group includes two adjacent periods BC, and the period range of B is (8:00, 9: 00), and the period range of C is (9:00, 10: 00), after the merging, a merging period with the period range of (8:00, 10: 00) may be obtained.
Step S5022, fusing the signal control parameters of each type of the at least two adjacent time intervals to obtain fused signal control parameters of each type; the signal control scheme of the merging time period comprises fusion signal control parameters of each type.
In some embodiments, the signaling scheme includes at least one type of signaling parameter. The at least one type of signal control parameter may include a signal period duration, a split ratio, a phase difference, a green light interval time, and an effective green light time. And obtaining the fusion signal control parameter of each type for the signal control parameter of each type. And obtaining the signal control scheme of the merging time period based on each type of the fused signal control parameters.
In some embodiments, in the case that the signaling scheme includes a signal cycle duration, obtaining the fused signaling parameter of the cycle duration includes: and based on the cycle duration of each adjacent time interval, taking the longest cycle duration as the fusion signal control parameter of the cycle duration. That is, the longest cycle duration is taken as the cycle duration of the integration period.
In the embodiment of the disclosure, because the adjacent time period group with a smaller distance between the signal and control schemes is used as the adjacent time period group to be combined, the adjacent time periods with similar signal and control schemes can be preferentially combined in the time period combination process, and the adjacent time periods with larger difference between the signal and control schemes can be combined after delay, so that the probability that the combined time periods can meet the traffic control requirements in a real scene can be improved.
Fig. 6 is an alternative flow chart of a method for updating a signal period provided by an embodiment of the present disclosure, which may be executed by a processor of a computer device. Based on any of the above embodiments, taking fig. 1 as an example, the method further includes S601 to S602, which will be described with reference to the steps shown in fig. 6.
Step S601, a preset time interval quantity requirement is acquired.
In some embodiments, in order to obtain the number of time periods satisfying the requirement, a preset time period number requirement may be obtained, after merging, the updated number of time periods may be checked, and in a case that the updated number of time periods does not satisfy the time period number requirement, the time period merging method in the above embodiments is performed again until the obtained updated number of time periods satisfies the time period number requirement.
In some embodiments, the number of periods requirement may be that the number of periods of the updated period is a set value; the number of time periods requirement may also be that the number of time periods of the updated time period is less than or equal to a set value.
Step S602, when the updated time interval does not satisfy the time interval quantity requirement, taking the updated time interval as the multiple time intervals, and returning to the step of obtaining the signaling control scheme of each of the multiple time intervals until the updated time interval satisfies the time interval quantity requirement.
In some embodiments, when the updated time interval does not satisfy the time interval quantity requirement, the updated time intervals need to be merged again, and whether the updated time interval obtained after merging satisfies the time interval quantity requirement is continuously determined. The obtained updated time interval may be used as a plurality of time intervals in step S101, the communication control scheme corresponding to the updated time interval is used as the communication control scheme of each time interval, and then, the communication control scheme distance corresponding to each adjacent time interval group is determined again; and combining the signal control schemes of at least two adjacent time periods included in at least one target adjacent time period group based on the distance of the signal control scheme corresponding to each adjacent time period group to obtain the updated time period and the updated signal control scheme of the time period.
Illustratively, taking the four time periods including ABCD as an example, in the case that the adjacent time period group including BC is determined as the target adjacent time period group, the target adjacent time period group may be combined to obtain a combined time period E and a corresponding signaling scheme. At this time, the resulting updated period may include the merging period E, the periods a and D that have not undergone the merging process. In the case where the number of time periods required to be the updated number of time periods needs to be less than or equal to 2, the resulting updated time period AED needs to be reused as the plurality of time periods, and the time period merging method in the above embodiment needs to be executed again to obtain the updated time periods after the merging process of the AED.
In the embodiment of the disclosure, because the multiple time periods are iteratively adjusted based on the preset time period number requirement, compared with a scheme of adjusting the time period number requirement at one time, the time period optimization effect can be improved.
The following describes an application of the signal period updating method provided by the embodiment of the present disclosure in an actual scene, and takes a traffic scene including 2 traffic lights in one traffic zone as an example.
As shown in fig. 7A, the updating method of the signal period includes the following steps S701 to S703.
S701, acquiring a signal control scheme of each time interval in a plurality of time intervals of the current area.
In some embodiments, the time of day may be divided into 15-minute time period units to obtain 96 time period units, the traffic flow data is obtained in units of each time period unit, and the signal schemes p of all the signal lamps in the current area in each time period unit are calculated by using webster algorithm j . Based on the preset combination requirement, 96 time interval units are combined to obtain n time intervals s 1 ,s 2 ,...,s n . Wherein n is less than or equal to 96, under the condition that no preset combination requirement exists, the 96 time interval units can not be combined, each time interval unit is used as a time interval, and then the signal control scheme p of each time interval in 96 time intervals of the current area can be obtained j
For convenience of explanation of the present disclosure, the current area will be described as including 2 traffic signal lamps.
S702, determining the distance of the signal control scheme corresponding to a plurality of adjacent time period groups; the adjacent time interval group comprises at least two adjacent time intervals, and the distance of the signal control scheme characterizes the difference between the signal control schemes of each time interval in the adjacent time interval group.
In some embodiments, the set of adjacent time periods comprises at least two adjacent time periods. All the time periods in the adjacent time period group have a continuous relation in the time dimension for the same adjacent time period group. Illustratively, in the case that the adjacent period group includes two adjacent periods, the two adjacent periods are in a continuous relationship in the time dimension, that is, may be merged into a new period, of course, the adjacent period group may also include three adjacent periods, and so on.
In some embodiments, the distance between the signaling schemes of the adjacent time period group is the distance between the signaling schemes of all time periods in the adjacent time period group. For convenience of explanation, the determination manner of the distance in the signaling scheme will be described by taking two periods in the adjacent period group as an example, as shown in formula (5):
Figure BDA0003607671010000201
wherein, d xy Represents the distance, n, of the control scheme between control scheme x and control scheme y k Representing the number of phases, g j,k,i Indicating the green duration of the ith phase of the kth signal in the jth (including x and y) group signal scheme, c j,k Indicating the period duration, p, of the kth signal lamp of the jth group of signal schemes g Weight of distance in duration of green light, p c Is the period time distanceThe weight of (c).
Illustratively, the green time in the signaling scheme x is [ [24,32 ]],[15,12,20,17]]The green time of the signalling scheme y is [ [26,30 ]],[10,15,25,15]]For example, the distance d between the signaling scheme x and the signaling scheme y xy Represented by the formula:
Figure BDA0003607671010000202
Figure BDA0003607671010000211
and S703, combining the adjacent time period groups with the minimum distance of the control schemes in the plurality of adjacent time period groups to obtain a plurality of updated time periods.
In some embodiments, for each phase, the phase with the longest time is selected from all the time periods corresponding to the adjacent time period group, and the combination of the plurality of signaling control schemes in the adjacent time period group is completed. Based on the above example, for example, a certain adjacent time interval group comprises two time intervals, two signal lamps in a zone have two and four phases respectively, for example, the green light time is the green light duration of two phases of the signal lamp A in the first time interval unit, and the green light duration of four phases of the signal lamp B is [ [26,30 ]],[10,15,25,15]](ii) a The green light duration of two phases of the signal light a and the green light duration of four phases of the signal light B in the second period unit are [ [24,32 ]],[15,12,20,17]]Second; the combined signal scheme should be [ [26,32 ]],[15,15,25,17]]And second. Accordingly, the two closest time intervals are combined, and the updated time intervals comprise s1, s2 n-1
S704, judging whether the updated time interval number of the plurality of time intervals meets the preset requirement.
Wherein, when the time interval number meets the preset requirement, executing S705; in the case where the number of periods does not satisfy the preset requirement, execution returns to S702.
In some embodiments, a time interval number threshold may be preset, and in the case that the updated time intervals are greater than the time interval number threshold, it is determined that the preset requirement is not met; in a case where the number of periods of the plurality of periods after the update is equal to (or smaller than) the period number threshold, it is determined that the preset requirement is satisfied.
And S705, outputting the updated multiple periods.
Please refer to fig. 7B, which illustrates a comparison of the waiting time before and after the signal period update. The abscissa in the graph represents the signal period in hours, corresponding to 24 hours of the day, and the ordinate in the graph represents the parking wait time in seconds calculated using a theoretical method for each period. As shown in fig. 7B, a broken line 71 represents the average waiting time of each time interval before the signal time interval is updated, and a bar graph 72 represents the average waiting time of each time interval after the signal time interval is updated, it can be seen that for complex traffic flow changes, the parking waiting time changes before and after the time interval division are small, which indicates that the signal time interval updating method provided by the embodiment of the present disclosure is high in reasonable degree.
Based on the foregoing embodiments, the present disclosure provides an apparatus for updating a signal period, where the apparatus includes units and modules included in the units, and may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the Processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 8 is a schematic structural diagram of a component of an updating apparatus for a signal period according to an embodiment of the present disclosure, and as shown in fig. 8, the updating apparatus 800 for a signal period includes: an obtaining module 801, a determining module 802, and a merging module 803, wherein:
an obtaining module 801, configured to obtain a signaling control scheme for each of multiple time periods;
a determining module 802, configured to determine a distance of a signaling control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods;
a merging module 803, configured to merge, based on the distance between the signaling control schemes corresponding to each of the adjacent time period groups, the signaling control schemes in at least two adjacent time periods included in at least one target adjacent time period group, so as to obtain an updated time period and the updated signaling control schemes in the updated time period.
In some embodiments, the signaling scheme includes at least one type of signaling parameter; the determining module 802 is further configured to: for each of the adjacent time interval groups, determining a parameter distance of each of the types based on at least one type of signaling parameter of each of the adjacent time intervals in the adjacent time interval group; and determining the distance of the signal control scheme corresponding to the adjacent time interval group based on the parameter distance of each type and the preset weight of each type.
In some embodiments, the at least one type of signal controlled parameter comprises a cycle duration and an active green duration; the determining module 802 is further configured to: determining a cycle duration distance based on the cycle duration of each of the adjacent time periods; determining an effective green light time length distance based on the effective green light time length of each of the adjacent time periods; and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the period time length distance, the effective green light time length distance, the period weight and the green light weight.
In the embodiment of the disclosure, because two types of signal control parameters, namely the period duration and the effective green light duration, are used as determining factors for determining the signal control scheme distance, the signal control scheme distance and the time dimension can be bound, and because the subsequent time interval optimization is also based on the time dimension adjustment, the pertinence of the signal control scheme distance can be stronger, and the effect of the subsequent time interval optimization is better.
In some embodiments, the valid green time period comprises a green time period for each of the plurality of phases; the determining module 802 is further configured to: for each phase, determining the time length difference between the green light time lengths of the phases corresponding to each adjacent time period as the green light time length distance of the phase; and determining the effective green light time length distance based on the green light time length distance of each phase.
In the embodiment of the disclosure, the time length distance of the green light corresponding to the time length of the green light of each phase is determined respectively, and then the time length distance of the effective green light is determined based on the time length distance of the green light corresponding to each phase, so that the obtained time length distance of the effective green light is more comprehensive, and the accuracy of the distance of the communication control scheme is further improved.
In some embodiments, the signal control scheme comprises a signal control sub-scheme for each of at least one intersection; the determining module 802 is further configured to: for each adjacent time period group, determining a signal control sub-scheme distance corresponding to each intersection based on the signal control sub-scheme of each intersection of each adjacent time period in the adjacent time period group; and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the distance of the signal control sub scheme corresponding to each intersection.
In the embodiment of the present disclosure, since the distance of the signaling and control scheme corresponding to each intersection in the real scene is determined respectively, the time interval of the real scene including a plurality of intersections can be adjusted integrally.
In some embodiments, the merging module 803 is further configured to: determining at least one target adjacent time interval group based on the distance of the signal control scheme corresponding to each adjacent time interval group; the distance between the signal control schemes of the target adjacent time interval group is smaller than the distance between the signal control schemes of other adjacent time interval groups; aiming at each target adjacent time interval group, merging the signal control schemes of at least two adjacent time intervals included in the target adjacent time interval group to obtain a merging time interval corresponding to the target adjacent time interval group and a signal control scheme of the merging time interval; and obtaining the updated time interval and the updated time interval based on the combined time interval and the signal control scheme of the non-combined time interval and the non-combined time interval in the plurality of time intervals.
In the embodiment of the disclosure, because the adjacent time interval group with a smaller distance between the signal control schemes is used as the target adjacent time interval group to be merged, the adjacent time intervals with similar signal control schemes can be merged preferentially in the time interval merging process, and the adjacent time intervals with larger difference between the signal control schemes can be merged later, so that the probability that the merged time intervals can meet the traffic control requirement in a real scene can be improved.
In some embodiments, the signaling scheme includes at least one type of signaling parameter; the merging module 803 is further configured to: obtaining the time interval range of the merging time interval based on the time interval ranges of the at least two adjacent time intervals; fusing the signal control parameters of each type of the at least two adjacent time periods to obtain fused signal control parameters of each type; the signal control scheme of the merging time period comprises fusion signal control parameters of each type.
In the embodiment of the disclosure, because the adjacent time period group with the smaller distance between the signal control schemes is used as the adjacent time period group to be combined, the adjacent time periods with similar signal control schemes can be preferentially combined in the time period combination process, and the adjacent time periods with larger difference between the signal control schemes can be combined after delay, so that the probability that the combined time periods can meet the traffic control requirement in a real scene can be improved.
In some embodiments, the merging module 803 is further configured to: acquiring a preset time interval quantity requirement; and under the condition that the updated time interval does not meet the time interval quantity requirement, taking the updated time interval as the multiple time intervals, and returning to the step of acquiring the signal control scheme of each time interval in the multiple time intervals until the updated time interval meets the time interval quantity requirement.
In the embodiment of the present disclosure, because the iterative adjustment is performed on the multiple time periods based on the preset time period number requirement, compared with a scheme of adjusting the time period number requirement once, the time period optimization effect can be improved.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. In some embodiments, functions of or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to perform the methods described in the above method embodiments, and for technical details not disclosed in the embodiments of the apparatuses of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
It should be noted that, in the embodiment of the present disclosure, if the method for updating the signal period is implemented in the form of a software functional module and is sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present disclosure are not limited to any specific hardware, software, or firmware, or any combination thereof.
The embodiment of the present disclosure provides a computer device, which includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements some or all of the steps of the above method when executing the program.
The disclosed embodiments provide a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, performs some or all of the steps of the above-described method. The computer readable storage medium may be transitory or non-transitory.
The disclosed embodiments provide a computer program comprising computer readable code, where the computer readable code runs in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
The disclosed embodiments provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program that when read and executed by a computer performs some or all of the steps of the above method. The computer program product may be embodied in hardware, software or a combination thereof. In some embodiments, the computer program product is embodied in a computer storage medium, and in other embodiments, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Here, it should be noted that: the foregoing description of the various embodiments is intended to highlight various differences between the embodiments, which are the same or similar and all of which are referenced. The above description of the apparatus, storage medium, computer program and computer program product embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the disclosed apparatus, storage medium, computer program and computer program product, reference is made to the description of the embodiments of the method of the present disclosure for understanding.
Fig. 9 is a schematic diagram of a hardware entity of an update apparatus of a signal period according to an embodiment of the present disclosure, and as shown in fig. 9, the hardware entity of the update apparatus 900 of the signal period includes: a processor 901 and a memory 902, wherein the memory 902 stores a computer program operable on the processor 901, and the processor 901 implements the steps in the method of any of the above embodiments when executing the program.
The Memory 902 stores a computer program executable on the processor, and the Memory 902 is configured to store instructions and applications executable by the processor 901, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the updating apparatus 900 waiting for the processor 901 and signal periods, which may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
The processor 901 implements the steps of the signal period updating method of any one of the above when executing the program. The processor 901 generally controls the overall operation of the update device 900 for signal periods.
The present disclosure provides a computer storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the method for updating a signal period as in any of the above embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present disclosure, reference is made to the description of the embodiments of the method of the present disclosure.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above processor function may be other, and the embodiments of the present disclosure are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), etc.; but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present disclosure, the sequence numbers of the above steps/processes do not mean the execution sequence, and the execution sequence of each step/process should be determined by the function and the inherent logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present disclosure may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only an embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present disclosure, and shall cover the scope of the present disclosure.

Claims (12)

1. A method for updating a signal period, the method comprising:
acquiring a signal control scheme of each time interval in a plurality of time intervals;
determining the distance of a signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods;
and combining at least two adjacent time interval signal control schemes included in at least one target adjacent time interval group based on the signal control scheme distance corresponding to each adjacent time interval group to obtain an updated time interval signal control scheme and an updated time interval signal control scheme.
2. The method of claim 1, wherein the signaling scheme comprises at least one type of signaling parameter; the determining the distance of the signaling control scheme corresponding to each adjacent time interval group comprises:
for each of the adjacent time interval groups, determining a parameter distance of each of the types based on at least one type of signaling parameter of each of the adjacent time intervals in the adjacent time interval group;
and determining the distance of the signal control scheme corresponding to the adjacent time interval group based on the parameter distance of each type and the preset weight of each type.
3. The method of claim 2, wherein the at least one type of signal controlled parameter comprises a cycle duration and an active green duration;
said determining a parameter distance of each of said types based on at least one type of signaling parameter for each of said adjacent ones of said groups of adjacent time periods comprises: determining a cycle duration distance based on the cycle duration of each of the adjacent time periods; determining an effective green light time length distance based on the effective green light time length of each of the adjacent time periods;
the determining the distance of the signaling control scheme corresponding to the adjacent time period group based on the parameter distance of each type and the preset weight of each type comprises: and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the period time length distance, the effective green light time length distance, the period weight and the green light weight.
4. The method of claim 3, wherein said valid green time period comprises a green time period for each of a plurality of phases; said determining an effective green time duration distance based on an effective green time duration of each of said adjacent said time periods, comprising:
for each phase, determining the time length difference between the green light time lengths of the phases corresponding to each adjacent time period as the green light time length distance of the phase;
determining the effective green light duration distance based on the green light duration distance for each of the phases.
5. The method of claim 1, wherein the signal control scheme comprises a signal control sub-scheme for each of at least one intersection; the determining the distance of the signaling control scheme corresponding to each adjacent time interval group comprises:
for each adjacent time period group, determining a signal control sub-scheme distance corresponding to each intersection based on the signal control sub-scheme of each intersection of each adjacent time period in the adjacent time period group;
and determining the distance of the signal control scheme corresponding to the adjacent time period group based on the distance of the signal control sub scheme corresponding to each intersection.
6. The method according to claims 1 to 5, wherein said combining the communication schemes of at least two adjacent time periods included in at least one target adjacent time period group based on the communication scheme distance corresponding to each of the adjacent time period groups to obtain the communication schemes of the updated time period and the updated time period comprises:
determining at least one target adjacent time interval group based on the distance of the signal control scheme corresponding to each adjacent time interval group; the distance between the signal control schemes of the target adjacent time interval group is smaller than the distance between the signal control schemes of other adjacent time interval groups;
aiming at each target adjacent time interval group, merging the signal control schemes of at least two adjacent time intervals included in the target adjacent time interval group to obtain a merging time interval corresponding to the target adjacent time interval group and a signal control scheme of the merging time interval;
and obtaining the updated time interval and the updated time interval based on the combined time interval and the signal control scheme of the non-combined time interval and the non-combined time interval in the plurality of time intervals.
7. The method of claim 6, wherein the signaling scheme comprises at least one type of signaling parameter; the merging the signaling control schemes of at least two adjacent time periods included in the target adjacent time period group to obtain a merging time period corresponding to the target adjacent time period group and the signaling control scheme of the merging time period includes:
obtaining the time interval range of the merging time interval based on the time interval ranges of the at least two adjacent time intervals;
fusing the signal control parameters of each type of the at least two adjacent time intervals to obtain fused signal control parameters of each type; the signal control scheme of the merging time period comprises fusion signal control parameters of each type.
8. The method of claims 1 to 7, further comprising:
acquiring a preset time interval quantity requirement;
and under the condition that the updated time interval does not meet the time interval quantity requirement, taking the updated time interval as the multiple time intervals, and returning to the step of acquiring the signal control scheme of each time interval in the multiple time intervals until the updated time interval meets the time interval quantity requirement.
9. An apparatus for updating a signal period, comprising:
the acquisition module is used for acquiring a signal control scheme of each time interval in a plurality of time intervals;
the determining module is used for determining the distance of the signal control scheme corresponding to each adjacent time interval group; the set of adjacent time periods comprises at least two adjacent said time periods; the signal control scheme distance characterizes the difference degree between the signal control schemes of the at least two adjacent time periods;
and the merging module is used for merging the signal control schemes of at least two adjacent time periods included in at least one target adjacent time period group based on the distance of the signal control scheme corresponding to each adjacent time period group to obtain the updated time period and the updated signal control scheme of the time period.
10. A computer device comprising a memory and a processor, said memory storing a computer program operable on the processor, wherein the processor when executing said program performs the steps of the method of any 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 steps of the method of any one of claims 1 to 8.
12. A computer program product comprising a non-transitory computer readable storage medium storing a computer program which, when read and executed by a computer, implements the steps of the method of any one of claims 1 to 8.
CN202210423847.5A 2022-04-21 2022-04-21 Method, device, equipment, storage medium and program product for updating signal time interval Pending CN114999184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210423847.5A CN114999184A (en) 2022-04-21 2022-04-21 Method, device, equipment, storage medium and program product for updating signal time interval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210423847.5A CN114999184A (en) 2022-04-21 2022-04-21 Method, device, equipment, storage medium and program product for updating signal time interval

Publications (1)

Publication Number Publication Date
CN114999184A true CN114999184A (en) 2022-09-02

Family

ID=83025181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210423847.5A Pending CN114999184A (en) 2022-04-21 2022-04-21 Method, device, equipment, storage medium and program product for updating signal time interval

Country Status (1)

Country Link
CN (1) CN114999184A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109887293A (en) * 2019-04-04 2019-06-14 中电海康集团有限公司 A kind of integrative design intersection Time segments division method
CN111951572A (en) * 2020-07-07 2020-11-17 永嘉县公安局交通警察大队 Time interval division optimization method for multi-time interval signal control scheme of urban road intersection
CN112509318A (en) * 2020-11-11 2021-03-16 青岛海信网络科技股份有限公司 Traffic control area division method and server
CN112652164A (en) * 2020-12-02 2021-04-13 北京北大千方科技有限公司 Traffic time interval dividing method, device and equipment
WO2021217790A1 (en) * 2020-04-26 2021-11-04 江苏智通交通科技有限公司 Time period division method for traffic signal control scheme taking intersection flow imbalance situation into consideration
CN113689690A (en) * 2020-05-16 2021-11-23 海信集团有限公司 Time period dividing method and intelligent equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109887293A (en) * 2019-04-04 2019-06-14 中电海康集团有限公司 A kind of integrative design intersection Time segments division method
WO2021217790A1 (en) * 2020-04-26 2021-11-04 江苏智通交通科技有限公司 Time period division method for traffic signal control scheme taking intersection flow imbalance situation into consideration
CN113689690A (en) * 2020-05-16 2021-11-23 海信集团有限公司 Time period dividing method and intelligent equipment
CN111951572A (en) * 2020-07-07 2020-11-17 永嘉县公安局交通警察大队 Time interval division optimization method for multi-time interval signal control scheme of urban road intersection
CN112509318A (en) * 2020-11-11 2021-03-16 青岛海信网络科技股份有限公司 Traffic control area division method and server
CN112652164A (en) * 2020-12-02 2021-04-13 北京北大千方科技有限公司 Traffic time interval dividing method, device and equipment

Similar Documents

Publication Publication Date Title
US11222389B2 (en) Coordinating on-demand transportation with autonomous vehicles
WO2019165616A1 (en) Signal light control method, related device, and system
CN108171998B (en) Intersection self-adaptive traffic signal control system based on electric alarm data and working method thereof
CN112330962B (en) Traffic signal lamp control method and device, electronic equipment and computer storage medium
CN106023619A (en) Traffic signal lamp information obtaining method, device and vehicle
CN111473789B (en) Navigation route planning method, device and equipment
EP3425608B1 (en) Traffic signal control using multiple q-learning categories
CN111028511B (en) Traffic jam early warning method and device
EP3822942A1 (en) Timing control method and apparatus for signal light, electronic device and storage medium
CN108072378B (en) Method and device for predicting destination
CN111815975B (en) Multifunctional signal lamp group binding and controlling method and device
CN113870584B (en) Game theory-based traffic intersection passing method and system
CN114999184A (en) Method, device, equipment, storage medium and program product for updating signal time interval
CN116935656B (en) Road traffic data processing method and device, electronic equipment and storage medium
CN106990708A (en) A kind of alarm clock ringing method, device and electronic equipment
CN114613162A (en) Traffic control method, system and equipment
CN112699773B (en) Traffic light identification method and device and electronic equipment
CN106997668B (en) Method and system for evaluating control efficiency of intersection annunciator by mobile phone mobile data
CN113516301A (en) Task scheduling method facing automatic driving, terminal equipment and storage medium
CN113096420B (en) Information processing method, device and system
CN109872532A (en) Automatic selection method and system for intersection signal control scheme
CN114973704A (en) Method, device, equipment and storage medium for generating signal control strategy
CN115270495A (en) Method and device for testing automatic lane changing of vehicle
TWI817039B (en) Method and system for managing access of multiple initiators to shared resources and related computer program product
CN114495526A (en) Variable lane control method, device and equipment integrating main road and auxiliary road control

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