Vehicle-mounted electronic tag testing device, testing method and electronic equipment

Through the modular design of the on-board electronic tag testing device, independent and cross-functional testing of ESAM logic unit and ICC logic unit is achieved, solving the problems of inflexible configuration and low automation level in the prior art, and improving testing efficiency and accuracy.

CN119358573BActive Publication Date: 2025-08-12BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411255327.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2025-08-12
Estimated Expiration
2044-09-09

AI Technical Summary

Technical Problem

The existing on-board electronic tag testing requires functional testing using two software, the configuration is inflexible and the automation level is low.

Method used

It provides an on-board electronic tag testing device, including a test type selection module, a test environment creation module, an ESAM logic unit function set module, an ICC logic unit function set module and a cross-functional module. It can flexibly select test types and create a test environment, execute preset test cases, and realize independent and cross-functional testing of ESAM logic units and ICC logic units.

Benefits of technology

It realizes flexible configuration and high automation testing of dual-chip and multi-logic channel vehicle electronic tags, improving the efficiency and accuracy of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119358573B_ABST
    Figure CN119358573B_ABST
Patent Text Reader

Abstract

The present invention provides an on-vehicle electronic tag testing device, testing method, and electronic device, belonging to the technical field of on-vehicle electronic tags. The device includes: a test environment creation module for creating a first test environment required for ESAM logic unit testing and / or a second test environment required for ICC logic unit testing according to a second test type selection instruction; an ESAM logic unit function set module for executing a first preset test case in the ESAM logic unit in the first test environment; an ICC logic unit function set module for executing a second preset test case in the ICC logic unit in the second test environment; and a cross-function module for alternating between the first and second test environments to test a third preset test case. The present invention addresses the drawbacks of existing on-vehicle electronic tag testing, which requires the use of two software tests, resulting in inflexible configuration and a low level of automation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-mounted electronic tags, and in particular to a vehicle-mounted electronic tag testing device, a vehicle-mounted electronic tag testing method, an electronic device, a machine-readable storage medium, and a computer program product. Background Art

[0002] OBU stands for On Board Unit, which refers to the on-board electronic tag (OBU). It is an important component of ETC (Electronic Toll Control). It stores the vehicle's identification information and is installed on the front windshield of the car. It communicates with the RSU (Road Side Unit) at the toll station through dedicated short-range microwave communication (DSRC).

[0003] OBUs can be classified by user card type into two-chip OBUs and multi-logical channel OBUs. In a two-chip OBU, the ESAM logic unit and the ICC logic unit are two separate devices. In a multi-logical channel OBU, the ESAM logic unit and the ICC logic unit are synthesized into a single multi-logical channel ESAM device using multi-logical channel synthesis technology. The ESAM logic unit and the ICC logic unit of the current two-chip OBU have independent functions. Traditional methods use two software programs to implement functional testing of the ESAM logic unit and the ICC logic unit. However, in multi-logical channel OBU testing, not only do the functions of the two logical channels need to be tested separately, but cross-functional testing of the two channels is also required. In traditional testing methods, the test code for these two logical units is two software programs, making cross-functional testing of multiple logical channels impossible.

[0004] That is, the existing functional tests for the dual-chip OBU and the multi-logic channel OBU both require the use of two softwares for testing, resulting in inflexible configuration and a low level of automation. Summary of the Invention

[0005] The purpose of the embodiments of the present invention is to provide an on-vehicle electronic tag testing device, an on-vehicle electronic tag testing method, an electronic device, a machine-readable storage medium and a computer program product, so as to solve the defects that the existing functional tests of dual-chip OBUs and multi-logic channel OBUs require the use of two softwares for testing, resulting in inflexible configuration and low automation level.

[0006] To achieve the above objectives, an embodiment of the present invention provides a vehicle-mounted electronic tag testing device, comprising:

[0007] A test type selection module, configured to receive a first test type selection instruction from the vehicle-mounted electronic tag and a second test type selection instruction from the logic unit;

[0008] A test environment creation module, configured to create a first test environment required for ESAM logic unit testing and / or a second test environment required for ICC logic unit testing according to the second test type selection instruction;

[0009] An ESAM logic unit function set module, configured to execute a test of a first preset test case in an ESAM logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag in the first test environment;

[0010] An ICC logic unit function set module, configured to execute a test of a second preset test case in the ICC logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag in the second test environment;

[0011] A cross-functional module is used to perform tests of a third preset test case alternately between the first test environment and the second test environment when the first test type selection instruction represents that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction represents that a cross-unit test is performed.

[0012] Optionally, the test environment creation module includes:

[0013] An ESAM logic unit card writing module is used to execute an ESAM logic unit card writing operation to create a first test environment required for the ESAM logic unit test when the second test type selection instruction represents the ESAM logic unit test;

[0014] The ICC logic unit card writing module is used to execute an ICC logic unit card writing operation when the second test type selection instruction represents performing an ICC logic unit test, so as to create a second test environment required for the ICC logic unit test.

[0015] Optionally, the vehicle-mounted electronic tag testing device further includes a cryptographic algorithm implementation module and an instruction set module for data sending and data receiving;

[0016] The ESAM logic unit card writing module is used to call the instruction set module to load the file system required for the ESAM logic unit test, and to call the cryptographic algorithm implementation module to load the key system required for the ESAM logic unit test, so as to create the first test environment required for the ESAM logic unit test;

[0017] The ICC logic unit card writing module is used to call the instruction set module to load the file system required for the ICC logic unit test, and to call the cryptographic algorithm implementation module to load the key system required for the ICC logic unit test, so as to create the second test environment required for the ICC logic unit test.

[0018] Optionally, the first preset test case includes at least one of a SAM file test, a SAM random number retrieval test, a SAM binary file read test, a SAM binary file write test, a SAM record file read test, a SAM record file write test, a SAM external authentication test, an anti-disassembly function test, a vehicle information read test, a chip serial number retrieval test, a key update test, and a two-way authentication test.

