Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an ETC portal transaction success rate detection method according to an embodiment of the present invention, where the present embodiment is applicable to a case of detecting a transaction success rate of an ETC portal, the method may be executed by an ETC portal transaction success rate detection device, the ETC portal transaction success rate detection device may be implemented by software and/or hardware, and the ETC portal transaction success rate detection device may be configured on a computing device, and specifically includes the following steps:
s110, acquiring the ETC vehicle which inevitably passes through the ETC portal frame to be detected in the preset time period, and randomly sampling the acquired ETC vehicle.
In the above steps, the ETC portal is disposed on each road section between any two toll booths, as shown in fig. 2, the middle part is an interchange overpass, four roads respectively extend out, A, B, C, D four toll booths are disposed on the four roads respectively, and the portal a, the portal B, the portal C, and the portal D are disposed on the roads between any two toll booths among the four toll booths respectively. The ETC portal is used for trading with the ETC vehicle through this ETC portal, in this embodiment, carries out the monitoring of trading the success rate to the ETC portal that arbitrary treating to detect. It should be noted that fig. 2 is only an exemplary diagram of an expressway, and in other embodiments, the ETC portal is provided on any road section for expressways with different layouts.
The method comprises the steps of obtaining an ETC vehicle which inevitably passes through an ETC portal frame to be detected within a preset time period, and restoring a running path of the ETC vehicle according to transaction running data of the ETC vehicle; and judging the ETC vehicle which inevitably passes through the ETC portal frame to be detected within a preset time period according to the restored running path.
The method includes the steps that transaction flow data of the ETC vehicle are obtained based on electronic equipment arranged at an expressway exit, wherein the transaction flow data include ETC gantries which are used for conducting transactions with the ETC vehicle, transaction time, transaction amount and the like, the ETC gantries which are used for conducting transactions with the ETC vehicle in sequence are determined according to the transaction time of the ETC vehicle and each ETC gantry in the flow data, the ETC gantries which are used for conducting transactions with the ETC vehicle in sequence are indicated, the running path of the ETC vehicle is restored according to the determined position information of the ETC gantries which are used for conducting transactions with the ETC vehicle in sequence, the position information of each ETC gantry can be stored in advance, for example, the mapping relation between ETC gantry identification (such as the serial number of the ETC gantries) and the position information can be achieved, and the transaction flow data include the identification of the ETC gantries which are used for conducting transactions. The position information of the ETC portal can be at least one of longitude and latitude coordinates of the ETC portal, a road section name where the ETC portal is located and the position of the ETC portal in the road section.
If the running path of the reduced ETC vehicle comprises the ETC portal frame to be detected, the ETC vehicle can be determined to inevitably pass through the ETC portal frame to be detected. Optionally, the following vehicles are excluded from the determined ETC vehicle which inevitably passes through the ETC portal to be detected: the ETC vehicle that on-vehicle unit dismantled, the ETC vehicle that on-vehicle unit surpassed the validity period, the ETC vehicle of the not plug-in card of composite pass card of getting and the ETC vehicle of the non-valid card of composite pass card of getting, these ETC vehicles though through the ETC portal, but can't be successful produce the transaction with the ETC portal, but carry out image acquisition to it through license plate recognition device, generate the trade water-logging, later calculate the toll according to license plate and motorcycle type, pay at the exit. Although the vehicles do not generate transaction with the ETC portal, transaction flow data can still be generated, so that the vehicles need to be eliminated, interference of the vehicles on success rate calculation is avoided, and the calculated transaction success rate of the ETC portal is more accurate.
Because the number of vehicles which can pass through the main road and the auxiliary road in unit time is different, namely the passing capacity is inconsistent, and the number of destinations which can be reached by the main road is more than that of the auxiliary road, namely the reaching degree is inconsistent, the number of ETC vehicles which trade with the ETC portal frame in each road section is inconsistent, so that the total number of the ETC vehicles which obtain the portal frame to be detected is inconsistent, the total number of the ETC vehicles which inevitably pass through the ETC portal frame to be detected can not be counted, a random sampling method is needed, in the process of random sampling, because the probability of each sample being extracted is equal, the partial samples obtained by sampling can reflect the condition of the whole sample, namely the total number of the ETC vehicles which pass through the ETC portal frame to be detected does not need to be counted, but the partial ETC vehicles which inevitably pass through the ETC portal frame to be detected in a preset time period are randomly extracted, and the condition of all ETC vehicles which pass through the ETC portal frame to be detected can be reflected, the method has the advantages that the interference caused by different vehicle flows in different road sections is avoided, the statistical workload is reduced, the calculation of the transaction success rate of the ETC portal to be detected is simpler, and the calculation efficiency of the success rate is improved.
The preset time period is a preset time period in which statistics inevitably passes through the ETC vehicle of the ETC portal to be detected, for example, the preset time period is 8-10 points, statistics is necessarily carried out on the ETC vehicle passing through the ETC portal to be detected in the time period of 8-10 points, and then random sampling is carried out on the ETC vehicle obtained through statistics, wherein the random sampling method can be as follows: numbering ETC vehicles which inevitably pass through an ETC portal frame to be detected within a preset time period (for example, 8-10 points) according to a time sequence, and extracting samples in a mode of drawing lots or checking a random number table; or an equal number of samples are taken based on a fixed time interval (e.g., half an hour, etc.) within a preset time period (e.g., 8-10 o 'clock), such as 8-8 o' clock half, 8-9 o 'clock half, 9-9 o' clock half, and 9-9 o 'clock half-10 o' clock, respectively.
S120, the ETC vehicles obtained through random sampling are matched with the ETC vehicles of the ETC portal to be detected in the preset time period in the transaction running data of the ETC vehicles.
In the above steps, when the ETC vehicle passes through each ETC portal, each ETC portal deducts the fee from the vehicle, and writes the deduction record into a storage device of the ETC vehicle, wherein the storage device is an On Board Unit (OBU) mounted On the vehicle. When the vehicle passes through an exit of the highway, the electronic equipment reads the record written in the OBU, and then all transaction running data of the ETC vehicle on the highway can be obtained. Optionally, the electronic device at the exit of the highway sends a transaction running data reading request to the ETC vehicle, where the transaction running data reading request carries date information, and the ETC vehicle sends the transaction running data corresponding to the date information in the OBU to the electronic device according to the transaction running data reading request, where the date information in the transaction running data reading request may be, for example, a current date or date range information (a week or a month before the current date, etc.).
The transaction flow data of the ETC vehicle includes: the ETC vehicle comprises a running speed of the ETC vehicle, transaction time of the ETC vehicle and each ETC portal, serial numbers and position information of the ETC portals transacted with the ETC vehicle, the amount of money deducted from the ETC vehicle by each ETC portal, the remaining amount of money of the ETC vehicle and the like. The ETC vehicle of the portal transaction with waiting to detect in the preset time is found through the transaction time of ETC vehicle and each ETC portal and with the serial number and the positional information of the ETC portal of ETC vehicle transaction in the transaction running data. Because of waiting to detect the ETC portal probably exist and the ETC vehicle transaction is unsuccessful, or the condition of not writing in transaction information after the transaction is successful, the event obtains through the transaction pipelining data and waits to detect the ETC vehicle quantity of ETC portal transaction less than the ETC vehicle quantity of actual transaction in the time quantum that predetermines, will be through the transaction pipelining data obtain with wait to detect the ETC vehicle that obtains of ETC portal transaction and S110 in the vehicle of ETC portal transaction and random sampling, ensure that the ETC vehicle that matches successfully is must wait to detect the ETC portal and wait to detect the ETC vehicle that ETC portal transaction is successful. Specifically, in the transaction flow data, whether the ETC vehicle obtained by random sampling is included in the ETC vehicle which is transacted with the portal to be detected is determined, if yes, the ETC vehicle is determined to be successfully matched, and if not, the ETC vehicle is determined to be failed to be matched.
And S130, counting the number of the ETC vehicles successfully matched.
The ETC vehicle which passes through the ETC portal to be detected in the preset time and is determined in the step 120 is matched with the ETC vehicle which is randomly sampled in the step 110, and the ETC vehicle which is successfully matched is counted.
And S140, determining the transaction success rate of the ETC portal to be detected.
The transaction success rate is calculated according to the following formula: the ETC vehicle quantity that matches the ETC vehicle quantity that success/random sampling obtained, in the formula, the ETC vehicle quantity that matches success is the ETC vehicle quantity that matches success of statistics in S130, and the ETC vehicle quantity that random sampling obtained is to in S110 in the predetermined time quantum, must be through waiting to detect the quantity that ETC vehicle that ETC portal carries out random sampling obtained. If the calculated transaction success rate of the to-be-detected portal does not reach the standard, the to-be-detected portal is determined to be the ETC portal which cannot be normally charged, if the calculated transaction success rate of the to-be-detected portal reaches the standard, the to-be-detected portal is determined to be the ETC portal which cannot be normally charged, for example, the standard of the transaction success rate is 90%, if the calculated transaction success rate of the to-be-detected ETC portal is 80% and is lower than the standard of the transaction success rate, the ETC portal is determined to be the portal which cannot be normally charged, and if the calculated transaction success rate of the to-be-detected ETC portal is 95% and is higher than the standard of the transaction success rate, the ETC portal is determined to be the portal which can be normally charged.
According to the embodiment of the invention, the ETC vehicle which inevitably passes through the ETC portal frame to be detected within the preset time period is obtained, and the obtained ETC vehicle is randomly sampled; matching the ETC vehicles obtained by random sampling with the ETC vehicles passing through the ETC portal frame to be detected within the preset time period in the transaction running water data of the ETC vehicles, and counting the number of the ETC vehicles which are successfully matched; by the calculation formula: the ETC vehicle quantity that matches the ETC vehicle quantity that successful ETC vehicle quantity/random sampling obtained confirms the transaction success rate of waiting to detect the ETC portal has solved because of the transaction volume inconsistency of each road section ETC portal, leads to the problem that ETC portal transaction success rate calculates the difficulty, has avoided the ETC portal transaction to miss the condition of examining, has improved the accuracy that ETC portal transaction success rate calculated, has realized the effect of high-efficient calculation ETC portal transaction success rate.
Example two
Fig. 3 is a flowchart of a method for detecting a transaction success rate of an ETC portal according to a second embodiment of the present invention, where the second embodiment is optimized based on the foregoing embodiment, as shown in fig. 3, the method specifically includes:
and S210, determining the ETC portal frame which carries out transaction with the ETC vehicle in sequence according to the timestamp of each transaction information in the transaction flow data of the ETC vehicle.
The time stamps of the transaction information in the transaction running data of the ETC vehicle are the time when the ETC vehicle and each ETC portal perform transaction, and the transaction time is written into an OBU on the ETC vehicle for later reading at an expressway exit. The ETC portal frame for the ETC vehicle to carry out transaction in sequence can be known through the timestamp of each transaction information in the transaction running data of the ETC vehicle.
And S220, determining a running path of the ETC vehicle according to the position information of the ETC portal which is in sequential transaction with the ETC vehicle.
The ETC portal position information sequentially transacted with the ETC vehicle is obtained through transaction flow data, and the running path of the ETC vehicle is restored according to the longitude and latitude coordinates of the ETC portal in the ETC portal position information, the road section name where the ETC portal is located or the position of the ETC portal in the road section. According to the characteristics of the expressway, no U-turn intersection exists on the expressway, so that when the driving path is restored, the sequence of the ETC vehicles passing through each ETC portal is determined according to the time stamps of each transaction information in the transaction running data of the ETC vehicles, the driving path is restored, and the form route of the ETC vehicles on the expressway can be obtained.
S230, for any ETC vehicle, determining that the ETC vehicle inevitably passes through the ETC portal or the highway entrance and exit adjacent to the ETC portal to be detected in the preset time period according to the running path, and determining that the ETC vehicle inevitably passes through the ETC portal to be detected in the preset time period through the ETC portal or the highway entrance and exit adjacent to the ETC portal to be detected in the preset time period.
In above-mentioned step, with wait to detect that the adjacent possibility of ETC portal is the ETC portal, also can be the access & exit of highway, according to waiting to detect the serial number of ETC portal, through ETC vehicle transaction running water data seek and wait to detect the adjacent ETC portal of ETC portal serial number, determine for and wait to detect the adjacent ETC portal of portal. Because of there is the mapping relation ETC portal serial number with position information, so, can also carry out the ETC portal serial number of trading with the ETC vehicle in the ETC vehicle transaction running water data, obtain the position information of ETC portal, find and wait to detect the ETC portal that ETC portal position is adjacent, confirm and wait to detect the ETC portal that portal is adjacent. According to the running path of the reduction, if the ETC vehicle passes through the ETC portal or the highway access and exit adjacent to the ETC portal to be detected in the preset time period, the ETC vehicle is determined to inevitably pass through the ETC portal to be detected in the preset time period.
S240, random sampling is carried out on the ETC vehicle which inevitably passes through the ETC portal to be detected.
S250, the ETC vehicles obtained through random sampling and the ETC vehicles in the transaction running water data are matched through the ETC vehicles of the ETC portal to be detected in the preset time period.
And S260, counting the number of the ETC vehicles successfully matched.
S270, determining the transaction success rate of the ETC portal to be detected.
The embodiment of the invention determines an ETC portal frame which sequentially transacts with an ETC vehicle through the timestamp of each transaction information in the transaction flow data of the ETC vehicle, determines the driving path of the ETC vehicle according to the position information of the ETC portal frame which sequentially transacts with the ETC vehicle, determines that the ETC vehicle inevitably passes through the ETC portal frame to be detected based on any one of the ETC portal frame which belongs to the same road section and the ETC portal frame which is adjacent to the ETC portal frame to be detected and an expressway entrance and exit on the driving path of the ETC vehicle, determines whether the ETC vehicle passes through the ETC portal frame to be detected in a preset time period according to the distance between the known ETC portal frame or the expressway entrance and the ETC portal frame to be detected and the driving speed of the ETC vehicle on the driving path, randomly samples the ETC vehicle which inevitably passes through the ETC portal frame to be detected in the transaction flow data of the ETC vehicle and the ETC vehicle, and counting the number of the ETC vehicles successfully matched, and determining the transaction success rate of the ETC portal to be detected. According to the technical scheme of the embodiment of the invention, the problem that the information of the partial ETC portal where the ETC vehicle passes can only be obtained from the transaction running data due to abnormal fee deduction of the ETC portal is solved, and the effect of more accurate calculation of the success rate of the ETC portal to be detected is achieved.
EXAMPLE III
Fig. 4 is a flowchart of a method for detecting a transaction success rate of an ETC portal according to a third embodiment of the present invention, where the third embodiment is optimized based on the foregoing embodiment, as shown in fig. 4, the method specifically includes:
and S310, determining the ETC portal frame which carries out transaction with the ETC vehicle in sequence according to the timestamp of each transaction information in the transaction flow data of the ETC vehicle.
And S320, determining a driving path of the ETC vehicle according to the position information of the ETC portal which is in sequential transaction with the ETC vehicle.
S330, to arbitrary ETC vehicle, including on the route of traveling based on the ETC vehicle with wait to detect that the ETC portal belongs to any item in the ETC portal, the adjacent ETC portal of ETC portal, highway access & exit of ETC portal with waiting to detect, confirm that the ETC vehicle must pass through and wait to detect the ETC portal.
In the above steps, for any one ETC vehicle, the travel path of the ETC vehicle is restored through the transaction running water data of the ETC vehicle, and all the ETC gantries passed by the ETC vehicle can be obtained, if the ETC gantries passed by the ETC vehicle include: with wait to detect the ETC portal and belong to the ETC portal of same highway section or wait to detect the adjacent ETC portal of ETC portal, then confirm the ETC vehicle and must pass through wait to detect the ETC portal.
Still can obtain the highway access & exit that the ETC vehicle passed through on the route of traveling of transaction running water data reduction from the ETC vehicle, if wait to detect the highway section that the ETC portal is located between the highway access & exit then confirm that the ETC vehicle must pass through and wait to detect the ETC portal.
Through the route of traveling of reduction ETC vehicle, look for the ETC portal that the ETC vehicle probably passes through, can find out the ETC portal that does not normally withhold the ETC vehicle to calculate the success rate of ETC portal transaction.
And 340, determining whether the ETC vehicle passes through the ETC portal to be detected within a preset time period according to the distance between the known ETC portal or the expressway entrance and the ETC portal to be detected on the driving path and the driving speed of the ETC vehicle.
In above-mentioned step, according to the time of each ETC portal of process in the transaction running water data of ETC vehicle and the travel speed of calculating the ETC vehicle between each ETC portal, through the travel speed of ETC vehicle, highway access & exit with wait to detect the distance of portal or with wait to detect the distance of the adjacent ETC portal of portal and wait to detect the portal, calculate the ETC vehicle from highway access & exit to waiting to detect the ETC portal or from adjacent ETC portal to waiting to detect the time that the ETC portal used, the combination obtains the ETC vehicle through the transaction running water data and waits to detect the time of the adjacent ETC portal of ETC portal, thereby confirm whether the ETC vehicle must pass through waiting to detect the ETC portal in predetermineeing the time quantum.
Through calculating the speed of travel of ETC vehicle, can obtain the ETC vehicle through waiting to detect the accurate time of ETC portal, make whether more accurate through the judgement that waits to detect the ETC portal to the ETC vehicle in predetermined time quantum to make that it is more accurate to wait to detect ETC portal transaction success rate of calculation in follow-up step.
And 350, randomly sampling the ETC vehicle which inevitably passes through the ETC portal frame to be detected.
And step 360, matching the ETC vehicle of the ETC portal to be detected in the transaction running data of the ETC vehicle and the ETC vehicle obtained by random sampling within a preset time period.
And step 370, counting the number of the ETC vehicles successfully matched.
And 380, determining the transaction success rate of the ETC portal to be detected.
According to the embodiment of the invention, the ETC portal which is in sequential transaction with the ETC vehicle is determined according to the timestamp of each transaction information in the transaction flow data of the ETC vehicle, the driving path of the ETC vehicle is determined according to the position information of the ETC portal which is in sequential transaction with the ETC vehicle, and then, for any ETC vehicle, the ETC portal which belongs to the same road section with the ETC portal to be detected is included on the driving path of the ETC vehicle, the ETC portal which is adjacent to the ETC portal to be detected and any one of the expressway entrances and exits are determined, the ETC vehicle is determined to inevitably pass through the ETC portal to be detected, according to the distance between the known ETC portal or the expressway entrances and the ETC portal to be detected on the driving path and the driving speed of the ETC vehicle, whether the ETC vehicle passes through the ETC portal to be detected in the preset time period is determined, the ETC vehicle which inevitably passes through the ETC portal to be detected in the preset time period in the transaction flow data of the ETC vehicle, which is obtained at random And matching, counting the number of the ETC vehicles which are successfully matched, and determining the transaction success rate of the ETC portal to be detected. According to the technical scheme of the embodiment of the invention, the problem that the ETC vehicle which inevitably passes through the ETC portal to be detected within the preset time period cannot be accurately determined is solved, and the effect of more accurately calculating the transaction success rate of the ETC portal is realized.
Example four
Fig. 5 is a structural diagram of an ETC portal transaction success rate detection device according to a fourth embodiment of the present invention, where the ETC portal transaction success rate detection device includes: random sampling module 410, ETC vehicle matching module 420, statistical module 430, and success rate calculation module 440
The random sampling module 410 is used for randomly sampling ETC vehicles which inevitably pass through an ETC portal to be detected within a preset time period;
the ETC vehicle matching module 420 is used for matching the ETC vehicles to be detected with the ETC portal frame within a preset time period in the transaction flow data of the ETC vehicles obtained by random sampling, wherein the transaction flow data of the ETC vehicles are obtained from the storage devices of the ETC vehicles according to the electronic equipment arranged at the high-speed exit;
the statistical module 430 is used for counting the number of the ETC vehicles successfully matched;
the success rate calculation module 440 is used for determining a transaction success rate of the ETC portal to be detected, wherein the transaction success rate is calculated according to the following formula: and (4) matching the number of the ETC vehicles successfully/randomly sampling the number of the ETC vehicles.
In the above-mentioned embodiment scheme, ETC portal transaction success rate detection device still includes: the running path restoration module is used for restoring a running path of the ETC vehicle according to the transaction running data of the ETC vehicle; and the ETC vehicle judgment module is used for judging the ETC vehicle which inevitably passes through the ETC portal frame to be detected in a preset time period according to the reduced running path.
Optionally, the transaction flow data of the ETC vehicle includes transaction information of the ETC vehicle and each ETC portal, and a timestamp of each transaction information.
Optionally, the driving path restoring module further includes: the ETC portal determining unit is used for determining the ETC portals which sequentially transact with the ETC vehicle according to the timestamps of the transaction information in the transaction running data of the ETC vehicle; and the travel path determining unit is used for determining the travel path of the ETC vehicle according to the position information of the ETC portal which is in sequential transaction with the ETC vehicle.
Optionally, the ETC vehicle determination module is configured to determine, for any one of the ETC vehicles, that the ETC vehicle must pass through the to-be-detected ETC portal based on any one of the ETC portal belonging to the same road segment as the to-be-detected ETC portal, the ETC portal adjacent to the to-be-detected ETC portal, and the highway entrance and exit included in the travel path of the ETC vehicle; and determining whether the ETC vehicle passes through the ETC portal to be detected within a preset time period or not according to the distance between the known ETC portal or the expressway entrance and the ETC portal to be detected on the running path and the running speed of the ETC vehicle.
Optionally, the running speed of the ETC vehicle is determined according to the time stamp of the transaction information of each portal and the distance between the portals in the transaction running data of the ETC vehicle.
In the above-mentioned embodiment scheme, ETC portal transaction success rate detection device still includes: the ETC vehicle screening module is used for obtaining before the ETC vehicle carries out random sampling, excluding the following vehicles in the determined ETC vehicle which inevitably passes through the ETC portal to be detected: the ETC vehicle that the on-board unit dismantled, the ETC vehicle that the on-board unit surpassed the validity period, the ETC vehicle of the compound pass card of getting not plug-in card and the ETC vehicle of the compound pass card non-valid card of getting.
In the above-mentioned embodiment scheme, ETC portal transaction success rate detection device still includes: the ETC portal detection module is used for determining the ETC portal with the transaction success rate not reaching the standard success rate as the ETC portal incapable of normally withholding the fee, and determining the ETC portal with the transaction success rate reaching the standard success rate as the ETC portal normally withholding the fee.
Optionally, the ETC portal is disposed on each road segment between any two toll booths.
The embodiment of the invention solves the problem of difficulty in calculating the transaction success rate of the ETC portal, improves the accuracy of calculating the transaction success rate of the ETC portal and realizes the effect of simplifying the transaction success rate of the ETC portal.
The ETC portal transaction success rate detection device provided by the embodiment of the invention can execute the ETC portal transaction success rate detection method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a computing apparatus according to a fifth embodiment of the present invention, as shown in fig. 6, the computing apparatus includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of processors 510 in the computing device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, memory 520, input device 530, and output device 440 in the computing device may be connected by a bus or other means, as exemplified by a bus connection in fig. 6.
The memory 520 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the ETC portal transaction success rate detection method in the embodiment of the present invention (e.g., the machine sampling module 410, the ETC vehicle matching module 420, the statistical module 430, and the success rate calculation module 440 in the ETC portal transaction success rate detection apparatus). The processor 510 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 520, so as to implement the ETC portal transaction success rate detection method.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 540 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for detecting a transaction success rate of an ETC portal, and the method includes:
the method comprises the steps of obtaining an ETC vehicle which inevitably passes through an ETC portal frame to be detected within a preset time period, and randomly sampling the obtained ETC vehicle;
matching the ETC vehicles of the ETC portal to be detected within the preset time period in the transaction flow data of the ETC vehicles and the ETC vehicles obtained through random sampling, wherein the transaction flow data of the ETC vehicles are acquired from storage devices of the ETC vehicles according to electronic equipment arranged at a high-speed outlet;
counting the number of ETC vehicles successfully matched;
determining the transaction success rate of the ETC portal to be detected, wherein the transaction success rate is calculated according to the following formula: and (4) matching the number of the ETC vehicles successfully/randomly sampling the number of the ETC vehicles.
Of course, the storage medium provided by the embodiments of the present invention includes computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the ETC portal transaction success rate detection method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the ETC portal transaction success rate detection apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.