CN105740114A - Fault tolerance test method and apparatus for mobile terminal - Google Patents

Fault tolerance test method and apparatus for mobile terminal Download PDF

Info

Publication number
CN105740114A
CN105740114A CN201610053861.5A CN201610053861A CN105740114A CN 105740114 A CN105740114 A CN 105740114A CN 201610053861 A CN201610053861 A CN 201610053861A CN 105740114 A CN105740114 A CN 105740114A
Authority
CN
China
Prior art keywords
mobile terminal
instruction
sim
result
tolerating measure
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
CN201610053861.5A
Other languages
Chinese (zh)
Other versions
CN105740114B (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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610053861.5A priority Critical patent/CN105740114B/en
Publication of CN105740114A publication Critical patent/CN105740114A/en
Application granted granted Critical
Publication of CN105740114B publication Critical patent/CN105740114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a fault tolerance test method and apparatus for a mobile terminal. The fault tolerance test apparatus comprises a fault tolerance test module. The fault tolerance test module comprises an abnormal simulation unit, a result analysis unit and a test report generation unit. The abnormal simulation unit is used for obtaining an SIM (Subscriber Identity Module) instruction sent by the mobile terminal and used for performing operation on an SIM card, simulating abnormal operation of the mobile terminal on the SIM card according to the SIM instruction to generate error information, sending the error information to the mobile terminal, obtaining a state instruction comprising the error information and sent by the mobile terminal, and sending an active instruction to the mobile terminal according to the state instruction to enable the mobile terminal to execute the active instruction. The result analysis unit is used for obtaining a result of executing the active instruction by the mobile terminal and performing analysis to obtain an analysis result. The test report generation unit is used for generating a test report according to the analysis result. According to the method and apparatus, the automation of fault tolerance testing, result analysis and test report generation of the mobile terminal and a smart card can be realized and the accuracy of a test result can be improved.

Description

The tolerating measure method of mobile terminal and device
Technical field
The present invention relates to mobile terminal tolerating measure field, particularly relate to tolerating measure method and the device of a kind of mobile terminal.
Background technology
Present mobile terminal is widely used, and client identification module (SubscriberIdentityModule, SIM)/Global Subscriber identification card (UniversalSubscriberIdentityModule, USIM) function becomes increasingly complex.Under SIM/USIM abnormal conditions, certain fault-tolerant ability that whether has mobile terminal continues normally to be used, major part company adopts the mode that the SmartStation3 platform software simulation SIM/USIM exception scene that Collis company provides carries out artificial result judgement to verify,, take this mode to there is following drawback: the SIM/USIM exception scene of SmartStation3 platform software simulation is comprehensive not and efficiency is low;Artificial result judges to consume substantial amounts of manpower and materials;Artificial result judges accurate not.
Summary of the invention
Embodiments provide tolerating measure method and the device of a kind of mobile terminal, it is possible to realize the automatization that mobile terminal generates with the test of smart card fault-tolerance, interpretation of result and test report, improve the precision of test result.
The present invention provides the tolerating measure device of a kind of mobile terminal, this tolerating measure device is for testing the mobile terminal fault tolerance to SIM, tolerating measure device is provided with SIM joint, SIM joint is connected with the SIM interface of mobile terminal, tolerating measure device includes fault-tolerance test module, fault-tolerance test module includes: abnormal analogue unit, for SIM joint get mobile terminal send for SIM is operated SIM instruction time, the error message that the abnormal operation of SIM produced according to SIM instruction simulation mobile terminal also sends to mobile terminal;Abnormal analogue unit is additionally operable to, and obtains the status command including error message that mobile terminal sends, and sends active instruction to mobile terminal according to status command by SIM joint, so that mobile terminal performs active instruction;Interpretation of result unit, performs the result of active instruction for obtaining mobile terminal by SIM joint, and is analyzed result obtaining analyzing result;Test report generates unit, for according to analyzing result generation test report.
Wherein, SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.
Wherein, tolerating measure device also includes command processor, and command processing module is used for: judge whether SIM instruction is the SIM instruction needing to carry out tolerating measure;If SIM instruction is the SIM instruction being made without tolerating measure, then directly the proper testing result of SIM instruction is back to mobile terminal;If SIM instruction is the SIM instruction needing to carry out tolerating measure, then the error message of the abnormal operation of SIM is back to mobile terminal by simulating mobile terminal.
Wherein, abnormal analogue unit is used for: for SIM instruction, error message substituting the original return data in the first configuration file and original return status word and returns mobile terminal, wherein error message includes the replacement return data of mistake and substitutes return status word.
Wherein, interpretation of result unit is used for: obtains mobile terminal from the second configuration file and performs the default result of active instruction;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.
The present invention also provides for a kind of tolerating measure method of mobile terminal, this tolerating measure method is applied in tolerating measure device, for testing the mobile terminal fault tolerance to SIM, tolerating measure device is provided with SIM joint, SIM joint is connected with the SIM interface of mobile terminal, tolerating measure method includes: SIM joint get mobile terminal send for SIM is operated SIM instruction time, error message transmission is produced to mobile terminal, with the simulating mobile terminal abnormal operation to SIM according to SIM instruction;Obtain the status command including error message that mobile terminal sends, and send active instruction to mobile terminal according to status command by SIM joint, so that mobile terminal performs active instruction;Obtain mobile terminal by SIM joint and perform the result of active instruction, and be analyzed result obtaining analyzing result;Test report is generated according to analyzing result.
Wherein, SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.
Wherein, produce error message according to SIM instruction and transmission to the step of mobile terminal includes: if SIM instruction is the SIM instruction needing to carry out tolerating measure, then the error message of the abnormal operation of SIM is back to mobile terminal by simulating mobile terminal;If SIM instruction is the SIM instruction being made without tolerating measure, then directly the proper testing result of SIM instruction is back to mobile terminal.
Wherein, producing error message sending to the step of mobile terminal according to SIM instruction to include: original returns data error message being substituted in the first configuration file and original return status word also return mobile terminal, wherein error message includes the replacement of mistake and returns data and replacement return status word.
Wherein, the step being analyzed result obtaining analyzing result includes: obtains mobile terminal from the second configuration file and performs the default result of active instruction;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.
Pass through such scheme, the invention has the beneficial effects as follows: error message that the abnormal operation of SIM is produced according to SIM instruction simulation mobile terminal by the present invention by abnormal analogue unit transmission are to mobile terminal, and the status command including error message according to mobile terminal transmission is by the SIM joint active instruction of transmission to mobile terminal, so that mobile terminal performs active instruction, interpretation of result list obtains mobile terminal and performs the result of active instruction, and be analyzed obtaining analyzing result to result, test report generates unit and generates test report according to analyzing result, it is capable of mobile terminal and the test of smart card fault-tolerance, the automatization that interpretation of result and test report generate, improve the precision of test result.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.Wherein:
Fig. 1 is the structural representation of the tolerating measure device of the mobile terminal of first embodiment of the invention;
Fig. 2 is the structural representation of the tolerating measure device of the mobile terminal of second embodiment of the invention;
Fig. 3 is the schematic flow sheet of the tolerating measure method of the mobile terminal of first embodiment of the invention;
Fig. 4 is the method schematic diagram of the exception simulation in the tolerating measure of the mobile terminal of the embodiment of the present invention;
Fig. 5 is the method schematic diagram of the interpretation of result in the tolerating measure of the mobile terminal of the embodiment of the present invention;
Fig. 6 is that the test report in the tolerating measure of the mobile terminal of the embodiment of the present invention generates method schematic diagram;
Fig. 7 is the method schematic diagram of the tolerating measure of the mobile terminal of second embodiment of the invention;
Fig. 8 is the structural representation of the tolerating measure device of the mobile terminal of third embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making performing creative labour premise, broadly fall into the scope of protection of the invention.
Fig. 1 is the structural representation of the tolerating measure device of the mobile terminal of first embodiment of the invention.As it is shown in figure 1, this tolerating measure device 10 is for testing the mobile terminal fault tolerance to SIM.Tolerating measure device 10 is provided with SIM joint 11, and SIM joint 11 is connected with the SIM interface of mobile terminal, and tolerating measure device 10 includes fault-tolerance test module 12.Fault-tolerance test module 12 includes: abnormal analogue unit 120, interpretation of result unit 121 and test report generate unit 122.Abnormal analogue unit 120 for SIM joint get that mobile terminal sends for SIM is operated SIM instruction time, the error message abnormal operation of SIM produced according to SIM instruction simulation mobile terminal transmission are to mobile terminal.Abnormal analogue unit 120 is additionally operable to obtain the status command including error message that mobile terminal sends, and sends active instruction to mobile terminal according to status command by SIM joint, so that mobile terminal performs active instruction.Interpretation of result unit 121 performs the result of active instruction for obtaining mobile terminal by SIM joint, and is analyzed result obtaining analyzing result.Test report generates unit 122 for according to analyzing result generation test report.
Referring to Fig. 2, in embodiments of the present invention, tolerating measure device 10 also includes order monitoring module 13 and command processing module 14.Fault-tolerance test module 12 is connected with command processing module 14, and wherein, order monitoring module 13 is for monitoring the instruction sent from mobile terminal, and distributes instruction to command processing module 14.Command processing module 14 carries out the SIM instruction of tolerating measure and status command distribution to abnormal analogue unit 120 by needing respectively, and the result that mobile terminal performs active instruction is distributed to interpretation of result unit 121.Command processing module 14 is additionally operable to: if SIM instruction is the SIM instruction being made without tolerating measure, then directly the proper testing result of SIM instruction is back to mobile terminal.
In embodiments of the present invention, SIM instruction is operation document system instruction or the operation SIM application toolkit instruction of SIM.Wherein, the operation document system instruction of SIM includes select, status, readbinary, updatebinary, readrecord, updaterecord etc..Operation SIM application toolkit instruction includes: terminalprofile, fetch, envelope, terminalresponse etc..
Alternatively, mobile terminal is performed the result of active instruction and sends to interpretation of result unit 121 by mobile terminal by sending terminal response instruction.In embodiments of the present invention, SIM instruction, status command and terminal response instruction all include fault-tolerant flag bit, be used to indicate whether to carry out tolerating measure.It is masked as the first state, it is preferable that for true, then it represents that this SIM instruction, status command or terminal response instruction carry out tolerating measure if fault-tolerant.Accordingly, if fault-tolerant being masked as the second state, it is preferable that for false, then it represents that this SIM instruction, status command or terminal response instruction do not carry out tolerating measure.
In embodiments of the present invention, tolerating measure device 10 presets the SIM instruction needing to carry out tolerating measure.Command processing module 14 judges whether described SIM instruction is the described SIM instruction needing to carry out tolerating measure.If SIM instruction is the instruction being made without tolerating measure, then command processing module 14 is made directly normal test, and the result of test is returned to mobile terminal.If SIM instruction is the instruction needing to carry out tolerating measure, then abnormal analogue unit 120 is used for: original return data error message being substituted in the first configuration file and original return status word also return mobile terminal.Preferably, first configuration file is preferably replaceData.xml, abnormal analogue unit 120 finds Application Protocol Data Unit (ApplicationProtocolDataUnit from the first configuration file replaceData.xml, APDU) corresponding data, and replaceResData and replaceStsData is carried out assignment, substitute original ResponseData and StatusWord with replaceResData and replaceStsData and return to mobile terminal.The data structure of replaceData is referring to table 1.
The data structure of table 1replaceData
Attribute-name Storage code Type Remarks
Test case is numbered TestcaseID Stirng
Test case name TestcaseName Stirng
APDU data replacedAPDU Stirng
Return data replaceResData Stirng
Return status word replaceStsData Stirng
The concrete data form of the first configuration file replaceData.xml is as follows:
Now fault-tolerant flag bit is also set to the first state by abnormal module unit 120, to facilitate follow-up tolerating measure.Wherein error message includes the replacement return data of mistake and substitutes return status word.
For status command.If the fault-tolerant flag bit in status command is the first state, namely this status command includes abnormal analogue unit 120 and returns to the error message that SIM abnormal operation is obtained by the simulating mobile terminal of mobile terminal, then abnormal analogue unit 120 sends active instruction to mobile terminal according to this status command, for judging whether mobile terminal can also normally be used.Specifically, abnormal analogue unit 120 reads the data simulating active instruction from the first configuration file and returns to mobile terminal, the data being about to simulate active instruction substitute the original return data in the first configuration file and original return status word and return mobile terminal, so that mobile terminal performs this active instruction and returns execution result.If the fault-tolerant flag bit in status command is the second state, the data that command processing module 14 that what namely this status command included is returns to the proper testing of mobile terminal, rather than exception analogue unit 120 returns to the error message that SIM abnormal operation is obtained by the simulating mobile terminal of mobile terminal, now return the original return data in the first configuration file and original return status word to mobile terminal.
Alternatively, mobile terminal performs this active instruction according to the data simulating active instruction that abnormal analogue unit 120 returns, and the result performing this active instruction is sent to interpretation of result unit 121 with the form of terminal response instruction.Fault-tolerant flag bit in now terminal response instruction is the first state.Interpretation of result unit 121 obtains mobile terminal and performs the result of this active instruction, and is analyzed result obtaining analyzing result.Specifically, interpretation of result unit 121 is used for: obtains mobile terminal from the second configuration file and performs the default result of active instruction;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then tolerating measure failure is described.
Preferably, the second configuration file is ExpectedData.xml.Interpretation of result unit 121 obtains, according to test case numbering (TestcaseID), the value presetting result ExpectedTRData from the second configuration file ExpectedData.xml and carries out assignment, for subsequent analysis result.Preset the data structure of result ExpectedTRData referring to table 2:
The data structure of table 2ExpectedTRData
Attribute-name Storage code Type Remarks
Test case is numbered TestcaseID Stirng
Test case name TestcaseName Stirng
Preset result TestExpResult Stirng
The data form of the second configuration file ExpectedData.xml is as follows:
Fault-tolerant flag bit is also set to the second state by interpretation of result unit 121 simultaneously, to represent when time tolerating measure is complete.If the fault-tolerant flag bit in terminal response instruction is the second state, namely terminal response instruction include mobile terminal perform active instruction result be not by tolerating measure obtain, then directly return return data and the status word of present terminal response instruction, it is not necessary to be analyzed.
It can be seen that in above tolerating measure process, the fault-tolerant flag bit in SIM instruction, status command and terminal response instruction is defaulted as the second state.Abnormal analog module 120 is to SIM instruction, status command, or terminal response instruction can individually be performed by interpretation of result module 121.Specifically, if abnormality processing module 120 performs status command, not first carried out the SIM instruction of correspondence, the fault-tolerant flag bit in this status command can be the second state, and abnormality processing module 120 directly returns the original return data in the first configuration file and returns status word.Similarly, if interpretation of result module 121 performs terminal response instruction, fault-tolerant flag bit in terminal response instruction also can be the second state, abnormal analog module 120 does not complete the execution of the status command of correspondence, then interpretation of result module 121 directly returns return data and the status word of this terminal response instruction, is not analyzed.
Error message that the abnormal operation of SIM is produced according to SIM instruction simulation mobile terminal by the embodiment of the present invention by abnormal analogue unit transmission are to mobile terminal, and the status command including error message sent according to mobile terminal sends active instruction to mobile terminal, so that mobile terminal performs active instruction, interpretation of result list obtains mobile terminal and performs the result of active instruction, and be analyzed obtaining analyzing result to result, test report generates unit and generates test report according to analyzing result, it is capable of mobile terminal and the test of smart card fault-tolerance, the automatization that interpretation of result and test report generate, improve the precision of test result.
Fig. 3 is the schematic flow sheet of the tolerating measure method of the mobile terminal of first embodiment of the invention.As it is shown on figure 3, this tolerating measure method is applied in tolerating measure device, for testing the mobile terminal fault tolerance to SIM, tolerating measure device is provided with SIM joint, and SIM joint is connected with the SIM interface of mobile terminal.The tolerating measure method of mobile terminal includes:
Step S10: SIM joint get that mobile terminal sends for SIM is operated SIM instruction time, produce error message transmission to mobile terminal according to SIM instruction, with the simulating mobile terminal abnormal operation to SIM.
In embodiments of the present invention, SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.Before step S10, default settings needs to carry out the SIM instruction of tolerating measure.SIM instruction includes fault-tolerant flag bit, if this SIM instruction is the instruction needing to carry out tolerating measure, then fault-tolerant flag bit therein is set to the first state, it is preferable that for true.If this SIM instruction is the instruction being made without tolerating measure, then fault-tolerant flag bit therein is set to the second state, it is preferable that for false.
In step slo, if SIM instruction is the SIM instruction being made without tolerating measure, then directly the proper testing result of SIM instruction is back to mobile terminal.If SIM instruction is the SIM instruction needing to carry out tolerating measure, then the error message of the abnormal operation of SIM is back to mobile terminal by simulating mobile terminal.Specifically, error message substituting the original return data in the first configuration file and original return status word and returns mobile terminal, wherein error message includes the replacement return data of mistake and substitutes return status word.
Step S11: obtain the status command including error message that mobile terminal sends, and send active instruction to mobile terminal according to status command by SIM joint, so that mobile terminal performs active instruction.
Status command includes fault-tolerant flag bit.If fault-tolerant flag bit is the first state, illustrate that status command includes the error message produced according to SIM instruction in step S10, namely corresponding with this status command SIM instruction is the instruction needing to carry out tolerating measure, and is complete aforesaid tolerating measure process.Now in step s 11, active instruction is sent to mobile terminal according to this status command, for judging whether mobile terminal can also normally be used.Specifically, from the first configuration file, read the data simulating active instruction return to mobile terminal, the data being about to simulate active instruction substitute the original return data in the first configuration file and original return status word and return mobile terminal, so that mobile terminal performs this active instruction and returns execution result.
If the fault-tolerant flag bit in status command is the second state, namely what this status command included is the data of the proper testing returning to mobile terminal in step S10, rather than the error message that SIM abnormal operation is obtained by simulating mobile terminal, the original return data in the first configuration file and original return status word is now returned to mobile terminal.
Step S12: obtain mobile terminal by SIM joint and perform the result of active instruction, and be analyzed result obtaining analyzing result.
Mobile terminal performs the result of active instruction and includes in terminal response instruction.Step S12 obtains the result of the mobile terminal active instruction of execution by obtaining the form of terminal response instruction.Terminal response instruction also includes fault-tolerant flag bit.If fault-tolerant flag bit is the first state, illustrates that the SIM instruction corresponding with this terminal response instruction is the instruction needing to carry out tolerating measure, and be complete aforesaid tolerating measure process.Now in step s 12, when result is analyzed, from the second configuration file, obtains mobile terminal perform the default result of active instruction;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.So far complete the complete test process of a tolerating measure, fault-tolerant flag bit is set to the second state.
It should be noted that SIM instruction in the embodiment of the present invention, status command and terminal return instruction can individually perform, for instance not necessarily have to first carry out SIM instruction and just can perform status command.The perform a status command every 30 milliseconds in the present embodiment, if perform status command, it is not carried out SIM instruction, namely there is no the simulating mobile terminal abnormal operation to SIM, then the fault-tolerant flag bit in status command is the second state, returns the original return data in the first configuration file and original return status word to mobile terminal.SIM instruction is similar with terminal return instruction, repeats no more.
Step S13: generate test report according to analyzing result.
Just abnormal simulation, interpretation of result and test report generation illustrate individually below.
The exception of the embodiment of the present invention is simulated referring to Fig. 4, including:
Step S100: start.
Step S101: order monitoring.The instruction that monitoring mobile terminal sends over, to carry out follow-up process.
Step S102: command process.Identify the instruction that mobile terminal sends over, to carry out follow-up tolerating measure analysis.
Step S103: judge whether it is SIM instruction.If it is, perform step S104;If it is not, then jump to execution step S107.
The operation document system instruction that SIM instruction is SIM in the embodiment of the present invention or operation SIM application toolkit instruction.Wherein, the operation document system instruction of SIM includes select, status, readbinary, updatebinary, readrecord, updaterecord etc..Operation SIM application toolkit instruction includes: terminalprofile, fetch, envelope, terminalresponse etc..
Step S104: judge whether that needs carry out abnormal simulation.If it is, perform step S105;If it is not, then jump to step S110.
If this SIM instruction needs to carry out abnormal simulation, illustrate this SIM instruction is carried out tolerating measure, otherwise for this SIM is not carried out tolerating measure.
Step S105: arranging fault-tolerant flag bit is the first state.First state is for representing that corresponding SIM instruction has carried out abnormal simulation process.
Step S106: reset the return data in the first configuration file and return status word.
In step s 106, if SIM instruction, then error message is substituted the return data in the first configuration file and returns status word.Such as, mobile terminal is when using phone directory to add contacts to SIM/USIM card, and simulation SIM/USIM card returns the error message of 6F00, is expressed as the mistake that cannot diagnose.
If status command, then the data of active instruction are substituted the return data in the first configuration file and returns status word.Such as, simulation SIM/USIM sends SetupCall instruction, is used for judging now whether mobile terminal can also normally be used.
Step S107: data will be returned and return status word return mobile terminal.It is about to the return data after substituting and return status word is back to mobile terminal, in order to proceed tolerating measure process below.Then branch to step S111.
Step S108: judge whether it is status command.If it is, perform step S109;If it is not, then jump to execution step S110.
Step S109: judge whether fault-tolerant flag bit is the first state.If it is, jump to execution step S106;If it is not, then perform step S110.
If the fault-tolerant flag bit of status command is the first state, illustrating to have been completed the exception simulation of the SIM instruction corresponding with this status command, namely SIM has been carried out abnormal operation by the SIM instruction simulation mobile terminal according to correspondence.This status command includes the error message that SIM abnormal operation is obtained by simulating mobile terminal.If the fault-tolerant flag bit of status command is not the first state, then illustrating, not according to the SIM instruction simulation mobile terminal corresponding with this status command, SIM has been carried out abnormal operation, what this status command included is the data of proper testing.
Step S110: original return data and return status word are returned mobile terminal.
In step s 110, if the fault-tolerant flag bit in SIM instruction or status command is not the first state, or other instruction, namely it is all the instruction not carrying out tolerating measure, it is only necessary to the original return data in the first configuration file and return status word are returned mobile terminal.So far the tolerating measure of a SIM instruction is completed.
Step S111: judge whether that test completes.If it is, perform step S112;If it is not, then be back to step S101.If it is not, then illustrate to also need to the tolerating measure carrying out test case, the step of now return command monitoring, to reacquire the SIM instruction that mobile terminal sends, proceed the tolerating measure of other test cases, until completing the tolerating measure of all test cases.
Step S112: generate test report.
In embodiments of the present invention, SIM instruction and status command also include test case numbering.In step S112, generate test report according to test case numbering and the test result returned.
Can be seen that the simulation of the exception shown in Fig. 4 carries out automatically, it is not necessary to manually participate in so that it is the simulation of abnormal scene is comprehensively efficient, thus being greatly saved manpower, improving the precision of tolerating measure result.
Interpretation of result in the tolerating measure of the embodiment of the present invention referring to Fig. 5, including:
Step S200: start.
Step S201: order monitoring.The instruction that monitoring mobile terminal sends over, to carry out follow-up process.
Step S202: command process.Identify the instruction that mobile terminal sends over, to carry out follow-up tolerating measure interpretation of result.
Step S203: judge whether it is status command or SIM instruction.If it is, jump to execution step S207;If it is not, then perform step S204.
Step S204: judge whether it is terminal return instruction.If it is, perform step S205;If it is not, then jump to execution step S208.
Terminal response instruction includes fault-tolerant flag bit.If fault-tolerant flag bit is the first state, illustrate that terminal response instruction includes mobile terminal and performs the result of active instruction.If fault-tolerant flag bit is the second state, illustrate that not including mobile terminal in terminal response instruction performs the result of active instruction, namely corresponding with this terminal response instruction SIM instruction is the instruction being made without tolerating measure, or at least corresponding status command is also not fully complete abnormality test.
Step S205: interpretation of result.
Terminal return instruction also includes test case numbering, in step S205, carries out interpretation of result according to terminal return instruction.Specifically, from the second configuration file, obtain mobile terminal according to test case numbering and perform the default result of active instruction;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.So far complete the complete test process of a tolerating measure, fault-tolerant flag bit is set to the second state
Step S206: output analyzes result for generating test report.Then branch to step S208.
Step S207: abnormal simulation.
In step S207, when what mobile terminal sent is SIM instruction or status command, carries out abnormal simulation according to SIM instruction or status command, referring specifically to Fig. 4, do not repeat them here.
Step S208: return data into mobile terminal.
In step S208, if SIM instruction or status command, then return the result after abnormal simulation, namely substitute and return data and substitute return status word, referring specifically to Fig. 4.If terminal return instruction, will be successfully tested or the result of failure sends to mobile terminal.
Step S209: judge whether all test cases are finished.If it is, perform step S210;If it is not, then jump to execution step S201.
In step S209, if it is not, then illustrate to also need to the tolerating measure carrying out test case, the step of now return command monitoring, to reacquire the terminal return instruction that mobile terminal sends, proceed the interpretation of result of other test cases, until completing the interpretation of result of all test cases.
Step S210: generate test report.
The interpretation of result that can be seen that in the tolerating measure shown in Fig. 5 carries out automatically, it is not necessary to manually participate in, and is greatly saved manpower, improves the precision of test result.
Individually below test report is generated and illustrate, referring to Fig. 6, including:
Step S300: start.
Step S301: order monitoring.The instruction that monitoring mobile terminal sends over, to carry out follow-up process.
Step S302: command process.Identify the instruction that mobile terminal sends over, to carry out follow-up test report generation.
Step S303: terminal return instruction and fault-tolerant flag bit are the first state.If it is, perform step S304;If it is not, then jump to execution step S308.
Fault-tolerant flag bit in terminal response instruction is the first state, and illustrating that the terminal that terminal response instruction includes returns data is the result that mobile terminal performs active instruction.If fault-tolerant flag bit is the second state, illustrate that the terminal of terminal response instruction returns the result not including the mobile terminal active instruction of execution in data, namely corresponding with this terminal response instruction SIM instruction is the instruction being made without tolerating measure, or at least corresponding status command is also not fully complete abnormality test.
Step S304: search preset data from the second configuration file.
In embodiments of the present invention, terminal return instruction also includes test case numbering.In step s 304, number at the second configuration file according to test case, it is preferable that for ExpectedData.xml searches the value of preset data ExpectedTRData.
Step S305: whether identical with preset data judge that terminal returns data.If it is, perform step S306;If it is not, then jump to execution step S307.
In step S305, terminal return data identical with preset data, then illustrate tolerating measure success, correspondence SIM instruction exception time, mobile terminal still can be properly functioning, and namely this SIM instruction is possessed certain fault-tolerant ability by mobile terminal.If it is not, then tolerating measure failure is described, during corresponding SIM instruction exception, mobile terminal is not normally functioning, and namely this SIM instruction is not possessed fault-tolerant ability by mobile terminal.So far complete the complete test process of a tolerating measure, fault-tolerant flag bit is set to the second state.
Step S306: return test cases numbering and be successfully tested information.Then branch to step S308.
Step S307: return test cases numbering and test crash information.
Step S308: send and return data and return status word to mobile terminal.What return is return data and the return status word of present instruction herein.
Step S309: judge whether that test completes.If it is, perform step S310;If it is not, then jump to execution step S301.
In step S309, if not, then illustrate to also need to the tolerating measure carrying out test case, the step of now return command monitoring, to reacquire the terminal return instruction that mobile terminal sends, proceed the interpretation of result of other test cases and generate test report, until the test report completing the interpretation of result of all test cases generates.
Step S310: generate test report.
Can be seen that what the report of the tolerating measure shown in Fig. 6 was automatically generated, it is not necessary to manually participate in, be greatly saved manpower, improve the precision of test result.
More than respectively describing the interpretation of result in abnormal simulation, tolerating measure and test report generates three processes, the process that realizes of total tolerating measure method that three above process is combined into is referring to Fig. 7.Including:
Step S400: start.
Step S401: order monitoring.The instruction that monitoring mobile terminal sends over, to carry out follow-up process.
Step S402: command process.Identify the instruction that sends over of mobile terminal, generate carrying out follow-up tolerating measure, interpretation of result and test report.
Step S403: judge whether it is terminal return instruction.If it is not, then perform step S404;If it is, jump to execution step S410.
In step S403, if terminal return instruction, illustrate to need to carry out test result analysis and report generation.
Step S404: judge whether it is status command.If it is, perform step S405;If it is not, then perform step S405.
In step s 404, if status command, illustrating to need to carry out tolerating measure interpretation of result.If not status command, then it it is SIM instruction.
Step S405: judge whether to need tolerating measure.If it is, perform step S406;If it is not, then jump to execution step S414.
In step S405, if it is, illustrate that this SIM instruction needs to carry out tolerating measure, otherwise, it is not necessary to carry out tolerating measure.In embodiments of the present invention, SIM instruction can be pre-set the need of carrying out tolerating measure.
Step S406: arranging fault-tolerant flag bit is the first state.Then branch to perform step S408.
In embodiments of the present invention, the fault-tolerant flag bit in SIM instruction is defaulted as the second state, namely represents and is made without tolerating measure.Need to carry out the SIM instruction of tolerating measure in this way, then the fault-tolerant flag bit in SIM instruction is set to the first state, follow-up carry out tolerating measure to facilitate.
Step S407: whether fault-tolerant flag bit is the first state.If it is, perform step S408;If it is not, then jump to execution step S414.
In step S 407, when the fault-tolerant flag bit in status command is the first state, illustrate to need to carry out abnormal simulation according to this status command.Fault-tolerant flag bit is not the first state, when being the second state, illustrates that this status command is made without abnormal simulation.
Step S408: replace in the first configuration file and return data and return status word.
Specifically, in step S408, if SIM instruction, then error message is substituted the return data in the first configuration file and returns status word.Such as, mobile terminal is when using phone directory to add contacts to SIM/USIM card, and simulation SIM/USIM card returns the error message of 6F00, is expressed as the mistake that cannot diagnose.
If status command, show before this status command, have been received by the SIM instruction that mobile terminal sends, and have been carried out abnormal simulation, such as, having been completed that mobile terminal is when using phone directory to add contacts to SIM/USIM card, simulation SIM/USIM card returns the error message of 6F00.Now the data of active instruction are substituted the return data in the first configuration file and returns status word.Such as, simulation SIM/USIM sends SetupCall instruction, is used for judging now whether mobile terminal can also normally be used.
Step S409: the return data of replacement and return status word are returned to mobile terminal.Then branch to step S415.
Step S410: judge whether fault-tolerant flag bit is the first state.If it is, perform step S411.If it is not, then jump to execution step S414.
If fault-tolerant flag bit is the first state, illustrating to need to carry out tolerating measure interpretation of result according to this terminal return instruction, terminal response instruction includes mobile terminal and performs the result of active instruction.
Step S411: arranging fault-tolerant flag bit is the second state.Represent when time tolerating measure is over.
Step S412: interpretation of result.Referring specifically to Fig. 6, do not repeat them here.
Step S413: return and analyze result for test report generation.
Step S414: data will be returned and return status word return mobile terminal.
In step S414, if being made without the SIM instruction of tolerating measure or status command that fault-tolerant flag bit is the second state or terminal return instruction, then directly by original return data with return status word and return mobile terminal.
Step S415: judge whether that test completes.If it is, perform step S416;If it is not, then jump to execution step S401.
In step S415, if it is not, then illustrate to also need to the tolerating measure carrying out test case, the step of now return command monitoring, to proceed tolerating measure and the interpretation of result of other test cases, until completing tolerating measure and the interpretation of result of all test cases.
Step S416: generate test report.
SIM instruction, status command and terminal return instruction that mobile terminal sends also include test case numbering.The tolerating measure method of the embodiment of the present invention can individually perform any one in SIM instruction, status command and terminal return instruction, judges whether corresponding test case is carried out tolerating measure by the fault-tolerant flag bit in SIM instruction, status command and terminal return instruction.If not carrying out tolerating measure, returning original return data to mobile terminal and returning status word.Preferably, receive the status command of mobile terminal transmission every 30s and process.It can be seen that what above procedure Dou Shi automatization realized, it is possible to the simulation judgement efficient, test result comprehensively making its abnormal scene is intelligent, specialized, thus being greatly saved manpower, improves the precision of test result.
Fig. 8 is the hardware architecture diagram of the tolerating measure device of the mobile terminal of second embodiment of the invention.As shown in Figure 8, the tolerating measure device 20 of mobile terminal includes: SIM joint 21, processor 22, memorizer 23 and bus 24.Described SIM joint 21 is connected with the SIM interface of described mobile terminal, and SIM joint 21, processor 22 and memorizer 23 are connected by bus 24, to intercom mutually.
Memorizer 23 has program stored therein.Processor 22 runs this program.Described SIM joint get described mobile terminal send for described SIM is operated SIM instruction time, this program is produced error message according to described SIM instruction and is sent to described mobile terminal by SIM joint 21, to simulate the described mobile terminal abnormal operation to described SIM.
SIM joint 21 obtains the status command including described error message that described mobile terminal sends, this program sends active instruction to described mobile terminal always according to described status command by described SIM joint, so that described mobile terminal performs described active instruction.
This program obtains described mobile terminal also by described SIM joint and performs the result of described active instruction, and is analyzed described result obtaining analyzing result, and generates test report according to described analysis result.
In embodiments of the present invention, SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.SIM instruction, status command and terminal response instruction all include fault-tolerant flag bit, is used to indicate whether to carry out tolerating measure.It is masked as the first state, it is preferable that for true, then it represents that this SIM instruction, status command or terminal response instruction carry out tolerating measure if fault-tolerant.Accordingly, if fault-tolerant being masked as the second state, it is preferable that for false, then it represents that this SIM instruction, status command or terminal response instruction do not carry out tolerating measure.
This program is additionally operable to: judge whether SIM instruction is the SIM instruction needing to carry out tolerating measure;If described SIM instruction is the described SIM instruction being made without tolerating measure, then directly the proper testing result of described SIM instruction is back to described mobile terminal.If described SIM instruction is the described SIM instruction needing to carry out tolerating measure, then by simulating described mobile terminal, the described error message of the abnormal operation of described SIM is back to described mobile terminal.Specifically, described error message substituting the original return data in the first configuration file and original return status word and returns described mobile terminal, wherein said error message includes the replacement of mistake and returns data and substitute return status word.
Preferably, first configuration file is preferably replaceData.xml, this program finds Application Protocol Data Unit (ApplicationProtocolDataUnit from the first configuration file replaceData.xml, APDU) corresponding data, and replaceResData and replaceStsData is carried out assignment, substitute original ResponseData and StatusWord with replaceResData and replaceStsData and return to mobile terminal.
Now fault-tolerant flag bit is also set to the first state by this program, to facilitate follow-up tolerating measure.Wherein error message includes the replacement return data of mistake and substitutes return status word.
For status command, if the fault-tolerant flag bit in status command is the first state, namely this status command returns to, when including performing SIM instruction, the error message that SIM abnormal operation is obtained by the simulating mobile terminal of mobile terminal, then this program sends active instruction to mobile terminal according to this status command, for judging whether mobile terminal can also normally be used.Specifically, this program reads the data simulating active instruction from the first configuration file and returns to mobile terminal, the data being about to simulate active instruction substitute the original return data in the first configuration file and original return status word and return mobile terminal, so that mobile terminal performs this active instruction and returns execution result.If the fault-tolerant flag bit in status command is the second state, namely what this status command included is the data of the proper testing returning to mobile terminal, rather than the error message that SIM abnormal operation is obtained by the simulating mobile terminal returning to mobile terminal, the original return data in the first configuration file and original return status word is now returned to mobile terminal.
For terminal return instruction, when the fault-tolerant flag bit in terminal response instruction is the first state, this program obtains mobile terminal from the second configuration file and performs the default result of active instruction.Preferably, the second configuration file is ExpectedData.xml.This program obtains, according to test case numbering (TestcaseID), the value presetting result ExpectedTRData from the second configuration file ExpectedData.xml and carries out assignment, for subsequent analysis result;Relatively mobile terminal performs the result of active instruction and default result;If both are identical, then tolerating measure success is described;If both differ, then tolerating measure failure is described.
Fault-tolerant flag bit is also set to the second state by this program simultaneously, to represent when time tolerating measure is complete.If the fault-tolerant flag bit in terminal response instruction is the second state, namely terminal response instruction include mobile terminal perform active instruction result be not by tolerating measure obtain, then directly return return data and the status word of present terminal response instruction, it is not necessary to be analyzed.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiments described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
In sum, error message that the abnormal operation of SIM is produced according to SIM instruction simulation mobile terminal by the present invention by abnormal analogue unit transmission are to mobile terminal, and the status command including error message according to mobile terminal transmission is by the SIM joint active instruction of transmission to mobile terminal, so that mobile terminal performs active instruction, interpretation of result list obtains mobile terminal and performs the result of active instruction, and be analyzed obtaining analyzing result to result, test report generates unit and generates test report according to analyzing result, it is capable of mobile terminal and the test of smart card fault-tolerance, the automatization that interpretation of result and test report generate, improve the precision of test result.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the tolerating measure device of a mobile terminal, it is characterized in that, described tolerating measure device is for testing the described mobile terminal fault tolerance to SIM, described tolerating measure device is provided with SIM joint, described SIM joint is connected with the SIM interface of described mobile terminal, described tolerating measure device includes fault-tolerance test module, and described fault-tolerance test module includes:
Abnormal analogue unit, for described SIM joint get that described mobile terminal sends for described SIM is operated SIM instruction time, according to described SIM instruction simulation, the abnormal operation of described SIM is produced error message and sends extremely described mobile terminal by mobile terminal;
Described abnormal analogue unit is additionally operable to, obtain the status command including described error message that described mobile terminal sends, and send active instruction to described mobile terminal according to described status command by described SIM joint, so that described mobile terminal performs described active instruction;
Interpretation of result unit, performs the result of described active instruction for obtaining described mobile terminal by described SIM joint, and is analyzed described result obtaining analyzing result;
Test report generates unit, for generating test report according to described analysis result.
2. tolerating measure device according to claim 1, it is characterised in that described SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.
3. tolerating measure device according to claim 1, it is characterised in that described tolerating measure device also includes command processor, and described command processing module is used for: judge whether described SIM instruction is the described SIM instruction needing to carry out tolerating measure;If described SIM instruction is the described SIM instruction being made without tolerating measure, then directly the proper testing result of described SIM instruction is back to described mobile terminal;
If described SIM instruction is the described SIM instruction needing to carry out tolerating measure, then the described error message of the abnormal operation of described SIM is back to described mobile terminal by simulating described mobile terminal by described abnormal analogue unit.
4. tolerating measure device according to claim 1, it is characterized in that, described abnormal analogue unit is used for: for described SIM instruction, described error message substituting the original return data in the first configuration file and original return status word and returns described mobile terminal, wherein said error message includes the replacement of mistake and returns data and substitute return status word.
5. tolerating measure device according to claim 1, it is characterised in that described interpretation of result unit is used for:
From the second configuration file, obtain described mobile terminal perform the default result of described active instruction;
Relatively described mobile terminal performs the result of described active instruction and described default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.
6. the tolerating measure method of a mobile terminal, it is characterized in that, described tolerating measure method is applied in tolerating measure device, for testing the described mobile terminal fault tolerance to SIM, described tolerating measure device is provided with SIM joint, described SIM joint is connected with the SIM interface of described mobile terminal, and described tolerating measure method includes:
Described SIM joint get described mobile terminal send for described SIM is operated SIM instruction time, produce error message according to described SIM instruction and send to described mobile terminal, to simulate the described mobile terminal abnormal operation to described SIM;
Obtain the status command including described error message that described mobile terminal sends, and send active instruction to described mobile terminal according to described status command by described SIM joint, so that described mobile terminal performs described active instruction;
Obtain described mobile terminal by described SIM joint and perform the result of described active instruction, and be analyzed described result obtaining analyzing result;
Test report is generated according to described analysis result.
7. tolerating measure method according to claim 6, it is characterised in that described SIM instruction includes operation document system instruction or the operation application of IC cards workbox instruction of smart card.
8. tolerating measure method according to claim 6, it is characterised in that the described step according to described SIM instruction generation error message transmission extremely described mobile terminal includes:
Judge whether described SIM instruction is the described SIM instruction needing to carry out tolerating measure;
If described SIM instruction is the described SIM instruction needing to carry out tolerating measure, then by simulating described mobile terminal, the described error message of the abnormal operation of described SIM is back to described mobile terminal;
If described SIM instruction is the described SIM instruction being made without tolerating measure, then directly the proper testing result of described SIM instruction is back to described mobile terminal.
9. tolerating measure method according to claim 6, it is characterised in that the described step according to described SIM instruction generation error message transmission extremely described mobile terminal includes:
Described error message substituting the original return data in the first configuration file and original return status word and returns described mobile terminal, wherein said error message includes the replacement of mistake and returns data and substitute return status word.
10. tolerating measure method according to claim 6, it is characterised in that the described step being analyzed described result obtaining analyzing result includes:
From the second configuration file, obtain described mobile terminal perform the default result of described active instruction;
Relatively described mobile terminal performs the result of described active instruction and described default result;If both are identical, then tolerating measure success is described;If both differ, then illustrate that tolerating measure becomes unsuccessfully.
CN201610053861.5A 2016-01-26 2016-01-26 Fault tolerance test method and device for mobile terminal Active CN105740114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610053861.5A CN105740114B (en) 2016-01-26 2016-01-26 Fault tolerance test method and device for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610053861.5A CN105740114B (en) 2016-01-26 2016-01-26 Fault tolerance test method and device for mobile terminal

Publications (2)

Publication Number Publication Date
CN105740114A true CN105740114A (en) 2016-07-06
CN105740114B CN105740114B (en) 2020-09-25

Family

ID=56246756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610053861.5A Active CN105740114B (en) 2016-01-26 2016-01-26 Fault tolerance test method and device for mobile terminal

Country Status (1)

Country Link
CN (1) CN105740114B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656842A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of SIM card hot plug method for testing performance, storage device and mobile terminal
CN113312217A (en) * 2020-02-26 2021-08-27 瑞昱半导体股份有限公司 Method for testing slave device of internal integrated circuit bus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463031A (en) * 2002-05-28 2003-12-24 华为技术有限公司 Fault-telerance method and system of testing chip for boundary scanning
CN101656974A (en) * 2009-07-17 2010-02-24 厦门敏讯信息技术股份有限公司 SIM card compatibility automated test method and device
US8010325B2 (en) * 2008-04-25 2011-08-30 Microsoft Corporation Failure simulation and availability report on same
CN102340809A (en) * 2010-07-21 2012-02-01 英业达股份有限公司 Method for testing functions of call module
US8359008B2 (en) * 2010-11-02 2013-01-22 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Security system and method for an electronic device
CN103037546A (en) * 2011-10-10 2013-04-10 希姆通信息技术(上海)有限公司 Mobile terminal and method for setting up communication between mobile terminal and subscribe identity module (SIM) card
CN103260172A (en) * 2012-02-21 2013-08-21 东南大学常州研究院 Device and method for monitoring telephone number of user
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1463031A (en) * 2002-05-28 2003-12-24 华为技术有限公司 Fault-telerance method and system of testing chip for boundary scanning
US8010325B2 (en) * 2008-04-25 2011-08-30 Microsoft Corporation Failure simulation and availability report on same
CN101656974A (en) * 2009-07-17 2010-02-24 厦门敏讯信息技术股份有限公司 SIM card compatibility automated test method and device
CN102340809A (en) * 2010-07-21 2012-02-01 英业达股份有限公司 Method for testing functions of call module
US8359008B2 (en) * 2010-11-02 2013-01-22 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Security system and method for an electronic device
CN103037546A (en) * 2011-10-10 2013-04-10 希姆通信息技术(上海)有限公司 Mobile terminal and method for setting up communication between mobile terminal and subscribe identity module (SIM) card
CN103260172A (en) * 2012-02-21 2013-08-21 东南大学常州研究院 Device and method for monitoring telephone number of user
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张健: "GSM系统中SIM卡的数据结构和指令系统", 《娄底师专学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656842A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of SIM card hot plug method for testing performance, storage device and mobile terminal
CN113312217A (en) * 2020-02-26 2021-08-27 瑞昱半导体股份有限公司 Method for testing slave device of internal integrated circuit bus

Also Published As

Publication number Publication date
CN105740114B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN107885656B (en) Automatic product algorithm testing method and application server
CN105389256A (en) Unit testing method and system
CN105224458A (en) A kind of database method of testing and system
CN108874678B (en) Automatic testing method and device for intelligent program
CN112433944A (en) Service testing method, device, computer equipment and storage medium
CN105404574B (en) Smart card and mobile terminal consistency test method and device
CN107357721B (en) Method and device for testing system
CN110990289B (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN113176995A (en) Interface testing method, device, equipment and medium based on testing scene
CN114896158A (en) BMS testing method and testing device
CN113220597B (en) Test method, test device, electronic equipment and storage medium
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN105740114A (en) Fault tolerance test method and apparatus for mobile terminal
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN117290255A (en) Batch interface performance test method based on Python and Locut frameworks
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN112858876A (en) Self-adaptive chip automatic testing method
CN112732237A (en) Method and system for constructing code-free development technology model
CN110177006B (en) Node testing method and device based on interface prediction model
CN110704301B (en) TPC-E automatic test method and TPC-E test system
CN113742156A (en) Joint debugging method and device, electronic equipment and storage medium
CN109639520B (en) Computer-aided test method for network communication of reactor protection system
CN111240986B (en) Artificial intelligent device detection system and method
CN116795723B (en) Chain unit test processing method and device and computer equipment
CN117724986B (en) Method and device for automatically operating kafka in use case execution

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
GR01 Patent grant
GR01 Patent grant
TA01 Transfer of patent application right

Effective date of registration: 20200909

Address after: 315000 10 / F, No. 5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province

Applicant after: TCL mobile communication technology (Ningbo) Co.,Ltd.

Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and seven West Road No. 86

Applicant before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TA01 Transfer of patent application right