CN102789654A - Method and system for protocol conformance testing of electronic toll collection core equipment - Google Patents

Method and system for protocol conformance testing of electronic toll collection core equipment Download PDF

Info

Publication number
CN102789654A
CN102789654A CN201210276280XA CN201210276280A CN102789654A CN 102789654 A CN102789654 A CN 102789654A CN 201210276280X A CN201210276280X A CN 201210276280XA CN 201210276280 A CN201210276280 A CN 201210276280A CN 102789654 A CN102789654 A CN 102789654A
Authority
CN
China
Prior art keywords
test
equipment
testing apparatus
protocol
equipment under
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.)
Pending
Application number
CN201210276280XA
Other languages
Chinese (zh)
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
Original Assignee
BEIJING SUTONG 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 filed Critical BEIJING SUTONG TECHNOLOGY Co Ltd
Priority to CN201210276280XA priority Critical patent/CN102789654A/en
Publication of CN102789654A publication Critical patent/CN102789654A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The embodiment of the invention provides a method and a system for the protocol conformance testing of electronic toll collection core equipment, wherein a test system of the method consists of a test computer and test equipment, the method for the protocol conformance testing of the electronic toll collection core equipment is applied in the test equipment, and comprises the steps of: selecting the test content according to the tested equipment type and support function; generating a test case suite according to the selected test content; sending the test data to the test equipment according to the test case suite, and using the test equipment to test tested equipment; recording the response condition of the tested equipment through the test equipment, providing the test data of both the test equipment and the tested equipment to the test computer; and judging whether the tested equipment meets the protocol requirement through the test computer according to the test data of both the test equipment and the tested equipment. The method is used for detecting whether the protocol data of electronic toll collection (ETC) core equipment of different manufacturers meets the standard specification, and ensures the compatibility of equipment communication.

Description

Electric non-stop toll nucleus equipment protocol conformance test method and system
Technical field
The present invention relates to electric non-stop toll (Electronic Toll Collection is called for short ETC) systems technology field, relate in particular to a kind of ETC nucleus equipment protocol conformance test method and system.
Background technology
Along with the highway mileage open to traffic constantly increases, the continuous progress of toll collection technique, a lot of provinces and cities of China have all built highway electric non-stop toll (Electronic Toll Collection is called for short ETC) system.The ETC system realizes the transaction of chargeing by ETC antenna and the vehicle electronics label mode through radio communication, and communication protocol adopts DSRC (Dedicated Short Range Communication is called for short DSRC) agreement.
DSRC is one of important basic communication protocol in the intelligent transportation system field, is widely used in road electric non-stop toll, Vehicular traffic information service, traffic information collection, and field such as vehicle public safety service.In May, 2007, China issuing and implementation GB/T 20851 Series Special junction service national standards, the electronic toll system and the product that meet this standard have afterwards obtained using widely.
The nucleus equipment of ETC system comprises: vehicle electronics label (On Board Unit is called for short OBU), ETC roadside device (Road Side Unit is called for short RSU), ETC distribution equipment etc.At present these ETC system core equipment, are not inconsistent like fruit part protocol data and standard criterion in real system is used by a plurality of manufacturer production, can't carry out the problem of normal communication between may generation equipment.
What the normal operation of DSRC communication system and ETC were professional carries out smoothly, and the most important condition is the requirement that nucleus equipment satisfies protocol specification.The purpose of protocol test technology guarantees exactly that communication protocol correctly realizes and guarantees can be correctly interconnected between the different communication device.Uniformity test is the basis of protocol test, and it is embodied in the reaction under different environment and the condition through observation, verifies whether tested realization is consistent with the corresponding protocol standard.
Summary of the invention
The embodiment of the invention provides a kind of ETC nucleus equipment protocol conformance test method and system, thereby guarantees that the communication protocol data of ETC nucleus equipment meets the requirement of relevant criterion standard, realizes reliably intercommunication mutually.
On the one hand, the embodiment of the invention provides a kind of electric non-stop toll ETC nucleus equipment protocol conformance test method, and the test macro of said method is made up of test computer and testing apparatus, and said ETC nucleus equipment protocol conformance test method comprises:
According to the function of equipment under test type and support, select content measurement;
Test computer generates test use cases according to content measurement;
According to test use cases, test computer is issued testing apparatus with test data, and testing apparatus is tested equipment under test;
Testing apparatus writes down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
Test computer is according to testing apparatus and equipment under test both sides' test data, judges the whether protocol compliant requirement of response data of equipment under test.
Optional, in an embodiment of the present invention, equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment.
Optional, in an embodiment of the present invention, test use cases is kept in the testing software of test computer.
Optional, in an embodiment of the present invention, test use cases is divided into: MAC layer, application layer and equipment are used three parts.
Optional, in an embodiment of the present invention, test use cases comprises proper testing use-case and abnormality test use-case two sub-set, and test use cases can expand and upgrades with software version.
Optional, in an embodiment of the present invention, adopt the wired connection mode between test computer and the testing apparatus.
Optional, in an embodiment of the present invention, adopt DSRC DSRC mode to connect between testing apparatus and the equipment under test.
Optional, in an embodiment of the present invention, said testing apparatus is tested equipment under test, comprising: testing apparatus simulation roadside device RSU or distribution equipment, carry out testing protocol consistency to mobile unit OBU; Perhaps, testing apparatus simulation mobile unit OBU carries out testing protocol consistency to roadside device RSU or distribution equipment.
Optional; In an embodiment of the present invention; Said test computer is according to testing apparatus and equipment under test both sides' test data, judges whether protocol compliant requirement of equipment under test, and comprising: test computer is according to testing apparatus and equipment under test both sides' test data; And equipment under test response that test case is concentrated different test cases, judge whether protocol compliant requirement of equipment under test.
On the other hand, the embodiment of the invention provides a kind of electric non-stop toll ETC nucleus equipment Protocol Conformance Test System, and said ETC nucleus equipment Protocol Conformance Test System comprises: test computer, testing apparatus and equipment under test, wherein:
Test computer according to the function of equipment under test type and support, is selected content measurement; According to content measurement, generate test use cases and issue testing apparatus;
Testing apparatus is used to obtain the test use cases of transmission, according to test use cases, equipment under test is tested;
Equipment under test is used for after testing apparatus or test computer send test data to equipment under test the feedback test response data;
Testing apparatus also is used to write down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
Test computer also is used for the test data according to testing apparatus and equipment under test both sides, judges the whether protocol compliant requirement of response data of equipment under test.
Optional, in an embodiment of the present invention, equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment.
Optional, in an embodiment of the present invention, test use cases is kept in the testing software of test computer.
Optional, in an embodiment of the present invention, test use cases is divided into: MAC layer, application layer and equipment are used three parts.
Optional, in an embodiment of the present invention, test use cases comprises proper testing use-case and abnormality test use-case two sub-set, and test use cases can expand and upgrades with software version.
Optional, in an embodiment of the present invention, adopt the wired connection mode between test computer and the testing apparatus.
Optional, in an embodiment of the present invention, adopt DSRC DSRC mode to connect between testing apparatus and the equipment under test.
Optional, in an embodiment of the present invention, said testing apparatus comprises: testing apparatus simulation roadside device RSU or distribution equipment, carry out testing protocol consistency to mobile unit OBU; Perhaps, testing apparatus simulation mobile unit OBU carries out testing protocol consistency to roadside device RSU or distribution equipment.
Optional; In an embodiment of the present invention, said test computer is further used for the test data according to testing apparatus and equipment under test both sides; And equipment under test response that test case is concentrated different test cases, judge whether protocol compliant requirement of equipment under test.
The technological means of foregoing invention is: said ETC nucleus equipment Protocol Conformance Test System is made up of test computer and testing apparatus; Said ETC nucleus equipment protocol conformance test method is applied to said test macro; Comprise:, select content measurement according to the function of equipment under test type and support; According to the content measurement of selecting, generate test use cases; According to test use cases, testing apparatus is tested equipment under test; The test data of testing apparatus record equipment under test response; And testing apparatus and equipment under test both sides' test data offered test computer; Test computer is according to testing apparatus and equipment under test both sides' test data, judges whether protocol compliant requirement of equipment under test.This technological means has following technique effect: the protocol data of the ETC nucleus equipment of inspection different manufacturers meets the requirement of relevant ETC standard criterion, guarantees the compatibility of devices communicating, realizes reliable communication.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
With reference to following explanation and accompanying drawing, of the present invention these will become clearer with further aspect and characteristic.In described explanation and accompanying drawing, specific implementations of the present invention is disclosed in detail, having indicated principle of the present invention can adopted mode.Should be appreciated that, the present invention on scope not thereby be restricted.In the scope of the spirit of accompanying claims and clause, the present invention includes many changes, revise and be equal to.
Characteristic to a kind of embodiment is described and/or illustrated can be used in one or more other embodiment with identical or similar mode, and is combined with the characteristic in other embodiment, or substitutes the characteristic in other embodiment.
Should stress that term " comprises/comprise " existence that when this paper uses, refers to characteristic, whole, step or assembly, but not get rid of the existence of one or more further feature, whole, step or assembly or additional.
Fig. 1 is an embodiment of the invention ETC nucleus equipment protocol conformance test method process flow diagram;
Fig. 2 (a) is that the functional module of embodiment of the invention ETC nucleus equipment Protocol Conformance Test System constitutes synoptic diagram;
Fig. 2 (b) forms structural representation for the Protocol Conformance Test System that the embodiment of the invention is used for the OBU test;
Fig. 2 (c) is used for RSU for the embodiment of the invention or issues the Protocol Conformance Test System composition structural representation of testing of equipment;
Fig. 3 is used for the execution schematic flow sheet of ETC nucleus equipment testing protocol consistency for the embodiment of the invention;
Fig. 4 carries out the content and execution schematic flow sheet of testing protocol consistency to OBU for application example of the present invention;
Fig. 5 carries out the content and execution schematic flow sheet of testing protocol consistency to RSU for application example of the present invention;
Fig. 6 carries out the content and execution schematic flow sheet of testing protocol consistency to distribution equipment for application example of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
A kind of basic means as protocol test; The purpose of testing protocol consistency mainly is the tested entity of inspection (Implementation Under Test; Be called for short IUT) whether consistent with consensus standard, be the important foundation that guarantees devices interconnect intercommunication and system's reliability service.Generally speaking; Testing protocol consistency is in the particular network environment, to utilize one group of cycle tests that tested entity is carried out Black-box Testing; Through actual output of comparing IUT and the matching degree that expected results is judged IUT and protocol description, provide test report at last.
The embodiment of the invention provides a kind of ETC nucleus equipment protocol conformance test method and system, to solve ETC nucleus equipment protocol data conformance with standard code requirement, guarantees that devices communicating is compatible.
As shown in Figure 1, be a kind of ETC nucleus equipment of embodiment of the invention protocol conformance test method process flow diagram, the test macro of said method is made up of test computer and testing apparatus, and said ETC nucleus equipment protocol conformance test method comprises:
100, according to the function of equipment under test type and support, select content measurement;
101, test computer generates test use cases according to content measurement;
102, according to test use cases, test computer is issued testing apparatus with test data, and testing apparatus is tested equipment under test;
103, testing apparatus writes down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
104, test computer is according to testing apparatus and equipment under test both sides' test data, judges the whether protocol compliant requirement of response data of equipment under test.
Optional, equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment.
Optional, test use cases is kept in the testing software of test computer.
Optional, test use cases is divided into: MAC layer, application layer and equipment are used.
Optional, test use cases comprises proper testing use-case and abnormality test use-case two sub-set, and test use cases can expand and upgrades with software version.
Optional, adopt the wired connection mode to connect between test computer and the testing apparatus, like Ethernet interface, USB mouth etc.
Optional, adopt DSRC (DSRC) mode to connect between testing apparatus and the equipment under test.
Optional, if test computer connects equipment under test, adopt the wired connection mode.
Optional, said according to test use cases, testing apparatus is tested equipment under test, comprising: testing apparatus simulation roadside device RSU or distribution equipment, carry out testing protocol consistency to mobile unit OBU; Perhaps, testing apparatus simulation mobile unit OBU carries out testing protocol consistency to roadside device RSU or distribution equipment.
Optional; Said test computer is according to testing apparatus and equipment under test both sides' test data; Judge whether protocol compliant requirement of equipment under test; Comprise: test computer is according to testing apparatus and equipment under test both sides' test data, and equipment under test response that test case is concentrated different test cases, judges whether protocol compliant requirement of equipment under test.
Corresponding to said method embodiment, the embodiment of the invention provides electronic charging system without parking nucleus equipment Protocol Conformance Test System, and said ETC nucleus equipment Protocol Conformance Test System comprises: test computer, testing apparatus and equipment under test, wherein:
Test computer comprises special test software, and man-machine interface, configuration information, application interface etc. are provided, and corresponding different equipment under tests can be selected different content measurements, generates test use cases and issues testing apparatus;
Testing apparatus is used to obtain the test use cases that test computer generates; According to test use cases, testing apparatus is tested equipment under test;
Equipment under test, after being used to receive the test data of testing apparatus or test computer transmission, the feedback test response data;
Testing apparatus also is used to write down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
Testing apparatus has the data converting function of different-format simultaneously, and soon the data of the network interface of computing machine and the wireless data of DSRC mode are changed each other;
Testing apparatus also has the time statistical function, supports that minimum interval is to add up 1 delicate response time, and the time response that the record testing apparatus is communicated by letter with equipment under test comprises the response moment, Frame time span etc.;
Test computer also is used for the test data according to testing apparatus and equipment under test both sides, judges the whether protocol compliant requirement of response data of equipment under test.
Optional, equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment.
Optional, test use cases is kept in the testing software of test computer.
Optional, test use cases is divided into: MAC layer, application layer and equipment are used.
Optional, test use cases comprises proper testing use-case and abnormality test use-case two sub-set, and test use cases can expand and upgrades with software version.
Optional, adopt wired mode to connect between test computer and the testing apparatus, like network interface, USB mouth etc.
Optional, connect through DSRC (DSRC) mode between testing apparatus and the equipment under test.
Optional, if test computer connects equipment under test, adopt the wired connection mode.
Optional, embodiment of the invention test computer can connect a plurality of testing apparatuss, and said a plurality of testing apparatuss can be simulated a plurality of roadside device RSU, and mobile unit OBU is carried out testing protocol consistency; Perhaps simulate a plurality of mobile unit OBU, roadside device RSU is carried out testing protocol consistency.
Optional, said test computer is further used for the test data according to testing apparatus and equipment under test both sides, and equipment under test concentrates the response condition of different test cases to test case, judges whether protocol compliant requirement of equipment under test.
Embodiment of the invention said method or systems technology scheme have following effect: whether the inspection equipment under test is consistent with the DSRC consensus standard; Guarantee devices interconnect intercommunication and system's reliability service; Guaranteed that the communication protocol data of ETC system core equipment meets the requirement of relevant criterion standard, realized reliably intercommunication mutually.
Below in conjunction with application example such scheme of the present invention is described:
Protocol Conformance Test System mainly comprises test computer and testing apparatus.Fig. 2 (a) is that the functional module of embodiment of the invention ETC nucleus equipment Protocol Conformance Test System constitutes synoptic diagram.Wherein the testing protocol consistency software platform is in test computer, and the man-machine interface of testing software shows test mode, analyzing test data correctness, behind EOT, can generate the test record report automatically.Test process is controlled by test computer.Among Fig. 2 (a), when equipment under test is OBU, there is not wired connection between test computer and the equipment under test; When equipment under test is RSU or when issuing equipment, there is wired connection between test computer and the equipment under test.
Fig. 2 (b) shows the Protocol Conformance Test System composition structural representation that the embodiment of the invention is used for the OBU test.Connect through netting twine between test computer and the testing apparatus, testing apparatus and test vehicle electronic tag OBU communicate through the DSRC mode.Testing apparatus has the function of distribution equipment and roadside device RSU concurrently; Instruction according to test computer; Send test data to tested OBU, gather all DSRC Frames and be the time of base unit record DSRC Frame, offer testing software and handle with the microsecond.
Fig. 2 (c) shows the Protocol Conformance Test System composition structural representation that the embodiment of the invention is used for the RSU test.Wherein test computer is connected through network interface with tested RSU, and test computer also is connected through network interface with testing apparatus, and the DSRC mode is adopted in communicating by letter of testing apparatus and tested RSU.In the actual ETC system, the interfacing equipment of RSU correspondence with foreign country has OBU and track computing machine, test computer simulated roadway computing machine in this test macro, and testing apparatus simulation OBU, measurand (IUT) is roadside device RSU.The DSRC Frame that the testing apparatus collection is all and be the time of base unit record DSRC Frame with the microsecond offers testing software and handles.
When measurand (IUT) was issued equipment for OBU, the composition structural representation of Fig. 2 (c) also was applicable to the testing protocol consistency of distribution equipment.Test computer is connected through network interface with equipment under test, and test computer also is connected through network interface with testing apparatus, and the DSRC mode is adopted in communicating by letter of testing apparatus and equipment under test.In the actual ETC system; The interfacing equipment of distribution equipment correspondence with foreign country has OBU and host computer, and test computer simulation host computer sends the initialization dependent instruction to tested distribution equipment in this test macro; Testing apparatus simulation OBU, measurand (IUT) is a distribution equipment.The DSRC Frame that the testing apparatus collection is all and be the time of base unit record DSRC Frame with the microsecond offers testing software and handles.
Fig. 3 is used for the execution schematic flow sheet of ETC nucleus equipment testing protocol consistency for the embodiment of the invention.At first according to ETC relevant criterion and standard design agreement uniformity test standard, test specification comprises three parts: test Declaration of Consistency, test intention and test suite.The test Declaration of Consistency is measurable function tabulation (comprising indispensability and option) to equipment supplier's representative to be shown, and the situation of requirement, ability and the option realization implemented is described; The test intention is test purpose and the content that the content of every test statement is converted into this statement correspondence; Test suite is with the concrete realization of test intention, stipulates concrete content measurement and testing procedure, and promptly test set comprises proper testing subclass and abnormality test subclass.
Test suite is one of core content of the present invention, is the cover ETC nucleus equipment testing protocol consistency set of uses case according to relevant criterion and standard design.Test use cases comprises that data link (MAC) layer, application layer and equipment uses three parts, and every part includes proper testing and abnormality test subclass.For different device types and version, test case is all different.
After the test case design was accomplished, the execution in step of ETC nucleus equipment testing protocol consistency was following:
Before step 1, the test, according to testing the function that statement of requirement and equipment under test have, test application is submitted in the testing protocol consistency statement of signature equipment under test to.
Step 2, tester select test case according to test statement content.
Step 3, tester carry out test, and testing software generates test result and test report.
Step 4, test result generate test report, EOT through after confirming.
Further specifying and specifically being exemplified below above-mentioned testing procedure:
Explanation to step 1:
Assess the protocol conformance of a measurand, a statement must be arranged in advance, realized with which indispensable function items and optional of describing in the communication protocol standard.Such statement embodiment of the invention is referred to as to realize Declaration of Consistency (ICS).
Be exemplified below: for OBU, tabulating as follows according to data link (MAC) the layer protocol uniformity test statement that dedicated short-range communication carries out, at first is the summary table explanation of table 1; Clauses and subclauses are classified the catalogue of agreement regulation as, realize classifying concrete protocol function as, quote and classify standard criterion clauses and subclauses source as; State is classified the support requirement as; Wherein " m " expression is indispensable, and " o " is option, and support list shows whether this equipment supports this function.
Table 1 is totally stated
Clauses and subclauses Function Quote State Support
1 Data frame format 6.1 m
2 Flag of frame 6.2 m
3 Special-purpose LID link address territory 6.2.5 m
4 Broadcasting LID link address territory 6.2.5 m
5 Broadcast LID link address territory 6.2.5 o
6 The MAC control domain receives 6.3 m
7 The MAC control domain sends 6.3 m
8 16 bit FCS 6.5 m
9 Bit-order 6.6 m
Figure BDA00001974290000091
Under the MAC layer general function of OBU, divide detail list again, for example, for first: data frame format has been provided the particular content of testing protocol consistency by table 2.
Table 2MAC data frame format
The general function of other equipment under tests and concrete detailed assertion format and last two tables are similar.
Explanation to step 2:
Test case is that the content of supporting in the uniformity test statement according to equipment under test is tested.
Fig. 4 carries out the content and execution flow process of testing protocol consistency to OBU for application example of the present invention: the test use cases in its above-mentioned testing procedure 2 consists of:
1. basic test: be mainly the protocol contents that MAC layer, application layer and equipment based on the defined of GB/T 20851 serial national standards are used, testing apparatus simulation this moment RSU;
A typical proper testing use-case of at first listing in the MAC layer basic test use-case of OBU is as shown in table 3 below:
A typical proper testing use-case in the table 3MAC layer basic test use-case
Figure BDA00001974290000101
In the last table 3, identifier is the sequence number sign of test case, and this test case is: the 2nd test case in the proper testing use-case subclass of the MAC layer basic test example collection of OBU; Title is the content measurement explanation; Original state is the original state of test; Testing procedure is the concrete step of carrying out.The concrete DSRC data of this test case are exemplified below:
In the testing procedure 2, the BST downlink frame data is exemplified as:
FF?FF?FF?FF?50?03?91?C0?00?01?40?02?39?9C?09?00?00?03?DC?00?01?40?03?00
In the testing procedure 3, the VST data instance that tested OBU correctly returns is:
02?00?E4?BE?C0?03?91?D0?80?27?B1?B1?BE?A9?00?01?00?01?00?11?11?01?08?08?00?10?00?0620?10?09?26?20?18?09?26?1D?B0?B3?8A?16?00?00?00?00?02?00?E4?BE?10?82?00
If the requirement of the VST data fit standards and norms that OBU returns is then through this test case.
A typical abnormality test use-case in the MAC layer basic test use-case of OBU is as shown in table 4 below:
A typical abnormality test use-case in the table 4MAC layer basic test use-case
The identifier list of test case is represented in the last table 4: the 7th test case in the abnormality test use-case subclass of the MAC layer basic test example collection of OBU, its format description is identical with above-mentioned test case.The concrete DSRC data of this test case are exemplified below:
In the testing procedure 2, the BST downlink frame data is exemplified as:
FF?FF?FF?FF?50?03?91?C0?00?01?40?02?39?9C?09?00?00?03?DC?00?01?40?03?00
In the testing procedure 3, the VST data instance that tested OBU correctly returns is:
02?00?E4?BE?C0?03?91?D0?80?27?B1?B1?BE?A9?00?01?00?01?00?11?11?01?08?08?00?10?00?0620?10?09?26?20?18?09?26?1D?B0?B3?8A?16?00?00?00?00?02?00?E4?BE?10?82?00
In the testing procedure 4, the downlink data frame (TransferChannel.request) that testing apparatus is sent is:
02?00?E4?02?40?77?91?05?00?03?18?02?01?05?00?B0?81?00?1A
Because the dedicated link address (LID) of the downlink data frame in the testing procedure 4 be " 02 00 E4 02 ", different with LID " 02 00 E4 BE " in the testing procedure 3, so after tested OBU received, correct reaction was not reply up response data.The time (as 1 second) that the testing apparatus wait is set can not receive the response of tested OBU afterwards, and then OBU's is correct anyway, and tested OBU is through this test case.If OBU returns upstream data, then be judged to be not through this test case.
The DSRC data frame format of other test cases is similar with above two examples, but concrete data content can be according to test item and difference.
2.OBU the distribution test: whether the distribution flow process of mainly testing OBU meets the requirement of relevant criterion standard, at this moment testing apparatus analog distribution equipment;
A typical proper testing use-case of OBU distribution test is as shown in table 5 below:
A typical proper testing use-case of table 5OBU distribution test
Figure BDA00001974290000111
A typical abnormality test use-case of OBU distribution test is as shown in table 6 below:
A typical abnormality test use-case of table 6OBU distribution test
3.ETC transaction test: whether the ETC track transaction flow of mainly testing tested OBU meets the requirement of relevant criterion standard, testing apparatus simulation this moment RSU; During the ETC transaction test, tested OBU should insert test I C card, and needs remaining sum and the accordance of the ETC transaction test charging amount of money in the checkout IC-card.
The typical proper testing use-case of OBU transaction test is as shown in table 7 below:
The typical proper testing use-case of table 7OBU transaction test
Figure BDA00001974290000122
The typical abnormality test use-case of OBU transaction test is as shown in table 8 below:
The typical abnormality test use-case of table 8OBU transaction test
Figure BDA00001974290000123
4. other tests: mainly test OBU and whether meet the requirement of relevant criterion standard in the flow process of carrying out other transaction as ETC parking lot transaction, the transaction of multilane free flow, this moment, testing apparatus was simulated RSU; During the ETC transaction test, tested OBU should insert test I C card, and needs remaining sum and the accordance of the ETC transaction test charging amount of money in the checkout IC-card.
Fig. 5 carries out the content and execution flow process of testing protocol consistency to RSU for application example of the present invention, testing apparatus simulation this moment OBU, test computer simulated roadway computing machine.It consists of according to the test use cases in the above-mentioned steps 2:
1. basic test: be mainly the protocol contents that MAC layer, application layer and equipment based on the defined of GB/T 20851 serial national standards are used;
2.ETC transaction test: whether the ETC track transaction flow of mainly testing RSU meets the requirement of relevant criterion standard;
3. other tests: mainly test RSU and carry out whether other transaction meet the relevant criterion standard like the flow process of multilane free flow transaction requirement.
Fig. 6 carries out the content and execution flow process of testing protocol consistency to distribution equipment for application example of the present invention, testing apparatus simulation this moment OBU, test computer simulation host computer.It consists of according to the test use cases in the above-mentioned steps 2:
1. basic test: be mainly the protocol contents that MAC layer, application layer and equipment based on the defined of GB/T 20851 serial national standards are used;
2. distribution test: test tested distribution equipment to the distribution flow process of OBU conformance with standard code requirement whether;
3. other tests: other fc-specific test FC items.
Above-mentioned each test set includes a plurality of test items, one or multinomial function of each test item test equipment under test, and for example whether the correctness of data response, response time whether to meet the requirements, occur processing when unusual suitable etc.
Explanation to step 3:
The testing protocol consistency process is controlled by test computer, from initiating data communication to end; The test data that the testing apparatus record is all, and the time of record DSRC Frame; Test computer judges according to preset program checkout data whether the communication data of OBU meets the requirements.
Test result is judged explanation:
Test result is compared with expected results, carries out test result and judges that 3 kinds of results are arranged.
(1) passes through
The uniformity test that test case is corresponding requires purpose to reach, and shows as consistent with expected results in form.Test result all reaches the requirement of uniformity test standard.For example, when carrying out the OBU test, the response time of OBU is in the official hour scope; The OBU response data is correct through the test computer checking; For the abnormality test example, the reaction of OBU meets the requirements.
(2) failure
The coherence request that test case is corresponding has at least a quilt to violate, and shows as with expected results inconsistently in form, occurs illegal test event simultaneously, perhaps comprises at least one wrong test item according to relevant regulation.For example, when carrying out the OBU test, the response time of OBU surpasses the official hour scope; The OBU response data is through the test computer validation failure; OBU does not have response or responds mistake for normal test case; For the abnormality test example, the reaction of OBU is undesirable etc.
(3) uncertain
The coherence request that test case is corresponding has at least one not reach, and shows as with expected results inconsistently in form, but illegal test event do not occur.Such conclusion generally will find out because standard, operation or the reason of test procedure.For example, when carrying out the OBU test, for the abnormality test example, the reaction of OBU exceeds the scope that computing machine is judged automatically, can't judge automatically whether the reaction of OBU meets the requirements.
Behind the EOT, provide the test report document, mainly be testing protocol consistency report (Protocol Conformance Test Report, PCTR).For each testing protocol consistency, the test data of selected each test case of the equal detail record of test computer forms log file.
Application example technique scheme of the present invention has following beneficial effect: assurance devices communicating agreement correctly realizes and guarantees can be correctly interconnected between the different communication device.Application example of the present invention proposes a kind of protocol conformance test method and system of electronic charging system without parking nucleus equipment, and this system comprises test computer and testing apparatus, and equipment under test is vehicle electronics label, ETC roadside device and ETC distribution equipment etc.Special test software in the test computer is selected content measurement, control testing process; Test case data and equipment under test that testing apparatus acceptance test computing machine sends communicate, and testing apparatus is responsible for timing simultaneously; Test computer is judged whether protocol compliant requirement of equipment under test according to equipment under test to the response condition of different test cases.Testing protocol consistency is fully simulated DSRC data exchange process and the various normal and unusual communication process of ETC nucleus equipment when initialization distribution and ETC transaction, the consistance of the protocol data of assurance ETC nucleus equipment and the reliability of ETC system.
The method described in the embodiment of the invention or the step of algorithm can directly embed hardware, the software module of processor execution or the two combination.Software module can be stored in the storage medium of other arbitrary form in RAM storer, flash memory, ROM storer, eprom memory, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area.Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, and can deposit write information to storage medium.Alternatively, storage medium can also be integrated in the processor.Processor and storage medium can be arranged among the ASIC, and ASIC can be arranged in the user terminal.Alternatively, processor and storage medium also can be arranged in the various parts in the user terminal.
In one or more exemplary designs, the described above-mentioned functions of the embodiment of the invention can realize in hardware, software, firmware or this three's combination in any.If in software, realize, these functions can be stored on the media with computer-readable, or are transmitted on the media of computer-readable with one or more instructions or code form.The computer-readable media comprises that the computer storage medium lets computer program transfer to other local telecommunication media from a place with being convenient to make.Storage medium can be the useable medium that any general or special computer can access.For example; Such computer readable media can include but not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other any can be used to carry or store with instruction or data structure and other can be read the media of the program code of form by general or special computer or general or special processor.In addition; Any connection can suitably be defined as the computer-readable media; For example, if software is through a concentric cable, fiber optic cables, twisted-pair feeder, Digital Subscriber Line (DSL) or also being comprised in the defined computer-readable media with wireless mode transmission such as for example infrared, wireless and microwaves from a web-site, server or other remote resource.Described video disc (disk) and disk (disc) comprise Zip disk, radium-shine dish, CD, DVD, floppy disk and Blu-ray Disc, and disk is usually with the magnetic duplication data, and video disc carries out the optical reproduction data with laser usually.Above-mentioned combination also can be included in the computer-readable media.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. an electric non-stop toll ETC nucleus equipment protocol conformance test method is characterized in that the test macro of said method is made up of test computer and testing apparatus, and said ETC nucleus equipment protocol conformance test method comprises:
According to the function of equipment under test type and support, select content measurement;
Test computer generates test use cases according to content measurement;
According to test use cases, test computer is issued testing apparatus with test data, and testing apparatus is tested equipment under test;
Testing apparatus writes down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
Test computer is according to testing apparatus and equipment under test both sides' test data, judges the whether protocol compliant requirement of response data of equipment under test.
2. ETC nucleus equipment protocol conformance test method according to claim 1 is characterized in that equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment.
3. ETC nucleus equipment protocol conformance test method according to claim 1 is characterized in that test use cases is kept in the testing software of test computer.
4. ETC nucleus equipment protocol conformance test method according to claim 1, it is characterized in that test use cases is divided into: MAC layer, application layer and equipment are used three parts.
5. like the said ETC nucleus equipment of claim 4 protocol conformance test method, it is characterized in that test use cases comprises proper testing use-case and abnormality test use-case two sub-set, test use cases can expand and upgrades with software version.
6. ETC nucleus equipment protocol conformance test method according to claim 1 is characterized in that, adopts the wired connection mode between test computer and the testing apparatus.
7. ETC nucleus equipment protocol conformance test method according to claim 1 is characterized in that, adopts DSRC DSRC mode to connect between testing apparatus and the equipment under test.
8. ETC nucleus equipment protocol conformance test method according to claim 1 is characterized in that said testing apparatus is tested equipment under test, comprising:
Testing apparatus simulation roadside device RSU or distribution equipment carry out testing protocol consistency to mobile unit OBU; Perhaps,
Testing apparatus simulation mobile unit OBU carries out testing protocol consistency to roadside device RSU or distribution equipment.
9. the nucleus equipment protocol conformance test method of ETC according to claim 1 is characterized in that, said test computer is according to testing apparatus and equipment under test both sides' test data, judges whether protocol compliant requirement of equipment under test, comprising:
Test computer is according to testing apparatus and equipment under test both sides' test data, and equipment under test response that test case is concentrated different test cases, judges whether protocol compliant requirement of equipment under test.
10. an electric non-stop toll ETC nucleus equipment Protocol Conformance Test System is characterized in that, said ETC nucleus equipment Protocol Conformance Test System comprises: test computer, testing apparatus and equipment under test, wherein:
Test computer according to the function of equipment under test type and support, is selected content measurement; According to content measurement, generate test use cases and issue testing apparatus;
Testing apparatus is used to obtain the test use cases of transmission, according to test use cases, equipment under test is tested;
Equipment under test is used for after testing apparatus or test computer send test data to equipment under test the feedback test response data;
Testing apparatus also is used to write down the test response data of equipment under test, and testing apparatus and equipment under test both sides' test data is offered test computer;
Test computer also is used for the test data according to testing apparatus and equipment under test both sides, judges the whether protocol compliant requirement of response data of equipment under test.
11., it is characterized in that equipment under test comprises: vehicle electronics label, ETC roadside device and ETC distribution equipment like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System.
12., it is characterized in that test use cases is kept in the testing software of test computer like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System.
13. like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System, it is characterized in that test use cases is divided into: MAC layer, application layer and equipment are used three parts.
14., it is characterized in that test use cases comprises proper testing use-case and abnormality test use-case two sub-set like the said ETC nucleus equipment of claim 13 Protocol Conformance Test System, test use cases can expand and upgrades with software version.
15. like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System, it is characterized in that, adopt the wired connection mode between test computer and the testing apparatus.
16. like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System, it is characterized in that, adopt DSRC DSRC mode to connect between testing apparatus and the equipment under test.
17., it is characterized in that said testing apparatus comprises like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System:
Testing apparatus simulation roadside device RSU or distribution equipment carry out testing protocol consistency to mobile unit OBU; Perhaps,
Testing apparatus simulation mobile unit OBU carries out testing protocol consistency to roadside device RSU or distribution equipment.
18. like the said ETC nucleus equipment of claim 10 Protocol Conformance Test System; It is characterized in that; Said test computer; Be further used for test data, and equipment under test response that test case is concentrated different test cases, judge whether protocol compliant requirement of equipment under test according to testing apparatus and equipment under test both sides.
CN201210276280XA 2012-08-03 2012-08-03 Method and system for protocol conformance testing of electronic toll collection core equipment Pending CN102789654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210276280XA CN102789654A (en) 2012-08-03 2012-08-03 Method and system for protocol conformance testing of electronic toll collection core equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210276280XA CN102789654A (en) 2012-08-03 2012-08-03 Method and system for protocol conformance testing of electronic toll collection core equipment

Publications (1)

Publication Number Publication Date
CN102789654A true CN102789654A (en) 2012-11-21

Family

ID=47155051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210276280XA Pending CN102789654A (en) 2012-08-03 2012-08-03 Method and system for protocol conformance testing of electronic toll collection core equipment

Country Status (1)

Country Link
CN (1) CN102789654A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236891A (en) * 2013-04-17 2013-08-07 北京速通科技有限公司 System and method for testing dedicated short range communication (DSRC) equipment
CN103778672A (en) * 2013-04-15 2014-05-07 深圳市金溢科技有限公司 Communication performance test method and general-purpose tester
CN105551100A (en) * 2016-01-29 2016-05-04 北京速通科技有限公司 Device and method for time detection of ETC system special-purpose short-range communication device
CN106411425A (en) * 2016-05-30 2017-02-15 天津中兴智联科技有限公司 Microwave dedicated short range communication test system
CN108111265A (en) * 2016-11-25 2018-06-01 株洲中车时代电气股份有限公司 A kind of unification of communication protocol automated testing method
CN108230468A (en) * 2017-12-29 2018-06-29 北京易路行技术有限公司 A kind of electronic toll collection lane method for testing software and system
CN110456777A (en) * 2019-08-20 2019-11-15 广州小鹏汽车科技有限公司 The test method and system of vehicle control device
CN110503732A (en) * 2019-08-30 2019-11-26 深圳成谷科技有限公司 A kind of ETC vehicle method of commerce and device based on vehicle detection
CN111208798A (en) * 2019-12-26 2020-05-29 深圳市优必选科技股份有限公司 Robot testing method and device, electronic equipment and storage medium
CN113569586A (en) * 2021-07-19 2021-10-29 北京易路行技术有限公司 Vehicle-mounted unit testing system and method
CN114362843A (en) * 2021-12-27 2022-04-15 北京万集科技股份有限公司 Method and device for detecting vehicle-mounted unit and related product
CN114554537A (en) * 2022-02-25 2022-05-27 中国人民解放军国防科技大学 MAC assembly consistency test method based on software communication system structure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020039426A (en) * 2000-11-21 2002-05-27 오길록 Simulator for verifying Radio Protocol in a CDMA Mobile Communication System
CN1400751A (en) * 2001-08-08 2003-03-05 中国科学院计算技术研究所 Virtual testing system in communication protocal conformance test and its method
CN1411174A (en) * 2001-10-08 2003-04-16 中国科学院计算技术研究所 Testng method of communication protocol base convergence and system
JP2003209521A (en) * 2001-11-06 2003-07-25 Japan Radio Co Ltd Test station device for narrow band communication system
CN1564135A (en) * 2004-03-19 2005-01-12 中国科学院计算技术研究所 Consistency detection frame contg. complex computation procedue protocal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020039426A (en) * 2000-11-21 2002-05-27 오길록 Simulator for verifying Radio Protocol in a CDMA Mobile Communication System
CN1400751A (en) * 2001-08-08 2003-03-05 中国科学院计算技术研究所 Virtual testing system in communication protocal conformance test and its method
CN1411174A (en) * 2001-10-08 2003-04-16 中国科学院计算技术研究所 Testng method of communication protocol base convergence and system
JP2003209521A (en) * 2001-11-06 2003-07-25 Japan Radio Co Ltd Test station device for narrow band communication system
CN1564135A (en) * 2004-03-19 2005-01-12 中国科学院计算技术研究所 Consistency detection frame contg. complex computation procedue protocal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马哲: ""ETC专用短程通信标准的一致性测试工具的设计与实现", 《万方数据知识服务平台》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778672A (en) * 2013-04-15 2014-05-07 深圳市金溢科技有限公司 Communication performance test method and general-purpose tester
CN103236891B (en) * 2013-04-17 2015-04-01 北京速通科技有限公司 System and method for testing dedicated short range communication (DSRC) equipment
CN103236891A (en) * 2013-04-17 2013-08-07 北京速通科技有限公司 System and method for testing dedicated short range communication (DSRC) equipment
CN105551100A (en) * 2016-01-29 2016-05-04 北京速通科技有限公司 Device and method for time detection of ETC system special-purpose short-range communication device
CN106411425A (en) * 2016-05-30 2017-02-15 天津中兴智联科技有限公司 Microwave dedicated short range communication test system
CN106411425B (en) * 2016-05-30 2019-01-15 天津中兴智联科技有限公司 A kind of special-purpose microwave short-range communication test macro
CN108111265B (en) * 2016-11-25 2020-08-18 株洲中车时代电气股份有限公司 Automatic testing method for consistency of communication protocol
CN108111265A (en) * 2016-11-25 2018-06-01 株洲中车时代电气股份有限公司 A kind of unification of communication protocol automated testing method
CN108230468A (en) * 2017-12-29 2018-06-29 北京易路行技术有限公司 A kind of electronic toll collection lane method for testing software and system
CN110456777A (en) * 2019-08-20 2019-11-15 广州小鹏汽车科技有限公司 The test method and system of vehicle control device
CN110456777B (en) * 2019-08-20 2022-03-18 广州小鹏汽车科技有限公司 Test method and system of vehicle controller
CN110503732A (en) * 2019-08-30 2019-11-26 深圳成谷科技有限公司 A kind of ETC vehicle method of commerce and device based on vehicle detection
CN111208798A (en) * 2019-12-26 2020-05-29 深圳市优必选科技股份有限公司 Robot testing method and device, electronic equipment and storage medium
CN111208798B (en) * 2019-12-26 2021-07-27 深圳市优必选科技股份有限公司 Robot testing method and device, electronic equipment and storage medium
CN113569586A (en) * 2021-07-19 2021-10-29 北京易路行技术有限公司 Vehicle-mounted unit testing system and method
CN114362843A (en) * 2021-12-27 2022-04-15 北京万集科技股份有限公司 Method and device for detecting vehicle-mounted unit and related product
CN114554537A (en) * 2022-02-25 2022-05-27 中国人民解放军国防科技大学 MAC assembly consistency test method based on software communication system structure
CN114554537B (en) * 2022-02-25 2024-01-23 中国人民解放军国防科技大学 MAC component consistency test method based on software communication system structure

Similar Documents

Publication Publication Date Title
CN102789654A (en) Method and system for protocol conformance testing of electronic toll collection core equipment
CN101515301B (en) Method and device for verifying SoC (system on a chip) chips
CN104516798B (en) Wireless one-to-many test system
CN110020381A (en) Method of calibration, device, equipment and computer storage medium based on configuration file
CN102355062B (en) IEC (International Electrotechnical Commission) 61850 relay protection model checking method
CN110213143A (en) A kind of 1553B bus IP Core and monitoring system
CN103838653A (en) Register automatic authentication method based on VMM RAL
CN103530223A (en) Method and device for automatically generating unit test cases
WO2023024251A1 (en) Device verification method, uvm verification platform, electronic apparatus and storage medium
CN105809854A (en) Automatic invoicing system and automatic invoicing method
CN109379326A (en) XML message rule method of calibration, equipment and storage medium
CN110727580A (en) Response data generation method, full-flow interface data processing method and related equipment
CN106528823B (en) A kind of configuration of message and output method and device
CN101677277B (en) MODBUS-RTU protocol conformance test method
CN101131663B (en) Method for detecting installation correctness of computer PCI/PCI Express devices
CN104991864B (en) A kind of test method and device towards outreach system
CN106997322A (en) Method and apparatus for automatic test
CN104881745A (en) Human resource recruiting information advertisement system
CN102521324A (en) Analysis method and system for trackside device interface of interconnection testing platform
CN106303011A (en) The method and device that a kind of theme obtains
CN105897494A (en) Testing method of network transmission rate
CN106257257A (en) A kind of detect the method for optical module planisphere, device and virtual vector analyser
CN102685012B (en) GOOSE secondary virtual wiring dynamic verification method for intelligent device
CN103984779A (en) Data updating method and device
CN103092752B (en) Error identification method of instrument attributes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121121