CN105468513A - Testing method, apparatus and system based on mobile terminal - Google Patents

Testing method, apparatus and system based on mobile terminal Download PDF

Info

Publication number
CN105468513A
CN105468513A CN201410462584.4A CN201410462584A CN105468513A CN 105468513 A CN105468513 A CN 105468513A CN 201410462584 A CN201410462584 A CN 201410462584A CN 105468513 A CN105468513 A CN 105468513A
Authority
CN
China
Prior art keywords
mobile terminal
test
testing
subtask
testing mobile
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
CN201410462584.4A
Other languages
Chinese (zh)
Other versions
CN105468513B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410462584.4A priority Critical patent/CN105468513B/en
Publication of CN105468513A publication Critical patent/CN105468513A/en
Application granted granted Critical
Publication of CN105468513B publication Critical patent/CN105468513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The prevent invention provides a testing method based on a mobile terminal. The method comprises: partitioning a received test task into a plurality of test sub-tasks, and respectively distributing to a plurality of testing mobile terminals to carry out a parallel test; after receiving a notification that the test sub-task is completed, which is reported by each testing mobile terminal, acquiring test result data of the test sub-tasks corresponding to the notifications; and when completing all the test sub-tasks by each testing mobile terminal, then accounting all the test result data of each testing mobile terminal and outputting a statistic result. In addition, the present invention also provides a testing apparatus and system based on the mobile terminal. According to the testing method, apparatus and system based on the mobile terminal, the test tasks can be distributed to a plurality of testing mobile terminal to carry out a parallel test, so that test efficiency is improved.

Description

