Traffic signal light state controllable security encryption sharing method

CN120729516BActive Publication Date: 2026-10-20ZHENGZHOU UNIV +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510638846.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2026-10-20
Estimated Expiration
2045-05-19

AI Technical Summary

Technical Problem

比如,恶意攻击者若篡改信号灯的灯色状态,可能导致车辆与行人在错误的时间通行,极易引发交通事故

Benefits of technology

[0051]在数据安全方面,通过多种加密手段保障了交通信号灯实时状态数据在传输过程中的安全性。对灯态特征信息和时序信息进行动态分块编码、时间戳加密处理,以及差异化加密,有效防止数据被窃取和篡改。如动态密钥轮换算法,基于实时采集的环境噪声数据生成初始密钥种子,再通过混沌映射模型迭代生成分段加密密钥序列,这种密钥生成方式具有高度的随机性和不可预测性,极大地增强了加密的安全性。即使攻击者获取了部分加密数据,也难以破解出原始信息。固定密钥矩阵加密算法通过行列混淆和模加运算,将数据与密钥紧密结合,进一步提高了数据的保密性。同时,传输单元的网络包结构设计合理,类型标识符、动态密钥标识符、位置关联符和分块序列符协同工作,确保只有授权的目标终端才能正确解密和重组数据,有效防止数据泄露。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729516B_ABST
    Figure CN120729516B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of traffic signal control, and discloses a traffic signal light state controllable security encryption sharing method, which comprises the following steps: receiving real-time state data of a target traffic signal light, separating light state characteristics, timing and position identification information, dynamically block-encoding the light state characteristic information, timestamp-encrypting the timing information, differentiating encryption according to data volume and priority, encapsulating and transmitting the encrypted data and the position identification information, and decrypting and reorganizing the data by a target terminal. The method also relates to data preprocessing, redundancy check, transmission interruption processing and the like. The system comprises data acquisition, block encryption and transmission control modules. The present application solves the problems of traffic signal light data secure transmission, efficient processing and accurate sharing, improves the intelligent level and safety of traffic management, and has important application value in the field of intelligent traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of traffic signal control technology, specifically to a method for controllable, secure, encrypted sharing of traffic signal light status. Background Technology

[0002] With the acceleration of urbanization and the development of intelligent transportation systems, traffic lights, as core equipment for traffic management, have become crucial for the real-time acquisition, accurate transmission, and effective utilization of their status data. However, many challenges still exist in the management and transmission of traffic light data.

[0003] In terms of data security, traditional traffic signal systems often lack effective encryption mechanisms for data transmission. Real-time traffic signal data includes critical information such as light color status and countdown values. If this information is stolen or tampered with during transmission, it poses a serious threat to traffic order and safety. For example, if a malicious attacker alters the light color status, vehicles and pedestrians may cross at the wrong time, easily leading to traffic accidents. Furthermore, with the continuous expansion of urban transportation networks and the surge in the number of traffic signals, data silos exist between different regions and management departments, hindering unified management and collaborative sharing, thus reducing the overall efficiency of traffic management.

[0004] In terms of data processing efficiency, existing systems handle traffic light data in a relatively simplistic manner. The system fails to properly differentiate and efficiently process the signal light status characteristics, timing information, and location identifiers, making it unsuitable for traffic management scenarios with high real-time requirements. For example, during peak traffic hours, frequent changes in signal light status, coupled with the inability to process this data promptly and accurately, can exacerbate traffic congestion and prolong vehicle travel time.

[0005] Regarding data accuracy, raw traffic light status data may be affected by factors such as environmental noise and equipment malfunctions, resulting in data noise and errors. If this inaccurate data is directly used for traffic management decisions, it will affect the scientific validity and rationality of those decisions, thereby reducing the quality of traffic management. Furthermore, during data transmission, data loss or incorrect transmission frequently occurs due to network fluctuations and signal interference, further impacting the accuracy and integrity of the data.

[0006] In terms of system compatibility, existing traffic signal systems often employ their own independent technical standards and communication protocols, making it difficult for new and old systems, as well as different brands of equipment, to achieve compatibility and interoperability. This not only increases the cost of system upgrades and maintenance but also limits the scope of traffic signal data sharing and application scenarios, hindering the overall development of intelligent transportation systems. Summary of the Invention

[0007] The purpose of this invention is to provide a controllable, secure, encrypted sharing method for traffic signal lights to solve the problems mentioned in the background art.

[0008] To achieve the above objectives, the present invention provides the following technical solution: a method for controllable, secure, encrypted sharing of traffic signal light states, the method comprising:

[0009] Receive real-time status data of the target traffic lights;

[0010] Based on the real-time status data, light status feature information, timing information, and location identification information are separated.

[0011] The light status feature information is dynamically segmented and encoded to generate a first encoding sequence, and the time sequence information is timestamped and encrypted to generate a second encoding sequence.

[0012] According to a preset priority strategy, the first encoded sequence and the second encoded sequence are differentially encrypted to generate first encrypted data and second encrypted data.

[0013] The first encrypted data, the second encrypted data, and the location identification information are encapsulated into a transmission unit and sent to the target terminal so that the target terminal can decrypt and reassemble the data based on the location identification information to restore the real-time status data.

[0014] The differentiated encryption includes:

[0015] Determine whether the amount of data in the first encoded sequence exceeds the threshold;

[0016] If the number of segments exceeds the limit, a dynamic key rotation algorithm is used to encrypt the first encoded sequence in segments.

[0017] If the limit is not exceeded, the first encoded sequence is encrypted using a fixed key matrix encryption algorithm.

[0018] Preferably, the light status feature information includes the current light color status, flashing mode, and countdown value; the timing information includes the status switching timestamp and duration; and the location identification information includes the unique signal light number and geographical coordinates.

[0019] Preferably, the differentiated encryption further includes:

[0020] Based on the priority level of the light status feature information, different encryption kernels are assigned to the first encoded sequence; wherein, high-priority light status feature information adopts a multi-layer nested encryption algorithm, and low-priority light status feature information adopts a single-layer encryption algorithm.

[0021] Preferably, the network packet structure of the transmission unit includes:

[0022] Type identifier, used to distinguish lamp status characteristic information, timing information and location identification information;

[0023] Dynamic key identifiers are used to indicate the key rotation rules for segmented encryption or matrix parameters for fixed keys;

[0024] Location association, used to map the location identification information to the decryption permissions of the target terminal;

[0025] Block sequencer is used to mark the segmentation order of the first encrypted data and the timestamp association of the second encrypted data.

[0026] Preferably, the dynamic key rotation algorithm includes:

[0027] An initial key seed is generated based on real-time acquired environmental noise data, where the noise energy value... The calculation formula is: ,in The number of sampling points. For the first Each sample value, This is the sample mean;

[0028] The initial key seed is input into the chaotic mapping model to iteratively generate a segmented encryption key sequence, and the iterative formula is as follows: ,in For chaotic parameters, For the first The key components generated in the next iteration. For the first Key components generated in the next iteration;

[0029] Each segment encryption key is XORed with the corresponding data segment for obfuscation, and then a hash function is used for one-way encryption.

[0030] Preferably, the fixed key matrix encryption algorithm includes:

[0031] Convert the first encoded sequence to Two-dimensional matrix ;

[0032] Using a predefined permutation matrix and For matrix Perform row and column obfuscation to generate an obfuscation matrix:

[0033] Modulo addition is performed on the obfuscated matrix elements to generate the ciphertext matrix. : ,in For the preset key matrix, Let be the element in the i-th row and j-th column of the ciphertext matrix. To confuse the element in the i-th row and j-th column of the matrix, The element in the i-th row and j-th column of the predefined key matrix, where 256 is the radix for the modulo operation.

[0034] Preferably, the above-mentioned traffic signal status controllable secure encrypted sharing method further includes:

[0035] Before encapsulating the transmission unit, the first encrypted data and the second encrypted data are subjected to redundancy check encoding.

[0036] The formula for generating the checksum in the cross-parity check algorithm is as follows:

[0037]

[0038]

[0039] in Represents the first element in the data matrix. Line number Column data bits For row parity check bits, For parity check bits.

[0040] Preferably, the above-mentioned traffic signal status controllable secure encrypted sharing method further includes:

[0041] If a transmission interruption is detected, the data blocks that were not successfully transmitted are located based on the block sequencer and the position association character.

[0042] A key prediction mechanism based on a chaotic mapping model is used to regenerate the encryption key for the corresponding block and retransmit it.

[0043] Preferably, the real-time status data is further processed before being received:

[0044] The original state data is denoised using the Kalman filter algorithm.

[0045] The denoised data is then standardized and converted to conform to the preset encoding specifications.

[0046] Preferably, the present invention also includes a traffic signal light status controllable secure encrypted sharing system, comprising:

[0047] The data acquisition module is used to acquire real-time status data of traffic lights;

[0048] The block encryption module is used to execute the above-mentioned traffic signal light state controllable secure encryption sharing method;

[0049] A transmission control module is used to encapsulate and send the transmission unit to the target terminal.

[0050] Compared with the prior art, the beneficial effects of the present invention are:

[0051] In terms of data security, multiple encryption methods ensure the security of real-time traffic light status data during transmission. Dynamic block encoding, timestamp encryption, and differentiated encryption are applied to light status characteristic information and timing information to effectively prevent data theft and tampering. For example, the dynamic key rotation algorithm generates an initial key seed based on real-time collected environmental noise data, and then iteratively generates a segmented encryption key sequence through a chaotic mapping model. This key generation method has high randomness and unpredictability, greatly enhancing encryption security. Even if an attacker obtains part of the encrypted data, it is difficult to crack the original information. The fixed key matrix encryption algorithm tightly combines data and keys through row and column obfuscation and modular addition operations, further improving data confidentiality. Simultaneously, the network packet structure of the transmission unit is rationally designed, with type identifiers, dynamic key identifiers, location association symbols, and block sequence symbols working together to ensure that only authorized target terminals can correctly decrypt and reassemble the data, effectively preventing data leakage.

[0052] In terms of data processing efficiency, this invention classifies and processes different types of information, improving the targeting and efficiency of data processing. After separating light status feature information, timing information, and location identification information, they are processed according to their respective characteristics. For example, when dynamically segmenting and encoding light status feature information, different encryption cores can be allocated according to the priority of the information. High-priority light status feature information uses a multi-layer nested encryption algorithm to ensure security, while low-priority information uses a single-layer encryption algorithm to improve efficiency, achieving a balance between security and efficiency. Moreover, during data transmission, an appropriate encryption algorithm is selected based on the data volume. For example, when the data volume exceeds a threshold, a dynamic key rotation algorithm is used for segmented encryption; when it does not exceed the threshold, a fixed key matrix encryption algorithm is used for overall encryption. This fully considers the encryption requirements under different scenarios, optimizes the encryption process, and improves data processing efficiency.

[0053] Regarding data accuracy, a series of measures have been taken to ensure data accuracy and integrity. Before receiving real-time status data, the raw status data is denoised using a Kalman filter algorithm to remove errors caused by environmental noise and equipment interference, thereby improving data quality. The denoised data is then standardized to conform to a preset encoding specification, facilitating subsequent processing and transmission. Before encapsulating the transmission unit, the encrypted data undergoes redundancy check encoding, and a cross-parity check algorithm is used to generate a checksum. After receiving the data, the target terminal can determine its accuracy using the checksum. If a transmission interruption is detected, the terminal can locate the untransmitted data block based on the block sequence identifier and position association identifier, and regenerate the encryption key based on a key prediction mechanism using a chaotic mapping model for retransmission, ensuring that the data arrives at the target terminal intact and error-free.

