CN114582034B - Method, device and system for testing electronic charging and billing module and storage medium - Google Patents

Method, device and system for testing electronic charging and billing module and storage medium Download PDF

Info

Publication number
CN114582034B
CN114582034B CN202210023713.4A CN202210023713A CN114582034B CN 114582034 B CN114582034 B CN 114582034B CN 202210023713 A CN202210023713 A CN 202210023713A CN 114582034 B CN114582034 B CN 114582034B
Authority
CN
China
Prior art keywords
portal
charging module
standard
path
etc portal
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.)
Active
Application number
CN202210023713.4A
Other languages
Chinese (zh)
Other versions
CN114582034A (en
Inventor
安铁兵
孙国峰
逯静辉
邓晓慧
王搏
何振邦
才让昂秀
张永征
张琳琳
余绪金
陈旻瑞
王宏宇
文迪
高文宝
尤鑫
鲁程
薛金银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sutong Technology Co ltd
Beijing Yiluxing Technology Co ltd
Original Assignee
Beijing Sutong Technology Co ltd
Beijing Yiluxing Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Sutong Technology Co ltd, Beijing Yiluxing Technology Co ltd filed Critical Beijing Sutong Technology Co ltd
Priority to CN202210023713.4A priority Critical patent/CN114582034B/en
Publication of CN114582034A publication Critical patent/CN114582034A/en
Application granted granted Critical
Publication of CN114582034B publication Critical patent/CN114582034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

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; acquiring standard cost of the ETC portal, acquiring actual cost of the 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 communication attribute table; inputting the two ETC (electronic toll collection) portal frames as a starting portal frame and an end portal frame into a charging module respectively to obtain a test path, obtaining a first ETC portal frame group of the test path, constructing the starting portal frame and the end portal frame as a first path, obtaining a second ETC portal frame group, and comparing the first ETC portal frame group and the second ETC portal frame group to test the charging module; the method comprises the steps of obtaining actual total cost of a charging module on a first path, obtaining standard total cost of the first path, and testing the charging module by comparing the standard total cost with the actual total cost.

Description

Method, device and system for testing electronic charging and billing module and storage medium
Technical Field
The present invention relates to the field of highway charging technologies, and in particular, to a method, an apparatus, a system, and a storage medium for testing an electronic charging module.
Background
The charging module is one of the most critical components of a toll station charging system, the calculation and output of all rates in a province can be completed through the charging module, the charging module calculates the passing cost of a corresponding toll unit according to the number of vehicle types and can complete path restoration and path fitting operation according to the last toll unit information recorded in the read OBU/CPC card, and the ETC portal system and the toll station lane charging system (ETC lane and mixed lane) can realize the calculation of the vehicle passing cost by calling the charging module deployed locally.
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 foregoing, embodiments of the present invention provide a method for testing an electronic charging module, so as to eliminate or improve one or more drawbacks of the prior 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 each ETC portal should charge based on an ETC portal fee table stored in a standard charging file, acquiring actual fees which each ETC portal should charge by a charging module, and comparing the standard fees and the actual fees of the same ETC portal to test the charging module;
constructing relative position key value pairs based on different ETC portals based on an ETC portal communication attribute table stored in a standard charging file;
inputting the two ETC (electronic toll collection) portals as a starting portal and an ending portal into a charging module respectively to obtain a test path, obtaining a first ETC portal group passing through the test path, constructing the starting portal and the ending portal as a first path based on a relative position key value pair, obtaining a second ETC portal group of the first path, and comparing the first ETC portal group and the second ETC portal group to test the charging module;
the method comprises the steps of obtaining actual total cost charged by a charging module for a first path, obtaining standard total cost which is charged for the first path based on standard cost which is charged 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.
According to the testing method of the electronic charging and billing module, firstly, charging of each ETC portal of the billing module is tested, a relative position key value pair is constructed based on an ETC portal communication attribute table, the sequence relation of adjacent ETC portals can be obtained through the relative position key value pair, the sequence relation of all ETC portals can be obtained, whether ETC portals are missed in a first path is tested, the actual total cost charged by the first path is tested by the billing module, and the billing module is tested in all directions.
In some embodiments of the present invention, the step of constructing a relative position key value pair based on different ETC portals based on the ETC portal communication attribute table stored in the standard billing file includes:
acquiring each ETC portal and the ETC portal before the ETC portal based on the relative position relation of the ETC portal stored in the ETC portal communication attribute table;
and taking the ETC portal as a key and the ETC portal before the ETC portal as a value, and constructing a relative position key value pair based on each ETC portal.
In some embodiments of the present invention, the relative position key value pairs include an ETC portal as a key, and a previous ETC portal of the ETC portal, if the previous ETC portal of the ETC portal includes a plurality, a plurality of relative position key value pairs are constructed.
In some embodiments of the present invention, the step of constructing the start portal and the end portal as a first path based on the relative position key value pairs is:
if the starting portal and the end portal are adjacent ETC portals, the first path is a determined path between the two ETC portals;
and if the starting portal and the end portal are not adjacent, using the end portal in the two ETC portals as a key, matching the relative position key value pair corresponding to the end portal in a plurality of relative position key value pairs, and continuously matching the relative position key value pair by using the value of the relative position key value as a key until the value of the relative position key value pair is matched as the starting portal, and constructing a first path between the starting portal and the end portal.
In some embodiments of the present invention, the communication attribute table further presets a distance between every two adjacent ETC portals, and the step of constructing the start portal and the end portal as the first path based on the relative position key pair further includes:
if multiple routes comprising different ETC (electronic toll collection) portals exist between the starting portal and the ending portal, calculating the total distance according to the ETC portals passed by the multiple routes, and taking the route with the shortest total distance as a first path.
In some embodiments of the present invention, the step of acquiring a second set of ETC gantry of the first path includes:
and combining all ETC portals in the first path as a second ETC portal group.
In some embodiments of the present invention, the step of testing the charging module against the standard cost and the actual cost of the same ETC portal includes the steps of:
obtaining standard fees which should be charged for different vehicle types of the same ETC portal, obtaining actual fees charged by a charging module for different vehicle types of the same ETC portal,
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 obtaining the actual total cost charged by the billing module for the first path, the standard total cost to be charged for the first path is obtained based on the standard cost to be charged for each ETC portal and the second ETC portal set,
and collecting different standard total fees for different vehicle types passing 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 threshold, 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 the 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 test device for an electronic toll collection module, the device comprising:
the standard charging file acquisition module is used for acquiring the charging module to be tested and acquiring the corresponding standard charging file based on the region of the charging module to be tested;
the ETC portal charging test module is used for acquiring standard fees which each ETC portal should charge based on an ETC portal fee table stored in the standard charging file, acquiring actual fees which each ETC portal should charge by the charging module, and comparing the standard fees and the actual fees of the same ETC portal to test the charging module;
the relative position key value pair construction module is used for constructing relative position key value pairs based on different ETC portals based on the ETC portal communication attribute table stored in the standard charging file;
the error leakage portal test module is used for inputting the two ETC portals as a starting portal and an end portal into the charging module respectively to obtain a test path, obtaining a first ETC portal group through which the test path passes, constructing the starting portal and the end portal into a first path based on a relative position key value pair, obtaining a second ETC portal group of the first path, and comparing the first ETC portal group with the second ETC portal group to test the charging module;
the path cost testing module is used for acquiring the actual total cost charged by the charging module for the first path, acquiring the standard total cost which is charged for the first path based on the standard cost which is charged by each ETC portal frame and the second ETC portal frame group, and testing the charging module by comparing the standard total cost with the actual total cost.
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 may 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 above-described specific ones, and that the above and other objects that can be achieved with the present invention will be more clearly understood from the following detailed description.
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 and together with the description serve to explain the invention.
FIG. 1 is a schematic diagram of a first embodiment of a testing method of an electronic toll collection module according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a test of the electronic toll collection module of the present invention;
fig. 3 is a schematic diagram of a testing device of an electronic toll collection module according to a first embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following embodiments and the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent. The exemplary embodiments of the present invention and the descriptions thereof are used herein to explain the present invention, but are not intended to limit the invention.
It should be noted here that, in order to avoid obscuring the present invention due to unnecessary details, only structures and/or processing steps closely related to the solution according to the present invention are shown in the drawings, while other details not greatly 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" may mean not only a direct connection, but also an indirect connection where an intermediate is present, if not specifically stated.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar components, 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 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 corresponding standard charging file is acquired based on the region of the to-be-measured charging module, and the coverage range of the standard charging file is determined corresponding to regions such as province, city, district, etc., and if the region of the to-be-measured charging module is a province, the standard charging file of a province is called.
Step 200, obtaining standard fees which should be charged by each ETC portal based on an ETC portal fee table stored in a standard charging file, obtaining actual fees charged by a charging module for each ETC portal, and comparing the standard fees and the actual fees of the same ETC portal to test the charging module;
in some embodiments of the present invention, the ETC portal tariff table stores standard tariffs that all ETC portals in the territory should charge for all vehicle types, which are distinguished by vehicle axle numbers.
The representation of the ETC portal for the vehicle model may be < ETC portal number, passenger 1 fee, …, cargo 1 fee, …, cargo 6 fee >.
The ETC portal fee table stores ETC portal numbers including each ETC portal, belonging high speed, number of lanes, latitude and longitude coordinates, stake number, passenger 1 fee, …, cargo 1 fee, …, cargo 6 fee, ETC.
In some embodiments of the present invention, if it is found during the test that there is any ETC portal that is different from the standard fee, reporting the ETC portal that is in error.
Step S310, constructing relative position key value pairs based on different ETC door frames based on an ETC door frame communication attribute table stored in a standard charging file;
in some embodiments of the present invention, the ETC gantry communication attribute table stores the relative positional relationship of all the portals in the region, that is, stores the order between the portals, such as a to B to C, B being the previous portal of C, a being the previous portal of B.
Step S320, two ETC (electronic toll collection) portal frames are respectively used as a starting portal frame and an ending portal frame to be input into a charging module to obtain a test path, a first ETC portal frame group passing through the test path is obtained, the starting portal frame and the ending portal frame are constructed as a first path based on a relative position key value pair, a second ETC portal frame group of the first path is obtained, and the charging module is tested by comparing the first ETC portal frame group with the second ETC portal frame group;
in some embodiments of the present invention, the starting portal and the ending portal are input into a charging module, the charging module can determine the ETC portal to be passed through an internal path fitting algorithm, and the first ETC portal group includes all the ETC portals passed through by the test path.
In some embodiments of the present invention, the second ETC gantry group includes all ETC gantry frames through which the first path passes, and comparing the first ETC gantry group with the second ETC gantry group can learn whether the charging module omits an ETC gantry, if so, reporting that the missing ETC gantry exists.
And step S400, acquiring actual total charge of the charging module for the first path, acquiring standard total charge of the charging module for the first path based on standard charge of each ETC portal and standard total charge of the second ETC portal group, and testing the charging module by comparing the standard total charge with the actual total charge.
In some embodiments of the invention, the standard total cost and the actual total cost are compared, whether a difference value exists between the standard total cost and the actual total cost is calculated, and if so, the difference value is reported.
According to the testing method of the electronic charging and billing module, firstly, charging of each ETC portal of the billing module is tested, a relative position key value pair is constructed based on the ETC portal communication attribute table, the sequence relation of adjacent ETC portals can be obtained through the relative position key value pair, the sequence relation of all ETC portals can be obtained, whether ETC portals are missed in a first path is tested, and further the actual total cost charged by the billing module is tested.
In some embodiments of the present invention, the step of constructing a relative position key value pair based on different ETC portals based on the ETC portal communication attribute table stored in the standard billing file includes:
acquiring each ETC portal and the ETC portal before the ETC portal based on the relative position relation of the ETC portal stored in the ETC portal communication attribute table;
and taking the ETC portal as a key and the ETC portal before the ETC portal as a value, and constructing a relative position key value pair based on each ETC portal.
In some embodiments of the invention, the pair of relative position key values may consist of an ETC portal as a key and a preceding ETC portal of the ETC portal.
By adopting the scheme, the relative position key value pair of each portal can be obtained, the relative position relation of all the portals can be expressed, the large-scale position relation can be conveniently expressed, and the convenience of expression is improved.
In some embodiments of the invention, the relative position key value pairs may consist of an ETC portal as a key and the first n ETC portals of the ETC portal;
the method can be specifically as follows:
[ ETC Portal number, ] preamble ETC Portal number, [ preamble ETC Portal number, ] preamble ETC Portal number, front-front ETC gantry number ] or [ ETC gantry number, front-front ETC gantry number ], ETC.
The ETC portal number is the ETC portal used as a key, and the preamble ETC portal number is the first 1 ETC portal of the ETC portal.
In some embodiments of the present invention, the relative position key value pairs include an ETC portal as a key, and a previous ETC portal of the ETC portal, if the previous ETC portal of the ETC portal includes a plurality, a plurality of relative position key value pairs are constructed.
In some embodiments of the present invention, the step of constructing the start portal and the end portal as a first path based on the relative position key value pairs is:
if the starting portal and the end portal are adjacent ETC portals, the first path is a determined path between the two ETC portals;
and if the starting portal and the end portal are not adjacent, using the end portal in the two ETC portals as a key, matching the relative position key value pair corresponding to the end portal in a plurality of relative position key value pairs, and continuously matching the relative position key value pair by using the value of the relative position key value as a key until the value of the relative position key value pair is matched as the starting portal, and constructing a first path between the starting portal and the end portal.
In some embodiments of the present invention, the communication attribute table further presets a distance between every two adjacent ETC portals, and the step of constructing the start portal and the end portal as the first path based on the relative position key pair further includes:
if multiple routes comprising different ETC (electronic toll collection) portals exist between the starting portal and the ending portal, calculating the total distance according to the ETC portals passed by the multiple routes, and taking the route with the shortest total distance as a first path.
By adopting the scheme, the shortest path between the starting portal and the finishing portal can be obtained rapidly based on the relative position key value pairs, and compared with the original calculation method for traversing all the portals, the efficiency is improved remarkably.
In some embodiments of the present invention, the step of acquiring a second set of ETC gantry of the first path includes:
and combining all ETC portals in the first path as a second ETC portal group.
In some embodiments of the present invention, the step of testing the charging module against the standard cost and the actual cost of the same ETC portal includes the steps of:
obtaining standard fees which should be charged for different vehicle types of the same ETC portal, obtaining actual fees charged by a charging module for different vehicle types of the same ETC portal,
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 successfully fit or not and whether the portal is omitted or not can be determined through the scheme if the portal between the starting portal and the finishing portal is missed when the user runs at high speed, so that the path fitting function of the charging module can be conveniently tested.
In some embodiments of the present invention, in the step of obtaining the actual total cost charged by the billing module for the first path, the standard total cost to be charged for the first path is obtained based on the standard cost to be charged for each ETC portal and the second ETC portal set,
and collecting different standard total fees for different vehicle types passing 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 threshold, and testing the charging module;
in some embodiments of the invention, the time consumption threshold may be 3s.
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 billing module file is generated according to a naming rule of the billing module, and the name of the billing module file to be tested is compared with a standard rule, where the naming rule may be libfeecalc_provider { proviceld } { version } { architecture }.
Acquiring the size of the 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 invoked, the Linux system function getMemUse () is invoked to calculate the memory occupancy condition of the current charging module, so as to obtain a specific value of the memory occupancy should be less than 250M.
In some embodiments of the invention, the steps of the method further comprise: and calling an initialization interface of the charging module (when in initialization, the charging module inquires a charging unit combination according to the current portal code and loads corresponding rate parameters to complete self-checking, the self-checking normally returns to 0, otherwise, an error code is returned, the time consumption requirement 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 a time difference before and after the initialization interface is called to obtain interface calling time consumption which is less than 10ms.
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, calling the get billing module version interface function getLibVersion () obtains billing module version information and data version information.
As shown in fig. 3, another aspect of the present invention provides a testing device for an electronic charging module, the device comprising:
the standard charging file acquisition module 100 is configured to acquire a charging module to be tested, and acquire a corresponding standard charging file based on a region of the charging module to be tested;
the ETC portal charging test module 200 is configured to obtain, based on an ETC portal charging table stored in a standard charging file, a standard fee to be charged by each ETC portal, obtain an actual fee charged by the charging module for each ETC portal, and test the charging module by comparing the standard fee and the actual fee 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 portals based on the ETC portal communication attribute table stored in the standard charging file;
the staggered portal test module 320 is configured to input two ETC portals as a start portal and an end portal into the charging module to obtain a test path, obtain a first ETC portal group through which the test path passes, construct the start portal and the end portal as a first path based on a relative position key value pair, obtain a second ETC portal group of the first path, and test the charging module by comparing the first ETC portal group with the second ETC portal group;
the path cost test module 400 is configured to obtain an actual total cost charged by the charging module for the first path, obtain a standard total cost to be charged for the first path based on the standard cost to be charged for each ETC portal and the second ETC portal group, and test the charging module by comparing the standard total cost with the actual total cost.
The embodiment of the invention also provides a test system of the electronic charging and billing module, which comprises a computer device, wherein the computer device comprises a processor and a memory, the memory stores computer instructions, the processor is used for executing the computer instructions stored in the memory, and the system realizes the steps of the method when the computer instructions are executed by the processor.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, realizes 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 disk, hard disk, a removable disk, a CD-ROM, 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 can be implemented as hardware, software, or a combination of both. The particular implementation is hardware or software dependent on the specific application of the solution and the design constraints. 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), an appropriate solid state device, a card, 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 over transmission media or communication links by a data signal carried in a carrier wave.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. 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 shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present invention.
In this disclosure, 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.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations can be made to the embodiments of the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for testing an electronic toll collection 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 each ETC portal should charge based on an ETC portal fee table stored in a standard charging file, acquiring actual fees which each ETC portal should charge by a charging module, and comparing the standard fees and the actual fees of the same ETC portal to test the charging module;
constructing relative position key value pairs based on different ETC portals based on an ETC portal communication attribute table stored in a standard charging file;
inputting the two ETC (electronic toll collection) portals as a starting portal and an ending portal into a charging module respectively to obtain a test path, obtaining a first ETC portal group through which the test path passes, constructing the starting portal and the ending portal as a first path based on a relative position key value pair, obtaining a second ETC portal group of the first path, and comparing the first ETC portal group and the second ETC portal group to test the charging module;
the method comprises the steps of obtaining actual total cost charged by a charging module for a first path, obtaining standard total cost which is charged for the first path based on standard cost which is charged 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.
2. The method of claim 1, wherein the step of constructing a relative position key value pair based on different ETC portals based on the ETC portal communication attribute table stored in the standard billing file comprises:
acquiring each ETC portal and the ETC portal before the ETC portal based on the relative position relation of the ETC portal stored in the ETC portal communication attribute table;
and taking the ETC portal as a key and the ETC portal before the ETC portal as a value, and constructing a relative position key value pair based on each ETC portal.
3. The method of claim 2, wherein the pair of relative position key values includes an ETC portal as a key and a preceding ETC portal of the ETC portal, and wherein the pair of relative position key values is constructed as a plurality if the preceding ETC portal of the ETC portal includes a plurality.
4. A method according to any one of claims 1-3, characterized in that the step of constructing the start portal and the end portal as a first path based on the relative position key value pairs is:
if the starting portal and the end portal are adjacent ETC portals, the first path is a determined path between the two ETC portals;
and if the starting portal and the end portal are not adjacent, using the end portal in the two ETC portals as a key, matching the relative position key value pair corresponding to the end portal in a plurality of relative position key value pairs, and continuously matching the relative position key value pair by using the value of the relative position key value as a key until the value of the relative position key value pair is matched as the starting portal, so as to construct a first path between the starting portal and the end portal.
5. The method of claim 1, wherein the communication attribute table is further preset with a distance between every two adjacent ETC portals, and wherein constructing the start portal and the end portal as the first path based on the pair of relative position key values further comprises:
if multiple routes comprising different ETC (electronic toll collection) portals exist between the starting portal and the ending portal, calculating the total distance according to the ETC portals passed by the multiple routes, and taking the route with the shortest total distance as a first path.
6. The method of claim 1, wherein the step of testing the billing module against standard and actual fees of the same ETC portal includes, in the ETC portal tariff table, the same ETC portal charging different standard fees for different vehicle types:
obtaining standard fees which should be charged for different vehicle types of the same ETC portal, obtaining actual fees charged by a charging module for different vehicle types of the same ETC portal,
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 method comprises the steps of:
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 threshold, 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 the 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 test device for an electronic toll collection module, the device comprising:
the standard charging file acquisition module is used for acquiring the charging module to be tested and acquiring the corresponding standard charging file based on the region of the charging module to be tested;
the ETC portal charging test module is used for acquiring standard fees which each ETC portal should charge based on an ETC portal fee table stored in the standard charging file, acquiring actual fees which each ETC portal should charge by the charging module, and comparing the standard fees and the actual fees of the same ETC portal to test the charging module;
the relative position key value pair construction module is used for constructing relative position key value pairs based on different ETC (electronic toll collection) portals based on the ETC portal communication attribute tables stored in the standard charging file;
the error leakage portal test module is used for inputting the two ETC portals as a starting portal and an end portal into the charging module respectively to obtain a test path, obtaining a first ETC portal group through which the test path passes, constructing the starting portal and the end portal into a first path based on a relative position key value pair, obtaining a second ETC portal group of the first path, and comparing the first ETC portal group with the second ETC portal group to test the charging module;
the path cost testing module is used for acquiring the actual total cost charged by the charging module for the first path, acquiring the standard total cost which is charged for the first path based on the standard cost which is charged by each ETC portal frame and the second ETC portal frame group, and testing the charging module by comparing the standard total cost with the actual total cost.
9. A test system for an electronic toll collection module, the system comprising a computer device comprising a processor and a memory, the memory having stored therein computer instructions for executing the computer instructions stored in the memory, the system implementing the steps of the method according to any of claims 1 to 7 when the computer instructions are executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-7.
CN202210023713.4A 2022-01-10 2022-01-10 Method, device and system for testing electronic charging and billing module and storage medium Active CN114582034B (en)

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 CN114582034A (en) 2022-06-03
CN114582034B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
沈志祥.安徽省电子不停车收费系统的应用测试与分析.交通工程.2012,(第9期),328-330. *

Also Published As

Publication number Publication date
CN114582034A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN101785034B (en) An apparatus and method for use in location determination
CN108898879A (en) parking data detection system and method
CN112802215B (en) Method, device, equipment and storage medium for auditing expressway traffic fees
CN104798121B (en) Traffic information processing system, server unit and information processing method
CN107767669A (en) Public bus network passenger flow OD methods of estimation based on WiFi and bluetooth recognition
RU2006136787A (en) ELECTRONIC SYSTEM OF COLLECTION OF ROAD DUTY FOR WAYS OF MESSAGE AND METHOD OF ITS FUNCTIONING
CN108877285A (en) The parking data detection system and method for multipoint positioning
CN105953805A (en) Method and device for verifying map
CN108646261B (en) Data processing method and device for vehicle GPS data set
CN110599612B (en) Method, equipment and storage medium for highway non-stop automatic charging
CN105424051A (en) Method and equipment for determining traveling path of vehicle
CN104021593A (en) Vehicle ETC (electronic toll collection) method, system and device based on satellite positioning system
CN114582034B (en) Method, device and system for testing electronic charging and billing module and storage medium
CN113192217B (en) Fee evasion detection method, fee evasion detection device, computer equipment and medium
CN109711743A (en) A kind of wire examination method that construction tunnel vehicle is turned out for work, computer installation and computer readable storage medium
CN113903090A (en) Block chain-based highway cost determination method and system
JP5156040B2 (en) Communication device, DSRC unit, roadside device, and in-vehicle device
CN110119856B (en) Charging station site selection system and method based on sensor network
JP3009593B2 (en) Road billing system
Rieser-Schüssler Capitalising modern data sources for observing and modelling transport behaviour
CN106886040A (en) A kind of taxi timing based on big-dipper satellite positioning, log arrangement and method
JP6110632B2 (en) Billing processing system, billing processing method, billing processing apparatus, program, and recording medium
KR100989387B1 (en) Traffic congestion information providing system and method thereof
CN109416858A (en) One kind stopping pick-up management method and device
CN115238024B (en) Highway facility positioning method and device, electronic equipment and storage medium

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