CN107466059B - System for simulating USIM card in LTE terminal test - Google Patents

System for simulating USIM card in LTE terminal test Download PDF

Info

Publication number
CN107466059B
CN107466059B CN201710822596.7A CN201710822596A CN107466059B CN 107466059 B CN107466059 B CN 107466059B CN 201710822596 A CN201710822596 A CN 201710822596A CN 107466059 B CN107466059 B CN 107466059B
Authority
CN
China
Prior art keywords
usim
data
test
simulation
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710822596.7A
Other languages
Chinese (zh)
Other versions
CN107466059A (en
Inventor
栾忠兰
张建立
赵志洲
张权
董浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Simplight Nanoelectronics Co ltd
Original Assignee
Suzhou Simplight Nanoelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Simplight Nanoelectronics Co ltd filed Critical Suzhou Simplight Nanoelectronics Co ltd
Priority to CN201710822596.7A priority Critical patent/CN107466059B/en
Publication of CN107466059A publication Critical patent/CN107466059A/en
Application granted granted Critical
Publication of CN107466059B publication Critical patent/CN107466059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses a system for simulating a USIM card in LTE terminal test, which comprises a test system, a man-machine interface MMI, a terminal tested module, a USIM simulation module and an NV module; the method comprises the following steps: s1, configuring NV test information; s2, reading configuration information and data items of NV; s3, setting data information of a simulation USIM system; s4, searching network by using the information of the simulation USIM, authenticating the network by using data, replacing the entity USIM card by using the simulation USIM system, and updating the information in the registration process in real time. The method and the system provided by the invention have the advantages of low manufacturing cost and convenience in testing, can automatically test in batches, avoid the test failure under abnormal conditions, can continue the test under the condition that the USIM card and the card slot are damaged or the contact of the machine card is poor, and can directly enter the debugging work of the test case when the data of the entity USIM card is abnormal.

Description

System for simulating USIM card in LTE terminal test
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for simulating a USIM card in LTE terminal test.
Background
The LTE terminal needs to go through a series of certification tests before being used commercially, and manufacturers in the market mainly include ari, rod, agilent, schwarz, starriver bright spots, etc., and the test systems are various, such as TS8980 system of rod and schwarz, CMW500, MD8430 of ari, ME7834L/7873L, etc. Different test systems are typically configured with one or more test cards or special purpose cards to perform machine-card interaction during the test process.
In the terminal test of the application of the internet of things, the USIM card has the main functions of providing user identification information, PLMN information, security context and the like for a terminal registration network through a series of files, assisting the terminal to search for proper cell residence more quickly, and completing the mutual authentication process of the terminal to the network and the terminal in the registration process.
In the test and authentication process, a set of test terminals is generally provided for each test, and corresponding test cards are inserted. However, in the early stage of testing, when the performance of the terminal chip is uncertain, the terminal is tenser, and the test card needs to be frequently plugged and replaced to apply different instruments, so that the test is disordered, and the test card and the card slot are abraded. When the USIM card tests are not completely completed and the drive is unstable, the test process cannot be carried out due to the interference of the card reading part of the open machine, and the debugging of other contents is influenced.
When a third-party test laboratory is used for debugging and testing, a test card can be used by testing personnel who go to verify before each family, and due to the fact that in the debugging stage, the conditions of abnormal operation of a plurality of cards, such as abnormally stored RPLMN information, an incorrectly stored forbidden PLMN list and the like, a cell search residence process is prolonged, a proper cell can be searched only through a series of band search, frequency sweep and the like, and a proper cell residence can not be searched all the time, so that a test flow cannot be initiated, and the test of a series of related cases is influenced. Based on the method, the invention provides a method and a system for simulating a USIM card in LTE terminal test.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a method and a system for simulating a USIM card in LTE terminal test.
A system for simulating a USIM card in LTE terminal test comprises a test system, a man-machine interaction interface MMI, a terminal tested module, a USIM simulation module and an NV module, wherein the test system, the man-machine interaction interface MMI, the terminal tested module and the USIM simulation module are sequentially connected, and the man-machine interaction interface MMI, the terminal tested module and the USIM simulation module are also respectively connected with the NV module;
the method for simulating the USIM card in the LTE terminal test comprises the following steps:
s1, configuring NV test information on a man-machine interaction interface MMI of the terminal by a tester;
s2, reading configuration information and data items of NV after the USIM module is started;
s3, setting data information of a simulation USIM system according to the related configuration in NV by the simulation USIM;
s4, searching network by using the information of the simulation USIM, authenticating the network by using data, replacing the entity USIM card by using the simulation USIM system, and updating the information in the registration process in real time.
Preferably, the NV defines a data item for USIM configuration, defines a type for each application requirement, each NV type is represented by a numerical value, and defines a series of test applications simulating USIMs by enumerating the types, specifically represented as:
typedef enum{
FUSIM_TYPE1 = 0,
FUSIM_TYPE2,
FUSIM_TYPE3,
FUSIM_MAX_TYPE
} NV_sUSIMType。
preferably, each NV type definition corresponds to a set of analog USIM system, and each analog USIM system is composed of two parts, namely file data and authentication data.
Preferably, the file data is a series of file data defined by referring to a file system of a USIM, and the data structure may be an EF file structure similar to an entity USIM or a series of custom file structures, and defines all or part of data in an original EF structure, and redefines a display mode; and specifically defining which file data need to be defined, and configuring corresponding basic file data according to the type definition of the currently selected test function.
Preferably, the authentication data includes definitions of integrity key IK data, encryption key CK data, and authentication response parameter RES data.
Preferably, the power-on registration process after replacing the physical USIM card with the analog USIM system includes the following steps:
s1, the test system sends a starting-up instruction through the MMI;
s2, after receiving the starting command, the NAS layer inquires the state of the USIM card;
s3, reading the current type definition in NV by the USIM module;
s4, the USIM simulation module acquires a corresponding file system according to the returned type definition;
s5, the simulation USIM module reports the accessibility Bitmap definition of the file to the NAS;
s6, the NAS layer of the tested module reads accessible file data from the simulation USIM system according to the received file Bitmap result;
s7, after all the file data are successfully read, simulating the USIM system to send the result to the NAS and storing the result for later use;
s8, the NAS informs the upper layer that the startup is successful, and USIM data is ready;
s9, the MMI sends an Attach registration request to the NAS;
s10, the tested module utilizes the information of RPLMN, HPLMN, EHPLMN, GUTI and Security context in the USIM system to search, reside and establish the chain process;
s11, the NAS receives an Auth _ Req authentication request transmitted by the AS in a transparent way;
s12, NAS reads the authentication data of the simulation USIM system;
s13, the simulation USIM system returns the IK, CK and RES data to the NAS;
s14, NAS sends the message that authentication succeeds;
s15, the AS and the NAS finish a Security Mode Control interaction flow;
s16, the NAS receives ATTACH ACCEPT messages transmitted by the AS in a transparent mode;
s17, the NAS COMPLETEs the default load activation and returns an ATTACH COMPLETE message;
s18, the NAS reports the message ATTACH _ CNF of the successful terminal registration;
and S19, updating the data of the simulated USIM file, including the position information and the security context information of the terminal.
The method and the system for simulating the USIM replace the original entity USIM card, adopt software to simulate the USIM file system and the authentication process, utilize the data items in NV to control the data of various simulation USIM systems, and different types of values represent different test functions and test instrument configurations, thereby achieving the purpose of testing the terminal on different test systems. Under the condition that no USIM card exists and no USIM card is used, a terminal authentication test is carried out; its advantages include the following:
1) the manufacturing cost of the USIM card is saved;
2) when each module unit of the terminal is tested and the script is tested, the simulation of the USIM system is more convenient than the real USIM card;
3) the RF, RRM and PCT tests of the terminal can be synchronously carried out with the USIM verification test;
4) when the USIM module is unstable in performance, the system can be used for better performing automatic batch test, so that test failure under abnormal conditions is avoided;
5) under the condition that the USIM card is damaged, the card slot is damaged or the contact of the machine card is poor, the test can be continuously carried out without influencing the test progress;
6) when the USIM card data of an entity is abnormal during the test of a third-party laboratory, the debugging work of a test case can be directly entered after the USIM card erasing and debugging stage.
Drawings
Fig. 1 is a block diagram of a system for simulating a USIM card in an LTE terminal test according to the present invention;
fig. 2 is a diagram illustrating a relationship between NV data item configuration values and a USIM simulation system in a method and system for USIM card simulation in LTE terminal testing according to the present invention;
fig. 3 is a power-on registration process after a USIM card is replaced by a USIM simulation system in the LTE terminal test method and system according to the present invention.
Detailed Description
The present invention will be further illustrated with reference to the following specific examples.
Examples
Referring to fig. 1-3, the system for simulating the USIM card in the LTE terminal test provided by the invention comprises a test system, a man-machine interface MMI, a terminal tested module, a simulated USIM module and an NV module, wherein the test system, the man-machine interface MMI, the terminal tested module and the simulated USIM module are sequentially connected, and the man-machine interface MMI, the terminal tested module and the simulated USIM module are also respectively connected with the NV module;
the method for simulating the USIM card in the LTE terminal test comprises the following steps:
s1, configuring NV test information on a man-machine interaction interface MMI of the terminal by a tester;
s2, after the USIM simulation module is started, reading configuration information and data items of NV (network video protocol), wherein the NV defines a USIM configuration data item, a type is defined for each application requirement, each NV type is represented by a numerical value, and a series of test applications simulating a USIM are defined through enumeration types; each NV type definition corresponds to a set of simulation USIM system, and each simulation USIM system consists of two parts, namely file data and authentication data; the file data is a series of file data defined by referring to a file system of a USIM, the data structure can be an EF file structure similar to an entity USIM, and can also be a series of self-defined file structures, all or part of data in the original EF structure is defined, and a display mode is redefined; specifically defining which file data need to be defined, and configuring corresponding basic file data according to the type definition of the currently selected test function; the authentication data comprises integrity key IK data, encryption key CK data and definition of authentication response parameter RES data;
s3, setting data information of a simulation USIM system according to the related configuration in NV by the simulation USIM;
s4, in the testing process, network searching is carried out by using RPLMN/HPLMN information of a simulation USIM, network authentication is carried out by using IK/CK/RES data, after an entity USIM card is replaced by a simulation USIM system, position information, safety information and PLMN list forbidden information in the registration process are updated in real time, and the starting registration process after the entity USIM card is replaced by the simulation USIM system comprises the following steps:
s1, the test system sends a starting-up instruction through the MMI;
s2, after receiving the starting command, the NAS layer inquires the state of the USIM card;
s3, reading the current type definition in NV by the USIM module;
s4, the USIM simulation module acquires a corresponding file system according to the returned type definition;
s5, the simulation USIM module reports the accessibility Bitmap definition of the file to the NAS;
s6, the NAS layer of the tested module reads accessible file data from the simulation USIM system according to the received file Bitmap result;
s7, after all the file data are successfully read, simulating the USIM system to send the result to the NAS and storing the result for later use;
s8, the NAS informs the upper layer that the startup is successful, and USIM data is ready;
s9, the MMI sends an Attach registration request to the NAS;
s10, the tested module utilizes the information of RPLMN, HPLMN, EHPLMN, GUTI and Security context in the USIM system to search, reside and establish the chain process;
s11, the NAS receives an Auth _ Req authentication request transmitted by the AS in a transparent way;
s12, NAS reads the authentication data of the simulation USIM system;
s13, the simulation USIM system returns the IK, CK and RES data to the NAS;
s14, NAS sends the message that authentication succeeds;
s15, the AS and the NAS finish a Security Mode Control interaction flow;
s16, the NAS receives ATTACH ACCEPT messages transmitted by the AS in a transparent mode;
s17, the NAS COMPLETEs the default load activation and returns an ATTACH COMPLETE message;
s18, the NAS reports the message ATTACH _ CNF of the successful terminal registration;
and S19, updating the data of the simulated USIM file, including the position information and the security context information of the terminal.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (3)