[0054] In terms of system compatibility and scalability, the method and system of this invention exhibit excellent compatibility and scalability. The encryption algorithm and data processing method employed are universal, adaptable to different types of traffic signal equipment and various communication network environments. Whether for newly constructed intelligent transportation systems or upgrades of existing systems, the technical solution of this invention can be easily integrated. Furthermore, with the continuous changes in traffic management needs and technological advancements, the system can be easily expanded and optimized, such as by adding new encryption algorithms and improving data processing flows, to meet the higher requirements of future intelligent transportation systems for traffic signal data management. In summary, this invention solves the problems existing in current traffic signal data management and transmission from multiple dimensions, and is of great significance for improving the intelligence level of traffic management, ensuring traffic safety, and improving traffic operation efficiency. Attached Figure Description

[0055] Figure 1 This is a schematic diagram illustrating the working principle of the traffic signal light state controllable secure encrypted sharing method described in this invention.

[0056] Figure 2 This is a flowchart of the encryption process based on lamp status priority;

[0057] Figure 3 A flowchart illustrating the execution of the dynamic key rotation algorithm;

[0058] Figure 4 A flowchart for redundancy verification and encapsulation of encrypted data. Detailed Implementation

[0059] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0060] Please see Figure 1-4 This invention provides a technical solution: a method for controllable, secure, encrypted sharing of traffic signal light states, the method comprising:

[0061] Receive real-time status data: Acquire real-time status data of the target traffic light through specialized data acquisition equipment or systems. This data contains various operational information about the traffic light and forms the basis for subsequent processing.

[0062] Information separation: The received real-time status data is parsed to separate light status characteristic information, timing information, and location identification information. Light status characteristic information reflects the current display status of the traffic light, timing information records time-related information about changes in the traffic light status, and location identification information is used to identify the specific geographical location of the traffic light.

[0063] Encoding and encryption processing:

[0064] The lamp status feature information is dynamically segmented and encoded to form the first encoding sequence; at the same time, the time sequence information is timestamped and encrypted to obtain the second encoding sequence.

[0065] According to a preset priority strategy, differentiated encryption is applied to the first and second encoded sequences. Specifically, it is determined whether the data volume of the first encoded sequence exceeds a threshold. If it does, a dynamic key rotation algorithm is used to encrypt the first encoded sequence in segments; if it does not exceed the threshold, a fixed key matrix encryption algorithm is used to encrypt the first encoded sequence as a whole, ultimately generating the first encrypted data and the second encrypted data.

[0066] Encapsulation and Transmission: The first encrypted data, the second encrypted data, and the location identification information are encapsulated into a transmission unit and sent to the target terminal via a network or other transmission method. After receiving the transmission unit, the target terminal decrypts and reassembles it based on the location identification information, thereby restoring the real-time status data of the traffic light and realizing the secure sharing of traffic light status information.

[0067] The present invention will be further described below with reference to Examples 1 to 6:

[0068] Example 1:

[0069] In real-time applications, traffic light status data contains a wealth of detailed information. This includes light status characteristics such as the current light color, flashing pattern, and countdown timer. The current light color clearly indicates whether the light is red, green, or yellow, directly impacting the behavioral decisions of road users. The flashing pattern further supplements the light color information; for example, a flashing green light may indicate that it will soon turn yellow, allowing drivers to prepare in advance. The countdown timer displays the remaining time for the current light color in a clear numerical format, helping road users plan their travel time accordingly.

[0070] The timing information includes state transition timestamps and durations. State transition timestamps precisely record the exact moment a traffic light changes from one state to another. By analyzing multiple state transition timestamps, we can understand the operational patterns of the traffic lights and determine whether they are functioning correctly. The duration indicates the length of time each light color state lasts, which is crucial for traffic flow control and predicting waiting times for road users.

[0071] Location identification information includes the traffic light's unique identifier and geographic coordinates. The unique identifier acts like an "ID card" for the traffic light, ensuring its uniqueness throughout the entire traffic system and facilitating accurate identification and management. The geographic coordinates, using the Global Positioning System (GPS) or other positioning technologies, precisely determine the traffic light's location on a map, providing traffic management departments with accurate geographical location information and contributing to collaborative regional traffic management.

[0072] Suppose there are four sets of traffic lights at an intersection. One set of lights is currently green, flashing once per second, with a countdown of 10 seconds. Its state transition timestamp records that the light changed from red to green at 10:05:00 AM, and the green light lasted for 30 seconds. This light has a unique ID "001-01" and its geographical coordinates are 30.6 degrees North latitude and 104.0 degrees East longitude. By collecting and analyzing this detailed information, the traffic management system can more effectively monitor and manage traffic flow, improving road efficiency.

[0073] Example 2:

[0074] In actual traffic signal management scenarios, different light status characteristics are of varying importance in ensuring traffic order and safety. To protect this information more effectively, this embodiment uses algorithms with different encryption strengths to encrypt the first encoded sequence based on the priority level of the light status characteristics.

[0075] Traffic light status information includes various elements, such as the current light color state, flashing pattern, and countdown value. The current light color state is the most direct basis for road users to judge whether it is safe to proceed, and its importance is self-evident. Once this information is maliciously tampered with, it can easily cause traffic chaos or even traffic accidents, so it is set as high-priority information. While the flashing pattern and countdown value also play a supplementary role in traffic guidance, their urgency and direct impact on traffic are lower than that of the current light color state, and can be classified as low-priority information.

[0076] For high-priority traffic light status information, such as the current light color, a multi-layered nested encryption algorithm is used to enhance security. Taking a specific intersection as an example, when the traffic light's current color is green, let's assume the green light information is represented by the binary number "1". First, the "1" is initially encrypted using the AES-256 (Advanced Encryption Standard, 256-bit key length) algorithm. The AES-256 algorithm is a widely accepted secure encryption algorithm that transforms the input plaintext data into ciphertext through a series of complex byte substitutions, row shifts, column obfuscations, and round key addition operations. Assuming that after AES-256 encryption, the green light information "1" is converted into the ciphertext "C1".

[0077] Next, "C1" is encrypted a second time using the RSA algorithm. The RSA algorithm is based on the difficult problem of large integer factorization in number theory, and therefore offers high security. Using the RSA algorithm requires a key pair: a public key and a private key. The ciphertext "C1" encrypted with AES-256 is used as input to the RSA algorithm, and the public key is used for encryption to obtain the new ciphertext "C2". Through these two layers of encryption, the green light status information is deeply protected, making it extremely difficult for attackers to crack.

[0078] For low-priority light status characteristics, such as flashing patterns and countdown values, a single-layer encryption algorithm can meet security requirements while reducing the complexity and resource consumption of encryption calculations. Taking the countdown value "30" as an example, a simple Caesar cipher encryption algorithm can be used. The Caesar cipher is an ancient encryption method that achieves encryption by shifting letters according to a certain offset. In digital encryption scenarios, numbers can be added or subtracted using fixed values. Assuming the offset is 3, when encrypting the countdown value "30", 3 is added to it, resulting in the encrypted value "33". At the receiving end, simply subtracting 3 from "33" restores the original countdown value "30".

[0079] This differentiated encryption method, which prioritizes traffic light status information, not only ensures the high security of critical traffic information but also makes reasonable use of system resources, achieving a balance between different security requirements and resource constraints. This effectively improves the performance and security of the entire traffic signal status controllable security encryption sharing system.

[0080] Example 3:

[0081] The network packet structure of the transmission unit plays a crucial role in ensuring accurate information transmission and correct decryption. Type identifiers are used to distinguish between light status characteristic information, timing information, and location identification information. During data transmission, different types of information need to be accurately distinguished so that the receiving end can correctly parse and process them. For example, setting the type identifier to "01" to represent light status characteristic information, "02" to represent timing information, and "03" to represent location identification information allows the receiving end to accurately classify the received data based on these identifiers.

[0082] A dynamic key identifier is used to indicate the key rotation rules for segmented encryption or the matrix parameters of a fixed key. When using a dynamic key rotation algorithm, the dynamic key identifier carries information related to the key rotation, such as the initial key seed and parameters of the chaotic mapping model, ensuring that the receiving end can generate encryption keys according to the same rules. If a fixed key matrix encryption algorithm is used, the dynamic key identifier contains predefined permutation matrices and key matrix parameters, enabling the receiving end to perform decryption operations correctly.

[0083] Location associations are used to map location identification information to the decryption permissions of target terminals. Different target terminals may only be authorized to access information about traffic lights in specific locations. By establishing a correspondence between location identification information and terminal decryption permissions, the location association ensures that only terminals with the corresponding permissions can decrypt and obtain the status information of that traffic light. For example, if a traffic management department's terminal is authorized to access traffic light information within a specific area, the location association will bind the location identification information of these traffic lights to the terminal's decryption permissions to prevent information leakage.

[0084] Block sequencers are used to mark the segment order of the first encrypted data and the timestamp association of the second encrypted data. During data transmission, data may be transmitted in blocks to improve efficiency. Block sequencers specify the order of each data block, ensuring that the receiving end can reassemble the data in the correct order. Simultaneously, block sequencers also mark the association of timestamp information in the second encrypted data, ensuring the accuracy and integrity of the time information.

[0085] Suppose that in a city's traffic management system, multiple traffic management terminals are distributed in different areas. When the status information of a traffic light needs to be transmitted, the network packet of the transmission unit contains the following: a type identifier "01" corresponding to the light status characteristic information; a dynamic key identifier carrying the parameters of the dynamic key rotation algorithm; a location association identifier associating the location identifier of the traffic light with a specific traffic management terminal; and a block sequence identifier marking the segment order of the first encrypted data and the timestamp association relationship of the second encrypted data. In this way, the specific traffic management terminal at the receiving end can accurately receive and decrypt the status information of the traffic light.

[0086] Example 4:

[0087] The dynamic key rotation algorithm is a method for generating encryption keys based on environmental noise data, offering high security and randomness. First, an initial key seed is generated based on real-time collected environmental noise data. (Noise energy value...) The calculation formula is: ,in The number of sampling points indicates the number of samples collected when collecting environmental noise data. For the first Each sample value is a specific noise data value obtained during the sampling process; The sampling mean is the average of all sampled values. By calculating the noise energy value, characteristic information of environmental noise can be extracted and used to generate the initial key seed, making the key random and unpredictable.

[0088] Then, the initial key seed is input into the chaotic mapping model to iteratively generate a segmented encryption key sequence. The iterative formula is: ,in The chaos parameter is a key parameter that controls the behavior of the chaotic mapping model; different parameters... The value will cause the model to exhibit different chaotic characteristics; For the first The key components generated in the next iteration. For the first The key components generated in the next iteration. The chaotic mapping model is sensitive to initial conditions; even if there are slight differences in the initial key seed, the key sequences generated after multiple iterations will be very different, further enhancing the security of the key.

[0089] Finally, each segment encryption key is XORed with its corresponding data segment for obfuscation, followed by one-way hash function encryption. XOR obfuscation disrupts the original data structure, increasing its complexity, while one-way hash function encryption converts the data into a fixed-length hash value, making the original data difficult to recover, thus achieving effective data encryption.

[0090] For example, in a traffic light data transmission scenario, the number of sampling points for real-time collected environmental noise data. , No. Sample values Given a series of random noise voltage values, the average value is calculated. The noise energy value is calculated according to the noise energy value formula. This is used to generate the initial key seed. The initial key seed is then input into the chaotic mapping model, and the chaotic parameters are set. A series of segmented encryption keys are generated through multiple iterations. These keys are then XORed with the corresponding traffic light data segments, and finally encrypted one-way using the SHA-256 hash function to ensure data security during transmission.

[0091] Example 5:

[0092] Fixed-key matrix encryption algorithms are another method for encrypting the first encoded sequence, characterized by high computational efficiency. First, the first encoded sequence is converted into... Two-dimensional matrix Here and The number of rows and columns in the matrix is ​​determined by the length of the encoded sequence and the data structure. For example, if the first encoded sequence contains 100 data elements, it can be converted into a... Two-dimensional matrix .

[0093] Then, using the predefined permutation matrix and For matrix Perform row and column confusion to generate a confusion matrix. Permutation matrix and These are pre-defined matrices, which are obtained by manipulating the matrix. The rows and columns are rearranged to disrupt the original order of the data and increase its confidentiality.

