CN114582034A - Method, device, system and storage medium for testing electronic charging module - Google Patents
Method, device, system and storage medium for testing electronic charging module Download PDFInfo
- Publication number
- CN114582034A CN114582034A CN202210023713.4A CN202210023713A CN114582034A CN 114582034 A CN114582034 A CN 114582034A CN 202210023713 A CN202210023713 A CN 202210023713A CN 114582034 A CN114582034 A CN 114582034A
- Authority
- CN
- China
- Prior art keywords
- portal
- charging module
- standard
- testing
- path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B15/00—Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
- G07B15/06—Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The invention provides a method, a device, a system and a storage medium for testing an electronic charging and billing module, wherein the method comprises the following steps: acquiring a charging module to be tested, and acquiring a corresponding standard charging file based on the region of the charging module to be tested; the method comprises the steps of obtaining standard cost of an ETC portal, obtaining actual cost of a charging module for the ETC portal, and comparing the standard cost and the actual cost of the same ETC portal to test the charging module; constructing a relative position key value pair based on the link attribute table; inputting the two ETC gantries into a charging module as a starting point gantry and an end point gantry respectively to obtain a testing path, acquiring a first ETC gantry group of the testing path, constructing the starting point gantry and the end point gantry into the first path, acquiring a second ETC gantry group, and testing the charging module by comparing the first ETC gantry group with the second ETC gantry group; and acquiring the actual total cost of the first path by the charging module, acquiring the standard total cost of the first path, and comparing the standard total cost with the actual total cost to test the charging module.
Description
Technical Field
The invention relates to the technical field of highway charging, in particular to a method, a device, a system and a storage medium for testing an electronic toll charging module.
Background
The charging module is one of the most key components of the toll collection system of the toll station, the calculation and output of all rates in province can be completed through the charging module, the charging module calculates the passing fee of the corresponding toll collection unit according to the number of vehicle axles, and can complete the operation of path reduction and path fitting according to the read last toll collection unit information recorded in the OBU/CPC card, and the ETC portal system and the toll collection system (ETC lane and mixed lane) of the toll station realize the calculation of the vehicle passing fee by calling the charging module deployed to the local.
Although the charging module has been widely used, the prior art lacks a method for testing the charging module, and it is difficult to ensure the accuracy of the charging module.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method for testing an electronic charging module, so as to obviate or mitigate one or more of the disadvantages in the related art.
One aspect of the present invention provides a method for testing an electronic charging module, the method comprising the steps of:
acquiring a charging module to be tested, and acquiring a corresponding standard charging file based on the region of the charging module to be tested;
acquiring standard fees which should be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees which are charged by a charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
constructing a relative position key value pair based on different ETC gantries based on an ETC gantry communication attribute table stored in the standard charging file;
inputting the two ETC gantries into a charging module as a starting point gantry and an end point gantry respectively to obtain a testing path, acquiring a first ETC gantry group through which the testing path passes, constructing the starting point gantry and the end point gantry into a first path based on a relative position key value pair, acquiring a second ETC gantry group of the first path, and testing the charging module by comparing the first ETC gantry group with the second ETC gantry group;
the method comprises the steps of obtaining actual total cost collected by a charging module for a first path, obtaining standard total cost collected for the first path based on standard cost collected by each ETC portal and standard total cost collected by a second ETC portal group, and testing the charging module by comparing the standard total cost with the actual total cost.
The invention discloses a testing method of an electronic toll collection and charging module, which comprises the steps of testing the charge of each ETC portal frame of the charging module, constructing a relative position key value pair based on an ETC portal frame communication attribute table, obtaining the sequential relation of adjacent ETC portal frames through the relative position key value pair, obtaining the sequential relation of all ETC portal frames, further testing whether the ETC portal frames are missed or not in a first path, further testing the actual total charge received by the first path through the charging module, and testing the charging module in an all-around manner.
In some embodiments of the present invention, the step of constructing a key-value pair of relative positions based on different ETC gantries based on an ETC gantry connectivity attribute table stored in a standard billing file comprises:
acquiring each ETC portal and an ETC portal in front of the ETC portal based on the relative position relation of the ETC portals stored in the ETC portal link attribute table;
the ETC portal is used as a key, the ETC portal in front of the ETC portal is used as a value, and a relative position key value pair based on each ETC portal is constructed.
In some embodiments of the invention, the relative position key-value pair comprises an ETC portal as a key and a previous ETC portal of the ETC portal, and is structured as a plurality of relative position key-value pairs if the previous ETC portal of the ETC portal comprises a plurality.
In some embodiments of the present invention, the step of constructing the start portal and the end portal as the first path based on the pair of relative position keys is:
if the starting point portal frame and the end point portal frame are adjacent ETC portal frames, the first path is a determined path between the two ETC portal frames;
and if the starting point portal frame and the end point portal frame are not adjacent, taking the end point portal frame in the two ETC portal frames as a key, matching a relative position key value pair corresponding to the end point portal frame in the plurality of relative position key value pairs, taking the value of the relative position key value pair as a key to continuously match the relative position key value pair until the value of the matched relative position key value pair is taken as the starting point portal frame, and constructing a first path between the starting point portal frame and the end point portal frame.
In some embodiments of the present invention, the link attribute table further presets a distance between every two adjacent ETC gantries, and the step of constructing the starting point gantry and the ending point gantry as the first path based on the relative position key-value pair further includes:
if multiple routes comprising different ETC gantries exist between the starting point gantry and the destination gantry, the total distance is calculated according to the ETC gantries passed by the multiple routes, and the route with the shortest total distance is used as a first path.
In some embodiments of the invention, the step of obtaining the second ETC gate bay group of the first path comprises:
all the ETC gantries in the first path are combined as a second ETC gantry group.
In some embodiments of the present invention, the same ETC portal in the ETC portal fee amount table receives different standard fees for different vehicle types, and the step of comparing the standard fee and the actual fee of the same ETC portal to test the billing module includes:
obtaining standard fees to be charged for different vehicle types of the same ETC portal frame, obtaining actual fees to be charged for different vehicle types of the same ETC portal frame by the charging module,
and comparing the standard cost and the actual cost of different vehicle types of the same ETC portal frame to test the charging module.
In some embodiments of the present invention, in the step of acquiring the actual total fee charged by the billing module for the first path, acquiring the standard total fee that should be charged for the first path based on the standard fee that should be charged for each ETC portal and the second set of ETC portals,
different standard total fees are charged for different vehicle types through the same first path.
In some embodiments of the invention, the steps of the method comprise:
acquiring a system time stamp when the charging module is loaded and a system time stamp after the charging module is successfully loaded, taking a difference value to obtain loading time, comparing the loading time with a preset time-consuming threshold value, and testing the charging module;
acquiring a naming rule of the charging module, comparing the naming rule with a preset standard rule, and testing the charging module;
acquiring the size of a memory occupied by the charging module, comparing the size with a preset standard size, and testing the charging module;
and obtaining the current version of the charging module, comparing the current version with the preset standard version, and testing the charging module.
Another aspect of the present invention provides a device for testing an electronic charging and billing module, the device comprising:
the standard charging file acquisition module is used for acquiring the charging module to be tested and acquiring a corresponding standard charging file based on the region of the charging module to be tested;
the ETC portal charging testing module is used for acquiring standard fees which should be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees which are charged by the charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
the system comprises a relative position key value pair construction module, a standard charging file generation module and a relative position key value pair construction module, wherein the relative position key value pair construction module is used for constructing relative position key value pairs based on different ETC gantries based on an ETC gantry link attribute table stored in the standard charging file;
the missed portal testing module is used for inputting the two ETC portals into the charging module as a starting portal and an end portal respectively to obtain a testing path, acquiring a first ETC portal group through which the testing path passes, constructing the starting portal and the end portal into a first path based on a relative position key value pair, acquiring a second ETC portal group of the first path, and testing the charging module by comparing the first ETC portal group with the second ETC portal group;
and the path fee testing module is used for acquiring the actual total fee which is collected by the charging module for the first path, acquiring the standard total fee which is collected for the first path based on the standard fee which is collected by each ETC portal and the second ETC portal group, and testing the charging module by comparing the standard total fee with the actual total fee.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
It will be appreciated by those skilled in the art that the objects and advantages that can be achieved with the present invention are not limited to the specific details set forth above, and that these and other objects that can be achieved with the present invention will be more clearly understood from the detailed description that follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention.
FIG. 1 is a diagram illustrating a first embodiment of a method for testing an electronic toll collection and billing module according to the present invention;
FIG. 2 is a schematic diagram of an exemplary structure of the testing of the electronic toll collection and billing module according to the present invention;
FIG. 3 is a diagram of a first embodiment of the testing device for the electronic toll collection and billing module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
It should be noted that, in order to avoid obscuring the present invention with unnecessary detail, only the structures and/or processing steps closely related to the solution according to the present invention are shown in the drawings, and other details not closely related to the present invention are omitted.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, elements, steps or components, but does not preclude the presence or addition of one or more other features, elements, steps or components.
It is also noted herein that the term "coupled," if not specifically stated, may refer herein to not only a direct connection, but also an indirect connection in which an intermediate is present.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the drawings, the same reference numerals denote the same or similar parts, or the same or similar steps.
As shown in fig. 1 and 2, one aspect of the present invention provides a method for testing an electronic charging and billing module, where the method includes the steps of:
step S100, acquiring a charging module to be tested, and acquiring a corresponding standard charging file based on the region of the charging module to be tested;
in some embodiments of the present invention, the standard charging file corresponding to the region of the charging module to be tested is obtained as corresponding to the region of province, city, district, etc., the range covered by the standard charging file is determined, and if the region of the charging module to be tested is province a, the standard charging file of province a is called.
S200, acquiring standard fees to be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees to be charged by a charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
in some embodiments of the invention, the ETC portal fee table stores standard fees that should be charged by all ETC portals in a geographic area for all vehicle models that are differentiated by the number of vehicle axles.
The representation of the vehicle model for the ETC portal may be < ETC portal number, guest 1 charge, …, good 1 charge, …, good 6 charge >.
The ETC portal fee amount table stores ETC portal number, belonging high speed, lane number, longitude and latitude coordinates, stake number, visitor 1 fee amount, …, goods 1 fee amount, …, goods 6 fee amount and the like of each ETC portal.
In some embodiments of the invention, if it is found during the testing that the actual cost charged by any ETC portal is different from the standard cost, reporting the ETC portal with an error.
S310, constructing a relative position key value pair based on different ETC door frames based on an ETC door frame communication attribute table stored in the standard charging file;
in some embodiments of the present invention, the ETC portal link attribute table stores relative positional relationships of all portals in a region, that is, stores a sequence between portals, for example, a to B to C, where B is a previous portal of C and a is a previous portal of B.
Step S320, inputting the two ETC gantries into a charging module as a starting point gantry and a terminal point gantry respectively to obtain a testing path, obtaining a first ETC gantry group through which the testing path passes, constructing the starting point gantry and the terminal point gantry into a first path based on a relative position key value pair, obtaining a second ETC gantry group of the first path, and testing the charging module by comparing the first ETC gantry group with the second ETC gantry group;
in some embodiments of the invention, the starting point portal and the end point portal are input into a billing module, and the billing module may determine, through an internal path fitting algorithm, an ETC portal that needs to be passed through, where the first ETC portal group includes all the ETC portals through which the test path passes.
In some embodiments of the invention, the second ETC portal group includes all the ETC portals through which the first path passes, and whether the ETC portals are missed by the charging module can be known by comparing the first ETC portal group with the second ETC portal group, and if there is a miss, the missed ETC portals are reported.
And S400, acquiring actual total cost for the first path by the charging module, acquiring standard total cost for the first path based on the standard cost which should be acquired by each ETC portal and the second ETC portal group, and testing the charging module by comparing the standard total cost with the actual total cost.
In some embodiments of the present invention, the standard total cost and the actual total cost are compared, whether a difference occurs between the standard total cost and the actual total cost is calculated, and if yes, the difference is reported.
According to the method for testing the electronic toll collection and billing module, firstly, the billing of the billing module to each ETC portal is tested, a relative position key value pair is established based on an ETC portal link attribute table, the sequential relation of adjacent ETC portals can be obtained through the relative position key value pair, the sequential relation of all ETC portals can be obtained, and then whether the ETC portals are missed or not is tested on a first path, and further the billing module tests the actual total fee charged on the first path.
In some embodiments of the present invention, the step of constructing a key-value pair of relative positions based on different ETC gantries based on an ETC gantry connectivity attribute table stored in a standard billing file comprises:
acquiring each ETC portal frame and the ETC portal frame in front of the ETC portal frame based on the relative position relation of the ETC portal frames stored in the ETC portal frame communication attribute table;
the ETC portal is used as a key, the ETC portal in front of the ETC portal is used as a value, and a relative position key value pair based on each ETC portal is constructed.
In some embodiments of the invention, the pair of relative position key values may consist of an ETC portal as a key and a previous ETC portal to the ETC portal.
By adopting the scheme, the relative position relation of all the door frames can be expressed by acquiring the relative position key value pair of each door frame, so that the position relation in a large range can be conveniently expressed, and the convenience of expression is improved.
In some embodiments of the invention, the pair of relative position key values may consist of the ETC portal as a key and the first n ETC portals of the ETC portal;
specifically, the following may be mentioned:
[ ETC portal number, preamble ETC portal number ], [ ETC portal number, preamble ETC portal number, preceding sequence ETC portal number ], [ ETC portal number, preamble ETC portal number, preceding preamble ETC portal number ] or [ ETC portal number, preamble ETC portal number, preceding preamble ETC portal number ], and the like.
The serial number of the ETC portal is the ETC portal which is used as a key, and the serial number of the preorder ETC portal is the first 1 ETC portal of the ETC portal.
In some embodiments of the invention, the relative position key-value pair comprises an ETC portal as a key and a previous ETC portal of the ETC portal, and is structured as a plurality of relative position key-value pairs if the previous ETC portal of the ETC portal comprises a plurality.
In some embodiments of the present invention, the step of constructing the start portal and the end portal as the first path based on the pair of relative position keys is:
if the starting point portal frame and the end point portal frame are adjacent ETC portal frames, the first path is a determined path between the two ETC portal frames;
and if the starting point portal frame and the end point portal frame are not adjacent, taking the end point portal frame in the two ETC portal frames as a key, matching a relative position key value pair corresponding to the end point portal frame in the plurality of relative position key value pairs, taking the value of the relative position key value pair as a key to continuously match the relative position key value pair until the value of the matched relative position key value pair is taken as the starting point portal frame, and constructing a first path between the starting point portal frame and the end point portal frame.
In some embodiments of the present invention, the link attribute table further presets a distance between every two adjacent ETC gantries, and the step of constructing the starting point gantry and the ending point gantry as the first path based on the relative position key-value pair further includes:
if multiple routes including different ETC gantries exist between the starting point gantry and the end point gantry, the total distance is calculated according to the ETC gantries passed by the multiple routes, and the route with the shortest total distance is used as a first path.
By adopting the scheme, the shortest path between the starting point portal and the end point portal can be quickly obtained based on the relative position key value pair, and the efficiency is remarkably improved compared with the original calculation method for traversing all portals.
In some embodiments of the invention, the step of obtaining the second ETC gate bay group of the first path comprises:
all the ETC gantries in the first path are combined as a second ETC gantry group.
In some embodiments of the present invention, the same ETC portal in the ETC portal fee amount table receives different standard fees for different vehicle types, and the step of comparing the standard fee and the actual fee of the same ETC portal to test the billing module includes:
obtaining standard fees to be charged for different vehicle types of the same ETC portal frame, obtaining actual fees to be charged for different vehicle types of the same ETC portal frame by the charging module,
and comparing the standard cost and the actual cost of different vehicle types of the same ETC portal frame to test the charging module.
By adopting the scheme, whether the charging module can be successfully fitted or not and whether the portal frame can be omitted or not can be determined if the vehicle misses the portal frame between the starting point portal frame and the terminal point portal frame in high speed, and the path fitting function of the charging module can be conveniently tested.
In some embodiments of the present invention, in the step of acquiring the actual total fee charged by the billing module for the first path, acquiring the standard total fee that should be charged for the first path based on the standard fee that should be charged for each ETC portal and the second set of ETC portals,
different standard total fees are charged for different vehicle types through the same first path.
In some embodiments of the invention, the steps of the method comprise:
acquiring a system time stamp when the charging module is loaded and a system time stamp after the charging module is successfully loaded, taking a difference value to obtain loading time, comparing the loading time with a preset time-consuming threshold value, and testing the charging module;
in some embodiments of the invention, the elapsed time threshold may be 3 s.
Acquiring a naming rule of the charging module, comparing the naming rule with a preset standard rule, and testing the charging module;
in some embodiments of the present invention, a naming parameter of a charging module file is generated according to a naming rule of a charging module, and a name of a measured charging module file is compared with a standard rule, where the naming rule may be libfeecalc _ provide { providencid } _ { version } _ { architecture }. so.
Acquiring the size of a memory occupied by the charging module, comparing the size with a preset standard size, and testing the charging module;
in some embodiments of the present invention, after the initialization interface is successfully called, a Linux system function getMemUse () is called to calculate the memory occupation situation of the current charging module, and the obtained memory occupation concrete value should be less than 250M.
In some embodiments of the invention, the steps of the method further comprise: calling an initialization interface of a charging module (when the interface is initialized, the charging module inquires a charging unit group according to the current portal code and loads corresponding rate parameters, self-checking is completed, the self-checking returns to 0 normally, otherwise, an error code is returned, and the consumed time is not more than 3 seconds), recording a system time stamp when the initialization interface is called and a system time stamp returned by a return value after the initialization interface is called, and calculating the time difference before and after the initialization interface is called to obtain the consumed time of the interface calling, wherein the consumed time is less than 10 ms.
And obtaining the current version of the charging module, comparing the current version with the preset standard version, and testing the charging module.
In some embodiments of the present invention, a getLibVersion () function of obtaining a billing module version interface is called to obtain billing module version information and data version information.
As shown in fig. 3, another aspect of the present invention provides a testing apparatus for an electronic toll collection and billing module, the apparatus comprising:
a standard charging file obtaining module 100, configured to obtain a charging module to be tested, and obtain a corresponding standard charging file based on a region of the charging module to be tested;
the ETC portal charging testing module 200 is used for acquiring standard fees to be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees to be charged by the charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
a relative position key-value pair construction module 310, configured to construct a relative position key-value pair based on different ETC gantries based on an ETC gantry link attribute table stored in the standard charging file;
the missed portal testing module 320 is used for inputting the two ETC portals into the charging module as a starting portal and an end portal respectively to obtain a testing path, acquiring a first ETC portal group through which the testing path passes, constructing the starting portal and the end portal into a first path based on a relative position key value pair, acquiring a second ETC portal group of the first path, and testing the charging module by comparing the first ETC portal group with the second ETC portal group;
and a path fee testing module 400 for acquiring an actual total fee of the charging module for the first path, acquiring a standard total fee of the first path based on the standard fee which should be acquired by each ETC portal and the second ETC portal group, and testing the charging module by comparing the standard total fee with the actual total fee.
The embodiment of the present invention further provides a system for testing an electronic charging and billing module, where the system includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is configured to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the system implements the steps of the foregoing method.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the method for testing the electronic charging and billing module. The computer readable storage medium may be a tangible storage medium such as Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disks, removable storage disks, CD-ROMs, or any other form of storage medium known in the art.
Those of ordinary skill in the art will appreciate that the various illustrative components, systems, and methods described in connection with the embodiments disclosed herein may be implemented as hardware, software, or combinations of both. Whether this is done in hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), a suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
Features that are described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments and/or in combination with or instead of the features of the other embodiments in the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A method for testing an electronic charging module is characterized by comprising the following steps:
acquiring a charging module to be tested, and acquiring a corresponding standard charging file based on the region of the charging module to be tested;
acquiring standard fees to be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees to be charged by a charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
constructing a relative position key value pair based on different ETC gantries based on an ETC gantry communication attribute table stored in the standard charging file;
inputting the two ETC gantries into a charging module as a starting point gantry and an end point gantry respectively to obtain a test path, obtaining a first ETC gantry group through which the test path passes, constructing the starting point gantry and the end point gantry into a first path based on a relative position key value pair, obtaining a second ETC gantry group of the first path, and testing the charging module by comparing the first ETC gantry group with the second ETC gantry group;
the method comprises the steps of obtaining actual total cost of a charging module for a first path, obtaining standard total cost which should be collected for the first path based on each ETC portal and a second ETC portal group, and testing the charging module by comparing the standard total cost with the actual total cost.
2. The method according to claim 1, wherein the step of constructing the key-value pair of relative positions based on different ETC gantries based on the ETC gantry connectivity attribute table stored in the standard billing file comprises:
acquiring each ETC portal and an ETC portal in front of the ETC portal based on the relative position relation of the ETC portals stored in the ETC portal link attribute table;
the ETC portal is used as a key, the ETC portal in front of the ETC portal is used as a value, and a relative position key value pair based on each ETC portal is constructed.
3. The method according to claim 2, wherein the relative position key-value pair comprises an ETC portal as a key and a previous ETC portal of the ETC portal, configured as a plurality of relative position key-value pairs if the previous ETC portal of the ETC portal comprises a plurality.
4. The method of any one of claims 1-3, wherein constructing the start portal and the end portal as the first path based on the pair of relative position keys comprises:
if the starting point portal frame and the end point portal frame are adjacent ETC portal frames, the first path is a determined path between the two ETC portal frames;
and if the starting point portal frame and the end point portal frame are not adjacent, taking the end point portal frame in the two ETC portal frames as a key, matching a relative position key value pair corresponding to the end point portal frame in the relative position key value pairs, taking the value of the relative position key value pair as the key, continuously matching the relative position key value pair until the value of the matched relative position key value pair is taken as the starting point portal frame, and constructing a first path between the starting point portal frame and the end point portal frame.
5. The method according to claim 1, wherein the link attribute table further presets a distance between every two adjacent ETC gantries, and the step of constructing the start and end gantries as the first path based on the pair of relative position keys further comprises:
if multiple routes including different ETC gantries exist between the starting point gantry and the end point gantry, the total distance is calculated according to the ETC gantries passed by the multiple routes, and the route with the shortest total distance is used as a first path.
6. The method according to claim 1, wherein the same ETC portal charges the same ETC portal for different vehicle models at different standard charges, and the step of testing the billing module by comparing the standard charges and the actual charges of the same ETC portal comprises:
obtaining standard fees to be charged for different vehicle types of the same ETC portal, obtaining actual fees to be charged for different vehicle types of the same ETC portal by the charging module,
and comparing the standard cost and the actual cost of different vehicle types of the same ETC portal frame to test the charging module.
7. The method according to claim 1, characterized in that the steps of the method comprise:
acquiring a system time stamp when the charging module is loaded and a system time stamp after the charging module is successfully loaded, taking a difference value to obtain loading time, comparing the loading time with a preset time-consuming threshold value, and testing the charging module;
acquiring a naming rule of the charging module, comparing the naming rule with a preset standard rule, and testing the charging module;
acquiring the size of a memory occupied by the charging module, comparing the size with a preset standard size, and testing the charging module;
and obtaining the current version of the charging module, comparing the current version with the preset standard version, and testing the charging module.
8. A device for testing an electronic toll collection and billing module, the device comprising:
the standard charging file acquisition module is used for acquiring the charging module to be tested and acquiring a corresponding standard charging file based on the region of the charging module to be tested;
the ETC portal charging testing module is used for acquiring standard fees which should be charged by each ETC portal based on an ETC portal fee amount table stored in a standard charging file, acquiring actual fees which are charged by the charging module for each ETC portal, and testing the charging module by comparing the standard fees and the actual fees of the same ETC portal;
the system comprises a relative position key value pair construction module, a standard charging file generation module and a data processing module, wherein the relative position key value pair construction module is used for constructing relative position key value pairs based on different ETC gantries based on an ETC gantry communication attribute table stored in the standard charging file;
the missed portal testing module is used for inputting the two ETC portals into the charging module as a starting portal and an end portal respectively to obtain a testing path, acquiring a first ETC portal group through which the testing path passes, constructing the starting portal and the end portal into a first path based on a relative position key value pair, acquiring a second ETC portal group of the first path, and testing the charging module by comparing the first ETC portal group with the second ETC portal group;
and the path fee testing module is used for acquiring the actual total fee which is collected by the charging module for the first path, acquiring the standard total fee which is collected for the first path based on the standard fee which is collected by each ETC portal and the second ETC portal group, and testing the charging module by comparing the standard total fee with the actual total fee.
9. A system for testing an electronic toll collection and billing module, the system comprising a computer device including a processor and a memory, the memory having stored therein computer instructions for executing computer instructions stored in the memory, the system implementing the steps of the method according to any one of claims 1 to 7 when the computer instructions are executed by the processor.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon which, when being executed by a processor, carries out the steps of a method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210023713.4A CN114582034B (en) | 2022-01-10 | 2022-01-10 | Method, device and system for testing electronic charging and billing module and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210023713.4A CN114582034B (en) | 2022-01-10 | 2022-01-10 | Method, device and system for testing electronic charging and billing module and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114582034A true CN114582034A (en) | 2022-06-03 |
CN114582034B CN114582034B (en) | 2023-08-08 |
Family
ID=81771571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210023713.4A Active CN114582034B (en) | 2022-01-10 | 2022-01-10 | Method, device and system for testing electronic charging and billing module and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114582034B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104582U (en) * | 1991-02-20 | 1992-09-09 | 三菱重工業株式会社 | Automatic testing equipment for toll collection machines |
DE4344433A1 (en) * | 1993-12-24 | 1995-07-06 | Detecon Gmbh | Computational system for allocating motorway toll charges |
JPH11232502A (en) * | 1998-02-12 | 1999-08-27 | Omron Corp | Toll informing device and toll information informing device |
JP2000242816A (en) * | 1998-12-25 | 2000-09-08 | Nippon Signal Co Ltd:The | Fare collecting device |
CN110443904A (en) * | 2019-08-28 | 2019-11-12 | 招商华软信息有限公司 | A kind of payment omitted detection method, device, server and storage medium |
CN112152673A (en) * | 2020-09-02 | 2020-12-29 | 北京易路行技术有限公司 | CPC card transaction testing method and device under antenna interference |
CN112785736A (en) * | 2020-12-31 | 2021-05-11 | 千方捷通科技股份有限公司 | Method, device, medium and equipment for checking and judging toll leakage of vehicles on highway |
CN112802215A (en) * | 2020-12-31 | 2021-05-14 | 千方捷通科技股份有限公司 | Method, device, equipment and storage medium for auditing highway passing fees |
-
2022
- 2022-01-10 CN CN202210023713.4A patent/CN114582034B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104582U (en) * | 1991-02-20 | 1992-09-09 | 三菱重工業株式会社 | Automatic testing equipment for toll collection machines |
DE4344433A1 (en) * | 1993-12-24 | 1995-07-06 | Detecon Gmbh | Computational system for allocating motorway toll charges |
JPH11232502A (en) * | 1998-02-12 | 1999-08-27 | Omron Corp | Toll informing device and toll information informing device |
JP2000242816A (en) * | 1998-12-25 | 2000-09-08 | Nippon Signal Co Ltd:The | Fare collecting device |
CN110443904A (en) * | 2019-08-28 | 2019-11-12 | 招商华软信息有限公司 | A kind of payment omitted detection method, device, server and storage medium |
CN112152673A (en) * | 2020-09-02 | 2020-12-29 | 北京易路行技术有限公司 | CPC card transaction testing method and device under antenna interference |
CN112785736A (en) * | 2020-12-31 | 2021-05-11 | 千方捷通科技股份有限公司 | Method, device, medium and equipment for checking and judging toll leakage of vehicles on highway |
CN112802215A (en) * | 2020-12-31 | 2021-05-14 | 千方捷通科技股份有限公司 | Method, device, equipment and storage medium for auditing highway passing fees |
Non-Patent Citations (1)
Title |
---|
沈志祥: "安徽省电子不停车收费系统的应用测试与分析", 交通工程, no. 9, pages 328 - 330 * |
Also Published As
Publication number | Publication date |
---|---|
CN114582034B (en) | 2023-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100526918B1 (en) | Accounting System | |
CN101785034B (en) | An apparatus and method for use in location determination | |
RU2006136787A (en) | ELECTRONIC SYSTEM OF COLLECTION OF ROAD DUTY FOR WAYS OF MESSAGE AND METHOD OF ITS FUNCTIONING | |
CN104798121B (en) | Traffic information processing system, server unit and information processing method | |
JP5249971B2 (en) | Toll collection system | |
EP3706097A1 (en) | Information processing method and device | |
CN110599612B (en) | Method, equipment and storage medium for highway non-stop automatic charging | |
CN107767669A (en) | Public bus network passenger flow OD methods of estimation based on WiFi and bluetooth recognition | |
CN104008576A (en) | Beidou-based highway vehicle free flow electronic toll collection method, system and device | |
CN105953805A (en) | Method and device for verifying map | |
US20090259528A1 (en) | Method and device for ensuring data privacy in offboard toll collection | |
CN108877285A (en) | The parking data detection system and method for multipoint positioning | |
CN111476501B (en) | Method, device, equipment and medium for measuring workload of loading and unloading engineering vehicle | |
KR101364330B1 (en) | Vehicle-mounted device and toll collection system | |
CN112802215A (en) | Method, device, equipment and storage medium for auditing highway passing fees | |
CN111009043A (en) | Roadside parking charging method, parking charging system and readable storage medium | |
CN112734956B (en) | ETC portal determination method and device and storage medium | |
CN111340968B (en) | Vehicle passing information acquisition method and related device | |
KR101077943B1 (en) | Method and terminal for charging toll | |
CN113192217B (en) | Fee evasion detection method, fee evasion detection device, computer equipment and medium | |
CN114582034A (en) | Method, device, system and storage medium for testing electronic charging module | |
JP3009593B2 (en) | Road billing system | |
JP6110632B2 (en) | Billing processing system, billing processing method, billing processing apparatus, program, and recording medium | |
WO2003098556A1 (en) | A system for evaluating a vehicles usage within zones | |
JP2004192349A (en) | Mileage charge on-board device and mileage charge system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |