Expressway information encryption transmission method and system

By adopting multi-time node encryption and pre-storage key unit management in the highway information encryption transmission system, only the key areas of video surveillance data are encrypted, solving the problems of highway information encryption and complex key updates, and achieving efficient and secure data transmission.

CN119865572APending Publication Date: 2025-04-22HEBEI EXPRESSWAY GRP LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510110230.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-22

Smart Images

  • Figure CN119865572A_ABST
    Figure CN119865572A_ABST
Patent Text Reader

Abstract

The invention provides a highway information encryption transmission method and system, and belongs to the technical field of information processing, and the method comprises the steps: encrypting first data based on a first secret key at a plurality of first time nodes, and transmitting the encrypted first data to a first device; the first secret key is selected from a pre-stored secret key unit, the first data is traffic flow data, and the first device is an information board LED screen; at a plurality of second time nodes, sending a data request to a second device to instruct the second device to encrypt specified data in the second data, and sending the encrypted second data to a control center; the second equipment is video monitoring equipment, and the second data is video monitoring data. According to the expressway information encryption transmission method and system provided by the invention, the calculation amount of an expressway information encryption process can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of information processing technology, and more specifically, to a method and system for encrypting and transmitting highway information. Background Art

[0002] Highway information mainly includes LED screen data of highway information boards in various sections, data of highway video surveillance network and ETC toll data, etc. Among them, LED screen data is used to provide drivers with important information such as road conditions, accidents, and traffic control. By encrypting the LED screen data, it can prevent the LED screen data from being tampered with, and prevent drivers from receiving wrong guidance and causing traffic chaos; highway video surveillance data is crucial for traffic management, accident investigation and other work. Encryption can prevent video data from being maliciously modified or deleted during transmission, and ensure the authenticity and integrity of monitoring data; ETC toll data involves a large amount of financial transaction data such as vehicle information and toll amount. Encrypting this data can prevent the user's bank card information from being leaked and the toll amount from being tampered with.

[0003] Symmetric encryption methods (such as SM4) can be used for the LED screen data of high-speed information boards on each section of the road. Symmetric encryption methods require the same key to be securely distributed to each information board. In order to ensure security, the key needs to be updated regularly. For a large number of information boards, updating the key at the same time is a complex task.

[0004] For data from the highway video surveillance private network, due to the large amount of video surveillance data traffic, encrypting a large number of video frames requires a lot of computation. Summary of the invention

[0005] The purpose of the present disclosure is to provide a method and system for encrypting and transmitting highway information, so as to reduce the amount of calculation in the process of encrypting highway information.

[0006] A first aspect of an embodiment of the present disclosure provides a method for encrypting and transmitting highway information, comprising: At a plurality of first time nodes, first data is encrypted based on a first key, and the encrypted first data is sent to a first device; the first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen; At multiple second time nodes, a data request is sent to a second device to instruct the second device to encrypt specified data in the second data and send the encrypted second data to a control center; the second device is a video surveillance device, and the second data is video surveillance data.

[0007] A second aspect of the embodiments of the present disclosure provides a highway information encryption transmission system, including: A first transmission module is used to encrypt first data based on a first key at multiple first time nodes, and send the encrypted first data to a first device; the first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen; The second transmission module is used to send a data request to the second device at multiple second time nodes to instruct the second device to encrypt specified data in the second data and send the encrypted second data to the control center; the second device is a video surveillance device, and the second data is video surveillance data.

[0008] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned method for encrypting and transmitting highway information when executing the computer program.

[0009] In a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for encrypting and transmitting highway information are implemented.

[0010] The beneficial effects of the highway information encryption transmission method and system provided by the embodiments of the present disclosure are: In the disclosed embodiment, for the LED screen data of the information board, a key unit can be pre-stored for each information board in an offline manner (such as using an encrypted mobile storage device), and the key unit stores the currently used key (i.e., the first key) and other multiple versions of keys. When data needs to be sent, the first data can be encrypted based on the first key, and when the key needs to be updated, the control center and each first device can obtain a new key from the key unit according to the same rules, thereby safely realizing the synchronous update of the key.

[0011] For data from the highway video surveillance network, only designated data, that is, only key areas in the video (such as areas containing private information such as license plate numbers and people's faces) can be encrypted, while other areas are transmitted normally. This protects privacy and reduces the amount of encryption calculations. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A schematic diagram of a flow chart of a method for encrypting and transmitting highway information provided by an embodiment of the present disclosure; Figure 2 A structural block diagram of a highway information encryption transmission system provided by an embodiment of the present disclosure; Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0014] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0015] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0016] Please refer to Figure 1 , Figure 1 A schematic diagram of a method for encrypting and transmitting highway information provided by an embodiment of the present disclosure, the method comprising: S101: At multiple first time nodes, encrypt the first data based on the first key, and send the encrypted first data to the first device; the first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen.

[0017] In this embodiment, multiple first time nodes can be automatically determined according to a certain time period, for example, according to the statistical period of traffic flow (such as every 10 minutes or every 15 minutes), or multiple first time nodes can be manually determined to achieve timely updating of the information board LED screen data.

[0018] The key unit stores the currently used key (i.e., the first key) and multiple versions of keys. When data needs to be sent, the first data can be encrypted based on the first key and sent to the information board LED screen to prevent the first data from being obtained and tampered with by malicious attackers during transmission, thereby avoiding showing the driver wrong traffic information and misleading driving decisions.

[0019] S102: at multiple second time nodes, sending a data request to a second device to instruct the second device to encrypt designated data in the second data, and sending the encrypted second data to a control center; the second device is a video surveillance device, and the second data is video surveillance data.

[0020] In this embodiment, a first communication cycle can be set between the control center and the second device, and multiple second time nodes can be automatically determined based on the first communication cycle, or multiple second time nodes can be manually determined to send the video images of the highway to the control center in a timely manner.

[0021] Considering that the amount of video surveillance data is usually large, if all of it is encrypted, it will consume a lot of computing resources and affect transmission efficiency. In this embodiment, only designated data, that is, only key areas in the video (such as areas containing license plate numbers, people's faces and other private information) are encrypting, and other areas are transmitted normally. This not only protects the privacy and security of important information, but also reduces the encryption burden to a certain extent.

[0022] It can be concluded from the above that in this embodiment, for the LED screen data of the information board, a key unit can be pre-stored for each information board in an offline manner (such as using an encrypted mobile storage device), and the key unit stores the currently used key (that is, the first key) and other multiple versions of keys. When data needs to be sent, the first data can be encrypted based on the first key. When the key needs to be updated, the control center and each first device can obtain a new key from the key unit according to the same rules, thereby safely realizing the synchronous update of the key.

[0023] For data from the highway video surveillance network, only designated data, that is, only key areas in the video (such as areas containing private information such as license plate numbers and people's faces) can be encrypted, while other areas are transmitted normally. This protects privacy and reduces the amount of encryption calculations.

[0024] In one embodiment of the present disclosure, the method for encrypting and transmitting highway information further includes: At multiple third time nodes, a data request is sent to a third device to instruct the third device to send third data and a corresponding message authentication code to the control center; the third device is an ETC device, and the third data is ETC charging data.

[0025] In this embodiment, a second communication cycle can be set between the control center and the third device, and multiple second time nodes can be automatically determined based on the second communication cycle, or multiple third time nodes can be manually determined to send ETC charging data to the control center in a timely manner.

[0026] Considering that ETC charging data involves fund transactions, the accuracy and integrity of the data are crucial. Therefore, when sending ETC charging data, the third device can calculate the MAC value of the ETC charging data and send it together with the ETC charging data. The receiver verifies the MAC value to determine whether the data has been tampered with.

[0027] Specifically, a hash function can be used to calculate the MAC value. Assume that there is a message M consisting of ETC charging data, and the key used is K. First, the key K is processed. If the length of K is greater than the block length of the hash function (such as SHA256) (the SHA256 block length is 512 bits), then K is hashed to obtain a hash value of fixed length; if the length of K is less than the block length, 0 is padded on the right side of K to make its length reach the block length.

[0028] Then the processed key K is divided into two parts: the internal key Ki and the external key Ko. For example, the left half of the processed key is Ki and the right half is Ko. The message M is XORed (bit-wise XORed) with the internal key Ki to obtain the intermediate message Mi. The selected hash function (such as SHA256) is used to perform a hash operation on Mi to obtain the hash value H.

[0029] Finally, the hash value H is XORed with the external key Ko to obtain the final MAC value.

[0030] It can be concluded from the above that this embodiment can effectively verify the integrity and authenticity of ETC toll data by sending the message authentication code. During the transmission process, if the data is tampered with, the receiver (control center) can detect the abnormality by verifying the message authentication code, prevent illegal modification of toll data, and avoid economic losses to the highway toll system.

[0031] In one embodiment of the present disclosure, the pre-stored key unit includes a plurality of keys arranged in sequence, and the highway information encryption transmission method further includes: At a plurality of fourth time nodes, the key of a position next to the target position is determined as the first key, and the target position is the position where the key currently in use is located.

[0032] In this embodiment, a specific implementation method for key update based on the key unit is provided. The next key of the currently used key can be used as the new key according to the order in which the keys are stored in the key unit. The above update method is simple and easy to manage. The control center and multiple first devices all update the keys according to the above update method, and the key can be updated synchronously.

[0033] Furthermore, the time point for updating the key, i.e., the fourth time node, can be set in a time period with less traffic (such as late at night or early in the morning), so that even if there is a short information release delay during the switching process between the old and new keys, the impact on traffic can be minimized. For example, during the period from 2 to 4 in the morning, there are relatively few vehicles on the highway, and the information update frequency of most information board LED screens is also low. It is more appropriate to perform the key update operation at this time.

[0034] From the above, it can be concluded that when updating the first key, this embodiment selects the next key in a predetermined order, so that a smooth transition can be made between the new key and the old key, ensuring that the encryption and sending of vehicle flow data are carried out continuously and stably without long-term interruptions or errors due to key updates, thereby ensuring the stability of the highway information system.

[0035] In one embodiment of the present disclosure, the method for encrypting and transmitting highway information further includes: At a fifth time node after the fourth time node, the key of the target location is updated, and the key of the target location is sent to the first device to indicate the corresponding storage of the first device.

[0036] In this embodiment, when the new key is enabled (i.e., the key update is completed), the key at the old key position can be updated, and the updated old key can be sent to the information board LED screen. The updated key can be pushed in advance so that the information board LED screen can store it in advance to prepare for subsequent key updates.

[0037] Specifically, a cryptographically secure pseudo-random number generator (CSPRNG) can be used to generate keys. CSPRNG is a tool that can generate sequences with good randomness. It uses entropy sources in the system (such as hardware noise, system time, etc.) to generate random numbers. For example, in a computer system, the hardware device itself will generate some unpredictable electrical signal noise during operation, which can be used as part of the entropy source by CSPRNG. At the same time, changes in system time (accurate to nanoseconds or even finer granularity) can also provide a variable factor for random number generation.

[0038] It can be concluded from the above that the present embodiment updates and stores the old key in advance, thereby ensuring that the key in the key unit is continuously updated, avoiding the reuse of the key and increasing the risk of being decrypted.

[0039] In one embodiment of the present disclosure, the designated data includes a license plate number image and a person's face image, and the process of acquiring the designated data includes: Extracting video frame images from video surveillance data; The video frame image is input into the target detection model to obtain the license plate number image and the person's face image in the video frame image.

[0040] In this embodiment, the video surveillance data is usually in the form of a continuous video stream, which can be extracted at a certain time interval to obtain multiple video frame images. For example, extraction is performed every fixed number of frames (such as extracting one frame every 5 or 10 frames), which can ensure that enough representative images are obtained, and the subsequent processing will not be too complicated due to excessive data volume.

[0041] The extracted video frame images are input into the existing target detection model (such as the commonly used YOLO, SSD and other deep learning models). The target detection model can accurately locate the area where the license plate number and the person's face are located in the image, and then obtain the corresponding image content, so as to filter out the key designated data that needs to be encrypted and protected from the massive video surveillance data.

[0042] From the above, it can be concluded that this embodiment can accurately obtain designated data containing privacy information such as license plate number images and facial images of people, and can subsequently perform targeted encryption processing and reasonably allocate security resources so that limited security resources (such as encryption key management, encryption computing capabilities, etc.) can be focused on these key data, thereby improving the security protection capabilities of the entire highway video surveillance data in terms of privacy protection.

[0043] In one embodiment of the present disclosure, the method for encrypting and transmitting highway information further includes: The vehicle flow data is sent to the second device to instruct the second device to determine a sixth time node based on the vehicle flow data, and to extract a video frame image from the video surveillance data based on the sixth time node.

[0044] In this embodiment, considering that when the traffic volume is large, the vehicles on the highway are densely packed and a large number of vehicles pass through the monitoring area per unit time, a smaller time interval (for example, extracting a frame of image every 0.5 seconds or 1 second) is used to extract the video frame images in the video monitoring data. This can ensure that as many images of each vehicle as possible are captured during the rapid passage of many vehicles.

[0045] At the same time, considering that when the traffic volume is small, there are few vehicles on the highway, the intervals between vehicles are large, and the time intervals between vehicles passing through the monitoring area are relatively long. At this time, extracting video frames at a larger time interval (such as extracting a frame every 5 seconds or 10 seconds) is sufficient to ensure that every vehicle can be recorded.

[0046] On the basis of determining the time interval, a plurality of sixth time nodes may be automatically determined based on the time interval, or a plurality of sixth time nodes may be manually set, and video frame images may be extracted at the sixth time nodes.

[0047] From the above, it can be concluded that this embodiment sends the vehicle flow data to the video surveillance device, and the video surveillance device determines the sixth time point for extracting the video frame image according to the size of the vehicle flow. On the basis of ensuring that each vehicle can be recorded, the number of video frame images can be minimized, thereby reducing the amount of calculation.

[0048] In one embodiment of the present disclosure, the process of determining the sixth time node includes: In response to the vehicle flow being less than or equal to the first threshold, determining a sixth time node based on a change degree value between adjacent frames in the video monitoring data; In response to the vehicle flow being greater than a first threshold, a first time interval is determined based on the vehicle flow, and a sixth time node is determined based on the first time interval.

[0049] In this embodiment, considering that when the traffic volume is too low, that is, less than the first threshold, there are few vehicles on the highway, at this time, it is not suitable to adopt the method of timed extraction of video frame images. The vehicle can be detected by comparing the pixel differences between adjacent video frames (that is, the degree of change between adjacent frames). If a significant difference is found (exceeding a certain threshold), the current frame is extracted.

[0050] The change value between adjacent frames can reflect whether there are new vehicles entering the picture, the vehicle's motion state has changed, or other factors that may affect the traffic situation. For example, if the pixel change between adjacent frames is very small, it means that the traffic scene is almost static and there may be no vehicles passing by for a long time; and when the pixel change suddenly increases, it is likely that a vehicle has quickly entered the monitoring screen.

[0051] Specifically, when calculating the change value between adjacent frames, two frames of images can be converted into grayscale images, their difference can be calculated pixel by pixel, and then the sum of the difference values ​​can be counted. If the sum is greater than the set threshold, it is considered that a vehicle has passed, triggering frame extraction.

[0052] When the traffic volume is greater than the first threshold, a method of extracting video frame images at a fixed time may be adopted, firstly determining a first time interval based on the traffic volume data, and then determining a plurality of sixth time nodes based on the first time interval.

[0053] For example, the first time interval is determined to be 0.5 seconds. Taking a certain starting time as a benchmark, the subsequent interval of 0.5 seconds is used as a sixth time node. Video frames are extracted at these time nodes. This can ensure that video images are obtained at a higher frequency when there is heavy traffic, thereby fully capturing the images of each vehicle.

[0054] It can be concluded from the above that the method for determining the sixth time node in this embodiment based on the vehicle flow data can make the rhythm of video frame image extraction highly consistent with the actual traffic conditions.

[0055] The first time interval determined based on the traffic volume can be described in detail as follows: In response to the vehicle flow being between the first threshold and the second threshold, determining the first time interval based on a negative correlation between the vehicle flow and the first time interval; In response to the vehicle flow rate being greater than a second threshold, the first time interval is determined based on a positive correlation between the vehicle flow rate and the first time interval.

[0056] In this embodiment, when the traffic volume is between the first threshold and the second threshold, it indicates that the highway is in a moderately busy state, which is neither particularly congested nor very sparse. At this time, as the traffic volume gradually increases, the speed of traffic scene changes is accelerating, and it is necessary to extract video frame images more frequently to capture the dynamic changes of vehicles and possible abnormal situations. Therefore, the traffic volume is set to be negatively correlated with the first time interval. When the traffic volume increases by a certain value, the first time interval is shortened accordingly, and the frequency of image frame extraction is increased.

[0057] For example, originally one frame of video was extracted every 3 seconds. When the traffic volume increases, it becomes one frame every 2 seconds, and so on. This ensures that as the traffic volume increases, the video surveillance can record the traffic conditions more carefully and avoid missing vehicles due to long time intervals.

[0058] When the traffic volume exceeds the second threshold, it indicates that the highway is already in a highly busy or even congested state, the vehicle density is very high, and the traffic situation is extremely complex and changes rapidly. At this time, the vehicle movement speed is often very slow, the relative position between adjacent vehicles changes very little, and the distance between vehicles is extremely small. From the perspective of the monitoring screen, the macroscopic changes of the traffic scene in a short period of time are not significant. For example, in a section of road with a long traffic jam, the vehicle may not move much distance for several minutes. Extracting a large number of high-frequency video frames may generate many almost repeated pictures, thereby increasing the burden of storage and processing.

[0059] Therefore, when the traffic volume exceeds the second threshold, the first time interval can be determined based on the positive correlation between the traffic volume and the first time interval. That is, as the traffic volume increases further, the first time interval is appropriately lengthened and the frequency of video frame extraction is slightly reduced to avoid obtaining too many redundant video frames.

[0060] It can be concluded from the above that, in this embodiment, when the traffic volume is moderate, the first time interval is determined based on the negative correlation, ensuring that as the traffic volume increases, the video surveillance can record the traffic conditions more carefully and avoid missing vehicles due to too long time intervals. When the traffic volume is extremely large, the time interval is appropriately lengthened according to the positive correlation, avoiding the collection of a large number of repeated and worthless video frames, and effectively reducing the system resource burden on storage, transmission, and data processing.

[0061] Corresponding to a highway information encryption transmission method of the above embodiment, Figure 2 This is a block diagram of a highway information encryption transmission system provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 2 The highway information encryption transmission system 20 includes: a first transmission module 21 and a second transmission module 22.

[0062] The first transmission module 21 is used to encrypt the first data based on the first key at multiple first time nodes, and send the encrypted first data to the first device; the first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen; The second transmission module 22 is used to send a data request to the second device at multiple second time nodes to instruct the second device to encrypt specified data in the second data and send the encrypted second data to the control center; the second device is a video surveillance device, and the second data is video surveillance data.

[0063] In one embodiment of the present disclosure, the highway information encryption transmission system 20 further includes: The second transmission module 23 is used to send a data request to the third device at multiple third time nodes to instruct the third device to send the third data and the corresponding message authentication code to the control center; the third device is an ETC device, and the third data is ETC charging data.

[0064] In one embodiment of the present disclosure, the pre-stored key unit includes a plurality of keys arranged in sequence, and the first transmission module 21 is specifically used for: At a plurality of fourth time nodes, the key of a position next to the target position is determined as the first key, and the target position is the position where the key currently in use is located.

[0065] In one embodiment of the present disclosure, the first transmission module 21 is further configured to: At a fifth time node after the fourth time node, the key of the target location is updated, and the key of the target location is sent to the first device to indicate the corresponding storage of the first device.

[0066] In one embodiment of the present disclosure, the designated data includes a license plate number image and a person's facial image, and the second transmission module 22 is specifically used to: Extracting video frame images from video surveillance data; The video frame image is input into the target detection model to obtain the license plate number image and the person's face image in the video frame image.

[0067] In one embodiment of the present disclosure, the second transmission module 22 is further configured to: The vehicle flow data is sent to the second device to instruct the second device to determine a sixth time node based on the vehicle flow data, and to extract a video frame image from the video surveillance data based on the sixth time node.

[0068] In one embodiment of the present disclosure, the second transmission module 22 is further configured to: In response to the vehicle flow being less than or equal to a first threshold, determining the sixth time node based on a change degree value between adjacent frames in the video monitoring data; In response to the vehicle flow being greater than a first threshold, a first time interval is determined based on the vehicle flow, and the sixth time node is determined based on the first time interval.

[0069] See also Figure 3 , Figure 3 Schematic block diagram of an electronic device provided by an embodiment of the present disclosure. Figure 3 The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of each module / unit in the above-mentioned device embodiments, such as Figure 2 The functions of modules 21 to 22 are shown.

[0070] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0071] The input device 302 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.

[0072] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0073] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of a highway information encryption transmission method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the electronic device described in the embodiments of the present disclosure, which will not be repeated here.

[0074] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor, all or part of the processes in the above-mentioned embodiment method are implemented, and the computer program can also be completed by instructing the relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0075] The computer-readable storage medium may be an internal storage unit of the electronic device of any of the aforementioned embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0076] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0078] In the several embodiments provided in the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.

[0080] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0081] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for encrypting and transmitting highway information, applied to a control center, characterized in that: include: At a plurality of first time nodes, encrypting the first data based on the first key, and sending the encrypted first data to the first device; The first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen; At a plurality of second time nodes, sending a data request to the second device to instruct the second device to encrypt designated data in the second data and send the encrypted second data to the control center; The second device is a video surveillance device, and the second data is video surveillance data.

2. A highway information encryption transmission method as claimed in claim 1, characterized in that: Also includes: At a plurality of third time points, sending a data request to a third device to instruct the third device to send third data and a corresponding message authentication code to the control center; The third device is an ETC device, and the third data is ETC charging data.

3. A highway information encryption transmission method as claimed in claim 1, characterized in that: The pre-stored key unit includes a plurality of keys arranged in sequence, and the highway information encryption transmission method further includes: At a plurality of fourth time nodes, the key of a position next to the target position is determined as the first key, and the target position is the position where the key currently in use is located.

4. A highway information encryption transmission method as claimed in claim 3, characterized in that: Also includes: At a fifth time node after the fourth time node, the key of the target location is updated, and the key of the target location is sent to the first device to instruct the first device to store the key accordingly.

5. A highway information encryption transmission method as claimed in claim 1, characterized in that: The designated data includes a license plate number image and a person's face image, and the process of acquiring the designated data includes: Extracting video frame images from the video surveillance data; The video frame image is input into a target detection model to obtain a license plate number image and a person face image in the video frame image.

6. A highway information encryption transmission method as claimed in claim 5, characterized in that: Also includes: The vehicle flow data is sent to the second device to instruct the second device to determine a sixth time node based on the vehicle flow data, and to extract a video frame image from the video surveillance data based on the sixth time node.

7. A highway information encryption transmission method as claimed in claim 6, characterized in that: The process of determining the sixth time node includes: In response to the vehicle flow being less than or equal to a first threshold, determining the sixth time node based on a change degree value between adjacent frames in the video monitoring data; In response to the vehicle flow being greater than a first threshold, a first time interval is determined based on the vehicle flow, and the sixth time node is determined based on the first time interval.

8. A highway information encryption transmission system, characterized in that: include: A first transmission module, configured to encrypt the first data based on the first key at a plurality of first time nodes, and send the encrypted first data to the first device; The first key is selected from a pre-stored key unit, the first data is vehicle flow data, and the first device is an information board LED screen; A second transmission module, used to send a data request to the second device at multiple second time nodes to instruct the second device to encrypt designated data in the second data and send the encrypted second data to the control center; The second device is a video surveillance device, and the second data is video surveillance data.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.