CN103414811B - The method and system of synchronism detection are carried out in multiple terminals - Google Patents

The method and system of synchronism detection are carried out in multiple terminals Download PDF

Info

Publication number
CN103414811B
CN103414811B CN201310347042.8A CN201310347042A CN103414811B CN 103414811 B CN103414811 B CN 103414811B CN 201310347042 A CN201310347042 A CN 201310347042A CN 103414811 B CN103414811 B CN 103414811B
Authority
CN
China
Prior art keywords
test case
test
terminal
synchronism detection
case
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.)
Expired - Fee Related
Application number
CN201310347042.8A
Other languages
Chinese (zh)
Other versions
CN103414811A (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.)
Beijing Zhongchuang Telecom Test Co Ltd
Original Assignee
Beijing Zhongchuang Telecom Test 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 Beijing Zhongchuang Telecom Test Co Ltd filed Critical Beijing Zhongchuang Telecom Test Co Ltd
Priority to CN201310347042.8A priority Critical patent/CN103414811B/en
Publication of CN103414811A publication Critical patent/CN103414811A/en
Application granted granted Critical
Publication of CN103414811B publication Critical patent/CN103414811B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides the method and system that synchronism detection is carried out in a kind of multiple terminals, method wherein comprises: the parameter information determining the parameter information of each test case corresponding with each test terminal and each test point of test case; According to the order of the instrument that each test case uses, test case being divided into groups, then choosing from often organizing test case the test case that is carried out synchronism detection respectively; Synchronism detection is performed according to selected test case, and, in the synchronism detection implementation of test case, voice message is carried out to next test terminal and the test case corresponding with this test terminal.The concurrent testing of multiple terminals can be realized by the present invention, reach simplification testing process, improve the object of testing efficiency.

Description

