CN105207854A - Multi-terminal concurrent testing system and method - Google Patents
Multi-terminal concurrent testing system and method Download PDFInfo
- Publication number
- CN105207854A CN105207854A CN201510659093.3A CN201510659093A CN105207854A CN 105207854 A CN105207854 A CN 105207854A CN 201510659093 A CN201510659093 A CN 201510659093A CN 105207854 A CN105207854 A CN 105207854A
- Authority
- CN
- China
- Prior art keywords
- module
- main program
- terminal
- measured
- test
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a multi-terminal concurrent testing system and method. The multi-terminal concurrent testing system comprises a server and at least one to-be-tested terminal; the server comprises a task starting module, a main program module, a monitoring module and a report generating module; the task staring module is used for generating a testing task and starting and stopping the main program module and the monitoring module; the main program module is used for sending the testing task to the terminals and starting the report generating module; the monitoring module is used for monitoring and recording communication information of the main program module and all the terminals; the report generating module is used for generating a testing report of a corresponding format; the server is connected with all the to-be-tested terminals; the task starting module is connected with the main program module and the monitoring module; the main program module is connected with the monitoring module and the report generating module; the monitoring module is connected with the report generating module. According to the multi-terminal concurrent testing system and method, the technical effects of multi-terminal concurrent testing and multi-terminal testing report unifying can be achieved.
Description
Technical field
The present invention relates to a kind of multiple terminals concurrent test system and method.
Background technology
At present to premises automation test and comparison maturation is that the corresponding station terminal of a main program module is tested, owing to only testing for a station terminal, so be easier to realize to the generation ratio of test report.
To the automatic test of multiple terminals not good method in prior art, and when multiple stage terminal carries out concurrent test to the method for the generation of test report also ununified process.
Summary of the invention
The object of this invention is to provide a kind of multiple terminals concurrent test system and method, to solve the low and skimble-scamble technical problem of report generation of testing efficiency.
For realizing above goal of the invention, on the one hand, the invention provides a kind of multiple terminals concurrent test system, comprise server and at least one terminal to be measured, described server comprises task start module, main program module, monitoring module and report generation module;
Wherein said task start module, for generating test assignment and startup/closedown main program module and monitoring module;
Described main program module, for sending test assignment to described terminal to be measured and starting report generation module;
Described monitoring module, for monitoring and recording the communication information of main program module and described terminal to be measured;
Described report generation module, for generating the test report of corresponding format;
Described server is connected with at least one terminal to be measured; Described task start module is respectively with main program module and monitor model calling; Described main program module respectively with monitoring module and report generation model calling; Described monitoring module and report generation model calling.
Further, described terminal to be measured is mobile phone or panel computer or intelligent wristwatch.
Further, described server and the connected mode of each terminal to be measured are connected by USB serial ports.
On the other hand, the invention provides a kind of multiple terminals concurrent testing method, comprise the steps:
Step S1: at least one terminal to be measured is connected with server;
Step S2: test assignment content is sent to main program module, is sent to by end message to be measured and monitors module and test report form is sent to report generation module by task start module;
Step S3: task start module gives each at least one PORT COM of terminal distribution to be measured on main program module;
Step S4: task start module starts main program module 12 and monitors module;
Step S5: the test assignment content in step S2 is sent to each terminal to be measured by main program module,
Step S6: whether main program module monitoring and test task completes;
When test assignment does not complete, then perform step S7;
When test assignment completes, then perform step S9;
Step S7: whether the communication port monitoring module monitoring main program module and terminal to be measured has information interaction;
When there being information interaction, then perform step S8;
When there is no information interaction, then perform step S7;
Step S8: monitor module and the interactive information in step S7 is preserved with the form record of document, and perform step S6;
Step S9: main program module controls to monitor module to be stopped monitoring and starting report generation module;
Step S10: report generation module processes with the test report format string format in step S2 the interactive information document that step S8 record is preserved, and generates at least a test report;
Step S11: after test report has generated, task start module closes every other module, completes test.
Further, the method that in described step S5, main program module sends test assignment to each terminal to be measured is that main program module sends test assignment to each terminal to be measured with burse mode by USB serial ports.
Further, monitoring module in described step S8 is that the interactive information of at least one communication port of main program module and terminal to be measured being matched is preserved in a document with time sequencing with the method that the form record of document is preserved by the interactive information in step S7.
Further, the document described in described step S8 is the document of XML format.
Compared with prior art, the invention has the beneficial effects as follows:
1. use and monitor module and monitor each terminal to be measured and match the technical scheme of multiple communication port, obtain a main program module to the technique effect of multiple stage terminal test;
2. use and monitor CMOS macro cell interactive information document, report generation module, by the technical scheme of interactive information document structure tree test report, obtains the technique effect of the unitized generation to multiple stage terminal test to be measured report;
3. use main program module to be sent the technical scheme of test assignment to terminal to be measured by USB serial ports burse mode, obtain the technique effect improving resource utilization.
Accompanying drawing explanation
Fig. 1 is the main block diagram of multiple terminals of the present invention concurrent test system and method;
Fig. 2 is the flow chart of multiple terminals of the present invention concurrent test system and method;
Fig. 3 is a specific embodiment flow chart of multiple terminals of the present invention concurrent test system and method;
Fig. 4 is another specific embodiment flow chart of multiple terminals of the present invention concurrent test system and method.
In figure,
Server 1; Task start module 11; Main program module 12; Monitor module 13; Report generation module 14;
At least one terminal 2 to be measured.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Embodiment 1:
As shown in Figure 1, multiple terminals of the present invention concurrent test system and method, comprises server 1 and at least one terminal 2 to be measured, and described server 1 comprises task start module 11, main program module 12, monitors module 13 and report generation module 14;
Wherein said task start module 11, for generating test assignment and startup/closedown main program module 12 and monitoring module 13;
Described main program module 12, for sending test assignment and starting report generation module 14 to terminal;
Described monitoring module 13, for monitoring and recording the communication information of main program module 12 and described terminal to be measured 2;
Described report generation module 14, for generating the test report of corresponding format;
Described server 1 is connected with each terminal 2 to be measured; Described task start module 11 is respectively with main program module 12 and monitor module 13 and be connected; Described main program module 12 is connected with monitoring module 13 and report generation module 14 respectively; Described monitoring module 13 is connected with report generation module 14.
Embodiment 2:
As shown in Figure 2, multiple terminals of the present invention concurrent testing method, comprises the steps:
Step S1: at least one terminal 2 to be measured is connected with server;
Step S2: test assignment content is sent to main program module 12, is sent to by end message to be measured and monitors module 13 and test report form is sent to report generation module 14 by task start module 11;
Step S3: task start module 11 distributes at least one PORT COM on main program module each terminal 2 to be measured;
Step S4: task start module 11 starts main program module 12 and monitors module 13;
Step S5: the test assignment content in step S2 is sent to each terminal to be measured 2 by main program module 12,
Step S6: whether main program module 12 monitoring and test task completes;
When test assignment does not complete, then perform step S7;
When test assignment completes, then perform step S9;
Step S7: whether the communication port that monitoring module 13 monitors main program module 11 and terminal to be measured 2 has information interaction;
When there being information interaction, then perform step S8;
When there is no information interaction, then perform step S7;
Step S8: monitor module 13 and the interactive information in step S7 is preserved with the form record of document, and perform step S6;
Step S9: main program module 12 controls to monitor module 13 to be stopped monitoring and starting report generation module 14;
Step S10: the interactive information document that report generation module 14 pairs of step S8 records are preserved, with the test report format string format process in step S2, generates at least a test report;
Step S11: after test report has generated, task start module 11 closes every other module, completes test;
In conjunction with the embodiments 1 with embodiment 2 specifically,
Be mobile phone for terminal to be measured, when starting to test, be connected with server by least one mobile phone to be measured, test assignment content is sent to main program module by task start module; Wherein test assignment content such as: send note, send multimedia message, call and screen locking automatically, end message to be measured is sent to monitoring module by task start module; Wherein end message to be measured such as: terminal number; Sequence number to be measured, test report form is sent to report generation module by task start module; Wherein test report form such as: note and multimedia message are sent result and is referred in a test report; Using the result called as a test report; Using the result of automatic screen locking as a test report.After above-mentioned information sends by task start module, start to the corresponding communication port of each terminal distribution to be measured; Such as: have 3 terminals to be measured; No. 1 terminal to be measured, No. 2 terminals to be measured and No. 3 terminals to be measured respectively; To No. 1 terminal distribution 1001-1004 port to be measured; To No. 2 terminal distribution 2001-2004 ports to be measured; To No. 3 terminal distribution 3001-3004 ports to be measured, be assigned rear startup main program module and monitor module.Test assignment content can be sent to terminal to be measured by port by main program module, and terminal to be measured is made corresponding according to content measurement, and test result is issued main program module by corresponding port.Now monitor module and monitor above-mentioned all of the port, and the interactive information of main program module and terminal to be measured is all preserved with document form; Such as: No. 1 terminal all of the port to be measured and the mutual information of main program module are all saved to inside the document of file " No. 1 terminal interaction information to be measured " by name according to time sequencing.After test completes, main program module close monitor module, and start report generation module with test report form specify to generate document format, thus generation needed for test report.All reports can a terminal be that unit generates; Also can by the same test Content placement of multiple terminal in a report.After test report generates, whole process completes.
Embodiment 3:
As shown in Figure 3, multiple terminals of the present invention concurrent testing method, comprises the steps:
Step S210: at least one terminal 2 to be measured is connected with server 1;
Step S220: test assignment content is sent to main program module 12, is sent to by end message to be measured and monitors module 13 and test report form is sent to report generation module 14 by task start module 11;
Step S230: task start module 11 distributes at least one PORT COM on main program module each terminal 2 to be measured;
Step S240: task start module 11 starts main program module 12 and monitors module 13;
Step S250: main program module 11 sends test assignment to each terminal 2 to be measured with burse mode by USB serial ports;
Step S260: whether main program module 12 monitoring and test task completes;
When test assignment does not complete, then perform step S266;
When test assignment completes, then perform step S269;
Step S266: whether the communication port that monitoring module 13 monitors main program module 11 and terminal to be measured 2 has information interaction;
When there being information interaction, then perform step S267;
When there is no information interaction, then perform step S266;
Step S267: monitor module 13 and the interactive information in step S266 is preserved with the form record of document, and perform step S260;
Step S269: main program module 12 controls to monitor module 13 to be stopped monitoring and starting report generation module 14;
Step S270: the interactive information document that report generation module 14 pairs of step S267 records are preserved, with the test report format string format process in step S220, generates at least a test report;
Step S280: after test report has generated, task start module 11 closes every other module, completes test;
Wherein, the detailed process that in Fig. 2, in step S5, main program module 11 sends test assignment to each terminal 2 to be measured is step S250, and namely main program module 11 sends test assignment to each terminal 2 to be measured with burse mode by USB serial ports;
Specifically, main program module is generally a task is sent to one of them terminal to be measured and waits for terminal replies, more next task is sent to terminal to be measured after terminal replies, until all tasks of all terminals to be measured have all been tested.Though can test be completed like this, due to task one by one one by one terminal test, cause the testing time long and waste computer resource.Use the burse mode of USB serial ports to combine and monitor module, all terminals to be measured are sent to by disposable for task, and wait for terminal replies to be measured, this method substantially reduces the testing time and takes full advantage of computer resource, can well reach the effect of multiple terminals concurrent test.
Embodiment 4:
On the basis of embodiment 3, as shown in Figure 3, multiple terminals of the present invention concurrent testing method, comprises the steps:
Step S310: at least one terminal 2 to be measured is connected with server;
Step S320: test assignment content is sent to main program module 12, is sent to by end message to be measured and monitors module 13 and test report form is sent to report generation module 14 by task start module 11;
Step S330: task start module 11 distributes at least one PORT COM on main program module each terminal 2 to be measured;
Step S340: task start module 11 starts main program module 12 and monitors module 13;
Step S350: main program module 11 sends test assignment to each terminal 2 to be measured with burse mode by USB serial ports;
Step S360: whether main program module 12 monitoring and test task completes;
When test assignment does not complete, then perform step S366;
When test assignment completes, then perform step S369;
Step S366: whether the communication port that monitoring module 13 monitors main program module 12 and terminal to be measured 2 has information interaction;
When there being information interaction, then perform step S367;
When there is no information interaction, then perform step S366;
Step S367: the interactive information monitoring at least one communication port that main program module 11 and terminal 2 to be measured match by module 13 is preserved in a document with time sequencing, and performs step S360;
Step S369: main program module 12 controls to monitor module 13 to be stopped monitoring and starting report generation module 14;
Step S370: the interactive information document that report generation module 14 pairs of step S367 records are preserved, with the test report format string format process in step S320, generates at least a test report;
Step S380: after test report has generated, task start module 11 closes every other module, completes test;
Wherein, monitoring the detailed process that the interactive information in step S7 preserves with the form record of document by module 13 in Fig. 1 in step S8 is step S367, and the interactive information namely monitoring at least one communication port that main program module 12 and terminal 2 to be measured match by module 13 is preserved in a document with time sequencing;
Specifically; Such as No. 1 terminal to be measured and all interactive information of main program module are preserved in the document of " No. 1 end message to be measured " by name, contribute to follow-up generation test report like this.
The document format used in the present invention can be XML format, and content measurement and test result can well show by the structure of XML format.Also can be that other can facilitate, the document format of clear and definite acquisition content measurement and test result.
In addition to the implementation, the present invention can also have other execution modes, and all employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop in protection scope of the present invention.
Claims (7)
1. multiple terminals concurrent test system, is characterized in that, comprise server and at least one terminal to be measured, described server comprises task start module, main program module, monitoring module and report generation module;
Described task start module, for generating test assignment and startup/closedown main program module and monitoring module;
Described main program module, for sending test assignment to described terminal to be measured and starting report generation module;
Described monitoring module, for monitoring and recording the communication information of main program module and described terminal to be measured;
Described report generation module, for generating the test report of corresponding format;
Described server is connected with each terminal to be measured; Described task start module is respectively with main program module and monitor model calling; Described main program module respectively with monitoring module and report generation model calling; Described monitoring module and report generation model calling.
2. multiple terminals as claimed in claim 1 concurrent test system, is characterized in that, described terminal to be measured is mobile phone or panel computer or intelligent wristwatch.
3. multiple terminals as claimed in claim 1 concurrent test system, it is characterized in that, described server and the connected mode of each terminal to be measured are connected by USB serial ports.
4. multiple terminals concurrent testing method, is characterized in that, described multiple terminals concurrent testing method is applied to as the multiple terminals concurrent test system as described in arbitrary in claim 1-3, comprises the steps,
Step S1: at least one terminal to be measured is connected with server;
Step S2: test assignment content is sent to main program module, is sent to by end message to be measured and monitors module and test report form is sent to report generation module by task start module;
Step S3: task start module gives each at least one PORT COM of terminal distribution to be measured on main program module;
Step S4: task start module starts main program module 12 and monitors module;
Step S5: the test assignment content in step S2 is sent to each terminal to be measured by main program module,
Step S6: whether main program module monitoring and test task completes;
When test assignment does not complete, then perform step S7;
When test assignment completes, then perform step S9;
Step S7: whether the communication port monitoring module monitoring main program module and terminal to be measured has information interaction;
When there being information interaction, then perform step S8;
When there is no information interaction, then perform step S7;
Step S8: monitor module and the interactive information in step S7 is preserved with the form record of document, and perform step S6;
Step S9: main program module controls to monitor module to be stopped monitoring and starting report generation module;
Step S10: report generation module processes with the test report format string format in step S2 the interactive information document that step S8 record is preserved, and generates at least a test report;
Step S11: after test report has generated, task start module closes every other module, completes test.
5. multiple terminals as claimed in claim 4 concurrent testing method, it is characterized in that, the method that in described step S5, main program module sends test assignment to each terminal to be measured is that main program module sends test assignment to each terminal to be measured with burse mode by USB serial ports.
6. multiple terminals as claimed in claim 5 concurrent testing method, it is characterized in that, monitoring module in described step S8 is that the interactive information of at least one communication port of main program module and terminal to be measured being matched is preserved in a document with time sequencing with the method that the form record of document is preserved by the interactive information in step S7.
7., as the multiple terminals concurrent testing method as described in arbitrary in claim 4-6, it is characterized in that, the document described in described step S8 is the document of XML format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510659093.3A CN105207854A (en) | 2015-10-13 | 2015-10-13 | Multi-terminal concurrent testing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510659093.3A CN105207854A (en) | 2015-10-13 | 2015-10-13 | Multi-terminal concurrent testing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105207854A true CN105207854A (en) | 2015-12-30 |
Family
ID=54955305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510659093.3A Pending CN105207854A (en) | 2015-10-13 | 2015-10-13 | Multi-terminal concurrent testing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105207854A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371990A (en) * | 2016-08-30 | 2017-02-01 | 福建天晴数码有限公司 | Testing method and testing system of concurrent processing capability of interactive software |
CN111314535A (en) * | 2020-01-21 | 2020-06-19 | 上海悦易网络信息技术有限公司 | Method and equipment for recording quality inspection process of mobile phone |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483488A (en) * | 2008-01-29 | 2009-07-15 | 天津赛乐新创通信技术有限公司 | Intelligent multi-network road measurement system |
CN102487345A (en) * | 2010-12-06 | 2012-06-06 | 普天信息技术研究院有限公司 | Apparatus for testing network performance parameter, system thereof, and method thereof |
CN102495799A (en) * | 2011-12-02 | 2012-06-13 | 刘伟 | Automatic test system and method of movable terminal |
CN103298016A (en) * | 2012-02-27 | 2013-09-11 | 展讯通信(上海)有限公司 | Test system for mobile terminals |
CN103365770A (en) * | 2012-04-09 | 2013-10-23 | 陆兵 | Mobile terminal software testing system and software testing method |
-
2015
- 2015-10-13 CN CN201510659093.3A patent/CN105207854A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483488A (en) * | 2008-01-29 | 2009-07-15 | 天津赛乐新创通信技术有限公司 | Intelligent multi-network road measurement system |
CN102487345A (en) * | 2010-12-06 | 2012-06-06 | 普天信息技术研究院有限公司 | Apparatus for testing network performance parameter, system thereof, and method thereof |
CN102495799A (en) * | 2011-12-02 | 2012-06-13 | 刘伟 | Automatic test system and method of movable terminal |
CN103298016A (en) * | 2012-02-27 | 2013-09-11 | 展讯通信(上海)有限公司 | Test system for mobile terminals |
CN103365770A (en) * | 2012-04-09 | 2013-10-23 | 陆兵 | Mobile terminal software testing system and software testing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371990A (en) * | 2016-08-30 | 2017-02-01 | 福建天晴数码有限公司 | Testing method and testing system of concurrent processing capability of interactive software |
CN106371990B (en) * | 2016-08-30 | 2018-11-23 | 福建天晴数码有限公司 | A kind of test method and system of interactive software oncurrent processing ability |
CN111314535A (en) * | 2020-01-21 | 2020-06-19 | 上海悦易网络信息技术有限公司 | Method and equipment for recording quality inspection process of mobile phone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103533016B (en) | A kind of broadband network tests the speed and intelligent analysis method | |
CN103197930B (en) | The method that automobile diagnostic software automatically generates | |
CN108683636B (en) | Charging pile communication method and system | |
CN103577320A (en) | Testing method and system of remote terminals | |
CN107908680A (en) | Management method, electronic device and the computer-readable recording medium of wechat public platform | |
CN102413484A (en) | System and method for testing network link performance of terminal equipment | |
CN105354118A (en) | Method, apparatus and system for automatically testing intelligent terminal | |
CN103780455A (en) | TETRA digit cluster protocol test method and system based on TTCN-3 | |
CN114328256A (en) | Test method, test device, computer-readable storage medium and electronic equipment | |
CN105207854A (en) | Multi-terminal concurrent testing system and method | |
CN113703363B (en) | Plug-and-play method of intelligent edge computing gateway in power dispatching cloud | |
CN111262909A (en) | Large-screen information display method, device, equipment and storage medium | |
CN106849349B (en) | A kind of sun square formation simulator developing Of Remote Control Power frame system | |
CN111131741B (en) | Multi-party video call method, electronic equipment, device and computer readable storage medium | |
CN109714369B (en) | Communication method of distributed charging pile communication system, charging pile and networking device | |
CN102708008A (en) | Implementation method of linking download strategy | |
CN102291686B (en) | Emergency short message group sending method and system, centralized control center and short message group sender | |
CN113031569B (en) | Monitoring method, system, terminal and medium of nuclear fusion control system | |
CN111541589B (en) | Method, device and equipment for testing expansion module interface of intelligent terminal | |
CN104079368A (en) | Method of transmitting test data of application software and server | |
CN109462613A (en) | A kind of communications protocol compatibility method | |
WO2017197829A1 (en) | Test information management method and apparatus, and test case execution system and device | |
CN211426666U (en) | Testing device for relay protection device | |
CN103888990B (en) | Power consumption test method, the apparatus and system of terminal device Network application | |
CN106412657B (en) | A kind of method and system of set-top box programming sequence code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151230 |