CN114898583A - Signal lamp control scheme determining method and data processing method of intelligent traffic equipment - Google Patents
Signal lamp control scheme determining method and data processing method of intelligent traffic equipment Download PDFInfo
- Publication number
- CN114898583A CN114898583A CN202210819001.3A CN202210819001A CN114898583A CN 114898583 A CN114898583 A CN 114898583A CN 202210819001 A CN202210819001 A CN 202210819001A CN 114898583 A CN114898583 A CN 114898583A
- Authority
- CN
- China
- Prior art keywords
- data
- signal lamp
- control scheme
- signal
- determining
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/095—Traffic lights
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/096—Arrangements for giving variable traffic instructions provided with indicators in which a mark progresses showing the time elapsed, e.g. of green phase
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention provides a signal lamp control scheme determining method and a data processing method of intelligent traffic equipment, wherein the signal lamp control scheme determining method comprises the following steps: acquiring the light color information of a signal lamp, wherein the signal lamp comprises a plurality of lamp groups; when the occurrence of the light color change of the signal lamp is determined according to the light color information, generating signal lamp step data, wherein each signal lamp step data comprises the light color information of each lamp group and the light color change interval time of the signal lamp with the light color change; and determining a signal lamp control scheme according to the comparison condition among the signal lamp step data. The invention has the beneficial effects that: the control scheme of the traffic signal lamp can be quickly determined, and the software development cost is saved.
Description
Technical Field
The invention relates to the technical field of road traffic management, in particular to a signal lamp control scheme determining method and a data processing method of intelligent traffic equipment.
Background
For traffic signal lamps, a set of signal lamp control scheme is generally provided for carrying out light and dark and color switching of lamp groups, so that traffic control of automobiles and pedestrians is realized, for example, for a crossroad, the crossroad usually comprises the lamp groups in four directions of east, west, south and north and the pedestrian traffic lamp groups, the lamp groups are uniformly connected with a signal machine integrated with the signal lamp control scheme, control is realized, and in the control process, all or part of the lamp groups realize the light and dark and color change of the lamp groups, so that traffic dispersion of roads is realized.
In road traffic management, it is usually necessary to know the specific situation of a road signal lamp control scheme in a signal machine, so as to improve the traffic efficiency of an intersection in the scenes of control, analysis, prediction and the like of the intersection. For example, with the continuous advance of urban intelligent traffic, more and more intelligent traffic devices appear in front of people, and these devices are generally supported by a road signal lamp control scheme and roadside perception information, so that a traffic system has stronger abilities of perception, interconnection, analysis, prediction, control and the like in a region. However, at present, signal machines are generally produced by special manufacturers, different manufacturers have different communication standards, and some signal machines are not opened to the outside, so that the acquisition of a signal lamp control scheme is problematic.
Disclosure of Invention
The present invention is directed to solve the technical problems in the related art at least to some extent, and to achieve the above object, the present invention provides a method for determining a signal lamp control scheme, including the steps of:
acquiring light color information of a signal lamp, wherein the signal lamp comprises a plurality of lamp groups;
when the signal lamp is determined to have the light color change according to the light color information, generating signal lamp step data, wherein each signal lamp step data comprises the light color information of each lamp group and the light color change interval time of the signal lamp when the light color change occurs;
and determining a signal lamp control scheme according to the comparison condition among the signal lamp step data.
The signal lamp control scheme determining method can be used for judging the change of the signal lamp color when the signal lamp color information is acquired, and can be used as signal lamp step data after being recorded, the signal lamp control scheme is controlled periodically, so that a plurality of generated signal lamp step data including the light color information and the light color change interval time can also reflect the periodic change, and therefore the signal lamp step data are compared and can be used for determining the signal lamp control scheme.
Further, the determining the signal lamp control scheme according to the comparison condition between the signal lamp step data comprises the following steps:
setting one of the signal lamp step data as cycle head data of one cycle of the signal lamp control scheme;
comparing the cycle head data with the signal lamp step data after the cycle head data, and determining the next cycle head data according to the comparison condition;
and determining the signal lamp control scheme according to the period head data and the signal lamp step data between the period head data and the next period head data.
Further, the step of comparing the cycle header data with the signal lamp step data after the cycle header data, and determining the next cycle header data according to the comparison condition includes the steps of:
determining first signal lamp step data matched with the period head data in the signal lamp step data after the period head data as preliminary matching data;
comparing the signal lamp pace data between the period head data and the preliminary matching data with the signal lamp pace data after the preliminary matching data respectively;
if the comparison is consistent, determining the preliminary matching data as the next cycle header data;
otherwise, re-determining the next period header data in the signal lamp step data after the preliminary matching data.
Further, the step of comparing the cycle header data with the signal lamp step data after the cycle header data, and determining the next cycle header data according to the comparison condition includes the steps of:
and after the period head data are separated by a first preset number of signal lamp step data, comparing the signal lamp step data with the period head data in sequence, and determining the next period head data according to the comparison condition.
Further, the determining the signal lamp control scheme according to the comparison condition between the signal lamp step data further comprises the steps of:
when the signal lamp step data after the period head data and the period head data are continuously compared accords with a preset comparison condition, resetting the period head data, wherein the reset period head data are the signal lamp step data spaced by a second preset number after the previous period head data;
wherein the preset comparison condition comprises: the number corresponding to the signal lamp step data generated continuously reaches a preset threshold value, and/or
And the number of the signal lamp step data compared with the period head data reaches a preset comparison number.
Further, when it is determined that the signal lamp has a change in the color of the light according to the color information, generating signal lamp step data includes:
and generating the signal lamp step data through preset delay time after receiving that the first lamp group has the lamp color change, wherein the preset delay time is determined according to the number of the lamp groups.
Further, the method for determining the signal lamp control scheme further comprises the following steps:
acquiring a voltage value of the signal lamp;
and determining the light color information of the signal lamp according to the voltage value.
The invention also provides a data processing method of the intelligent traffic equipment, which is used for processing the data of the intelligent traffic equipment according to the signal lamp control scheme obtained by the signal lamp control scheme determining method.
The data processing method of the intelligent traffic equipment can be used for roadside intelligent traffic equipment, so that data processing can be carried out according to the signal lamp control scheme after the signal lamp control scheme is determined quickly and accurately, and then traffic data analysis, prediction and equipment control are realized on the intelligent traffic equipment.
The invention also proposes a computing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements a signal light control scheme determination method as described above or implements a data processing method of an intelligent transportation device as described above.
The technical effects of the computing equipment in the invention are similar to those of the signal lamp control scheme determination method and the data processing method of the intelligent traffic equipment, and are not repeated herein.
The present invention also proposes a computer-readable storage medium on which a computer program is stored which, when being executed by a processor, implements the signal light control scheme determination method as described above or implements the data processing method of an intelligent transportation device as described above.
The technical effects of the computer readable storage medium in the invention are similar to those of the signal lamp control scheme determination method and the data processing method of the intelligent traffic equipment, and are not repeated herein.
Drawings
Fig. 1 is a schematic flow chart of a method for determining a signal lamp control scheme in an embodiment of the present invention;
fig. 2 is a schematic diagram of data transmission of a traffic signal lamp according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
It is noted that the terms first, second and the like in the description and in the claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Referring to fig. 1, an embodiment of the present invention provides a method for determining a signal lamp control scheme, including:
s1, acquiring the light color information of a signal light, wherein the signal light comprises a plurality of light groups;
specifically, in the embodiment of the present invention, for the determination of the control scheme of the signal lamp, the determination is implemented based on the light color information of the signal lamp, the signal lamp includes a plurality of lamp groups, such as a vehicle communication lamp group and a pedestrian lamp group in the east-west-south-north direction, and correspondingly, the light color information of all the lamp groups is obtained at the same time.
S2, when the signal lamp is determined to have the light color change according to the light color information, generating signal lamp step data, wherein each signal lamp step data comprises the light color information of each lamp group and the light color change interval time when the signal lamp has the light color change;
when the light color information changes, if the obtained light color information is changed from green light to yellow light, the light color change can be judged, and the light color information (yellow light) of the signal lamp group is one of the light color information of the currently obtained signal lamp pace data.
Because the light color changes frequently in the signal light control process, signal light step data can be generated when the light color changes every time, and a plurality of pieces of signal light step data generated by sequentially changing the light color are signal light step data of a first step and a second step … Nth step respectively.
For the light color change interval time, in the embodiment of the present invention, the light color change interval time is determined when the light color of the whole signal lamp changes, for example, the signal lamp step data of the first step is collected when the light color of the signal lamp changes in the east-west direction, the signal lamp step data of the second step is collected when the light color of the signal lamp changes in the north-south direction, and for two adjacent steps, the light color change interval time is the interval time of the initial time of the two steps, that is, the duration time of the previous step.
And S3, determining a signal lamp control scheme according to the comparison condition of the signal lamp step data.
In signal light control, a signal light control scheme generally involves switching of a signal light color and a lamp color maintenance time in a cycle in which, when the lamp color maintenance time reaches a predetermined time, a current lamp color is switched to a next lamp color, and the next lamp color continues for a preset time, thereby continuing to cycle by cycle. In the process, the generated signal lamp step data comprising the light color information and the light color change interval time can also reflect periodic change, so that the signal lamp step data are continuously detected, each signal lamp step data is compared, the period of the signal lamp control scheme can be accurately determined, and then after the period is determined, the light color sequence and the countdown sequence of the signal lamp control scheme can be determined according to the light color recorded by the signal lamp step data and the time point of the light color change in each lamp group. Therefore, the signal lamp control scheme is determined without directly carrying out information interaction on a special interface developed by a signal machine manufacturer, and the information interaction can be realized by directly acquiring the change condition of the lamp color of the signal lamp, so that the signal lamp control scheme is lower in development cost, higher in applicability, more convenient to use and capable of avoiding multiple times of development.
In other embodiments, the light color change interval may be a light color change interval corresponding to a group of lights in the signal light in which a light color change occurs, such as an interval between when a red light changes to a green light, in which case, for a signal light ensemble comprising a plurality of light groups, a signal light step data may comprise a plurality of light color change interval times, if the east-west direction and the south-north direction generate color changes simultaneously, the new signal lamp step data is determined to have two lamp color change interval time, because the time of one color change in the east-west direction and the south-north direction may be different, the time interval between the two light color changes is different, thereby forming a signal light pace data, the method is used for comparing with other signal lamp step data to determine the period of the signal lamp control scheme, and further determine the specific signal lamp control scheme.
In an optional embodiment of the present invention, the method for determining a signal lamp control scheme further includes the steps of:
acquiring a voltage value of the signal lamp;
and determining the light color information of the signal lamp according to the voltage value.
In the embodiment of the invention, the voltage value of the signal lamp is collected to determine the light color information of the signal lamp according to the voltage value, under the normal condition, each lamp group of the signal lamp is connected with the lamp control panel for control, the voltage value of the signal lamp can be determined by acquiring data transmitted by the lamp control panel, and further the light color information of the signal lamp is obtained, specifically, the voltage value of each lamp group in the signal lamp can be compared with the preset voltage value to determine the lighting state of each display lamp in the lamp group, so as to determine the light color information of each lamp group, taking fig. 2 as an example, if the east of the signal lamp accesses three lamps of red, yellow and green of a motor vehicle, the three inputs are three inputs of a first lamp control panel, the three inputs respectively correspond to three channels of a digital-to-analog converter 1, 2 and 3, namely, the red lamp corresponds to the channel 1, the yellow lamp corresponds to the channel 2, the green lamp corresponds to the channel 3, and after the digital-to-analog conversion is completed, each channel has a conversion result value, considering the floating condition when the voltage is unstable, the lamp is turned on when the set voltage value is higher than the preset voltage value by 200V, if the conversion result of the channel 3 is more than 200V, the lamp color of the lamp group of the eastern directional motor vehicle is considered to be green, and similarly, if the voltage value of the channel 1 is more than 200V, the lamp color is red. Therefore, in the embodiment of the invention, the light colors of all the light groups in the signal lamp can be quickly judged through the voltage values, and the real-time universality is better.
In an optional embodiment of the present invention, the generating signal lamp step data when it is determined that the signal lamp has the light color change according to the light color information includes:
and generating the signal lamp step data through preset delay time after receiving that the first lamp group has the lamp color change, wherein the preset delay time is determined according to the number of the lamp groups.
In this embodiment, the signal lamp includes a plurality of lamp groups, correspondingly, when generating the signal lamp step data, each signal lamp step data includes a lamp color condition of each lamp group at the time of data generation, such as the signal lamp shown in fig. 2, which includes 4 lamp groups in the north, east, west, and north directions, each lamp group includes 3 display lamps, so that each direction includes 12 display lamps, for the lamp control panel connected in each direction, 12 display lamps are connected to the input ports of the lamp control panel through 12 lines, each input port corresponds to a conversion channel of a digital-to-analog converter, the conversion result of the digital-to-analog converter is a voltage value of the current channel, the on-off state of the lamp corresponding to the current channel can be determined through the voltage value, and then the state of each lamp group at the current intersection can be derived through the correspondence relationship between the channel and the display lamps, if it is determined that the lamp color at the current intersection has a change, the states of all lamp groups in the current direction are packed, data transmission is carried out through a serial port, and then the signal lamp control scheme is determined through the signal lamp control scheme determining method, because time delay exists in the data transmission process, and the condition that the lamp colors of a plurality of lamp groups change simultaneously exists for the multi-direction lamp groups, in the embodiment of the invention, when the lamp color change of the first lamp group is received, the lamp color information of all the current lamp groups is not determined immediately, signal lamp step data is generated by combining the lamp color change interval time, but data acquisition is carried out and the signal lamp step data is generated after a certain preset delay time, so that the time delay is eliminated, and the data integrity is ensured.
In a specific example, for the lamp control boards in the east and west directions in fig. 2, that is, the first lamp control board and the second lamp control board detect that the lamp color changes, the lamp color information of the lamp groups in the two directions is respectively packaged and sent (the two lamp control boards work independently and do not interfere with each other), the serial port transmission data is transmitted in a queue form, the first lamp control board data first arrives at the serial port, at this time, the first lamp control board data is queued, the one-directional computing device transmits the first lamp control board data, the second lamp control board data is queued in the first lamp control board data, and transmission is started after transmission is completed, the data transmission of one lamp control board needs 10ms, the first lamp control board data needs to wait 10ms after reception is completed, the transmission of the second lamp control board data is completed, at this time, the data of the step is completely and accurately calculated, if no waiting is performed, calculation is started directly after the reception of one lamp control board data is received, and the result is incorrect. Two boards need 10ms, and then four boards need 30ms, the set delay time can be slightly longer than 30ms, so the preset delay time can be set to 40ms, after waiting for 40ms, if no new data arrives, we judge that the data reception is completed, and then complete signal lamp step data is generated for determining the signal lamp control scheme.
For the lamp group without the lamp color change in the process of generating the new signal lamp step data, the lamp color data of the new signal lamp which does not send data adopts the data of the previous step, namely, the lamp color data is kept unchanged.
In the process of generating signal lamp step data and determining a signal lamp control scheme for the first time, the two previous signal lamp step data obtained in sequence can be treated as invalid data, so that the data validity is ensured.
In an optional embodiment of the present invention, the determining a signal light control scheme according to a comparison between the signal light step data includes:
setting one of the signal lamp step data as cycle head data of one cycle of the signal lamp control scheme;
comparing the cycle head data with the signal lamp step data after the cycle head data, and determining the next cycle head data according to the comparison condition;
and determining the signal lamp control scheme according to the period head data and the signal lamp step data between the period head data and the next period head data.
In the embodiment of the invention, when the signal lamp step data are compared to determine the signal lamp control scheme, the signal lamp step data can be stored for subsequent comparison after being generated, wherein the number of steps corresponding to the signal lamp step data can be recorded in the storage process to reduce unnecessary comparison. The signal lamp control scheme operates in a period, so that one period of the signal lamp control scheme is determined, and the final signal lamp control scheme can be determined by combining various types of data of signal lamps in the period.
When the comparison is carried out, the preset signal lamp step data is the period head data of one period of the signal lamp control scheme, so that the method can be understood, during the operation of the signal lamp control scheme, the signal lamp step data are continuously compared, the next period head data matched with the period head data can be found, namely, a signal lamp control scheme period is determined, the period head data, the signal lamp step data between the period head data and the next period head data represent the color change condition of the lamp group in the signal lamp control scheme period, and for the signal lamp step data, the system comprises the light color information of all the light groups, correspondingly, the time information related to the light color information of the light groups can be independently determined or collected in advance in a timing mode after all the pace data in a period are determined, and finally, the light color information and the time information jointly form a signal light control scheme.
And judging whether the data are matched and corresponding or not by combining two types of parameters with different properties, such as the light color, the light color change interval time and the like, so that two adjacent cycle heads can be accurately judged.
In an optional embodiment of the present invention, the comparing the cycle header data with the signal lamp step data after the cycle header data, and determining the next cycle header data according to the comparison includes:
determining first signal lamp step data matched with the period head data in the signal lamp step data after the period head data as preliminary matching data;
comparing the signal lamp pace data between the period head data and the preliminary matching data with the signal lamp pace data after the preliminary matching data respectively;
if the comparison is consistent, determining the preliminary matching data as the next cycle header data;
otherwise, re-determining the next period header data in the signal lamp step data after the preliminary matching data.
In this embodiment, when the next cycle header data is determined from the signal light step data after the cycle header data, the first data that is determined to match the cycle header data is regarded as the preliminary matching data, and is not directly regarded as the next cycle header data, after the preliminary matching data is determined, comparing the signal lamp step data between the period head data and the preliminary matching data with the signal lamp step data after the preliminary matching data, therefore, whether the period of the signal lamp control scheme begins to repeat or not is judged, for example, the period head data is the signal lamp step data of the third step, the preliminary matching data is the signal lamp step data of the twelfth step, if the preliminary matching data is the next period head data, the signal lamp step data of the third step through the eleventh step should correspond one-to-one to the signal lamp step data of the twelfth step through the twentieth step.
If the comparison is consistent in the comparison process, the period is repeated, and the initial matching data can be determined as the head data of the next period. Otherwise, it means that the preliminary matching data may be only data in one control cycle and cannot be regarded as header data of the next cycle, and therefore, in the signal light step data after the preliminary matching data, the search for the header data of the next cycle is performed again.
In an optional embodiment of the present invention, the comparing the cycle header data with the signal lamp step data after the cycle header data, and determining the next cycle header data according to the comparison includes:
and after the period head data are separated by a first preset number of signal lamp step data, comparing the signal lamp step data with the period head data in sequence, and determining the next period head data according to the comparison condition.
In the embodiment of the invention, the next period head data is searched after the period head data, and particularly, after the period head data is separated by the first preset number of signal lamp step data, the signal lamp step data and the period head data are compared to determine the comparison of the next period head data, so that the calculation workload is reduced, and the comparison efficiency is improved.
Wherein, first predetermined quantity can specifically be set for according to road traffic planning experience, for example, the intersection of four directions, there is not pedestrian's banks, every direction of motor vehicle banks is put according to green, yellow, red order, so in carrying out signal lamp step data generation, every direction has 3 steps, 4 directions 12 steps, so a signal lamp control scheme cycle probably is 12 steps, can set up first predetermined quantity at this moment and be 9, cycle head data regards as the data of step 0, so step 1-9 will not check up, reduced the number of times of comparison, promoted program efficiency.
In an optional embodiment of the present invention, the determining a signal light control scheme according to a comparison between the signal light step data further includes:
when the signal lamp step data after the period head data and the period head data are continuously compared accords with a preset comparison condition, resetting the period head data, wherein the reset period head data are the signal lamp step data spaced by a second preset number after the previous period head data;
wherein the preset comparison condition comprises: the number corresponding to the signal lamp step data generated continuously reaches a preset threshold value, and/or
And the number of the signal lamp step data compared with the period head data reaches a preset comparison number.
In some cases, the initially set cycle header data may be incorrect, and therefore, whether the determined cycle header data is incorrect and the cycle header data is reset is determined to ensure that the cycle of the signal lamp control scheme can be determined.
In addition, the number of the signal lamp step data compared with the cycle head data can also be determined, if the number is higher, the preset comparison number is reached, the cycle condition of a signal lamp control scheme is obviously not met, and the condition that the cycle head data is set wrongly can be shown at the moment.
In one of the above situations, the period header data may be reset, and new period header data is set in the signal light step data after the period header data, specifically, the signal light step data after the period header data may be set as the new period header data, and then the new period header data is used to determine the next period header data, where the second preset number is set to 0, and in other embodiments, the second preset number may be set to another value.
In an optional embodiment of the present invention, after determining the signal lamp control scheme, the signal lamp control scheme may be stored in the device, and the flag variable is set to 1, and the flag variable is set to 0 if the signal lamp control scheme is not determined, and when the signal lamp control scheme is changed, the flag variable may be set to 0, and corresponding data stored in the device may be subjected to a condition redetermination.
In another embodiment of the present invention, a data processing method for an intelligent transportation device performs data processing on the intelligent transportation device according to the signal lamp control scheme obtained by the signal lamp control scheme determining method.
The data processing method of the intelligent transportation equipment in the embodiment of the invention can be used for roadside intelligent transportation equipment to quickly and accurately determine the signal lamp control scheme and then perform data processing according to the signal lamp control scheme, so that traffic data analysis, prediction and equipment control are realized on the intelligent transportation equipment.
A computing device according to another embodiment of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, implements the traffic light control scheme determination method as described above, or implements the data processing method of the intelligent transportation device as described above.
The technical effects of the computing equipment in the embodiment of the invention are similar to those of the signal lamp control scheme determining method and the data processing method of the intelligent traffic equipment, and are not repeated herein.
A computer-readable storage medium of another embodiment of the present invention has stored thereon a computer program that, when executed by a processor, implements the signal light control scheme determination method as described above, or implements the data processing method of an intelligent transportation device as described above.
The technical effects of the computer readable storage medium of the invention are similar to those of the signal lamp control scheme determination method and the data processing method of the intelligent traffic equipment, and are not repeated herein.
Generally, computer instructions for carrying out the methods of the present invention may be carried using any combination of one or more computer-readable storage media. Non-transitory computer readable storage media may include any computer readable medium except for the signal itself, which is temporarily propagating.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations for aspects of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or a combination thereof, as well as conventional procedural programming languages, such as the "C" language or similar programming languages, and in particular, Python languages suitable for neural network computing and TensorFlow, PyTorch-based platform frameworks may be used. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A signal lamp control scheme determination method, comprising:
acquiring the light color information of a signal lamp, wherein the signal lamp comprises a plurality of lamp groups;
when the signal lamp is determined to have the light color change according to the light color information, generating signal lamp step data, wherein each signal lamp step data comprises the light color information of each lamp group and the light color change interval time of the signal lamp when the light color change occurs;
and determining a signal lamp control scheme according to the comparison condition among the signal lamp step data.
2. The signal light control scheme determination method according to claim 1, wherein the determining a signal light control scheme according to a comparison between the respective signal light step data includes:
setting one of the signal lamp step data as cycle head data of one cycle of the signal lamp control scheme;
comparing the cycle head data with the signal lamp step data after the cycle head data, and determining the next cycle head data according to the comparison condition;
and determining the signal lamp control scheme according to the period head data and the signal lamp step data between the period head data and the next period head data.
3. The signal lamp control scheme determining method according to claim 2, wherein the comparing the cycle header data with the signal lamp step data subsequent to the cycle header data, and the determining the next cycle header data according to the comparison comprises:
determining first signal lamp step data matched with the period head data in the signal lamp step data after the period head data as preliminary matching data;
comparing the signal lamp pace data between the period head data and the preliminary matching data with the signal lamp pace data after the preliminary matching data respectively;
if the comparison is consistent, determining the preliminary matching data as the next cycle header data;
otherwise, re-determining the next period header data in the signal lamp step data after the preliminary matching data.
4. The signal lamp control scheme determining method according to claim 2, wherein the comparing the cycle header data with the signal lamp step data subsequent to the cycle header data, and the determining the next cycle header data according to the comparison comprises:
and after the period head data are separated by a first preset number of signal lamp step data, comparing the signal lamp step data with the period head data in sequence, and determining the next period head data according to the comparison condition.
5. The signal lamp control scheme determination method according to claim 4, wherein the determining a signal lamp control scheme based on the comparison between the respective signal lamp step data further comprises:
when the signal lamp step data after the period head data and the period head data are continuously compared accords with a preset comparison condition, resetting the period head data, wherein the reset period head data are the signal lamp step data spaced by a second preset number after the previous period head data;
wherein the preset comparison condition comprises: the number corresponding to the signal lamp step data generated continuously reaches a preset threshold value, and/or
And the number of the signal lamp step data compared with the period head data reaches a preset comparison number.
6. The signal lamp control scheme determination method according to any one of claims 1 to 5, wherein said generating signal lamp step data when it is determined that the signal lamp has a change in the lamp color based on the lamp color information includes:
and generating the signal lamp step data through preset delay time after receiving that the first lamp group has the lamp color change, wherein the preset delay time is determined according to the number of the lamp groups.
7. The signal lamp control scheme determining method according to any one of claims 1 to 5, further comprising:
acquiring a voltage value of the signal lamp;
and determining the light color information of the signal lamp according to the voltage value.
8. A data processing method of an intelligent transportation device, characterized in that the data processing of the intelligent transportation device is performed according to the signal light control scheme obtained by the signal light control scheme determination method according to any one of claims 1 to 7.
9. A computing device, characterized by comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the signal light control scheme determination method according to any one of claims 1 to 7 or implements the data processing method of an intelligent transportation device according to any one of claims 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the signal light control scheme determination method according to any one of claims 1 to 7, or carries out the data processing method of an intelligent transportation device according to any one of claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210819001.3A CN114898583B (en) | 2022-07-13 | 2022-07-13 | Signal lamp control scheme determining method and data processing method of intelligent traffic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210819001.3A CN114898583B (en) | 2022-07-13 | 2022-07-13 | Signal lamp control scheme determining method and data processing method of intelligent traffic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114898583A true CN114898583A (en) | 2022-08-12 |
CN114898583B CN114898583B (en) | 2022-11-25 |
Family
ID=82730088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210819001.3A Active CN114898583B (en) | 2022-07-13 | 2022-07-13 | Signal lamp control scheme determining method and data processing method of intelligent traffic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114898583B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116434576A (en) * | 2022-12-12 | 2023-07-14 | ***数字城市科技有限公司 | Traffic light timing scheme determining method, device, system and equipment |
Citations (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116508A (en) * | 2007-11-05 | 2009-05-28 | Toyota Central R&D Labs Inc | Device for estimating signal information |
CN202210355U (en) * | 2011-09-15 | 2012-05-02 | 深圳市林润实业有限公司 | Road LED display intelligent countdown device |
CN102692882A (en) * | 2012-06-21 | 2012-09-26 | 上海理工大学 | Wireless video control device for servo motor |
CN104956418A (en) * | 2013-01-25 | 2015-09-30 | 三菱电机株式会社 | Movement assistance device and movement assistance method |
CN105023452A (en) * | 2014-04-24 | 2015-11-04 | 深圳市赛格导航科技股份有限公司 | Multipath traffic signal lamp signal acquisition method and device |
CN105679072A (en) * | 2016-02-23 | 2016-06-15 | 福州大学 | Automatic generation method for green conflict detection matrix data |
CN105809993A (en) * | 2016-06-06 | 2016-07-27 | 北方工业大学 | Method for calculating intersection signal lamp timing based on vehicle stop line passing time |
CN105844933A (en) * | 2016-05-16 | 2016-08-10 | 晋城市通平交通科技有限公司 | Traffic signal advance guide display device |
CN106415676A (en) * | 2014-01-31 | 2017-02-15 | 丰田自动车株式会社 | Traffic-light cycle length estimation device |
CN106781582A (en) * | 2016-12-26 | 2017-05-31 | 乐视汽车(北京)有限公司 | Traffic lights auxiliary display method, device and car-mounted terminal |
CN106781493A (en) * | 2016-12-30 | 2017-05-31 | 迈锐数据(北京)有限公司 | A kind of vehicle queue length simulation system, method and apparatus |
CN107179724A (en) * | 2017-07-14 | 2017-09-19 | 爱易成技术(天津)有限公司 | A kind of traffic light signals cycle harvester |
CN107749185A (en) * | 2017-09-26 | 2018-03-02 | 同济大学 | A kind of traffic light signal periodicity extraction method based on drive recorder data |
CN107945517A (en) * | 2017-12-29 | 2018-04-20 | 迈锐数据(北京)有限公司 | A kind of traffic data processing apparatus |
CN108288379A (en) * | 2018-02-01 | 2018-07-17 | 迈锐数据(北京)有限公司 | A kind of processing method and processing device of traffic data |
CN208156877U (en) * | 2018-05-18 | 2018-11-27 | 上海会为智能技术有限公司 | Traffic lights data collector |
CN109544957A (en) * | 2018-10-18 | 2019-03-29 | 中国电子科技集团公司第二十八研究所 | A kind of path guiding system of real-time display signal lamp data |
CN110503822A (en) * | 2018-05-18 | 2019-11-26 | 杭州海康威视***技术有限公司 | The method and apparatus for determining traffic plan |
CN110738863A (en) * | 2018-07-19 | 2020-01-31 | 北京嘀嘀无限科技发展有限公司 | Method and device for determining signal lamp period, timing change time and passing duration |
CN110910665A (en) * | 2019-11-06 | 2020-03-24 | 北京百度网讯科技有限公司 | Signal lamp control method and device and computer equipment |
CN110956758A (en) * | 2019-12-19 | 2020-04-03 | 中邮智递科技有限公司 | Express delivery cabinet lock accuse board communication system and intelligent express delivery cabinet |
CN210606080U (en) * | 2019-12-05 | 2020-05-22 | 上海宝康电子控制工程有限公司 | Signal lamp data acquisition system |
CN111681428A (en) * | 2020-06-05 | 2020-09-18 | 北京百度网讯科技有限公司 | Overflow detection method and device, electronic equipment and storage medium |
CN111815975A (en) * | 2020-09-10 | 2020-10-23 | 深圳市城市交通规划设计研究中心股份有限公司 | Multifunctional signal lamp group binding and controlling method and device |
CN112735158A (en) * | 2020-12-29 | 2021-04-30 | 武汉微创光电股份有限公司 | Signal lamp red-yellow-green lamp fault monitoring method and device |
CN113129617A (en) * | 2019-12-30 | 2021-07-16 | 华为技术有限公司 | Driving prompting method and device |
CN113220621A (en) * | 2021-05-18 | 2021-08-06 | 中国南方电网有限责任公司超高压输电公司天生桥局 | Method for adaptively adjusting data delay of high-speed differential signal data transmission interface |
CN113450588A (en) * | 2021-06-28 | 2021-09-28 | 通视(天津)信息技术有限公司 | Method and device for processing information during traffic signal lamp and electronic equipment |
CN113470379A (en) * | 2020-03-31 | 2021-10-01 | 云南金隆伟业电子有限公司 | Traffic signal machine phase acquisition and transmission method and device |
CN114662735A (en) * | 2022-02-14 | 2022-06-24 | 北京佰才邦技术股份有限公司 | Traffic signal lamp law prediction method, system and storage medium |
-
2022
- 2022-07-13 CN CN202210819001.3A patent/CN114898583B/en active Active
Patent Citations (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116508A (en) * | 2007-11-05 | 2009-05-28 | Toyota Central R&D Labs Inc | Device for estimating signal information |
CN202210355U (en) * | 2011-09-15 | 2012-05-02 | 深圳市林润实业有限公司 | Road LED display intelligent countdown device |
CN102692882A (en) * | 2012-06-21 | 2012-09-26 | 上海理工大学 | Wireless video control device for servo motor |
CN104956418A (en) * | 2013-01-25 | 2015-09-30 | 三菱电机株式会社 | Movement assistance device and movement assistance method |
CN106415676A (en) * | 2014-01-31 | 2017-02-15 | 丰田自动车株式会社 | Traffic-light cycle length estimation device |
CN105023452A (en) * | 2014-04-24 | 2015-11-04 | 深圳市赛格导航科技股份有限公司 | Multipath traffic signal lamp signal acquisition method and device |
CN105679072A (en) * | 2016-02-23 | 2016-06-15 | 福州大学 | Automatic generation method for green conflict detection matrix data |
CN105844933A (en) * | 2016-05-16 | 2016-08-10 | 晋城市通平交通科技有限公司 | Traffic signal advance guide display device |
CN105809993A (en) * | 2016-06-06 | 2016-07-27 | 北方工业大学 | Method for calculating intersection signal lamp timing based on vehicle stop line passing time |
CN106781582A (en) * | 2016-12-26 | 2017-05-31 | 乐视汽车(北京)有限公司 | Traffic lights auxiliary display method, device and car-mounted terminal |
CN106781493A (en) * | 2016-12-30 | 2017-05-31 | 迈锐数据(北京)有限公司 | A kind of vehicle queue length simulation system, method and apparatus |
CN107179724A (en) * | 2017-07-14 | 2017-09-19 | 爱易成技术(天津)有限公司 | A kind of traffic light signals cycle harvester |
CN107749185A (en) * | 2017-09-26 | 2018-03-02 | 同济大学 | A kind of traffic light signal periodicity extraction method based on drive recorder data |
CN107945517A (en) * | 2017-12-29 | 2018-04-20 | 迈锐数据(北京)有限公司 | A kind of traffic data processing apparatus |
CN108288379A (en) * | 2018-02-01 | 2018-07-17 | 迈锐数据(北京)有限公司 | A kind of processing method and processing device of traffic data |
CN208156877U (en) * | 2018-05-18 | 2018-11-27 | 上海会为智能技术有限公司 | Traffic lights data collector |
CN110503822A (en) * | 2018-05-18 | 2019-11-26 | 杭州海康威视***技术有限公司 | The method and apparatus for determining traffic plan |
CN110738863A (en) * | 2018-07-19 | 2020-01-31 | 北京嘀嘀无限科技发展有限公司 | Method and device for determining signal lamp period, timing change time and passing duration |
CN109544957A (en) * | 2018-10-18 | 2019-03-29 | 中国电子科技集团公司第二十八研究所 | A kind of path guiding system of real-time display signal lamp data |
CN110910665A (en) * | 2019-11-06 | 2020-03-24 | 北京百度网讯科技有限公司 | Signal lamp control method and device and computer equipment |
CN210606080U (en) * | 2019-12-05 | 2020-05-22 | 上海宝康电子控制工程有限公司 | Signal lamp data acquisition system |
CN110956758A (en) * | 2019-12-19 | 2020-04-03 | 中邮智递科技有限公司 | Express delivery cabinet lock accuse board communication system and intelligent express delivery cabinet |
CN113129617A (en) * | 2019-12-30 | 2021-07-16 | 华为技术有限公司 | Driving prompting method and device |
CN113470379A (en) * | 2020-03-31 | 2021-10-01 | 云南金隆伟业电子有限公司 | Traffic signal machine phase acquisition and transmission method and device |
CN111681428A (en) * | 2020-06-05 | 2020-09-18 | 北京百度网讯科技有限公司 | Overflow detection method and device, electronic equipment and storage medium |
CN111815975A (en) * | 2020-09-10 | 2020-10-23 | 深圳市城市交通规划设计研究中心股份有限公司 | Multifunctional signal lamp group binding and controlling method and device |
CN112735158A (en) * | 2020-12-29 | 2021-04-30 | 武汉微创光电股份有限公司 | Signal lamp red-yellow-green lamp fault monitoring method and device |
CN113220621A (en) * | 2021-05-18 | 2021-08-06 | 中国南方电网有限责任公司超高压输电公司天生桥局 | Method for adaptively adjusting data delay of high-speed differential signal data transmission interface |
CN113450588A (en) * | 2021-06-28 | 2021-09-28 | 通视(天津)信息技术有限公司 | Method and device for processing information during traffic signal lamp and electronic equipment |
CN114662735A (en) * | 2022-02-14 | 2022-06-24 | 北京佰才邦技术股份有限公司 | Traffic signal lamp law prediction method, system and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116434576A (en) * | 2022-12-12 | 2023-07-14 | ***数字城市科技有限公司 | Traffic light timing scheme determining method, device, system and equipment |
CN116434576B (en) * | 2022-12-12 | 2024-03-12 | ***数字城市科技有限公司 | Traffic light timing scheme determining method, device, system and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114898583B (en) | 2022-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102521357B1 (en) | Traffic light signal control method, device, equipment and storage medium | |
CN108959813B (en) | Simulation modeling method for intelligent vehicle road navigation environment model | |
CN110765661A (en) | Automatic driving simulation scene generation method and device, electronic equipment and storage medium | |
CN110992675B (en) | Intersection traffic simulation method, intersection traffic simulation device, intersection traffic simulation medium and electronic equipment | |
CN113257016B (en) | Traffic signal control method and device and readable storage medium | |
CN110782681A (en) | Traffic indicator light self-adaptive control method, device, terminal and storage medium | |
CN114898583B (en) | Signal lamp control scheme determining method and data processing method of intelligent traffic equipment | |
JP7267333B2 (en) | Traffic light image processing method, device, computer system and roadside device | |
CN111815975B (en) | Multifunctional signal lamp group binding and controlling method and device | |
CN110262413A (en) | Intelligent home furnishing control method, control device, car-mounted terminal and readable storage medium storing program for executing | |
CN113947923A (en) | Traffic signal control system, method, electronic device and storage medium | |
CN115016318A (en) | Fusion method and system of description language of automatic driving simulation test scene | |
CN107808529B (en) | Traffic light control method and system based on local intersection video monitoring | |
CN108010344B (en) | Crossroad green light time adjusting method and system | |
CN110491122B (en) | Method and device for reducing urban congestion ranking | |
CN111800294A (en) | Gateway fault diagnosis method and device, network equipment and storage medium | |
CN115862348A (en) | Signalized intersection dynamic queuing length sensing and traffic signal control optimization algorithm, system and device based on vehicle-road cooperation | |
CN115270495A (en) | Method and device for testing automatic lane changing of vehicle | |
CN113364989B (en) | Camera strobe control method and device, electronic equipment and storage medium | |
CN114662735A (en) | Traffic signal lamp law prediction method, system and storage medium | |
CN114049779A (en) | Traffic signal full-induction real-time control method | |
CN107680390B (en) | Map-based traffic signal control scheme generation method | |
CN111950536B (en) | Signal lamp image processing method and device, computer system and road side equipment | |
CN116450207A (en) | Automatic driving perception processing method and device, electronic equipment and storage medium | |
CN114454899B (en) | Vehicle driving method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |