Data acquisition device for traffic intersection and acquisition method thereof
By introducing data encryption, identity verification and integrity verification mechanisms into the traffic intersection data collection device, the problem of data integrity protection is solved, the accuracy and reliability of traffic data are ensured, and the decision-making quality of traffic management is improved.
Patent Information
- Application Number
- CN202410972039.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology is difficult to protect the integrity of traffic intersection data, resulting in data tampering or errors that may affect the correctness and reliability of traffic decisions.
A data collection device including a data collection, processing and storage module, and a communication module is designed. The communication module includes a data encryption unit, an identity verification and access control unit, and a data integrity verification unit. Through the encryption algorithm, identity verification, and data integrity Authentication ensures the security and integrity of data during transmission.
It ensures the integrity and accuracy of data during transmission, prevents tampering and illegal access, and improves the reliability of traffic management decisions.
Smart Images

Figure CN118675330A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of traffic intersection data collection, and in particular to a data collection device and a data collection method for a traffic intersection. Background Art
[0002] Intelligent Transportation System (ITS) has gradually emerged since the 1980s with the rapid development of computer technology. In the early days, the system focused on improving the travel efficiency of the road network through traffic signal control optimization, and introduced some infrastructure such as vehicle detectors and video surveillance to collect traffic data and monitor road conditions. Entering the 21st century, with the popularization of the Internet and the development of wireless communication technology, the acquisition and processing of traffic data has become more convenient, and the intelligent transportation system has entered a new stage of development. In the intelligent transportation system, data acquisition devices are the core equipment for obtaining real-time traffic information. They provide decision support for traffic managers by collecting key data such as traffic flow, speed, and vehicle type. At the same time, they also provide real-time traffic information to the public, helping people plan travel routes and reduce traffic congestion and accidents.
[0003] In the prior art, it is difficult to protect the collected data, that is, it is difficult to protect the integrity of the data and ensure that the collected data is accurate and reliable. The correctness and reliability of traffic decisions may be affected due to data tampering or errors. Therefore, it is necessary to propose a data collection device and a data collection method for traffic intersections. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings in the prior art that it is difficult to protect the collected data, that is, it is difficult to protect the integrity of the data, it is difficult to ensure that the collected data is accurate and reliable, and the correctness and reliability of traffic decisions may be affected due to data tampering or errors. A data collection device and a collection method for traffic intersections are proposed.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A data collection device for a traffic intersection, comprising:
[0007] Data collection module: responsible for detecting various data at traffic intersections;
[0008] Data processing and storage module: responsible for processing the collected data, extracting key traffic information, and storing the data;
[0009] Communication module: responsible for transmitting the collected data to the data center or management platform securely and in real time;
[0010] The communication module includes a data encryption unit, an identity authentication and access control unit, and a data integrity verification unit. The data encryption unit is responsible for encrypting the data before data transmission. The identity authentication and access control unit is responsible for verifying the identities of both communicating parties to prevent data leakage or illegal use. The data integrity verification unit is responsible for verifying the integrity of the transmitted data to ensure that the data has not been tampered with during the transmission process.
[0011] The above technical solution further includes:
[0012] The data encryption unit uses a data encryption algorithm to ensure that the data content is not obtained or tampered with by unauthorized users during the data transmission process. The specific steps of the data encryption algorithm are:
[0013] Demand analysis and algorithm selection: Determine the protection level of the data to be encrypted and select a suitable encryption algorithm based on actual needs and security requirements;
[0014] Key management and distribution: Use secure key storage methods and use secure channels to distribute keys;
[0015] Data encryption: Encrypt the data that needs to be encrypted using the selected encryption algorithm and key. Data transmission and storage: Transmit the encrypted data through a secure channel.
[0016] Data decryption: After decryption using the corresponding decryption algorithm and key, relevant personnel can access or use the encrypted data.
[0017] The identity authentication and access control unit is used to verify the user's identity information, and the specific verification steps are:
[0018] Step 1: The user enters the user name, password and digital certificate for identity verification, and the data receiving end receives the identity verification information entered by the user;
[0019] Step 2: Compare the received information with the pre-stored verification information, check the matching degree of the username and password, and verify the signature and validity of the digital certificate;
[0020] Step 3: If the user identity information verification is successful, the user will be allowed to access and use the data. If the user identity information verification fails, the user will be denied access and an error message will be displayed to the user.
[0021] The data collection module uses a traffic flow statistics algorithm to count the number of actual traffic participants in each direction. The formula of the traffic flow statistics algorithm is:
[0022] (q=\frac{n}{t})
[0023] Where (q) represents the traffic flow, in units of vehicles / hour or people / hour;
[0024] (n) represents the number of traffic participants passing a certain location within time (t);
[0025] (t) represents time in hours.
[0026] The data processing and storage module includes a data processing unit, a data security protection unit and a security storage unit. The data processing unit uses a background subtraction algorithm to help detect moving objects and separate the foreground from the background. The formula of the background subtraction algorithm is:
[0027] [I_{\text{foreground}}(x,y,t)=\begin{cases}I(x,y,t),&\text{if}I(x,y,t)-B(x,y,t)>\tau\0,&\text{otherwise}\end{cases}]Where (I_{\text{foreground}}(x,y,t)) represents the foreground pixel value at position ((x,y)) and time (t);
[0028] (I(x,y,t)) represents the current image pixel value at position ((x,y)) and time (t);
[0029] (B(x,y,t)) represents the background image pixel value at position ((x,y)) and time (t);
[0030] (\tau) represents the threshold value that determines when a pixel is recorded as foreground.
[0031] The data security protection unit is responsible for real-time monitoring of security risks in the data processing process, and the security storage unit protects and stores the processed data to prevent data leakage and illegal access.
[0032] A data collection method for a traffic intersection data collection device comprises the following steps:
[0033] Step 1: Identify the data types that need to be collected, determine the installation location of the data collection device according to the characteristics and importance of the traffic intersection, and install the data collection device;
[0034] Step 2: Real-time data collection is performed through the collection device and GPS positioning system, and the collected data is synchronized to the data center in real time and backed up to prevent data loss;
[0035] Step 3: Clean the collected raw data and integrate the data from different collection devices to form a complete traffic intersection data set;
[0036] Step 4: Perform statistical analysis on the integrated data, extract useful traffic information, and store the processed data in a cloud storage system for subsequent data analysis and application;
[0037] Step 5: The collected data is transmitted to the traffic management department in real time. Relevant personnel can access and operate the data only after identity verification, so as to make decisions or adjust traffic management measures based on the data.
[0038] In step one, the data types are divided into traffic flow, vehicle speed, vehicle type, and number of pedestrians, and the collection device includes a sensor, a camera, and a GPS positioning device.
[0039] The present invention has the following beneficial effects:
[0040] 1. In the present invention, the identities of both parties in communication can be verified through the data encryption unit, identity authentication and access unit and data integrity verification unit set in the communication module, and at the same time, it can ensure that the data is not tampered with during the transmission process, protect the integrity of the data, and ensure that the collected data is accurate and reliable.
[0041] 2. In the present invention, the data security protection unit can monitor the security risks in the data processing process in real time to ensure the security and integrity of the data, and can mark and process abnormal data to prevent adverse effects on traffic management and decision-making. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of the structure of a data collection device for a traffic intersection proposed by the present invention;
[0043] Figure 2 A flow chart of a data collection method for a traffic intersection proposed by the present invention;
[0044] Figure 3 A flow chart of a data encryption algorithm for a data collection device for a traffic intersection proposed by the present invention;
[0045] Figure 4 The present invention provides a flow chart for identity authentication of a data collection device for a traffic intersection. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Embodiment 1
[0048] like Figure 1-Figure 2 As shown, a data collection device for a traffic intersection comprises:
[0049] Data collection module: responsible for detecting various data at traffic intersections;
[0050] Data processing and storage module: responsible for processing the collected data, extracting key traffic information, and storing the data;
[0051] Communication module: responsible for transmitting the collected data to the data center or management platform securely and in real time;
[0052] The communication module includes a data encryption unit, an identity authentication and access control unit, and a data integrity verification unit. The data encryption unit is responsible for encrypting the data before transmission. The identity authentication and access control unit is responsible for verifying the identities of the communicating parties to prevent data leakage or illegal use. The data integrity verification unit is responsible for verifying the integrity of the transmitted data to ensure that the data has not been tampered with during transmission.
[0053] The data encryption unit uses a data encryption algorithm to ensure that the data content is not obtained or tampered with by unauthorized users during data transmission. The specific steps of the data encryption algorithm are as follows:
[0054] Demand analysis and algorithm selection: Determine the protection level of the data to be encrypted and select a suitable encryption algorithm based on actual needs and security requirements;
[0055] Key management and distribution: Use secure key storage methods and use secure channels to distribute keys;
[0056] Data encryption: Encrypt the data that needs to be encrypted using the selected encryption algorithm and key. Data transmission and storage: Transmit the encrypted data through a secure channel.
[0057] Data decryption: After decryption using the corresponding decryption algorithm and key, relevant personnel can access or use the encrypted data.
[0058] The identity authentication and access control unit is used to verify the user's identity information. The specific verification steps are as follows:
[0059] Step 1: The user enters the user name, password and digital certificate for identity verification, and the data receiving end receives the identity verification information entered by the user;
[0060] Step 2: Compare the received information with the pre-stored verification information, check the matching degree of the username and password, and verify the signature and validity of the digital certificate;
[0061] Step 3: If the user identity information verification is successful, the user will be allowed to access and use the data. If the user identity information verification fails, the user will be denied access and an error message will be displayed to the user.
[0062] The data collection module uses a traffic flow statistics algorithm to count the number of actual traffic participants in each direction. The formula of the traffic flow statistics algorithm is:
[0063] (q=\frac{n}{t})
[0064] Where (q) represents the traffic flow, in units of vehicles / hour or people / hour;
[0065] (n) represents the number of traffic participants passing a certain location within time (t);
[0066] (t) represents time in hours.
[0067] The data processing and storage module includes a data processing unit, a data security protection unit and a security storage unit. The data processing unit uses a background subtraction algorithm to help detect moving objects and separate the foreground from the background. The formula of the background subtraction algorithm is:
[0068] [I_{\text{foreground}}(x,y,t)=\begin{cases}I(x,y,t),&\text{if}I(x,y,t)-B(x,y,t)>\tau\0,&\text{otherwise}\end{cases}]Where (I_{\text{foreground}}(x,y,t)) represents the foreground pixel value at position ((x,y)) and time (t);
[0069] (I(x,y,t)) represents the current image pixel value at position ((x,y)) and time (t);
[0070] (B(x,y,t)) represents the background image pixel value at position ((x,y)) and time (t);
[0071] (\tau) represents the threshold value that determines when a pixel is recorded as foreground.
[0072] The data security protection unit is responsible for real-time monitoring of security risks in the data processing process, and the security storage unit protects and stores the processed data to prevent data leakage and illegal access.
[0073] In this embodiment, traffic data is collected by the data collection module, the data processing unit can process the collected data, the data security protection unit can monitor the data processing process in real time to prevent abnormal data from having adverse effects on traffic management and decision-making, the secure storage unit can store the processed data to ensure the confidentiality and security of the data, and when the data needs to be transmitted, the data encryption unit will encrypt the data before transmission to ensure that the data is not illegally intercepted or cracked during the transmission process. The identity authentication and access control unit verifies the user's identity information through the user input of the user name, password and digital certificate to ensure that only legitimate users can participate in the communication. The access control policy can limit the access rights of different users to the data to prevent data leakage or illegal use. The data integrity verification unit uses a hash function to calculate the hash value of the data, and performs the same hash calculation on the received data at the receiving end. By comparing whether the two hash values are consistent, the integrity of the transmitted data can be verified to understand whether the data has been tampered with during the transmission process.
[0074] Embodiment 2
[0075] like Figure 1-Figure 2 As shown, a data collection method for a traffic intersection data collection device comprises the following steps:
[0076] Step 1: Identify the data types that need to be collected, determine the installation location of the data collection device according to the characteristics and importance of the traffic intersection, and install the data collection device;
[0077] Step 2: Real-time data collection is performed through the collection device and GPS positioning system, and the collected data is synchronized to the data center in real time and backed up to prevent data loss;
[0078] Step 3: Clean the collected raw data and integrate the data from different collection devices to form a complete traffic intersection data set;
[0079] Step 4: Perform statistical analysis on the integrated data, extract useful traffic information, and store the processed data in a cloud storage system for subsequent data analysis and application;
[0080] Step 5: The collected data is transmitted to the traffic management department in real time. Relevant personnel can access and operate the data only after identity verification, so as to make decisions or adjust traffic management measures based on the data.
[0081] In step one, the data types are divided into traffic flow, vehicle speed, vehicle type, and number of pedestrians, and the collection devices include sensors, cameras, and GPS positioning devices.
[0082] In this embodiment, during the real-time data collection, traffic cameras and image recognition technology can be used to capture images of traffic intersections, and information such as vehicle flow, vehicle speed, and lane occupancy can be counted. Traffic radars and the use of radar principles to detect the movement status of vehicles can be used to measure the speed, distance, and density of vehicles. Geomagnetic sensors buried underground can be used to sense the passing and stopping of vehicles, and information such as vehicle flow and average speed can be counted. The position and trajectory of the vehicle can be tracked by the GPS positioning system, and information such as the vehicle's driving speed, driving route, and driving distance can be obtained.
[0083] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A data collection device for a traffic intersection, characterized in that: include: Data collection module: responsible for detecting various data at traffic intersections; Data processing and storage module: responsible for processing the collected data, extracting key traffic information, and storing the data; Communication module: responsible for transmitting the collected data to the data center or management platform securely and in real time; The communication module includes a data encryption unit, an identity authentication and access control unit, and a data integrity verification unit. The data encryption unit is responsible for encrypting the data before data transmission. The identity authentication and access control unit is responsible for verifying the identities of both communicating parties to prevent data leakage or illegal use. The data integrity verification unit is responsible for verifying the integrity of the transmitted data to ensure that the data has not been tampered with during the transmission process.
2. A data collection device for a traffic intersection according to claim 1, characterized in that: The data encryption unit uses a data encryption algorithm to ensure that the data content is not obtained or tampered with by unauthorized users during the data transmission process. The specific steps of the data encryption algorithm are: Demand analysis and algorithm selection: Determine the protection level of the data to be encrypted and select a suitable encryption algorithm based on actual needs and security requirements; Key management and distribution: Use secure key storage methods and use secure channels to distribute keys; Data encryption: Encrypt the data to be encrypted using the selected encryption algorithm and key Data transmission and storage: Encrypted data is transmitted through a secure channel Data decryption: After decryption using the corresponding decryption algorithm and key, relevant personnel can access or use the encrypted data.
3. The data collection device for traffic intersections according to claim 1, characterized in that: The identity authentication and access control unit is used to verify the user's identity information, and the specific verification steps are: Step 1: The user enters the user name, password and digital certificate for identity verification, and the data receiving end receives the identity verification information entered by the user; Step 2: Compare the received information with the pre-stored verification information, check the matching degree of the username and password, and verify the signature and validity of the digital certificate; Step 3: If the user identity information verification is successful, the user will be allowed to access and use the data. If the user identity information verification fails, the user will be denied access and an error message will be displayed to the user.
4. The data collection device for traffic intersections according to claim 1, characterized in that: The data collection module uses a traffic flow statistics algorithm to count the number of actual traffic participants in each direction. The formula of the traffic flow statistics algorithm is: (q=\frac{n}{t}) Where (q) represents the traffic flow, in units of vehicles / hour or people / hour; (n) represents the number of traffic participants passing a certain location within time (t); (t) represents time in hours.
5. The data collection device for a traffic intersection according to claim 1, characterized in that: The data processing and storage module includes a data processing unit, a data security protection unit and a security storage unit. The data processing unit uses a background subtraction algorithm to help detect moving objects and separate the foreground from the background. The formula of the background subtraction algorithm is: [I_{\text{foreground}}(x,y,t)=\begin{cases}I(x,y,t),&\text{if}I(x,y,t)-B(x,y,t)>\tau\0,&\text{otherwise}\end{cases}]Where (I_{\text{foreground}}(x,y,t)) represents the foreground pixel value at position ((x,y)) and time (t); (I(x,y,t)) represents the current image pixel value at position ((x,y)) and time (t); (B(x,y,t)) represents the background image pixel value at position ((x,y)) and time (t); (\tau) represents the threshold value that determines when a pixel is recorded as foreground.
6. A data collection device for traffic intersections according to claim 5, characterized in that: The data security protection unit is responsible for real-time monitoring of security risks in the data processing process, and the security storage unit protects and stores the processed data to prevent data leakage and illegal access.
7. A data collection method for a traffic intersection according to any one of claims 1 to 6, characterized in that: The steps include: Step 1: Identify the data types that need to be collected, determine the installation location of the data collection device according to the characteristics and importance of the traffic intersection, and install the data collection device; Step 2: Real-time data collection is performed through the collection device and GPS positioning system, and the collected data is synchronized to the data center in real time and backed up to prevent data loss; Step 3: Clean the collected raw data and integrate the data from different collection devices to form a complete traffic intersection data set; Step 4: Perform statistical analysis on the integrated data, extract useful traffic information, and store the processed data in a cloud storage system for subsequent data analysis and application; Step 5: The collected data is transmitted to the traffic management department in real time. Relevant personnel can access and operate the data only after identity verification, so as to make decisions or adjust traffic management measures based on the data.
8. The data collection method for a traffic intersection according to claim 7, characterized in that: In step one, the data types are divided into traffic flow, vehicle speed, vehicle type, and number of pedestrians, and the collection device includes a sensor, a camera, and a GPS positioning device.