The method and system of synchronism detection are carried out in multiple terminals
Technical field
The present invention relates to uniformity test technical field, more specifically, relate to the method and system that synchronism detection is carried out in a kind of multiple terminals.
Background technology
Uniformity test is an importance of protocol test, and whether its realization being mainly used in test protocol meets protocol specification, and namely indentification protocol realizes the consistency with corresponding consensus standard.Because consensus standard uses natural language description, therefore different implementor can cause different protocol realization for the different understanding of consensus standard, finally has influence on the product of terminal.
In order to ensure the quality of end product, need to test it, in order to ensure the consistency of end product and consensus standard and interconnecting property.
Usually TTCN(TestingandTestControlNotation is adopted at present, test and testing and control representation) test macro carries out terminal consistency test, and it mainly comprises TTCN test program, test platform and test terminal three parts.Wherein, TTCN test program is PC instrument control end, the code that it mainly comprises testing and control and log recording part, TTCN-3 produces and encoding and decoding part and system adaptation and platform adaption section; Test platform is control switch case, and it mainly comprises instruments protocol layer required for uniformity test and system platform adaption section.
At present when doing terminal consistency test, unit/terminal is mainly taked to test.
Fig. 1 shows the hardware connection structure block diagram of existing test macro.
As shown in Figure 1, in the process of terminal consistency test, PC instrument control end is connected with control switch case, and control switch case is connected with terminal, control switch case also connects multiple test instrumentations such as instrument 1, instrument 2, instrument 3 accordingly simultaneously, for monitoring tested terminal.When the test instruction that PC instrument control end sends, test instruction is by control switch case incoming terminal, and then instrument shows the data of test.
Can be found out by the structured flowchart shown in Fig. 1, carrying out in terminal consistency test process, owing to not carrying out test resource optimization, only take the test of unit/terminal, therefore a use-case can only once be tested, and in test process, when a testing case of a terminal completes, without any obvious information, therefore the necessary real-time oversight test process of tester is caused, not only cause the waste of test resource, also need to expend more manpower, cause testing cost greatly to increase.
Summary of the invention
In view of the above problems, the object of this invention is to provide the method and system that synchronism detection is carried out in a kind of multiple terminals, to realize the concurrent testing of multiple terminals, and simplify testing process, improve testing efficiency.
According to an aspect of the present invention, provide a kind of multiple terminals to carry out the method for synchronism detection, comprising:
Determine the parameter information of the parameter information of each test case corresponding with each test terminal and each test point of test case;
According to the order of the instrument that each test case uses, test case is divided into groups;
The test case that one is carried out synchronism detection is chosen respectively from often organizing test case; Wherein, according to the corresponding situation of instrument with test terminal, resource optimal allocation is adopted to choose test case;
Synchronism detection is performed according to selected test case, and, in the synchronism detection implementation of test case, voice message is carried out to next test terminal and the test case corresponding with next test terminal.
Wherein, in the process of test case being carried out dividing into groups, the order often organizing the instrument that test case uses does not have overlap.
Wherein, choose in the process of test case at employing resource optimal allocation, when the corresponding multiple test terminal of an instrument, each test terminal starts described test case according to the sequencing of the time of advent of the test point of corresponding test case; When the corresponding test terminal of multiple instrument, according to the time of advent of the test point of test case, choose a test case carry out synchronism detection from often organizing test case respectively; Different test terminals is there is when testing identical test case when the corresponding multiple test terminal of multiple instrument, according to the information of the test terminal that test case uses, preferentially choose the corresponding test case in the high test terminal of performance and the test terminal high with performance and carry out synchronism detection.
On the other hand, the invention provides the system that synchronism detection is carried out in a kind of multiple terminals, comprising:
Parameter information determining unit, for the parameter information of each test point of the parameter information and test case of determining each test case corresponding with each test terminal;
Test case grouped element, for the order of instrument used according to each test case, divides into groups test case;
Test case chooses unit, after dividing into groups, chooses the test case that is carried out synchronism detection respectively from often organizing test case for test case grouped element to test case; Wherein, according to the corresponding situation of instrument with test terminal, resource optimal allocation is adopted to choose test case;
Test case performs and processing unit, for performing synchronism detection according to selected test case, and, in the synchronism detection implementation of test case, voice message is carried out to next test terminal and the test case corresponding with test terminal.
Utilize above-mentioned method and system of carrying out synchronism detection according to multiple terminals of the present invention, by the optimization to test resource, the concurrent testing of multiple terminals can be realized, reach simplification testing process, shorten the testing time, improve the object of testing efficiency.
In order to realize above-mentioned and relevant object, will describe in detail and the feature particularly pointed out in the claims after one or more aspect of the present invention comprises.Explanation below and accompanying drawing describe some illustrative aspects of the present invention in detail.But what these aspects indicated is only some modes that can use in the various modes of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Accompanying drawing explanation
By reference to the content below in conjunction with the description of the drawings and claims, and understand more comprehensively along with to of the present invention, other object of the present invention and result will be understood and easy to understand more.In the accompanying drawings:
Fig. 1 is the hardware connection structure block diagram of existing test macro;
Fig. 2 is the method flow schematic diagram carrying out synchronism detection according to the multiple terminals of the embodiment of the present invention;
Fig. 3 is the system of carrying out synchronism detection according to the multiple terminals of the embodiment of the present invention.
Label identical in all of the figs indicates similar or corresponding feature or function.
Embodiment
Below with reference to accompanying drawing, specific embodiments of the invention are described in detail.
For aforementioned existing terminal consistency test, due to unit/terminal can only be adopted to test, and the necessary real-time oversight test process of tester, therefore there is waste test resource and the problem of labor intensive.The present invention is according to the feature of test case, test resource is optimized, determine the execution sequence of test terminal and corresponding test case, and remind tester to do test for next test terminal by sound prompt function to prepare, to realize the concurrent testing of multiple terminals, reach simplification testing process, improve the object of testing efficiency.
In order to illustrate that the method for synchronism detection is carried out in multiple terminals provided by the invention, Fig. 2 shows the method flow carrying out synchronism detection according to the multiple terminals of the embodiment of the present invention.
As shown in Figure 2, the method for synchronism detection is carried out in multiple terminals provided by the invention, comprising:
S210: the parameter information determining the parameter information of each test case corresponding with each test terminal and each test point of test case.
It should be noted that, the present invention adopts programming mode to build system test platform, therefore before the test case of test platform to each terminal is tested, need each terminal to support the information parameter of use-case and each terminal want the parameter information of each test point of test case to be input in system.
S220: according to the order of the instrument that each test case uses, test case is divided into groups;
Wherein, in the order of the instrument used according to each test case, in the process of divide into groups to test case, the order often organizing the instrument that test case uses does not have overlap.Suppose currently have N platform instrument, can be divided into N group, the test point of each test case should be subset or the complete or collected works of respective packets.Such as, meter number is respectively 1,2,3,4, instrument can only be divided into four groups, be respectively 1234,2413,3142,4321.
S230: after dividing into groups to test case, chooses from often organizing test case the test case that is carried out synchronism detection respectively, namely chooses a test case carry out synchronism detection from often organizing test case respectively; Wherein, according to the corresponding situation of instrument with test terminal, resource optimal allocation is adopted to choose test case.
Due to when carrying out uniformity test, there is the situation of a multiple test terminal of instrument monitoring or multiple instrument monitoring test terminal or the multiple test terminal of multiple instrument monitoring.Therefore, in order to the utilance of the efficiency and test resource that improve test, in the present invention, by adopting resource optimal allocation algorithm to test test case selectively, the object make full use of test resource to reach, improving testing efficiency.
Wherein, choose in the process of test case at employing resource optimal allocation, when the corresponding multiple test terminal of an instrument, each test terminal starts test case according to the sequencing of the time of advent of the test point of corresponding test case; When the corresponding test terminal of multiple instrument, according to the time of advent of the test point of test case, choose a test case carry out synchronism detection from often organizing test case respectively; Different test terminals is there is when testing identical test case when the corresponding multiple test terminal of multiple instrument, according to the information of the test terminal that test case uses, preferentially choose the high test terminal of performance and the test case corresponding with this test terminal carries out synchronism detection.
S240: perform synchronism detection according to selected test case, and, in the synchronism detection implementation of test case, voice message is carried out to next test terminal and the test case corresponding with this test terminal.
Wherein, in the synchronism detection implementation of test case, the process according to time-sharing multiplex carries out synchronism detection to test case.That is, according to the principle of time-sharing multiplex, synchronism detection is carried out to test case.In order to avoid tester's necessary real-time oversight testing process when testing, in an example of the present invention, in the implementation of a test case, in the first five minute that the test of this test case completes, start sound prompt function, prompting tester is the building that test environment is carried out in next test terminal.
Can be found out by the flow process shown in Fig. 2, synchronously carry out in uniformity test process in multiple terminals, be directed to single instrument unit/terminal, the many unit/terminals of many instrument, the situation of many instrument multiple terminals, according to making full use of of resource optimal allocation algorithm realization test resource, shorten the testing time, simplify testing process, and achieve multi-terminal parallel test, improve testing efficiency; Remind tester to carry out building of test environment for next test terminal by sound prompt function, make tester's assignment test time point more promptly and accurately, need not the whole testing process of real-time oversight again, the further operating efficiency of raising tester.
In order to the method for the multiple terminals provided by the invention of explanation specifically synchronism detection, by the mode of step, the process that the present invention realizes synchronism detection is elaborated below:
Step 1: each terminal is supported the test point parameters input of the test case that the information parameter of test case and each test terminal will be tested is in system.
Step 2: the order of test case according to instrumentation is divided into groups.
Step 3: select a use-case respectively and test from every group.Choose in process, guarantee that the instrument of occupying between same time group is not conflicted the time of advent according to test case information analysis test point, thus realize synchronism detection.
Step 4: for the situation of different test terminal test same test use-case, first according to the performance of each test terminal of information analysis, test terminal, the terminal preferentially choosing better performances is tested.
Step 5: information of being carried out by the optimal case preferentially chosen is undertaken integrating by the form of form and is input to interface and shows.Show the testing time point of test case successively according to the order of priorities of test cases, length of testing speech, a series of information such as instrument used, and the use-case not possessing measuring condition is warned.
That is, preferentially choosing the test terminal high with performance and the test case corresponding with this test terminal is carried out in the process of synchronism detection, according to the order of the priority of test case, the meter information that the parameter of the test point of the test terminal chosen and the test case corresponding with selected test terminal, length of testing speech and test case use is shown, and the test case not possessing test condition is warned.
Step 6: counting can test case and can not test case.
Step 7: to can test case testing one by one of counting.In use-case implementation, point out next test terminal and corresponding test case, and in a upper use-case complete the first five minute, carry out voice message, allow staff be that test environment building is carried out in next test terminal.
In addition, it should be noted that, when test case list is while all having tested (all can test case) time empty, represent that this terminal consistency test terminates.
Corresponding with said method, the present invention also provides a kind of multiple terminals to carry out the system of synchronism detection.Fig. 3 shows the logical construction of carrying out the system of synchronism detection according to the multiple terminals of the embodiment of the present invention.
As shown in Figure 3, the system 300 that synchronism detection is carried out in multiple terminals provided by the invention comprises parameter information determining unit 310, test case grouped element 320, test case chooses unit 330, test case performs and processing unit 340.
Wherein, parameter information determining unit 310 is for the parameter information of each test point of the parameter information and test case of determining each test case corresponding with each test terminal;
Test case, for the order of instrument used according to each test case, is divided into groups by test case grouped element 320;
Test case is chosen after unit 330 divides into groups to test case for test case grouped element, chooses the test case that is carried out synchronism detection respectively from often organizing test case; Wherein, according to the corresponding situation of instrument with test terminal, resource optimal allocation is adopted to choose test case;
Test case execution and processing unit 340 are for performing synchronism detection according to selected test case, and in the synchronism detection implementation of test case, voice message is carried out to next test terminal and the test case corresponding with next test terminal.
Wherein, test case grouped element 320 is in the order of the instrument used according to test case, and in the process of divide into groups to test case, the order often organizing the instrument that test case uses does not have overlap.
In addition, test case execution and processing unit 340 carry out a step and comprise time-sharing multiplex unit (not shown), this time-sharing multiplex unit is used in the synchronism detection implementation of test case, and the process according to time-sharing multiplex carries out synchronism detection to test case.
The method and system of synchronism detection are carried out in multiple terminals provided by the invention, according to the feature of test case, resource optimal allocation algorithm is adopted to be optimized test resource, determine the execution sequence of test terminal and corresponding test case, and remind tester to do test for next test terminal by sound prompt function to prepare, the concurrent testing of multiple terminals can be realized by the present invention, and simplify testing process, improve testing efficiency.
The method and system of carrying out synchronism detection according to multiple terminals of the present invention are described in an illustrative manner above with reference to accompanying drawing.But, it will be appreciated by those skilled in the art that the method and system of synchronism detection are carried out in the multiple terminals proposed for the invention described above, various improvement can also be made on the basis not departing from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (7)