A kind of method of testing based on mobile terminal, Apparatus and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of testing based on mobile terminal, Apparatus and system.
Background technology
Along with mobile terminal popularizing in people's daily life, the special software of more and more mobile terminal occurs.In order to detect the quality of special software, need to test on the mobile terminal of test, test reaches certain success ratio and formally issues.
In prior art, be test mobile terminal allocation for test task in a test system, the test result data according to each mobile terminal is analyzed, but it is all that order unit performs that mobile terminal carries out testing, and does not have the platform of cluster Processing tasks.That is, a mobile terminal sequentially performs the test assignment that will complete, length consuming time.And, when the mobile terminal of Multiple Type all needs to perform test assignment, dispose and distribute loaded down with trivial details, needing to wait for the last statistical test data of mobile terminal ability of finally finishing the work, effectively can not utilize mobile terminal, cause resource to waste greatly.
Summary of the invention
In view of this, the invention provides a kind of method of testing based on mobile terminal, Apparatus and system, test assignment can be distributed to multiple testing mobile terminal and carry out concurrent testing, improve testing efficiency.
The method of testing based on mobile terminal that the embodiment of the present invention provides, comprising: the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing; Receive the completed notice of described test subtask that each described testing mobile terminal reports; Obtain the test result data of described test subtask corresponding to described notice; When each described testing mobile terminal completes all test subtask, then all test result data of each described testing mobile terminal are carried out adding up and exporting statistics.
The proving installation based on mobile terminal that the embodiment of the present invention provides, comprising: Dispatching Unit, for the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing; Receiving element, for receiving the completed notice of described test subtask that each described testing mobile terminal reports; Acquiring unit, for obtaining the test result data of described test subtask corresponding to described notice; All test result data of each described testing mobile terminal for completing all test subtask when each described testing mobile terminal, are then added up by statistic unit; Output unit, for exporting statistics.
The test macro based on mobile terminal that the embodiment of the present invention provides, comprising: server and testing mobile terminal; Wherein, described server, for the test assignment received is divided into multiple test subtask, and be distributed to multiple testing mobile terminal respectively and carry out concurrent testing, receive the completed notice of described test subtask that each described testing mobile terminal reports, obtain the test result data of described test subtask corresponding to described notice, when each described testing mobile terminal completes all test subtask, then all test result data of each described testing mobile terminal are carried out adding up and exporting statistics; Described testing mobile terminal, for receiving the test subtask of described server distribution, and testing, when completing the test subtask of described distribution, then reporting the test subtask of described distribution to complete to described server.
The method of testing based on mobile terminal that the embodiment of the present invention provides, Apparatus and system, test assignment is divided into multiple test subtask by server, and be distributed to multiple testing mobile terminal and carry out concurrent testing, resource can be utilized to greatest extent within the shortest time, and the fastest completes test assignment, improve test data treatment effeciency.And obtain test result data and carry out statistics Output rusults, separate data process, test data treatment effeciency can be improved further.
For above and other object of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, be described in detail below.
Accompanying drawing explanation
The structural representation of the test macro based on mobile terminal that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 illustrates a kind of structured flowchart of server;
Fig. 3 illustrates a kind of structured flowchart of mobile terminal;
The process flow diagram of the method for testing based on mobile terminal that Fig. 4 provides for first embodiment of the invention;
The process flow diagram of the method for testing based on mobile terminal that Fig. 5 provides for second embodiment of the invention;
The structural representation of the proving installation based on mobile terminal that Fig. 6 provides for third embodiment of the invention;
The structural representation of the proving installation based on mobile terminal that Fig. 7 provides for fourth embodiment of the invention.
Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
Refer to Fig. 1, the structural representation of the test macro based on mobile terminal that Fig. 1 provides for the embodiment of the present invention.
Server 100 is wirelessly connected with multiple testing mobile terminal 200, particularly, server 100 and testing mobile terminal 200 by the wireless connections of TCPIP mode, and do not take USB (UniversalSerialBus, USB (universal serial bus)) port and connect.Wherein TCP is writing a Chinese character in simplified form of TransmissionControlProtocol (transmission control protocol), IP is writing a Chinese character in simplified form of InternetProtocol (Internet Protocol), the network communication protocol that namely TCPIP is made up of Transmission Control Protocol and IP agreement.
Wherein, server 100, for the test assignment received is divided into multiple test subtask, and be distributed to multiple testing mobile terminal respectively and carry out concurrent testing, receive the completed notice of this test subtask that each testing mobile terminal 200 reports, obtain the test result data of this test subtask of this notice correspondence, when each testing mobile terminal 200 completes all test subtask, then all test result data of each testing mobile terminal 200 are carried out adding up and exporting statistics.
Testing mobile terminal 200, for the test subtask that reception server 100 is distributed, and testing, when completing the test subtask of this distribution, then reporting the test subtask of this distribution to complete to server 100.
Further, server 100 can comprise the first module 101 and the second module 102;
Server 100 in technical solution of the present invention can be arranged based on MapReduce (mapping reduction) wireless large scale test distribution platform with testing mobile terminal 200, the mapping of thought source in the functional languages such as Lisp (ListProcessor) of MapReduce and the operation of abbreviation, the framework of the efficient large-scale data process of MapReduce is suggested subsequently, but this framework is the parallel computation frame of the large-scale data computing business being applied to large server, minicomputer cluster or personal computer (PC, personalcomputer).Hadoop, Hive etc. are the frameworks based on MapReduce exploitation.In technical scheme of the present invention, substitute PC by mobile terminal and realize cluster, complete large-scale test or computing service.
First module 101 can be Map module, for test assignment is divided into multiple test subtask, and the plurality of test subtask is distributed to respectively multiple testing mobile terminal 200 and carries out parallel testing simultaneously.Each testing mobile terminal 200 is distributed one or more test subtask.Figure 1 shows that each testing mobile terminal 200 has been distributed a test subtask separately.
The test subtask of the first module 101 distribution of each testing mobile terminal 200 reception server 100, and test, after completing this test subtask, just report this test subtask of server 100 to complete, server 100 receives the completed notice of test subtask that each testing mobile terminal 200 reports.The test result data of this test subtask of this notice correspondence is obtained by the second module 102, when each testing mobile terminal 200 completes all test subtask, then by the second module 102, all test result data of each testing mobile terminal 200 are carried out adding up and exporting statistics.Specifically can output to display terminal 300, be shown to user and check.
Above implementation, refers to the detailed description in following each embodiment.
Fig. 2 is a kind of structured flowchart of server.As shown in Figure 2, this server 100 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessingunits can be comprised, CPU) 122 (such as, one or more processors) and storer 132, one or more store the storage medium 130 (such as one or more mass memory units) of application program 142 or data 144.Wherein, storer 132 and storage medium 130 can be of short duration storages or store lastingly.The program being stored in storage medium 130 can comprise one or more modules (illustrating not shown), and each module can comprise a series of command operatings in server.Further, central processing unit 122 can be set to communicate with storage medium 130, and server 100 performs a series of command operatings in storage medium 130.Server 100 can also comprise one or more power supplys 126, one or more wired or wireless network interfaces 150, one or more IO interface 158, and/or, one or more operating system 141, such as WindowsServer tM, MacOSX tM, Unix tM, Linux tM, FreeBSD tMetc..The step performed by each server in following figure illustrated embodiment can based on the server architecture shown in this Fig. 2.
Fig. 3 shows a kind of block diagram of mobile terminal.As shown in Figure 3, mobile terminal 200 comprises storer 202, memory controller 204, one or more (only illustrating one in figure) processor 206, Peripheral Interface 208, radio-frequency module 210, locating module 212, photographing module 214, audio-frequency module 216, Touch Screen 218 and key-press module 220.These assemblies are by one or more communication bus/signal wire 222 communication mutually.
Be appreciated that the structure shown in Fig. 3 is only signal, mobile terminal 200 also can comprise than assembly more or less shown in Fig. 3, or has the configuration different from shown in Fig. 3.Each assembly shown in Fig. 3 can adopt hardware, software or its combination to realize.
Storer 202 can be used for storing software program and module, as the method for testing based on mobile terminal in the embodiment of the present invention, programmed instruction/module that Apparatus and system is corresponding, processor 206 is by running the software program and module that are stored in storer 202, thus perform the application of various function and data processing, namely realize the above-mentioned method of testing based on mobile terminal.
Storer 202 can comprise high speed random access memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, storer 202 can comprise the storer relative to the long-range setting of processor 206 further, and these remote memories can be connected to mobile terminal 200 by network.The example of above-mentioned network includes but not limited to internet, intranet, LAN (Local Area Network), mobile radio communication and combination thereof.Processor 206 and other possible assemblies can carry out the access of storer 202 under the control of memory controller 204.
Various input/output device is coupled to CPU and storer 202 by Peripheral Interface 208.Various softwares in processor 206 run memory 202, instruction are to perform the various function of mobile terminal 200 and to carry out data processing.
In certain embodiments, Peripheral Interface 208, processor 206 and memory controller 204 can realize in one single chip.In some other example, they can respectively by independently chip realization.
Radio-frequency module 210, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus carries out communication with communication network or other equipment.Radio-frequency module 210 can comprise the various existing circuit component for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, storer etc.Radio-frequency module 210 can with various network as internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Codedivisionaccess, CDMA), tdma (timedivisionmultipleaccess, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceoverinternetprotocal, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Locating module 212 is for obtaining the current location of mobile terminal 200.The example of locating module 212 includes but not limited to Global Positioning System (GPS) (GPS), location technology based on WLAN (wireless local area network) or mobile radio communication.
Photographing module 214 is for taking pictures or video.Photo or the video of shooting can be stored in storer 202, and send by radio-frequency module 210.
Audio-frequency module 216 provides audio interface to user, and it can comprise one or more microphone, one or more loudspeaker and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 208, voice data is converted to telecommunications breath, and telecommunications breath is transferred to loudspeaker.Telecommunications breath is changed the sound wave can heard into people's ear by loudspeaker.Voicefrequency circuit also from microphone receive telecommunications breath, convert electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 208 to be further processed.Voice data can obtain from storer 202 or by radio-frequency module 210.In addition, voice data also can be stored in storer 202 or by radio-frequency module 210 and send.In some instances, audio-frequency module 216 also can comprise an earphone and broadcast hole, for providing audio interface to earphone or other equipment.
Touch Screen 218 provides one simultaneously and exports and inputting interface between mobile terminal 200 and user.Particularly, Touch Screen 218 exports to user's display video, and the content of these video frequency output can comprise word, figure, video and combination in any thereof.Some Output rusults correspond to some user interface object.Touch Screen 218 also receives the input of user, and the gesture operation such as click, slip of such as user, so that response is made in the input of user interface object to these users.The technology detecting user's input can be based on resistance-type, condenser type or other touch control detection technology possible arbitrarily.The instantiation of Touch Screen 218 display unit includes, but are not limited to liquid crystal display or light emitting polymer displays.
Key-press module 220 provides user to carry out the interface inputted to mobile terminal 200 equally, and user can perform different functions by pressing different buttons to make mobile terminal 200.
Mobile terminal 200 can be and comprises mobile phone, palm PC, panel computer etc. all possess the mobile terminal of touch-screen, and for convenience of description, following embodiment is all for mobile phone.
First embodiment
Refer to Fig. 4, the process flow diagram of the method for testing based on mobile terminal that Fig. 4 provides for first embodiment of the invention.As shown in Figure 4, the method for testing based on mobile terminal that the present embodiment provides comprises:
Step S401, is divided into multiple test subtask by the test assignment received, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Server 100 receives test assignment, and this test assignment is divided into multiple test subtask, and multiple testing mobile terminals that this multiple test subtask is distributed in test platform are respectively carried out concurrent testing.Each testing mobile terminal 200 is distributed one or more test subtask.Each testing mobile terminal 200 parallel running simultaneously test subtask separately.The configuration of each testing mobile terminal can be identical, also can be different.
Step S402, receives the completed notice of test subtask that each testing mobile terminal reports;
Mobile terminal 200 just reports server 100 after completing test subtask, and server 100 receives the completed notice of test subtask of each mobile terminal reporting.That is, server 100 can monitor the situation of the execution test subtask of mobile terminal 200.
Step S403, obtains the test result data of the test subtask of this notice correspondence;
Server 100 obtains the test result data of this test subtask to the testing mobile terminal 200 completing test subtask of this notice correspondence.
All test result data of each testing mobile terminal when each testing mobile terminal completes all test subtask, are then carried out adding up and exporting statistics by step S404.
When each testing mobile terminal completes all test subtask, after server 100 obtains the notice that all test subtask complete, then all test result data of each testing mobile terminal are carried out adding up and exporting statistics, specifically can output to display terminal 300, be shown to user and check.
In the present embodiment, test assignment is divided into multiple test subtask by server, and is distributed to multiple testing mobile terminal and carries out concurrent testing, can utilize resource to greatest extent within the shortest time, and the fastest completes test assignment, improve test data treatment effeciency.And obtain test result data and carry out statistics Output rusults, separate data process, test data treatment effeciency can be improved further.
Second embodiment
Refer to Fig. 5, the method for testing based on mobile terminal that the second embodiment provides comprises:
Step S501, is divided into multiple test subtask by the first module by the test assignment received;
Server 100 receives test assignment, by the first module 101, this test assignment is divided into multiple test subtask.First module 101 can be the Map module based on MapReduce framework.
Step S502, generates and shows the interface of nominative testing mobile terminal, thinks that user provides the interface of specifying and multiple test subtask being distributed to nominative testing mobile terminal and carrying out testing;
Generate and show the interface of nominative testing mobile terminal, two button clicks can be comprised on the surface, represent respectively and each test subtask is distributed to the testing mobile terminal of specifying, and, each test subtask is distributed to all testing mobile terminals.
Step S503, obtains the record that each testing mobile terminal completes the history length of testing speech of history test subtask;
When each testing mobile terminal completes a test subtask at every turn, record the length of testing speech that this test subtask uses, and this record is completed the record of the history length of testing speech of history test subtask as each testing mobile terminal, using as when being each testing mobile terminal allocation for test subtask next time, determine the foundation of the power of test value of each testing mobile terminal.
Step S504, according to the mean value of the history length of testing speech in this record, determines the power of test value of each testing mobile terminal;
Mean value and the power of test value of history length of testing speech can be exist with the corresponding form shown of relation, and such as, the mean value of history length of testing speech is 20 seconds, and power of test value is 80; The mean value of history length of testing speech is 30 seconds, and power of test value is 70.
Wherein, the mean value of history length of testing speech is lower, then power of test value is higher.That is, the duration completing history test assignment is shorter, shows that power of test is stronger.
Further, also can calculate the history that each testing mobile terminal last time completes each self-corresponding all history test subtask respectively and test total duration (each testing mobile terminal completes the summation of the history length of testing speech of corresponding all history test subtask separately), the performance parameter of testing total duration and each testing mobile terminal according to the history of each testing mobile terminal determines the power of test value of each testing mobile terminal.Such as: can be different history and test total duration and performance parameter sets different weights, wherein total duration is longer, and corresponding weighted value is less; Performance is better, and performance parameter value is larger, and corresponding weighted value is also larger; Then each for each testing mobile terminal self-corresponding history is tested total duration and weight thereof and performance parameter and weight thereof and make ranking operation, and using the value that obtains after the computing power of test value as each testing mobile terminal.
Step S505, according to this power of test value allocation for test subtask, the difference making each testing mobile terminal complete total duration of all test subtask of this sub-distribution is less than or equal to default value;
Namely, during each allocation for test subtask of the first module 101, it is each testing mobile terminal mean allocation test subtask as far as possible, for the testing mobile terminal that power of test value is higher distributes more test subtask, for the testing mobile terminal that power of test value is lower distributes less test subtask, making each testing mobile terminal complete time of all test subtask of this sub-distribution basically identical, not needing for waiting for that certain testing mobile terminal completes the test subtask of distributing to it and affects completing of integrated testability.
Step S506, receives the completed notice of test subtask that each testing mobile terminal reports;
Mobile terminal 200 just reports server 100 after completing test subtask, and server 100 receives the completed notice of test subtask of each mobile terminal reporting.That is, server 100 can monitor the situation of the execution test subtask of mobile terminal 200.
Further, server 100 is by the test job state of each testing mobile terminal of the first module monitors, if testing mobile terminal test job abnormal state detected, then the test subtask of its correspondence is distributed to the mobile terminal being in idle condition and has tested.
Step S507, obtains the test result data of the test subtask of this notice correspondence by the second module;
After server 100 receives the completed notice of test subtask that each testing mobile terminal reports, obtained the test result data of the test subtask of this notice correspondence to the testing mobile terminal 200 completing test subtask of this notice correspondence by the second module.Second module 102 can be the Reduce module based on MapReduce framework.
All test result data of each testing mobile terminal when each testing mobile terminal completes all test subtask, are then undertaken adding up and exporting statistics by this second module by step S508.
All test result data of each testing mobile terminal are undertaken adding up and exporting statistics by the second module 102 by server 100, specifically can output to display terminal 300, check to be shown to user.Test subtask and the corresponding relation of testing mobile terminal completing test is comprised in this statistics.
In the present embodiment, test assignment is divided into multiple test subtask by the first module by server, and is distributed to multiple testing mobile terminal and carries out concurrent testing, can utilize resource to greatest extent within the shortest time, and the fastest completes test assignment, improve test data treatment effeciency.And obtain test result data carry out statistics Output rusults by the second module, integrate all test datas, thus export, concerning the complicacy concealing MapReduce concurrent processing user, therefore can further improve test data treatment effeciency.
3rd embodiment
Refer to Fig. 6, the proving installation based on mobile terminal that Fig. 6 provides for third embodiment of the invention, this proving installation can be applicable to, in the server 100 shown in Fig. 1, realize the above-mentioned method of testing based on mobile terminal.As shown in Figure 6, proving installation 61 comprises:
Dispatching Unit 61, for the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Receiving element 62, for receiving the completed notice of this test subtask that each testing mobile terminal reports;
Acquiring unit 63, for obtaining the test result data of this test subtask of this notice correspondence;
All test result data of each this testing mobile terminal for respectively completing all test subtask by this testing mobile terminal, are then added up by statistic unit 64;
Output unit 65, for exporting statistics.
Realize the process of respective function in the present embodiment based on each unit of the proving installation of mobile terminal, refer to the description based on the method for testing embodiment of mobile terminal shown in earlier figures 4, repeat no more herein.
In the embodiment of the present invention, test assignment is divided into multiple test subtask by server, and is distributed to multiple testing mobile terminal and carries out concurrent testing, can utilize resource to greatest extent within the shortest time, and the fastest completes test assignment, improve test data treatment effeciency.And obtain test result data and carry out statistics Output rusults, separate data process, test data treatment effeciency can be improved further.
4th embodiment
Refer to Fig. 7, the proving installation based on mobile terminal that Fig. 7 provides for fourth embodiment of the invention.This proving installation can be applicable to, in the server 100 shown in Fig. 1, realize the above-mentioned method of testing based on mobile terminal.As shown in Figure 7, proving installation 70 comprises:
Dispatching Unit 61, for the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Receiving element 62, for receiving the completed notice of this test subtask that each testing mobile terminal reports;
Acquiring unit 63, for obtaining the test result data of this test subtask of this notice correspondence;
All test result data of each this testing mobile terminal for respectively completing all test subtask by this testing mobile terminal, are then added up by statistic unit 64;
Output unit 65, for exporting statistics.
Preferably, Dispatching Unit 61, also for the test assignment received being divided into multiple test subtask by the first module, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Acquiring unit 63, also for being obtained the test result data of this test subtask of this notice correspondence by the second module;
Statistic unit 64, also for respectively completing all test subtask by this testing mobile terminal, is then added up by all test result data of this second module by each this testing mobile terminal.
Preferably, proving installation 70 also comprises:
Monitoring means 76, for the test job state by each this testing mobile terminal of this first module monitors;
Dispatching Unit 61, if also testing mobile terminal test job abnormal state detected for monitoring means 76, is then distributed to the test subtask of its correspondence the testing mobile terminal being in idle condition and tests.
Preferably, Dispatching Unit 61 also comprises:
Acquiring unit 611, completes the record of the history length of testing speech of history test subtask for obtaining respectively this testing mobile terminal;
Determining unit 612, for the mean value according to the history length of testing speech in this record, determine the power of test value of respectively this testing mobile terminal, wherein, the mean value of this history length of testing speech is lower, then this power of test value is higher;
Task allocation unit 613, also for distributing this test subtask according to this power of test value, the difference making respectively this testing mobile terminal complete total duration of all test subtask of this sub-distribution is less than or equal to default value.
Preferably, proving installation 70 also comprises:
Generation unit 77, for generating the interface of nominative testing mobile terminal, thinks that user provides the interface of specifying and multiple test subtask being distributed to nominative testing mobile terminal and carrying out testing;
Display unit 78, for showing the interface of the nominative testing mobile terminal that generation unit 77 generates.
Preferably, test subtask and the corresponding relation of mobile terminal completing test is comprised in this statistics.
Realize the process of respective function in the present embodiment based on each unit of the proving installation of mobile terminal, refer to the description based on the method for testing embodiment of mobile terminal shown in earlier figures 4, Fig. 5, repeat no more herein.
In the embodiment of the present invention, test assignment is divided into multiple test subtask by the first module by server, and be distributed to multiple testing mobile terminal and carry out concurrent testing, resource can be utilized to greatest extent within the shortest time, and the fastest completes test assignment, improve test data treatment effeciency.And obtain test result data by the second module and carry out statistics Output rusults, separate data process, test data treatment effeciency can be improved further.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (14)

1. based on a method of testing for mobile terminal, it is characterized in that, comprising:
The test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Receive the completed notice of described test subtask that each described testing mobile terminal reports;
Obtain the test result data of described test subtask corresponding to described notice;
When each described testing mobile terminal completes all test subtask, then all test result data of each described testing mobile terminal are carried out adding up and exporting statistics.
2. method according to claim 1, is characterized in that, described the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing and comprise:
By the first module, the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing.
3. method according to claim 1, is characterized in that, the test result data of the described test subtask that the described notice of described acquisition is corresponding; When each described testing mobile terminal completes all test subtask, then all test result data of each described testing mobile terminal are carried out adding up and are exported statistics and comprise:
The test result data of described test subtask corresponding to described notice is obtained by the second module;
When each described testing mobile terminal completes all test subtask, then by described second module, all test result data of each described testing mobile terminal are carried out adding up and exporting statistics.
4. method according to claim 2, is characterized in that, described and be distributed to respectively after multiple testing mobile terminal carries out concurrent testing and also comprise:
By the test job state of each described testing mobile terminal of described first module monitors;
If testing mobile terminal test job abnormal state detected, then the test subtask of its correspondence is distributed to the testing mobile terminal being in idle condition and tests.
5. method according to claim 1, is characterized in that, is describedly distributed to multiple testing mobile terminal respectively and carries out concurrent testing and comprise:
Obtain the record that each described testing mobile terminal completes the history length of testing speech of history test subtask;
According to the mean value of the history length of testing speech in described record, determine the power of test value of each described testing mobile terminal, wherein, the mean value of described history length of testing speech is lower, then described power of test value is higher;
Distribute described test subtask according to described power of test value, the difference making each described testing mobile terminal complete total duration of all test subtask of this sub-distribution is less than or equal to default value.
6. method according to claim 2, is characterized in that, described by the first module the test assignment received is divided into multiple test subtask after comprise:
Generate and show the interface of nominative testing mobile terminal, thinking that user provides the interface of specifying and multiple test subtask being distributed to nominative testing mobile terminal and carrying out testing.
7. method according to claim 1, is characterized in that, comprises test subtask and the corresponding relation of mobile terminal completing test in described statistics.
8. based on a proving installation for mobile terminal, it is characterized in that, comprising:
Dispatching Unit, for the test assignment received is divided into multiple test subtask, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Receiving element, for receiving the completed notice of described test subtask that each described testing mobile terminal reports;
Acquiring unit, for obtaining the test result data of described test subtask corresponding to described notice;
All test result data of each described testing mobile terminal for completing all test subtask when each described testing mobile terminal, are then added up by statistic unit;
Output unit, for exporting statistics.
9. device according to claim 8, is characterized in that,
Described Dispatching Unit, also for the test assignment received being divided into multiple test subtask by the first module, and is distributed to multiple testing mobile terminal respectively and carries out concurrent testing;
Described acquiring unit, also for being obtained the test result data of described test subtask corresponding to described notice by the second module;
Described statistic unit, also for completing all test subtask when each described testing mobile terminal, is then added up by all test result data of described second module by each described testing mobile terminal.
10. device according to claim 9, is characterized in that, described device also comprises:
Monitoring means, for the test job state by each described testing mobile terminal of described first module monitors;
Described Dispatching Unit, if also testing mobile terminal test job abnormal state detected for described monitoring means, is then distributed to the test subtask of its correspondence the testing mobile terminal being in idle condition and tests.
Device described in any one of 11. according to Claim 8 to 10, is characterized in that, described Dispatching Unit also comprises:
Acquiring unit, completes the record of the history length of testing speech of history test subtask for obtaining each described testing mobile terminal;
Determining unit, for the mean value according to the history length of testing speech in described record, determines the power of test value of each described testing mobile terminal, and wherein, the mean value of described history length of testing speech is lower, then described power of test value is higher;
Task allocation unit, also for distributing described test subtask according to described power of test value, the difference making each described testing mobile terminal complete total duration of all test subtask of this sub-distribution is less than or equal to default value.
12. devices according to claim 11, is characterized in that, described device also comprises:
Generation unit, for generating the interface of nominative testing mobile terminal, thinks that user provides the interface of specifying and multiple test subtask being distributed to nominative testing mobile terminal and carrying out testing;
Display unit, for showing the interface of the nominative testing mobile terminal that described generation unit generates.
13. methods according to claim 12, is characterized in that, comprise test subtask and the corresponding relation of mobile terminal completing test in described statistics.
14. 1 kinds based on the test macro of mobile terminal, is characterized in that, comprising:
Server and testing mobile terminal;
Wherein, described server, for the test assignment received is divided into multiple test subtask, and be distributed to multiple testing mobile terminal respectively and carry out concurrent testing, receive the completed notice of described test subtask that each described testing mobile terminal reports, obtain the test result data of described test subtask corresponding to described notice, when each described testing mobile terminal completes all test subtask, then all test result data of each described testing mobile terminal are carried out adding up and exporting statistics;
Described testing mobile terminal, for receiving the test subtask of described server distribution, and testing, when completing the test subtask of described distribution, then reporting the test subtask of described distribution to complete to described server.
CN201410462584.4A 2014-09-11 2014-09-11 Test method, device and system based on mobile terminal Active CN105468513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410462584.4A CN105468513B (en) 2014-09-11 2014-09-11 Test method, device and system based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410462584.4A CN105468513B (en) 2014-09-11 2014-09-11 Test method, device and system based on mobile terminal

Publications (2)

Publication Number Publication Date
CN105468513A true CN105468513A (en) 2016-04-06
CN105468513B CN105468513B (en) 2021-03-12

Family

ID=55606244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410462584.4A Active CN105468513B (en) 2014-09-11 2014-09-11 Test method, device and system based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105468513B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055471A (en) * 2016-05-20 2016-10-26 深圳天珑无线科技有限公司 Testing method and terminal
CN107547294A (en) * 2016-06-24 2018-01-05 财团法人电信技术中心 Network efficiency testing system and testing method
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN108415820A (en) * 2017-02-09 2018-08-17 腾讯科技(深圳)有限公司 The test method and device of application installation package
CN108536578A (en) * 2017-03-06 2018-09-14 阿里巴巴集团控股有限公司 A kind of test method and device
CN109710513A (en) * 2018-12-07 2019-05-03 天津津航计算技术研究所 A kind of engine for the test of CBTC system automation
CN111338924A (en) * 2020-03-09 2020-06-26 苏州浪潮智能科技有限公司 Server performance test method, system, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037435A1 (en) * 2006-08-10 2008-02-14 Nethawk Oyj Method and device arrangement for debugging telecommunication network connections
CN101159498A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method of testing radio frequency hardware module
CN101754246A (en) * 2009-12-11 2010-06-23 中兴通讯股份有限公司 Method and system for testing mobile multimedia broadcasting function of mobile terminal device
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test
CN103546345A (en) * 2013-10-24 2014-01-29 广东欧珀移动通信有限公司 Method and device for testing performance of communication equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037435A1 (en) * 2006-08-10 2008-02-14 Nethawk Oyj Method and device arrangement for debugging telecommunication network connections
CN101159498A (en) * 2007-11-07 2008-04-09 中兴通讯股份有限公司 Method of testing radio frequency hardware module
CN101754246A (en) * 2009-12-11 2010-06-23 中兴通讯股份有限公司 Method and system for testing mobile multimedia broadcasting function of mobile terminal device
CN101917306A (en) * 2010-08-20 2010-12-15 北京星网锐捷网络技术有限公司 Method, system and device for automatic test
CN103546345A (en) * 2013-10-24 2014-01-29 广东欧珀移动通信有限公司 Method and device for testing performance of communication equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方丹等: "一种基于并行测试完成时间的任务调度算法", 《测控技术》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055471A (en) * 2016-05-20 2016-10-26 深圳天珑无线科技有限公司 Testing method and terminal
CN107547294A (en) * 2016-06-24 2018-01-05 财团法人电信技术中心 Network efficiency testing system and testing method
CN108415820A (en) * 2017-02-09 2018-08-17 腾讯科技(深圳)有限公司 The test method and device of application installation package
CN108415820B (en) * 2017-02-09 2021-05-14 腾讯科技(深圳)有限公司 Test method and device of application installation package
CN108415398A (en) * 2017-02-10 2018-08-17 上海辇联网络科技有限公司 Automobile information safety automation tests system and test method
CN108536578A (en) * 2017-03-06 2018-09-14 阿里巴巴集团控股有限公司 A kind of test method and device
CN109710513A (en) * 2018-12-07 2019-05-03 天津津航计算技术研究所 A kind of engine for the test of CBTC system automation
CN109710513B (en) * 2018-12-07 2020-10-13 天津津航计算技术研究所 Engine for automatic test of CBTC (communication based train control) system
CN111338924A (en) * 2020-03-09 2020-06-26 苏州浪潮智能科技有限公司 Server performance test method, system, equipment and medium

Also Published As

Publication number Publication date
CN105468513B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN105468513A (en) Testing method, apparatus and system based on mobile terminal
CN108959000B (en) Server pressure testing method, system and terminal
CN106332307B (en) Method for accessing application program to network and mobile terminal
CN108268366B (en) Test case execution method and device
US11032126B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
WO2019042180A1 (en) Resource allocation method and related product
US20180302346A1 (en) Techniques to configure bot flow
EP2985730A1 (en) Method and device for partially-upgrading
CN104639423A (en) Information interaction method, information interaction device and terminals
CN103516851B (en) A kind of wireless product cloud test platform system
CN104346560A (en) Security authentication method and security authentication device
AU2014414041A1 (en) Techniques for contextual mobile data access
CN114157701B (en) Task testing method, device, equipment and storage medium
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN107463395B (en) Component calling method and device
US20170230263A1 (en) Intelligent application diagnostics
CN116260747A (en) Monitoring method and device of terminal test equipment and electronic equipment
CN105764086B (en) A kind of terminal duration performance detection method and system
US9479579B2 (en) Grouping processing method and system
CN116257427A (en) Heterogeneous test method, heterogeneous test system, heterogeneous test equipment and heterogeneous test storage medium for federal learning task
CN107315623B (en) Method and device for reporting statistical data
US20210103830A1 (en) Machine learning based clustering and patterning system and method for network traffic data and its application
CN108462801B (en) Method, device and system for acquiring streaming media data
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
WO2023280067A1 (en) Computing power information acquiring method and related device

Legal Events

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