1. A system for simulating a USIM card in LTE terminal test is characterized by comprising a test system, a man-machine interaction interface MMI, a terminal tested module, a simulated USIM module and an NV module, wherein the test system, the man-machine interaction interface MMI, the terminal tested module and the simulated USIM module are sequentially connected, and the man-machine interaction interface MMI, the terminal tested module and the simulated USIM module are also respectively connected with the NV module;
the method for simulating the USIM card in the LTE terminal test by adopting the system for simulating the USIM card in the LTE terminal test comprises the following steps:
s1, configuring NV test information on a man-machine interaction interface MMI of the terminal by a tester;
s2, reading configuration information and data items of NV after the USIM module is started;
s3, setting data information of the USIM simulation system by the USIM simulation module according to the NV relevant configuration;
s4, searching network by using the information of the simulation USIM in the test process, authenticating the network by using data, replacing an entity USIM card by using a simulation USIM system, and updating the information in the registration process in real time;
defining a USIM configuration data item in the NV, defining a type for each application requirement, wherein each NV type is represented by a numerical value, and defining a series of test applications simulating the USIM through enumeration types;
each NV type definition corresponds to a set of simulation USIM system, and each simulation USIM system consists of two parts, namely file data and authentication data;
the startup registration process after the entity USIM card is replaced by the simulation USIM system comprises the following steps:
s1, the test system sends a starting-up instruction through the MMI;
s2, after receiving the starting command, the NAS layer inquires the state of the USIM card;
s3, reading the current type definition in NV by the USIM module;
s4, the USIM simulation module acquires a corresponding file system according to the returned type definition;
s5, the simulation USIM module reports the accessibility Bitmap definition of the file to the NAS;
s6, the NAS layer of the tested module reads accessible file data from the simulation USIM system according to the received file Bitmap result;
s7, after all the file data are successfully read, simulating the USIM system to send the result to the NAS and storing the result for later use;
s8, the NAS informs the upper layer that the startup is successful, and USIM data is ready;
s9, the MMI sends an Attach registration request to the NAS;
s10, the tested module utilizes the information of RPLMN, HPLMN, EHPLMN, GUTI and Security context in the USIM system to search, reside and establish the chain process;
s11, the NAS receives an Auth _ Req authentication request transmitted by the AS in a transparent way;
s12, NAS reads the authentication data of the simulation USIM system;
s13, the simulation USIM system returns the IK, CK and RES data to the NAS;
s14, NAS sends the message that authentication succeeds;
s15, the AS and the NAS finish a Security Mode Control interaction flow;
s16, the NAS receives ATTACH ACCEPT messages transmitted by the AS in a transparent mode;
s17, the NAS COMPLETEs the default load activation and returns an ATTACH COMPLETE message;
s18, the NAS reports the message ATTACH _ CNF of the successful terminal registration;
and S19, updating the data of the simulated USIM file, including the position information and the security context information of the terminal.
2. The system of claim 1, wherein the file data is a series of file data defined with reference to a file system of a USIM, and a data structure may be an EF file structure of an entity USIM or a series of custom file structures, defines all or part of data in an original EF structure, and redefines a display mode; and specifically defining which file data need to be defined, and configuring corresponding basic file data according to the type definition of the currently selected test function.
3. The system of claim 1, wherein the authentication data comprises Integrity Key (IK) data, Ciphering Key (CK) data, and definitions of authentication response parameter (RES) data.
CN201710822596.7A 2017-09-13 2017-09-13 System for simulating USIM card in LTE terminal test Active CN107466059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710822596.7A CN107466059B (en) 2017-09-13 2017-09-13 System for simulating USIM card in LTE terminal test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710822596.7A CN107466059B (en) 2017-09-13 2017-09-13 System for simulating USIM card in LTE terminal test