[0019] Optionally, the second preset test case includes at least one of ICC file test, ICC random number acquisition test, ICC binary file read test, ICC binary file write test, ICC record file read test, ICC record file write test, ICC external authentication test, PIN verification test, PIN modification test, PIN reinstallation test, PIN unlocking test, application lock test, application unlocking test, card lock test, internal authentication test, deposit test, consumption test, transaction entry test and transaction exit test.

[0020] Optionally, the third preset test case includes at least one of a test of reset information of the SAM channel and the ICC channel, a test of mutual independence of file systems of the SAM channel and the ICC channel, a test of mutual independence of key systems of the SAM channel and the ICC channel, a test of mutual independence of security status of the SAM channel and the ICC channel, a test of mutual independence of random number status of the SAM channel and the ICC channel, and a test of mutual independence of transaction status of the SAM channel and the ICC channel.

[0021] Optionally, the vehicle-mounted electronic tag testing device further includes a performance data acquisition module, which is used to collect command execution time of electronic wallet transactions at a preset clock frequency, so as to perform performance analysis based on the command execution time.

[0022] On the other hand, an embodiment of the present invention further provides a vehicle-mounted electronic tag testing method, which is applied to the above-mentioned vehicle-mounted electronic tag testing device. The method includes:

[0023] Controlling the test type selection module to receive a first test type selection instruction of the vehicle-mounted electronic tag and a second test type selection instruction of the logic unit;

[0024] Controlling the test environment creation module to create a target test environment required for the test according to the second test type selection instruction;

[0025] Based on the first test type selection instruction and the second test type selection instruction, the target modules in the ESAM logic unit function set module, the ICC logic unit function set module and the cross function module are controlled to be tested in the target test environment.

[0026] Optionally, the control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including:

[0027] In the case where the second test type selects the instruction representation to perform ESAM logic unit testing, creating a first test environment required for the ESAM logic unit testing;

[0028] The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0029] When the first test type selection instruction indicates that the test type is a two-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the ESAM logic unit function set module is controlled as the target module to perform the test of the first preset test case in the ESAM logic unit of the two-chip vehicle-mounted electronic tag in the first test environment.

[0030] Optionally, the control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including:

[0031] When the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test;

[0032] The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0033] When the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ICC logic unit test is to be performed, the ICC logic unit function set module is controlled as the target module to perform the test of the second preset test case in the ICC logic unit of the dual-chip vehicle-mounted electronic tag in the second test environment.

[0034] Optionally, the control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including:

[0035] In the case where the second test type selects the instruction representation to perform ESAM logic unit testing, creating a first test environment required for the ESAM logic unit testing;

[0036] The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0037] When the first test type selection instruction indicates that the test type is a multi-logical channel vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the ESAM logic unit function set module is controlled as the target module to execute the test of the first preset test case in the ESAM logic unit of the multi-logical channel vehicle-mounted electronic tag in the first test environment.

[0038] Optionally, the control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including:

[0039] When the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test;

[0040] The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0041] When the first test type selection instruction represents that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction represents that an ICC logic unit test is performed, the ICC logic unit function set module is controlled as the target module to execute the test of the second preset test case in the ICC logic unit of the multi-logic channel vehicle-mounted electronic tag in the second test environment.

[0042] Optionally, the control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including:

[0043] In the case where the second test type selects instruction representation to perform cross unit testing, a first test environment required for ESAM logic unit testing and a second test environment required for ICC logic unit testing are respectively created;

[0044] The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0045] When the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that a cross-unit test is performed, the cross-functional module is controlled as a target module to perform a third preset test case test alternately between the first test environment and the second test environment.

[0046] On the other hand, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned vehicle-mounted electronic tag testing method when executing the program.

[0047] On the other hand, the present invention also provides a machine-readable storage medium having a computer program stored thereon, which implements the above-mentioned vehicle-mounted electronic tag testing method when executed by a processor.

[0048] On the other hand, the present invention also provides a computer program product, including a computer program, which implements the above-mentioned vehicle-mounted electronic tag testing method when executed by a processor.

[0049] Through the above technical solution, the embodiment of the present invention receives a first test type selection instruction for the vehicle-mounted electronic tag and a second test type selection instruction for the logic unit via a test type selection module, thereby selecting the test type of the vehicle-mounted electronic tag and the test type of the logic unit. The ESAM logic unit function set module is used to test the ESAM logic unit of a two-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag. The ICC logic unit function set module is used to test the ICC logic unit of a two-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag. The cross function module is used to test the cross unit of a multi-logic channel vehicle-mounted electronic tag. Thus, the embodiment of the present invention can be used for testing both multi-logic channel vehicle-mounted electronic tags and two-chip vehicle-mounted electronic tags. The configuration is flexible, improving the automation level of software testing.

[0050] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:

[0052] Figure 1 It is a structural diagram of the vehicle-mounted electronic tag testing device provided by the present invention;

[0053] Figure 2 This is a flow chart of the vehicle-mounted electronic tag testing method provided by the present invention;

[0054] Figure 3 It is a schematic diagram of the electronic device provided by the present invention communicating with the vehicle-mounted electronic tag through the card reader;

[0055] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0056] The following describes the specific implementation of the embodiment of the present invention in detail with reference to the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiment of the present invention and is not used to limit the embodiment of the present invention.

[0057] Please refer to Figure 1 An embodiment of the present invention provides a vehicle-mounted electronic tag testing device, including a test type selection module 10, a test environment creation module 20, an ESAM logic unit function set module 30, an ICC logic unit function set module 40 and a cross-function module 50.

[0058] The test type selection module 10 is configured to receive a first test type selection instruction for the vehicle electronic tag and a second test type selection instruction for the logic unit. Specifically, the test type selection module 10 allows the tester to configure the type of vehicle electronic tag to be tested and the type of logic unit test. Vehicle electronic tag types include multi-logical channel vehicle electronic tags and dual-chip vehicle electronic tags. Logic unit test types include ESAM logic unit testing, ICC logic unit testing, and cross-unit testing for multi-logical channel vehicle electronic tags. The test type selection module 10 includes a vehicle electronic tag type configuration parameter and a logic unit configuration parameter. By modifying the values of these two configuration parameters to indicate whether the vehicle electronic tag is multi-logical channel or dual-chip, the test module corresponding to the test type is further selected. For example, 00 indicates a multi-logical channel vehicle electronic tag, and 01 indicates a dual-chip vehicle electronic tag. 001 indicates an ESAM logic unit test, 010 indicates an ICC logic unit test, and 100 indicates a cross-unit test for multi-logical channel vehicle electronic tags. The test type selection module 10 receives a first test type selection instruction of 00 and a second test type selection instruction of 100. At this time, the test type is a cross unit test of a multi-logic channel vehicle-mounted electronic tag.

[0059] It should be noted that, if configured as a multi-logic channel vehicle-mounted electronic tag, then all modules (i.e., test type selection module 10, test environment creation module 20, ESAM logic unit function set module 30, ICC logic unit function set module 40 and cross-function module 50) in this vehicle-mounted electronic tag testing device can be used for subsequent tests. If configured as a dual-chip security chip, then except that "cross-function module 50" can not be used for testing, other modules all can be selected to carry out relevant tests. By the parameter configuration of this test type selection module 10, the flexible selection of dual-chip vehicle-mounted electronic tags and multi-logic channel vehicle-mounted electronic tags is realized, and the test set is freely selected, which improves the automation test degree of software.

[0060] The test environment creation module 20 is configured to create a first test environment required for the ESAM logic unit test and / or a second test environment required for the ICC logic unit test according to the second test type selection instruction. Specifically, when the second test type selection instruction indicates an ESAM logic unit test, the test environment creation module 20 creates the first test environment required for the ESAM logic unit test; when the second test type selection instruction indicates an ICC logic unit test, the test environment creation module 20 creates the second test environment required for the ICC logic unit test; and when the second test type selection instruction indicates a cross-unit test of a multi-logic channel on-board electronic tag, the test environment creation module 20 creates the first test environment required for the ESAM logic unit test and the second test environment required for the ICC logic unit test, respectively.

[0061] The ESAM logic unit function set module 30 is configured to execute a first preset test case test on the ESAM logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logical channel vehicle-mounted electronic tag in the first test environment. The ESAM logic unit function set module 30 can be used to test the ESAM logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logical channel vehicle-mounted electronic tag. The first preset test case includes at least one of a SAM file test, a SAM random number fetch test, a SAM binary file read test, a SAM binary file write test, a SAM record file read test, a SAM record file write test, a SAM external authentication test, an anti-disassembly function test, a vehicle information read test, a chip serial number fetch test, a key update test, and a bidirectional authentication test. Specifically, the SAM file test may include all or part of the SAM file test, the SAM random number fetch test, the SAM binary file read test, the SAM binary file write test, the SAM record file read test, the SAM record file write test, the SAM external authentication test, the anti-disassembly function test, the vehicle information read test, the chip serial number fetch test, the key update test, and the bidirectional authentication test. It should be noted that each test subset of the ESAM logic unit function set module 30 is highly independent, and the update of a single test subset does not affect the use of other test subsets.

[0062] The ICC logic unit function set module 40 is configured to execute, in the second test environment, a test of a second preset test case in the ICC logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag. The second preset test case includes at least one of an ICC file test, an ICC random number acquisition test, an ICC binary file read test, an ICC binary file write test, an ICC record file read test, an ICC record file write test, an ICC external authentication test, a PIN verification test, a PIN modification test, a PIN reinstallation test, a PIN unlock test, an application lock test, an application unlock test, a card lock test, an internal authentication test, a deposit test, a consumption test, a transaction entry test, and a transaction exit test. That is, the second preset test case includes all or part of the ICC file test, ICC random number acquisition test, ICC binary file read test, ICC binary file write test, ICC record file read test, ICC record file write test, ICC external authentication test, PIN verification test, PIN modification test, PIN reinstallation test, PIN unlock test, application lock test, application unlock test, card lock test, internal authentication test, deposit test, consumption test, transaction entry test, and transaction exit test. It should be noted that each test subset of the ICC logic unit function set module 40 is highly independent, and updating a single test subset does not affect the use of other test subsets.

[0063] The cross-functional module 50 is configured to perform a third preset test case test alternately between the first test environment and the second test environment when the first test type selects the instruction characterizing the test type as a multi-logic channel vehicle-mounted electronic tag and the second test type selects the instruction characterizing the cross-unit test. The third preset test case includes at least one of a test of reset information of the SAM channel and the ICC channel, a test of mutual independence of the file systems of the SAM channel and the ICC channel, a test of mutual independence of the key systems of the SAM channel and the ICC channel, a test of mutual independence of the security status of the SAM channel and the ICC channel, a test of mutual independence of the random number status of the SAM channel and the ICC channel, and a test of mutual independence of the transaction status of the SAM channel and the ICC channel.

[0064] Specifically, the cross-functional module 50 implements mutual independence testing of the OBE-SAM and OBE-ICC channels across multiple logical channels. This includes testing the return of reset information after a SAM and ICC reset, file system independence, key system independence, security state independence, random number state independence, and transaction state independence. The multi-logical channel cross-functional module 50 comprehensively tests the functionality, security, and stability of simultaneously operating logical channels 0 and 1, significantly reducing the risk of errors that may occur during actual operation of multi-logical channel vehicle-mounted electronic tags.

