CN106658545A - Test method, mobile terminal and server - Google Patents
Test method, mobile terminal and server Download PDFInfo
- Publication number
- CN106658545A CN106658545A CN201510724694.8A CN201510724694A CN106658545A CN 106658545 A CN106658545 A CN 106658545A CN 201510724694 A CN201510724694 A CN 201510724694A CN 106658545 A CN106658545 A CN 106658545A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- server
- test
- state
- instruction
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a test method, a mobile terminal and a server. The test method includes: a mobile terminal receives a service test instruction sent by a server wirelessly; the mobile terminal executes a test service according to the service test instruction; and the mobile terminal reports an execution result of the test service to the server wirelessly. The test method, the mobile terminal and the server provided by the invention are used for testing the network state, the server can evaluate the network state directly through the execution result of the test service fed back by the mobile terminal, the mechanism and process for testing the network state are simplified, further, the use of wireless connection facilitates movement and the simulation of a variety of test scenarios, and meanwhile, the server can obtain the execution result of a specific mobile terminal, thereby realizing a detailed assessment and better optimization of the network.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of method of testing, mobile terminal and server.
Background technology
With the development of communications industry, people become increasingly dependent on communication network, communication network is carried out it is daily
During maintenance, in order to determine that network function is normal, it is ensured that communication quality, need to test network.
In prior art, typically work to have using simulation big talk carries out network quality test with data card, but this
Simulation big talk work tool and data card be not real mobile phone, it is impossible to by the simultaneous of various types of mobile phones on the market
Capacitive test is taken into account;Although in the lab network test can be carried out using real mobile phone, this
A little mobile phones must be attached by the way of wired with server, for example, plurality of mobile phones is passed through into general serial
Bus hub (Universal Serial Bus Hub, USB hub) is connected to computer, and computer passes through serial ports
The mode of write order controls real handset and network quality is tested, but is carried out using this wired mode
Be inconvenient to move to simulate various test scenes when test;On the other hand, by the way of wired connection
When being tested, mobile phone can only the relevant information that sends of the reception server, but can not be performed every test
The implementing result of business feeds back to server, thus, server directly can not perform knot according to test business
Fruit must pass through the relevant information that other testing mechanism obtains mobile phone execution business completing network test
To assess network state, this causes the mechanism of network test and process complicated;Further, server is not
The implementing result of concrete each mobile phone can be known, so as to also be not easy to carry out most careful assessment and follow-up
Optimization.
The content of the invention
The main technical problem to be solved in the present invention is to provide a kind of method of testing, mobile terminal and server,
In to solve prior art, network is carried out using wired mode test inconvenient technical problem.
To solve above-mentioned technical problem, the present invention provides a kind of method of testing, it is characterised in that include:
The operational trials instruction that mobile terminal the reception server wirelessly sends;
The mobile terminal performs test business according to operational trials instruction;
The implementing result of the test business is wirelessly reported the service by the mobile terminal
Device.
In an embodiment of the present invention, the operational trials instruction that the mobile terminal is received is described
Server is sent by way of message packet.
In an embodiment of the present invention, also include:The mobile terminal is wirelessly to the clothes
Business device uploaded state information, report the status information mode include it is following two at least one:
The mobile terminal actively reports the current status information to the server;
The mobile terminal receives the state reporting instruction that the server sends, and reports the current shape
State information.
In an embodiment of the present invention, the status information includes the shifting of mobile terminal place network
The level of dynamic network number, Mobile Country Code MCC, Location Area Code, cell ID and the mobile terminal,
At least one of adjacent area level, talking state, network connection state.
In an embodiment of the present invention, the test service executing result includes Ping packet delay, super literary
Under this host-host protocol online time delay, the success rate of FTP upload and/or speed, FTP
The success rate and/or speed of load.
The present invention also provides a kind of method of testing, including:
Server wirelessly sends operational trials instruction to mobile terminal;
The server receives the test service executing result that the mobile terminal is wirelessly reported;
The server completes test according to the implementing result of the test business.
In an embodiment of the present invention, the server wirelessly sends to the mobile terminal
Also include before operational trials instruction:
The server imports test script;
The server generates the operational trials instruction according to the test script.
In an embodiment of the present invention, also the state letter of the mobile terminal is obtained including the server
Breath, the server obtain the mode of the status information include it is following two at least one:
The server receives the status information of the mobile terminal active reporting;
The server sends state reporting and instructs and receive the mobile terminal according to institute to the mobile terminal
State state reporting instruction and report the status information.
The present invention also provides a kind of mobile terminal, including:
Test command reception module, instructs for the operational trials that the reception server wirelessly sends;
Test business execution module, for performing test business according to operational trials instruction;
Implementing result reporting module, for the implementing result of the test business wirelessly to be reported
The server.
In an embodiment of the present invention, also including state information report module, the state information report
Module reports submodule and/or the second state reporting submodule including first state:
The first state report submodule for active report the current state to believe to the server
Breath;
The second state reporting submodule is used to receive the state reporting of the server transmission and instructs, and on
The current status information of report.
Platform of the present invention provides a kind of server, including:
Test instruction sending module, instructs for wirelessly sending operational trials to mobile terminal;
Implementing result receiver module, for receiving the test business that the mobile terminal is wirelessly reported
Implementing result;
Network state evaluation module, for completing test according to the implementing result of the test business.
In an embodiment of the present invention, also generate including test script import modul and operational trials instruction
Module:
The test script import modul is used to test instruction sending module wirelessly to mobile terminal
Send and import test script before operational trials instruction;
The operational trials directive generation module is used to be referred to according to the test script generation operational trials
Order.
In an embodiment of the present invention, also including state information acquisition module, the state information acquisition
Module includes first state acquisition submodule and/or the second state acquisition submodule:
The first state acquisition submodule is used to receive the state letter of the mobile terminal active reporting
Breath;
The second state acquisition submodule is used to instruct and receive institute to mobile terminal transmission state reporting
State mobile terminal and the status information is reported according to state reporting instruction.
The invention has the beneficial effects as follows:
Method of testing, mobile terminal and the server provided using the present invention is tested network state, is taken
The implementing result of the test business that business device directly can be fed back by mobile terminal, so as to directly according to test industry
Business implementing result is evaluated network state, simplifies the mechanism and process of network posture test, more enters one
Step, by the way of wireless connection, it is easy to movement, it is convenient to simulate various test scenes, meanwhile, service
Device can obtain the implementing result of concrete mobile terminal such that it is able to careful assessment and more preferably is carried out to network
Optimization.
Description of the drawings
The method of testing flow chart that Fig. 1 is provided for one embodiment of the invention;
The method of testing flow chart that Fig. 2 is provided for another embodiment of the present invention;
The mobile terminal schematic diagram that Fig. 3 is provided for one embodiment of the invention;
The mobile terminal schematic diagram that Fig. 4 is provided for another embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of state information report module in Fig. 4;
Fig. 6 is a kind of schematic diagram of state information report module in Fig. 4;
Fig. 7 is another kind of schematic diagram of state information report module in Fig. 4;
The server schematic diagram that Fig. 8 is provided for one embodiment of the invention;
The server schematic diagram that Fig. 9 is provided for another embodiment of the present invention;
Figure 10 is a kind of schematic diagram of state information acquisition module in Fig. 9;
Figure 11 is a kind of schematic diagram of state information acquisition module in Fig. 9;
Figure 12 is another kind of schematic diagram of state information acquisition module in Fig. 9.
Specific embodiment
Accompanying drawing is combined below by specific embodiment to be described in further detail the present invention.
The central scope of the present invention is that mobile terminal and server set up wireless connection, and server is by wireless
Mode to mobile terminal sends operational trials instruction, the operational trials instruction that mobile terminal the reception server sends
And test business is performed according to operational trials instruction, then implementing result is wirelessly fed back to clothes
Business device, server is received after implementing result, and according to implementing result test is completed.
Embodiment one:
The present embodiment provides a kind of method of testing, elaborates the step performed by mobile terminal in test process,
Refer to Fig. 1:
S101, the operational trials instruction that mobile terminal the reception server wirelessly sends.
First, mobile terminal and server set up it is wireless be bi-directionally connected, in the present embodiment, using socket
Word (Socket) two-way communication, mobile terminal creates Socket service process, and is connected to server establishment
Socket service process, form wireless two-way communication.
After setting up wireless two-way communication, the operational trials that mobile terminal the reception server wirelessly sends
Instruction, operational trials instruction is sent by server by way of message packet.Operational trials instruction includes clothes
Business device requires the miscellaneous service that mobile terminal is performed, and operational trials instruction is divided into single test instruction and parallel survey
Examination instruction, single test instruction includes call, short message sending, Ping bags, HTTP
(Hyper Text Transfer Protocol, HTTP) online, FTP (File Transfer
Protocol, FTP) upload, FTP (File Transfer Protocol, FTP) download
Etc. class hold, concurrent testing command request mobile terminal perform one test when, while parallel execution
Other test, such as send multimedia message, call when note is sent when calling, being called
When online, FTP uploads are carried out when calling or when download, HTTP are called when surfing the Net, HTTP surfs the Net
Sending and carry out when send when note, HTTP surf the Net multimedia message, HTTP online FTP uploads or download, FTP uploads
Or download when call, FTP upload or download when send note, FTP upload or download when send multimedia message
Deng, it is beyond all doubt, concurrent testing instruction in various test events can carry out multiple combination, combine
The number of entry be not restricted by.
S102, mobile terminal performs test business according to operational trials instruction.
Mobile terminal is received after above-mentioned test instruction, and according to the content of test instruction corresponding application program is called
Carry out single operational trials or concurrent service test.
The wireless mode that the implementing result of the business of test passes through is reported server by S103, mobile terminal.
The time of mobile terminal reporting implementing result has various, and for example, the operational trials that mobile terminal is received refers to
Order includes three single test instructions and a concurrent testing instruction, three single test command request movements
Terminal is called respectively, is received note, HTTP online, and concurrent testing command request mobile terminal exists
FTP downloads are carried out while sending multimedia message, mobile terminal can be after all of operational trials be performed anti-
Feedback implementing result, it is also possible to the implementing result of the operational trials is fed back after each test has been performed, when
After several tests business therein can also so have been performed, to the implementing result that server feedback has been obtained.
Mobile terminal can be carried out the original letter obtained by every test business to the implementing result of server feedback
The PRELIMINARY RESULTS for ceasing, or obtaining after being processed accordingly raw information, for example, the present embodiment
Middle mobile terminal to perform test business after obtain raw information carried out calculating process obtained PRELIMINARY RESULTS,
So, in the present embodiment, if the test business that mobile terminal is performed is Ping bags, then what it was reported
Implementing result is Ping packet delay, accordingly, when the implementing result that it is reported can also be that HTTP surfs the Net
Prolong the success rate and/or speed, the success rate of FTP downloads and/or speed uploaded with short message sending success rate, FTP
Rate etc..
In the present embodiment, mobile terminal also reports the status information of oneself to complete for server to server
Referred to when test, the status information for reporting includes the mobile network code of mobile terminal place network
(Mobile Network Code, MNC), Mobile Country Code MCC (Mobile Country Code, MCC),
Location Area Code (Location Area Code, LAC), cell ID (Community Identity,
CI) and mobile terminal at least one of level, adjacent area level, talking state, network connection state.
The mode of mobile terminal reporting status information includes two kinds:
The first, mobile terminal actively reports its status information to server, for example, when mobile terminal kimonos
Business device is established after wireless two-phase connection, and mobile terminal actively wirelessly sends status information
To server.
Second, mobile terminal reports current state after the state reporting instruction for receiving server transmission
Information.
The present embodiment does not limit the time of mobile terminal reporting status information, so, mobile terminal can be
Set up after the connection of wireless two-phase or when operational trials is carried out or other whenever active reportings
Status information, the time for sending state reporting instruction additionally, due to server is not fixed, so according to state
Instruction uploaded state information is reported to occur at any time.
Embodiment two:
The present embodiment provides a kind of method of testing, and specifically the step performed by server in test process is carried out
Illustrate, refer to Fig. 2:
S201, server wirelessly sends operational trials instruction to mobile terminal.
In the present embodiment server and mobile terminal are still communicated in the way of Socket two-way communications,
Server creates Socket service process, is then attached to the Socket service process of mobile terminal establishment.
Preferably, with mobile terminal establish communication after, server can from import test script, then
Corresponding operational trials instruction is generated according to these test scripts.
Operational trials instruction includes the miscellaneous service that server requirement mobile terminal is performed, and operational trials instruction can
To be divided into single test instruction and concurrent testing instruction, single test instruction includes that call, note are sent out
Give, Ping bags, HTTP online, FTP upload, FTP download etc. class hold, concurrent testing instruction refer to requirement
Mobile terminal performs the instructions of at least two test business simultaneously, such as send when calling note,
FTP uploads or download, HTTP are carried out when surfing the Net, call when multimedia message is sent when calling, being called
Call during online, HTTP surf the Net when send note, HTTP surf the Net when send multimedia message, HTTP surf the Net when enter
Row FTP upload or download, FTP upload or download when call, FTP upload or download when send note,
FTP uploads or receives when downloading multimedia message etc., beyond all doubt, the various test items in concurrent testing instruction
Mesh can carry out multiple combination, and the number of entry of combination is not restricted by.
Server is generated after operational trials instruction, and the operational trials for generating is instructed the side by message packet
Formula is sent to mobile terminal, allows mobile terminal to carry out corresponding operational trials.
S202, server receives the test service executing result that mobile terminal is wirelessly reported.
After mobile terminal completes test business accordingly, implementing result can be reported server, server
These implementing results are received, for the process of follow-up test.Due to the time of mobile terminal reporting implementing result
Have various, it can report implementing result after whole test business are completed, it is also possible to complete therein
Implementing result is reported after one or more test business, for example, in the operational trials instruction that mobile terminal is received
Including three single test instructions and a concurrent testing instruction, three single test command request mobile terminals
Called respectively, received note, HTTP online, concurrent testing command request mobile terminal is being sent
FTP downloads are carried out while multimedia message, mobile terminal can be held after all of operational trials is performed in feedback
Row result, it is also possible to just to server report it to perform the Xiang Ye after the test business called has been performed
The implementing result of business test, so, server is issued after an operational trials instruction, may repeatedly be received
The implementing result of mobile terminal feedback, it is also possible to can once get required whole implementing results.
Because mobile terminal can be carried out the original obtained by every test business to the implementing result of server feedback
Beginning information, or the PRELIMINARY RESULTS obtained after being processed accordingly raw information, so service end
The implementing result for receiving can be that the PRELIMINARY RESULTS Jing after mobile terminal calculating is processed, or movement are whole
End performs the initial data that test business is obtained, for example, in the present embodiment, if what mobile terminal was performed
Test business is Ping bags, then its implementing result for reporting is Ping packet delay, accordingly, thereon
The implementing result of report can also be HTTP online time delay and short message sending success rate, be the success rate of FTP uploads
And/or the success rate and/or speed of speed, FTP download etc..
S203, server completes test according to the implementing result of test business.
If the implementing result that server is received is the raw information that mobile terminal sends, then server
Need to process these raw informations, first obtain Ping packet delay, HTTP online time delays, FTTP and pass
Success rate and/or the success rate downloaded of speed, FTTP and/or the PRELIMINARY RESULTS such as speed, then at the beginning of these
Step result carries out statistical analysis, obtains last test result;If what server was obtained is that mobile terminal is sent out
The PRELIMINARY RESULTS sent, then server directly carries out follow-up statistical analysis step and obtains test result.
Further, server can also obtain the status information of mobile terminal reporting, by implementing result and shape
State information combines, so as to more comprehensively be evaluated network state, the state letter of mobile terminal reporting
Breath includes MNC, MCC, LAC, CI of mobile terminal place network and level, the adjacent area of mobile terminal
At least one of level, talking state, network connection state.Server obtains the state letter of mobile terminal
Breath has two ways:
The first, receives mobile terminal active reporting its status information, when mobile terminal and server are established
After wireless two-phase connection, mobile terminal actively status information is wirelessly sent to server.
Second, server after a connection is established whenever can be in mobile terminal transmission state
Report instruction, then receives the current state information that mobile terminal is reported according to the state reporting instruction.
The present embodiment not Limited service device obtain status information time, so, as long as mobile terminal is to clothes
Business device has reported status information, server to obtain;Meanwhile, set up in server and mobile terminal and connect
After connecing, server can also at any time send state reporting and instruct to mobile terminal so as to according to shape
State reports instruction to report its status information.
Preferably, the exhibition also in the form of pictorialization after test result is got of the server in the present embodiment
Show test result, this mode it is convenient it is directly perceived test result is presented, allow the quicker awareness network of technical staff
State, most appropriate evaluation is made to network state, so as to the follow-up network operation and the optimization that allow more have mesh
Property.
Embodiment three:
The present embodiment provides a kind of mobile terminal, as shown in Figure 3:
The mobile terminal 30 that the present embodiment is provided includes test command reception module 31, test business execution module
32 and implementing result reporting module 33.
Test command reception module 31 is used for the operational trials instruction that the reception server wirelessly sends.
First, mobile terminal and server set up it is wireless be bi-directionally connected, in the present embodiment, using socket
Word (Socket) two-way communication, mobile terminal creates Socket service process, and is connected to server establishment
Socket service process, form wireless two-way communication.
After setting up wireless two-way communication, the test the reception server of command reception module 31 wirelessly sends
Operational trials instruction, operational trials instruction sent by way of message packet by server.Test instruction
The operational trials instruction that receiver module 31 is received includes testing the miscellaneous service to be performed of business execution module 32,
Operational trials instruction is divided into single test instruction and concurrent testing instruction, and single test instruction includes that phone is exhaled
Cry, short message sending, Ping bags, HTTP (Hyper Text Transfer Protocol,
HTTP) online, FTP (File Transfer Protocol, FTP) upload, file transmission
The classes such as agreement (File Transfer Protocol, FTP) download are held, concurrent testing command request test industry
Business performing module 32 is when a test is performed, while the other test of parallel execution, such as dial
Enter when surfing the Net, call when sending multimedia message, call when note is sent when phone, being called
Note, HTTP online are sent when row FTP is uploaded or downloaded, HTTP is called when surfing the Net, HTTP surfs the Net
When send multimedia message, HTTP carry out when surfing the Net FTP uploads or download, FTP upload or call when downloading,
FTP uploads or sends when downloading note, FTP and uploads or send when downloading multimedia message etc., beyond all doubt,
Various test events in concurrent testing instruction can carry out multiple combination, and the number of entry of combination is not limited
System.
Test business execution module 32 is used to perform test business according to operational trials instruction.
Test command reception module 31 is received after above-mentioned test instruction, and test business execution module 32 is according to survey
The content of examination instruction calls corresponding application program to carry out single operational trials or concurrent service test.
Implementing result reporting module 33 is used to for test business execution module 32 to perform holding for test business acquisition
Row result wirelessly reports server.
Implementing result reporting module 33 reports the time of implementing result to have various, and it can be performed in test business
Module 32 completes to report implementing result after whole test business, it is also possible to complete one or more therein
Implementing result is reported after test business, for example, in testing the operational trials instruction that command reception module 31 is received
Including three single test instructions and a concurrent testing instruction, three single test command request mobile terminals
Called respectively, received note, HTTP online, concurrent testing command request mobile terminal is being sent
FTP downloads are carried out while multimedia message, implementing result reporting module 33 can be in test business execution module 32
Perform after all of operational trials in execution result back, it is also possible to performing the test industry called
Just to server it is reported to perform the implementing result of the operational trials after business.
Implementing result reporting module 33 to the implementing result of server feedback can be carried out every test business institute
Raw information, or the PRELIMINARY RESULTS that obtains after being processed accordingly raw information, for example,
Obtaining raw information after 32 pairs of execution test business of test business execution module in the present embodiment has been carried out at calculating
Reason has obtained PRELIMINARY RESULTS, so, if the test business that test business execution module 32 is performed is Ping
Bag, then the implementing result that implementing result reporting module 33 is reported is Ping packet delay, accordingly, such as
What fruit test business execution module 32 was performed carries out HTTP online while being and send note, then, perform
As a result the implementing result that reporting module 33 is reported just includes HTTP online time delays and short message sending success rate, together
Sample, implementing result reporting module 33 is sent to the success that the implementing result of server can also be that FTP is uploaded
Rate and/or speed, the success rate of FTP downloads and/or speed etc..
The present invention also provides another kind of embodiment, refer to Fig. 4, and mobile terminal 30 is except including test instruction
Beyond receiver module 31, test business execution module 32 and implementing result reporting module 33, also including state
Information reporting module 34, state information report module 34 is used to report the status information of mobile terminal to server,
MNC, MCC, LAC, CI of the status information for reporting including mobile terminal place network and mobile terminal
At least one of level, adjacent area level, talking state, network connection state, these status informations are also used
Network is evaluated in server.As schemed, shown in 5-7, state information report module 34 includes the first shape
State reports the state reporting submodule 342 of submodule 341 and/or second:
Fig. 5 is refer to, when state information report module 34 only reports submodule 341 including first state, is moved
Dynamic terminal 30 can only report the active of submodule 341 to report mobile terminal current to server by first state
Status information.
Fig. 6 is refer to, when state information report module 34 only includes the second state reporting submodule 342, the
Two-state report submodule 342 can only receive server transmission state reporting instruction after, could incite somebody to action
The current state information report of mobile terminal is to server.
Refer to Fig. 7, state information report module 34 reports submodule 341 and the including first state simultaneously
Two-state reports submodule 342, and at this moment, state information report module 34 both can be with man who brings news of appointment in first state
The status information of the active reporting mobile terminal of module 341, it is also possible to receive in the second state reporting submodule 342
Uploaded state information again after the state reporting instruction sent to server.
The time of the present embodiment not uploaded state information of finite-state information reporting module 34, so, state
Information reporting module 34 can after the connection of wireless two-phase is set up or when operational trials is carried out or
Other whenever active reporting status informations, the time for sending state reporting instruction additionally, due to server is simultaneously
Do not fix, so state information report module 34 instructs uploaded state information to occur according to state reporting
At any time.
Example IV:
The present embodiment provides a kind of server, and the server 80 includes test instruction sending module 81, performs knot
Fruit receiver module 82 and network state evaluation module 83, specifically, refer to Fig. 8:
Test instruction sending module 81 is used to wirelessly send operational trials instruction to mobile terminal.
In the present embodiment server 80 and mobile terminal are still led in the way of Socket two-way communications
Letter, server 80 creates Socket service process, is then attached to the Socket service of mobile terminal establishment
Process.
Operational trials instruction is sent to mobile terminal by test instruction sending module 81, and mobile terminal is being performed
After operational trials, implementing result is sent to into implementing result receiver module 82, implementing result receiver module 82
After receiving implementing result, the implementing result that network state evaluation module 83 pairs is received carries out Treatment Analysis, complete
Into whole test process.
Preferably, server 80 including test instruction except sending mould in another kind of embodiment that the present invention is provided
Beyond block 81, implementing result receiver module 82 and network state evaluation module 83, also lead including test script
Enter module 84, operational trials directive generation module 85 and state information acquisition module 86, please further tie
Close Fig. 9:
Server 80 is established after communicating with mobile terminal, and test script import modul 84 can be surveyed from importing
Training sheet, then operational trials directive generation module 85 is according to these corresponding operational trialss of test scripts generation
Instruction.
It is each that the operational trials instruction that operational trials directive generation module 85 is generated includes that mobile terminal needs are performed
The business of kind, operational trials instruction can be divided into single test instruction and concurrent testing is instructed, single test instruction
Include that the classes such as call, short message sending, Ping bags, HTTP online, FTP uploads, FTP downloads are held,
Concurrent testing instruction refers to the instruction for requiring that mobile terminal performs at least two test business simultaneously, for example, dial
Enter when surfing the Net, call when sending multimedia message, call when note is sent when phone, being called
Note, HTTP online are sent when row FTP is uploaded or downloaded, HTTP is called when surfing the Net, HTTP surfs the Net
When send multimedia message, HTTP carry out when surfing the Net FTP uploads or download, FTP upload or call when downloading,
FTP uploads or sends when downloading note, FTP and uploads or send when downloading multimedia message etc., beyond all doubt,
Various test events in concurrent testing instruction can carry out multiple combination, and the number of entry of combination is not limited
System.
Operational trials directive generation module 85 is generated after operational trials instruction, tests instruction sending module 81
The operational trials instruction of generation is sent to into mobile terminal by way of message packet, allows mobile terminal to carry out
Corresponding operational trials.
Implementing result receiver module 82 is used to receive the test business execution that mobile terminal is wirelessly reported
As a result.
After mobile terminal completes test business accordingly, implementing result can be reported implementing result and receive mould
Block 82, implementing result receiver module 82 receives these implementing results, for follow-up test process.Due to moving
The time of dynamic terminal to report implementing result has various, and it can report execution after whole test business are completed
As a result, it is also possible to report implementing result after one or more test business therein is completed, for example, it is mobile
The operational trials instruction that terminal is received includes that three single test instructions and a concurrent testing are instructed, three
Single test command request mobile terminal is called respectively, is received note, HTTP online, parallel to survey
Examination command request mobile terminal carries out FTP downloads while multimedia message is sent, and mobile terminal can performed
In execution result back after all of operational trials, it is also possible to after the test business called has been performed just
To feeding back the implementing result that obtained to implementing result receiver module 82, so, test instruction sending module
81 issue after an operational trials instruction, and it is anti-that implementing result receiver module 82 may repeatedly receive mobile terminal
The implementing result of feedback, it is also possible to can once get required whole implementing results.
Because mobile terminal to the implementing result that implementing result receiver module 82 feeds back can be carried out every test
Raw information obtained by business, or the PRELIMINARY RESULTS obtained after being processed accordingly raw information,
So the implementing result that implementing result receiver module 82 is received can be first Jing after mobile terminal calculating is processed
Step result, or mobile terminal perform the initial data that test business is obtained, for example, in the present embodiment
In, if the test business that mobile terminal is performed is Ping bags, then its implementing result for reporting is Ping
Packet delay, accordingly, if its perform be send note while carry out HTTP online, implementing result connects
The implementing result that receipts module 82 is received just includes HTTP online time delays and short message sending success rate, so holding
The implementing result that row result receiver module 82 is received can also be FTP upload success rate and/or speed,
Success rate and/or speed of FTP downloads etc..
Preferably, server 80 also includes, network state evaluation module 83, for being received according to implementing result
The implementing result of the test business that module 82 is received completes test.
If the implementing result that implementing result receiver module 82 is received is the raw information that mobile terminal sends,
So network state evaluation module 83 needs to process these raw informations, first obtain Ping packet delay,
Success rate that the success rate and/or speed, FTTP that HTTP online time delays, FTTP are passed is downloaded and/or speed etc. are just
Then these PRELIMINARY RESULTSs are carried out statistical analysis by step result, obtain last test result;If performed
What as a result receiver module 82 was obtained is the PRELIMINARY RESULTS that mobile terminal sends, then network state evaluation module 83
Directly carry out follow-up statistical analysis step and obtain test result.
Further, network state evaluation module 83 assess network state when, except according to implementing result
Beyond the implementing result that receiver module 82 is received, can also carry out with reference to the status information of mobile terminal, so,
Preferably, server 80 also includes state information acquisition module 86, and state information acquisition module 86 is used to obtain
Take the status information of mobile terminal reporting, status information include the MNC of mobile terminal place network, MCC,
In level, adjacent area level, talking state, the network connection state of LAC, CI and mobile terminal at least one
Individual, these status informations can be used for server and network evaluated.As shown in figs. 10-12, state
Data obtaining module 86 includes the state acquisition submodule 862 of first state acquisition submodule 861 and/or second.
Figure 10 is refer to, state information acquisition module 86 only includes first state acquisition submodule 861, at this moment,
Server 80 can only receive mobile terminal active reporting its status information, for example, when mobile terminal and server
After establishing wireless two-phase connection, status information is actively wirelessly sent to mobile terminal the
One state acquisition submodule 861.
Refer to Figure 11, state information acquisition module 86 only includes the second state acquisition submodule 862, second
State acquisition submodule 862 is used for server 80 and instructs to mobile terminal transmission state reporting and receive mobile whole
End instructs uploaded state information according to state reporting.In this case, server state information acquisition module
If going for the status information of mobile terminal, just first state reporting instruction must be sent to mobile terminal, it is no
Then, the status information of mobile terminal cannot be obtained.
Refer to Figure 12, state information acquisition module 86 includes first state acquisition submodule 861 and the simultaneously
Two-state acquisition submodule 862, at this moment, state information acquisition module 46 can get first state acquisition
The status information of the mobile terminal active reporting that submodule 861 is received and the second state acquisition submodule 862
The status information of mobile terminal reporting is allowed by sending state reporting instruction.
The present embodiment not finite-state data obtaining module 86 obtain status information time, so, as long as
Mobile terminal to first state acquisition submodule 861 has reported status information, or mobile terminal according to second
The state reporting instruction that state acquisition submodule 862 is sent at any time has reported status information, shape
State data obtaining module 86 can get.
Preferably, the server 80 in the present embodiment after test result is got also in the form of pictorialization
Show test result, the convenient presentation test result directly perceived of this mode allows technical staff more quickly to understand net
Network state, most appropriate evaluation is made to network state, so as to the follow-up network operation and the optimization that allow more have
Purpose.
Embodiment five:
The present invention also provides a kind of test system, including above-mentioned server and one or more mobile terminals.
Due to adopting wireless connected mode between each mobile terminal and server of the present embodiment, therefore, entering
During row network test, participating in the quantity of the mobile terminal of network test can't be subject to interface quantity
Limit, so, the test system provided using the present embodiment can be using more mobile terminal while root
Network test is carried out according to different operational trials instructions, so as to the service condition of simulating reality Internet resources, most
Afterwards server carries out statistical analysis etc. and processes to a large amount of implementing results for obtaining, it is to avoid caused because of mutation
Error, the result for making test is more nearly actual conditions.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to recognized
Being embodied as of the fixed present invention is confined to these explanations.For the ordinary skill of the technical field of the invention
For personnel, without departing from the inventive concept of the premise, some simple deduction or replace can also be made,
Protection scope of the present invention should be all considered as belonging to.
Claims (13)
1. a kind of method of testing, it is characterised in that include:
The operational trials instruction that mobile terminal the reception server wirelessly sends;
The mobile terminal performs test business according to operational trials instruction;
The implementing result of the test business is wirelessly reported the server by the mobile terminal.
2. method of testing as claimed in claim 1, it is characterised in that the institute that the mobile terminal is received
State operational trials instruction to send by way of message packet for the server.
3. method of testing as claimed in claim 1, it is characterised in that also include:The mobile terminal
Wirelessly to the server uploaded state information, the mode of the status information is reported including following
At least one in two kinds:
The mobile terminal actively reports the current status information to the server;
The mobile terminal receives the state reporting instruction that the server sends, and reports the current shape
State information.
4. method of testing as claimed in claim 3, it is characterised in that the status information includes described
The mobile network code of mobile terminal place network, Mobile Country Code MCC, Location Area Code, cell ID and
At least one of level, adjacent area level, talking state, network connection state of the mobile terminal.
5. the method for testing as described in any one of claim 1-4, it is characterised in that the test business
Implementing result include Ping packet delay, HTTP online time delay, FTP upload into
Success rate and/or speed that power and/or speed, FTP are downloaded.
6. a kind of method of testing, it is characterised in that include:
Server wirelessly sends operational trials instruction to mobile terminal;
The server receives the test service executing result that the mobile terminal is wirelessly reported;
The server completes test according to the implementing result of the test business.
7. method of testing as claimed in claim 6, it is characterised in that the server passes through wireless parties
Formula sends to the mobile terminal and also include before operational trials instruction:
The server imports test script;
The server generates the operational trials instruction according to the test script.
8. method of testing as claimed in claims 6 or 7, it is characterised in that also including the server
The status information of the mobile terminal is obtained, the server obtains the mode of the status information including following
At least one in two kinds:
The server receives the status information of the mobile terminal active reporting;
The server sends state reporting and instructs and receive the mobile terminal according to institute to the mobile terminal
State state reporting instruction and report the status information.
9. a kind of mobile terminal, it is characterised in that include:
Test command reception module, instructs for the operational trials that the reception server wirelessly sends;
Test business execution module, for performing test business according to operational trials instruction;
Implementing result reporting module, for the implementing result of the test business wirelessly to be reported
The server.
10. mobile terminal as claimed in claim 9, it is characterised in that also including state information report mould
Block, the state information report module reports submodule and/or the second state reporting submodule including first state:
The first state report submodule for active report the current status information to the server;
The second state reporting submodule is used to receive the state reporting of the server transmission and instructs, and on
The current status information of report.
11. a kind of servers, it is characterised in that include:
Test instruction sending module, instructs for wirelessly sending operational trials to mobile terminal;
Implementing result receiver module, for receiving the test business that the mobile terminal is wirelessly reported
Implementing result;
Network state evaluation module, for completing test according to the implementing result of the test business.
12. servers as claimed in claim 11, it is characterised in that also import mould including test script
Block and operational trials directive generation module:
The test script import modul is used to test instruction sending module wirelessly to mobile terminal
Send and import test script before operational trials instruction;
The operational trials directive generation module is used to generate the operational trials instruction according to the test script.
13. servers as described in claim 11 or 12, it is characterised in that also obtain including status information
Delivery block, the state information acquisition module includes that first state acquisition submodule and/or the second state obtain son
Module:
The first state acquisition submodule is used to receive the status information of the mobile terminal active reporting;
The second state acquisition submodule is used to instruct and receive institute to mobile terminal transmission state reporting
State mobile terminal and the status information is reported according to state reporting instruction.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510724694.8A CN106658545A (en) | 2015-10-30 | 2015-10-30 | Test method, mobile terminal and server |
PCT/CN2016/075820 WO2016188181A1 (en) | 2015-10-30 | 2016-03-07 | Test method, mobile terminal, server and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510724694.8A CN106658545A (en) | 2015-10-30 | 2015-10-30 | Test method, mobile terminal and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106658545A true CN106658545A (en) | 2017-05-10 |
Family
ID=57393783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510724694.8A Withdrawn CN106658545A (en) | 2015-10-30 | 2015-10-30 | Test method, mobile terminal and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106658545A (en) |
WO (1) | WO2016188181A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770768A (en) * | 2017-10-17 | 2018-03-06 | 维沃移动通信有限公司 | A kind of data network restoration methods, mobile terminal |
CN107787006A (en) * | 2017-09-29 | 2018-03-09 | 努比亚技术有限公司 | Hotspot network quality detection method, mobile terminal and storage medium |
CN108924951A (en) * | 2018-06-01 | 2018-11-30 | 晶晨半导体(上海)股份有限公司 | A kind of information interacting method |
CN114338490A (en) * | 2021-12-30 | 2022-04-12 | 奇安信科技集团股份有限公司 | Test method and test management module of terminal equipment |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460967B (en) * | 2019-07-05 | 2023-05-23 | 深圳壹账通智能科技有限公司 | Short message platform test method and device, computer equipment and storage medium |
CN113630802B (en) * | 2020-05-07 | 2024-02-20 | 大唐联仪科技有限公司 | NR user plane service testing method and device |
CN111581107B (en) * | 2020-05-13 | 2023-08-18 | 武汉虹信科技发展有限责任公司 | FTP program fatigue test method and system |
CN112486818A (en) * | 2020-11-27 | 2021-03-12 | 合肥移瑞通信技术有限公司 | Module function test system and test method |
CN115276844B (en) * | 2022-08-02 | 2023-06-13 | 上海移柯通信技术股份有限公司 | Communication module testing method and device, storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415190A (en) * | 2007-10-16 | 2009-04-22 | 北京华恒铭圣科技发展有限责任公司 | Method and system for detecting wireless communication network |
CN101500255A (en) * | 2008-02-03 | 2009-08-05 | 中国移动通信集团公司 | Mobile terminal test method and system |
CN101610520A (en) * | 2008-06-17 | 2009-12-23 | 北京华恒铭圣科技发展有限责任公司 | The triggering method of user terminal behavioral test, communication equipment and communication system |
WO2011012085A1 (en) * | 2009-07-30 | 2011-02-03 | 大唐移动通信设备有限公司 | Measurement method and device for wireless network communication system |
US20130196604A1 (en) * | 2010-10-10 | 2013-08-01 | Lg Electronics Inc. | Method and Device for Performing a Logged Measurement in a Wireless Communication System |
CN103731850A (en) * | 2013-12-12 | 2014-04-16 | 北京泰合佳通信息技术有限公司 | Wireless network testing method based on mobile intelligent terminal |
CN104581785A (en) * | 2014-12-29 | 2015-04-29 | 大唐移动通信设备有限公司 | Wireless network testing method, testing device and mobile terminal |
-
2015
- 2015-10-30 CN CN201510724694.8A patent/CN106658545A/en not_active Withdrawn
-
2016
- 2016-03-07 WO PCT/CN2016/075820 patent/WO2016188181A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415190A (en) * | 2007-10-16 | 2009-04-22 | 北京华恒铭圣科技发展有限责任公司 | Method and system for detecting wireless communication network |
CN101500255A (en) * | 2008-02-03 | 2009-08-05 | 中国移动通信集团公司 | Mobile terminal test method and system |
CN101610520A (en) * | 2008-06-17 | 2009-12-23 | 北京华恒铭圣科技发展有限责任公司 | The triggering method of user terminal behavioral test, communication equipment and communication system |
WO2011012085A1 (en) * | 2009-07-30 | 2011-02-03 | 大唐移动通信设备有限公司 | Measurement method and device for wireless network communication system |
US20130196604A1 (en) * | 2010-10-10 | 2013-08-01 | Lg Electronics Inc. | Method and Device for Performing a Logged Measurement in a Wireless Communication System |
CN103731850A (en) * | 2013-12-12 | 2014-04-16 | 北京泰合佳通信息技术有限公司 | Wireless network testing method based on mobile intelligent terminal |
CN104581785A (en) * | 2014-12-29 | 2015-04-29 | 大唐移动通信设备有限公司 | Wireless network testing method, testing device and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107787006A (en) * | 2017-09-29 | 2018-03-09 | 努比亚技术有限公司 | Hotspot network quality detection method, mobile terminal and storage medium |
CN107770768A (en) * | 2017-10-17 | 2018-03-06 | 维沃移动通信有限公司 | A kind of data network restoration methods, mobile terminal |
CN108924951A (en) * | 2018-06-01 | 2018-11-30 | 晶晨半导体(上海)股份有限公司 | A kind of information interacting method |
CN114338490A (en) * | 2021-12-30 | 2022-04-12 | 奇安信科技集团股份有限公司 | Test method and test management module of terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2016188181A1 (en) | 2016-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106658545A (en) | Test method, mobile terminal and server | |
CN104579822B (en) | Mobile application automated performance testing system and method based on Http agreements | |
CN105302732B (en) | A kind of automatic test approach and device of mobile terminal | |
CN108989583B (en) | Pressure testing method and system for call center, electronic equipment and storage medium | |
CN110275822A (en) | Performance test methods, device, equipment and the storage medium of application programming interfaces | |
CN110032507A (en) | Applied program testing method, device, system, electronic equipment and storage medium | |
CN111522727B (en) | Simulation object test method, device and system | |
CN105487965A (en) | Universal server pressure testing method and device | |
CN102006616A (en) | Test system and test method | |
CN109815115A (en) | Method and device, the computer equipment, storage medium of debugging bridge joint mouth | |
US10320650B2 (en) | Testing a network using a communication device | |
CN103902446A (en) | Network server automated testing method and device | |
CN104468288B (en) | Terminal network data test method and device | |
CN107562623A (en) | A kind of REST API automated testing methods and system | |
CN106776323A (en) | Application testing method and device | |
CN106936658A (en) | The method of testing and test platform of test case, simulation test equipment | |
CN100394732C (en) | WAP gateway performance test method | |
CN202799166U (en) | Mobile application network testing system | |
CN106301977A (en) | The method and device that network tests the speed | |
CN106559244A (en) | A kind of session service test and management method and system and management end, test lead | |
CN107844486A (en) | A kind of method and system of analysis webpage problem for client | |
CN109922484A (en) | A kind of test method and test device | |
CN105117344A (en) | Interface integration test method and system based on PB | |
CN110505352B (en) | Call quality testing method, system, computer device and computer storage medium | |
CN108345508A (en) | Interface calls test method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170510 |
|
WW01 | Invention patent application withdrawn after publication |