1. a method for synchronism detection is carried out in multiple terminals, comprising:
Determine the parameter information of the parameter information of each test case corresponding with each test terminal and each test point of described test case;
According to the order of the instrument that each test case uses, described test case is divided into groups;
The test case that one is carried out synchronism detection is chosen respectively from often organizing test case; Wherein, according to the corresponding situation of instrument with described test terminal, when the corresponding multiple test terminal of an instrument, each test terminal starts described test case according to the sequencing of the time of advent of the test point of corresponding test case; When the corresponding test terminal of multiple instrument, according to the time of advent of the test point of described test case, choose a test case carry out synchronism detection from often organizing test case respectively; Different test terminals is there is when testing identical test case when the corresponding multiple test terminal of multiple instrument, according to the information of the test terminal that described test case uses, preferentially choose the corresponding test case in the high test terminal of performance and the test terminal high with described performance and carry out synchronism detection;
Synchronism detection is performed according to selected test case, and, in the synchronism detection implementation of described test case, voice message is carried out to next test terminal and the test case corresponding with described next test terminal.
2. the method for synchronism detection is carried out in multiple terminals as claimed in claim 1, and wherein, in the process of described test case being carried out dividing into groups, the order often organizing the instrument that test case uses does not have overlap.
3. the method for synchronism detection is carried out in multiple terminals as claimed in claim 1, wherein, carries out in the process of synchronism detection preferentially choosing the corresponding test case in the high test terminal of performance and the test terminal high with described performance,
According to the order of the priority of described test case, the meter information that the parameter of the test point of the test terminal chosen and the test case corresponding with the test terminal chosen, length of testing speech and described test case use is shown, and the test case not possessing test condition is warned.
4. the method for synchronism detection is carried out in multiple terminals as claimed in claim 1, wherein, in the synchronism detection implementation of described test case, also comprises,
Process according to time-sharing multiplex carries out synchronism detection to described test case.
5. a system for synchronism detection is carried out in multiple terminals, comprising:
Parameter information determining unit, for the parameter information of each test point of the parameter information and described test case of determining each test case corresponding with each test terminal;
Test case grouped element, for the order of instrument used according to each test case, divides into groups described test case;
Test case chooses unit, after dividing into groups, chooses the test case that is carried out synchronism detection respectively from often organizing test case for described test case grouped element to described test case; Wherein, according to the corresponding situation of instrument with described test terminal, when the corresponding multiple test terminal of an instrument, each test terminal starts described test case according to the sequencing of the time of advent of the test point of corresponding test case; When the corresponding test terminal of multiple instrument, according to the time of advent of the test point of described test case, choose a test case carry out synchronism detection from often organizing test case respectively; Different test terminals is there is when testing identical test case when the corresponding multiple test terminal of multiple instrument, according to the information of the test terminal that described test case uses, preferentially choose the corresponding test case in the high test terminal of performance and the test terminal high with described performance and carry out synchronism detection;
Test case performs and processing unit, for performing synchronism detection according to selected test case, further, in the synchronism detection implementation of described test case, voice message is carried out to the described test terminal of the next one and the test case corresponding with described test terminal.
6. the system of synchronism detection is carried out in multiple terminals as claimed in claim 5, wherein, the order of the instrument that described test case grouped element uses according to described test case, in the process of divide into groups to described test case, the order often organizing the instrument that described test case uses does not have overlap.
7. the system of synchronism detection is carried out in multiple terminals as claimed in claim 5, and wherein, described test case execution and processing unit carry out a step and comprise:
Time-sharing multiplex unit, in the synchronism detection implementation of described test case, the process according to time-sharing multiplex carries out synchronism detection to described test case.
CN201310347042.8A 2013-08-09 2013-08-09 The method and system of synchronism detection are carried out in multiple terminals Expired - Fee Related CN103414811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310347042.8A CN103414811B (en) 2013-08-09 2013-08-09 The method and system of synchronism detection are carried out in multiple terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310347042.8A CN103414811B (en) 2013-08-09 2013-08-09 The method and system of synchronism detection are carried out in multiple terminals