[0094] Finally, modulo addition is performed on the obfuscated matrix elements to generate the ciphertext matrix. The calculation formula is: ,in For the preset key matrix, The first in the ciphertext matrix Line number Column elements, The th in the confusion matrix Line number Column elements, For the predefined key matrix, the first Line number The elements of the column are 256, which is the radix for modulo operations. Modulo addition can process data within a certain range to prevent data overflow, while also further increasing the complexity of encryption.

[0095] Suppose the first encoded sequence is converted into a Two-dimensional matrix Predefined permutation matrix and Each is a specific The matrix is ​​obtained after row and column obfuscation. Then, according to the preset key matrix According to the modular addition formula, The ciphertext matrix is ​​obtained through processing. At the receiving end, through the reverse operation, using the same permutation matrix and key matrix, the ciphertext matrix is ​​modified. Decryption is performed to restore the original first encoded sequence.

[0096] Example 6:

[0097] To ensure data integrity and accuracy during data transmission, redundancy check encoding is performed on the first and second encrypted data before encapsulating the transmission unit. A cross-parity check algorithm is used, and its checksum generation formula is as follows:

[0098]

[0099]

[0100] in Represents the first element in the data matrix. Line number Column data bits For row parity check bits, These are column parity bits. By calculating row and column parity bits and adding them to the data, the receiving end can detect whether errors have occurred during data transmission based on the parity bits.

[0101] If a transmission interruption is detected, the data blocks that were not successfully transmitted are located based on the block sequencer and the location association. The block sequencer records the order of the data blocks, and the location association determines the correspondence between the data and the target terminal. With these two pieces of information, the data blocks that were not successfully transmitted can be found quickly and accurately.

[0102] A key prediction mechanism based on a chaotic mapping model regenerates the encryption key for the corresponding data blocks and retransmits them. Because the chaotic mapping model is deterministic and sensitive to initial conditions, it can predict subsequent encryption keys given partial key generation information. Utilizing this characteristic, after transmission interruption, the encryption key is regenerated, and the untransmitted data blocks are encrypted and retransmitted, ensuring data integrity.

[0103] Before receiving real-time state data, a preprocessing step is included. The raw state data is denoised using a Kalman filter algorithm. The Kalman filter is a commonly used signal processing algorithm that utilizes the system's state and observation equations to optimally estimate noisy signals, remove noise interference, and improve data quality. Then, the denoised data undergoes a standardized format conversion to conform to a preset encoding specification. This preprocessed data is better suited for subsequent encoding, encryption, and transmission operations.

[0104] For example, in a traffic light data transmission network, when a transmission link fails and transmission is interrupted, the system first determines the data blocks that were not successfully transmitted based on the block sequencer and position association. Then, a key prediction mechanism based on a chaotic mapping model is used to regenerate the encryption key. It is assumed that the previous key generation was based on the initial key seed. and chaos parameters The system predicts subsequent encryption keys using a known number of iterations and partial key components. Unsuccessfully transmitted data is encrypted in chunks and then transmitted again. Simultaneously, at the receiving end, a cross-validation algorithm is used to verify the received data, ensuring its accuracy. Before receiving the data, the original state data undergoes Kalman filtering for noise reduction and then a standardized format conversion, providing a high-quality data foundation for subsequent processing.

[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0106] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for securely encrypted sharing of traffic signal light states, characterized in that, include: Receive real-time status data of the target traffic lights; Based on the real-time status data, light status feature information, timing information, and location identification information are separated. The light status feature information is dynamically segmented and encoded to generate a first encoding sequence, and the time sequence information is timestamped and encrypted to generate a second encoding sequence. According to a preset priority strategy, the first encoded sequence and the second encoded sequence are differentially encrypted to generate first encrypted data and second encrypted data. The first encrypted data, the second encrypted data, and the location identification information are encapsulated into a transmission unit and sent to the target terminal so that the target terminal can decrypt and reassemble the data based on the location identification information to restore the real-time status data. The differentiated encryption includes: Determine whether the amount of data in the first encoded sequence exceeds the threshold; If the number of segments exceeds the limit, a dynamic key rotation algorithm is used to encrypt the first encoded sequence in segments. If the limit is not exceeded, the first encoded sequence is encrypted using a fixed key matrix encryption algorithm.

