Service area vehicle data processing method, device and medium based on multi-source data
Through multi-source data processing methods, the calibration, completion and filtering of high-speed rail data and ETC data were used to solve the problem of inaccurate vehicle statistics in service areas and improve the accuracy of vehicle statistics.
Patent Information
- Application Number
- CN202411530808.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2044-10-30
AI Technical Summary
In the existing technology, the accuracy of vehicle statistics in highway service areas is not high. The recognition results of high-definition checkpoints and ETC antennas are easily affected by the location of the equipment and weather, resulting in inaccurate vehicle statistics.
By acquiring high-speed card data and ETC data in service areas, calibration, completion and filtering are performed, and multi-source data processing methods are used to improve the accuracy of vehicle statistics, including calculating matching degrees and setting time buffer segments for license plate data repair and screening.
It effectively improves the accuracy of vehicle statistics in the service area and reduces the impact of single high-speed card data or ETC antenna data on the statistical results.
Smart Images

Figure CN119600821B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data processing technology, and in particular to a service area vehicle data processing method, device and medium based on multi-source data. Background Art
[0002] In related technologies, as the number of cars continues to grow, traffic volume on highways is also increasing. This increasing volume complicates vehicle management at highway service areas. Accurate and timely understanding of vehicle movements within service areas can provide a basis for optimizing staffing and resource allocation, and help improve service area management and service capabilities. Currently, high-definition checkpoints and ETC antennas are typically installed at the entrances and exits of existing highway service areas. High-definition checkpoints rely on image recognition to collect data, but recognition results are easily affected by factors such as device location and weather conditions. This can lead to errors or even failure to recognize license plates, resulting in inaccurate vehicle counts within the service area. Furthermore, some service areas also install antennas at their entrances and exits to read ETC cards and record vehicle passage times and license plate information. However, the ETC antennas can easily capture information about vehicles passing along the main road, further complicating the accuracy of vehicle counts within the service area.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention
[0004] The main purpose of the embodiments of the present application is to propose a service area vehicle data processing method, device and medium based on multi-source data, which can effectively improve the accuracy of vehicle statistics results in the service area.
[0005] To achieve the above objectives, one aspect of an embodiment of the present application provides a method for processing service area vehicle data based on multi-source data, the method comprising the following steps:
[0006] Acquire first high-speed card data and first ETC data of the service area, wherein the first high-speed card data includes entrance high-speed card data and exit high-speed card data, and the first ETC data includes first entrance ETC data and first exit ETC data;
[0007] Calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data;
[0008] Completing the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data;
[0009] Filtering the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data;
[0010] Traffic flow data of the service area is obtained based on the first vehicle data, the third vehicle data, and the fourth vehicle data.
[0011] In some embodiments, calibrating the first high-speed card data according to the first ETC data to obtain the first vehicle data and the second vehicle data includes:
[0012] Calculating a first matching degree between the license plate number in the entrance high-speed card data and the first entrance ETC data;
[0013] Using the entry high-speed card data with the first matching degree equal to the first threshold as the fourth vehicle data;
[0014] The entry high-card data whose first matching degree is less than the first threshold and greater than the second threshold is used as the second high-card data;
[0015] Calculating a second matching degree between the license plate number in the second high-speed card data and the first exit ETC data;
[0016] using the second high-card data having the second matching degree equal to the first threshold as fifth vehicle data, where the first vehicle data includes the fourth vehicle data and the fifth vehicle data;
[0017] The second high-card data whose second matching degree is smaller than the first threshold and larger than a third threshold is used as the second vehicle data.
[0018] In some embodiments, the calculation formulas for the first matching degree and the second matching degree are as follows:
[0019]
[0020] In the formula, R represents the first matching degree, N1 represents the total number of different character strings between the entry high-speed card data and the character strings corresponding to the license plate numbers in the entry ETC data, and N represents the total number of character strings corresponding to the license plate numbers in the entry high-speed card data and the entry ETC data; or
[0021] R represents the second matching degree, N1 represents the total number of different character strings between the second high-speed card data and the character strings corresponding to the license plate numbers in the exit ETC data, and N represents the total number of character strings corresponding to the license plate numbers in the second high-speed card data and the exit ETC data.
[0022] In some embodiments, the method of completing the license plate data in the second vehicle data using the first ETC data to obtain the third vehicle data includes:
[0023] Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data;
[0024] determining a first time buffer segment according to the recording time;
[0025] Determining that only the first entry ETC data exists within the first time buffer period as the second entry ETC data;
[0026] The license plate data in the second vehicle data is complemented according to the license plate data in the second entry ETC data to obtain the third vehicle data.
[0027] In some embodiments, the method of completing the license plate data in the second vehicle data using the first ETC data to obtain the third vehicle data includes:
[0028] Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data;
[0029] determining a second time buffer period according to the recording time;
[0030] Determining that only the first exit ETC data exists within the second time buffer period as the second exit ETC data;
[0031] The license plate data in the second vehicle data is complemented according to the license plate data in the second exit ETC data to obtain the third vehicle data.
[0032] In some embodiments, filtering the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data includes:
[0033] Comparing the first high-speed card data with the first entrance ETC data to obtain third entrance ETC data, wherein the license plate data in the first high-speed card data does not include the license plate data in the third entrance ETC data;
[0034] Comparing the license plate data in the third entrance ETC data with the license plate data in the first exit ETC data to obtain second ETC data having the same license plate data;
[0035] Calculating the travel time of the vehicle passing through the service area in the second ETC data;
[0036] The second ETC data corresponding to the driving time being greater than the stay threshold is used as the fourth vehicle data.
[0037] In some embodiments, obtaining traffic flow data of the service area based on the first vehicle data, the third vehicle data, and the fourth vehicle data includes:
[0038] Extracting all license plate data from the first vehicle data, the third vehicle data, and the fourth vehicle data;
[0039] The total number of all license plate data is counted as traffic flow data of the service area.
[0040] To achieve the above-mentioned purpose, another aspect of the present application provides a service area vehicle data processing device based on multi-source data, the device comprising:
[0041] The first module is used to obtain first high-speed card data and first ETC data of the service area, wherein the first high-speed card data includes entrance high-speed card data and exit high-speed card data, and the first ETC data includes first entrance ETC data and first exit ETC data;
[0042] The second module is configured to calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data;
[0043] A third module is configured to complete the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data;
[0044] A fourth module is configured to filter the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data;
[0045] The fifth module is used to obtain traffic flow data of the service area based on the first vehicle data, the third vehicle data and the fourth vehicle data.
[0046] To achieve the above objectives, another aspect of the present application provides a computer device, including:
[0047] at least one processor;
[0048] at least one memory for storing at least one program;
[0049] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0050] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above-mentioned method when executed by a processor.
[0051] The embodiments of the present application include at least the following beneficial effects: The present application proposes a service area vehicle data processing method, device and medium based on multi-source data. The scheme obtains the first high-speed card data and the first ETC data of the service area respectively, calibrates the first high-speed card data according to the first ETC data to obtain the first vehicle data and the second vehicle data, and then uses the first ETC data to complete the license plate data in the second vehicle data to obtain the third vehicle data, and then filters the first ETC data according to the first high-speed card data and the stay threshold to obtain the fourth vehicle data, and then obtains the traffic flow data of the service area according to the first vehicle data, the third vehicle data and the fourth vehicle data, thereby reducing the impact of a single high-speed card data or a single ETC antenna data on the statistical results, and effectively improving the accuracy of the vehicle statistical results in the service area. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 is a flowchart of a method for processing service area vehicle data based on multi-source data provided by an embodiment of the present application;
[0053] Figure 2 This is an application flow chart of the service area vehicle data processing method based on multi-source data provided by an embodiment of the present application;
[0054] Figure 3 1 is a schematic diagram of the structure of a service area vehicle data processing device based on multi-source data provided by an embodiment of the present application;
[0055] Figure 4 Schematic diagram of the hardware structure of the computer device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are merely examples of devices and methods consistent with some aspects of the embodiments of the present application.
[0057] In an embodiment of the present application, a service area vehicle data processing method, device and medium based on multi-source data are provided. The present application obtains the first high-speed card data and the first ETC data of the service area respectively, calibrates the first high-speed card data according to the first ETC data to obtain the first vehicle data and the second vehicle data, and then uses the first ETC data to complete the license plate data in the second vehicle data to obtain the third vehicle data. Then, the first ETC data is filtered according to the first high-speed card data and the stay threshold to obtain the fourth vehicle data, and the traffic flow data of the service area is obtained according to the first vehicle data, the third vehicle data and the fourth vehicle data. This can reduce the impact of a single high-speed card data or a single ETC antenna data on the statistical results, and effectively improve the accuracy of the vehicle statistical results in the service area.
[0058] The service area vehicle data processing method based on multi-source data provided in the embodiment of the present application relates to the field of big data processing technology. The service area vehicle data processing method based on multi-source data provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and an in-vehicle terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the service area vehicle data processing method based on multi-source data, etc., but is not limited to the above forms.
[0059] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
[0060] Figure 1 This is an optional flowchart of the service area vehicle data processing method based on multi-source data provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S106.
[0061] Step S110: Acquire first high-speed card data and first ETC data of the service area, where the first high-speed card data includes entrance high-speed card data and exit high-speed card data, and the first ETC data includes first entrance ETC data and first exit ETC data;
[0062] Step S120: calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data;
[0063] Step S130: Completing the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data;
[0064] Step S140: Filter the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data;
[0065] Step S150: Obtain traffic flow data of the service area based on the first vehicle data, the third vehicle data, and the fourth vehicle data.
[0066] In this embodiment of the present application, high-speed card data can be collected in real time by high-definition card ports installed at the entrances and exits of the service area, and ETC data can be collected in real time by ETC antennas installed at the entrances and exits of the service area. Both high-speed card data and ETC data in the service area can be directly retrieved from the corresponding server of the service area after applying for authorization from the corresponding management department of the service area.
[0067] It is understood that after obtaining the first ETC data and the first high-speed card data, the first high-speed card data is calibrated according to the first ETC data to obtain the first vehicle data and the second vehicle data. Specifically, the calibration process includes but is not limited to the following steps:
[0068] Calculate the first matching degree of the license plate number in the entrance high-speed card data and the first entrance ETC data;
[0069] The entrance high-speed card data with the first matching degree equal to the first threshold is used as the fourth vehicle data;
[0070] The entry high-card data whose first matching degree is less than the first threshold and greater than the second threshold is used as the second high-card data;
[0071] Calculate the second matching degree of the license plate number in the second high-speed card data and the first exit ETC data;
[0072] The second high-card data having a second matching degree equal to the first threshold is used as the fifth vehicle data, where the first vehicle data includes the fourth vehicle data and the fifth vehicle data;
[0073] The second high-vehicle data whose second matching degree is less than the first threshold and greater than the third threshold is used as the second vehicle data.
[0074] It is understandable that this embodiment can set a third time buffer period based on the recording time of the entrance high-speed card data, calculate the first matching degree of the license plate data between the entrance high-speed card data and the first entrance ETC data within the third time buffer period, and when the first matching degree is equal to the first threshold value (1), it can be determined that the license plate number in the entrance high-speed card data is completely matched with the license plate number in the first entrance ETC data, so there is no need to repair the license plate number in the entrance high-speed card data, and the entrance high-speed card data is used as the fourth vehicle data. When the first matching degree is less than the first threshold value (1) and greater than the second threshold value, it can be determined that the license plate data in the entrance high-speed card data (second high-speed card data) is unclear but can be repaired. When the first matching degree is less than the second threshold value, it is considered that the license plate data in the high-definition card port cannot be repaired, and therefore, the high-definition card port data is discarded. Specifically, the second threshold value can be a constant set based on actual conditions.
[0075] Based on this, this embodiment further calculates the second matching degree between the second high-speed card data and the license plate number in the exit ETC data. When the second matching degree is equal to the first threshold value (1), it can be determined that the corresponding license plate number in the second high-speed card data completely matches the license plate number in the first exit ETC data. Therefore, there is no need to repair the corresponding license plate number in the second high-speed card data, and the second high-speed card data is used as the fifth vehicle data. When the second matching degree is less than the first threshold value (1) and greater than the third threshold value, it can be determined that the vehicle in the second high-speed card data has entered the service area. Therefore, the second high-speed card data is repaired with the ETC data of the entrance and exit. When the second matching degree is less than the third threshold value, it is considered that the license plate data in the second high-speed card data cannot be repaired. Therefore, the high-definition card port data is discarded.
[0076] Specifically, the calculation formulas for the first matching degree and the second matching degree in this embodiment can both adopt the following formulas:
[0077]
[0078] In the formula, when R represents the first matching degree, N1 represents the total number of different character strings between the license plate number in the entrance high-speed card data and the entrance ETC data, and N represents the total number of character strings between the license plate number in the entrance high-speed card data and the entrance ETC data;
[0079] When R represents the second matching degree, N1 represents the total number of different character strings between the second highest card data and the character strings corresponding to the license plate numbers in the exit ETC data, and N represents the total number of character strings corresponding to the license plate numbers in the second highest card data and the exit ETC data.
[0080] In the embodiment of the present application, the process of obtaining the third vehicle data by supplementing the license plate data in the second vehicle data with the first ETC data includes but is not limited to the following steps:
[0081] Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data;
[0082] Determine a first time buffer segment according to the recording time;
[0083] Determining that only first-entry ETC data exists within the first time buffer segment as second-entry ETC data;
[0084] The license plate data in the second vehicle data is complemented according to the license plate data in the second entry ETC data to obtain third vehicle data.
[0085] It can be understood that this embodiment identifies the data without license plates in the second vehicle data, and sets a first time buffer period based on the recording time of the high-speed card data corresponding to the data without license plates, and then counts the number of vehicles in the second entrance ETC data within the first time buffer period. When only one vehicle passes within the preset range, it is considered that the license plate number recorded by the ECT antenna is the license plate number of the "no license plate" vehicle recorded by the high-speed card (the license plate number of the vehicle without license plates in the second vehicle data).
[0086] In the embodiment of the present application, the license plate number of the vehicle without a license plate in the high-speed card data can also be determined by the exit ETC data. Specifically, the process of supplementing the license plate data in the second vehicle data with the first ETC data to obtain the third vehicle data can also include but is not limited to the following steps:
[0087] Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data;
[0088] determining a second time buffer period according to the recording time;
[0089] Determining that there is unique first exit ETC data within the second time buffer period as the second exit ETC data;
[0090] The license plate data in the second vehicle data is completed according to the license plate data in the second exit ETC data to obtain the third vehicle data.
[0091] It can be understood that this embodiment identifies the data without license plates in the second vehicle data, and sets a second time buffer period based on the recording time of the high-speed card data corresponding to the data without license plates, and then counts the number of vehicles in the second exit ETC data within the second time buffer period. When only one vehicle passes within the preset range, it is considered that the license plate number recorded by the ECT antenna is the license plate number of the "no license plate" vehicle recorded by the high-speed card (the license plate number of the vehicle without license plates in the second vehicle data).
[0092] In the embodiment of the present application, the process of filtering the first ETC data according to the first high-speed card data and the stay threshold to obtain the fourth vehicle data includes but is not limited to the following steps:
[0093] Compare the first high-speed card data with the first entry ETC data to obtain the third entry ETC data, wherein the license plate data in the first high-speed card data does not include the license plate data in the third entry ETC data;
[0094] Compare the license plate data in the third entrance ETC data with the license plate data in the first exit ETC data to obtain second ETC data with the same license plate data;
[0095] Calculate the travel time of the vehicle passing through the service area in the second ETC data;
[0096] The second ETC data corresponding to the driving time being greater than the stay threshold is used as the fourth vehicle data.
[0097] It can be understood that this embodiment filters out the ETC entry data corresponding to the license plate number in the entry high-speed card data as the third entry ETC data, and then compares the third entry ETC data with the license plate data in the first exit ETC data to determine the second ETC data with the same license plate, obtains the recording time of the entry and exit in the second ETC data, and determines the driving time of the vehicle through the service area based on the recording time. If the driving time is less than or equal to the stay threshold, it is determined that the vehicle has only passed the service area but has not entered the service area; if the driving time is greater than the stay threshold, it is determined that the vehicle has entered the service area but the high-definition card port at the entrance has not recorded the vehicle data.
[0098] In some embodiments, as Figure 2 As shown, when the method provided in the embodiment of the present application is applied, it includes but is not limited to the following steps:
[0099] Step S210: Fusion calibration of high-speed card and ETC entrance data:
[0100] Obtain the vehicle passing data at the high-definition checkpoint at the service area entrance and the ETC antenna entrance. Set a time buffer based on the high-definition checkpoint record. Set the third time buffer segment to t, which is ±t with the high-definition checkpoint record time. The specific third time buffer segment can be 30s. Perform similarity fusion calculation on each high-definition checkpoint record and the ECT antenna record within the buffer range. Calculate the matching degree R of the license plate numbers in the two records. The calculation formula is:
[0101]
[0102] When the R matching degree is 1, it indicates a complete match and the vehicle is considered to have entered the service area.
[0103] When the match degree is greater than 0 and less than 1, it indicates a partial match, indicating that the vehicle may have entered the service area and requires further evaluation. A match degree threshold Z (second threshold) is set and the vehicle's match degree R is compared with the match degree threshold Z. Vehicles with a match degree exceeding the threshold Z are repaired based on the ETC license plate. The match degree threshold Z can be 80%.
[0104] Vehicles with a matching degree higher than 80% are recorded as license plate repair result 1 (the second highest card data), which needs to be further integrated and analyzed with the ETC exit records.
[0105] Step S220: Fusion calibration of high-speed card and ETC exit data:
[0106] Obtain the passing vehicle data at the service area ETC antenna exit, and set a new time buffer t (the fourth time buffer segment) based on the entrance license plate repair result 1. The time buffer t can be set to 30s. Calculate the matching degree of each record with the exit ECT antenna record within the buffer range, and calculate the matching degree R of the license plate numbers in the two records.
[0107] Set the matching threshold Z (third threshold) to 80% and compare the vehicle's matching degree with the matching threshold. When the matching degree is 1, it indicates a perfect match and the vehicle is considered to have entered the service area. When the matching degree is greater than the matching threshold Z, the vehicle is considered to have entered the service area and repaired based on the ETC license plate, which is recorded as license plate repair result 2 (second vehicle data). If the matching degree is lower than the matching threshold Z, the vehicle is considered unrepairable.
[0108] Step S230: Data fusion and completion of high-speed card entrance and ETC entrance:
[0109] Obtain the license plate repair result 2 at the service area entrance and the vehicle passing data at the ETC antenna entrance. Based on the high-speed card record, identify the "no license plate" record. Based on the recording time of the "no license plate" data, set the time buffer t q (First time buffer period), that is, the time fluctuation with the high card recording time ±t q, the time buffer can be set to 5s, and the ECT antenna records within the buffer range are compared. When only one vehicle passes within the preset range, the license plate number recorded by the ECT antenna is considered to be the license plate number of the "no license plate" vehicle recorded by the high-speed card, and the third vehicle data is obtained; when multiple vehicles pass within the preset range, it is considered that there is no match; when no vehicle passes within the preset range, it is considered that there is no match.
[0110] Step S240: Fusion and completion of high-speed rail exit and ETC exit data:
[0111] Obtain the license plate repair result 2 at the service area exit and the vehicle passing data at the ETC antenna exit. Based on the high-speed card record, identify the "no license plate" record. Based on the recording time of the "no license plate" data, set the time buffer t q (Second time buffer period), that is, the time fluctuation with the high card recording time ±t q ,The time buffer can be set to 5s, and the ECT antenna records within the buffer range are compared. When only one vehicle passes within the preset range, the license plate number recorded by the ECT antenna is considered to be the license plate number of the "no license plate" vehicle recorded by the high-speed card, and the third vehicle data is obtained; in other cases, it is considered that there is no match.
[0112] Step S250: ETC antenna entry and ETC antenna exit data are integrated and completed:
[0113] Obtain the exit and entrance vehicle data of the service area ETC antenna. Based on the entrance records, filter out the license plate numbers that do not appear in the high-speed card entrance data, and match them with the exit data of the ETC day. Filter out two records with the same license plate number and calculate the travel time T, which is:
[0114] T=t l -t a ;
[0115] Among them, t l is the time when the vehicle leaves the service area, t a The time when the vehicle enters the service area.
[0116] Set the dwell threshold T z , you can set T z When the driving time exceeds T z , it is considered that the vehicle has passed through the service area and has not been recorded by the high-speed card. The passing of the vehicle with the license plate is used as the fourth vehicle data.
[0117] In an embodiment of the present application, after completing the calibration process of vehicle data in the service area, the traffic flow in the service area can be counted based on the calibrated data, so as to obtain more accurate traffic flow information.
[0118] Reference Figure 3 The embodiment of the present application provides a service area vehicle data processing device based on multi-source data, the device comprising:
[0119] The first module 310 is configured to obtain first high-speed card data and first ETC data of the service area, wherein the first high-speed card data includes entry high-speed card data and exit high-speed card data, and the first ETC data includes first entry ETC data and first exit ETC data;
[0120] The second module 320 is configured to calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data;
[0121] The third module 330 is configured to complete the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data;
[0122] The fourth module 340 is configured to filter the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data;
[0123] The fifth module 350 is used to obtain traffic flow data of the service area based on the first vehicle data, the third vehicle data and the fourth vehicle data.
[0124] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0125] The present application also provides a computer device comprising a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned method for processing service area vehicle data based on multi-source data. The computer device can be any intelligent terminal, including a tablet computer and an in-vehicle computer.
[0126] It can be understood that the contents of the above method embodiments are applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0127] See also Figure 4 , Figure 4 The hardware structure of a computer device according to another embodiment is shown. The computer device includes:
[0128] The processor 410 may be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0129] The memory 420 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 420 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 420 and is called by the processor 410 to execute the service area vehicle data processing method based on multi-source data in the embodiments of this application.
[0130] Input / output interface 430, used to implement information input and output;
[0131] Communication interface 440, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.);
[0132] bus 450 , which transmits information between various components of the device (e.g., processor 410 , memory 420 , input / output interface 430 , and communication interface 440 );
[0133] The processor 410 , the memory 420 , the input / output interface 430 and the communication interface 440 are connected to each other in communication within the device via the bus 450 .
[0134] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned service area vehicle data processing method based on multi-source data.
[0135] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiment, the functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0136] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0137] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0138] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0139] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0140] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0141] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0142] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0143] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0144] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0146] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store programs.
[0147] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.
Claims
1. A service area vehicle data processing method based on multi-source data, characterized in that: The method comprises the following steps: Acquire first high-speed card data and first ETC data of the service area, wherein the first high-speed card data includes entrance high-speed card data and exit high-speed card data, and the first ETC data includes first entrance ETC data and first exit ETC data; Calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data; Completing the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data; Filtering the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data; Obtaining traffic flow data of the service area according to the first vehicle data, the third vehicle data, and the fourth vehicle data; The step of calibrating the first high-speed card data according to the first ETC data to obtain the first vehicle data and the second vehicle data includes: Calculating a first matching degree between the license plate number in the entrance high-speed card data and the first entrance ETC data; Using the entry high-speed card data with the first matching degree equal to the first threshold as the fourth vehicle data; The entry high-card data whose first matching degree is less than the first threshold and greater than the second threshold is used as the second high-card data; Calculating a second matching degree between the license plate number in the second high-speed card data and the first exit ETC data; using the second high-card data having the second matching degree equal to the first threshold as fifth vehicle data, where the first vehicle data includes the fourth vehicle data and the fifth vehicle data; The second high-speed card data whose second matching degree is less than the first threshold and greater than a third threshold is used as the second vehicle data; The filtering of the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data includes: Comparing the first high-speed card data with the first entrance ETC data to obtain third entrance ETC data, wherein the license plate data in the first high-speed card data does not include the license plate data in the third entrance ETC data; Comparing the license plate data in the third entrance ETC data with the license plate data in the first exit ETC data to obtain second ETC data having the same license plate data; Calculating the travel time of the vehicle passing through the service area in the second ETC data; The second ETC data corresponding to the travel time being greater than the stay threshold is used as the fourth vehicle data; The obtaining of traffic flow data of the service area according to the first vehicle data, the third vehicle data, and the fourth vehicle data includes: Extracting all license plate data from the first vehicle data, the third vehicle data, and the fourth vehicle data; The total number of all license plate data is counted as traffic flow data of the service area.
2. The method according to claim 1, characterized in that The calculation formulas for the first matching degree and the second matching degree are as follows: ; In the formula, represents the first matching degree, Indicates the total number of different character strings corresponding to the license plate number in the entrance high-speed card data and the entrance ETC data, Indicates the total number of character strings corresponding to the license plate numbers in the entrance high-speed card data and the entrance ETC data; or represents the second matching degree, Indicates the total number of different character strings corresponding to the license plate number in the second high-speed card data and the exit ETC data, Indicates the total number of character strings corresponding to the license plate numbers in the second high-speed card data and the exit ETC data.
3. The method according to claim 1, characterized in that The method of supplementing the license plate data in the second vehicle data by using the first ETC data to obtain the third vehicle data includes: Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data; determining a first time buffer segment according to the recording time; Determining that only the first entry ETC data exists within the first time buffer period as the second entry ETC data; The license plate data in the second vehicle data is complemented according to the license plate data in the second entry ETC data to obtain the third vehicle data.
4. The method according to claim 1, wherein The method of supplementing the license plate data in the second vehicle data by using the first ETC data to obtain the third vehicle data includes: Obtaining the no-license plate data and the recording time corresponding to the no-license plate data in the second vehicle data; determining a second time buffer period according to the recording time; Determining that only the first exit ETC data exists within the second time buffer period as the second exit ETC data; The license plate data in the second vehicle data is complemented according to the license plate data in the second exit ETC data to obtain the third vehicle data.
5. A service area vehicle data processing device based on multi-source data, characterized in that: The device is applied to the method according to any one of claims 1 to 4, and comprises: The first module is used to obtain first high-speed card data and first ETC data of the service area, wherein the first high-speed card data includes entrance high-speed card data and exit high-speed card data, and the first ETC data includes first entrance ETC data and first exit ETC data; The second module is configured to calibrate the first high-speed card data according to the first ETC data to obtain first vehicle data and second vehicle data; A third module is configured to complete the license plate data in the second vehicle data using the first ETC data to obtain third vehicle data; A fourth module is configured to filter the first ETC data according to the first high-speed card data and the stay threshold to obtain fourth vehicle data; The fifth module is used to obtain traffic flow data of the service area based on the first vehicle data, the third vehicle data and the fourth vehicle data.
6. A computer device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Parking lot access management method, device and equipment and readable storage medium
CN111599208A
Method and system for applying ETC (Electronic Toll Collection) to highway service area to collect traffic flow
CN114299710A