Publications (2)

Publication Number Publication Date
CN103414811A CN103414811A (en) 2013-11-27
CN103414811B true CN103414811B (en) 2016-03-16

Family

ID=49607795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310347042.8A Expired - Fee Related CN103414811B (en) 2013-08-09 2013-08-09 The method and system of synchronism detection are carried out in multiple terminals

Country Status (1)

Country Link
CN (1) CN103414811B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645989B (en) * 2013-12-26 2017-04-19 大唐移动通信设备有限公司 Device and method for analyzing test resource required by test case during test
CN105025142A (en) * 2015-08-21 2015-11-04 成都博视广达科技有限责任公司 Mobile phone multi-station parallel test system and implementation method thereof
CN105117345B (en) * 2015-09-23 2017-12-19 网易(杭州)网络有限公司 The interface test method and device of a kind of application program
CN107222878B (en) * 2016-03-22 2020-12-22 中国移动通信集团终端有限公司 Terminal testing method and device
CN106227658A (en) * 2016-07-15 2016-12-14 珠海市魅族科技有限公司 The management method of a kind of test case, system and device
CN107579871B (en) * 2017-07-24 2020-05-01 清华大学 Method and system for generating distributed test script based on model detection
CN109975624B (en) * 2017-12-27 2022-01-25 无锡华润华晶微电子有限公司 Test system and test method
CN110674039A (en) * 2019-09-20 2020-01-10 广州虎牙科技有限公司 Multi-device synchronous testing method and device, server and storage medium
CN111309605B (en) * 2020-02-07 2023-11-14 惠州Tcl移动通信有限公司 Terminal test method and device, storage medium and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290101A (en) * 1999-12-22 2001-04-04 深圳市中兴通讯股份有限公司 Automatic protocol test system and its test method
CN101986278A (en) * 2010-10-29 2011-03-16 中国计量科学研究院 Automatic testing method and system for electronic equipment
CN102736567A (en) * 2011-04-11 2012-10-17 中国移动通信集团公司 Method and system for centralized test control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290101A (en) * 1999-12-22 2001-04-04 深圳市中兴通讯股份有限公司 Automatic protocol test system and its test method
CN101986278A (en) * 2010-10-29 2011-03-16 中国计量科学研究院 Automatic testing method and system for electronic equipment
CN102736567A (en) * 2011-04-11 2012-10-17 中国移动通信集团公司 Method and system for centralized test control

Also Published As

Publication number Publication date
CN103414811A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103414811B (en) The method and system of synchronism detection are carried out in multiple terminals
CN106294120B (en) Method, apparatus and computer program product for testing code
JP6387344B2 (en) System and method for executing a user-defined instrument command sequence using multiple hardware and analysis modules
CN105094783A (en) Method and device for testing Android application stability
CN107315889B (en) Performance test method of simulation engine and storage medium
CN108021509B (en) Test case dynamic sequencing method based on program behavior network aggregation
CN107357726A (en) A kind of application compatibility method of testing and device
CN108763094B (en) Test case generation method, device, equipment and storage medium
JP2014143644A (en) Test device and test display method
CN105279067B (en) A kind of method and device of information reporting
EP3264274A1 (en) Input discovery for unknown program binaries
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
JP5841457B2 (en) Test equipment and test modules
CN112214366A (en) Test method, device, system, equipment and medium
JP7295703B2 (en) test equipment
JP5841458B2 (en) Test equipment and test modules
CN102750143A (en) Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling
JP2007304765A (en) Processor system and method for measuring performance of processor system
CN109947431A (en) A kind of code generating method, device, equipment and storage medium
CN105117334A (en) XML based test demand description and realization method
TW201640353A (en) Collecting hardware performance data
KR20150128711A (en) Method and system for analyzing a trace timeline of computer system activity
CN115345098B (en) SOC verification method and device, electronic equipment and storage medium
CN106776284A (en) A kind of method for testing software and system
CN107451063B (en) Script testing method and device

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160316

Termination date: 20180809