[0065] The file system mutual independence test is used to test whether the creation, access, modification and deletion operations of files in different logical channels are protected by each logical channel, covering functional tests of all types of files, including directory files, binary files, fixed-length record files, variable-length record files, circular record files, security files, and internal files.

[0066] The mutual independence test of the key system is used to test whether the import, storage, use and update of key files in different logical channels are protected by each logical channel, especially non-exportable, and covers functional testing of all types of keys, including master keys, external authentication keys, internal authentication keys, maintenance keys, PINs, PIN unlock keys, PIN reinstall keys, consumption keys, loading keys and transaction authentication keys.

[0067] The chip's security status word contains the file access mode status word and the file access permission status word. The file access mode status word includes eight file operation modes: plaintext read, plaintext with MAC checksum read, ciphertext read, ciphertext with MAC checksum read, plaintext write, plaintext with MAC checksum write, ciphertext write, and ciphertext with MAC checksum write. File access permission refers to the security level of a file or key. The card's environment directory and application directory have 16 different security levels. Two registers (16 bits, each corresponding to a level) represent the security status word. If the current directory is MF or DDF, the two registers represent the global security status word; if the current directory is ADF, the two registers represent the local security status word. The security level status in the security status word in memory is mapped to the corresponding security status word after successful key or PIN authentication. When operating a protected file or key, it is necessary to verify that the security status word meets the file or key security access conditions. The security status mutual independence test verifies that the security status of files and keys in different logical channels is protected by each logical channel and cannot be arbitrarily changed.

[0068] The random number state mutual independence test is used to test whether the random numbers generated by different logical channels are protected by each logical channel throughout their entire life cycle, including the generation, use, and failure tests of random numbers.

[0069] The transaction state independence test is used to verify the mutual independence of the OBE-SAM bidirectional authentication process and the OBE-ICC electronic wallet transaction process across multiple logical channels. Instructions on the SAM channel do not affect the wallet transaction state on the ICC channel. Electronic wallet transactions include deposit transactions, spending transactions, and combined spending transactions. During application execution, the card is always in one of the following states: idle, deposit, spending, CAPP1, or CAPP2. After application selection is completed, the card first enters the idle state. When the card receives a command, it first checks whether the current state allows execution. Refer to Table 1, which shows the state changes after successful command execution. After successful command execution, the card enters another state (or the same state) as shown in Table 1. If the command execution fails, the card enters the idle state. Shaded areas indicate that issuing a command while the card is in the corresponding state is invalid. In this case, the card does not execute the command and returns an error status code, with the card state changing to idle. By analyzing the status code returned by the ICC channel, the correctness of the transaction status can be determined.

[0070] Table 1

[0071]

[0072]

[0073] The embodiment of the present invention receives a first test type selection instruction for an on-board electronic tag and a second test type selection instruction for a logic unit via a test type selection module 10, thereby selecting the test type for the on-board electronic tag and the test type for the logic unit. The ESAM logic unit function set module 30 performs testing of the ESAM logic unit of a two-chip on-board electronic tag or a multi-logical channel on-board electronic tag. The ICC logic unit function set module 40 performs testing of the ICC logic unit of a two-chip on-board electronic tag or a multi-logical channel on-board electronic tag. The cross-function module 50 performs cross-unit testing of a multi-logical channel on-board electronic tag. Thus, the embodiment of the present invention can be used for testing both multi-logical channel on-board electronic tags and two-chip on-board electronic tags. The flexible configuration improves the automation level of software testing.

[0074] In other aspects of the embodiment of the present invention, the test environment creation module 20 includes: an ESAM logic unit card writing module 21 and an ICC logic unit card writing module 22.

[0075] The ESAM logic unit card writing module 21 is used to execute the ESAM logic unit card writing operation when the second test type selection instruction represents the ESAM logic unit test, so as to create the first test environment required for the ESAM logic unit test.

[0076] The vehicle-mounted electronic tag testing device also includes a cryptographic algorithm implementation module 70 and an instruction set module 60 for data transmission and reception. The instruction set module 60 includes a data transmission module and a data reception module, enabling data communication between the vehicle-mounted electronic tag and different card readers, and enabling the vehicle-mounted electronic tag testing device to read and write to the vehicle-mounted electronic tag. This module also stores data logs sent and received by the vehicle-mounted electronic tag in a specific file directory. Since a multi-logic channel vehicle-mounted electronic tag contains two logic units, if a problem occurs during testing, the log records can be used to quickly locate which instruction in which logic unit caused the problem. This helps testers and developers analyze the cause of the problem and find a solution, facilitating test tracking and problem location for developers and testers.

[0077] The algorithm implementation module 70 implements various types of encryption and decryption, MAC calculation, hash value calculation, and signature verification, and supports both national and international algorithms, such as SM1, SM2, SM3, SM4, DES, 3DES, ECC, RSA, etc. Each algorithm function of this module has a clear description and function interface. Software developers do not need to have a good understanding of the algorithm principles. They only need to understand the function interface description to easily call it, thereby improving software development efficiency. At the same time, the algorithm in the algorithm implementation module 70 has been verified and optimized many times, and has high quality and stability, providing efficient and stable support for the vehicle-mounted electronic tag test device. The algorithm implementation module 70 of the embodiment of the present invention supports a variety of international and national secret algorithms, the algorithm function description is clear, the algorithm call is convenient and simple, and the algorithm library has been verified and optimized, with reliable stability.

[0078] Specifically, the ESAM logic unit card writing module 21 is used to call the instruction set module 60 to load the file system required for the ESAM logic unit test, and to call the cryptographic algorithm implementation module 70 to load the key system required for the ESAM logic unit test, so as to create the first test environment required for the ESAM logic unit test. That is, the ESAM logic unit card writing module 21 calls the instruction set module 60 and the algorithm module to load the file system, key system, and PIN data required for the ESAM logic unit functional test. After the key and PIN data are written to the ESAM logic unit card writing module 21, they cannot be read out. The key is the key to protecting data security. It can encrypt and decrypt data to protect the confidentiality, integrity, and authenticity of the data.

[0079] The ICC logic unit card writing module 22 is used to execute the ICC logic unit card writing operation to create the second test environment required for the ICC logic unit test when the second test type selects the instruction representation to perform the ICC logic unit test. The ICC logic unit card writing module 22 is used to call the instruction set module 60 to load the file system required for the ICC logic unit test, and call the cryptographic algorithm implementation module 70 to load the key system required for the ICC logic unit test, so as to create the second test environment required for the ICC logic unit test. The ICC logic unit card writing module 22: has a similar function to the ESAM logic unit card writing module 21. This module calls the instruction set module 60 and the algorithm implementation module 70 to load the file system, key and PIN data required for the functional test of the ICC logic unit. The key and PIN data cannot be read out after being written into the logic unit.

[0080] Furthermore, since the multi-logical channel vehicle electronic tag contains two logical units, their file systems and key systems are independent of each other. A card write operation in one logical unit should not affect the other. Therefore, regardless of whether the ESAM or ICC logical unit write operation is performed first, the test results for each functional set should be consistent. If the test results are inconsistent, the vehicle electronic tag test device can prompt the tester that there is a problem with the vehicle electronic tag and whether the tester needs to proceed to the next test.

[0081] In other aspects of the embodiments of the present invention, the vehicle-mounted electronic tag testing device further includes a performance data acquisition module 80, which is used to collect the command execution time of electronic wallet transactions at a preset clock frequency, so as to perform performance analysis based on the command execution time. Electronic wallet transactions include deposit transactions, consumption transactions, and composite consumption transactions. For example, the performance data acquisition module 80 can collect the composite consumption command execution time when the clock frequency is 3.579MHZ. By analyzing the performance data, for example, comparing the composite consumption command execution time with the industry standard value, when the composite consumption command execution time is less than the industry standard value, it indicates that the transaction performance and stability of the ICC logic unit are strong.

[0082] The embodiment of the present invention collects the command execution time of the electronic wallet transaction at a preset clock frequency through the performance data collection module 80, which facilitates the analysis of performance data. Testers can accurately obtain test data to evaluate the transaction performance and stability of the ICC logic unit.

[0083] It should be noted that each module of the vehicle-mounted electronic tag testing device according to the embodiment of the present invention follows the design principle of high cohesion and low coupling, which helps to improve the maintainability, scalability and reusability of the software.

[0084] Method Example

[0085] On the other hand, please refer to Figure 2 The present invention also provides a vehicle-mounted electronic tag testing method, which is applied to the vehicle-mounted electronic tag testing device described above. The test type selection module 10, test environment creation module 20, ESAM logic unit function set module 30, ICC logic unit function set module 40, and cross-functional module 50 included in the vehicle-mounted electronic tag testing device are described above and will not be repeated here. The method includes:

[0086] Step 100: Control the test type selection module 10 to receive a first test type selection instruction from the vehicle-mounted electronic tag and a second test type selection instruction from the logic unit.

[0087] The tester can input the first test type selection instruction of the vehicle electronic tag and the second test type selection instruction of the logic unit to the test type selection module 10 in the electronic device through an input device (such as a mouse, keyboard, touch screen, etc.). Figure 3 The on-board electronic tag testing device in the electronic device operates in the form of software. The electronic device communicates with the on-board electronic tag via a card reader. 00 represents a multi-logical channel on-board electronic tag, and 01 represents a dual-chip on-board electronic tag. 001 represents an ESAM logic unit test, 010 represents an ICC logic unit test, and 100 represents a cross-unit test of a multi-logical channel on-board electronic tag. When the electronic device control test type selection module 10 receives a first test type selection instruction of 00 and a second test type selection instruction of 100, the test type is a cross-unit test of a multi-logical channel on-board electronic tag.

[0088] Step 200: Control the test environment creation module 20 to create a target test environment required for the test according to the second test type selection instruction.

[0089] Among them, when the second test type selection instruction represents the ESAM logic unit test, the electronic device control test environment creation module 20 creates the first test environment required for the ESAM logic unit test; when the second test type selection instruction represents the ICC logic unit test, the electronic device control test environment creation module 20 creates the second test environment required for the ICC logic unit test; when the second test type selection instruction represents the cross-unit test of the multi-logic channel vehicle-mounted electronic tag, the electronic device control test environment creation module 20 respectively creates the first test environment required for the ESAM logic unit test and the second test environment required for the ICC logic unit test.

[0090] Step 300: Based on the first test type selection instruction and the second test type selection instruction, control the target modules in the ESAM logic unit function set module 30, the ICC logic unit function set module 40 and the cross function module 50 to perform testing in the target test environment.

[0091] For example, when the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that a cross-unit test is to be performed, the electronic device controls the cross-functional module 50 to perform a third preset test case test alternately between the first test environment and the second test environment.

[0092] In this embodiment of the present invention, a test type selection module 10 receives a first test type selection instruction for an on-board electronic tag and a second test type selection instruction for a logic unit, thereby selecting the test type for the on-board electronic tag and the test type for the logic unit. The ESAM logic unit function set module 30 performs testing of the ESAM logic unit of a dual-chip on-board electronic tag or a multi-logical channel on-board electronic tag. The ICC logic unit function set module 40 performs testing of the ICC logic unit of a dual-chip on-board electronic tag or a multi-logical channel on-board electronic tag. The cross-function module 50 performs cross-unit testing of a multi-logical channel on-board electronic tag. Thus, this embodiment of the present invention can be used for testing both multi-logical channel on-board electronic tags and dual-chip on-board electronic tags. Its flexible configuration improves the automation level of software testing. It should be noted that the testing method proposed in this embodiment of the present invention meets relevant requirements and is consistent with current type testing procedures for smart cards built into optional on-board electronic tags installed in automobiles.

[0093] In other aspects of the embodiment of the present invention, the control test environment creation module 20 creates a target test environment required for the test according to the second test type selection instruction, including: creating a first test environment required for the ESAM logic unit test when the second test type selection instruction indicates that the ESAM logic unit test is to be performed;

[0094] The control based on the first test type selection instruction and the second test type selection instruction of the target module in the ESAM logic unit function set module 30, the ICC logic unit function set module 40 and the cross-function module 50 is performed in the target test environment, including: when the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that the ESAM logic unit test is to be performed, controlling the ESAM logic unit function set module 30 as the target module to perform the test of the first preset test case in the ESAM logic unit of the dual-chip vehicle-mounted electronic tag in the first test environment.

[0095] That is, when the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the electronic device controls the ESAM logic unit card writing module 21 to perform an ESAM logic unit card writing operation to create the file system and key system required for the test. The ESAM logic unit function set module 30 is selected, and some or all of the test cases therein are selected for testing. The test cases of the ESAM logic unit function set include: a SAM file test module, a SAM random number acquisition test module, a SAM binary file read test module, a SAM binary file write test module, a SAM record file read test module, a SAM record file write test module, a SAM external authentication test module, an anti-disassembly function test module, a vehicle information read test module, a chip serial number acquisition test module, a key update test module, and a two-way authentication test module.

[0096] In other aspects of the embodiment of the present invention, the control test environment creation module 20 creates a target test environment required for the test according to the second test type selection instruction, including: when the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test;

[0097] The control based on the first test type selection instruction and the second test type selection instruction of the ESAM logic unit function set module 30, the ICC logic unit function set module 40 and the target module in the cross-function module 50 is performed in the target test environment, including: when the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that the ICC logic unit test is to be performed, controlling the ICC logic unit function set module 40 as the target module to perform the test of the second preset test case in the ICC logic unit of the dual-chip vehicle-mounted electronic tag in the second test environment.

[0098] That is, when the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ICC logic unit test is to be performed, the electronic device controls the ICC logic unit card writing module 22 to perform an ICC logic unit card writing operation, creating the file system and key system required for the test. The ICC logic unit function set module 40 is selected, and some or all of the test cases therein are selected for testing. The ICC logic unit function set test cases include: an ICC file selection test module, an ICC random number acquisition test module, an ICC binary file read test module, an ICC binary file write test module, an ICC record file read test module, an ICC record file write test module, an ICC external authentication test module, a PIN verification test module, a PIN modification test module, a PIN reinstallation test module, a PIN unlocking test module, an application lock test module, an application unlocking test module, a card lock test module, an internal authentication test module, a deposit test module, a consumption test module, a transaction entry test module, and a transaction exit test module.

[0099] In other aspects of the embodiment of the present invention, the control test environment creation module 20 creates a target test environment required for the test according to the second test type selection instruction, including:

[0100] In the case where the second test type selects the instruction representation to perform ESAM logic unit testing, creating a first test environment required for the ESAM logic unit testing;

[0101] The controlling the target modules in the ESAM logic unit function set module 30, the ICC logic unit function set module 40, and the cross function module 50 to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes:

[0102] When the first test type selection instruction indicates that the test type is a multi-logical channel vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the ESAM logic unit function set module 30 is controlled as a target module to execute the test of the first preset test case in the ESAM logic unit of the multi-logical channel vehicle-mounted electronic tag in the first test environment.

[0103] That is, when the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the electronic device controls the ESAM logic unit card writing module 21 to perform an ESAM logic unit card writing operation to create the file system and key system required for the test. The ESAM logic unit function set module 30 is selected, and some or all of the test cases therein are selected for testing. The test cases of the ESAM logic unit function set include: a SAM file test module, a SAM random number acquisition test module, a SAM binary file read test module, a SAM binary file write test module, a SAM record file read test module, a SAM record file write test module, a SAM external authentication test module, an anti-disassembly function test module, a vehicle information read test module, a chip serial number acquisition test module, a key update test module, and a two-way authentication test module.

[0104] In other aspects of the embodiment of the present invention, the control test environment creation module 20 creates a target test environment required for the test according to the second test type selection instruction, including: when the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test;

[0105] The control based on the first test type selection instruction and the second test type selection instruction of the target module in the ESAM logic unit function set module 30, the ICC logic unit function set module 40 and the cross-function module 50 is performed in the target test environment, including: when the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that the ICC logic unit test is to be performed, controlling the ICC logic unit function set module 40 as the target module to perform the test of the second preset test case in the ICC logic unit of the multi-logic channel vehicle-mounted electronic tag in the second test environment.

[0106] That is, when the first test type selection instruction indicates that the test type is a multi-logical channel vehicle-mounted electronic tag and the second test type selection instruction indicates that an ICC logic unit test is to be performed, the electronic device controls the ICC logic unit card writing module 22 to perform an ICC logic unit card writing operation, creating the file system and key system required for the test. The ICC logic unit function set module 40 is selected, and some or all of the test cases therein are selected for testing. The ICC logic unit function set test cases include: an ICC file selection test module, an ICC random number acquisition test module, an ICC binary file read test module, an ICC binary file write test module, an ICC record file read test module, an ICC record file write test module, an ICC external authentication test module, a PIN verification test module, a PIN modification test module, a PIN reinstallation test module, a PIN unlocking test module, an application lock test module, an application unlocking test module, a card lock test module, an internal authentication test module, a deposit test module, a consumption test module, a transaction entry test module, and a transaction exit test module.