Publications (2)

Publication Number Publication Date
CN107466059A CN107466059A (en) 2017-12-12
CN107466059B true CN107466059B (en) 2021-01-26

Family

ID=60551477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710822596.7A Active CN107466059B (en) 2017-09-13 2017-09-13 System for simulating USIM card in LTE terminal test

Country Status (1)

Country Link
CN (1) CN107466059B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109541475A (en) * 2018-12-18 2019-03-29 武汉精能电子技术有限公司 The method that automatic identification is carried out to multiple functions module simultaneously

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577713A (en) * 2009-06-02 2009-11-11 中兴通讯股份有限公司 Realization method, device and testing system for virtual user identification module
CN104113853A (en) * 2013-04-19 2014-10-22 深圳电信研究院 Detection method for interface between mobile terminal and SIM card and detection device thereof
CN104159222A (en) * 2013-05-15 2014-11-19 中兴通讯股份有限公司 Terminal, identity identification realization method, and authentication method and apparatus
CN105404574A (en) * 2015-12-10 2016-03-16 惠州Tcl移动通信有限公司 Method and apparatus for testing consistency of smart card and mobile terminal
CN106533841A (en) * 2016-12-09 2017-03-22 北京小米移动软件有限公司 Method, apparatus and system for testing protocol consistency of user identification module cards

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8532706B2 (en) * 2010-10-30 2013-09-10 Palm, Inc. Techniques to manage a subscriber identity module for a mobile wireless device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577713A (en) * 2009-06-02 2009-11-11 中兴通讯股份有限公司 Realization method, device and testing system for virtual user identification module
CN104113853A (en) * 2013-04-19 2014-10-22 深圳电信研究院 Detection method for interface between mobile terminal and SIM card and detection device thereof
CN104159222A (en) * 2013-05-15 2014-11-19 中兴通讯股份有限公司 Terminal, identity identification realization method, and authentication method and apparatus
CN105404574A (en) * 2015-12-10 2016-03-16 惠州Tcl移动通信有限公司 Method and apparatus for testing consistency of smart card and mobile terminal
CN106533841A (en) * 2016-12-09 2017-03-22 北京小米移动软件有限公司 Method, apparatus and system for testing protocol consistency of user identification module cards

Also Published As

Publication number Publication date
CN107466059A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US11507450B2 (en) Systems and methods to reprogram mobile devices via a cross-matrix controller to port connection
US11652918B2 (en) Using automatically collected device problem information to route and guide users' requests
CN110147675B (en) Safety detection method and equipment for intelligent terminal
CN106126414B (en) Application software testing method and system
CN110493812B (en) Distribution network test processing method, device and system, processor and master control equipment
CN110908909B (en) Automatic test method, device, storage medium and equipment
CN108399132A (en) A kind of scheduling tests method, apparatus and storage medium
CN109165170B (en) Method and system for automatic request test
CN106648685B (en) Intelligent terminal system application processing method and device and intelligent terminal
WO2019227708A1 (en) Online debugging apparatus and method for test case, and computer-readable storage medium
CN103778038A (en) Method and system for verifying cloud test and remote monitoring integrated circuit device
CN108089985B (en) Method, device and equipment for verifying interface return parameters and readable storage medium
CN108287789A (en) Batch-automated test method, device and electronic equipment
US20210390612A1 (en) System and Method for Upselling Customers on Mobile Device Services and Hardware
CN108733403B (en) BIOS setting method and device
CN107466059B (en) System for simulating USIM card in LTE terminal test
CN105554318B (en) Percept of call completed test device and method
CN112416734A (en) Test method, device and storage medium
US20130165099A1 (en) Enhanced System and Method for Custom Programming of Large Groups of Phones Without Requiring Additional Equipment
CN111142954B (en) Startup control method and device and computer readable storage medium
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
KR102096085B1 (en) Apparatus and method for monitoring application
CN116893978B (en) Test plan generation method, system and storage medium based on PTCRB authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant