CN107466059A - The method and system of usim card is simulated in a kind of LTE terminal test - Google Patents

The method and system of usim card is simulated in a kind of LTE terminal test Download PDF

Info

Publication number
CN107466059A
CN107466059A CN201710822596.7A CN201710822596A CN107466059A CN 107466059 A CN107466059 A CN 107466059A CN 201710822596 A CN201710822596 A CN 201710822596A CN 107466059 A CN107466059 A CN 107466059A
Authority
CN
China
Prior art keywords
usim
simulation
data
test
nas
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.)
Granted
Application number
CN201710822596.7A
Other languages
Chinese (zh)
Other versions
CN107466059B (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 SIMPLNANO ELECTRONICS CO Ltd
Original Assignee
SUZHOU SIMPLNANO ELECTRONICS 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 SIMPLNANO ELECTRONICS CO Ltd filed Critical SUZHOU SIMPLNANO ELECTRONICS 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

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 system that usim card is simulated in being tested the invention discloses a kind of LTE terminal, including test system, human-computer interaction interface MMI, terminal tested module, simulation USIM modules and NV modules;Its method comprises the following steps:S1, configuration NV test information;S2, the configuration information and data item for reading NV;S3, the data message that simulation USIM systems are set;S4, using the information for simulating USIM carry out searching net, using data to network authentication, use the information after simulation USIM systematic substitution entity usim cards and in real-time update registration process.Method and system proposed by the present invention, low manufacture cost, test are convenient, batch testing can be automated, avoid the test crash of abnormal conditions, in the case where usim card, neck damage or machine card contact is bad, it can continue to test, in entity usim card data exception, the debugging efforts of test case can be directly entered.

Description

The method and system of usim card is simulated in a kind of LTE terminal test
Technical field
Simulated the present invention relates to field of computer technology, more particularly in a kind of test of LTE terminal usim card method and System.
Background technology
LTE terminal is needed before commercialization by a series of authentication test, and the producer of this respect mainly has in the market An Li, Luo De, Agilent, Schwarz, Milky Way bright spot etc., test system is also various, such as Rohde & Schwarz Representative Office TS8980 systems, CMW500, MD8430, ME7834L/7873L of An Li companies etc..Different test systems can typically configure one Or multiple test cards or personality card, for complete the machine card in test process interaction.
In the terminal test of Internet of Things application, it by a series of files is endpoint registration net that the major function of usim card, which is, Network provides user identity information, PLMN information and safe context etc., assists terminal to faster search for suitable cell being resident, And terminal-pair network and network and the mutual authentication process of terminal are completed in registration process.
Test in verification process, be usually equipped with a set of test terminal for every test, plug corresponding test card.But Early stage is generally tested, when terminal chip performance is not known, terminal is that comparison is nervous, it is necessary to which often plug replacing test card is come Using different instruments, the chaotic situation of test is caused, also wears out test card and neck.It is inwhole to run into the every test of usim card When completing, driving unstable situation, test process can influence other because that can not be gone on the obstructing of start Card Reader part The debugging of content.
When debugging test in third-party testing laboratory, test card can be gone the tester of checking to use before each family, by Then debugging the stage, many card abnormal operations will be present, for example, store extremely RPLMN information, mistake storage Forbid PLMN lists etc., gently then extend cell searching be resident process, it is necessary to search the ability such as band, frequency sweep by a series of Search out suitable cell, it is heavy then search be resident less than suitable cell always, testing process can not be initiated, is influenceed a series of associated The test of use-case.Based on this, the present invention proposes the method and system that usim card is simulated in a kind of LTE terminal test.
The content of the invention
The invention aims to solve shortcoming present in prior art, and a kind of LTE terminal proposed is tested The method and system of middle simulation usim card.
The system that usim card is simulated in a kind of LTE terminal test, including test system, human-computer interaction interface MMI, terminal quilt Survey module, simulation USIM modules and NV modules, the test system, human-computer interaction interface MMI, terminal tested module and simulation USIM modules are sequentially connected, and human-computer interaction interface MMI, terminal tested module and simulation USIM modules also respectively with NV module phases Connection;
The method that usim card is simulated in the LTE terminal test comprises the following steps:
S1, tester test information in the human-computer interaction interface MMI configurations NV of terminal;
S2, simulation USIM modules after powering, read NV configuration information and data item;
S3, simulation USIM set the data message for simulating USIM systems according to relevant configuration in NV;
Carry out searching net using the information for simulating USIM in S4, test process, using data to network authentication, use simulation USIM systems Information after system substitution entity usim card and in real-time update registration process.
Preferably, the data item of a USIM configuration can be defined in the NV, a type is defined for each application demand, Each NV types are represented with numerical value, by a series of simulation USIM of enumeration type definition test application, are embodied as:
typedef enum{
FUSIM_TYPE1 = 0,
FUSIM_TYPE2,
FUSIM_TYPE3,
FUSIM_MAX_TYPE
} NV_sUSIMType。
Preferably, each NV type definitions have corresponded to a set of simulation USIM systems, and each USIM systems of simulating are by text Number of packages evidence and authorization data two parts are formed.
Preferably, the file data be with reference to USIM file system, a series of file datas of definition, the knot of data Structure can be analogous to entity USIM EF file structures or a series of customized file structures, define original All or part of data, lay equal stress on and define display mode in EF structures;Specifically need which file data defined, be then that basis is worked as The type definition of the test function of preceding selection, configure corresponding constituent instruments data.
Preferably, the authorization data includes integrality key IK data, encrypts key CK data, Authentication Response parameter The definition of RES data.
Preferably, the start-up logging flow after the USIM systematic substitution entity usim cards using simulation includes following step Suddenly:
S1, test system send start-up command by MMI;
S2, after receiving start-up command, NAS layers inquiry usim card state;
S3, simulation USIM modules read type definition current in NV;
S4, simulation USIM modules are according to the type definition of return, file system corresponding to acquisition;
The accessibility Bitmap definition of file is reported NAS by S5, simulation USIM modules;
S6, tested module NAS layers read addressable file according to the file Bitmap results received from simulation USIM systems Data;
S7, after successfully running through All Files data, simulate USIM systems and result is issued into NAS, store stand-by;
S8, NAS notice upper strata are started shooting successfully, and USIM data are ready for;
S9, MMI send Attach registration requests to NAS;
S10, tested module utilize RPLMN, HPLMN, EHPLMN, GUTI, Security context simulated in USIM systems Information, carry out cell searching and be resident and link setup process;
S11, NAS receive the authentication request Auth_Req of AS transparent transmissions;
S12, NAS read the authorization data of simulation USIM systems;
IK, CK, RES data are returned to NAS by S13, simulation USIM systems;
S14, NAS, which are sent, authenticates successful message;
S15, AS and NAS complete Security Mode Control interaction flows;
S16, NAS receive the ATTACH ACCEPT message of AS transparent transmissions;
S17, NAS complete default bearer activation, and return to ATTACH COMPLETE message;
The message ATTACH_CNF that S18, NAS reporting terminal succeed in registration;
S19, renewal simulation USIM file datas, including the positional information of terminal, Security Context Information.
Simulation USIM proposed by the present invention method and system, instead of original entity usim card, is simulated using software USIM file system and authentication process, the data of various simulation USIM systems, inhomogeneity offset are controlled using data item in NV Different test functions and tester configuration are represented, reaches the purpose that terminal is tested in different test systems.Do not having Usim card and without using usim card in the case of, carry out terminal authentication test;Its advantage has following several respects:
1) usim card cost of manufacture is saved;
2) when each modular unit test of terminal, script test, simulation USIM systems are more convenient than entity usim card;
3) terminal RF, RRM, PCT tests can synchronously be carried out with USIM validation tests;
4) when USIM module performances are unstable, automation batch testing can be preferably carried out using this system, avoids abnormal feelings The test crash of condition;
5) in the case where usim card damage, neck damage or machine card contact is bad, it can continue to test, not influence to survey Examination progress;
6)When being tested in third party laboratory, during entity usim card data exception, the usim card erasing debugging stage can be crossed, directly Into the debugging efforts of test case.
Brief description of the drawings
Fig. 1 is the structured flowchart for the system that usim card is simulated in a kind of LTE terminal test proposed by the present invention;
Fig. 2 is NV data item Configuration Values in the method and system for simulated in a kind of LTE terminal test proposed by the present invention usim card Graph of a relation with simulating USIM systems;
Fig. 3 is using simulation USIM systems in the method and system for simulated in a kind of LTE terminal test proposed by the present invention usim card Start-up logging flow after system substitution entity usim card.
Embodiment
The present invention is made with reference to specific embodiment further to explain.
Embodiment
Reference picture 1-3, the system that usim card is simulated in a kind of LTE terminal test proposed by the present invention, including test system, Human-computer interaction interface MMI, terminal tested module, simulation USIM modules and NV modules, the test system, human-computer interaction interface MMI, terminal tested module and simulation USIM modules are sequentially connected, and human-computer interaction interface MMI, terminal tested module and simulation USIM modules are also connected with NV modules respectively;
The method that usim card is simulated in the LTE terminal test comprises the following steps:
S1, tester test information in the human-computer interaction interface MMI configurations NV of terminal;
S2, simulation USIM modules after powering, read NV configuration information and data item, a USIM can be defined in the NV and is matched somebody with somebody The data item put, a type is defined for each application demand, each NV types are represented with numerical value, pass through enumeration type definition one The simulation USIM of series test application;Each NV type definitions have corresponded to a set of simulation USIM systems, each simulation USIM systems are made up of file data and authorization data two parts;The file data is the file system with reference to USIM, is defined A series of file datas, the structures of data can be analogous to entity USIM EF file structures or it is a series of from The file structure of definition, all or part of data in original EF structures are defined, lays equal stress on and defines display mode;It is specific to need to determine Which adopted file data, then it is according to the type definition of the test function currently selected, configures corresponding constituent instruments data; The authorization data includes integrality key IK data, encrypts key CK data, the definition of Authentication Response parameter RES data;
S3, simulation USIM set the data message for simulating USIM systems according to relevant configuration in NV;
Carry out searching net using the RPLMN/HPLMN information for simulating USIM in S4, test process, using IK/CK/RES data to net Network authenticates, and is believed using the positional information after simulation USIM systematic substitution entity usim cards and in real-time update registration process, safety Cease and forbid PLMN list informations, it is described using simulation USIM systematic substitution entity usim cards after start-up logging flow include with Lower step:
S1, test system send start-up command by MMI;
S2, after receiving start-up command, NAS layers inquiry usim card state;
S3, simulation USIM modules read type definition current in NV;
S4, simulation USIM modules are according to the type definition of return, file system corresponding to acquisition;
The accessibility Bitmap definition of file is reported NAS by S5, simulation USIM modules;
S6, tested module NAS layers read addressable file according to the file Bitmap results received from simulation USIM systems Data;
S7, after successfully running through All Files data, simulate USIM systems and result is issued into NAS, store stand-by;
S8, NAS notice upper strata are started shooting successfully, and USIM data are ready for;
S9, MMI send Attach registration requests to NAS;
S10, tested module utilize RPLMN, HPLMN, EHPLMN, GUTI, Security context simulated in USIM systems Information, carry out cell searching and be resident and link setup process;
S11, NAS receive the authentication request Auth_Req of AS transparent transmissions;
S12, NAS read the authorization data of simulation USIM systems;
IK, CK, RES data are returned to NAS by S13, simulation USIM systems;
S14, NAS, which are sent, authenticates successful message;
S15, AS and NAS complete Security Mode Control interaction flows;
S16, NAS receive the ATTACH ACCEPT message of AS transparent transmissions;
S17, NAS complete default bearer activation, and return to ATTACH COMPLETE message;
The message ATTACH_CNF that S18, NAS reporting terminal succeed in registration;
S19, renewal simulation USIM file datas, including the positional information of terminal, Security Context Information.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its Inventive concept is subject to equivalent substitution or change, should all be included within the scope of the present invention.

Claims (6)

1. the system of usim card is simulated in a kind of LTE terminal test, it is characterised in that including test system, human-computer interaction interface MMI, terminal tested module, simulation USIM modules and NV modules, the test system, human-computer interaction interface MMI, terminal are tested mould Block and simulation USIM modules are sequentially connected, and human-computer interaction interface MMI, terminal tested module and simulation USIM modules also respectively with NV modules are connected;
The method that usim card is simulated in the LTE terminal test comprises the following steps:
S1, tester test information in the human-computer interaction interface MMI configurations NV of terminal;
S2, simulation USIM modules after powering, read NV configuration information and data item;
S3, simulation USIM set the data message for simulating USIM systems according to relevant configuration in NV;
Carry out searching net using the information for simulating USIM in S4, test process, using data to network authentication, use simulation USIM systems Information after system substitution entity usim card and in real-time update registration process.
2. the method and system of usim card is simulated in a kind of LTE terminal test according to claim 1, it is characterised in that The data item of a USIM configuration can be defined in the NV, a type, each NV types number are defined for each application demand Value represents, passes through a series of simulation USIM of enumeration type definition test application.
3. the method and system of usim card is simulated in a kind of LTE terminal test according to claim 2, it is characterised in that Each NV type definitions have corresponded to a set of simulation USIM systems, and each USIM systems of simulating are by file data and authorization data Two parts are formed.
4. the method and system of usim card is simulated in a kind of LTE terminal test according to claim 3, it is characterised in that The file data is the file system with reference to USIM, and a series of file datas of definition, the structure of data can be analogous to Entity USIM EF file structures or a series of customized file structures, define in original EF structures all or Partial data, lay equal stress on and define display mode;Specifically need which file data defined, be then according to the test work(currently selected The type definition of energy, configures corresponding constituent instruments data.
5. the method and system of usim card is simulated in a kind of LTE terminal test according to claim 3, it is characterised in that The authorization data includes integrality key IK data, encrypts key CK data, the definition of Authentication Response parameter RES data.
6. the method and system of usim card is simulated in a kind of LTE terminal test according to claim 1, it is characterised in that Start-up logging flow after the USIM systematic substitution entity usim cards using simulation comprises the following steps:
S1, test system send start-up command by MMI;
S2, after receiving start-up command, NAS layers inquiry usim card state;
S3, simulation USIM modules read type definition current in NV;
S4, simulation USIM modules are according to the type definition of return, file system corresponding to acquisition;
The accessibility Bitmap definition of file is reported NAS by S5, simulation USIM modules;
S6, tested module NAS layers read addressable file according to the file Bitmap results received from simulation USIM systems Data;
S7, after successfully running through All Files data, simulate USIM systems and result is issued into NAS, store stand-by;
S8, NAS notice upper strata are started shooting successfully, and USIM data are ready for;
S9, MMI send Attach registration requests to NAS;
S10, tested module utilize RPLMN, HPLMN, EHPLMN, GUTI, Security context simulated in USIM systems Information, carry out cell searching and be resident and link setup process;
S11, NAS receive the authentication request Auth_Req of AS transparent transmissions;
S12, NAS read the authorization data of simulation USIM systems;
IK, CK, RES data are returned to NAS by S13, simulation USIM systems;
S14, NAS, which are sent, authenticates successful message;
S15, AS and NAS complete Security Mode Control interaction flows;
S16, NAS receive the ATTACH ACCEPT message of AS transparent transmissions;
S17, NAS complete default bearer activation, and return to ATTACH COMPLETE message;
The message ATTACH_CNF that S18, NAS reporting terminal succeed in registration;
S19, renewal simulation USIM file datas, including the positional information of terminal, Security Context Information.
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 true CN107466059A (en) 2017-12-12
CN107466059B 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)