[0107] In other aspects of the embodiment of the present invention, the control test environment creation module 20 creates a target test environment required for the test according to the second test type selection instruction, including: when the second test type selection instruction indicates that a cross unit test is to be performed, creating a first test environment required for the ESAM logic unit test and creating a second test environment required for the ICC logic unit test respectively;

[0108] The target modules in the ESAM logic unit function set module 30, the ICC logic unit function set module 40 and the cross-function module 50 are controlled to be tested in the target test environment based on the first test type selection instruction and the second test type selection instruction, including: when the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that a cross-unit test is to be performed, controlling the cross-function module 50 as a target module to perform a third preset test case test alternately between the first test environment and the second test environment.

[0109] That is, when the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that a cross-unit test is to be performed, the electronic device control cross-function module 50 performs the test of the third preset test case alternately between the first test environment and the second test environment. The third preset test case includes at least one of a test of the reset information of the SAM channel and the ICC channel, a test of the mutual independence of the file systems of the SAM channel and the ICC channel, a test of the mutual independence of the key systems of the SAM channel and the ICC channel, a test of the mutual independence of the security status of the SAM channel and the ICC channel, a test of the mutual independence of the random number status of the SAM channel and the ICC channel, and a test of the mutual independence of the transaction status of the SAM channel and the ICC channel.

[0110] The vehicle-mounted electronic tag testing method according to the embodiment of the present invention can be used to test both multi-logical channel vehicle-mounted electronic tags and dual-chip vehicle-mounted electronic tags. Flexible configuration is achieved through the test type selection module 10, making it user-friendly and easy to use. The vehicle-mounted electronic tag testing method and vehicle-mounted electronic tag testing device according to the embodiment of the present invention comply with the latest "Technical Standards for Networked Toll Collection on Toll Roads." Subsequent technical standards are updated, and maintenance and upgrades can be performed on the vehicle-mounted electronic tag testing device. The modules installed in the vehicle-mounted electronic tag testing device all follow the design principle of high cohesion and low coupling, facilitating software maintainability. The vehicle-mounted electronic tag testing method and vehicle-mounted electronic tag testing device according to the embodiment of the present invention include OBE-SAM module functional testing, OBE-ICC module functional testing, multi-logical channel cross-functional testing, and performance testing. These tests cover file system testing, key system testing, security system testing, command sending and receiving system testing, algorithm system testing, and transaction process system testing. These comprehensive tests significantly reduce the risk of errors that may occur during actual operation of multi-logical channel vehicle-mounted electronic tags.

[0111] Figure 4 An example of a physical structure diagram of an electronic device is shown below. Figure 4As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communications bus 440, wherein the processor 410, the communications interface 420, and the memory 430 communicate with each other via the communications bus 440. The processor 410 may call logic instructions in the memory 430 to execute a vehicle-mounted electronic tag testing method, which includes: controlling a test type selection module to receive a first test type selection instruction of the vehicle-mounted electronic tag and a second test type selection instruction of the logic unit; controlling a test environment creation module to create a target test environment required for testing according to the second test type selection instruction; and controlling the ESAM logic unit function set module, the ICC logic unit function set module, and a target module in the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction.

[0112] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a machine-readable storage medium. When the computer program is executed by a processor, the computer can execute a vehicle-mounted electronic tag testing method, which includes: controlling the test type selection module to receive a first test type selection instruction of the vehicle-mounted electronic tag and a second test type selection instruction of the logic unit; controlling the test environment creation module to create a target test environment required for the test according to the second test type selection instruction; and controlling the ESAM logic unit function set module, the ICC logic unit function set module, and the target module in the cross-function module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction.

[0114] On the other hand, the present invention also provides a machine-readable storage medium having a computer program stored thereon, which is implemented by a processor to perform a vehicle-mounted electronic tag testing method, the method comprising: controlling a test type selection module to receive a first test type selection instruction of the vehicle-mounted electronic tag and a second test type selection instruction of the logic unit; controlling a test environment creation module to create a target test environment required for the test according to the second test type selection instruction; and controlling the ESAM logic unit function set module, the ICC logic unit function set module and the target module in the cross-function module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction.

[0115] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0116] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A vehicle-mounted electronic tag testing device, characterized in that: include: A test type selection module, configured to receive a first test type selection instruction from the vehicle-mounted electronic tag and a second test type selection instruction from the logic unit; A test environment creation module, configured to create a first test environment required for ESAM logic unit testing and / or a second test environment required for ICC logic unit testing according to the second test type selection instruction; An ESAM logic unit function set module, configured to execute a test of a first preset test case in an ESAM logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag in the first test environment; An ICC logic unit function set module, configured to execute a test of a second preset test case in the ICC logic unit of a dual-chip vehicle-mounted electronic tag or a multi-logic channel vehicle-mounted electronic tag in the second test environment; A cross-functional module is used to perform tests of a third preset test case alternately between the first test environment and the second test environment when the first test type selection instruction represents that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction represents that a cross-unit test is performed.

2. The vehicle-mounted electronic tag testing device according to claim 1, characterized in that: The test environment creation module includes: An ESAM logic unit card writing module is used to execute an ESAM logic unit card writing operation to create a first test environment required for the ESAM logic unit test when the second test type selection instruction represents the ESAM logic unit test; The ICC logic unit card writing module is used to execute an ICC logic unit card writing operation when the second test type selection instruction represents performing an ICC logic unit test, so as to create a second test environment required for the ICC logic unit test.