2. The traffic signal light status controllable secure encrypted sharing method according to claim 1, characterized in that, The light status feature information includes the current light color status, flashing mode, and countdown value; the timing information includes the status switching timestamp and duration; and the location identification information includes the unique number of the traffic light and its geographical coordinates.

3. The traffic signal light state-controlled secure encrypted sharing method according to claim 2, characterized in that, The differentiated encryption also includes: Based on the priority level of the light status feature information, different encryption kernels are assigned to the first encoded sequence; wherein, high-priority light status feature information adopts a multi-layer nested encryption algorithm, and low-priority light status feature information adopts a single-layer encryption algorithm.

4. The traffic signal light state controllable secure encrypted sharing method according to claim 3, characterized in that, The network packet structure of the transmission unit includes: Type identifier, used to distinguish lamp status characteristic information, timing information and location identification information; Dynamic key identifiers are used to indicate the key rotation rules for segmented encryption or matrix parameters for fixed keys; Location association, used to map the location identification information to the decryption permissions of the target terminal; Block sequencer is used to mark the segmentation order of the first encrypted data and the timestamp association of the second encrypted data.

5. The traffic signal light state controllable secure encrypted sharing method according to claim 4, characterized in that, The dynamic key rotation algorithm includes: An initial key seed is generated based on real-time acquired environmental noise data, where the noise energy value... The calculation formula is: ,in The number of sampling points. For the first Each sample value, This is the sample mean; The initial key seed is input into the chaotic mapping model to iteratively generate a segmented encryption key sequence, and the iterative formula is as follows: ,in For chaotic parameters, For the first The key components generated in the next iteration. For the first Key components generated in the next iteration; Each segment encryption key is XORed with the corresponding data segment for obfuscation, and then a hash function is used for one-way encryption.

6. The traffic signal light state controllable secure encrypted sharing method according to claim 5, characterized in that, The fixed key matrix encryption algorithm includes: Convert the first encoded sequence to Two-dimensional matrix ; Using a predefined permutation matrix and For matrix Perform row and column obfuscation to generate an obfuscation matrix: ; Modulo addition is performed on the obfuscated matrix elements to generate the ciphertext matrix. : ,in For the preset key matrix, Let be the element in the i-th row and j-th column of the ciphertext matrix. For the element in the i-th row and j-th column of the confusion matrix, The element in the i-th row and j-th column of the predefined key matrix, where 256 is the radix for the modulo operation.

7. The traffic signal light state-controlled secure encrypted sharing method according to claim 6, characterized in that, Also includes: Before encapsulating the transmission unit, the first encrypted data and the second encrypted data are subjected to redundancy check encoding. The checksum is generated using a cross-parity check algorithm, and the formula for generating the checksum is as follows: ; ; in Represents the first in the data matrix Line 1 Column data bits, For row parity check bits, For parity check bits.

8. The traffic signal light state controllable secure encrypted sharing method according to claim 7, characterized in that, Also includes: If a transmission interruption is detected, the data blocks that were not successfully transmitted are located based on the block sequencer and the position association character. A key prediction mechanism based on a chaotic mapping model is used to regenerate the encryption key for the corresponding block and retransmit it.

9. The traffic signal light state controllable secure encrypted sharing method according to claim 8, characterized in that, The real-time status data reception also includes a preprocessing step: The original state data is denoised using the Kalman filter algorithm. The denoised data is then standardized and converted to conform to the preset encoding specifications.

10. A traffic signal light status-controllable, secure, encrypted, and shared system, characterized in that, include: The data acquisition module is used to acquire real-time status data of traffic lights; The block encryption module is used to perform the method as described in any one of claims 1 to 9; A transmission control module is used to encapsulate and send the transmission unit to the target terminal.

Citation Information

Patent Citations

  • Subway train data protection system and method

    CN118381665A

  • Block chain-based distributed traffic signal control method and device, and medium

    CN119992854A