Signal light data information processing method, system, device and electronic equipment
By realizing data sharing and updating mechanisms in the signal unit network, the problem of signal information being tampered with is solved, the incidence of traffic accidents is reduced, and the data consistency of the signal unit and the correctness of the release plan are ensured.
Patent Information
- Application Number
- CN202211707574.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-12-29
AI Technical Summary
The internal information of the signal machine is tampered with, resulting in a high incidence of traffic accidents.
In the preset network, through the data sharing mechanism of multiple signal machines and information control platforms, a modification message is sent to each signal device in response to the modification of local data information, and recorded on the shared data information under legal modifications, and updated the local data information to ensure data consistency and correctness.
It reduces the incidence of traffic accidents, ensures the correctness of the release plan generated by the signal machine, and can maintain a safe and reasonable release state even when the signal machine fails.
Smart Images

Figure CN116132057B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of road traffic control, and in particular to a signal light data information processing method, system, device and electronic equipment. Background Art
[0002] With the rapid development of road traffic, the continuous improvement of urbanization levels, and the continuous expansion of urban scale, traffic management has become increasingly dependent on road traffic control technology and the demand for traffic lights is increasing. Traffic lights are used to control traffic lights at intersections in order to avoid traffic congestion and improve the efficiency of vehicle and / or pedestrian traffic. Currently, the mainstream traffic lights are networked. On the roads of a city, there is often a traffic light placed at every intersection or every two intersections for control. At the same time, these traffic lights are often connected to a traffic light control platform (referred to as the traffic light control platform). Through the traffic light control platform, these traffic lights are controlled by specific release rules and configuration modifications to achieve the maximum solution to traffic problems at intersections.
[0003] However, due to the large-scale application of networked traffic lights, a lot of data is transmitted through the network, and the traffic lights can also be directly controlled through the network. The information inside the traffic lights may be tampered with, resulting in a higher incidence of traffic accidents. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a signal light data information processing method, system, device, and electronic device to solve the problem of tampering with information inside signal lights, which leads to a high incidence of traffic accidents. The specific technical solution is as follows:
[0005] In a first aspect of the present application, a method for processing signal light data information is provided. The method is applied to a first signal device in a preset network, where the preset network includes multiple signal lights and a signal control platform. The first signal device is any signal light or signal control platform in the preset network. The method includes:
[0006] In response to a modification of local data information of the first signal device, sending a modification message indicating the modification to each second signal device, so that each second signal device, when determining that the modification is legal based on the modification message, records the modification in the shared data information of each second signal device, wherein the local data information includes configuration information of the first signal device, and the second signal device is other signal devices in the preset network;
[0007] The local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
[0008] In a possible embodiment, updating the local data information of the first signal device according to the shared data information recorded by each second signal device includes:
[0009] If the local data information of the first signal device does not match the shared data information recorded by each of the second signal devices, the local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
[0010] In a possible embodiment, the method further includes:
[0011] Before generating a release plan for the first signal device according to the configuration information, it is determined whether local data information of the first signal device matches shared data information recorded by each second signal device, wherein the first signal device is a traffic light.
[0012] In a possible embodiment, updating the local data information of the first signal device according to the shared data information recorded by each second signal device includes:
[0013] In response to the update message sent by each second signal device, the local data information of the first signal device is updated according to the shared data information recorded by each second signal device, wherein the update message is sent by each second signal device when the recorded shared data information is updated.
[0014] In a possible embodiment, updating the local data information of the first signal device according to the shared data information recorded by each second signal device includes:
[0015] If it is detected that the local data information of the first signal device is missing, the local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
[0016] In a second aspect of the present application, a signal light data information processing method is further provided. The method is applied to a second signal device in a preset network, where the preset network includes multiple signal lights and a signal control platform. The second signal device is a signal device other than the first signal device in the preset network. The first signal device is any signal light or signal control platform in the preset network. The method includes:
[0017] receiving a modification message sent by the first signal device, where the modification message is sent in response to modification of local data information of the first signal device and is used to indicate the modification;
[0018] If the modification is determined to be legal according to the modification message, the modification is recorded in the shared data information of the second signal device, so that the first signal device updates its local data information according to the shared data information recorded by the second signal device.
[0019] In a possible embodiment, the method further includes:
[0020] If the modification is a modification of a configuration safety rule for the first signaling device and the first signaling device is a traffic light, it is determined that the modification is illegal.
[0021] In a possible embodiment, the method further includes:
[0022] The modified traceability information is recorded in the shared data information of the second signaling device.
[0023] In a possible embodiment, the method further includes:
[0024] If it is detected that the first signal device cannot work normally, a release plan is generated according to the shared data information of the second signal device and sent to the first signal device so that the first signal device executes the release plan; wherein the first signal device and the second signal device are signal machines.
[0025] In a third aspect of the implementation of the present application, a preset network is further provided, wherein the preset network includes a plurality of signal machines and a signal control platform, wherein:
[0026] a first signaling device, configured to, in response to a modification of local data information of the first signaling device, send a modification message indicating the modification to each second signaling device, and update the local data information of the first signaling device based on the shared data information recorded by each second signaling device, wherein the local data information includes configuration information of the first signaling device, the first signaling device being any signal machine or signal control platform in the preset network, and the second signaling device being other signaling devices in the preset network;
[0027] The second signal device is configured to receive the modification message sent by the first signal device; if the modification is determined to be legal according to the modification message, the modification is recorded in the shared data information of the second signal device.
[0028] In a fourth aspect of the present application, a signal light data information processing device is further provided. The device is applied to a first signal device in a preset network, wherein the preset network includes multiple signal lights and a signal control platform, and the first signal device is any signal light or signal control platform in the preset network. The device includes:
[0029] a sending module, configured to, in response to a modification of local data information of the first signaling device, send a modification message indicating the modification to each second signaling device, so that each second signaling device, upon determining that the modification is legal based on the modification message, records the modification in the shared data information of each second signaling device, wherein the local data information includes configuration information of the first signaling device, and the second signaling device is other signaling devices in the preset network;
[0030] An updating module is configured to update the local data information of the first signal device according to the shared data information recorded by each of the second signal devices.
[0031] In a fifth aspect of the present application, a signal light data information processing device is further provided. The device is applied to a second signal device in a preset network, where the preset network includes multiple signal lights and a signal control platform. The second signal device is a signal device other than the first signal device in the preset network. The first signal device is any signal light or signal control platform in the preset network. The device includes:
[0032] a receiving module, configured to receive a modification message sent by the first signaling device, wherein the modification message is sent in response to modification of local data information of the first signaling device and is used to indicate the modification;
[0033] A recording module is used to record the modification in the shared data information of the second signal device if it is determined that the modification is legal according to the modification message, so that the first signal device updates the local data information of the first signal device according to the shared data information recorded by the second signal device.
[0034] In a sixth aspect of the present application, a signaling device is provided, including:
[0035] Memory for storing computer programs;
[0036] The processor is used to implement the method steps described in any one of the first aspect or the second aspect when executing the program stored in the memory.
[0037] In the seventh aspect of the implementation of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is executed by a processor, the method steps described in any one of the first or second aspects are implemented.
[0038] Beneficial effects of the embodiments of the present application:
[0039] The signal light data information processing method, system, device and electronic equipment provided in the embodiments of the present application, since the preset network includes multiple signal lights and signal control platforms, can enable data sharing of multiple signal lights and signal control platforms. When the local data information of the first signal device is modified, a modification message for indicating the modification is sent to each second signal device. Since only legal modifications will be recorded in each second signal device, the shared data information recorded by each second signal device is correct. Moreover, due to the data sharing of multiple signal lights and signal control platforms, the local data information of the first signal device can be updated according to the shared data information recorded by each second signal device, so that the local data information of the first signal device is correct, thereby ensuring the correctness of the release plan generated according to the local data information of the first signal device, thereby reducing the incidence of traffic accidents. At the same time, due to the data sharing of multiple signal lights and signal control platforms, a signal light can still be in a safe and reasonable release state when it fails.
[0040] Of course, it is not necessary to achieve all the advantages described above at the same time when implementing any product or method of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0042] Figure 1 A flowchart of a signal light data information processing method provided in an embodiment of the present application;
[0043] Figure 2 An interactive diagram of the signal light data information processing method provided in an embodiment of the present application;
[0044] Figure 3 Another interactive diagram of the signal light data information processing method provided in an embodiment of the present application;
[0045] Figure 4 Another interactive diagram of the signal light data information processing method provided in an embodiment of the present application;
[0046] Figure 5 Another interactive diagram of the signal light data information processing method provided in an embodiment of the present application;
[0047] Figure 6 Another flowchart of the signal light data information processing method provided in an embodiment of the present application;
[0048] Figure 7Another interactive diagram of the signal light data information processing method provided in an embodiment of the present application;
[0049] Figure 8 A schematic diagram of a structure of a preset network provided in an embodiment of the present application;
[0050] Figure 9 A schematic diagram of the structure of a signal light data information processing device provided in an embodiment of the present application;
[0051] Figure 10 Another structural diagram of the signal light data information processing device provided in an embodiment of the present application;
[0052] Figure 11 A schematic diagram of the structure of the signaling device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field based on this application are within the scope of protection of this application.
[0054] In order to more clearly illustrate the signal light data information processing method provided by the present invention, the relevant terms are explained below.
[0055] Traffic light (road traffic signal controller): a device used to control the red and green status of traffic lights on the road, adjust the countdown, and perform other functions.
[0056] Traffic lights: These are lights used to control the movement of vehicles at intersections. They generally have three colors: red, yellow, and green. Green means go; yellow means the traffic light is about to turn red, warning passing vehicles; and red means no traffic.
[0057] Signal configuration: Each signal has a configuration within it. The signal uses this configuration and rules to control traffic lights for safe traffic flow. If a signal configuration is maliciously tampered with or lost, it could cause the signal lights to release traffic in dangerous ways (such as east-west and north-south traffic), potentially leading to traffic accidents.
[0058] Traffic light operation: Current traffic lights on the market offer a variety of configuration modification methods, including platforms, host computers, and configuration tools. These methods can directly modify the configuration and indirectly affect the safety of the traffic light's release scheme. These methods can also directly modify the traffic light's release rules.
[0059] Traffic release plan: Traffic lights control traffic lights according to specific rules and procedures. The traffic release plan directly determines the safety of actual traffic flow.
[0060] Release rules: The generation of release plans depends on release rules, which include control types and control modes. Control types refer to different control sources (such as self-control and platform control); control modes specify periodic control and special control.
[0061] Configuration safety rules: The configuration of traffic lights should be changeable to suit different usage scenarios and time periods. However, many configurations often contain unreasonable features (for example, releasing both east-west and north-south straight-through vehicles at the same time will cause a conflict between the two release methods, which can directly lead to traffic accidents). Therefore, a reasonable configuration should be subject to certain configuration safety rule checks.
[0062] Blockchain technology: Blockchain is a novel application model for computer technologies, including distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchains are composed of blocks. Data is stored as files on a storage network, permanently recorded. We call this storage medium a block. Each block is a database, and countless blocks are linked together to form a blockchain. New blocks are added to the end of the chain. Once data is written, it is difficult to modify or delete. Blocks are much like records in a database; each time data is written, a block is created.
[0063] To more clearly illustrate the signal safety protection method provided by this application, the following example illustrates a possible application scenario of the signal safety protection method provided by this application. It should be understood that the following example is only one possible application scenario of the signal safety protection method provided by this application. In other possible embodiments, the signal safety protection method provided by this application can also be applied to other possible application scenarios, and the following example does not impose any limitation on this.
[0064] In the existing technology, the mainstream traffic lights are networked traffic lights. On the roads of the same city, a traffic light is often placed at every intersection or every two intersections for control. At the same time, these traffic lights are often connected to a signal control platform, which controls the specific release rules and configurations of these traffic lights through the signal control platform to achieve the maximum program solution to intersection traffic problems.
[0065] However, if the traffic signal is maliciously controlled, major traffic accidents often occur. For example, if the signal is kept on all red for a long time, causing traffic paralysis, or if the signal configuration is maliciously tampered with, causing conflicting channels to be released, such as releasing both the east and south directions at the same time, leading to traffic accidents.
[0066] Based on this, an embodiment of the present application provides a signal machine data information processing method, which is applied to a first signal device in a preset network, wherein the preset network includes multiple signal machines and a signal control platform, and the first signal device is any signal machine or signal control platform in the preset network, such as Figure 1 As shown, including:
[0067] S101, in response to a modification of local data information of a first signaling device, sending a modification message indicating the modification to each second signaling device, so that each second signaling device, if determining based on the modification message that the modification is legal, records the modification in the shared data information of each second signaling device;
[0068] The local data information includes configuration information of the first signaling device, and the second signaling device is other signaling devices in the preset network;
[0069] S102: Update local data information of the first signal device according to the shared data information recorded by each second signal device.
[0070] By selecting this embodiment, since the preset network includes multiple signal machines and signal control platforms, data from multiple signal machines and signal control platforms can be shared. When the local data information of the first signal device is modified, a modification message indicating the modification is sent to each second signal device. Since only legal modifications are recorded in each second signal device, the shared data information recorded by each second signal device is correct. Moreover, since data from multiple signal machines and signal control platforms is shared, the local data information of the first signal device can be updated based on the shared data information recorded by each second signal device, so that the local data information of the first signal device is correct, thereby ensuring the correctness of the release plan generated based on the local data information of the first signal device and reducing the incidence of traffic accidents.
[0071] The above S101-S102 will be described below respectively:
[0072] In S101, assuming the first signal device is a signal machine, and the second signal device is other signal machines and a signal control platform in a predefined network, the configuration information of the first signal device includes all information required for the signal machine's operation, such as signal machine configuration, release rules, configuration security rules, and log information. The signal machine configuration, release rules, and log information are allowed to be modified by the signal machine as a client, while configuration security rules are only allowed to be modified by the signal control platform as a server. Configuration security rules are used to ensure the rationality and correctness of each change to release rules and signal machine configuration. Assuming the first signal device is a signal platform, and the second signal devices are all signal machines in the predefined network, the configuration information of the first signal device includes the configuration information of the second signal devices, such as the configuration, release rules, configuration security rules, and log information of each signal machine. Exemplarily, in response to a modification of the local data information of the first signal device, a modification message indicating the modification is sent to each second signal device. The second signal device receives the modification message sent by the first signal device, determines whether the modification is valid, and if so, records the modification in the shared data information of the second signal device. The legality of the modification may be determined by at least half of the signaling devices in the preset network agreeing to the modification.
[0073] Furthermore, the signal control platform manages multiple traffic lights. Since there are fewer signal platforms than traffic lights, management is simplified. Furthermore, the signal control platform offers greater security and confidentiality than traffic lights, thus granting it superior authority. Furthermore, traffic lights can modify their own configuration, while not being able to modify the configuration of other traffic lights. Each configuration change is first recorded in the local data of the signal control platform and synchronized to the shared data using a pre-defined function, such as a blockchain hash function, to a shared ledger. After each synchronization, each traffic light's configuration, including its release rules, is updated to ensure that each traffic light's local data is up to date and maintains information synchronization.
[0074] In S102, the local data information of the first signal device is updated based on the shared data information recorded by each second signal device. The second signal device may send the shared data information to the first signal device, and the first signal device updates the local data information based on the shared data information. For example, if the first signal device is a signal machine, the signal machine fails (possibly due to human factors or a failure of the signal machine itself). At this time, the log correctly records the cause of the signal machine failure. However, in order to evade responsibility, an individual or the signal machine service provider tampers with the log information of the signal machine and modifies the cause of the failure to a cause that is unrelated to themselves. When obtaining the log information, the local data information on the signal machine is compared with the shared data information recorded by each second signal device and an inconsistency is found. At this time, the tampered log information will be restored based on the shared data information recorded by each second signal device, and the restored log information can accurately locate the cause of the failure. For example, if the first signal device is a signal control platform, after the local data information on the signal control platform is modified, it triggers the update of the shared data information recorded by each second signal device. At this time, since the local data information on the signal control platform is modified, the hash value changes. At this time, the local data information on the signal control platform will be corrected and restored through the shared data information recorded by each second signal device.
[0075] In a possible embodiment, if the local data information of the first signal device does not match the shared data information recorded by each second signal device, the local data information of the first signal device is updated according to the shared data information recorded by each second signal device. Exemplarily, since the shared data information recorded by each second signal device is correct, if the local data information of the first signal device does not match the shared data information recorded by each second signal device, the modification is considered illegal. At this time, it is necessary to update the local data information of the first signal device according to the shared data information recorded by each second signal device to ensure that the local data information of the first signal device is correct. Specifically, multiple signal machines and signal control platforms in the preset network are provided with public keys and private keys. The public key is made public in the preset network, and the private key is saved by itself. Figure 2 As shown, updating the local data information of the first signaling device includes:
[0076] S201, the first signaling device performs a hash operation on local data information to obtain a hash value 1, and encrypts the hash value 1 using a private key to generate signature information;
[0077] S202, the first signal device broadcasts signature information to the second signal device;
[0078] S203: The second signal device decrypts the signature information using the public key of the first signal device. If the decryption is successful, it indicates that the signature information belongs to the first signal device. In addition, the second signal device performs a hash operation on the shared data information for the first signal device to obtain a second hash value. If the first hash value is inconsistent with the second hash value, it indicates that the local data information of the first signal device does not match the shared data information recorded by each second signal device, and the second signal device generates a mismatch message.
[0079] S204, the second signal device sends mismatch information to the first signal device;
[0080] S205: The first signaling device receives the mismatch information and sends a data update request to the second signaling device;
[0081] S206, after receiving the data update request, the second signal device sends the shared data information for the first signal to the first signal device, and after determining that the data information sending is completed, sends a data information sending completion instruction to the first signal device;
[0082] S207: The first signaling device receives the data information sending completion instruction and updates the local data information to the shared data information for the first signaling device.
[0083] Using the above embodiment, if the local data information of the first signal device does not match the shared data information recorded by each second signal device, it means that the local data information of the first signal device has been maliciously tampered with. The local data information of the first signal device can be restored through the shared data information recorded by each second signal device to ensure that the local data information of the first signal device is correct.
[0084] In one possible embodiment, before generating a release plan for the first signal device based on the configuration information, it is determined whether the local data information of the first signal device matches the shared data information recorded by each second signal device, wherein the first signal device is a signal machine. For example, each time a release plan is generated based on the configuration information of the signal machine, the local data information of the first signal device must first be verified with the local data information of the signal control platform. If the verification fails, the local data information of the signal control platform is cross-verified with the shared data information of all signal machines. Specifically, Figure 3 As shown, before the first signal device generates a release plan for the first signal device according to the configuration information, determining whether the local data information of the first signal device matches the shared data information recorded by each second signal device includes:
[0085] S301, the first signaling device performs a hash operation on local data information to obtain a hash value 1, and encrypts the hash value 1 using a private key to generate signature information;
[0086] S302, the first signal device broadcasts signature information to the second signal device;
[0087] S303, the second signal device uses the public key of the first signal device to decrypt the signature information. If the decryption is successful, it means that the signature information belongs to the first signal device, and the second signal device performs a hash operation on the shared data information for the first signal device to obtain hash value two. If hash value one is inconsistent with hash value two, it means that the local data information of the first signal device does not match the shared data information recorded by each second signal device.
[0088] By adopting the above embodiment, each time the traffic light generates a release plan, the local data information of the traffic light needs to be verified, so that the release plan generated according to the configuration information of the traffic light is correct, thereby preventing unreasonable release plans from being generated due to tampered configuration information and reducing the incidence of traffic accidents.
[0089] In a possible embodiment, in response to the update message sent by each second signal device, the local data information of the first signal device is updated according to the shared data information recorded by each second signal device, wherein the update message is sent by each second signal device when the recorded shared data information is updated. For example, if the first signal device receives the update message sent by each second signal device, it indicates that the shared data information recorded by each second signal device has been updated. At this time, in order to ensure the real-time performance of the local data information of the signal machine, it is necessary to update the local data information of the first signal device according to the shared data information recorded by each second signal device. Specifically, if Figure 4 As shown, when the shared data information recorded by the second signaling device is updated, updating the local data information of the first signaling device includes:
[0090] S401, the second signaling device sends a data update message to the first signaling device;
[0091] S402, the first signaling device receives an update message sent by the second signaling device, and sends a data update request to the second signaling device;
[0092] S403, after receiving the data update request, the second signal device sends the shared data information for the first signal to the first signal device, and after determining that the data information sending is completed, sends a data information sending completion instruction to the first signal device;
[0093] S404: The first signal device receives the data information sending completion instruction and updates the local data information to the shared data information for the first signal device.
[0094] Using the above embodiment, if the first signal device receives an update message sent by each second signal device, it indicates that the shared data information recorded by each second signal device has been updated. According to the shared data information recorded by each second signal device, the local data information of the first signal device is updated, so that the local data information of the first signal device is always up to date.
[0095] In a possible embodiment, if it is detected that the local data information of the first signal device is missing, the local data information of the first signal device is updated according to the shared data information recorded by each second signal device. For example, if the first signal device is a signal machine, and the local data information is missing due to its own failure, when generating a new release plan, the local data information of the first signal device is updated according to the shared data information recorded by the second signal device, and the release plan is generated according to the completed information, thereby ensuring the correctness of the release plan. Specifically, if Figure 5 As shown, when the first signal device detects that local data information is missing, updating the local data information of the first signal device includes:
[0096] S501, a first signaling device sends a data update request to a second signaling device;
[0097] S502, after receiving the data update request, the second signal device sends the shared data information for the first signal to the first signal device, and after determining that the data information sending is completed, sends a data information sending completion instruction to the first signal device;
[0098] S503: The first signal device receives the data information sending completion instruction and updates the local data information to the shared data information for the first signal device.
[0099] With the above embodiment, if it is detected that the local data information of the first signal device is missing, the local data information of the first signal device can be supplemented based on the shared data information recorded by each second signal device.
[0100] The embodiment of the present application also provides a signal machine data information processing method, the method is applied to the second signal device in a preset network, the preset network includes multiple signal machines and a signal control platform, the second signal device is a signal device other than the first signal device in the preset network, and the first signal device is any signal machine or signal control platform in the preset network, such as Figure 6 As shown, including:
[0101] S601, receiving a modification message sent by a first signaling device;
[0102] The modification message is sent in response to modification of local data information of the first signaling device and is used to indicate the modification;
[0103] S602: If the modification is determined to be legal according to the modification message, the shared data information recorded in the second signaling device is modified so that the first signaling device updates its local data information according to the shared data information recorded by the second signaling device.
[0104] By selecting this embodiment, since the preset network includes multiple signal machines and signal control platforms, data from multiple signal machines and signal control platforms can be shared. When the local data information of the first signal device is modified, a modification message indicating the modification is sent to each second signal device. Since only legal modifications are recorded in each second signal device, the shared data information recorded by each second signal device is correct. Moreover, since data from multiple signal machines and signal control platforms is shared, the local data information of the first signal device can be updated based on the shared data information recorded by each second signal device, so that the local data information of the first signal device is correct, thereby ensuring the correctness of the release plan generated based on the local data information of the first signal device and reducing the incidence of traffic accidents.
[0105] In one possible embodiment, if the modification is to a configuration security rule for a first signaling device, and the first signaling device is a traffic light, the modification is determined to be illegal. Configuration security rules are only allowed to be modified by the signal control platform acting as the server, and the configuration security rules are used to ensure the rationality and correctness of each change to the release rules and traffic light configuration. For example, since configuration security rules are only allowed to be modified by the signal control platform acting as the server, when the second signaling device receives a modification message regarding the configuration security rule of the traffic light, it determines that the modification is illegal.
[0106] Using the above embodiment, when the configuration security rules of the signal machine are modified, the second signal device determines that the modification is illegal, and therefore the modification is not recorded in the shared data information recorded by the second signal device. When the local data information of the signal machine does not match the shared data information recorded by the second signal device, the local data information of the signal machine is updated according to the shared data information recorded by each second signal device, so that the configuration security rules in the signal machine cannot be maliciously tampered with.
[0107] In a possible embodiment, the traceability information of the modification is recorded in the shared data information of the second signal device. The traceability information includes the modification operation, operator, operation source and operation time. The operation source may include network, platform, serial port, etc. For example, if a user tampers with the release rules of a signal machine through the network at a certain moment, then after the modification operation occurs, the modification operation, operator, operation source and operation time are recorded in the shared data information of the second signal device. Specifically, if Figure 7As shown, if the second signal device is a signal control platform, when the local data information of the first signal device is modified, the modified traceability information is recorded in the shared data information of the signal control platform, including:
[0108] S701, the first signaling device signs the modified traceability information using a private key;
[0109] S702, the first signaling device sends the signature information to the signal control platform;
[0110] S703: The signal control platform verifies the signature using the public key of the first signal device. If the verification is successful, the modified traceability information is recorded in the shared data information of the signal control platform and broadcast in the preset network.
[0111] With the above embodiment, since the traceability information is recorded in the shared data information of the second signaling device, the operator can be tracked and the responsibility can be determined based on the traceability information.
[0112] In one possible embodiment, if a first signaling device is detected as malfunctioning, a release plan is generated based on the shared data information of a second signaling device and sent to the first signaling device, causing the first signaling device to execute the release plan. The first and second signaling devices are signal machines. Specifically, when generating the release plan, if the second signaling device does not receive the broadcast message from the first signaling device, it indicates that the first signaling device is malfunctioning. The second signaling device generates multiple release plans based on the shared data information for the first signaling device. When a release plan is supported by at least half of the second signaling devices, the release plan is sent to the first signaling device, and the first signaling device operates according to the release plan. For example, if a signal machine fails and cannot generate a reasonable release plan or the generated release plan fails to be verified, the release plan of the signal machine will be assisted by other signal machines in the preset network. For example, the preset network includes 100 signal machines and 1 signal control platform. When a signal machine fails, the remaining 99 signal machines will generate 99 release plans based on the local data information of the signal machine. When one of the 99 release plans is supported by the majority of signal machines, the faulty signal machine will operate according to the release plan supported by the majority of signal machines.
[0113] By adopting the above embodiment, when a signal machine fails, a reasonable release plan cannot be generated or the generated release plan fails to pass verification, other signal machines in the preset network can assist in generating a release plan, so that the signal machine can be in a safe and reasonable release state when it fails.
[0114] The present application also provides a preset network, such as Figure 8As shown, the preset network includes multiple signal machines and a signal control platform, wherein:
[0115] a first signaling device, configured to, in response to a modification of local data information of the first signaling device, send a modification message indicating the modification to each second signaling device, and update the local data information of the first signaling device based on the shared data information recorded by each second signaling device, the local data information including configuration information of the first signaling device, where the first signaling device is any signal machine or signal control platform in a preset network, and the second signaling device is other signaling devices in the preset network;
[0116] The second signal device is configured to receive the modification message sent by the first signal device; if the modification is determined to be legal according to the modification message, the modification is recorded in the shared data information of the second signal device.
[0117] By selecting this embodiment, since the preset network includes multiple signal machines and signal control platforms, data from multiple signal machines and signal control platforms can be shared. When the local data information of the first signal device is modified, a modification message indicating the modification is sent to each second signal device. Since only legal modifications are recorded in each second signal device, the shared data information recorded by each second signal device is correct. Moreover, since data from multiple signal machines and signal control platforms is shared, the local data information of the first signal device can be updated based on the shared data information recorded by each second signal device, so that the local data information of the first signal device is correct, thereby ensuring the correctness of the release plan generated based on the local data information of the first signal device and reducing the incidence of traffic accidents.
[0118] The present application also provides a signal light data information processing device, such as Figure 9 As shown, the device is applied to a first signal device in a preset network, the preset network includes multiple signal machines and a signal control platform, the first signal device is any signal machine or signal control platform in the preset network, and the device includes:
[0119] a sending module 901 configured to, in response to a modification of local data information of a first signaling device, send a modification message indicating the modification to each second signaling device, so that each second signaling device, upon determining that the modification is legal based on the modification message, records the modification in the shared data information of each second signaling device, wherein the local data information includes configuration information of the first signaling device, and the second signaling devices are other signaling devices in a preset network;
[0120] The updating module 902 is configured to update the local data information of the first signaling device according to the shared data information recorded by each second signaling device.
[0121] The present application also provides a signal light data information processing device, such as Figure 10 As shown, the device is applied to a second signal device in a preset network, the preset network includes multiple signal machines and a signal control platform, the second signal device is a signal device other than the first signal device in the preset network, and the first signal device is any signal machine or signal control platform in the preset network. The device includes:
[0122] A receiving module 1001 is configured to receive a modification message sent by a first signaling device, where the modification message is sent in response to modification of local data information of the first signaling device and is used to indicate the modification;
[0123] The recording module 1002 is configured to modify the shared data information recorded in the second signaling device if the modification is determined to be legal according to the modification message, so that the first signaling device updates its local data information according to the shared data information recorded by the second signaling device.
[0124] In the technical solution of this application, the operations involved in obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.
[0125] The present application also provides a signaling device, such as Figure 11 As shown, including:
[0126] Memory 1101, used for storing computer programs;
[0127] The processor 1102 is configured to execute the program stored in the memory 1101 and, when serving as the aforementioned first signaling device, implement the following steps:
[0128] In response to a modification of local data information of a first signaling device, sending a modification message indicating the modification to each second signaling device, so that each second signaling device, if determining based on the modification message that the modification is legal, records the modification in the shared data information of each second signaling device, wherein the local data information includes configuration information of the first signaling device, and the second signaling devices are other signaling devices in a preset network;
[0129] The local data information of the first signal device is updated according to the shared data information recorded by each second signal device.
[0130] When used as the aforementioned second signaling device, the following steps are implemented:
[0131] receiving a modification message sent by the first signaling device, where the modification message is sent in response to modification of local data information of the first signaling device and is used to indicate the modification;
[0132] If the modification is determined to be legal according to the modification message, the shared data information recorded in the second signal device will be modified so that the first signal device updates its local data information according to the shared data information recorded by the second signal device.
[0133] Furthermore, the above-mentioned signal device may further include a communication bus and / or a communication interface, and the processor 602, the communication interface, and the memory 601 communicate with each other via the communication bus.
[0134] The communication bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.
[0135] The communication interface is used for communication between the above electronic device and other devices.
[0136] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0137] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0138] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned signal light data information processing methods are implemented.
[0139] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any signal light data information processing method in the above embodiments.
[0140] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), etc.
[0141] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0142] Each embodiment in this specification is described in a related manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiment is generally similar to the method embodiment, so the description is relatively simple. For related parts, refer to the description of the method embodiment.
[0143] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the scope of protection of the present application.
Claims
1. A signal light data information processing method, characterized in that: The method is applied to a first signal device in a preset network, the preset network including multiple signal machines and a signal control platform, and the first signal device is any signal machine or signal control platform in the preset network. The method includes: In response to a modification of local data information of the first signal device, sending a modification message indicating the modification to each second signal device, so that each second signal device, when determining that the modification is legal based on the modification message, records the modification in the shared data information of each second signal device, wherein the local data information includes configuration information of the first signal device, and the second signal device is other signal devices in the preset network; updating the local data information of the first signal device according to the shared data information recorded by each of the second signal devices; The updating of the local data information of the first signal device according to the shared data information recorded by each second signal device includes: If the local data information of the first signal device does not match the shared data information recorded by each of the second signal devices, the local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
2. The method according to claim 1, characterized in that The method further comprises: Before generating a release plan for the first signal device according to the configuration information, it is determined whether local data information of the first signal device matches shared data information recorded by each second signal device, wherein the first signal device is a traffic light.
3. The method according to claim 1, characterized in that The updating of the local data information of the first signal device according to the shared data information recorded by each second signal device includes: In response to the update message sent by each second signal device, the local data information of the first signal device is updated according to the shared data information recorded by each second signal device, wherein the update message is sent by each second signal device when the recorded shared data information is updated.
4. The method according to claim 1, wherein The updating of the local data information of the first signal device according to the shared data information recorded by each second signal device includes: If it is detected that the local data information of the first signal device is missing, the local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
5. A signal light data information processing method, characterized in that: The method is applied to a second signal device in a preset network, the preset network including multiple signal machines and a signal control platform, the second signal device is a signal device other than the first signal device in the preset network, and the first signal device is any signal machine or signal control platform in the preset network, the method comprising: receiving a modification message sent by the first signal device, where the modification message is sent in response to modification of local data information of the first signal device and is used to indicate the modification; If it is determined that the modification is legal according to the modification message, recording the modification in the shared data information of the second signal device, so that the first signal device updates the local data information of the first signal device according to the shared data information recorded by the second signal device; The enabling the first signal device to update the local data information of the first signal device according to the shared data information recorded by the second signal device includes: If the local data information of the first signal device does not match the shared data information recorded by each of the second signal devices, the first signal device is enabled to update the local data information of the first signal device according to the shared data information recorded by the second signal device.
6. The method according to claim 5, characterized in that The method further comprises: If the modification is a modification of a configuration safety rule for the first signaling device and the first signaling device is a traffic light, it is determined that the modification is illegal.
7. The method according to claim 5, characterized in that The method further comprises: The modified traceability information is recorded in the shared data information of the second signaling device.
8. The method according to claim 5, characterized in that The method further comprises: If it is detected that the first signal device cannot work normally, a release plan is generated according to the shared data information of the second signal device and sent to the first signal device so that the first signal device executes the release plan; wherein, the first signal device and the second signal device are signal machines.
9. A preset network, characterized in that: The preset network includes multiple signal machines and a signal control platform, wherein: a first signaling device, configured to, in response to a modification of local data information of the first signaling device, send a modification message indicating the modification to each second signaling device, and update the local data information of the first signaling device based on the shared data information recorded by each second signaling device, wherein the local data information includes configuration information of the first signaling device, the first signaling device being any signal machine or signal control platform in the preset network, and the second signaling device being other signaling devices in the preset network; The second signal device is configured to receive the modification message sent by the first signal device; if the modification is determined to be legal according to the modification message, the modification is recorded in the shared data information of the second signal device; The updating of the local data information of the first signal device according to the shared data information recorded by each second signal device includes: If the local data information of the first signal device does not match the shared data information recorded by each of the second signal devices, the local data information of the first signal device is updated according to the shared data information recorded by each of the second signal devices.
10. A signal light data information processing device, characterized in that: The device is applied to a first signal device in a preset network, the preset network including a plurality of signal machines and a signal control platform, the first signal device being any signal machine or signal control platform in the preset network, the device including: a sending module, configured to, in response to a modification of local data information of the first signaling device, send a modification message indicating the modification to each second signaling device, so that each second signaling device, upon determining that the modification is legal based on the modification message, records the modification in the shared data information of each second signaling device, wherein the local data information includes configuration information of the first signaling device, and the second signaling device is other signaling devices in the preset network; an updating module, configured to update the local data information of the first signal device according to the shared data information recorded by each of the second signal devices; The updating module is specifically configured to update the local data information of the first signal device according to the shared data information recorded by each second signal device if the local data information of the first signal device does not match the shared data information recorded by each second signal device.
11. A signal data information processing device, characterized in that: The device is applied to a second signal device in a preset network, the preset network including multiple signal machines and a signal control platform, the second signal device is a signal device other than the first signal device in the preset network, and the first signal device is any signal machine or signal control platform in the preset network, and the device includes: a receiving module, configured to receive a modification message sent by the first signaling device, wherein the modification message is sent in response to modification of local data information of the first signaling device and is used to indicate the modification; a recording module, configured to, if determining that the modification is legal according to the modification message, record the modification in the shared data information of the second signaling device, so that the first signaling device updates the local data information of the first signaling device according to the shared data information recorded by the second signaling device; The recording module is specifically configured to enable the first signal device to update the local data information of the first signal device according to the shared data information recorded by the second signal device if the local data information of the first signal device does not match the shared data information recorded by each second signal device.
12. A signaling device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method described in any one of claims 1 to 4 or 5 to 8 when executing a program stored in a memory.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 or 5 to 8 is implemented.
Citation Information
Patent Citations
Traffic signal updating method, equipment and device based on block chain, and storage medium
CN111414425A