Passage data transmission method and device based on vehicle-mounted ETC equipment data transfer
By implementing data cache and subsequent upload in vehicle ETC equipment, the problem of unstable data upload in high-speed ETC charging systems is solved, and the reliability of data upload and the stability of ETC system are improved.
Patent Information
- Application Number
- CN202411660611.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-21
AI Technical Summary
In the high-speed ETC charging system, some high-speed gantry cannot upload the collected data in real time due to unstable network signals or communication failures, resulting in data loss, delay or repeated uploads, affecting the accuracy and timeliness of traffic management and road condition monitoring.
Using the pass data transmission method based on data transfer of on-board ETC equipment, when a vehicle passes through a billing gantry that cannot upload data, the vehicle ETC equipment caches data, and uploads the cached data to the backend when passing through other normal billing gantry. Management system.
Ensure the reliability of data upload and the stability of the system, avoid data loss due to network fluctuations or abnormalities, and improve the overall performance of the ETC system.
Smart Images

Figure CN119495129A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of high-speed ETC toll collection technology, and specifically to a method and device for transmitting traffic data based on data transfer of on-board ETC equipment. Background Art
[0002] With the development of intelligent transportation systems, ETC systems on highways have been widely used for functions such as automatic toll collection and road condition monitoring. However, in actual applications, some high-speed gantries are often unable to upload the collected data to the central server in real time due to unstable network signals or communication failures. This leads to data loss, delay or repeated upload, affecting the accuracy and timeliness of traffic management and road condition monitoring.
[0003] In the existing technology, most high-speed gantries use real-time uploading. Once the network or equipment has problems, data uploading cannot be completed. At present, traditional solutions mostly adopt improving the network coverage of the gantries themselves or storing data through backup systems, but this will increase the cost of the ETC system and is not conducive to the development of ETC. Summary of the invention
[0004] In order to overcome the above-mentioned deficiencies of the prior art, the present application provides a method and device for transmitting traffic data based on vehicle-mounted ETC equipment data transfer, which specifically adopts the following technical solutions:
[0005] A method for transmitting traffic data based on vehicle-mounted ETC equipment data transfer, comprising the following steps:
[0006] When a vehicle passes through a toll station entrance, the vehicle ETC device establishes communication with the roadside device at the toll station entrance, the roadside device at the toll station entrance acquires the vehicle ETC data, and at the same time, the roadside device at the toll station entrance sends first data to the vehicle ETC device; the first data at least includes the number of the toll station entrance, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0007] The vehicle ETC device establishes a storage space corresponding to the current passage according to the first data at the toll station entrance and stores the first data; at the same time, the vehicle ETC device identifies the first data according to the communication status in the first data, and the status identification includes at least upload success and upload failure;
[0008] When a vehicle passes through a toll gantry, the roadside equipment of the toll gantry obtains the vehicle ETC data, and at the same time, the vehicle ETC equipment receives the second data sent by the roadside equipment of the toll gantry; the second data at least includes the number of the current toll gantry, the passing time, and the communication status between the roadside equipment and the background management system; the communication status at least includes normal communication and abnormal communication;
[0009] The vehicle ETC device identifies the status of the second data according to the communication status in the second data, and the status identification includes at least upload success and upload failure;
[0010] When a vehicle passes through any charging gantry, the vehicle ETC device determines whether to upload data according to the status identifier of the first data or the second data in the storage space;
[0011] When a vehicle passes through a toll station exit, the vehicle ETC device establishes communication with the roadside device at the toll station exit, the roadside device acquires the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0012] The vehicle ETC device determines whether to delete the data in the storage space according to the communication status in the third data.
[0013] Optionally, the step of the vehicle ETC device identifying the state of the first data according to the communication state in the first data includes:
[0014] When the communication status between the roadside device and the background management system in the first data is normal, marking the first data as successfully uploaded;
[0015] When the communication status between the roadside device and the background management system in the first data is abnormal, the first data is marked as upload failure.
[0016] Optionally, the step of the vehicle ETC device identifying the state of the second data according to the communication state in the second data includes:
[0017] When the communication status between the roadside equipment and the background management system in the second data is normal, the second data sent by the current billing gantry is marked as uploaded successfully;
[0018] When the communication status between the roadside equipment and the background management system in the second data is abnormal, the second data sent by the current billing gantry is marked as upload failure.
[0019] Optionally, the specific steps of the vehicle ETC device determining whether to upload data according to the status identifier of the first data or the second data in the storage space include:
[0020] When it is determined that the status flags of the first data and the second data in the storage space are both successfully uploaded, the vehicle ETC device does not upload the stored first data and the second data;
[0021] When it is determined that the status of any first data or second data in the storage space is marked as upload failure, the vehicle ETC device will first determine whether to perform data upload based on the communication status of the second data sent by the current billing gantry:
[0022] When the communication status of the second data sent by the current billing gantry is normal communication, the first data or the second data whose status is marked as upload failure is uploaded to the roadside equipment of the current billing gantry, and the currently uploaded first data or the second data is updated according to the communication status in the second data;
[0023] When the communication status of the second data sent by the current billing gantry is abnormal communication, data uploading will not be performed, and the process waits for communication to be established with the next billing gantry.
[0024] Optionally, the step of the vehicle ETC device judging whether to delete the data in the storage space according to the communication status in the third data includes:
[0025] When it is determined that the communication status between the vehicle-mounted ETC device and the background management system in the third data is normal, the vehicle-mounted ETC device deletes the data in the storage space;
[0026] When it is determined in the third data that the communication status between the vehicle's roadside equipment and the background management system is abnormal, the vehicle-mounted ETC device retains the data in the storage space and makes a judgment and uploads it at the toll station entrance before the next passage.
[0027] Optional: When a vehicle passes through a toll station entrance, the toll station entrance will first determine the legitimacy of the current vehicle ETC device when acquiring the vehicle ETC data:
[0028] When the vehicle ETC device stores the last passing data, the toll station entrance will receive the passing data stored in the vehicle ETC device and upload the passing data to the background management system for comparison;
[0029] If the comparison result shows that the communication data has been settled, the toll station entrance sends a storage initialization signal to the vehicle ETC device, and the vehicle ETC device clears the stored communication data based on the initialization signal;
[0030] If the comparison result shows that the traffic data has not been settled, the background management system will execute the deduction process to the corresponding ETC account based on the traffic data. When the background management system successfully deducts the fees, the toll station entrance sends a storage initialization signal to the vehicle's ETC device; when the background management system fails to deduct the fees, the current vehicle is not allowed to pass through the toll station entrance.
[0031] Optional: The vehicle ETC device adopts a priority caching strategy when storing, in which the priority of data that fails to be uploaded is higher than the priority of data that is successfully uploaded; and when the vehicle ETC device uploads data, the data with a status marked as failed to be uploaded is uploaded in the order of the travel time.
[0032] Optional: The vehicle ETC device and the roadside device use the V2X communication protocol to exchange data.
[0033] Optional: The vehicle ETC device uses a hash algorithm to generate a unique identifier for each piece of data. When the vehicle ETC device establishes communication with the roadside device and uploads data, the background management system will first match the unique identifier of the data to be uploaded with the unique identifier of the data uploaded by the current vehicle. If the match is successful, the current data is skipped. If the match fails, the vehicle ETC device uploads the current data to the background management system via the roadside device.
[0034] Furthermore, the present application also discloses a traffic data transmission device based on vehicle-mounted ETC equipment data transfer, the device comprising:
[0035] The entrance information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station entrance when the vehicle passes through the toll station entrance, and the roadside device at the toll station entrance obtains the vehicle ETC data, and at the same time, the roadside device at the toll station entrance sends the first data to the vehicle ETC device; the first data at least includes the number of the toll station entrance, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0036] A first data processing module is used for the vehicle ETC device to establish a storage space corresponding to this passage according to the first data at the toll station entrance and store the first data; at the same time, the vehicle ETC device identifies the first data according to the communication status in the first data, and the status identification at least includes upload success and upload failure;
[0037] The gantry information interaction module is used for when a vehicle passes through the billing gantry, the roadside equipment of the billing gantry obtains the vehicle ETC data, and at the same time the vehicle ETC equipment receives the second data sent by the roadside equipment of the billing gantry; the second data at least includes the number of the current billing gantry, the passing time, and the communication status between the roadside equipment and the background management system; the communication status at least includes normal communication and abnormal communication;
[0038] A second data processing module, used for the vehicle ETC device to identify the status of the second data according to the communication status in the second data, and the status identification at least includes upload success and upload failure;
[0039] A data upload judgment module, used for when a vehicle passes through any charging gantry, the vehicle ETC device determines whether to upload data according to the status identifier of the first data or the second data in the storage space;
[0040] The exit information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station exit when the vehicle passes through the toll station exit, and the roadside device obtains the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0041] The third data processing module is used for the vehicle ETC device to determine whether to delete the data in the storage space according to the communication status in the third data.
[0042] Beneficial Effects
[0043] The technical solution of this application has the following beneficial effects:
[0044] The traffic data transmission method of the present application adopts the vehicle ETC equipment as a temporary transit. When the vehicle passes through a billing gantry that cannot upload data, the vehicle ETC equipment can cache the billing gantry data, and when passing through other billing gantries with normal communication, the vehicle ETC equipment will upload the cached data to the background management system via the roadside equipment. This method can upload data according to the communication status between the billing gantry and the background management system to ensure that the upload process is as free from interference as possible. It solves the problem of missing traffic data caused by the inability to upload data by some billing gantries during vehicle passage due to network fluctuations, anomalies and other problems, and significantly improves the reliability of data upload and the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 Flow chart of the common data transmission method in the embodiment of the present application.
[0046] Figure 2 Schematic diagram of the structure of the travel path of vehicle C in the embodiment of the present application.
[0047] Figure 3 2 is a structural diagram of a common data transmission device in an embodiment of the present application.
[0048] Figure 4 This is a structural diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and cannot be used to limit the scope of protection of the present application. It should be noted that the following detailed descriptions are all exemplary and are intended to provide further explanation of the present application.
[0050] At present, when traditional ETC toll collection systems transmit communication data, they generally first conduct wireless communication and information exchange between the onboard unit (OBU) installed on the vehicle and the roadside unit (RSU) installed at the toll station or billing gantry. The OBU device stores the vehicle's identification information and is generally installed on the windshield in front of the vehicle. The RSU device is installed next to the toll station or billing gantry, and the loop sensor is installed under the lane ground. The backend management system has a large database that stores a large amount of information on registered vehicles and users. When a vehicle passes through a toll station or billing gantry, the loop sensor senses the vehicle, the RSU sends an inquiry signal, the OBU responds, and two-way communication and data exchange are carried out; the RSU transmits the vehicle data to the backend management system, and the backend management system obtains the vehicle identification information, such as the vehicle ID number, vehicle model, etc., and compares and judges with the corresponding information in the database, and controls the management system to produce different actions according to different situations, such as the computer toll management system deducting the toll payable from the vehicle's prepaid account, or sending instructions to other auxiliary facilities. The data transmission process has high requirements for the real-time and stability of network transmission. Once a billing gantry and the background management system experience network fluctuations and the transmission is interrupted, the on-board equipment and roadside units cannot establish an effective communication connection with the background management system, and some data will be missing in the passage path, and the vehicle's driving path cannot be correctly matched, resulting in ETC billing errors. Based on the above reasons, the passage data transmission method adopted in this application can be applied to the ETC equipment communication interruption environment, significantly improving the reliability of data upload and the stability of the ETC system.
[0051] Combination Figure 1 As shown, the embodiment of the present application specifically discloses a method for transmitting traffic data based on data transfer of an on-board ETC device, which can use the on-board ETC device to temporarily store data when some billing gantries are unable to upload data, and upload data when passing through other high-speed gantries with normal communication, thereby effectively improving the reliability and real-time performance of data upload. Specifically, the method described in the embodiment of the present application includes the following steps:
[0052] Step 1: When a vehicle passes through the toll station entrance, the vehicle ETC device establishes communication with the roadside device at the toll station entrance, and the roadside device at the toll station entrance obtains the vehicle ETC data. At the same time, the roadside device at the toll station entrance sends the first data to the vehicle ETC device; the first data includes at least the number of the toll station entrance, the travel time, and the communication status between the roadside device itself and the background management system; the communication status includes at least normal communication and abnormal communication.
[0053] It should be understood that the communication status between the roadside equipment at the entrance of the toll station and the background management system in the embodiment of the present application includes at least two situations: normal communication and abnormal communication. When evaluating the communication status, it can be evaluated based on aspects such as signal strength, transmission rate, delay, packet loss rate, and connection stability. For example, when the signal strength meets a certain threshold, it is judged that the communication between the roadside equipment and the background management system is normal; or when the data transmission rate meets a certain threshold, it is judged that the communication between the roadside equipment and the background management system is normal; or when the data delay is lower than a certain threshold, it is judged that the communication between the roadside equipment and the background management system is normal. Generally, normal communication means that the roadside equipment and the background management system can exchange data in real time and efficiently, while abnormal communication means that the roadside equipment and the background management system cannot transmit data to each other in real time and quickly. The roadside equipment at the entrance of the toll station can obtain the communication status based on its own status judgment function.
[0054] Step 2: The vehicle ETC device establishes a storage space corresponding to this pass according to the first data at the toll station entrance and stores the first data; it should be noted that the storage space is a temporary storage space established for the data of this pass, and when the pass is over, the corresponding storage space will generally be deleted to reduce the data space occupied. At the same time, the vehicle ETC device identifies the status of the first data according to the communication status in the first data, and the status identification includes at least upload success and upload failure.
[0055] The step of the vehicle ETC device in the present application identifying the state of the first data includes:
[0056] When the communication status between the roadside equipment and the background management system in the first data is normal, the first data will be marked as uploaded successfully; generally, when the roadside equipment communicates normally with the background management system, the data uploaded by the vehicle ETC equipment to the toll station can be successfully transmitted to the background management system. At this time, in order to avoid subsequent uploading again, the corresponding data can be marked as uploaded successfully to avoid repeated uploading of data.
[0057] When the communication status between the roadside device and the background management system in the first data is abnormal, the first data is marked as upload failure. When the communication between the roadside device and the background management system is abnormal, it means that the corresponding roadside device cannot upload ETC data in time. To avoid data loss, the unuploaded ETC data can be temporarily stored in the storage space of the vehicle ETC device and carried by the vehicle to the subsequent billing gantry.
[0058] Step three: When a vehicle passes through the billing gantry, the roadside equipment of the billing gantry obtains the vehicle ETC data, and at the same time, the vehicle ETC equipment receives the second data sent by the roadside equipment of the billing gantry; the second data at least includes the number of the current billing gantry, the travel time, and the communication status between its own roadside equipment and the background management system; the communication status at least includes normal communication and abnormal communication. Similarly, when the billing gantry communicates normally, it generally means that the roadside equipment on the billing gantry and the background management system can exchange data in real time and efficiently, while abnormal communication means that the roadside equipment on the billing gantry and the background management system cannot transmit data to each other in real time and quickly. At this time, the roadside equipment of the billing gantry can obtain the communication status based on its own status judgment function.
[0059] Step 4: The vehicle ETC device identifies the status of the second data according to the communication status in the second data, and the status identification includes at least upload success and upload failure. Specifically, the step of the vehicle ETC device identifying the status of the second data includes:
[0060] When the communication status between the roadside equipment and the background management system in the second data is normal, the second data sent by the current billing gantry is marked as uploaded successfully;
[0061] When the communication status between the roadside equipment and the background management system in the second data is abnormal, the second data sent by the current billing gantry is marked as upload failure.
[0062] Step 5: When the vehicle passes through any billing gantry, the vehicle ETC device determines whether to upload data based on the status identifier of the first data or the second data in the storage space.
[0063] Specifically, the step of the vehicle ETC device determining whether to upload data in step 5 includes:
[0064] When it is determined that the status marks of the first data and the second data in the storage space are both uploaded successfully, the vehicle ETC device does not upload the stored first data and the second data; when the status marks of the first data and the second data are both uploaded successfully, it indicates that the data in the storage space of the vehicle ETC device have been uploaded to the background management system, and there is no need to upload the data again.
[0065] When the status of any first data or second data in the storage space is identified as upload failure, it indicates that some data in the storage space has not been uploaded to the backend management system in time, which may cause the loss of traffic data. At this time, the vehicle ETC device will first determine whether to perform data upload based on the communication status of the current billing gantry:
[0066] When the communication status of the second data sent by the current billing gantry is normal communication, it indicates that the current billing gantry can perform the data upload function normally. At this time, the first data or second data with the status marked as upload failure can be uploaded to the roadside equipment of the current billing gantry, and the roadside equipment of the current billing gantry uploads the data to the background management system. At the same time, the currently uploaded first data or second data is updated according to the communication status in the second data sent by the current billing gantry, that is, the status mark of the uploaded first data or second data is changed to upload success.
[0067] When the communication status of the second data sent by the current billing gantry is communication abnormality, it indicates that the current billing gantry cannot upload data normally to the backend management system. At this time, data upload will not be executed. The vehicle will continue to carry the data to the next billing gantry and wait to establish communication with the next billing gantry.
[0068] Step 6: When the vehicle passes through the toll station exit, the vehicle ETC device establishes communication with the roadside device at the toll station exit, the roadside device obtains the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0069] Step 7: The vehicle ETC device determines whether to delete the data in the storage space according to the communication status in the third data. Generally, when a vehicle passes through the toll station exit, if the roadside device at the toll station exit communicates normally with the background management system, that is, the communication status between the roadside device and the background management system in the third data is normal, the vehicle-mounted ETC device will delete all data in the storage space. This step can prevent the vehicle-mounted ETC device from storing too much data, occupying a large amount of space, and causing the device to run slowly.
[0070] At the same time, the present application further improves the stability of ETC data transmission. When the communication between the roadside equipment at the toll station exit and the background management system is abnormal, that is, when the communication status between the roadside equipment itself and the background management system in the third data is abnormal, the on-board ETC equipment can continue to retain the data in the storage space and make a judgment and upload it by the toll station entrance before the next passage, thereby ensuring the accuracy of ETC charges and avoiding abnormalities in any link of the ETC system, resulting in missing passage data and affecting the settlement results.
[0071] Furthermore, in this application, when the vehicle-mounted ETC device stores undeleted traffic data, when the vehicle passes through the toll station entrance, the toll station entrance obtains the vehicle ETC data and simultaneously judges the legitimacy of the vehicle ETC device:
[0072] When the vehicle ETC device stores the last passing data, the toll station entrance will receive the passing data stored in the current vehicle ETC device and upload the passing data to the background management system for comparison;
[0073] If the comparison result shows that the communication data has been settled, the toll station entrance sends a storage initialization signal to the vehicle ETC device, and the vehicle ETC device clears the stored communication data based on the initialization signal;
[0074] If the comparison result shows that the traffic data has not been settled, the background management system will execute the deduction process to the corresponding ETC account based on the uploaded traffic data. When the background management system successfully deducts the fees, the toll station entrance sends a storage initialization signal to the vehicle's ETC device; when the background management system fails to deduct the fees, the current vehicle is not allowed to pass through the toll station entrance.
[0075] Furthermore, the vehicle ETC device described in this application adopts a priority cache strategy when storing data, in which the priority of data that fails to be uploaded is higher than the priority of data that is successfully uploaded; and when the vehicle ETC device uploads data, the data whose status is marked as failed to be uploaded is uploaded in the order of the passing time. When uploading data, the data that has not been uploaded can be transmitted to the background management system in advance, and the data with a earlier time can be transmitted to the background management system first according to the passing time, so as to improve the data transmission efficiency.
[0076] It should be noted that the V2X communication protocol is preferably used for data exchange and transmission between the vehicle ETC equipment and the roadside equipment described in this application.
[0077] In addition, in order to further improve the data transmission rate, the vehicle ETC device described in this application uses a hash algorithm to generate a unique identifier for each data. When the vehicle ETC device establishes communication with the roadside device and uploads data, the background management system will first match the unique identifier of the data to be uploaded with the unique identifier of the data uploaded by the current vehicle. If the match is successful, the current data is skipped. If the match fails, the vehicle ETC device uploads the current data to the background management system via the roadside device to ensure the reliability of data transmission and avoid the same data being uploaded repeatedly.
[0078] Combination Figure 2 As shown, the embodiment of the present application uses the passage process of vehicle C between toll station A and toll station B to specifically illustrate the passage data transmission method of the present application:
[0079] When vehicle C enters the highway from the entrance of toll station A, toll station A establishes communication with vehicle C, and the roadside equipment at the entrance of toll station A obtains the ETC data of vehicle C. At the same time, the roadside equipment at the entrance of toll station A sends the first data to the on-board ETC equipment of vehicle C. Since toll station A maintains normal communication with the background management system, the traffic status in the first data is normal communication. At this time, the ETC data obtained by the roadside equipment at the entrance of toll station A has been uploaded to the background management system. Since the traffic status in the first data is normal communication, the first data is marked as uploaded successfully.
[0080] When vehicle C passes through toll gantry 1, toll gantry 1 establishes communication with vehicle C, and the roadside equipment located at toll gantry 1 obtains the ETC data of vehicle C. At the same time, the roadside equipment of toll gantry 1 sends the second data to the on-board ETC equipment of vehicle C. Since the toll gantry 1 and the background management system are in an abnormal communication state, the passage state in the second data sent by the toll gantry 1 is a communication abnormality. At this time, the roadside equipment of the toll gantry 1 cannot upload the acquired ETC data to the background management system. Based on the abnormal communication between the toll gantry 1 and the background management system, the on-board ETC equipment of vehicle C marks the second data as an upload failure. At this time, the second data sent by the toll gantry 1 in the on-board ETC equipment is at the first priority. At the same time, since there is no data that fails to be uploaded in the on-board ETC equipment of vehicle C, there is no data upload process at this stage.
[0081] When vehicle C passes through billing gantry 2, billing gantry 2 establishes communication with vehicle C, and the roadside equipment located at billing gantry 2 obtains the ETC data of vehicle C. At the same time, the roadside equipment of billing gantry 2 sends the second data to the vehicle-mounted ETC equipment of vehicle C. Since billing gantry 2 and the background management system are also in an abnormal communication state, the passing state in the second data sent by billing gantry 2 is abnormal communication. At this time, the roadside equipment of billing gantry 2 cannot upload the acquired ETC data to the background management system. Based on the abnormal communication between billing gantry 2 and the background management system, the vehicle-mounted ETC equipment of vehicle C marks the second data sent by billing gantry 2 as failed to upload. At this time, the second data sent by billing gantry 1 in the vehicle-mounted ETC equipment is at the first high priority, and the second data sent by billing gantry 2 is at the second high priority. At the same time, since the second data sent by billing gantry 1 that failed to upload exists in the vehicle-mounted ETC equipment of vehicle C, but due to the abnormal communication between billing gantry 2 and the background management system, there is no data upload process at this stage.
[0082] When vehicle C passes through the billing gantry 3, the billing gantry 3 establishes communication with vehicle C, and the roadside equipment located at the billing gantry 3 obtains the ETC data of vehicle C. At the same time, the roadside equipment of the billing gantry 3 sends the second data to the on-board ETC equipment of vehicle C. Since the billing gantry 3 and the background management system are in normal communication state, the passing state in the second data sent by the billing gantry 3 is normal communication. At this time, the roadside equipment of the billing gantry 3 can upload the obtained ETC data to the background management system. Based on the normal communication between the billing gantry 3 and the background management system, the on-board ETC equipment of vehicle C marks the second data sent by the billing gantry 3 as successfully uploaded. At the same time, since there is second data that failed to be uploaded in the on-board ETC device of vehicle C, as shown in Table 1, the second data sent by billing gantry 1 is at the first highest priority, and the second data sent by billing gantry 2 is at the second highest priority. Based on the normal communication between billing gantry 3 and the background management system, at this stage, the second data sent by billing gantry 1 and the second data sent by billing gantry 2 stored in the on-board ETC device are uploaded to the roadside equipment of billing gantry 3 in turn, and the above second data are uploaded to the background management system through the roadside equipment. Subsequently, based on the normal communication between billing gantry 3 and the background management system, the uploaded second data of billing gantry 1 and billing gantry 2 are updated, as shown in Table 2, and the status indicator is changed to upload successful, and the transmission priority is reduced.
[0083] Table 1
[0084] Data Types Communication identification Status indicator Upload Priority First Data (Toll Station A) Communication is normal Upload Successfully Low Priority Second data (billing gantry 1) Communication anomaly Upload failed First highest priority Second data (billing gantry 2) Communication anomaly Upload failed Second highest priority Second data (billing gantry 3) Communication is normal Upload Successfully Low Priority
[0085] Table 2
[0086] Data Types Communication identification Status indicator Upload Priority First Data (Toll Station A) Communication is normal Upload Successfully Low Priority Second data (billing gantry 1) Communication anomaly Upload Successfully Low Priority Second data (billing gantry 2) Communication anomaly Upload Successfully Low Priority Second data (billing gantry 3) Communication is normal Upload Successfully Low Priority
[0087] When vehicle C passes through the billing gantry 4, the billing gantry 4 establishes communication with vehicle C, and the roadside equipment located at the billing gantry 4 obtains the ETC data of vehicle C. At the same time, the roadside equipment of the billing gantry 4 sends the second data to the on-board ETC equipment of vehicle C. Since the billing gantry 4 and the background management system are in normal communication state, the traffic state in the second data sent by the billing gantry 4 is normal communication. At this time, the roadside equipment of the billing gantry 4 can upload the acquired ETC data to the background management system. Based on the normal communication between the billing gantry 4 and the background management system, the on-board ETC equipment of vehicle C marks the second data sent by the billing gantry 4 as successfully uploaded. At the same time, since there is no second data that failed to be uploaded in the on-board ETC equipment of vehicle C, no data is uploaded at this stage.
[0088] Similarly, when vehicle C passes through the toll gantry 5, the process is the same as the process of the vehicle passing through the toll gantry 4, and will not be described in detail here.
[0089] When vehicle C passes through the exit of toll station B, toll station B establishes communication with vehicle C, and the roadside equipment at toll station B obtains the ETC data of vehicle C. At the same time, the roadside equipment of toll station B sends the third data to the on-board ETC equipment of vehicle C. Since toll station B and the background management system are in normal communication state, the traffic status in the third data sent by toll station B is normal communication. At this time, the roadside equipment of toll station B can upload the obtained ETC data to the background management system. Since there is no second data that failed to upload in the on-board ETC equipment of vehicle C, no data is uploaded at this stage. In addition, based on the fact that the traffic status in the third data sent by toll station B is normal communication state, the traffic data stored in the on-board ETC equipment of vehicle C is deleted, and the storage space of the on-board ETC equipment is cleared in time.
[0090] Further, such as Figure 3 As shown, the present application also discloses a traffic data transmission device based on vehicle-mounted ETC equipment data transfer, the device comprising:
[0091] The entrance information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station entrance when the vehicle passes through the toll station entrance, and the roadside device at the toll station entrance obtains the vehicle ETC data, and at the same time, the roadside device at the toll station entrance sends the first data to the vehicle ETC device; the first data at least includes the number of the toll station entrance, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0092] A first data processing module is used for the vehicle ETC device to establish a storage space corresponding to this passage according to the first data at the toll station entrance and store the first data; at the same time, the vehicle ETC device identifies the first data according to the communication status in the first data, and the status identification at least includes upload success and upload failure;
[0093] The gantry information interaction module is used for when a vehicle passes through the toll gantry, the roadside equipment of the toll gantry obtains the vehicle ETC data, and at the same time the vehicle ETC equipment receives the second data sent by the roadside equipment of the toll gantry; the second data at least includes the number of the current toll gantry, the passing time, and the communication status between the roadside equipment and the background management system; the communication status at least includes normal communication and abnormal communication;
[0094] A second data processing module, used for the vehicle ETC device to identify the status of the second data according to the communication status in the second data, and the status identification at least includes upload success and upload failure;
[0095] A data upload judgment module, used for when a vehicle passes through any charging gantry, the vehicle ETC device determines whether to upload data according to the status identifier of the first data or the second data in the storage space;
[0096] The exit information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station exit when the vehicle passes through the toll station exit, and the roadside device obtains the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication;
[0097] The third data processing module is used for the vehicle ETC device to determine whether to delete the data in the storage space according to the communication status in the third data.
[0098] The device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment will not be described again here.
[0099] like Figure 4 As shown, the embodiment of the present application also provides an electronic device, including a processor and a memory, a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the following is achieved: Figure 1 The various processes of the method embodiment shown in the figure can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0100] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the above Figure 1 The various processes of the method embodiments described above can achieve the same technical effect, and will not be described again here to avoid repetition.
[0101] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiments described above can achieve the same technical effect, and will not be described again here to avoid repetition.
[0102] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0104] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another device, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0105] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; 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 present embodiment.
[0106] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0107] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0108] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device (which can be a terminal or a platform, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0109] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for transmitting traffic data based on vehicle-mounted ETC equipment data transfer, characterized in that: The steps include: When a vehicle passes through a toll station entrance, the vehicle ETC device establishes communication with the roadside device at the toll station entrance, the roadside device at the toll station entrance acquires the vehicle ETC data, and at the same time, the roadside device at the toll station entrance sends first data to the vehicle ETC device; the first data at least includes the number of the toll station entrance, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication; The vehicle ETC device establishes a storage space corresponding to the current passage according to the first data at the toll station entrance and stores the first data; at the same time, the vehicle ETC device identifies the first data according to the communication status in the first data, and the status identification includes at least upload success and upload failure; When a vehicle passes through a toll gantry, the vehicle ETC device establishes communication with the roadside device of the toll gantry, and the roadside device of the toll gantry obtains the vehicle ETC data. At the same time, the vehicle ETC device receives the second data sent by the roadside device of the toll gantry; the second data at least includes the number of the current toll gantry, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication; The vehicle ETC device identifies the status of the second data according to the communication status in the second data, and the status identification includes at least upload success and upload failure; When a vehicle passes through any charging gantry, the vehicle ETC device determines whether to upload data according to the status identifier of the first data or the second data in the storage space; When a vehicle passes through a toll station exit, the vehicle ETC device establishes communication with the roadside device at the toll station exit, the roadside device acquires the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication; The vehicle ETC device determines whether to delete the data in the storage space according to the communication status in the third data.
2. The method for transmitting data according to claim 1, characterized in that: The step of the vehicle ETC device identifying the state of the first data according to the communication state in the first data comprises: When the communication status between the roadside device and the background management system in the first data is normal, marking the first data as successfully uploaded; When the communication status between the roadside device and the background management system in the first data is abnormal, the first data is marked as upload failure.
3. The method for transmitting data according to claim 1, characterized in that: The step of the vehicle ETC device identifying the state of the second data according to the communication state in the second data includes: When the communication status between the roadside equipment and the background management system in the second data is normal, the second data sent by the current billing gantry is marked as uploaded successfully; When the communication status between the roadside equipment and the background management system in the second data is abnormal, the second data sent by the current billing gantry is marked as upload failure.
4. The method for transmitting data according to claim 1, characterized in that: The specific steps of the vehicle ETC device judging whether to upload data according to the status identifier of the first data or the second data in the storage space include: When it is determined that the status flags of the first data and the second data in the storage space are both successfully uploaded, the vehicle ETC device does not upload the stored first data and the second data; When it is determined that the status of any first data or second data in the storage space is marked as upload failure, the vehicle ETC device will first determine whether to perform data upload based on the communication status of the second data sent by the current billing gantry: When the communication status of the second data sent by the current billing gantry is normal communication, the first data or the second data whose status is marked as upload failure is uploaded to the roadside equipment of the current billing gantry, and the currently uploaded first data or the second data is updated according to the communication status in the second data; When the communication status of the second data sent by the current billing gantry is abnormal communication, data uploading will not be performed, and the process waits for communication to be established with the next billing gantry.
5. The method for transmitting data according to claim 1, characterized in that: The step of the vehicle ETC device judging whether to delete the data in the storage space according to the communication status in the third data comprises: When it is determined that the communication status between the vehicle-mounted ETC device and the background management system in the third data is normal, the vehicle-mounted ETC device deletes the data in the storage space; When it is determined in the third data that the communication status between the vehicle's roadside equipment and the background management system is abnormal, the vehicle-mounted ETC device retains the data in the storage space and makes a judgment and uploads it at the toll station entrance before the next passage.
6. The method for transmitting data according to claim 1, characterized in that: When a vehicle passes through a toll station entrance, the toll station entrance will first determine the legitimacy of the current vehicle's ETC device when acquiring the vehicle's ETC data: When the vehicle ETC device stores the last passing data, the toll station entrance will receive the passing data stored in the vehicle ETC device and upload the passing data to the background management system for comparison; If the comparison result shows that the communication data has been settled, the toll station entrance sends a storage initialization signal to the vehicle ETC device, and the vehicle ETC device clears the stored communication data based on the initialization signal; If the comparison result shows that the traffic data has not been settled, the backend management system will deduct the fees from the corresponding ETC account based on the traffic data. When the backend management system successfully deducts the fees, the toll station entrance sends a storage initialization signal to the vehicle ETC device. When the backend management system fails to deduct fees, the current vehicle is not allowed to pass through the toll station entrance.
7. The method for transmitting data according to claim 1, characterized in that: The vehicle ETC device adopts a priority caching strategy when storing, in which the priority of data that fails to be uploaded is higher than the priority of data that is successfully uploaded; and when the vehicle ETC device uploads data, the data with a status marked as failed to be uploaded is uploaded in the order of the passage time.
8. The method for transmitting data according to claim 1, characterized in that: The vehicle ETC device and the roadside device use the V2X communication protocol to exchange data.
9. The method for transmitting data according to claim 1, characterized in that: The vehicle ETC device uses a hash algorithm to generate a unique identifier for each piece of data. When the vehicle ETC device establishes communication with the roadside device and uploads data, the background management system will first match the unique identifier of the data to be uploaded with the unique identifier of the data uploaded by the current vehicle. If the match is successful, the current data will be skipped. If the match fails, the vehicle ETC device will upload the current data to the background management system via the roadside device.
10. A traffic data transmission device based on vehicle-mounted ETC equipment data transfer, characterized in that: The device comprises: The entrance information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station entrance when the vehicle passes through the toll station entrance, and the roadside device at the toll station entrance obtains the vehicle ETC data, and at the same time, the roadside device at the toll station entrance sends the first data to the vehicle ETC device; the first data at least includes the number of the toll station entrance, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication; A first data processing module is used for the vehicle ETC device to establish a storage space corresponding to this passage according to the first data at the toll station entrance and store the first data; at the same time, the vehicle ETC device identifies the first data according to the communication status in the first data, and the status identification at least includes upload success and upload failure; The gantry information interaction module is used for when a vehicle passes through the billing gantry, the roadside equipment of the billing gantry obtains the vehicle ETC data, and at the same time the vehicle ETC equipment receives the second data sent by the roadside equipment of the billing gantry; the second data at least includes the number of the current billing gantry, the passing time, and the communication status between the roadside equipment and the background management system; the communication status at least includes normal communication and abnormal communication; A second data processing module, used for the vehicle ETC device to identify the status of the second data according to the communication status in the second data, and the status identification at least includes upload success and upload failure; A data upload judgment module, used for when a vehicle passes through any charging gantry, the vehicle ETC device determines whether to upload data according to the status identifier of the first data or the second data in the storage space; The exit information interaction module is used for establishing communication between the vehicle ETC device and the roadside device at the toll station exit when the vehicle passes through the toll station exit, and the roadside device obtains the vehicle ETC data, and at the same time, the roadside device at the toll station exit sends third data to the vehicle ETC device; the third data at least includes the number of the toll station exit, the passing time, and the communication status between the roadside device and the background management system; the communication status at least includes normal communication and abnormal communication; The third data processing module is used for the vehicle ETC device to determine whether to delete the data in the storage space according to the communication status in the third data.