Cited By (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 (6)

* 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
US20120108294A1 (en) * 2010-10-30 2012-05-03 Palm, Inc. Techniques to manage a susbcriber identity module for a mobile wireless device
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

Patent Citations (6)

* 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
US20120108294A1 (en) * 2010-10-30 2012-05-03 Palm, Inc. Techniques to manage a susbcriber identity module for a mobile wireless device
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

Cited By (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

Also Published As

Publication number Publication date
CN107466059B (en) 2021-01-26

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
CN111240973B (en) Equipment testing method and system based on simulation and readable storage medium
KR102430283B1 (en) User control of automated test features with software application programming interface(api)
CN111078482A (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN107688536A (en) A kind of method and device for obtaining terminal system daily record
CN112835808A (en) Interface testing method and device, computer equipment and storage medium
CN102880549A (en) Method and device for production test
CN107466059A (en) The method and system of usim card is simulated in a kind of LTE terminal test
CN110647462A (en) Interface test method, device and storage medium
CN101634601B (en) Method and device for testing mechanical reliability of mobile phones
CN110059002A (en) Generation method, test equipment, storage medium and the device of test data
CN111242445B (en) Method, apparatus and readable storage medium for testing products based on configuration production line
CN111767218B (en) Automatic test method, equipment and storage medium for continuous integration
CN108829495A (en) Verification method, device, equipment and the storage medium of multiple database modification affairs
CN105319480B (en) Line diagnosis method and device
CN105653445A (en) Implementation method capable of meeting DO-178C test result
CN109766276A (en) Open platform test method, device, computer readable storage medium and system
US20130165099A1 (en) Enhanced System and Method for Custom Programming of Large Groups of Phones Without Requiring Additional Equipment
CN109597728A (en) The control method and device of test equipment, computer readable storage medium
CN114721969A (en) Method and device for separating interface automation test data and test codes
CN111708698B (en) Application program simulation recording method and related device
CN114942623A (en) Controller testing method and device, vehicle and computer readable storage medium
CN103856911B (en) Method and device for performing push message test in mobile terminal, and mobile terminal
CN110139276A (en) A kind of access authentication test method and device

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