CN105472083A - Testing method and system for wireless terminals - Google Patents

Testing method and system for wireless terminals Download PDF

Info

Publication number
CN105472083A
CN105472083A CN201510900987.7A CN201510900987A CN105472083A CN 105472083 A CN105472083 A CN 105472083A CN 201510900987 A CN201510900987 A CN 201510900987A CN 105472083 A CN105472083 A CN 105472083A
Authority
CN
China
Prior art keywords
wireless terminal
server
testing
test
parameter
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
CN201510900987.7A
Other languages
Chinese (zh)
Other versions
CN105472083B (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
Qizhi Software Beijing 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 CN201510900987.7A priority Critical patent/CN105472083B/en
Publication of CN105472083A publication Critical patent/CN105472083A/en
Application granted granted Critical
Publication of CN105472083B publication Critical patent/CN105472083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing packet switching networks
    • H04L43/50Testing arrangements

Abstract

The embodiment of the invention discloses a testing method and system for wireless terminals. The method comprises: a server firstly acquires a testing task; the server sends the testing task to corresponding wireless terminals by a wireless network; and the wireless terminals receive and execute the testing task and acquire testing results. The server and the wireless terminals are connected by the wireless network to implement information transmission, and wireless network connection theoretically can enable countless wireless terminals to be connected with the server, so that in a once testing process, the number of the wireless terminals tested by the server can be not limited to the number of USB (Universal Serial Bus) interfaces which can be provided by the server, thereby playing testing performance of the server to the greatest extent and improving testing efficiency.

Description

The method of testing of wireless terminal and system
Technical field
The present invention relates to Internet technology, especially a kind of method of testing of wireless terminal and system.
Background technology
Along with the development of wireless terminal technology, wireless terminal product is more and more abundanter, and function becomes increasingly complex, and the frequency of release is more and more faster, causes the R&D cycle to shorten.In wireless terminal R&D process, need the test by carrying out each side to wireless terminal, to ensure the quality and performance of wireless terminal.
There is three digest journals android, ios and windows in present wireless terminal market.Wherein, Android system mobile phone, its operating system is increased income, the manufacturer related to is how too many too assorted, makes the fragmentation especially severe of Android system mobile phone, and this adds a large amount of uncertainties just to corresponding test job, therefore each issue when changing slightly larger version all needs to cover most of type on the market, otherwise it is too many that product issues rear collapse accident, and system is unstable, affects Consumer's Experience.
In wireless terminal test process, wireless terminal is connected with testing server by USB, to realize issuing and the acquisition of test result of test assignment.But the USB interface that existing testing server can provide is limited, cause the quantity of its wireless terminal once can tested also limited, cause test resource effectively to utilize, testing efficiency is low.
Testing the quantity of wireless terminal in order to improve testing server at every turn, in prior art, USBHub (usb hub) being connected with the USB interface of testing server, thus increase the quantity of once testing wireless terminal.But the quantity of the USB interface that each USBHub can provide cannot unrestrictedly increase as required, it is when improving the test quantity of wireless terminal, and limited efficiency, at utmost cannot play the test performance of testing server, testing efficiency is low.
Therefore, how to improve the wireless terminal quantity be connected with testing server, at utmost play the test performance of testing server, improve testing efficiency and become one of current problem demanding prompt solution.
Summary of the invention
An embodiment of the present invention technical problem to be solved is: the method for testing and the system that provide a kind of wireless terminal, to improve the wireless terminal quantity be connected with testing server, and then improves testing efficiency.
According to an aspect of the embodiment of the present invention, the method for testing of a kind of wireless terminal provided, comprising:
Server obtains test assignment;
Described test assignment is sent to corresponding wireless terminal by wireless network by described server;
Described wireless terminal reception also performs described test assignment, obtains test result.
Based in another embodiment of said method, after the described test result of acquisition, also comprise: described test result is sent to described server by wireless network by described wireless terminal.
Based in another embodiment of said method, described wireless network is wifi, bluetooth or NFC.
Based in another embodiment of said method, the request response message between described wireless terminal and described server adopts TCP transmission.
Based in another embodiment of said method, the general message form of described request response message comprises message length, type of message and at least one parameter.
Based in another embodiment of said method, described type of message is separated by separator with between described parameter and described parameter, and described type of message and described parameter are the data flow represented with octet.
Based in another embodiment of said method, the file data stream packet of described request response message comprises the data flow of message length and file.
Based in another embodiment of said method, the configuration file of described test assignment comprises task essential information.
Based in another embodiment of said method, described task essential information comprises task adopted name and time of implementation threshold value.
According to another aspect of the embodiment of the present invention, the test macro of a kind of wireless terminal provided, comprising:
Server, for obtaining test assignment, and is sent to corresponding wireless terminal by wireless network by described test assignment;
Wireless terminal, for receiving and performing described test assignment, obtains test result.
The method of testing of the wireless terminal provided based on the above embodiment of the present invention and system, server first obtains test assignment, then by wireless network, test assignment is sent to corresponding wireless terminal; Then wireless terminal reception perform test assignment, obtains test result.Because server is connected to realize information transmission by wireless network with wireless terminal, and numerous wireless terminal can be connected with server by wireless network connection in theory, thus can in a test process, make the quantity of server test wireless terminal can not provide the quantitative limitation of USB interface number by server, and then play the test performance of server to greatest extent, improve testing efficiency.
Accompanying drawing explanation
What form a part for specification drawings describes embodiments of the invention, and is used from explanation principle of the present invention together with description one.
With reference to accompanying drawing, according to detailed description below, clearly the present invention can be understood, wherein:
Fig. 1 is the flow chart of a method of testing embodiment of wireless terminal of the present invention.
Fig. 2 is the flow chart of another embodiment of method of testing of wireless terminal of the present invention.
Fig. 3 is the structural representation of a test macro embodiment of wireless terminal of the present invention.
Fig. 4 is the structural representation of another embodiment of test macro of wireless terminal of the present invention.
Fig. 5 is the structural representation of another embodiment of test macro of wireless terminal of the present invention.
Embodiment
Various exemplary embodiment of the present invention is described in detail now with reference to accompanying drawing.It should be noted that: unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Meanwhile, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not draw according to the proportionate relationship of reality.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part for specification.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
Existing wireless terminal to be connected with testing server by USB, realize test assignment issue and the acquisition of test result time, the USB interface that can provide due to testing server is limited, the quantity of its wireless terminal once can tested is also limited, cause test resource effectively to utilize, testing efficiency is low.And be connected with the USB interface of testing server by USBHub, though the quantity of once testing wireless terminal can be increased, but being subject to testing server can provide USB interface quantity and each USBHub can provide the quantitative limitation of USB interface number, the method cannot unrestrictedly increase the wireless terminal quantity be connected with testing server as required, limited efficiency in the testing efficiency improving wireless terminal.Therefore, need to provide effective mode to remove to improve the testing efficiency of wireless terminal.
Fig. 1 is the flow chart of a method of testing embodiment of wireless terminal of the present invention.As shown in Figure 1, the method for testing of the wireless terminal of this embodiment comprises:
S102, server obtains test assignment;
S104, test assignment is sent to corresponding wireless terminal by wireless network by server;
S106, wireless terminal reception also performs test assignment, obtains test result.
Based on the method for testing of the wireless terminal that the above embodiment of the present invention provides, server first obtains test assignment, then by wireless network, test assignment is sent to corresponding wireless terminal; Then wireless terminal reception perform test assignment, obtains test result.Because server is connected to realize information transmission by wireless network with wireless terminal, and numerous wireless terminal can be connected with server by wireless network connection in theory, thus can in a test process, make the quantity of server test wireless terminal can not provide the quantitative limitation of USB interface number by server, and then play the test performance of server to greatest extent, improve testing efficiency.
Based in another embodiment of said method, wireless network is wifi, bluetooth or NFC (near field communication (NFC)).Thus enable the wireless communication mode that tester supports according to server and the wireless terminal tested, the delivering path of test assignment between flexible selection server and wireless terminal, while raising wireless terminal testing efficiency, improve the flexibility of test.
Based in another embodiment of said method, the request response message between wireless terminal and server adopts TCP (TransmissionControlProtocol transmission control protocol) transmission.TCP be a kind of connection-oriented, reliable, based on the transport layer communication protocol of byte stream, defined by the RFC793 of IETF.
In the present embodiment, the general message form of request response message can comprise message length, type of message and at least one parameter.
Such as:
Message length Type of message Parameter 1 Parameter 2 Parameter 3 ……
Wherein, in request response message, the message length of foremost represents the length of aft section by 2 bytes, after message length, each field (i.e. type of message and parameter) is made up of character visible, is the data flow (being encoded to utf-8) represented with octet.
In request response message except message length, at least comprise two fields, i.e. type of message (command) and a parameter.Separator is not had between message length and type of message.Type of message is separated by separator with between parameter and parameter.Such as: separator is that ##, pc##finish represent that the wireless terminal of wireless terminal connects session and completes.
Based in another embodiment of said method, the file data stream packet of request response message comprises the data flow of message length and file.
Such as:
Message length The data flow of file
Wherein, message length is the byte length of the data flow of file, and data flow is the primary binary data stream of test assignment.
Based in another embodiment of said method, the configuration file of test assignment comprises task essential information (description), and it is unique one indispensable section of configuration file.
In the present embodiment, task essential information comprises task adopted name (name) and time of implementation threshold value (timeout).Such as:
[description]
Commercialization exemplary application is installed after name=health check-up
timeout=10
Wherein: name is the universal description to test assignment, object conveniently understands this test assignment; Timeout (unit is: minute) be the time of implementation threshold value that test assignment performs, just abandon this test assignment after time-out.
Based in another embodiment of said method, the configuration file of test assignment is except comprising task essential information, also comprise tasks carrying criterion (phoneX) or/and task location information (copyXX, XX are the continuous number from 0).
Task location information is not the necessary section in the configuration file of test assignment, can comprise one or more task location information in the configuration file of a test assignment.The resource file set that task location information is run on a wireless terminal for describing test assignment, these resource files are deposited on the server.When wireless terminal needs to run certain test assignment, need the resource file required for test assignment to push (push) to wireless terminal.Task location information comprises resource file title (src) and Resource Storage position (dest).Such as:
[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
Wherein:
The resource file name of src required for test file, these resource files determine whether comprise path depending on arrangement situation, and multiple resource file can by English semicolon separated.
Dest will be pushed to the position in wireless terminal for resource file in src, it is a wireless terminal absolute path.It should be noted that Dest can not have two, if desired in src, resource file to be pushed in wireless terminal to two diverse locations, then need to add a copyXX section again.
Tasks carrying criterion (phoneX) is if perform test assignment for describing the resource file pushed before wireless terminal utilizes.Such as:
[phone]
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:
In phX (corresponding phoneX), X is the numeral from 0, must define use successively in a section to ph0, ph1, ph2 etc., and the execution sequence of test assignment is determined by the digital X after ph simultaneously, and priority is followed successively by from high to low: 0,1,2 etc.PhX is actual be describe be can wireless terminal run a test case (case).
Fig. 2 is the flow chart of another embodiment of method of testing of wireless terminal of the present invention.As shown in Figure 2, the method for testing of the wireless terminal of this embodiment comprises:
S202, server obtains test assignment;
S204, test assignment is sent to corresponding wireless terminal by wireless network by server;
S206, wireless terminal reception also performs test assignment, obtains test result.
S208, test result is sent to server by wireless network by wireless terminal.
In the present embodiment, after acquisition test result, test result is also sent to server by wireless network by wireless terminal, thus the test result of convenient service device to wireless terminal is monitored.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Fig. 3 is the structural representation of a test macro embodiment of wireless terminal of the present invention.The test macro of the wireless terminal of this embodiment can be used in the present invention the method for testing embodiment of above-mentioned wireless terminal.As shown in Figure 3, in the present embodiment, the test macro of wireless terminal comprises:
Server, for obtaining test assignment, and is sent to corresponding wireless terminal by wireless network by test assignment;
Wireless terminal, for receiving and performing test assignment, obtains test result.
Based on the test macro of the wireless terminal that the above embodiment of the present invention provides, server first obtains test assignment, then by wireless network, test assignment is sent to corresponding wireless terminal; Then wireless terminal reception perform test assignment, obtains test result.Because server is connected to realize information transmission by wireless network with wireless terminal, and numerous wireless terminal can be connected with server by wireless network connection in theory, thus can in a test process, make the quantity of server test wireless terminal can not provide the quantitative limitation of USB interface number by server, and then play the test performance of server to greatest extent, improve testing efficiency.
Based in another embodiment of said system, wireless terminal is also for being sent to server by wireless network by test result.Thus the test result of convenient service device to wireless terminal is monitored.
Based in another embodiment of said system, wireless network is wifi, bluetooth or NFC.Thus enable the wireless communication mode that tester supports according to server and the wireless terminal tested, the delivering path of test assignment between flexible selection server and wireless terminal, while raising wireless terminal testing efficiency, improve the flexibility of test.
Based in another embodiment of said system, the request response message between wireless terminal and server adopts TCP transmission.
In the present embodiment, the general message form of request response message comprises message length, type of message and at least one parameter.Type of message is separated by separator with between parameter and parameter, and type of message and parameter are the data flow represented with octet.
Based in another embodiment of said system, the file data stream packet of request response message comprises the data flow of message length and file.
Based in another embodiment of said system, the configuration file of test assignment comprises task essential information.Task essential information comprises task adopted name and time of implementation threshold value.
Based in another embodiment of said system, the configuration file of test assignment, except comprising task essential information, also can comprise tasks carrying criterion or/and task location information.Task location information can comprise resource file title and Resource Storage position.
Fig. 4 is the structural representation of another embodiment of test macro of wireless terminal of the present invention.As shown in Figure 4, in the present embodiment, the test macro of wireless terminal is except comprising wireless terminal and wireless terminal, also comprises: control desk, for providing test assignment to server.
In the present embodiment, the test macro of wireless terminal comprises a control desk.
In other embodiments, according to test needs, two or more control desk can also be set in the test macro of wireless terminal.
In the present embodiment, the test macro of wireless terminal can play the test performance of server to greatest extent, improves the quantity of the wireless terminal once tested, and then improves testing efficiency.
Fig. 5 is the structural representation of another embodiment of test macro of wireless terminal of the present invention.As shown in Figure 5, in the test macro of the present embodiment wireless terminal:
Server comprises further: testing service applicator platform, for obtaining test assignment; First wireless transmit/receive units, for and test assignment is sent to corresponding wireless terminal by wireless network;
Wireless terminal comprises further: the second wireless transmit/receive units, for receiving test assignment; Central processing unit, for performing test assignment, obtains test result.
It should be noted that in Fig. 5, only have a wireless terminal to be connected with server.In a practical situation, the number of the wireless terminal be connected with server can test needs according to reality to be increased.
In server, the first wireless transmit/receive units is connected by wireless network with the second wireless transmit/receive units in wireless terminal, realizes test assignment by the transmission of server to wireless terminal.Wireless network can be wifi, bluetooth or NFC.Thus enable the wireless communication mode that tester supports according to server and the wireless terminal tested, the delivering path of test assignment between flexible selection server and wireless terminal, while raising wireless terminal testing efficiency, improve the flexibility of test.
In the present embodiment, the request response message between wireless terminal and server adopts TCP transmission.The general message form of request response message can comprise message length, type of message and at least one parameter.
In every bar request response message, first parameter represents the identity of current sessions, multiple session forms a client/server (client/service, referred to as C/S) communication, is a control task of a wireless side test assignment or server end.Every bar request response message is will performing an action (Action) of conversation informing the other side or the current state of oneself (Status) from second parameter.
Concrete, type of message can comprise following several types:
Login: wireless terminal needs logon server, server carries out identification record to wireless terminal identity.Such as:
login pc 1.0
Function: control desk logon server, second parameter is fixed as communications protocol version number.
login HTC D816w&Android=21 1.0
Function: wireless terminal logon server, wherein first parameter is made up of mobile phone model and system version number, and it can be expanded as required; Second parameter is fixed as communications protocol version number.
login PcServer OK
Function: server supports the response of the other side's agreement.
login PcServer error OK
Function: server does not support the response of the other side's agreement.
login exit
Function: wireless terminal announcement server has exited oneself.
Pc: testing service applicator platform or control desk, to server editor test assignment, read the current state of server, in real time by receiving the test result of wireless terminal passback after transit server.
pc -show
Function: wireless terminal to the state of server request return service device, or edits its test assignment database, its first parameter is function code, indispensable; The meaning of design parameter is as follows:
-show: an only function code parameter.Function: all test assignments in display current server database.
-addjobPath [iplist]: the 2nd parameter is the configuration filename (needing if desired to comprise path) of test assignment, and the 3rd parameter is optional wireless terminal ip list (the English CSV of multiple ip).Function: increase among a test assignment to server database, can be selected in iplist and perform this test assignment immediately.
-runjobIdiplist: the 2 parameter is the configuration filename (not belt path and extension name) of the test assignment had in server database, and the 3rd parameter is wireless terminal ip list (the English CSV of multiple ip).Function: perform this test assignment immediately in iplist.
-deljobId: the 2 parameter is the configuration filename (not belt path and extension name) of the test assignment had in server database.Function: delete nominative testing task from server database.
-client: an only function code parameter.Function: show all wireless terminals connected.
-clean: an only function code parameter.Function: remove all test assignments from server database.
-exit: an only function code parameter.Function: closing server also exits.
pc log pc message
Function: command is log, and object returns a piece of news record to wireless terminal.Wherein, first parameter is destination user, and second parameter is a log information, and may be the status data that server produces, also may be the test result that wireless terminal is uploaded.
pc OK
Function: command is OK, after message is all transmitted, tell the other side with this order, and wireless terminal also will with same message notifying server before receiving backed off after random.
Push: server pushes related resource file to wireless terminal.
Parameter 2 Parameter 3 Parameter 4 Parameter 5
push Md5 QTTest.jar /sdcard/QTTest.jar 1483 C339482546F162080202F8F0913CFD51
Function: the resource file that server notice wireless terminal will push: parameter 2 is server file names, and parameter 3 is wireless terminal filename (comprising path), and parameter 4 is file sizes, and parameter 5 is md5 values of file.
push content
Function: wireless terminal is replied to be needed to receive document data flow, server end will continue to send file content, until be sent completely according to document data flow message format subsequently.
Parameter 2 Parameter 3
push Md5 0 C339482546F162080202F8F0913CFD51
Function: wireless terminal replys this locality a file of the same name, parameter 2 is resource file call numbers in test assignment, and parameter 3 is md5 of the local file of the same name of wireless terminal.
push OK
Function: server is first sent out, wireless terminal response is each once, represents that this resource supplying terminates.
Run: run relevant test assignment at wireless terminal, and collecting test result passback testing service applicator platform or control desk.
Parameter 2 Parameter 3 Parameter 4
run exe 0 uiautomator runtest/sdcard/test.jar com.test ture
Function: server notice wireless terminal starts to perform a test case, parameter 2 is test case call numbers in test assignment, parameter 3 is that the executable command of test case is capable, parameter 4 has two values, true represents that these command execution such as server needs could start next after complete, and false then need not wait (can other test case of executed in parallel).
Function: wireless terminal announcement server has started to perform a test case, parameter 2 is test case call numbers in test assignment, and other parameter is as constant in table.
Parameter 2 Parameter 3
run log Job201508 Test data
Function: wireless terminal sends test data in real time to server, parameter 2 is ID of test assignment, and parameter 3 is test datas for the current Test cases technology run.
Parameter 2 Parameter 3 Parameter 4
run exe 0 run done -1
Function: the current test case of wireless terminal announcement server is complete, parameter 2 is test case call numbers in test assignment, and parameter 4 is results that test case returns, and other parameter is fixed.
run timeout
Function: server notice wireless terminal this test case perform time-out.
run OK
Function: after all test cases complete, server is first sent out, wireless terminal responses represents that all test cases are complete.
Job: the order that management controls many group run and push operation completes.
job Job201508 0 push
Function: notice wireless terminal starts the push operation performing a resource file, parameter 2 is resource file call numbers in test assignment, generally that 0 expression starts anew, non-zero expression is the breakpoint transmission (such as: before 2 expression test assignments, two resource files do not need to have pushed, and will directly push from the 3rd file) of resource file.Wireless terminal also represents all set with same message answering server.
job Job201508 OK
Function: the whole test assignment of notice wireless terminal completes, and wireless terminal does not need response, and oneself exits.
In the present embodiment, in server, the first wireless transmit/receive units is connected by wireless network with the second wireless transmit/receive units in wireless terminal, realizes test assignment by the transmission of server to wireless terminal.Because server is connected to realize information transmission by wireless network with wireless terminal, and numerous wireless terminal can be connected with server by wireless network connection in theory, thus can in a test process, make the quantity of server test wireless terminal can not provide the quantitative limitation of USB interface number by server, and then play the test performance of server to greatest extent, improve testing efficiency.
Embodiments provide following technical scheme:
1, a method of testing for wireless terminal, comprising:
Server obtains test assignment;
Described test assignment is sent to corresponding wireless terminal by wireless network by described server;
Described wireless terminal reception also performs described test assignment, obtains test result.
The method of testing of the wireless terminal 2, according to 1, after the described test result of acquisition, also comprises:
Described test result is sent to described server by wireless network by described wireless terminal.
The method of testing of the wireless terminal 3, according to 2, described wireless network is wifi, bluetooth or NFC.
The method of testing of the wireless terminal 4, according to 1, the request response message between described wireless terminal and described server adopts TCP transmission.
The method of testing of the wireless terminal 5, according to 4, the general message form of described request response message comprises message length, type of message and at least one parameter.
The method of testing of the wireless terminal 6, according to 5, described type of message is separated by separator with between described parameter and described parameter, and described type of message and described parameter are the data flow represented with octet.
The method of testing of the wireless terminal 7, according to 4, the file data stream packet of described request response message comprises the data flow of message length and file.
The method of testing of the wireless terminal 8, according to 1, the configuration file of described test assignment comprises task essential information.
The method of testing of the wireless terminal 9, according to 8, described task essential information comprises task adopted name and time of implementation threshold value.
The method of testing of the wireless terminal 10, according to 8 or 9, the configuration file of described test assignment also comprises tasks carrying criterion or/and task location information.
The method of testing of the wireless terminal 11, according to 10, described task location information comprises resource file title and Resource Storage position.
12, a test macro for wireless terminal, comprising:
Server, for obtaining test assignment, and is sent to corresponding wireless terminal by wireless network by described test assignment;
Wireless terminal, for receiving and performing described test assignment, obtains test result.
The test macro of the wireless terminal 13, according to 12, the test macro of described wireless terminal also comprises: control desk, for providing described test assignment to described server.
The test macro of the wireless terminal 14, according to 12 or 13, described wireless terminal is also for being sent to described server by wireless network by described test result.
The test macro of the wireless terminal 15, according to 14, described wireless network is wifi, bluetooth or NFC.
The test macro of the wireless terminal 16, according to 12, the request response message between described wireless terminal and described server adopts TCP transmission.
The test macro of the wireless terminal 17, according to 16, the general message form of described request response message comprises message length, type of message and at least one parameter.
The test macro of the wireless terminal 18, according to 17, described type of message is separated by separator with between described parameter and described parameter, and described type of message and described parameter are the data flow represented with octet.
The test macro of the wireless terminal 19, according to 16, the file data stream packet of described request response message comprises the data flow of message length and file.
The test macro of the wireless terminal 20, according to 12, the configuration file of described test assignment comprises task essential information.
The test macro of the wireless terminal 21, according to 20, described task essential information comprises task adopted name and time of implementation threshold value.
The test macro of the wireless terminal 22, according to 20 or 21, the configuration file of described test assignment also comprises tasks carrying criterion or/and task location information.
The test macro of the wireless terminal 23, according to 22, described task location information comprises resource file title and Resource Storage position.
The test macro of the wireless terminal 24, according to 12,
Described server comprises: testing service applicator platform, for obtaining described test assignment; First wireless transmit/receive units, for and described test assignment is sent to corresponding wireless terminal by wireless network;
Described wireless terminal comprises: the second wireless transmit/receive units, for receiving described test assignment; Central processing unit, for performing described test assignment, obtains test result.
In this specification, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, same or analogous part cross-reference between each embodiment.For system embodiment, because itself and embodiment of the method are substantially corresponding, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Methods, devices and systems of the present invention may be realized in many ways.Such as, any combination by software, hardware, firmware or software, hardware, firmware realizes methods, devices and systems of the present invention.Said sequence for the step of described method is only to be described, and the step of method of the present invention is not limited to above specifically described order, unless specifically stated otherwise.In addition, in certain embodiments, can be also record program in the recording medium by the invention process, these programs comprise the machine readable instructions for realizing according to method of the present invention.Thus, the present invention also covers the recording medium stored for performing the program according to method of the present invention.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.

Claims (10)

1. a method of testing for wireless terminal, is characterized in that, comprising:
Server obtains test assignment;
Described test assignment is sent to corresponding wireless terminal by wireless network by described server;
Described wireless terminal reception also performs described test assignment, obtains test result.
2. the method for testing of wireless terminal according to claim 1, is characterized in that, after the described test result of acquisition, also comprises:
Described test result is sent to described server by wireless network by described wireless terminal.
3. the method for testing of wireless terminal according to claim 2, is characterized in that, described wireless network is wifi, bluetooth or NFC.
4. the method for testing of wireless terminal according to claim 1, is characterized in that, the request response message between described wireless terminal and described server adopts TCP transmission.
5. the method for testing of wireless terminal according to claim 4, is characterized in that, the general message form of described request response message comprises message length, type of message and at least one parameter.
6. the method for testing of wireless terminal according to claim 5, is characterized in that, described type of message is separated by separator with between described parameter and described parameter, and described type of message and described parameter are the data flow represented with octet.
7. the method for testing of wireless terminal according to claim 4, is characterized in that, the file data stream packet of described request response message comprises the data flow of message length and file.
8. the method for testing of wireless terminal according to claim 1, is characterized in that, the configuration file of described test assignment comprises task essential information.
9. the method for testing of wireless terminal according to claim 8, is characterized in that, described task essential information comprises task adopted name and time of implementation threshold value.
10. a test macro for wireless terminal, is characterized in that, comprising:
Server, for obtaining test assignment, and is sent to corresponding wireless terminal by wireless network by described test assignment;
Wireless terminal, for receiving and performing described test assignment, obtains test result.
CN201510900987.7A 2015-12-08 2015-12-08 The test method and system of wireless terminal Active CN105472083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510900987.7A CN105472083B (en) 2015-12-08 2015-12-08 The test method and system of wireless terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510900987.7A CN105472083B (en) 2015-12-08 2015-12-08 The test method and system of wireless terminal

Publications (2)

Publication Number Publication Date
CN105472083A true CN105472083A (en) 2016-04-06
CN105472083B CN105472083B (en) 2018-09-04

Family

ID=55609339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510900987.7A Active CN105472083B (en) 2015-12-08 2015-12-08 The test method and system of wireless terminal

Country Status (1)

Country Link
CN (1) CN105472083B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN107577598A (en) * 2017-08-11 2018-01-12 北京奇虎科技有限公司 A kind of automated testing method, device, server and system
CN107786996A (en) * 2016-08-26 2018-03-09 展讯通信(上海)有限公司 Method of testing, device, system and the PC server of bluetooth performance
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN110149241A (en) * 2019-04-09 2019-08-20 广州市高科通信技术股份有限公司 A kind of automated testing method and storage medium based on IMS equipment
CN111343326A (en) * 2020-04-22 2020-06-26 Oppo广东移动通信有限公司 Method and related device for acquiring test log

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340694A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Message processing capability test method and system for mobile terminal
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
US20120151038A1 (en) * 2010-12-13 2012-06-14 Verizon Patent And Licensing Inc. System and method for providing tcp performance testing
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN101340694A (en) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 Message processing capability test method and system for mobile terminal
US20120151038A1 (en) * 2010-12-13 2012-06-14 Verizon Patent And Licensing Inc. System and method for providing tcp performance testing
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786996A (en) * 2016-08-26 2018-03-09 展讯通信(上海)有限公司 Method of testing, device, system and the PC server of bluetooth performance
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN107577598A (en) * 2017-08-11 2018-01-12 北京奇虎科技有限公司 A kind of automated testing method, device, server and system
CN110149241A (en) * 2019-04-09 2019-08-20 广州市高科通信技术股份有限公司 A kind of automated testing method and storage medium based on IMS equipment
CN111343326A (en) * 2020-04-22 2020-06-26 Oppo广东移动通信有限公司 Method and related device for acquiring test log

Also Published As

Publication number Publication date
CN105472083B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN105335293B (en) A kind of automatization test system and method based on interface concurrent
US10142106B2 (en) System and method for securing sensitive data
KR101488268B1 (en) Push message service system and method thereof
US20190228303A1 (en) Method and apparatus for scheduling resource for deep learning framework
EP2145424B1 (en) Method for pushing content to mobile devices
CN103516690B (en) A kind of business processing status information query method and device
CN102708050B (en) Method and system for testing mobile application
CN103885426B (en) Control method, client, server, intermediate equipment and the controlled device of equipment
US20160205152A1 (en) Remote calling method and apparatus
CN100527080C (en) Method for software program synchronization
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN105354488B (en) It is a kind of to apply installation method, relevant apparatus and using installation system
CN104216998B (en) A kind of method, apparatus and terminal device for recommending application program
US20150227449A1 (en) Method and device for developing, compiling and debugging
CN105516246B (en) A kind of method and server of anti-application program downloading abduction
CN104077162B (en) Renewal, dissemination method and the device of mobile terminal application template
CN102694857A (en) Methods and apparatus for gifting over a data network
CN102904959B (en) Network accelerating method and gateway
EP1511269A3 (en) Apparatus and method for offering a data backup service for mobile terminals
CN102779151A (en) Searching method , device and system for application program
CN102694861A (en) Cloud technology based method, cloud technology based device and cloud technology based system for classification of terminal application software
CN105677452B (en) Task processing method and device for task platform
CN103036597B (en) Method and device of sharing resources among devices in close range
US20160210632A1 (en) Secured payment method and relevant device and system
CN104219624A (en) Sign-in method and sign-in system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant