CN105512029A - Method, server and system for testing intelligent terminal - Google Patents

Method, server and system for testing intelligent terminal Download PDF

Info

Publication number
CN105512029A
CN105512029A CN201510847415.7A CN201510847415A CN105512029A CN 105512029 A CN105512029 A CN 105512029A CN 201510847415 A CN201510847415 A CN 201510847415A CN 105512029 A CN105512029 A CN 105512029A
Authority
CN
China
Prior art keywords
intelligent terminal
test
message
test assignment
resource file
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
CN201510847415.7A
Other languages
Chinese (zh)
Other versions
CN105512029B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510847415.7A priority Critical patent/CN105512029B/en
Publication of CN105512029A publication Critical patent/CN105512029A/en
Application granted granted Critical
Publication of CN105512029B publication Critical patent/CN105512029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

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

Abstract

The invention discloses a method, server and system for testing an intelligent terminal. The method for testing the intelligent term comprises steps of establishing wireless connection with a plurality of intelligent terminals of different models; interacting with a control terminal, obtaining a test task configuration file in dependence on the instruction of the control terminal and saving the test task configuration file to a database; interacting with the plurality of intelligent terminals by means of the established wireless connection, sending the test task configuration file in the database to the intelligent terminals, and receiving test result data sent by the intelligent terminals after the intelligent terminals execute corresponding operations in dependence on the specified test task configuration file. According to the technical scheme, the server communicates with the intelligent terminals serving as test machines for tests through wireless connection, in this way, one server can be connected with more intelligent terminals, the connection number is not limited by wired connection, the number of servers needed for tests is greatly reduced, and the cost is reduced.

Description

