CN106533841A - Method, apparatus and system for testing protocol consistency of user identification module cards - Google Patents
Method, apparatus and system for testing protocol consistency of user identification module cards Download PDFInfo
- Publication number
- CN106533841A CN106533841A CN201611131361.5A CN201611131361A CN106533841A CN 106533841 A CN106533841 A CN 106533841A CN 201611131361 A CN201611131361 A CN 201611131361A CN 106533841 A CN106533841 A CN 106533841A
- Authority
- CN
- China
- Prior art keywords
- terminal
- sim card
- network
- command
- test
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 340
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000003993 interaction Effects 0.000 claims abstract description 86
- 230000002452 interceptive effect Effects 0.000 claims description 26
- 238000010998 test method Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 24
- 238000004891 communication Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000004088 simulation Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/18—Protocol analysers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method and apparatus for testing protocol consistency of user identification module cards. The method includes the steps of sending an updating instruction to a terminal according prestored test cases, wherein the updating instruction is used for instructing the terminal to update default data of a virtual user identification module SIM card, to make the updated update default meet the requirements of the prestored test cases; sending a test instruction to the terminal according to the test cases; obtaining the interaction information between the terminal and the virtual SIM card from the terminal during execution of the test instruction, and determining the protocol consistency of the virtual SIM card according to whether the interaction information matches with the test cases. The test cost can be reduced, and the test process can be simplified.
Description
Technical Field
The present disclosure relates to the field of terminal testing technologies, and in particular, to a method, an apparatus, and a system for testing protocol consistency of a Subscriber Identity Module (SIM) card.
Background
With the development of communication technology, terminals are widely used, so that testing of terminals becomes especially important. When conventional terminal tests such as GCF (Global authentication Forum), PTCRB (personal communication service model authentication and assessment Board) authentication and domestic network access detection are performed on a terminal, a consistency test needs to be performed on the terminal, and in the consistency test process, a protocol consistency test of an SIM card is an essential part.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a system for testing protocol consistency of an SIM card. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for testing protocol consistency of a subscriber identity module card is provided, including:
sending an update command to a terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of a virtual Subscriber Identity Module (SIM) card so that the updated default data can meet the requirements of the pre-stored test case;
sending a test command to the terminal according to the test case;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment can not need the Comprion IT3 equipment, and also can not need to install Comprion IT3 software at the PC end, and can directly test through the interaction between the PC end and the mobile phone end, thereby reducing the test cost and simplifying the test flow.
In one embodiment, the method further comprises:
controlling a network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
obtaining network residing data in a preset network residing state from the terminal;
determining protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case, wherein the protocol consistency comprises the following steps:
and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the embodiment, the network comprehensive tester can be directly controlled by the PC terminal to simulate the network-resident state of the mobile phone terminal, the network-resident condition of the SIM card at the mobile phone terminal is tested, the test cost is reduced, and the test flow is simplified.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for testing protocol consistency of a subscriber identity module card, including:
receiving an update command, wherein the update command is used for indicating to update the default data of the virtual subscriber identity module SIM card so as to enable the updated default data to meet the requirements of a pre-stored test case;
updating the default data of the virtual SIM card according to the updating command;
receiving and executing a test command;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed;
and sending the interactive information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment can not need the Comprion IT3 equipment, and also can not need to install Comprion IT3 software at the PC end, and can directly test through the interaction between the PC end and the mobile phone end, thereby reducing the test cost and simplifying the test flow.
In one embodiment, the method further comprises:
when the network is in a preset network-resident state simulated by the network comprehensive tester, acquiring network-resident data in the preset network-resident state;
and sending the network residing data.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the embodiment, the network comprehensive tester can be directly controlled by the PC terminal to simulate the network-resident state of the mobile phone terminal, the network-resident condition of the SIM card at the mobile phone terminal is tested, the test cost is reduced, and the test flow is simplified.
In one embodiment, the updating the default data of the virtual SIM card according to the update command includes:
and writing the default data into the virtual SIM card through a first interface according to the updating command.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the embodiment, the default data can be written into the virtual SIM card through the first interface, so that the PC end can directly write the default data into the virtual SIM card of the terminal, and the Comprion IT3 equipment is not needed, and Comprion IT3 software is not needed to be installed at the PC end, so that the test cost is reduced, and the test flow is simplified.
In an embodiment, the obtaining of the interaction information between the terminal and the virtual SIM card when the test command is executed includes:
and reading the interaction information from the virtual SIM card through a second interface.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment, the interactive information in the virtual SIM card can be read through the second interface, so that the PC end can directly read the interactive information from the virtual SIM card of the terminal, and the Comprion IT3 equipment is not needed, and the Comprion IT3 software is not needed to be installed at the PC end, thereby reducing the test cost and simplifying the test flow.
In one embodiment, the acquiring the network-residing data in the preset network-residing state includes:
and reading the network-residing data from the virtual SIM card through the third interface.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment, the network residing data in the virtual SIM card can be read through the third interface, so that the PC end can directly read the network residing data from the virtual SIM card of the terminal, and there is no need for Comprion IT3 equipment or for installing Comprion IT3 software at the PC end, thereby reducing the test cost and simplifying the test flow.
According to a third aspect of the embodiments of the present disclosure, there is provided a device for testing protocol conformance of a subscriber identity module card, including:
the first sending module is used for sending an updating command to the terminal according to a pre-stored test case, wherein the updating command is used for indicating the terminal to update default data of the virtual subscriber identity module SIM card so that the updated default data can meet the requirements of the pre-stored test case;
the second sending module is used for sending a test command to the terminal according to the test case;
the first acquisition module is used for acquiring the interactive information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and the determining module is used for determining the protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case.
In one embodiment, the apparatus further comprises:
the control module is used for controlling the network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
the second acquisition module is used for acquiring network residing data in a preset network residing state from the terminal;
the determining module includes:
and the determining submodule is used for determining the protocol consistency of the virtual SIM card according to whether the network-resident data and the interactive information are matched with the test case.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a device for testing protocol consistency of a subscriber identity module card, including:
a first receiving module, configured to receive an update command, where the update command is used to instruct to update default data of a virtual subscriber identity module SIM card;
the updating module is used for updating the default data of the virtual SIM card according to the updating command so as to enable the updated default data to meet the requirements of the pre-stored test cases;
the second receiving module is used for receiving the test command;
the execution module is used for executing the test command;
a third obtaining module, configured to obtain interaction information between the terminal and the virtual SIM card when the test command is executed;
and the third sending module is used for sending the interactive information.
In one embodiment, the apparatus further comprises:
the fourth acquisition module is used for acquiring the network residing data in the preset network residing state when the network integrated tester simulates the preset network residing state;
and the fourth sending module is used for sending the network residing data.
In one embodiment, the update module comprises:
and the updating submodule is used for writing the default data into the virtual SIM card through a first interface according to the updating command.
In one embodiment, the third obtaining module comprises:
and the first reading submodule is used for reading the interaction information from the virtual SIM card through a second interface.
In one embodiment, the fourth obtaining module includes:
and the second reading submodule is used for reading the network-residing data from the virtual SIM card through the third interface.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a system for protocol conformance testing of a subscriber identity module card, including: including terminal and personal computer PC end, wherein:
the terminal is used for sending an update command to the terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of the virtual subscriber identity module SIM card so that the updated default data can meet the requirements of the pre-stored test case;
the PC terminal is used for receiving an update command, and the update command is used for indicating the update of default data of the virtual subscriber identity module SIM card; updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
the terminal is also used for sending a test command to the terminal according to the test case;
the PC end is also used for receiving and executing the test command; acquiring interaction information between the terminal and the virtual SIM card when the test command is executed; sending the interactive information;
the terminal is further used for acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal; and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
In one embodiment, the system further comprises a network integrator; wherein:
the PC terminal is used for controlling the network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
the network comprehensive tester is used for simulating the preset network-resident state under the control of the PC terminal so as to enable the terminal to be in the preset network-resident state;
the terminal is used for acquiring the network residing data in the preset network residing state when the terminal is in the preset network residing state simulated by the network comprehensive tester; sending the network residing data;
the PC terminal is also used for acquiring network residing data in a preset network residing state from the terminal; and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram illustrating a protocol conformance testing system of a SIM card according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a protocol conformance testing method for a subscriber identity module card according to an exemplary embodiment.
FIG. 3 is a block diagram illustrating a protocol conformance testing system for a subscriber identity module card, according to an example embodiment.
Fig. 4 is a schematic diagram illustrating a protocol conformance testing method for a subscriber identity module card, according to an example embodiment.
Fig. 5 is a flowchart illustrating a protocol conformance testing method of a subscriber identity module card according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a protocol conformance testing method of a subscriber identity module card according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
FIG. 14 is a block diagram illustrating a protocol conformance test system for a subscriber identity module card, according to an example embodiment.
FIG. 15 is a block diagram illustrating a protocol conformance test system for a subscriber identity module card, according to an example embodiment.
Fig. 16 is a block diagram illustrating a protocol conformance testing apparatus of a subscriber identity module card according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a block diagram of a protocol conformance testing system for a SIM card according to an exemplary embodiment, in the related art, a protocol conformance test for a SIM card of a mobile phone is mainly performed by the testing system shown in fig. 1, as shown in fig. 1, a mobile phone 101 is connected to a network comprehensive tester 102 through a radio frequency line; after being inserted into the analog card 103, the mobile phone 101 is connected with the company IT3 device 104; the compion IT3 device 104 controls the network complex 102; the PC terminal, such as the computer terminal 105, is provided with Comprion IT3 software to control Comprion IT3 equipment 104; the computer terminal 105 can control the network comprehensive tester 102 to simulate the network-resident state of the mobile phone 101 inserted into the simulation card 103 through the compion IT3 device 104 according to the test case; when performing the protocol consistency test, the computer 105 executes the test case through the compion IT3 software, and determines whether the test passes according to some mobile phone networking status data returned by the network integrated tester, some mobile phone networking status data read by the compion IT3 device 104 on the simulation card 103, and interaction data between the simulation card 103 and the mobile phone. The testing method needs more hardware, has high testing cost and complex testing flow.
In the embodiment, during testing, the PC terminal may send an update command to the terminal according to a pre-stored test case, and instruct the terminal to update default data of the SIM card; directly sending a test command to the terminal according to the test case, and acquiring interactive information between the terminal and the virtual SIM card when the test command is executed from the terminal; and then determining the protocol consistency of the virtual SIM card according to the interactive information and the test case. The testing method provided by the embodiment does not need the Comprion IT3 equipment, does not need to install Comprion IT3 software at the PC end, can directly carry out testing through interaction between the PC end and the mobile phone end, reduces the testing cost and simplifies the testing process.
Fig. 2 is a flowchart illustrating a protocol conformance testing method for a sim card according to an exemplary embodiment, where as shown in fig. 2, the protocol conformance testing method for the sim card is used in a terminal device such as a computer, and includes the following steps 201 to 204:
in step 201, an update command is sent to a terminal according to a pre-stored test case, where the update command is used to instruct the terminal to update default data of a virtual subscriber identity module SIM card, so that the updated default data meets the requirements of the pre-stored test case.
In step 202, a test command is sent to the terminal according to the test case.
In step 203, the interaction information between the terminal and the virtual SIM card when the test command is executed is obtained from the terminal.
In step 204, determining protocol consistency of the virtual SIM card according to whether the interaction information matches the test case.
In this embodiment, the terminals may be all terminals that need to be inserted with the SIM card for communication, such as a mobile phone, a tablet computer, and the like, and the terminals all need to perform a protocol consistency test on the SIM card before shipping. A Test Case (Test Case) is a set of Test inputs, execution conditions, and expected results tailored for a particular target to Test a certain program path or verify whether a certain specific requirement is met. The test case in this embodiment is a set of test inputs, execution conditions, and expected results compiled for testing protocol consistency of the SIM card in the terminal.
Fig. 3 is a block diagram illustrating a protocol conformance testing system for a SIM card according to an exemplary embodiment, which includes a computer 301 and a terminal 302 installed with a virtual SIM card. The computer 301 stores a test case, and the test case records an execution condition: default data of the virtual SIM card, such as IMSI (International mobile subscriber Identity), ICCID (integrated circuit card Identity), etc.; when the computer tests the consistency of the SIM card protocol of the terminal 302, the computer 301 executes the test case, sends an update command to the terminal, the update command carries the default data of the virtual SIM card, and instructs the terminal to update the default data of the virtual SIM card, so that the updated default data meets the pre-stored test case requirement. Then, the computer 301 may test the protocol consistency of the virtual SIM card with the default data in the terminal 302, the computer 301 continues to execute the test case, and sends a test command to the terminal 302, where the test command carries a test input for instructing the terminal to perform a preset operation such as shutdown, entering a flight mode, writing a contact information into the virtual SIM card, and the like, the terminal 302 executes the test command after receiving the test command, the virtual SIM card of the terminal 302 records the interaction information between the terminal and the virtual SIM card when executing the test command, and usually records the interaction information in an APDU (application protocol data unit) log, the terminal 302 sends the recorded interaction information to the computer 301, so that the computer 301 may obtain the interaction information between the terminal and the virtual SIM card when executing the test command, and the computer 301 compares the interaction information with an expected result recorded in the test case, such as standard interaction information, and if the test case is matched with the protocol consistency of the virtual SIM card, the test corresponding to the test case is considered to pass. The computer 301 may continue to execute the test case according to the above-mentioned flow, send a test command to the terminal 302, obtain the interaction information, and complete other tests.
It should be noted that the virtual SIM card is mainly used for network residence, data service, and the like, and functions of the SIM card, such as functions of an STK (subscriber identity module Kit, subscriber identity module application development Tool), and the like, may be completed according to the test requirements of this embodiment.
The testing method provided by the embodiment does not need the Comprion IT3 equipment, does not need to install Comprion IT3 software at the PC end, can directly carry out testing through interaction between the PC end and the mobile phone end, reduces the testing cost and simplifies the testing process.
As a possible implementation manner, the protocol conformance testing method for the subscriber identity module card may further include steps a1 and a2, and the step 204 may be implemented as step A3.
In step a1, the network integrated tester is controlled according to the test case to enable the terminal to be in a preset network-resident state.
In step a2, network residing data in a preset network residing state is acquired from the terminal.
In step a3, determining protocol consistency of the virtual SIM card according to whether the interaction information matches the test case.
In this embodiment, the protocol conformance test of the SIM card also includes a test of the SIM card network resident status, which, with reference to figure 3, the testing system further comprises a network comprehensive tester 303, the computer 301 controls the network comprehensive tester 303 to simulate the network-resident state of the terminal 302 according to the test input recorded in the test case, the virtual SIM card of the terminal 302 generates corresponding network-resident data in the corresponding network-resident state, the terminal 302 sends the recorded network-resident data to the computer 301, thus, the computer 301 can obtain the network-resident data of the terminal in the preset network-resident state, so that the computer 301 can compare the interaction information with the expected result recorded in the test case, such as the standard interaction information, and compares the network-resident data with expected results recorded in the test case, such as standard network-resident data, and if the two are matched, determining that one test corresponding to the test case in the protocol consistency of the virtual SIM card passes. The computer 301 may continue to execute subsequent test cases according to the above-mentioned flow, control the network comprehensive tester 303 to make the terminal 302 in a preset network-resident state, obtain network-resident data, and the like.
The embodiment can also directly simulate the network-resident state of the mobile phone end through the PC end control network comprehensive tester, test the network-resident condition of the SIM card at the mobile phone end, reduce the test cost and simplify the test flow.
Fig. 4 is a flowchart illustrating a protocol conformance testing method for a subscriber identity module card according to an exemplary embodiment, where as shown in fig. 4, the protocol conformance testing method for the subscriber identity module card is used in a terminal device such as a mobile phone, and includes the following steps 401 to 404:
in step 401, an update command is received, the update command being used to instruct updating of default data of a virtual subscriber identity module, SIM, card.
In step 402, the default data of the virtual SIM card is updated according to the update command, so that the updated default data meets the pre-stored test case requirements.
In step 403, a test command is received and executed.
In step 404, the interaction information between the terminal and the virtual SIM card when the test command is executed is obtained.
In step 405, the interaction information is sent.
Referring to fig. 3, the computer 301 executes the test case, sends an update command to the terminal, where the update command carries default data of a virtual SIM card, and the terminal updates the default data of the virtual SIM card after receiving the update command, then the computer 301 can test protocol consistency of the virtual SIM card with the default data in the terminal 302, the computer 301 continues to execute the test case, and sends a test command to the terminal 302, where the test command carries a test input, and the test input is used to instruct the terminal to perform preset operations such as shutdown, entering a flight mode, writing a contact information into the virtual SIM card, and the like, the terminal 302 executes the test command after receiving the test command, and interaction information between the terminal and the virtual SIM card when executing the test command is recorded in the virtual SIM card of the terminal 302, and is usually recorded in an APDU log, the terminal 302 sends the recorded interaction information to the computer 301, so that the computer 301 can obtain the interaction information between the terminal and the virtual SIM card when executing the test command, the computer 301 compares the interaction information with an expected result, such as standard interaction information, recorded in the test case, and if the interaction information is matched with the expected result, such as standard interaction information, the test case corresponding to the test case in the protocol consistency of the virtual SIM card is considered to pass through.
The testing method provided by the embodiment does not need the Comprion IT3 equipment, does not need to install Comprion IT3 software at the PC end, can directly carry out testing through interaction between the PC end and the mobile phone end, reduces the testing cost and simplifies the testing process.
As a possible implementation manner, the protocol conformance testing method for the SIM card can further comprise steps B1-B2.
In step B1, when the network integrated tester is in the preset network-resident state, acquiring network-resident data in the preset network-resident state;
in step B2, the network-resident data is sent.
In this embodiment, the protocol consistency test of the SIM card further includes a test on a network residing state of the SIM card, referring to fig. 3, the test system further includes a network integrator 303, the computer 301 controls the network integrator 303 to simulate the network residing state of the terminal 302 according to a test input recorded in the test case, the terminal 302 generates corresponding network residing data when being in a preset network residing state simulated by the network integrator 303, the terminal 302 obtains the network residing data and sends the network residing data to the computer 301, so that the computer 301 can obtain the network residing data of the terminal in the preset network residing state, the computer 301 compares the network residing data with an expected result, such as standard network residing data, recorded in the test case, and if the network residing data is matched with the expected result, such as standard network residing data, it is determined that a test corresponding to the test case in the protocol consistency of the virtual SIM card passes.
The embodiment can also directly simulate the network-resident state of the mobile phone end through the PC end control network comprehensive tester, test the network-resident condition of the SIM card at the mobile phone end, reduce the test cost and simplify the test flow.
As a possible implementation, the step 402 may be implemented as step C1.
In step C1, the default data is written to the virtual SIM card through the first interface according to the update command.
In this embodiment, the virtual SIM card provides the first interface to the terminal, so that the terminal can write default data to the virtual SIM card through the first interface after receiving the update command.
According to the embodiment, the default data can be written into the virtual SIM card through the first interface, so that the PC end can directly write the default data into the virtual SIM card of the terminal, and Compaion IT3 equipment is not needed, and Compaion IT3 software is not needed to be installed at the PC end, so that the test cost is reduced, and the test flow is simplified.
As a possible implementation, the step 404 may be implemented as step D1.
In step D1, the interaction information is read from the virtual SIM card through a second interface.
In this embodiment, the virtual SIM card provides a second interface to the terminal, so that the terminal can read the interaction information between the terminal and the virtual SIM card from the virtual SIM card through the second interface.
It should be noted here that the first interface and the second interface may be the same interface or different interfaces.
In the embodiment, the interactive information in the virtual SIM card can be read through the second interface, so that the PC end can directly read the interactive information from the virtual SIM card of the terminal, and there is no need for compion IT3 equipment or for installing compion IT3 software at the PC end, thereby reducing the testing cost and simplifying the testing process.
As a possible implementation, the step B1 may be implemented as step B11.
In step B11, the network-residing data is read from the virtual SIM card through the third interface.
In this embodiment, the virtual SIM card provides a third interface to the terminal, so that the terminal can read the network-residing data from the virtual SIM card through the second interface and then send the network-residing data to the PC.
It should be noted here that the third interface and the first interface may be the same interface, and the third interface and the second interface may also be the same interface, or the third interface and the first interface and the second interface may be the same interface, or the first interface, the second interface, and the third interface may be different interfaces.
In the embodiment, the network residing data in the virtual SIM card can be read through the third interface, so that the PC end can directly read the network residing data from the virtual SIM card of the terminal, and there is no need for a compion IT3 device or for a compion IT3 software installed at the PC end, thereby reducing the testing cost and simplifying the testing process.
The implementation is described in detail below by way of several embodiments.
Fig. 5 is a flowchart illustrating a protocol conformance testing method for a subscriber identity module card according to an exemplary embodiment, as shown in fig. 5, including steps 501 to 510.
In step 501, the PC sends an update command to the terminal according to the pre-stored test case, and the terminal receives the update command, where the update command is used to instruct the terminal to update the default data of the SIM card, so that the updated default data meets the requirements of the pre-stored test case.
In step 502, the terminal updates the default data of the virtual SIM card according to the update command.
In step 503, the PC sends a test command to the terminal according to the test case.
In step 504, the terminal receives and executes the test command.
In step 505, the terminal obtains the interaction information between the terminal and the virtual SIM card when executing the test command.
In step 506, the terminal sends the interaction information, and the PC obtains the interaction information between the terminal and the virtual SIM card when executing the test command from the terminal.
In step 507, the PC controls the network integrated tester according to the test case to enable the terminal to be in a preset network-resident state.
In step 508, when the terminal is in the preset network-resident state simulated by the network integrated tester, the terminal acquires network-resident data in the preset network-resident state.
In step 509, the terminal sends the network-residing data, and the PC obtains the network-residing data in the preset network-residing state from the terminal.
In step 510, the PC determines the protocol consistency of the virtual SIM card according to whether the network-resident data and the interaction information are matched with the test case.
Fig. 6 is a flowchart illustrating a protocol conformance testing method for a subscriber identity module card according to an exemplary embodiment, as shown in fig. 6, including steps 601 to 610.
In step 601, the PC sends an update command to the terminal according to the pre-stored test case, and the terminal receives the update command, where the update command is used to instruct the terminal to update the default data of the SIM card, so that the updated default data meets the requirements of the pre-stored test case.
In step 602, the terminal writes the default data into the virtual SIM card through the first interface according to the update command.
In step 603, the PC sends a test command to the terminal according to the test case.
In step 604, the terminal receives and executes the test command.
In step 605, the terminal reads, through the second interface, interaction information between the terminal and the virtual SIM card when the test command is executed from the virtual SIM card.
In step 606, the terminal sends the interaction information, and the PC side obtains the interaction information between the terminal and the virtual SIM card when executing the test command from the terminal;
in step 607, the PC controls the network integrated tester according to the test case to make the terminal in a preset network-resident state.
In step 608, when the terminal is in the preset network-resident state simulated by the network integrated tester, the terminal reads the network-resident data in the preset network-resident state from the virtual SIM card through the third interface.
In step 609, the terminal sends the network-residing data, and the PC acquires the network-residing data in a preset network-residing state from the terminal.
In step 610, the PC determines the protocol consistency of the virtual SIM card according to whether the network-resident data and the interaction information are matched with the test case.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 7 is a block diagram illustrating a protocol conformance testing apparatus for a sim card, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 7, the apparatus for testing protocol conformance of a sim card comprises: a first sending module 701, a second sending module 702, a first obtaining module 703 and a determining module 704; wherein:
a first sending module 701, configured to send an update command to a terminal according to a pre-stored test case, where the update command is used to instruct the terminal to update default data of a virtual subscriber identity module SIM card, so that the updated default data meets a requirement of the pre-stored test case;
a second sending module 702, configured to send a test command to the terminal according to the test case;
a first obtaining module 703, configured to obtain, from the terminal, interaction information between the terminal and the virtual SIM card when the test command is executed;
a determining module 704, configured to determine protocol consistency of the virtual SIM card according to whether the interaction information matches the test case.
As a possible embodiment, the protocol conformance testing apparatus for a subscriber identity module card disclosed above may further include: a control module 705, a second obtaining module 706; the determining module 704 may further be configured to include a determining sub-module 7041, and fig. 8 is a block diagram of a protocol conformance testing apparatus relating to the subscriber identity module card, wherein:
the control module 705 is configured to control the network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
a second obtaining module 706, configured to obtain, from the terminal, network residing data in a preset network residing state;
a determining submodule 7041, configured to determine protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
Fig. 9 is a block diagram illustrating a protocol conformance testing apparatus of a sim card, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 9, the protocol conformance testing apparatus for a subscriber identity module card includes: a first receiving module 901, an updating module 902, a second receiving module 903, an executing module 904, a third obtaining module 905 and a third sending module 906; wherein:
a first receiving module 901, configured to receive an update command, where the update command is used to instruct to update default data of a virtual subscriber identity module SIM card;
an updating module 902, configured to update the default data of the virtual SIM card according to the update command, so that the updated default data meets a pre-stored test case requirement;
a second receiving module 903, configured to receive a test command;
an execution module 904 for executing the test command;
a third obtaining module 905, configured to obtain interaction information between the terminal and the virtual SIM card when the test command is executed;
a third sending module 906, configured to send the interaction information.
As a possible embodiment, the protocol conformance testing apparatus for a subscriber identity module card disclosed above may further include: a fourth acquiring module 907 and a fourth sending module 908, and fig. 10 is a block diagram of a protocol conformance testing apparatus related to the subscriber identity module card, wherein:
a fourth obtaining module 907, configured to obtain, when the network integrated tester is in a preset network-resident state simulated by the network integrated tester, network-resident data in the preset network-resident state;
a fourth sending module 908, configured to send the network-residing data.
As a possible embodiment, the protocol conformance testing apparatus for a subscriber identity module card disclosed above may further configure the update module 902 to include an update submodule 9021, and fig. 11 is a block diagram of the protocol conformance testing apparatus relating to the subscriber identity module card, where:
and the updating submodule 9021 is configured to write the default data into the virtual SIM card through the first interface according to the updating command.
As a possible embodiment, the protocol conformance testing apparatus for a sim card disclosed above may further configure the third obtaining module 905 to include a first reading sub-module 9051, and fig. 12 is a block diagram of the protocol conformance testing apparatus for a sim card, where:
the first reading sub-module 9051 is configured to read the interaction information from the virtual SIM card through the second interface.
As a possible embodiment, the protocol conformance testing apparatus for a subscriber identity module card disclosed above may further configure the fourth obtaining module 907 to include a second reading sub-module 9071, and fig. 13 is a block diagram of the protocol conformance testing apparatus relating to the subscriber identity module card, where:
and the second reading sub-module 9071 is configured to read the network-residing data from the virtual SIM card through the third interface.
Corresponding to the foregoing method provided by the embodiment of the present disclosure, the embodiment of the present disclosure further provides a system for testing protocol consistency of a subscriber identity module card, as shown in fig. 14, the system includes a terminal 141 and a PC terminal 142 of a personal computer, where:
the terminal 141 is configured to send an update command to the terminal according to a pre-stored test case, where the update command is used to instruct the terminal to update default data of the virtual subscriber identity module SIM card, so that the updated default data meets the requirements of the pre-stored test case;
the PC 142 is configured to receive an update command, where the update command is used to instruct to update default data of a virtual subscriber identity module SIM card; updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
the terminal 141 is further configured to send a test command to the terminal according to the test case;
the PC terminal 142 is further configured to receive and execute a test command; acquiring interaction information between the terminal and the virtual SIM card when the test command is executed; and sending the interactive information.
The terminal 141 is further configured to obtain, from the terminal, interaction information between the terminal and the virtual SIM card when the test command is executed; and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
As a possible embodiment, the protocol conformance testing system of the subscriber identity module card disclosed above may further include a network comprehensive tester 143; wherein:
the PC terminal 142 is configured to control the network integrated tester according to the test case so that the terminal is in a preset network-resident state;
the network comprehensive tester 143 is configured to simulate the preset network presence state under the control of the PC terminal, so that the terminal is in the preset network presence state;
the terminal 141 is configured to acquire the network residing data in the preset network residing state when the terminal is in the preset network residing state simulated by the network integrated tester; sending the network residing data;
the PC terminal 142 is further configured to obtain network residing data in a preset network residing state from the terminal; and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
Fig. 16 is a block diagram illustrating a protocol conformance testing apparatus for a sim card according to an exemplary embodiment, which is suitable for use in a terminal device or a PC-side device. For example, the apparatus 1600 may be a mobile phone, a game console, a computer, a tablet device, a personal digital assistant, and the like.
Apparatus 1600 may include one or more of the following components: processing component 1601, memory 1602, power component 1603, multimedia component 1604, audio component 1605, input/output (I/O) interface 1606, sensor component 1607, and communication component 1608.
The processing component 1601 generally controls the overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 1601 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the method described above. Further, processing component 1601 may include one or more modules that facilitate interaction between processing component 1601 and other components. For example, processing component 1601 can include a multimedia module to facilitate interaction between multimedia component 1604 and processing component 1601.
The memory 1602 is configured to store various types of data to support operation at the apparatus 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1602 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 1603 provide power to the various components of the device 1600. Power components 1603 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1600.
The multimedia component 1604 includes a screen that provides an output interface between the device 1600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1604 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1605 is configured to output and/or input audio signals. For example, audio component 1605 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in memory 1602 or transmitted via communication component 1608. In some embodiments, audio component 1605 also includes a speaker for outputting audio signals.
The I/O interface 1606 provides an interface between the processing component 1601 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1607 includes one or more sensors for providing various aspects of status assessment for the device 1600. For example, sensor assembly 1607 may detect an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, the change in position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, the orientation or acceleration/deceleration of device 1600, and the change in temperature of device 1600. The sensor assembly 1607 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1607 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1607 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1608 is configured to facilitate communication between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1608 receives the broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1608 further includes a Near Field Communication (NFC) module to facilitate short range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 1602 comprising instructions, executable by processor 1620 of apparatus 1600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
An apparatus for protocol conformance testing of a subscriber identity module card, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending an update command to a terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of a virtual Subscriber Identity Module (SIM) card so that the updated default data can meet the requirements of the pre-stored test case;
sending a test command to the terminal according to the test case;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
The processor may be further configured to:
controlling a network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
obtaining network residing data in a preset network residing state from the terminal;
determining protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case, wherein the protocol consistency comprises the following steps:
and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
Or,
an apparatus for protocol conformance testing of a subscriber identity module card, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an update command, wherein the update command is used for indicating to update default data of a virtual Subscriber Identity Module (SIM) card;
updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
receiving and executing a test command;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed;
and sending the interactive information.
The processor may be further configured to:
the method further comprises the following steps:
when the network is in a preset network-resident state simulated by the network comprehensive tester, acquiring network-resident data in the preset network-resident state;
and sending the network residing data.
The processor may be further configured to:
the updating the default data of the virtual SIM card according to the updating command comprises the following steps:
and writing the default data into the virtual SIM card through a first interface according to the updating command.
The processor may be further configured to:
the acquiring the interaction information between the terminal and the virtual SIM card when the test command is executed comprises:
and reading the interaction information from the virtual SIM card through a second interface.
The processor may be further configured to:
the acquiring of the network residing data in the preset network residing state includes:
and reading the network-residing data from the virtual SIM card through the third interface.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an apparatus 1600, enable the apparatus 1600 to perform a method of protocol conformance testing of a subscriber identity module card as described above, the method comprising:
sending an update command to a terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of a virtual Subscriber Identity Module (SIM) card so that the updated default data can meet the requirements of the pre-stored test case;
sending a test command to the terminal according to the test case;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
The instructions in the storage medium may further include:
the method further comprises the following steps:
controlling a network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
obtaining network residing data in a preset network residing state from the terminal;
determining protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case, wherein the protocol consistency comprises the following steps:
and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
Alternatively, a non-transitory computer readable storage medium, wherein instructions, when executed by a processor of the apparatus 1400, enable the apparatus 1400 to perform the above-described method of protocol conformance testing of a subscriber identity module card, the method comprising:
receiving an update command, wherein the update command is used for indicating to update default data of a virtual Subscriber Identity Module (SIM) card;
updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
receiving and executing a test command;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed;
and sending the interactive information.
The instructions in the storage medium may further include:
the method further comprises the following steps:
when the network is in a preset network-resident state simulated by the network comprehensive tester, acquiring network-resident data in the preset network-resident state;
and sending the network residing data.
The instructions in the storage medium may further include:
the updating the default data of the virtual SIM card according to the updating command comprises the following steps:
and writing the default data into the virtual SIM card through a first interface according to the updating command.
The instructions in the storage medium may further include:
the acquiring the interaction information between the terminal and the virtual SIM card when the test command is executed comprises:
and reading the interaction information from the virtual SIM card through a second interface.
The instructions in the storage medium may further include:
the acquiring of the network residing data in the preset network residing state includes:
and reading the network-residing data from the virtual SIM card through the third interface.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
1. A protocol consistency test method for a subscriber identity module card is characterized by comprising the following steps:
sending an update command to a terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of a virtual Subscriber Identity Module (SIM) card so that the updated default data can meet the requirements of the pre-stored test case;
sending a test command to the terminal according to the test case;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
2. The method of claim 1, further comprising:
controlling a network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
obtaining network residing data in a preset network residing state from the terminal;
determining protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case, wherein the protocol consistency comprises the following steps:
and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
3. A protocol consistency test method for a subscriber identity module card is characterized by comprising the following steps:
receiving an update command, wherein the update command is used for indicating to update default data of a virtual Subscriber Identity Module (SIM) card;
updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
receiving and executing a test command;
acquiring interaction information between the terminal and the virtual SIM card when the test command is executed;
and sending the interactive information.
4. The method of claim 3, further comprising:
when the network is in a preset network-resident state simulated by the network comprehensive tester, acquiring network-resident data in the preset network-resident state;
and sending the network residing data.
5. The method according to claim 3, wherein the updating the default data of the virtual SIM card according to the update command comprises:
and writing the default data into the virtual SIM card through a first interface according to the updating command.
6. The method according to claim 3, wherein the obtaining of the interaction information between the terminal and the virtual SIM card when the test command is executed comprises:
and reading the interaction information from the virtual SIM card through a second interface.
7. The method according to claim 4, wherein the acquiring the presence data in the preset presence state comprises:
and reading the network-residing data from the virtual SIM card through the third interface.
8. A protocol conformance testing device for a subscriber identity module card, comprising:
the first sending module is used for sending an updating command to the terminal according to a prestored test case, wherein the updating command is used for indicating the terminal to update default data of the virtual subscriber identity module SIM card;
the second sending module is used for sending a test command to the terminal according to the test case so as to enable the updated default data to meet the requirements of the prestored test case;
the first acquisition module is used for acquiring the interactive information between the terminal and the virtual SIM card when the test command is executed from the terminal;
and the determining module is used for determining the protocol consistency of the virtual SIM card according to whether the interaction information is matched with the test case.
9. The apparatus of claim 8, further comprising:
the control module is used for controlling the network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
the second acquisition module is used for acquiring network residing data in a preset network residing state from the terminal;
the determining module includes:
and the determining submodule is used for determining the protocol consistency of the virtual SIM card according to whether the network-resident data and the interactive information are matched with the test case.
10. A protocol conformance testing device for a subscriber identity module card, comprising:
the first receiving module is used for receiving an updating command, wherein the updating command is used for indicating to update the default data of the virtual subscriber identity module SIM card so as to enable the updated default data to meet the requirements of a pre-stored test case;
the updating module is used for updating the default data of the virtual SIM card according to the updating command;
the second receiving module is used for receiving the test command;
the execution module is used for executing the test command;
a third obtaining module, configured to obtain interaction information between the terminal and the virtual SIM card when the test command is executed;
and the third sending module is used for sending the interactive information.
11. The apparatus of claim 10, further comprising:
the fourth acquisition module is used for acquiring the network residing data in the preset network residing state when the network integrated tester simulates the preset network residing state;
and the fourth sending module is used for sending the network residing data.
12. The apparatus of claim 10, wherein the update module comprises:
and the updating submodule is used for writing the default data into the virtual SIM card through a first interface according to the updating command.
13. The apparatus of claim 10, wherein the third obtaining module comprises:
and the first reading submodule is used for reading the interaction information from the virtual SIM card through a second interface.
14. The apparatus of claim 11, wherein the fourth obtaining module comprises:
and the second reading submodule is used for reading the network-residing data from the virtual SIM card through the third interface.
15. A system for testing protocol conformance of a SIM card is characterized by comprising a terminal and a PC terminal, wherein:
the terminal is used for sending an update command to the terminal according to a pre-stored test case, wherein the update command is used for indicating the terminal to update default data of the virtual subscriber identity module SIM card so that the updated default data can meet the requirements of the pre-stored test case;
the PC terminal is used for receiving an update command, and the update command is used for indicating the update of default data of the virtual subscriber identity module SIM card; updating the default data of the virtual SIM card according to the updating command so that the updated default data meets the requirements of the pre-stored test cases;
the terminal is also used for sending a test command to the terminal according to the test case;
the PC end is also used for receiving and executing the test command; acquiring interaction information between the terminal and the virtual SIM card when the test command is executed; sending the interactive information;
the terminal is further used for acquiring interaction information between the terminal and the virtual SIM card when the test command is executed from the terminal; and determining the protocol consistency of the virtual SIM card according to whether the interactive information is matched with the test case.
16. The system of claim 15, further comprising a network integrator; wherein:
the PC terminal is used for controlling the network comprehensive tester according to the test case to enable the terminal to be in a preset network-resident state;
the network comprehensive tester is used for simulating the preset network-resident state under the control of the PC terminal so as to enable the terminal to be in the preset network-resident state;
the terminal is used for acquiring the network residing data in the preset network residing state when the terminal is in the preset network residing state simulated by the network comprehensive tester; sending the network residing data;
the PC terminal is also used for acquiring network residing data in a preset network residing state from the terminal; and determining the protocol consistency of the virtual SIM card according to whether the network residing data and the interaction information are matched with the test case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611131361.5A CN106533841A (en) | 2016-12-09 | 2016-12-09 | Method, apparatus and system for testing protocol consistency of user identification module cards |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611131361.5A CN106533841A (en) | 2016-12-09 | 2016-12-09 | Method, apparatus and system for testing protocol consistency of user identification module cards |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106533841A true CN106533841A (en) | 2017-03-22 |
Family
ID=58342896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611131361.5A Pending CN106533841A (en) | 2016-12-09 | 2016-12-09 | Method, apparatus and system for testing protocol consistency of user identification module cards |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533841A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107466059A (en) * | 2017-09-13 | 2017-12-12 | 苏州简约纳电子有限公司 | The method and system of usim card is simulated in a kind of LTE terminal test |
CN113778773A (en) * | 2021-09-09 | 2021-12-10 | 展讯通信(天津)有限公司 | SIM card simulation method and device and electronic equipment |
CN115022919A (en) * | 2022-06-02 | 2022-09-06 | 三星半导体(中国)研究开发有限公司 | Testing method, device and system based on soft SIM |
CN116074883A (en) * | 2023-01-12 | 2023-05-05 | 中国联合网络通信集团有限公司 | Terminal testing method based on eSIM technology, terminal, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207798A1 (en) * | 2006-03-03 | 2007-09-06 | Basil Talozi | Improved subscriber identity module (sim) application toolkit test method and system |
CN201260230Y (en) * | 2008-09-01 | 2009-06-17 | 信息产业部电信传输研究所 | TD-SCDMA terminal card interface test system |
US20100299020A1 (en) * | 2006-12-19 | 2010-11-25 | Gerhard Koepf | System and method for provisioning a vehicle interface module |
CN104113853A (en) * | 2013-04-19 | 2014-10-22 | 深圳电信研究院 | Detection method for interface between mobile terminal and SIM card and detection device thereof |
CN105120483A (en) * | 2015-07-08 | 2015-12-02 | 惠州Tcl移动通信有限公司 | Method and system for automatically testing compatibility between intelligent card and mobile terminal |
-
2016
- 2016-12-09 CN CN201611131361.5A patent/CN106533841A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207798A1 (en) * | 2006-03-03 | 2007-09-06 | Basil Talozi | Improved subscriber identity module (sim) application toolkit test method and system |
US20100299020A1 (en) * | 2006-12-19 | 2010-11-25 | Gerhard Koepf | System and method for provisioning a vehicle interface module |
CN201260230Y (en) * | 2008-09-01 | 2009-06-17 | 信息产业部电信传输研究所 | TD-SCDMA terminal card interface test system |
CN104113853A (en) * | 2013-04-19 | 2014-10-22 | 深圳电信研究院 | Detection method for interface between mobile terminal and SIM card and detection device thereof |
CN105120483A (en) * | 2015-07-08 | 2015-12-02 | 惠州Tcl移动通信有限公司 | Method and system for automatically testing compatibility between intelligent card and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107466059A (en) * | 2017-09-13 | 2017-12-12 | 苏州简约纳电子有限公司 | The method and system of usim card is simulated in a kind of LTE terminal test |
CN107466059B (en) * | 2017-09-13 | 2021-01-26 | 苏州简约纳电子有限公司 | System for simulating USIM card in LTE terminal test |
CN113778773A (en) * | 2021-09-09 | 2021-12-10 | 展讯通信(天津)有限公司 | SIM card simulation method and device and electronic equipment |
CN113778773B (en) * | 2021-09-09 | 2024-01-16 | 展讯通信(天津)有限公司 | SIM card simulation method and device and electronic equipment |
CN115022919A (en) * | 2022-06-02 | 2022-09-06 | 三星半导体(中国)研究开发有限公司 | Testing method, device and system based on soft SIM |
CN116074883A (en) * | 2023-01-12 | 2023-05-05 | 中国联合网络通信集团有限公司 | Terminal testing method based on eSIM technology, terminal, electronic equipment and storage medium |
CN116074883B (en) * | 2023-01-12 | 2024-11-08 | 中国联合网络通信集团有限公司 | Terminal testing method based on eSIM technology, terminal, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180365004A1 (en) | Method and device for calling software development kit | |
EP2991275A1 (en) | Making router management application compatible with router firmware | |
CN104536891A (en) | Method and device for testing system | |
CN107562500B (en) | Debugging device, method and equipment | |
CN114484775B (en) | Control method, data processing method, device and storage medium for air conditioner | |
CN106533841A (en) | Method, apparatus and system for testing protocol consistency of user identification module cards | |
CN106775903B (en) | Security policy file updating method and device | |
CN107423218A (en) | Application testing method, device and terminal | |
CN115408277B (en) | Interface testing method and device | |
CN114563688B (en) | PFC hardware circuit testing method, device and medium | |
CN106612149B (en) | Radio frequency circuit testing method, device and system and mobile terminal | |
CN105630447B (en) | Adjust the method and device of text importing | |
CN110852163A (en) | Binding method and device | |
CN109656308B (en) | Frequency configuration adjusting method and device, electronic equipment and storage medium | |
CN108667539B (en) | Frequency band testing method and device for shielding room and electronic equipment | |
CN112383661B (en) | Mobile terminal automatic test method and device, electronic equipment and storage medium | |
CN112631695A (en) | Data verification method and device, electronic equipment and storage medium | |
CN108132782B (en) | Automatic programming device and electronic equipment | |
CN112817868A (en) | Information processing method, apparatus and medium | |
CN113590382B (en) | NFC function processing method, NFC function processing device and storage medium | |
CN106713981B (en) | The operating mode recognition methods of TV host and device | |
CN114158066B (en) | Wireless communication module configuration generation method and device, electronic equipment and storage medium | |
CN109710274B (en) | Debugging function starting method and device | |
CN109739763B (en) | Code segment operation method, device, terminal and storage medium | |
CN117202214A (en) | Operator function configuration method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |