CN102420717A - Test method and system for mobile terminal protocol stack - Google Patents

Test method and system for mobile terminal protocol stack Download PDF

Info

Publication number
CN102420717A
CN102420717A CN2011103466391A CN201110346639A CN102420717A CN 102420717 A CN102420717 A CN 102420717A CN 2011103466391 A CN2011103466391 A CN 2011103466391A CN 201110346639 A CN201110346639 A CN 201110346639A CN 102420717 A CN102420717 A CN 102420717A
Authority
CN
China
Prior art keywords
protocol stack
mobile terminal
identification card
terminal protocol
testing
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
CN2011103466391A
Other languages
Chinese (zh)
Other versions
CN102420717B (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201110346639.1A priority Critical patent/CN102420717B/en
Publication of CN102420717A publication Critical patent/CN102420717A/en
Application granted granted Critical
Publication of CN102420717B publication Critical patent/CN102420717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a test method and a test system for a mobile terminal protocol stack, test equipment and an identity identification card simulator. The test method for the mobile terminal protocol stack comprises the following steps of: transmitting a protocol stack command to a mobile terminal identity identification card according to a test case by a mobile terminal protocol stack to be tested, which is transplanted from the test equipment; receiving data which is fed back by the mobile terminal identity identification card and is corresponding to the protocol stack command by the mobile terminal protocol stack to be tested; and analyzing the feedback after the data is received by the mobile terminal protocol stack to be tested, so that a test result on the mobile terminal protocol stack to be tested is obtained, wherein the interaction between the mobile terminal protocol stack to be tested and the mobile terminal identity identification card is performed by a drive unit of the mobile terminal identity identification card in the test equipment. Due to the adoption of the technical scheme, the test efficiency between the mobile terminal protocol stack and the mobile terminal identity identification card is improved, and the test cost is reduced.

Description

Mobile terminal protocol stack method of testing and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of mobile terminal protocol stack method of testing and system, testing equipment and identification card simulator.
Background technology
Along with the development of mobile phone terminal technology, the mobile phone terminal product is more and more abundanter, and function becomes increasingly complex, and the frequency of release is more and more faster, causes the R&D cycle to shorten.In the mobile phone R&D process, need guarantee the quality and the performance of mobile phone through the test of mobile phone being carried out each side, and as far as the test of mobile phone, the test of mobile phone protocol stack is particularly important.
The protocol stack of mobile phone is one of topmost part of mobile phone, has covered the most complicated communication protocol logic of mobile phone.Along with the continuous upgrading of mobile phone products, the form of mobile phone is more and more, and the complexity of mobile phone protocol stack is also increasingly high.In the mobile phone R&D process, need the interaction characteristic of testing mobile phone and identification card, for different identification cards, mobile phone can both operate as normal with checking.Mobile phone is two different hardware entities with identification card, between the two alternately except that the opering characteristic of electric apparatus, also relate to compatibility and consistency.In general, compatibility and consistency mainly are meant compatibility and consistency between mobile phone protocol stack and the identification card between mobile phone and the identification card.
For now, adopt manual test usually or/and instrument test comes compatibility between mobile phone protocol stack and the identification card and consistency are tested.
Manual test mainly is through tester's manual operation, carries out test assignment.In general; The tester can press earlier the identification card that Test Strategy is collected each manufacturer; Cooperate every identification card to do business with testing mobile phone then; As operate phone directory, short-message sending, deletion short message, make a phone call etc., and whether normal alternately between the whether normal protocol stack of judging mobile phone that carries out according to business and the identification card.But for manual test, the function of mobile phone is numerous; And usually can carry out the high work of repeatability in the test process, as send several notes or multimedia message verifying its transmitting-receiving success rate and stability, repeatedly call out continuously, repeatedly file system to be added conflict test and limit test under deletion action, the multitask multi-process situation or the like, and then can cause the test job amount very big; At this moment; If only manually come implementation of test cases, so, carry out the time of a test case cost through manual test by the button of mobile phone through the Test Engineer; Several hours at least, need several days at most.Therefore, adopt manual test, can cause testing efficiency low excessively; In addition, for manual test, also exist when carrying out manual test; Interaction content is limited between the protocol stack of testing mobile phone and the identification card, can not be to comprehensively testing between the protocol stack of mobile phone and the identification card.
Instrument test still need be collected the identification card of each manufacturer according to Test Strategy, cooperates every identification card to do business with testing mobile phone then.Different with manual test; Instrument test utilizes tester to write down and presents the reciprocal process of the protocol stack and the identification card of mobile phone, and instrument test can provide the virtual card technology, and it can arrive virtual card with the content replication of identification card; And virtual card is transparent in testing mobile phone; And the content of virtual card can be revised according to testing requirement, and testing mobile phone is done business through virtual card, with the compatibility of validation test mobile phone to all kinds of identification cards.For manual test; Instrument test has improved testing efficiency to a great extent; But for instrument test, it can only write down the interaction detail between mobile phone and the identification card, can not simulate the behavior of unusual identification card; As: send various invalid datas to testing mobile phone, thereby whether protocol stack that can not testing mobile phone can be compatible with unusual identification card.And, for instrument test, instrument purchase and maintenance cost afterwards higher.
In addition, no matter be manual test or instrument test, the protocol stack of mobile phone tested discovery mobile phone protocol stack existing problems, and it is correspondingly revised, regression test cost again is all quite high.In addition; In the test process, the behavior of network also can influence mutual between protocol stack and the identification card of testing mobile phone, some problem that exists between the two; Only under the particular network environment, could reappear; Yet present manual test and instrument test major part are based on the test of real net, so the behavior of test network is uncontrollable.
About the test of mobile phone protocol stack, can referring to publication number the patent application of WO2007056921A1, it has realized the completeness of protocol test, and can simulate the test under the abnormal conditions apace.But for the problems referred to above, it does not relate to.
Summary of the invention
The problem that the present invention solves is to realize the mobile terminal protocol stack is carried out efficiently and test cheaply.
For addressing the above problem, the present invention provides a kind of mobile terminal protocol stack method of testing, comprising:
According to test case, the mobile terminal protocol stack of transplanting in the testing equipment to be measured sends the protocol stack instruction to the portable terminal identification card;
Said mobile terminal protocol stack mobile terminal receive identification card to be measured feedback with the corresponding data of said protocol stack instruction;
Feedback to said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured;
Wherein, carrying out via the portable terminal identification card driver element in the said testing equipment alternately between said mobile terminal protocol stack to be measured and the portable terminal identification card.
Optional, adopt the identification card simulator that the portable terminal identification card is simulated.
Optional, said mobile terminal protocol stack method of testing also comprises: said mobile terminal protocol stack to be measured obtains the active data in the said portable terminal identification card; Wherein, said active data is based on the test purpose structure.
Optional, the active data that said mobile terminal protocol stack to be measured obtains in the said portable terminal identification card comprises: receive the active data notice from the portable terminal identification card; Send the active data reading command to said portable terminal identification card; Receive the active data that said portable terminal identification card returns.
Optional, said portable terminal identification card feedback data is based on the answer that testing requirement is provided with in advance.
Optional; In said portable terminal identification card, do not exist to the time from preset answers of the protocol stack of mobile terminal protocol stack to be measured instruction, said portable terminal identification card feedback data be based on that said protocol stack instructs and the portable terminal identification card in the answer that constructed of the EF file stored.
Optional, adopt the batch processing instrument test case to be managed and moved control.
Optional, said test result is meant compatibility and the conforming test result of mobile terminal protocol stack to be measured to the portable terminal identification card.
For addressing the above problem, the present invention also provides a kind of mobile terminal protocol stack method of testing, adopts the identification card simulator that the portable terminal identification card is simulated; Said method comprises:
Receive the protocol stack that produces based on test case of the mobile terminal protocol stack of self-testing device transplanting to instruct;
Said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction;
Wherein, carrying out via the identification card simulator driver element in the testing equipment alternately between said mobile terminal protocol stack and the identification card simulator.
Optional, saidly instruct corresponding data to comprise with said: to search the answer that is provided with in advance based on testing requirement of storing in the identification card simulator, send said answer to said mobile terminal protocol stack feedback.
Optional; In said identification card simulator, do not exist to the time from preset answers of the protocol stack of mobile terminal protocol stack instruction, said identification card simulator feedback data be based on that said protocol stack instructs and the identification card simulator in the answer that constructed of the EF file stored.
Optional, said mobile terminal protocol stack method of testing also comprises: said identification card simulator provides active data to said mobile terminal protocol stack; Wherein, said active data is based on the test purpose structure.
Optional, said identification card simulator provides active data to comprise to said mobile terminal protocol stack: send the active data notice to said mobile terminal protocol stack; Reception is from the active data reading command of said mobile terminal protocol stack; Return active data to said mobile terminal protocol stack.
For addressing the above problem, the present invention also provides a kind of testing equipment, comprising:
The protocol stack acquiring unit is used for obtaining mobile terminal protocol stack to be measured through the mode of transplanting;
First transmitting element is used for mobile terminal protocol stack to be measured is sent to the portable terminal identification card according to the protocol stack instruction that test case produces;
First receiving element, the transfer of data corresponding with said protocol stack instruction that is used for the portable terminal identification card is fed back be mobile terminal protocol stack to be measured extremely;
Analytic unit is used for the feedback that said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured.
Optional, said testing equipment also comprises: be used for the analog network side apparatus and mobile terminal protocol stack to be measured carries out mutual network analog unit.
Optional, said testing equipment also comprises: the data capture unit that is used for obtaining the active data of said portable terminal identification card and is sent to mobile terminal protocol stack to be measured; Wherein, said active data is based on the test purpose structure.
Optional, said data capture unit is used to receive the active data notice from the portable terminal identification card; Send the active data reading command to said portable terminal identification card, receive the active data that said portable terminal identification card returns.
Optional, said first transmitting element, first receiving element and data capture unit are integrated in the said mobile terminal protocol stack to be measured.
Optional, said portable terminal identification card feedback data is based on the answer that testing requirement is provided with in advance.
Optional, said testing equipment also comprises: the batch processing unit that is used for test case is managed and moved control.
For addressing the above problem, the present invention also provides a kind of identification card simulator, comprising:
Second receiving element, the mobile terminal protocol stack that is used for the transplanting of acceptance test equipment instructs based on the protocol stack that test case produces;
Resolution unit is used for said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction;
Driver element is used to transmit the information between mobile terminal protocol stack and the portable terminal identification card.
Optional, said identification card simulator also comprises: memory cell is used to store the answer that is provided with in advance based on testing requirement; Said resolution unit is through searching the answer of storing in the memory cell, with said answer as feeding back to said mobile terminal protocol stack with the corresponding data of said instruction.
Optional, said identification card simulator also comprises: judging unit and answer structural unit, said judging unit are used for judging whether said memory cell exists the answer of instructing to the protocol stack from the mobile terminal protocol stack; Said answer structural unit is used in judged result for not the time, reply based on the EF file build of storing in said protocol stack instruction and the memory cell, with said answer as instructing corresponding data with said.
Optional, said identification card simulator also comprises: second transmitting element that is used for providing to said mobile terminal protocol stack active data; Wherein, said active data is based on the test purpose structure.
Optional, said second transmitting element is used for sending the active data notice to said mobile terminal protocol stack; Reception is from the active data reading command of said mobile terminal protocol stack; Return active data to said mobile terminal protocol stack.
Optional, said identification card simulator also comprises: control unit is used for the work of each unit of identification card simulator is controlled.
For addressing the above problem, the present invention also provides a kind of mobile terminal protocol stack test macro, comprising: above-mentioned testing equipment and identification card simulator.
Compared with prior art, technical scheme of the present invention has following beneficial effect:
Mobile terminal protocol stack to be measured through transplanting in the testing equipment sends the protocol stack instruction to the portable terminal identification card; And mobile terminal receive identification card feedback with the corresponding data of said protocol stack instruction; Analyze the feedback after mobile terminal protocol stack to be measured receives said data, to obtain test result to said mobile terminal protocol stack to be measured; For manual test; Because testing equipment possesses powerful disposal ability; Can realize on the one hand mutual comprehensively between mobile terminal protocol stack to be measured and the identification card; To comprehensively testing between mobile terminal protocol stack to be measured and the identification card, on the other hand, also improved the testing efficiency of testing between mobile terminal protocol stack to be measured and the portable terminal identification card.
Further; Owing to adopted the identification card simulator that the behavior of portable terminal identification card is simulated; Simulated the different behaviors of portable terminal identification card, particularly, normal behaviour and abnormal behaviour that can the simulating mobile terminal identification card.For instrument test; Since its can the simulating mobile terminal identification card normal behaviour and abnormal behaviour; And then can test the compatibility between different mobile terminals identification card and the mobile terminal protocol stack to be measured; Enlarged the test specification between mobile terminal protocol stack to be measured and the identification card, realized the integrality of testing between mobile terminal protocol stack to be measured and the identification card, and; Because test need not carried out based on real identification card, so reduced testing cost.
Description of drawings
Fig. 1 is the basic structure sketch map of the mobile terminal protocol stack test macro of the embodiment of the invention;
Fig. 2 is the flow chart of the mobile terminal protocol stack method of testing of the embodiment of the invention;
Fig. 3 is that the mobile terminal protocol stack of the embodiment of the invention sends the protocol stack instruction, the flow chart of the data that identification card simulator feedback is corresponding with said protocol stack instruction;
Fig. 4 is the flow chart that the mobile terminal protocol stack of the embodiment of the invention obtains the active data in the identification card simulator;
Fig. 5 is the flow chart of the mobile terminal protocol stack method of testing of another embodiment of the present invention;
Fig. 6 is the structural representation of the testing equipment of the embodiment of the invention;
Fig. 7 is the structural representation of the identification card simulator of the embodiment of the invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, does detailed explanation below in conjunction with the accompanying drawing specific embodiments of the invention.
Set forth detail in the following description so that make much of the present invention.But the present invention can be different from alternate manner described here and implements with multiple, and those skilled in the art can do similar popularization under the situation of intension of the present invention.Therefore the present invention does not receive the restriction of following disclosed embodiment.
Because in the prior art; All there are corresponding defects in manual test protocol stack and instrument test protocol stack; Therefore; The inventor proposes, and sends the protocol stack instruction through the mobile terminal protocol stack of transplanting in the testing equipment to be measured to the portable terminal identification card, to improve the testing efficiency to compatible between mobile terminal protocol stack and the identification card and uniformity test.Further, adopt identification card simulator simulating mobile terminal identification card, realize the integrality of test, reduce testing cost.
For mobile terminal protocol stack method of testing, testing equipment, identification card simulator and the mobile terminal protocol stack test macro that can understand present embodiment better, earlier relevant noun is explained.
In the present embodiment; Test case is used to test the corresponding function point of mobile terminal protocol stack to be measured; Testing equipment is through carrying out different test cases; Come mobile terminal protocol stack to be measured is carried out miscellaneous service test, complex scene test or the like, to realize to consistency between said mobile terminal protocol stack and the identification card and compatible test.
In the present embodiment, the portable terminal identification card is used to discern identity, storage user-dependent data or the like of user.It can be SIM (Subscriber Identity Module), also can be usim card (Universal Subscriber Identity Module).
In the present embodiment; Portable terminal identification card driver element is used to transmit the data between mobile terminal protocol stack to be measured and the portable terminal identification card; Particularly; Receive the data that mobile terminal protocol stack to be measured sends, said data are sent to the portable terminal identification card, and receive the data that said portable terminal identification card returns and send it to mobile terminal protocol stack to be measured.
In the present embodiment, the identification card simulator is used for the behavior of simulating mobile terminal identification card.
See also Fig. 1; Fig. 1 is the basic structure sketch map of the mobile terminal protocol stack test macro of the embodiment of the invention; As shown in Figure 1; Said mobile terminal protocol stack test macro comprises testing equipment 1 and identification card simulator 2; Through said testing equipment 1 said mobile terminal protocol stack to be measured is transplanted in the testing equipment 1, and then through the data interaction between mobile terminal protocol stack to be measured in the testing equipment 1 and the identification card simulator 2, to realize the test to mobile terminal protocol stack to be measured.
Particularly, testing equipment described in the present embodiment 1 can be computer, is used to transplant mobile terminal protocol stack to be measured; And move the test case that is used to test mobile terminal protocol stack to be measured, because identification card simulator 2 is used for the behavior of simulating mobile terminal identification card, so can simulate with computer; And this computer can be the computer identical with said testing equipment 1; Therefore, said identification card simulator 2 may operate on the said testing equipment 1, certainly; Said identification card simulator 2 also can be simulated with other computers; At this moment, need between said testing equipment 1 and identification card simulator 2, set up the passage of transfer of data, the two interconnected as adopting data wire.
See also Fig. 2, Fig. 2 is the flow chart of the mobile terminal protocol stack method of testing of the embodiment of the invention; As shown in Figure 2, in the test process to said mobile terminal protocol stack, the action that testing equipment is carried out comprises:
S11: according to test case, the mobile terminal protocol stack of transplanting in the testing equipment to be measured sends the protocol stack instruction to the portable terminal identification card;
S12: said mobile terminal protocol stack mobile terminal receive identification card to be measured feedback with the corresponding data of said protocol stack instruction;
S13: the feedback to said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured; Wherein, carrying out via the portable terminal identification card driver element in the said testing equipment alternately between said mobile terminal protocol stack to be measured and the portable terminal identification card.
In the present embodiment; Testing equipment is obtained mobile terminal protocol stack to be measured through the mode of transplanting; Particularly, through testing equipment the ARM engineering of all modules of mobile terminal protocol stack to be measured is transplanted on the Win32 platform exactly, is made VC engineering and ARM engineering corresponding one by one; So the protocol stack code of moving on the code of the mobile terminal protocol stack to be measured that transplanting obtains and the real handset is same set of code.
In the present embodiment, for can full test mobile terminal protocol stack and identification card between consistency and compatibility, preferably, adopt identification card simulator simulating mobile terminal identification card.Particularly, be exactly normal behaviour and the abnormal behaviour of passing through identification card simulator simulating mobile terminal identification card.So; Below be that the identification card simulator is an example with the portable terminal identification card; Mobile terminal protocol stack method of testing to present embodiment describes, and correspondingly, the identification card simulator driver element of below mentioning is then corresponding with portable terminal identification card driver element.
In the present embodiment; Testing equipment is stored in test case wherein and carries out said test case through calling; Based on execution to said test case; The mobile terminal protocol stack of transplanting in the testing equipment to be measured sends the protocol stack instruction to the identification card simulator and carries out corresponding business to trigger the identification card simulator, for example: trigger the business that the identification card simulator sends short message; The instruction of protocol stack described in the present embodiment can trigger through the AT order; So that said identification card simulator carries out corresponding business; As: ATD 10086; Be used to trigger and carry out between mobile terminal protocol stack to be measured and the said identification card simulator alternately, and then call 10086.
In the present embodiment; Before between to said mobile terminal protocol stack and identification card simulator, testing; Can be according to the demand of test; Said identification card simulator feedback data after receiving the protocol instructions that mobile terminal protocol stack to be measured sends is provided with, particularly, is provided with exactly with said protocol stack and instructs corresponding specific answer.
See also Fig. 3; Fig. 3 is that the mobile terminal protocol stack sends the protocol stack instruction; The flow chart of the data that identification card simulator feedback is corresponding with said protocol stack instruction; As shown in Figure 3: said mobile terminal protocol stack sends the protocol stack instruction, and identification card simulator feedback comprises with the corresponding data of said protocol stack instruction:
S121: identification card simulator driver element receives the protocol stack instruction, and is sent to the identification card simulator.
S122: said identification card simulator judges whether to exist and the corresponding answer data of said protocol stack instruction.
S123:, then should reply data and take out if exist.
S124:, then reply data based on element file (EF, the Element File) structure of storing in said protocol stack instruction and the identification card simulator if do not exist.
S125: send said answer data to the mobile terminal protocol stack through said identification card simulator driver element.
Particularly; In the present embodiment when said testing equipment implementation of test cases; According to test case; The mobile terminal protocol stack of transplanting in the testing equipment to be measured sends the protocol stack instruction; And being sent to the identification card simulator through said identification card simulator driver element, the identification card simulator can be earlier compares said protocol stack instruction and protocol stack instruction in the memory that is stored in the identification card simulator after receiving said protocol stack instruction; If the protocol stack instruction that exists said mobile terminal protocol stack to send in the memory of said identification card simulator; And exist and the corresponding answer data of this protocol stack instruction, then the identification card simulator can take out the answer data corresponding with the protocol stack instruction of said mobile terminal protocol stack transmission, and sends said answer data to mobile terminal protocol stack to be measured through identification card simulator driver element.
If the identification card simulator is searched for the data of storing in its memory; Particularly; Exactly the protocol stack instruction of storing in its memory is searched for; Judge whether to exist the identical protocol stack instruction of protocol stack instruction of sending with said mobile terminal protocol stack, and with the corresponding answer data of this protocol stack instruction.If during the answer data that the protocol stack that the discovery of identification card simulator is not sent to said mobile terminal protocol stack instructs; Then said identification card simulator at first can be resolved the protocol stack instruction that said mobile terminal protocol stack sends accordingly; Based on parsing to said protocol stack instruction; Read the EF file; Said EF file is analyzed, construct accordingly with acquisition based on said EF file then and reply data, and then the answer data that will construct through said identification card simulator driver element are sent to mobile terminal protocol stack to be measured.
Mobile terminal protocol stack to be measured can carry out corresponding feedback after the answer data that receive said identification card simulator driver element transmission; Feedback through said mobile terminal protocol stack to be measured being received after the said answer data is analyzed, and just can obtain the test result to said mobile terminal protocol stack to be measured.
From the above; The identification card simulator both can the simulating mobile terminal identification card normal behaviour also can the simulating mobile terminal identification card abnormal behaviour; Usually; The normal behaviour of portable terminal identification card is meant at protocol stack instruction back feedback that receives the mobile terminal protocol stack and said protocol stack and instructs corresponding answer, feeds back to the correct answer of protocol stack in other words; The abnormal behaviour of portable terminal identification card is meant in protocol stack instruction back feedback that receives the mobile terminal protocol stack and the not corresponding answer of said protocol stack instruction, feeds back to the answer of protocol stack mistake in other words; The mobile terminal protocol stack is analyzed the test result that just can obtain said mobile terminal protocol stack to be measured to the feedback of said correct answer or error return.
For instance; Mobile terminal protocol stack to be measured sends the protocol stack instruction; The identification card simulator feeds back to and the corresponding data of replying of said protocol stack instruction; Mobile terminal protocol stack to be measured can carry out corresponding feedback after receiving said answer data; Whether consistent through judging the feedback of portable terminal to be measured after receiving said answer data that writes in this feedback and the test case, can correspondingly test the consistency between mobile terminal protocol stack to be measured and the identification card simulator.Particularly; If through a plurality of test cases of operation; The feedback of the correct answer that mobile terminal protocol stack to be measured sends the identification card simulator all with test case in the feedback that writes consistent, explain that then the consistency of mobile terminal protocol stack to be measured and said identification card simulator is better, otherwise; The consistency that mobile terminal protocol stack to be measured and said identification card simulator then are described is relatively poor, need correspondingly revise mobile terminal protocol stack to be measured.
In addition; If mobile terminal protocol stack to be measured sends the protocol stack instruction; The identification card simulator has fed back wrong answer data, comes the compatibility between mobile terminal protocol stack to be measured and the said identification card simulator is correspondingly tested through the feedback of analyzing after the answer data that said mobile terminal protocol stack to be measured receives said mistake.Particularly, if through a plurality of test cases of operation, the error return data that mobile terminal protocol stack to be measured sends the identification card simulator; Can carry out correspondingly fault-tolerant processing; And continue operation, the better compatible of mobile terminal protocol stack to be measured and said identification card simulator then is described, otherwise; The compatible relatively poor of mobile terminal protocol stack to be measured and said identification card simulator then is described, need be correspondingly revised mobile terminal protocol stack to be measured.
In the present embodiment; To the test of mobile terminal protocol stack except can initiatively sending the protocol stack instruction by mobile terminal protocol stack to be measured; Can also send instruction by the portable terminal identification card and give the mobile terminal protocol stack, the active data that the mobile terminal protocol stack obtains in the said portable terminal identification card is carried out.
Please continue with reference to figure 2, as shown in Figure 2: said mobile terminal protocol stack method of testing also comprises:
S21: said mobile terminal protocol stack to be measured obtains the active data in the said portable terminal identification card; Wherein, said active data is based on the test purpose structure.
And then analyze through the feedback of mobile terminal protocol stack to be measured being obtained after the said active data, obtain test result to said mobile terminal protocol stack to be measured.
Be that the identification card simulator describes still below with the portable terminal identification card.See also Fig. 4, Fig. 4 is the flow chart that the mobile terminal protocol stack of the embodiment of the invention obtains the active data in the identification card simulator.As shown in Figure 4, the active data that said mobile terminal protocol stack obtains in the identification card simulator comprises:
S211: receive active data notice from the identification card simulator.
S212: send the protocol stack instruction to said identification card simulator.
S213: said identification card simulator judges whether said protocol stack instruction is the active data reading command.
S214: if then active data is sent to the mobile terminal protocol stack.
S215: if not, then carry out said protocol stack instruction.
Particularly; According to test case; Said identification card simulator can be informed mobile terminal protocol stack to be measured with the mode of status word, and it has active data, and mobile terminal protocol stack to be measured can send the protocol stack instruction to said identification card simulator after receiving this status word; The identification card simulator is after receiving said protocol stack instruction; Can't directly its active data that will send be sent to mobile terminal protocol stack to be measured, but the protocol stack instruction that mobile terminal protocol stack to be measured sends is judged, judge whether said protocol stack instruction is the active data reading command.
If the active data that then will be stored in the memory of identification card simulator is sent to mobile terminal protocol stack to be measured through identification card simulator driver element.
If not, then said identification card simulator can correspondingly be resolved said protocol stack instruction earlier, carries out said protocol stack instruction then.
For instance; Come mobile terminal protocol stack to be measured is tested if will carry out call business through the identification card simulator; Mobile terminal protocol stack then to be measured at first will receive the active data notice from the identification card simulator, particularly, has received from comprising of identification card simulator it and will call out the active data notice of implication; Mobile terminal protocol stack to be measured is after receiving this active data notice; Can send the protocol stack instruction to the identification card simulator, the identification card simulator will be judged earlier after receiving the protocol stack instruction that the mobile terminal protocol stack sends; Whether this protocol stack instruction is the instruction of reading the data relevant with call business; Whether be the active data reading command promptly, if then will be stored in data relevant in the memory of identification card simulator and be sent to mobile terminal protocol stack to be measured through identification card simulator driver element with call business.Mobile terminal protocol stack to be measured can carry out corresponding feedback after receiving the data relevant with call business; Through analyzing the feedback of mobile terminal protocol stack to be measured after receiving the data relevant, then can obtain test result to said mobile terminal protocol stack to be measured with call business.
Sending protocol stack through above-mentioned mobile terminal protocol stack to be measured instructs to the identification card simulator; And identification card simulator transmission active data is notified to said mobile terminal protocol stack to be measured; And then, can test consistency and compatibility between mobile terminal protocol stack and the portable terminal identification card more all sidedly through analyzing said mobile terminal protocol stack to be measured in answer data that receive the transmission of identification card simulator or the behavior after the active data.
In the present embodiment; Can manage and control test case through the batch processing instrument; Particularly; Can come to move in a certain order each test case in the testing equipment through the batch processing instrument exactly; And can be according to result to the final operation of a plurality of test cases; As: the title of the test case of the number of the number of successful test case, the test case of failure, the running time of test case, failure, percent of pass etc., said percent of pass are meant the ratio of test case number of number and operation of the test case of success, obtain compatibility between mobile terminal protocol stack and the portable terminal identification card and conforming test result.
Through batch processing tool management and operation test case, the identification card simulator is tested the mobile terminal protocol stack of transplanting to be measured, has realized fast and automatic regression test cheaply.As: test case of every operation; Just be equivalent to testing between a portable terminal identification card and the mobile terminal protocol stack; According to the speed of service of present computer, can carry out 5 times 1000 test cases at least in 1 day, so; It is tested between 1 day just can be to 1000 portable terminal identification cards and mobile terminal protocol stack; And come the test case of failure is analyzed according to test result, and then mobile terminal protocol stack to be measured is correspondingly revised, with the function of the protocol stack that improves portable terminal to be measured.So, realized testing efficiency height and the low regression test of cost.
Need to prove; The network environment that can also come Simulation of Complex through network simulator in the present embodiment is to test the mobile terminal protocol stack accordingly; Through network simulator with the simulation under the various network environment; Compatibility and consistency between mobile terminal protocol stack and the identification card simulator; Particularly, can dispose into realization accordingly with different layers and simulate various network environment through in test case, writing corresponding program the mobile terminal protocol stack.In addition; If the test of said mobile terminal protocol stack is carried out based on the network environment of reality; Then need not network simulator, perhaps the time, when not needing the cooperation of network to realize data between said mobile terminal protocol stack and the said identification card simulator mutual to the test of said mobile terminal protocol stack; As: the deletion of short message also need not network simulator.
In addition; In the present embodiment for can be to comprehensively testing between mobile terminal protocol stack and the portable terminal identification card; Adopted the identification card simulator that said portable terminal identification card is simulated; And then mutual through between the mobile terminal protocol stack to be measured transplanted in the testing equipment and the identification card simulator, so that said mobile terminal protocol stack to be measured is tested accordingly.But; In other embodiments also can be directly mutual through between the mobile terminal protocol stack to be measured transplanted in the testing equipment and the portable terminal identification card; So that said mobile terminal protocol stack to be measured is tested accordingly; So adopting the identification card simulator that said portable terminal identification card is simulated should be as the qualification to technical scheme of the present invention.
The method of testing of above-mentioned mobile terminal protocol stack mainly is with in the test process, and the angle of the action of carrying out from testing equipment comes the method for testing to the mobile terminal protocol stack to describe.In other embodiments, the angle of the action that can also carry out from the identification card simulator of the method for testing of mobile terminal protocol stack comes the test of mobile terminal protocol stack is described.
See also Fig. 5; Fig. 5 is the flow chart of the mobile terminal protocol stack method of testing of another embodiment of the present invention; Said mobile terminal protocol stack method of testing adopts the identification card simulator that the portable terminal identification card is simulated, and is as shown in Figure 5; In test process, the action that the identification card simulator is carried out comprises:
S31: receive the protocol stack that produces based on test case of the mobile terminal protocol stack of self-testing device transplanting to instruct.
S32: said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction; Wherein, carrying out via the identification card simulator driver element in the testing equipment alternately between said mobile terminal protocol stack and the identification card simulator.
In the present embodiment; Said testing equipment is transplanted mobile terminal protocol stack, operation test case, identification card simulator and is received the protocol stack instruction that said transplanting mobile terminal protocol stack sends, and sends with said protocol stack according to the answer that is provided with in advance based on testing requirement of its storage and to instruct the process of corresponding data; When not having the answer of instructing in the identification card simulator to protocol stack from the mobile terminal protocol stack; Said identification card simulator to said protocol stack instruction resolve earlier, reply data based on the EF file build of storing in the identification card simulator then and be sent to the process of said mobile terminal protocol stack; And the identification card simulator sends the active data notice to said mobile terminal protocol stack, receives the active data reading command from said mobile terminal protocol stack, returns the process of active data to said mobile terminal protocol stack; And carrying out via the identification card simulator driver element in the testing equipment alternately between stack of mobile terminal protocol described in the said process and the identification card simulator; With above-mentioned similar from the said mobile terminal protocol stack method of testing of testing equipment angle execution, so, no longer launch to describe in detail here.
The embodiment of the invention also provides a kind of testing equipment, sees also Fig. 6, and Fig. 6 is the structural representation of the testing equipment of the embodiment of the invention; As shown in Figure 6, the testing equipment 1 of the embodiment of the invention comprises:
Protocol stack acquiring unit 101 is used for obtaining mobile terminal protocol stack to be measured through the mode of transplanting;
First transmitting element 102 is used for mobile terminal protocol stack to be measured is sent to the portable terminal identification card according to the protocol stack instruction that test case produces;
First receiving element 103, the transfer of data corresponding with said protocol stack instruction that is used for the portable terminal identification card is fed back be mobile terminal protocol stack to be measured extremely;
Analytic unit 104 is used for the feedback that said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured.
In the present embodiment; Protocol stack acquiring unit 101 obtains mobile terminal protocol stack to be measured through the mode of transplanting, particularly; Protocol stack acquiring unit 101 can be transplanted to the ARM engineering of all modules of mobile terminal protocol stack to be measured on the Win32 platform; Make VC engineering and ARM engineering corresponding one by one, so the protocol stack code of moving on the code of the mobile terminal protocol stack to be measured that transplanting obtains and the real handset is same set of code.Said first transmitting element 102, first receiving element 103, analytic unit 104 link to each other with said protocol stack acquiring unit 101 respectively.
Need to prove; In the present embodiment; Said testing equipment 1 can also comprise with said protocol stack acquiring unit 101 and linking to each other, and is used for analog network side apparatus and mobile terminal protocol stack and carries out mutual network analog unit 105, and the function of said network analog unit 105 and the network simulator when describing mobile terminal protocol stack method of testing is similar; Can no longer launch concrete the detailed description here referring to above-mentioned description particularly to network simulator.
In the present embodiment, said testing equipment 1 also comprises: be used for the data capture unit 106 that obtains the active data of said portable terminal identification card and be sent to mobile terminal protocol stack to be measured; Said data capture unit 106 links to each other with said protocol stack acquiring unit 101, and wherein, said active data is based on test purpose structure.Particularly, said data capture unit 106 receives the active data notice from the portable terminal identification card; Send the active data reading command to said portable terminal identification card, receive the active data that said portable terminal identification card returns.
First transmitting element 102 described in the present embodiment, first receiving element 103, data capture unit 106 can be integrated in the said mobile terminal protocol stack 3 to be measured.
Testing equipment described in the present embodiment 1 also comprises the batch processing unit (not shown) that is used for test case is managed and moved control.
In the present embodiment, said testing equipment can repeat no more referring to above-mentioned carrying out from the said mobile terminal protocol stack method of testing of testing equipment angle execution to the test of mobile terminal protocol stack to be measured here.
The embodiment of the invention also provides a kind of identification card simulator, sees also Fig. 7, and Fig. 7 is the structural representation of the identification card simulator of the embodiment of the invention, and is as shown in Figure 7, and said identification card simulator 2 comprises:
Second receiving element 201, the mobile terminal protocol stack that is used for the transplanting of acceptance test equipment instructs based on the protocol stack that test case produces.
Resolution unit 202 is used for said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction.
Driver element 203 is used to transmit the information between mobile terminal protocol stack and the identification card simulator.
In the present embodiment, said resolution unit 202, second receiving element 201 link to each other through said driver element 203.
In the present embodiment, said identification card simulator 2 also comprises:
Memory cell 204 is used to store the answer that is provided with in advance based on testing requirement; Said resolution unit 202 links to each other with said memory cell 204, through searching in the memory cell 204 answer of storage, with said answer as feeding back to said mobile terminal protocol stack with the corresponding data of said instruction.
Judging unit 205 links to each other with said memory cell 204, is used for judging whether said memory cell 204 exists the answer of instructing to the protocol stack from the mobile terminal protocol stack.
Reply structural unit 206; Link to each other with said judging unit 205, memory cell 204, driver element 203 and second receiving element 201; Be used in judged result for not the time; The EF file build answer of storage in the protocol stack instruction that receives based on said second receiving element 201 and the memory cell 204, with said answer as being sent to mobile terminal protocol stack to be measured via said driver element 203 with the corresponding data of said instruction.
Second transmitting element 207 links to each other with said driver element 203, is used for to said mobile terminal protocol stack active data being provided, and wherein, said active data is based on test purpose structure.Particularly, said second transmitting element 207 is used for sending the active data notice to said mobile terminal protocol stack; Reception is from the active data reading command of said mobile terminal protocol stack; Return active data to said mobile terminal protocol stack.
Control unit 208; Respectively with said second receiving element 201, resolution unit 202, driver element 203, memory cell 204, judging unit 205, reply structural unit 206, second transmitting element 207 links to each other, be used for the work of each unit of identification card simulator is controlled.
In the present embodiment; Said memory cell 204 also comprises: the buffer unit (not shown); Identification card simulator 2 feedbacks that are used for protocol stack instruction that buffer memory mobile terminal protocol stack sends to identification card simulator 2, are provided with in advance based on testing requirement and the corresponding data of said protocol stacks instruction; And buffer memory sends to the active data of mobile terminal protocol stack according to the identification card simulator 2 of test purpose design; Said memory cell 204 also is used to store the EF file, particularly, has comprised the relation between content, EF file structure and the EF file of EF file.
In the present embodiment, said control unit 208 is used for the work of identification card simulator 2 each unit is controlled.Particularly; The 202 analysis protocol stack instructions of control resolution unit; And feedback data corresponding with the instruction of said protocol stack, the protocol stack in the control buffer unit accessed cache unit instruct, and control second transmitting element 207 and to said mobile terminal protocol stack active data etc. are provided.
In addition; Identification card simulator 2 in the present embodiment is except can the normal behaviour and abnormal behaviour of simulating mobile terminal identification card; Can also develop the STK (STK that value-added service is ordered in the simulating mobile terminal identification card; SIM Toolkit), reach USIM application tool (USAT, USIM Application Toolkit) and simulating mobile terminal identification card authentication and encryption behavior or the like.
Need to prove that not necessarily there are buffer unit in above-mentioned identification card simulator 2 and the internal structure of portable terminal identification card and incomplete same in the portable terminal identification card like reality; But; In the present embodiment, for identification card simulator 2, its behavior is the same with the behavior of portable terminal identification card; Particularly; Concerning the mobile terminal protocol stack, on the interface of mobile terminal protocol stack and said identification card simulator 2, the behavior of identification card simulator 2 transmission/reception data is consistent with the behavior of portable terminal identification card transmission/reception data.
In the present embodiment, the course of work of said identification card simulator 2 can be carried out referring to the method for testing that above-mentioned identification card simulator is carried out said mobile terminal protocol stack, no longer launches specifically to detail here.
In sum, the technical scheme of the embodiment of the invention has following beneficial effect at least:
Mobile terminal protocol stack to be measured through transplanting in the testing equipment sends the protocol stack instruction to the portable terminal identification card; And mobile terminal receive identification card feedback with the corresponding data of said protocol stack instruction; Analyze the feedback after mobile terminal protocol stack to be measured receives said data, to obtain test result to said mobile terminal protocol stack to be measured; For manual test; Because testing equipment possesses powerful disposal ability; Can realize on the one hand mutual comprehensively between mobile terminal protocol stack to be measured and the identification card; To comprehensively testing between mobile terminal protocol stack to be measured and the identification card, on the other hand, also improved the testing efficiency of testing between mobile terminal protocol stack to be measured and the portable terminal identification card.
Further; Owing to adopted the identification card simulator that the behavior of portable terminal identification card is simulated; Simulated the different behaviors of portable terminal identification card, particularly, normal behaviour and abnormal behaviour that can the simulating mobile terminal identification card.For instrument test; Since its can the simulating mobile terminal identification card normal behaviour and abnormal behaviour; And then can test the compatibility between different mobile terminals identification card and the mobile terminal protocol stack to be measured; Enlarged the test specification between mobile terminal protocol stack to be measured and the identification card, realized the integrality of testing between mobile terminal protocol stack to be measured and the identification card, and; Because test need not carried out based on real identification card, so reduced testing cost.
Though the present invention with preferred embodiment openly as above; But it is not to be used for limiting the present invention; Any those skilled in the art are not breaking away from the spirit and scope of the present invention; Can utilize the method and the technology contents of above-mentioned announcement that technical scheme of the present invention is made possible change and modification, therefore, every content that does not break away from technical scheme of the present invention; To any simple modification, equivalent variations and modification that above embodiment did, all belong to the protection range of technical scheme of the present invention according to technical spirit of the present invention.

Claims (27)

1. a mobile terminal protocol stack method of testing is characterized in that, comprising:
According to test case, the mobile terminal protocol stack of transplanting in the testing equipment to be measured sends the protocol stack instruction to the portable terminal identification card;
Said mobile terminal protocol stack mobile terminal receive identification card to be measured feedback with the corresponding data of said protocol stack instruction;
Feedback to said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured;
Wherein, carrying out via the portable terminal identification card driver element in the said testing equipment alternately between said mobile terminal protocol stack to be measured and the portable terminal identification card.
2. mobile terminal protocol stack method of testing as claimed in claim 1 is characterized in that, adopts the identification card simulator that the portable terminal identification card is simulated.
3. mobile terminal protocol stack method of testing as claimed in claim 1 is characterized in that, also comprises: said mobile terminal protocol stack to be measured obtains the active data in the said portable terminal identification card; Wherein, said active data is based on the test purpose structure.
4. mobile terminal protocol stack method of testing as claimed in claim 3; It is characterized in that the active data that said mobile terminal protocol stack to be measured obtains in the said portable terminal identification card comprises: receive active data notice from the portable terminal identification card; Send the active data reading command to said portable terminal identification card; Receive the active data that said portable terminal identification card returns.
5. mobile terminal protocol stack method of testing as claimed in claim 1 is characterized in that, said portable terminal identification card feedback data is based on the answer that testing requirement is provided with in advance.
6. mobile terminal protocol stack method of testing as claimed in claim 1; It is characterized in that; In said portable terminal identification card, do not exist to the time from preset answers of the protocol stack of mobile terminal protocol stack to be measured instruction, said portable terminal identification card feedback data be based on that said protocol stack instructs and the portable terminal identification card in the answer that constructed of the EF file stored.
7. mobile terminal protocol stack method of testing as claimed in claim 1 is characterized in that, adopts the batch processing instrument test case to be managed and moved control.
8. like each described mobile terminal protocol stack method of testing of claim 1 to 7, it is characterized in that said test result is meant compatibility and the conforming test result of mobile terminal protocol stack to be measured to the portable terminal identification card.
9. a mobile terminal protocol stack method of testing is characterized in that, adopts the identification card simulator that the portable terminal identification card is simulated; Said method comprises:
Receive the protocol stack that produces based on test case of the mobile terminal protocol stack of self-testing device transplanting to instruct;
Said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction;
Wherein, carrying out via the identification card simulator driver element in the testing equipment alternately between said mobile terminal protocol stack and the identification card simulator.
10. mobile terminal protocol stack method of testing as claimed in claim 9; It is characterized in that; Saidly instruct corresponding data to comprise with said: to search the answer that is provided with in advance based on testing requirement of storing in the identification card simulator, send said answer to said mobile terminal protocol stack feedback.
11. mobile terminal protocol stack method of testing as claimed in claim 10; It is characterized in that; In said identification card simulator, do not exist to the time from preset answers of the protocol stack of mobile terminal protocol stack instruction, said identification card simulator feedback data be based on that said protocol stack instructs and the identification card simulator in the answer that constructed of the EF file stored.
12. mobile terminal protocol stack method of testing as claimed in claim 9 is characterized in that, also comprises: said identification card simulator provides active data to said mobile terminal protocol stack; Wherein, said active data is based on the test purpose structure.
13. mobile terminal protocol stack method of testing as claimed in claim 12 is characterized in that, said identification card simulator provides active data to comprise to said mobile terminal protocol stack: send the active data notice to said mobile terminal protocol stack; Reception is from the active data reading command of said mobile terminal protocol stack; Return active data to said mobile terminal protocol stack.
14. a testing equipment is characterized in that, comprising:
The protocol stack acquiring unit is used for obtaining mobile terminal protocol stack to be measured through the mode of transplanting;
First transmitting element is used for mobile terminal protocol stack to be measured is sent to the portable terminal identification card according to the protocol stack instruction that test case produces;
First receiving element, the transfer of data corresponding with said protocol stack instruction that is used for the portable terminal identification card is fed back be mobile terminal protocol stack to be measured extremely;
Analytic unit is used for the feedback that said mobile terminal protocol stack to be measured receives after the said data is analyzed, and obtains the test result to said mobile terminal protocol stack to be measured.
15. testing equipment as claimed in claim 14 is characterized in that, also comprises: be used for the analog network side apparatus and mobile terminal protocol stack to be measured carries out mutual network analog unit.
16. testing equipment as claimed in claim 14 is characterized in that, also comprises: the data capture unit that is used for obtaining the active data of said portable terminal identification card and is sent to mobile terminal protocol stack to be measured; Wherein, said active data is based on the test purpose structure.
17. testing equipment as claimed in claim 16 is characterized in that, said data capture unit is used to receive the active data notice from the portable terminal identification card; Send the active data reading command to said portable terminal identification card, receive the active data that said portable terminal identification card returns.
18. testing equipment as claimed in claim 16 is characterized in that, said first transmitting element, first receiving element and data capture unit are integrated in the said mobile terminal protocol stack to be measured.
19. testing equipment as claimed in claim 14 is characterized in that, said portable terminal identification card feedback data is based on the answer that testing requirement is provided with in advance.
20. testing equipment as claimed in claim 14 is characterized in that, also comprises: the batch processing unit that is used for test case is managed and moved control.
21. an identification card simulator is characterized in that, comprising:
Second receiving element, the mobile terminal protocol stack that is used for the transplanting of acceptance test equipment instructs based on the protocol stack that test case produces;
Resolution unit is used for said protocol stack instruction is resolved, to said mobile terminal protocol stack feedback and the corresponding data of said instruction;
Driver element is used to transmit the information between mobile terminal protocol stack and the portable terminal identification card.
22. identification card simulator as claimed in claim 21 is characterized in that, also comprises memory cell, is used to store the answer that is provided with in advance based on testing requirement; Said resolution unit is through searching the answer of storing in the memory cell, with said answer as feeding back to said mobile terminal protocol stack with the corresponding data of said instruction.
23. identification card simulator as claimed in claim 22 is characterized in that, also comprises judging unit and replys structural unit; Said judging unit is used for judging whether said memory cell exists the answer of instructing to the protocol stack from the mobile terminal protocol stack; Said answer structural unit is used in judged result for not the time, reply based on the EF file build of storing in said protocol stack instruction and the memory cell, with said answer as instructing corresponding data with said.
24. identification card simulator as claimed in claim 21 is characterized in that, also comprises: second transmitting element that is used for providing active data to said mobile terminal protocol stack; Wherein, said active data is based on the test purpose structure.
25. identification card simulator as claimed in claim 24 is characterized in that, said second transmitting element is used for sending the active data notice to said mobile terminal protocol stack; Reception is from the active data reading command of said mobile terminal protocol stack; Return active data to said mobile terminal protocol stack.
26., it is characterized in that like each described identification card simulator of claim 21 to 25, also comprise control unit, be used for the work of each unit of identification card simulator is controlled.
27. a mobile terminal protocol stack test macro is characterized in that, comprises like each described testing equipment of claim 14 to 20 with like each described identification card simulator of claim 21 to 26.
CN201110346639.1A 2011-11-04 2011-11-04 Mobile terminal protocol stack method of testing and system Active CN102420717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110346639.1A CN102420717B (en) 2011-11-04 2011-11-04 Mobile terminal protocol stack method of testing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110346639.1A CN102420717B (en) 2011-11-04 2011-11-04 Mobile terminal protocol stack method of testing and system

Publications (2)

Publication Number Publication Date
CN102420717A true CN102420717A (en) 2012-04-18
CN102420717B CN102420717B (en) 2016-03-30

Family

ID=45944964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110346639.1A Active CN102420717B (en) 2011-11-04 2011-11-04 Mobile terminal protocol stack method of testing and system

Country Status (1)

Country Link
CN (1) CN102420717B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653338A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Application updating method and device
CN105786700A (en) * 2014-12-26 2016-07-20 展讯通信(上海)有限公司 Multi-card automatic test system and method and mobile terminal
CN105871662A (en) * 2016-06-22 2016-08-17 腾讯科技(深圳)有限公司 Protocol recording and replay method and terminal
CN107332961A (en) * 2016-04-29 2017-11-07 展讯通信(上海)有限公司 Multi-module mobile terminal without card calibrates comprehensive survey method and device
CN109379248A (en) * 2018-09-29 2019-02-22 上海金卓网络科技有限公司 Protocol stack test macro and method
CN113098731A (en) * 2021-03-01 2021-07-09 Oppo广东移动通信有限公司 Protocol stack testing method, testing system and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633198A (en) * 2004-12-31 2005-06-29 大唐微电子技术有限公司 A method and system for compatibility test of subscriber identification module tool kit card
CN201260230Y (en) * 2008-09-01 2009-06-17 信息产业部电信传输研究所 TD-SCDMA terminal card interface test system
CN101459927A (en) * 2008-12-19 2009-06-17 中国移动通信集团浙江有限公司 Method for service test by analogue mobile phone terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633198A (en) * 2004-12-31 2005-06-29 大唐微电子技术有限公司 A method and system for compatibility test of subscriber identification module tool kit card
CN201260230Y (en) * 2008-09-01 2009-06-17 信息产业部电信传输研究所 TD-SCDMA terminal card interface test system
CN101459927A (en) * 2008-12-19 2009-06-17 中国移动通信集团浙江有限公司 Method for service test by analogue mobile phone terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786700A (en) * 2014-12-26 2016-07-20 展讯通信(上海)有限公司 Multi-card automatic test system and method and mobile terminal
CN105786700B (en) * 2014-12-26 2018-11-16 展讯通信(上海)有限公司 A kind of more card Auto-Test Systems and method and mobile terminal
CN105653338A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 Application updating method and device
CN105653338B (en) * 2015-12-30 2019-02-12 Oppo广东移动通信有限公司 A kind of update method and device of application
CN107332961A (en) * 2016-04-29 2017-11-07 展讯通信(上海)有限公司 Multi-module mobile terminal without card calibrates comprehensive survey method and device
CN105871662A (en) * 2016-06-22 2016-08-17 腾讯科技(深圳)有限公司 Protocol recording and replay method and terminal
CN105871662B (en) * 2016-06-22 2018-10-23 腾讯科技(深圳)有限公司 A kind of agreement records, back method and terminal
CN109379248A (en) * 2018-09-29 2019-02-22 上海金卓网络科技有限公司 Protocol stack test macro and method
CN113098731A (en) * 2021-03-01 2021-07-09 Oppo广东移动通信有限公司 Protocol stack testing method, testing system and computer storage medium

Also Published As

Publication number Publication date
CN102420717B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN102420717A (en) Test method and system for mobile terminal protocol stack
CN102421112B (en) Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN105303112B (en) The detection method and device of component call loophole
CN106095673A (en) Automated testing method based on WEB interface and system
CN112506807B (en) Automatic test system for interface serving multiple systems
CN104424095A (en) Automatic testing method and system of mobile terminal
CN101137170A (en) Software automatic testing instrument and method of embedded equipment
CN101719097A (en) Debug method and system of automation test script and automation application server
CN101483562B (en) Method, system and related equipment for routine test
CN103458004A (en) Internet of things-based device subscription information changing method and equipment
CN113032245A (en) Error positioning identification test method and device, computer equipment and storage medium
CN103200022A (en) Handing method, equipment and system of data downloading abnormity
CN101193154B (en) Testing data integration system and method for mobile phone product
CN101409655A (en) Message-driven automation test system and implementing method
CN100556192C (en) The method that information of mobile terminal reports automatically
CN100334917C (en) A method and system for compatibility test of subscriber identification module tool kit card
CN102025555A (en) Method and device for testing IP multimedia sub-system performance
CN1937461B (en) Terminal test device based on terminal management business
CN110908708B (en) Code release method, device and system
CN101729286B (en) Method, device and system for modifying variables in management information base of agent terminal
CN117290255A (en) Batch interface performance test method based on Python and Locut frameworks
CN101141767A (en) Network management platform testing system and method
CN107277163A (en) A kind of long-range mapping method of equipment and device
CN104834586A (en) Automatic test method, device and system of Android interface
CN102420722A (en) Comprehensive networking automation testing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170214

Address after: 200127 room 3205F, building 707, Zhang Yang Road, Pudong New Area Free Trade Zone, Shanghai, China

Patentee after: Xin Xin Finance Leasing Co.,Ltd.

Address before: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170707

Address after: 100033 room 2062, Wenstin Executive Apartment, 9 Financial Street, Beijing, Xicheng District

Patentee after: Xin Xin finance leasing (Beijing) Co.,Ltd.

Address before: 200127 room 3205F, building 707, Zhang Yang Road, Pudong New Area Free Trade Zone, Shanghai, China

Patentee before: Xin Xin Finance Leasing Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120418

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Denomination of invention: Test method and system for mobile terminal protocol stack

Granted publication date: 20160330

License type: Exclusive License

Record date: 20180626

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200305

Address after: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 100033 room 2062, Wenstin administrative apartments, 9 Financial Street B, Xicheng District, Beijing.

Patentee before: Xin Xin finance leasing (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200529

Address after: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, No.97 Xiangyu Road, Xiamen area, China (Fujian) free trade zone, Xiamen City, Fujian Province

Patentee after: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Address before: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Date of cancellation: 20210301

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120418

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Contract record no.: X2021110000010

Denomination of invention: Mobile terminal protocol stack test method and system

Granted publication date: 20160330

License type: Exclusive License

Record date: 20210317

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, 97 Xiangyu Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Patentee before: Xinxin Finance Leasing (Xiamen) Co.,Ltd.