A kind of method, server and system of testing intelligent terminal
Technical field
The present invention relates to automatization testing technique field, be specifically related to a kind of method, server and system of testing intelligent terminal.
Background technology
Before a intelligent terminal application software of issue, all need to test on existing various type on the market, whether can true(-)running on the intelligent terminal of various type with the different editions detecting this software.And issue the most of type all needing when changing larger version to cover on the market, otherwise product issues rear collapse accident too much, affects Consumer's Experience.
Current way is (as mobile phone by the test intelligent terminal of various type, PAD etc.) be connected on the PC as testing server by USB line, adopt ADB to debug bridge mode to communicate, script to be tested is pushed to hardwired each intelligent terminal with this PC from PC run, and obtains operation result by instrument from intelligent terminal.
But this hard connecting mode limits the intelligent terminal number that a PC can connect.The current maxima of the USB interface of PC is fixing, the intelligent terminal limited amount that therefore can connect, and it is also very limited for namely using hub to do and expanding.On the other hand, there are three categorles terminal operating systems in the market: Android, ios and Windowsphone, particularly Android operation system, because system is increased income, and the cell phone manufacturer related to is too assorted too much, therefore cause mobile phone fragmentation especially severe, therefore test needs the type covered to reach hundreds of, even thousands of kinds.This just needs tens even more PCs to be used as testing server and connects intelligent terminal, and testing cost is very high.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the method for test intelligent terminal solved the problem at least in part and corresponding server and system.
According to one aspect of the present invention, provide a kind of method of testing intelligent terminal, wherein, the method comprises:
Wireless connections set up by the multiple intelligent terminals different from model;
Carry out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database;
The wireless connections that utilization is set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
Alternatively, it is one or more that the test assignment configuration file described in comprises as in hypomere, and must comprise description section:
Section is described: for describing the essential information of test assignment;
First kind expanding section: for describing the resource file be positioned on server required when test assignment is run on intelligent terminal;
Equations of The Second Kind expanding section: for describing the resource file being positioned at this intelligent terminal required when test assignment is run on intelligent terminal.
Alternatively, a section comprises: one or more key-value pair;
Described description section comprises: title: the functional descriptions information of test assignment;
Time-out time: concrete timeout value;
Described first kind expanding section comprises: resource file name: the title of a concrete resource file;
Be issued to the position of intelligent terminal: an absolute path on intelligent terminal;
Described Equations of The Second Kind expanding section comprises: test case call number: concrete test case;
Alternatively, the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Utilize the message of wireless connections and the following form of intelligent terminal interactive set up:
General message, comprising: message length field, operation field and at least one parameter field;
File data stream packet, comprising: the data stream of message length field and file;
Communication command message, comprising: message length field, session person's identity field, operation field and at least one parameter.
Alternatively, the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Receive the log on request message that intelligent terminal sends, this message comprises: the type information of intelligent terminal and communications protocol version number;
Identify and record according to the identity of log on request message to this intelligent terminal;
To this intelligent terminal return support corresponding communications protocol log in response message, or to this intelligent terminal return do not support corresponding communications protocol log in response message;
And logging in of reception intelligent terminal transmission exits message.
Alternatively, the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Send test assignment profile data stream packet to one or more intelligent terminal, this message comprises: the byte length of test assignment profile data stream and the binary data stream of test assignment configuration file;
Send resource file data stream packet to described one or more intelligent terminal, this message comprises: the byte length of resource file data stream and the binary data stream of resource file.
Alternatively, before sending resource file data stream packet to described one or more intelligent terminal, the method comprises further:
Send resource file sending out notice message to one or more intelligent terminal, this message comprises: resource file to be pushed is in the filename of server end, resource file needs to be pushed storage absolute path, the length of this resource file and the eigenwert of this resource file on the client;
Receive the already present response message of this resource file that described one or more intelligent terminal is replied or the response message needing to receive this resource file;
When receive be the response message needing to receive this resource file time, send resource file data stream packet to intelligent terminal.
Alternatively, the described utilization wireless connections of setting up and multiple intelligent terminal carry out also comprising alternately:
Send test case to described one or more intelligent terminal and perform message, this message comprises: the executable command of the call number of this test case in test assignment configuration file, this test case is capable and perform the occasion information of next test case;
Receive the test result data message that described one or more intelligent terminal sends, this message comprises: the mark of corresponding test assignment configuration file and a test result data of the current test case run.
Alternatively, describedly to comprise alternately with control terminal:
Receive the test assignment configuration file interpolation message that control terminal sends, this message comprises: the title of test assignment configuration file and intelligent terminal list;
Test assignment configuration file indicated by described test assignment configuration file interpolation message and corresponding intelligent terminal list are added in described database.
Alternatively, described carry out with control terminal also comprising alternately following one or more:
Receive the database displaying request message that control terminal sends; Test assignment the profile list in control terminal return data storehouse;
Receive control terminal send test assignment action command message, this message comprises: in database an existing test assignment configuration file title and need the client side list running this test assignment configuration file;
Receive the nominative testing task deletion message that control terminal sends, this message comprises: the title of test assignment configuration file to be deleted; This test assignment configuration file is deleted from database;
Receive the intelligent terminal displaying request message that control terminal sends; The list of the intelligent terminal that connects is returned to control terminal;
Receive the removing test assignment request message that control terminal sends; Delete all test assignment configuration files in described database;
What receive control terminal transmission exits request message; Closing server also exits.
According to a second aspect of the present invention, additionally provide a kind of server testing intelligent terminal, wherein, this server comprises:
Radio-cell, is suitable for the multiple intelligent terminals different from model and sets up wireless connections;
Test processes unit, is suitable for carrying out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database; And the wireless connections utilizing described radio-cell to set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
Alternatively, it is one or more that the test assignment configuration file described in comprises as in hypomere, and must comprise description section:
Section is described: for describing the essential information of test assignment;
First kind expanding section: for describing the resource file be positioned on server required when test assignment is run on intelligent terminal;
Equations of The Second Kind expanding section: for describing the resource file being positioned at this intelligent terminal required when test assignment is run on intelligent terminal.
Alternatively, a section comprises: one or more key-value pair;
Described description section comprises: title: the functional descriptions information of test assignment;
Time-out time: concrete timeout value;
Described first kind expanding section comprises: resource file name: the title of a concrete resource file;
Be issued to the position of intelligent terminal: an absolute path on intelligent terminal;
Described Equations of The Second Kind expanding section comprises: test case call number: concrete test case;
Alternatively, described test processes unit, is suitable for the message utilizing wireless connections and the following form of intelligent terminal interactive connected:
General message, comprising: message length field, operation field and at least one parameter field;
File data stream packet, comprising: the data stream of message length field and file;
Communication command message, comprising: message length field, this identity field of session, operation field and at least one parameter.
Alternatively, described test processes unit, be suitable for the log on request message receiving intelligent terminal transmission, this message comprises: the type information of intelligent terminal and communications protocol version number; Identify and record according to the identity of log on request message to this intelligent terminal; To this intelligent terminal return support corresponding communications protocol log in response message, or to this intelligent terminal return do not support corresponding communications protocol log in response message; And logging in of reception intelligent terminal transmission exits message.
Alternatively, described test processes unit, be suitable for sending test assignment profile data stream packet to one or more intelligent terminal, this message comprises: the byte length of test assignment profile data stream and the binary data stream of test assignment configuration file; Send resource file data stream packet to described one or more intelligent terminal, this message comprises: the byte length of resource file data stream and the binary data stream of resource file.
Alternatively, described test processes unit, be suitable for before sending resource file data stream packet to described one or more intelligent terminal, be further adapted for and send resource file sending out notice message to one or more intelligent terminal, this message comprises: resource file to be pushed is in the filename of server end, resource file needs to be pushed storage absolute path, the length of this resource file and the eigenwert of this resource file on the client; Receive the already present response message of this resource file that described one or more intelligent terminal is replied or the response message needing to receive this resource file; When receive be the response message needing to receive this resource file time, send resource file data stream packet to intelligent terminal.
Alternatively, described test processes unit, also be suitable for sending test case to described one or more intelligent terminal and perform message, this message comprises: the executable command of the call number of this test case in test assignment configuration file, this test case is capable and perform the occasion information of next test case; Receive the test result data message that described one or more intelligent terminal sends, this message comprises: the mark of corresponding test assignment configuration file and a test result data of the current test case run.
Alternatively, described test processes unit, the test assignment configuration file being suitable for receiving control terminal transmission adds message, and this message comprises: the title of test assignment configuration file and intelligent terminal list; Test assignment configuration file indicated by described test assignment configuration file interpolation message and corresponding intelligent terminal list are added in described database.
Alternatively, described test processes unit, is also suitable for,
Receive the database displaying request message that control terminal sends; Test assignment the profile list in control terminal return data storehouse;
Receive control terminal send test assignment action command message, this message comprises: in database an existing test assignment configuration file title and need the client side list running this test assignment configuration file;
Receive the nominative testing task deletion message that control terminal sends, this message comprises: the title of test assignment configuration file to be deleted; This test assignment configuration file is deleted from database;
Receive the intelligent terminal displaying request message that control terminal sends; The list of the intelligent terminal that connects is returned to terminal device;
Receive the removing test assignment request message that control terminal sends; Delete all test assignment configuration files in described database;
What receive control terminal transmission exits request message; Closing server also exits.
According to a third aspect of the present invention, additionally provide a kind of system of testing intelligent terminal, wherein, this system comprises the different multiple intelligent terminals of the server described in above-mentioned any one, one or more control terminal and model.
According to a kind of method of testing intelligent terminal provided by the invention, server and system, server and control terminal is made to carry out alternately, and multiple intelligent terminals that can be different from model are set up wireless connections and are carried out mutual, the quantity simultaneously setting up the intelligent terminal of wireless connections in theory can infinite expanding, solve server can only connect test intelligent terminal problem by a USB interface thus, reach the beneficial effect that wireless connections set up by the multiple intelligent terminals making server different from model simultaneously, the maximum performance playing computer drives the intelligent terminal of automatic test, save computer resource.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.
Fig. 1 shows a kind of according to an embodiment of the invention process flow diagram testing the method for intelligent terminal;
Fig. 2 shows a kind of according to an embodiment of the invention structural drawing testing the server of intelligent terminal; ;
Fig. 3 shows a kind of according to an embodiment of the invention composition frame chart testing the system of intelligent terminal.。
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows a kind of according to an embodiment of the invention process flow diagram testing the method for intelligent terminal, and as shown in Figure 1, the method for test intelligent terminal provided by the invention comprises:
Step S110: wireless connections set up by the multiple intelligent terminals different from model.
In one embodiment of the invention, be set up wireless connections between the server of test intelligent terminal and each intelligent terminal in this step.Wireless connections can be that WiFi connects, also can wireless connections otherwise, as bluetooth connects, and infrared connection etc.
Step S120: carry out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database.
In one embodiment of the invention, server and the control terminal of test intelligent terminal are mutual, and On-board test task configuration file line pipe of going forward side by side is managed.Can be wired connection between the server of test intelligent terminal and control terminal, also can be wireless connections, as WiFi connection, bluetooth connection or infrared connection etc.And the number of control terminal also can be multiple, such as, when there is multiple test and management person, the terminal that the plurality of test and management person uses can as control terminal.
Step S130: the wireless connections that utilization is set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
In method shown in Fig. 1, carry out by wireless connections the communication tested when testing and between the server of intelligent terminal and test intelligent terminal, the server of such test intelligent terminal can be connected with more intelligent terminal, and no longer by the linking number quantitative limitation of wired connection, greatly reduce the number of servers needed for test, reduce cost.
In one embodiment of the invention, the control terminal in method shown in Fig. 1 can be PC, also can be PAD or mobile phone.Intelligent terminal can be mobile phone, panel computer etc.
In this manual: test refers to operational system or application program on intelligent terminal on a preset condition based, assessment operation result, compares by operation result and expected result.Pre-conditionedly should comprise normal condition, exception condition or limiting case.Test assignment configuration file is the concrete behavior required for description test case, can be write by the configuration file of an ini form, adds relevant test case script or namely jar forms a test assignment configuration file.Test case (case) is an executable command in automatic test, can produce test data.
In the method shown in Fig. 1, set up wireless connections between server and each intelligent terminal as the different model of test machine, and undertaken alternately by wireless connections.Therefore in an embodiment of the present invention, the basis of the method shown in Fig. 1 further defines a kind of new wireless communication protocol, the server of test intelligent terminal communicates based on this wireless communication protocol with each intelligent terminal.Below in conjunction with Fig. 1, this wireless communication protocol is described in detail.Here be specifically described for WiFi connection.
In one embodiment of the invention, it is one or more that a test assignment configuration file shown in Fig. 1 described in method comprises as in hypomere: describe section, first kind expanding section and Equations of The Second Kind expanding section.And a test assignment configuration file must comprise description section.
Section is described: for describing the essential information of test assignment;
First kind expanding section: for describing the resource file be positioned on server required when test assignment is run on intelligent terminal;
Equations of The Second Kind expanding section: for describing the resource file being positioned at this intelligent terminal required when test assignment is run on intelligent terminal.
In one embodiment of the invention, a section comprises one or more key-value pair, as key1:value1, key2:value2.
Such as, describe section (description) can comprise: title (name): the functional descriptions information of test assignment; Time-out time (timeout): concrete timeout value;
A concrete example is as follows:
【description】
Name: install commercialization exemplary application after health check-up
timeout:10
Wherein, title (i.e. name) is the universal description to test assignment, and object conveniently understands this test assignment; Time-out time (i.e. timeout) is the time-out time of test assignment, and namely time-out just abandons this test assignment.
Test assignment configuration file, except requisite description section, can also add first kind expanding section and Equations of The Second Kind expanding section as required, and first kind expanding section and Equations of The Second Kind expanding section are not must section.
First kind expanding section can comprise: resource file name: the title of a concrete resource file; Be issued to the position of intelligent terminal: an absolute path on intelligent terminal.
Specifically, first kind expanding section can be copyXX, wherein XX is the continuous number from 0, configurable one or more this kind of section, this section is for describing resource file set when test assignment is run on intelligent terminal, these resource files leave on the server of test intelligent terminal, if when intelligent terminal needs to run certain test assignment, need that the resource file required for test assignment is pushed to intelligent terminal and get on.Be exemplified below:
[copy0]
src:RecommandWifi.jar,Kill.jar
dest:/sdcard/local/tmp
[copy1]
src:MSafeV6_frame-277-6.3.1-main-full-release.apk
dest:/sdcard/local/tmp
For the resource file name that copy0, src are required for test assignment, concrete resource file is RecommandWifi.jar, Kill.jar, and these resource files determine whether to comprise path depending on arrangement situation, and multiple resource file can by English semicolon separated.Dest is that in src, resource file will be pushed to the position in intelligent terminal, is an intelligent terminal absolute path, is /sdcard/local/tmp herein.For the resource file name that copy1, src are required for test assignment, concrete resource file is MSafeV6_frame-277-6.3.1-main-full-release.apk, and dest is its absolute path on intelligent terminal, is /sdcard/local/tmp.It should be noted that, the absolute path of intelligent terminal can not have two, is if desired pushed to multiple diverse location on intelligent terminal, then need to add one or more copyXX section again, as copy2, copy3 etc.
Equations of The Second Kind expanding section can comprise: test case call number: concrete test case.Test case is that an executable command in automatic test is capable, intelligent terminal shows as an independent process in operation, can produce test data.Be exemplified below:
ph0:uiautomatorruntest/sdcard/local/tmp/RecommandWifi.jar-ctest.RecommandTest-eapkNameMSafeV6_frame-277-6.3.1-main-full-release.apk
ph1:uiautomatorruntest/sdcard/local/tmp/Kill.jar-ctest.RecommandTest-eapkNameMSafeV6_frame-277-6.3.1-main-full-release.apk
Wherein each key is defined as: ph0 and ph1 describe client utilize before be pushed on intelligent terminal resource file perform test assignment.Wherein the occurrence uiautomatorruntest/sdcard/local/tmp/Kill.jar-ctest.Recom mandTest-eapkNameMSafeV6_frame-277-6.3.1-main-full-relea se.apk of occurrence uiautomatorruntest/sdcard/local/tmp/RecommandWifi.jar-ct est.RecommandTest-eapkNameMSafeV6_frame-277-6.3.1-main-f ull-release.apk and ph1 of ph0 represents concrete test case.Must define use successively to phX in an expanding section, X is the numeral from 0, can have multiple, for describing the test case can run on intelligent terminal.The execution sequence of test assignment is determined by the digital X after ph simultaneously, and according to the size of X from high to low, the priority as the priority ratio ph1 of ph0 is high for priority, first performs ph0, then perform ph1 when performing test assignment.
In one embodiment of the invention, the wireless connections that the utilization shown in Fig. 1 described in method is set up and multiple intelligent terminal comprise alternately: the message utilizing wireless connections and the following form of intelligent terminal interactive set up:
General message, comprising: message length field, operation field and at least one parameter field;
File data stream packet, comprising: the data stream of message length field and file;
Communication command message, comprising: message length, session person's identity field, operation field and at least one parameter.
Such as general message foremost can be represented the length of latter acts field and at least one parameter field part by 2 bytes.Operation field and at least one parameter field are character visible composition, are encoded to utf-8, do not have separator between message length field and operation field.Except message length field, every bar general message has two fields at least: operation field and a parameter, between each field with separator as: ## divides out.Be exemplified below: pc##finish, wherein pc is operation field, and finish is a parameter, can have multiple, and the concrete meaning of representative is that the session of pc client's side link completes.
Message length field in file data stream packet is the byte length of this document data flow, and the data stream of file is test assignment configuration file or the primary binary data stream of resource file.
Every bar communication command message is except message length field, and the identity of first character section represents current sessions person, multiple session forms a CS communication, is the test assignment of an intelligent terminal or a control task of control terminal.Every bar communication command message is that session person notifies that the other side will execute the task or oneself current state from second field.
In one embodiment of the invention, set up wireless connections and multiple intelligent terminal is utilized to carry out also comprising alternately shown in Fig. 1 described in method: receive the log on request message that intelligent terminal sends, this message comprises: the type information of intelligent terminal and communications protocol version number; Identify and record according to the identity of log on request message to this intelligent terminal; To this intelligent terminal return support corresponding communications protocol log in response message, or to this intelligent terminal return do not support corresponding communications protocol log in response message; And logging in of reception intelligent terminal transmission exits message.
For example:
Control terminal and intelligent terminal all need the server logging in test intelligent terminal, the identity of server to control terminal and intelligent terminal carries out identification record, the login message of control terminal is as shown in table 1, the login message of intelligent terminal is as shown in table 2: namely server receives the log on request message that intelligent terminal sends, this message comprises: the type information of intelligent terminal and communications protocol version number, illustrates as shown in Table 1 and Table 2:
login pc 1.0
Table 1
The implication of the message of logging request shown in table 1: control terminal logon server, operation field is login (represents and log in), and the type of first Parametric Representation control terminal is PC, and second parameter represents that communication protocol version number is 1.0.
login HTC D816w&Android=21 1.0
Table 2
The implication of the message of logging request shown in table 2: intelligent terminal game server, operation field is login (represents and log in), type (model is HTC, and operating system version number the is D816w & Android=21) second parameter of first Parametric Representation intelligent terminal represents that communication news protocol version is 1.0.
After server receives the log on request message of intelligent terminal transmission, identify and record according to the identity of log on request message to this control terminal or intelligent terminal, then to this control terminal or intelligent terminal return support corresponding communications protocol log in response message, or return do not support corresponding communications protocol log in response message.Illustrate as shown in Table 3 and Table 4:
login PcServer OK
Table 3
The implication logging in response message shown in table 3 is the response that PcServer and server support the other side's communications protocol.
login PcServer error OK
Table 4
The implication logging in response message shown in table 4 is the response that PcServer and server do not support the other side's communications protocol.
In addition, server also receives control terminal or logging in of intelligent terminal transmission exits message, illustrates as shown in table 5:
login exit
Table 5
The concrete meaning that table 5 represents is that client announcement server has exited oneself.
Here it should be noted that, in the concrete example of message format illustrates, eliminate message length field.
In one embodiment of the invention, set up wireless connections and multiple intelligent terminal is utilized to comprise alternately shown in Fig. 1 described in method:
Send test assignment profile data stream packet to one or more intelligent terminal, this message comprises: the byte length of test assignment profile data stream and the binary data stream of test assignment configuration file;
Send resource file data stream packet to described one or more intelligent terminal, this message comprises: the byte length of resource file data stream and the binary data stream of resource file.
In one embodiment of the invention, before sending resource file data stream packet to described one or more intelligent terminal, the method comprises further: send resource file sending out notice message to one or more intelligent terminal, this message comprises: resource file to be pushed needs the absolute path, the length of this resource file and the eigenwert of this resource file that are stored on intelligent terminal at the filename of server end, resource file to be pushed; Receive the already present response message of this resource file that described one or more intelligent terminal is replied or the response message needing to receive this resource file; When receive be the response message needing to receive this resource file time, send resource file data stream packet to intelligent terminal.
Wherein, resource file sending out notice message is that server notifies that intelligent terminal is by resource file to be pushed, and resource file to be pushed needs to store absolute path, the length of this resource file and the eigenwert of this resource file on the client at the filename of server end, resource file to be pushed.Illustrate as shown in table 6:
Parameter 2 Parameter 3 Parameter 4 Parameter 5
push md5 QTTest.jar /sdcard/QTTest.jar 1483 C339482546F162080202F8F0913CFD51
Table 6
In resource file sending out notice message described in table 6, parameter 2 is server file name QTTest.jar, and parameter 3 is client file name QTTest.jar, comprise path/sdcard/, parameter 4 is notice message lengths, and be specially 1483 bytes, parameter 5 is md5 values of file.The full name of md5 is Message-DigestAlgorithm5, and produce digital finger-print to one section of byte serial (Message), md5 value just refers to this digital finger-print calculated through md5, can prevent from being tampered.Whether identical with source document by the resource file of verification md5 value and known propelling movement.
Server receives the already present response message of this resource file of described one or more intelligent terminal reply or needs the response message receiving this resource file, illustrates as shown in table 7 and table 8:
Parameter 2 Parameter 3
push md5 0 C339482546F162080202F8F0913CFD51
Table 7
The implication of response message shown in table 7 is, server this locality replied by intelligent terminal a file of the same name, parameter 2 is resource file call numbers in test assignment configuration file, parameter 3 is md5 values of the local file of the same name of client, and whether the local existing file of the same name of md5 value verification is identical with resource file to be pushed.
push content
Table 8
Described in table 8, the implication of response message is, the response message that server needs to receive resource file replied by intelligent terminal, and server end will continue to send file content, until be sent completely to intelligent terminal according to document data flow message format subsequently.
push OK
Table 9
The implication of message shown in table 9 is, this resource file pushes and terminates.
In one embodiment of the invention, the described utilization wireless connections of setting up and multiple intelligent terminal carry out also comprising alternately:
Send test case to described one or more intelligent terminal and perform message, this message comprises: the executable command of the call number of this test case in test assignment configuration file, this test case is capable and perform the occasion information of next test case;
Receive the test result data message that described one or more intelligent terminal sends, this message comprises: the mark of corresponding test assignment configuration file and a test result data of the current test case run.Also namely relevant test case is run at intelligent terminal, and image data passback testing service applicator platform or parametric controller.
Specifically, the test case that server sends to described one or more intelligent terminal performs message, illustrates as shown in table 10:
Parameter 2 Parameter 3 Parameter 4
run exe 0 uiautomatorruntest/sdcard/test.jar com.test true
Table 10
The implication that test case shown in table 10 performs message message is, server notice intelligent terminal starts to perform a test case, parameter 2 is test case call numbers in test assignment configuration file, parameter 3 is that the executable command of test case is capable, parameter 4 has two values, true represents that server could start next after needing to wait this order to execute, and false represents that server need not wait this order to execute, also can other test case of executed in parallel.
If intelligent terminal starts implementation of test cases, send the message having started implementation of test cases to server, illustrate as shown in table 11:
Parameter 2 Parameter 3
run exe 0 running
Table 11
The implication of message shown in table 11 is, intelligent terminal announcement server has started to perform a test case, and parameter 2 is test case call numbers in test assignment configuration file, and parameter 3 is that test case performs.
The test result data message that described one or more intelligent terminals that server receives send, illustrate as shown in table 12:
Parameter 2 Parameter 3
run log job201508 Test data
Table 12
The implication of the message of test result data shown in table 12 is, intelligent terminal sends test result data message to server, and parameter 2 is marks of test assignment configuration file, and parameter 3 is test datas for the current Test cases technology run.
If test case is complete, server receives the complete message of the current test case of announcement server that one or more intelligent terminal sends, and illustrates as shown in table 13 and table 14:
Parameter 2 Parameter 3 Parameter 4
run exe 0 run_done -1
Table 13
The implication of message shown in table 13 is, the current test case of intelligent terminal announcement server is complete, parameter 2 is test case call numbers in test assignment configuration file, and parameter 3 is that the executable command of test case is capable, and parameter 4 is results that test case returns.
run timeout
Table 14
The implication of message shown in table 14 is, server notice intelligent terminal this test case perform time-out.
After all test cases are finished, server receives the complete message of all test cases of announcement server that one or more intelligent terminal sends, and illustrates as shown in Table 15:
run OK
Table 15
The implication of message shown in table 15 is, after all test cases are complete, intelligent terminal response represents that all test cases are complete.
Execution and the resource file push operation order of server admin control many groups test assignment complete, and illustrate as shown in table 16 and table 17:
job Job201508 0 push
Table 16
The implication of message shown in table 16 is, server notice intelligent terminal starts the push operation performing a resource file, parameter " 0 " is the call number of resource file in test assignment configuration file, generally that 0 expression starts anew, non-zero expression is the breakpoint transmission of resource file, such as: before 2 expression test assignment configuration files, two resource files do not need to have pushed, and will directly push from the 3rd file.Intelligent terminal also represents all set with same message answering server.
job Job201508 OK
Table 17
Message shown in table 17 represents that the whole test assignment of server notice intelligent terminal completes, and intelligent terminal does not need response, and oneself exits.
In one embodiment of the invention, shown in Fig. 1, server described in method and control terminal comprise alternately: receive the test assignment configuration file that control terminal sends and add message, this message comprises: the title of test assignment configuration file and intelligent terminal list.
Test assignment configuration file indicated by described test assignment configuration file interpolation message and corresponding intelligent terminal list are added in described database.
Control terminal, to server end editor test assignment configuration file, is illustrated shown in table 18:
pc -add jobPath[iplist]
Table 18
The implication that the configuration file of test assignment shown in table 18 adds message is, control terminal sends among message instruction interpolation test assignment configuration file to server database, can be selected in the intelligent terminal indicated by iplist (intelligent terminal list) and perform this test assignment configuration file.1st parameter "-add " is function code, indispensable, the 2nd parameter " jobPath " is test assignment configuration filename, needs if desired to comprise path, 3rd parameter " iplist " is optional intelligent terminal ip list, the English CSV of multiple ip.
In one embodiment of the invention, server and control terminal carry out also comprising alternately following one or more:
Receive the database displaying request message that control terminal sends; Test assignment the profile list in control terminal return data storehouse;
Receive control terminal send test assignment action command message, this message comprises: in database an existing test assignment configuration file title and need the client side list running this test assignment configuration file;
Receive the nominative testing task deletion message that control terminal sends, this message comprises: the title of test assignment configuration file to be deleted; This test assignment configuration file is deleted from database;
Receive the intelligent terminal displaying request message that control terminal sends; The list of the intelligent terminal that connects is returned to control terminal;
Receive the removing test assignment request message that control terminal sends; Delete all test assignment configuration files in described database;
What receive control terminal transmission exits request message; Closing server also exits.
Citing is as shown in table 19 to table 26:
pc -show
Table 19
Database shown in table 19 is shown in request message, only has a function code parameter "-show ", for showing all test assignment configuration files in current server database.
pc -run job id iplist
Table 20
In the action command of test assignment shown in table 20 message, 1st parameter "-run " is function code, 2nd parameter " jobID " is the test assignment configuration filename had in server database, not belt path and extension name, 3rd parameter " iplist " is wireless client ip list, the English CSV of multiple ip.The concrete meaning of this message representative is in iplist, perform this test assignment configuration file immediately.
pc -del jobId
Table 21
Test assignment shown in table 21 is deleted in message, and the 1st parameter "-del " is function code, and the 2nd parameter " jobId " is the test assignment configuration filename had in server database, not belt path and extension name.The concrete meaning of this message representative is from server database, delete nominative testing task configuration file.
pc -client
Table 22
Intelligent terminal shown in table 22 shows in request message only have a function code parameter "-client ", function be display all with the intelligent terminal of server through connecting.
pc -clean
Table 23
Remove in test assignment request message shown in table 23 and only have a function code parameter "-clean ", function thing removes all test assignment configuration files from server database.
pc -exit
Table 24
Exit shown in table 24 in request message and only have a function code parameter "-exit ", function is closing server and exits.
pc log pc message
Table 25
Message shown in table 25 is the message that server is replied to control terminal, in this message, log is operation field, first parameter " pc " is destination user, second parameter " message " is a log information, it may be the status data that service produces, also may be the test data that intelligent terminal is uploaded, the function of this message returns a piece of news record to control terminal.
pc OK
Table 26
In table 26, ok is operation field, after message is all transmitted, tell the other side with this order, and client also will with same message notifying server before receiving backed off after random.
Fig. 2 shows a kind of according to an embodiment of the invention structural drawing testing the server of intelligent terminal.As shown in Figure 2, the server 200 of this test intelligent terminal comprises:
Radio-cell 201, is suitable for the multiple intelligent terminals different from model and sets up wireless connections; Wireless connections can be that WiFi connects, also can wireless connections otherwise, as bluetooth connects, and infrared connection etc.
Test processes unit 202, is suitable for carrying out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database; And the wireless connections utilizing described radio-cell 201 to set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
The server of the test intelligent terminal shown in Fig. 2, carried out the communication tested by wireless connections when testing and between intelligent terminal, the server of such test intelligent terminal can be connected with more intelligent terminal, number of servers needed for the test greatly reduced, reduces cost.
In one embodiment of the invention, it is one or more that the test assignment configuration file described in comprises as in hypomere, and must comprise description section:
Section is described: for describing the essential information of test assignment;
First kind expanding section: for describing the resource file be positioned on server required when test assignment is run on intelligent terminal;
Equations of The Second Kind expanding section: for describing the resource file being positioned at this intelligent terminal required when test assignment is run on intelligent terminal.
In one embodiment of the invention, a section comprises: one or more key-value pair;
Described description section comprises: title: the functional descriptions information of test assignment;
Time-out time: concrete timeout value;
Described first kind expanding section comprises: resource file name: the title of a concrete resource file;
Be issued to the position of client: an absolute path in client;
Described Equations of The Second Kind expanding section comprises: test case call number: concrete test case;
In one embodiment of the invention, test assignment configuration file specifically can see the description in aforementioned " about test assignment configuration file ".
In one embodiment of the invention, in the server 200 of the test intelligent terminal shown in Fig. 2, described test processes unit 202, is suitable for the message utilizing wireless connections and the following form of intelligent terminal interactive connected:
General message, comprising: message length field, operation field and at least one parameter field;
File data stream packet, comprising: the data stream of message length field and file;
Communication command message, comprising: message length field, this identity field of session, operation field and at least one parameter.
In one embodiment of the invention, in the server 200 of the test intelligent terminal shown in Fig. 2, described test processes unit 202, be suitable for the log on request message receiving intelligent terminal transmission, this message comprises: the type information of intelligent terminal and communications protocol version number; Identify and record according to the identity of log on request message to this intelligent terminal; To this intelligent terminal return support corresponding communications protocol log in response message, or to this intelligent terminal return do not support corresponding communications protocol log in response message; And logging in of reception intelligent terminal transmission exits message.
Specifically can see the content shown in aforesaid table 1-5.
In one embodiment of the invention, in the server of the test intelligent terminal shown in Fig. 2, described test processes unit 202, be suitable for sending test assignment profile data stream packet to one or more intelligent terminal, this message comprises: the byte length of test assignment profile data stream and the binary data stream of test assignment configuration file; Send resource file data stream packet to described one or more intelligent terminal, this message comprises: the byte length of resource file data stream and the binary data stream of resource file.
In one embodiment of the invention, in the server 200 of the test intelligent terminal shown in Fig. 2, described test processes unit 202, also be suitable for before sending resource file data stream packet to described one or more intelligent terminal, be further adapted for and send resource file sending out notice message to one or more intelligent terminal, this message comprises: resource file to be pushed needs the absolute path, the length of this resource file and the eigenwert of this resource file that are stored on intelligent terminal at the filename of server end, resource file to be pushed; Receive the already present response message of this resource file that described one or more intelligent terminal is replied or the response message needing to receive this resource file; When receive be the response message needing to receive this resource file time, send resource file data stream packet to intelligent terminal.
Specifically can see the content shown in aforesaid table 6-9.
In one embodiment of the invention, in the server 200 of the test intelligent terminal shown in Fig. 2, described test processes unit 202, also be suitable for sending test case to described one or more intelligent terminal and perform message, this message comprises: the executable command of the call number of this test case in test assignment configuration file, this test case is capable and perform the occasion information of next test case; Receive the test result data message that described one or more intelligent terminal sends, this message comprises: the mark of corresponding test assignment configuration file and a test result data of the current test case run.
Specifically can see the content shown in aforesaid table 10-15.
In one embodiment of the invention, in the server 200 of the test intelligent terminal shown in Fig. 2, described test processes unit 202, the test assignment configuration file being suitable for receiving control terminal transmission adds message, and this message comprises: the title of test assignment configuration file and intelligent terminal list; Test assignment configuration file indicated by described test assignment configuration file interpolation message and corresponding intelligent terminal list are added in described database.
Specifically can see the content shown in aforesaid table 18.
In one embodiment of the invention, in the server of the test intelligent terminal shown in Fig. 2, described test processes unit 202, is also suitable for,
Receive the database displaying request message that control terminal sends; Test assignment the profile list in control terminal return data storehouse;
Receive control terminal send test assignment action command message, this message comprises: in database an existing test assignment configuration file title and need the client side list running this test assignment configuration file;
Receive the nominative testing task deletion message that control terminal sends, this message comprises: the title of test assignment configuration file to be deleted; This test assignment configuration file is deleted from database;
Receive the intelligent terminal displaying request message that control terminal sends; The list of the intelligent terminal that connects is returned to terminal device;
Receive the removing test assignment request message that control terminal sends; Delete all test assignment configuration files in described database;
What receive control terminal transmission exits request message; Closing server also exits.
Specifically can see the content shown in aforesaid table 19-26.
Fig. 3 shows a kind of according to an embodiment of the invention composition frame chart testing the system of intelligent terminal.As shown in Figure 3, this system comprises server 200, one or more control terminal 300 of test intelligent terminal, as control terminal 1 to control terminal M, and multiple intelligent terminals 400 that model is different, as intelligent terminal 1 to intelligent terminal N etc., M and N is natural number.Wherein, the server 200 testing intelligent terminal comprises radio-cell 201 and test processes unit 202.
In sum, the invention discloses a kind of method, server and system of testing intelligent terminal, wireless connections set up by the multiple intelligent terminals making server different from model, control terminal obtains test assignment configuration file from server, utilize the wireless connections of setting up that test assignment configuration file is pushed to one or more intelligent terminal and carry out automatic test, intelligent terminal returns test result data to server.The present invention can solve PC server can only connect test intelligent terminal problem by a USB interface, thus achieve the beneficial effect that wireless connections set up by the multiple intelligent terminals making server different from model simultaneously, the maximum performance playing computer drives the intelligent terminal of automatic test, saves computer resource.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual server or miscellaneous equipment with display at this algorithm provided.Various generic server also can with use based on together with this teaching.According to description above, the structure constructed required by this kind of server is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the system of the server of the test intelligent terminal of the embodiment of the present invention and test intelligent terminal.The present invention can also be embodied as part or all equipment for performing method as described herein or server program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some servers, several in these servers can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1. test a method for intelligent terminal, wherein, the method comprises:
Wireless connections set up by the multiple intelligent terminals different from model;
Carry out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database;
The wireless connections that utilization is set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
2. it is one or more that the test assignment configuration file the method for claim 1, wherein described in comprises as in hypomere, and must comprise description section:
Section is described: for describing the essential information of test assignment;
First kind expanding section: for describing the resource file be positioned on server required when test assignment is run on intelligent terminal;
Equations of The Second Kind expanding section: for describing the resource file being positioned at this intelligent terminal required when test assignment is run on intelligent terminal.
3. method as claimed in claim 2, wherein, a section comprises: one or more key-value pair;
Described description section comprises: title: the functional descriptions information of test assignment;
Time-out time: concrete timeout value;
Described first kind expanding section comprises: resource file name: the title of a concrete resource file;
Be issued to the position of intelligent terminal: an absolute path on intelligent terminal;
Described Equations of The Second Kind expanding section comprises: test case call number: concrete test case.
4. the method for claim 1, wherein the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Utilize the message of wireless connections and the following form of intelligent terminal interactive set up:
General message, comprising: message length field, operation field and at least one parameter field;
File data stream packet, comprising: the data stream of message length field and file;
Communication command message, comprising: message length field, session person's identity field, operation field and at least one parameter.
5. the method for claim 1, wherein the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Receive the log on request message that intelligent terminal sends, this message comprises: the type information of intelligent terminal and communications protocol version number;
Identify and record according to the identity of log on request message to this intelligent terminal;
To this intelligent terminal return support corresponding communications protocol log in response message, or to this intelligent terminal return do not support corresponding communications protocol log in response message;
And logging in of reception intelligent terminal transmission exits message.
6. the method for claim 1, wherein the described utilization wireless connections of setting up and multiple intelligent terminal comprise alternately:
Send test assignment profile data stream packet to one or more intelligent terminal, this message comprises: the byte length of test assignment profile data stream and the binary data stream of test assignment configuration file;
Send resource file data stream packet to described one or more intelligent terminal, this message comprises: the byte length of resource file data stream and the binary data stream of resource file.
7. method as claimed in claim 6, wherein, before sending resource file data stream packet to described one or more intelligent terminal, the method comprises further:
Send resource file sending out notice message to one or more intelligent terminal, this message comprises: resource file to be pushed needs the absolute path, the length of this resource file and the eigenwert of this resource file that are stored on intelligent terminal at the filename of server end, resource file to be pushed;
Receive the already present response message of this resource file that described one or more intelligent terminal is replied or the response message needing to receive this resource file;
When receive be the response message needing to receive this resource file time, send resource file data stream packet to intelligent terminal.
8. method as claimed in claim 6, wherein, the wireless connections that described utilization is set up and multiple intelligent terminal carry out also comprising alternately:
Send test case to described one or more intelligent terminal and perform message, this message comprises: the executable command of the call number of this test case in test assignment configuration file, this test case is capable and perform the occasion information of next test case;
Receive the test result data message that described one or more intelligent terminal sends, this message comprises: the mark of corresponding test assignment configuration file and a test result data of the current test case run.
9. test a server for intelligent terminal, wherein, this server comprises:
Radio-cell, is suitable for the multiple intelligent terminals different from model and sets up wireless connections;
Test processes unit, is suitable for carrying out alternately with control terminal; Mutual by with control terminal, the instruction according to control terminal obtains test assignment configuration file and is saved in database, and carries out bookkeeping according to the test assignment supervisory instruction of control terminal to the test assignment configuration file in described database; And the wireless connections utilizing described radio-cell to set up and multiple intelligent terminal carry out alternately; Mutual by with multiple intelligent terminal, test assignment configuration file in database is sent on one or more intelligent terminal, and receives the test result data sent after described one or more intelligent terminal performs corresponding operation according to described test assignment configuration file of specifying.
10. test a system for intelligent terminal, wherein, this system comprises: multiple intelligent terminals that server, one or more control terminal and model as claimed in claim 9 are different.
CN201510847415.7A 2015-11-27 2015-11-27 A kind of method, server and system for testing intelligent terminal Active CN105512029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510847415.7A CN105512029B (en) 2015-11-27 2015-11-27 A kind of method, server and system for testing intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510847415.7A CN105512029B (en) 2015-11-27 2015-11-27 A kind of method, server and system for testing intelligent terminal

Publications (2)

Publication Number Publication Date
CN105512029A true CN105512029A (en) 2016-04-20
CN105512029B CN105512029B (en) 2018-12-25

Family

ID=55720030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510847415.7A Active CN105512029B (en) 2015-11-27 2015-11-27 A kind of method, server and system for testing intelligent terminal

Country Status (1)

Country Link
CN (1) CN105512029B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959183A (en) * 2016-07-07 2016-09-21 福州觉感视觉软件科技有限公司 Centrally configured and managed multi-station visual detection method and system
CN106484622A (en) * 2016-10-18 2017-03-08 网易(杭州)网络有限公司 Method of testing, apparatus and system
CN106507407A (en) * 2016-09-23 2017-03-15 上海华虹集成电路有限责任公司 The cross-platform test system of low-power consumption bluetooth based on windows systems and method
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
CN107168832A (en) * 2017-04-26 2017-09-15 中控智慧科技股份有限公司 The method of automatic detection, device
CN107315670A (en) * 2017-06-26 2017-11-03 深圳市靖洲科技有限公司 A kind of intelligent terminal method of testing, apparatus and system
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN108829609A (en) * 2018-07-27 2018-11-16 深圳智芯数据服务有限公司 A kind of test method and system of blue tooth products
CN108984398A (en) * 2018-06-28 2018-12-11 广州视源电子科技股份有限公司 Software testing method and device, electronic device and storage medium
CN109873728A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 A kind of terminal test method, device and storage medium
CN110379149A (en) * 2019-08-15 2019-10-25 珠海格力智能装备有限公司 Equipment detection method and device
CN110489343A (en) * 2019-07-31 2019-11-22 广州微算互联信息技术有限公司 A kind of conversational services test method, system, device and storage medium
CN111371638A (en) * 2020-02-18 2020-07-03 深圳市晨北科技有限公司 Intelligent equipment testing method and device, server and storage medium
CN112035309A (en) * 2020-09-07 2020-12-04 深圳市亿道信息股份有限公司 Automatic testing method, server and automatic testing system for intelligent terminal function
CN112565348A (en) * 2020-11-17 2021-03-26 华帝股份有限公司 Intelligent equipment testing method and system, computer equipment and storage medium
CN112833933A (en) * 2021-01-28 2021-05-25 惠州Tcl移动通信有限公司 Photoelectric sensor detection method and device, mobile terminal and storage medium
CN113507601A (en) * 2021-04-22 2021-10-15 广东睿住智能科技有限公司 Pressure testing method and system of intelligent screen
CN114338490A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Test method and test management module of terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
US20140047417A1 (en) * 2012-08-13 2014-02-13 Bitbar Technologies Oy System for providing test environments for executing and analysing test routines
CN103713991A (en) * 2012-10-08 2014-04-09 腾讯科技(深圳)有限公司 Method and device for testing application programs on Android devices
CN104298591A (en) * 2013-07-18 2015-01-21 阿里巴巴集团控股有限公司 WebApp remote debugging method and system
CN104461898A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Application testing method, center control server, test terminal and system
CN104978259A (en) * 2014-04-01 2015-10-14 ***股份有限公司 Mobile equipment software automation test cluster system and test method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047417A1 (en) * 2012-08-13 2014-02-13 Bitbar Technologies Oy System for providing test environments for executing and analysing test routines
CN103713991A (en) * 2012-10-08 2014-04-09 腾讯科技(深圳)有限公司 Method and device for testing application programs on Android devices
CN103312850A (en) * 2013-05-10 2013-09-18 江苏科技大学 Mobile phone automation testing system and work method
CN104298591A (en) * 2013-07-18 2015-01-21 阿里巴巴集团控股有限公司 WebApp remote debugging method and system
CN104978259A (en) * 2014-04-01 2015-10-14 ***股份有限公司 Mobile equipment software automation test cluster system and test method thereof
CN104461898A (en) * 2014-12-19 2015-03-25 北京奇虎科技有限公司 Application testing method, center control server, test terminal and system

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391359B (en) * 2016-05-17 2020-11-27 腾讯科技(深圳)有限公司 Service testing method and device
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
CN105959183A (en) * 2016-07-07 2016-09-21 福州觉感视觉软件科技有限公司 Centrally configured and managed multi-station visual detection method and system
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN108306778A (en) * 2016-09-01 2018-07-20 深圳市中兴微电子技术有限公司 A kind of mobile terminal test method, device and system
CN106507407B (en) * 2016-09-23 2019-08-13 上海华虹集成电路有限责任公司 The cross-platform test macro of low-power consumption bluetooth and method based on windows system
CN106507407A (en) * 2016-09-23 2017-03-15 上海华虹集成电路有限责任公司 The cross-platform test system of low-power consumption bluetooth based on windows systems and method
CN106484622B (en) * 2016-10-18 2019-02-22 网易(杭州)网络有限公司 Test method, apparatus and system
CN106484622A (en) * 2016-10-18 2017-03-08 网易(杭州)网络有限公司 Method of testing, apparatus and system
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN107168832A (en) * 2017-04-26 2017-09-15 中控智慧科技股份有限公司 The method of automatic detection, device
CN107122306A (en) * 2017-05-15 2017-09-01 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment
CN107315670A (en) * 2017-06-26 2017-11-03 深圳市靖洲科技有限公司 A kind of intelligent terminal method of testing, apparatus and system
CN109873728A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 A kind of terminal test method, device and storage medium
CN109873728B (en) * 2017-12-01 2022-03-08 腾讯科技(深圳)有限公司 Terminal testing method and device and storage medium
CN108984398A (en) * 2018-06-28 2018-12-11 广州视源电子科技股份有限公司 Software testing method and device, electronic device and storage medium
CN108829609A (en) * 2018-07-27 2018-11-16 深圳智芯数据服务有限公司 A kind of test method and system of blue tooth products
CN110489343A (en) * 2019-07-31 2019-11-22 广州微算互联信息技术有限公司 A kind of conversational services test method, system, device and storage medium
CN110379149A (en) * 2019-08-15 2019-10-25 珠海格力智能装备有限公司 Equipment detection method and device
CN111371638A (en) * 2020-02-18 2020-07-03 深圳市晨北科技有限公司 Intelligent equipment testing method and device, server and storage medium
CN112035309B (en) * 2020-09-07 2024-04-09 深圳市亿道信息股份有限公司 Automatic testing method, server and automatic testing system for intelligent terminal function
CN112035309A (en) * 2020-09-07 2020-12-04 深圳市亿道信息股份有限公司 Automatic testing method, server and automatic testing system for intelligent terminal function
CN112565348A (en) * 2020-11-17 2021-03-26 华帝股份有限公司 Intelligent equipment testing method and system, computer equipment and storage medium
CN112833933A (en) * 2021-01-28 2021-05-25 惠州Tcl移动通信有限公司 Photoelectric sensor detection method and device, mobile terminal and storage medium
CN113507601A (en) * 2021-04-22 2021-10-15 广东睿住智能科技有限公司 Pressure testing method and system of intelligent screen
CN113507601B (en) * 2021-04-22 2024-03-29 广东睿住智能科技有限公司 Pressure testing method and system for intelligent screen
CN114338490A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Test method and test management module of terminal equipment

Also Published As

Publication number Publication date
CN105512029B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN105512029A (en) Method, server and system for testing intelligent terminal
US11513789B2 (en) Application deployment method, apparatus, and system
US20150100832A1 (en) Method and system for selecting and executing test scripts
CN104077131B (en) A kind of deployment of components system and method
CN104765678A (en) Method and device for testing applications on mobile terminal
CN108121543B (en) Software code compiling processing method and device
CN106980565B (en) Upgrading process monitoring method and device
CN108111364B (en) Service system testing method and device
CN111666217B (en) Method and apparatus for testing code
CN104809045A (en) Operation method and device of monitoring script
CN109460268B (en) Application parameter configuration method, device and system
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN111651352B (en) Warehouse code merging method and device
CN107608873B (en) Software testing method and system and testing platform
CN116069341A (en) Automatic deployment method, equipment and storage medium for application program
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN106941501B (en) Data communication method and device
CN112149035A (en) Website static resource processing method and device
CN108132832B (en) Application program starting method and device
CN113360379B (en) Program test environment creation method and program test environment creation apparatus
CN107203471B (en) Joint debugging method, service platform and computer storage medium
CN111381995A (en) Method and device for restoring user operation and computer
CN114466387B (en) Updating method and device of configuration file of base station, storage medium and electronic device
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN106204031A (en) card application processing 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right