3. The vehicle-mounted electronic tag testing device according to claim 2, characterized in that: The vehicle-mounted electronic tag testing device also includes a cryptographic algorithm implementation module and an instruction set module for data sending and data receiving; The ESAM logic unit card writing module is used to call the instruction set module to load the file system required for the ESAM logic unit test, and to call the cryptographic algorithm implementation module to load the key system required for the ESAM logic unit test, so as to create the first test environment required for the ESAM logic unit test; The ICC logic unit card writing module is used to call the instruction set module to load the file system required for the ICC logic unit test, and to call the cryptographic algorithm implementation module to load the key system required for the ICC logic unit test, so as to create the second test environment required for the ICC logic unit test.

4. The vehicle-mounted electronic tag testing device according to claim 1, characterized in that: The vehicle-mounted electronic tag testing device further includes a performance data acquisition module, which is used to acquire command execution time of electronic wallet transactions at a preset clock frequency, so as to perform performance analysis based on the command execution time.

5. The vehicle-mounted electronic tag testing device according to claim 1, characterized in that: The first preset test case includes at least one of SAM file test, SAM random number test, SAM binary file read test, SAM binary file write test, SAM record file read test, SAM record file write test, SAM external authentication test, anti-disassembly function test, vehicle information read test, chip serial number test, key update test and two-way authentication test.

6. The vehicle-mounted electronic tag testing device according to claim 1, characterized in that: The second preset test cases include at least one of ICC file test, ICC random number acquisition test, ICC binary file read test, ICC binary file write test, ICC record file read test, ICC record file write test, ICC external authentication test, PIN verification test, PIN modification test, PIN reinstallation test, PIN unlocking test, application lock test, application unlocking test, card lock test, internal authentication test, deposit test, consumption test, transaction entry test and transaction exit test.

7. The vehicle-mounted electronic tag testing device according to claim 1, characterized in that: The third preset test case includes at least one of a test of the reset information of the SAM channel and the ICC channel, a test of the mutual independence of the file systems of the SAM channel and the ICC channel, a test of the mutual independence of the key systems of the SAM channel and the ICC channel, a test of the mutual independence of the security status of the SAM channel and the ICC channel, a test of the mutual independence of the random number status of the SAM channel and the ICC channel, and a test of the mutual independence of the transaction status of the SAM channel and the ICC channel.

8. A vehicle-mounted electronic tag testing method, characterized in that: The vehicle-mounted electronic tag testing device applied to any one of claims 1 to 7, the method comprising: Controlling the test type selection module to receive a first test type selection instruction of the vehicle-mounted electronic tag and a second test type selection instruction of the logic unit; Controlling the test environment creation module to create a target test environment required for the test according to the second test type selection instruction; Based on the first test type selection instruction and the second test type selection instruction, the target modules in the ESAM logic unit function set module, the ICC logic unit function set module and the cross function module are controlled to be tested in the target test environment.

9. The vehicle-mounted electronic tag testing method according to claim 8, characterized in that: The control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including: In the case where the second test type selects the instruction representation to perform ESAM logic unit testing, creating a first test environment required for the ESAM logic unit testing; The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes: When the first test type selection instruction indicates that the test type is a two-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the ESAM logic unit function set module is controlled as the target module to perform the test of the first preset test case in the ESAM logic unit of the two-chip vehicle-mounted electronic tag in the first test environment.

10. The vehicle-mounted electronic tag testing method according to claim 8, characterized in that: The control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including: When the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test; The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes: When the first test type selection instruction indicates that the test type is a dual-chip vehicle-mounted electronic tag and the second test type selection instruction indicates that an ICC logic unit test is to be performed, the ICC logic unit function set module is controlled as the target module to perform the test of the second preset test case in the ICC logic unit of the dual-chip vehicle-mounted electronic tag in the second test environment.

11. The vehicle-mounted electronic tag testing method according to claim 8, characterized in that: The control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including: In the case where the second test type selects the instruction representation to perform ESAM logic unit testing, creating a first test environment required for the ESAM logic unit testing; The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes: When the first test type selection instruction indicates that the test type is a multi-logical channel vehicle-mounted electronic tag and the second test type selection instruction indicates that an ESAM logic unit test is to be performed, the ESAM logic unit function set module is controlled as the target module to execute the test of the first preset test case in the ESAM logic unit of the multi-logical channel vehicle-mounted electronic tag in the first test environment.

12. The vehicle-mounted electronic tag testing method according to claim 8, characterized in that: The control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including: When the second test type selection instruction indicates that an ICC logic unit test is to be performed, creating a second test environment required for the ICC logic unit test; The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes: When the first test type selection instruction represents that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction represents that an ICC logic unit test is performed, the ICC logic unit function set module is controlled as the target module to execute the test of the second preset test case in the ICC logic unit of the multi-logic channel vehicle-mounted electronic tag in the second test environment.

13. The vehicle-mounted electronic tag testing method according to claim 8, characterized in that: The control test environment creation module creates a target test environment required for the test according to the second test type selection instruction, including: In the case where the second test type selects instruction representation to perform cross unit testing, a first test environment required for ESAM logic unit testing and a second test environment required for ICC logic unit testing are respectively created; The controlling the target modules in the ESAM logic unit function set module, the ICC logic unit function set module, and the cross-functional module to perform testing in the target test environment based on the first test type selection instruction and the second test type selection instruction includes: When the first test type selection instruction indicates that the test type is a multi-logic channel vehicle-mounted electronic tag and the second test type selection instruction indicates that a cross-unit test is performed, the cross-functional module is controlled as a target module to perform a third preset test case test alternately between the first test environment and the second test environment.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the vehicle-mounted electronic tag testing method according to any one of claims 8 to 13 is implemented.

15. A machine-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the vehicle-mounted electronic tag testing method according to any one of claims 8 to 13 is implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the vehicle-mounted electronic tag testing method according to any one of claims 8 to 13 is implemented.

Citation Information

Patent Citations

  • Onboard unit in ETC (electronic toll collection) system, and system and method for testing onboard unit

    CN102998557A

  • Method and device used for testing performance of RFID electronic tag

    CN103487676A