CN104978276A - Method, device and system used for detecting software - Google Patents

Method, device and system used for detecting software Download PDF

Info

Publication number
CN104978276A
CN104978276A CN201510431976.9A CN201510431976A CN104978276A CN 104978276 A CN104978276 A CN 104978276A CN 201510431976 A CN201510431976 A CN 201510431976A CN 104978276 A CN104978276 A CN 104978276A
Authority
CN
China
Prior art keywords
terminal
test
server
driven
test operation
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
CN201510431976.9A
Other languages
Chinese (zh)
Other versions
CN104978276B (en
Inventor
彭云鹏
李彦成
卢体广
刘社定
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Anyi Hengtong Beijing Technology 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 Anyi Hengtong Beijing Technology Co Ltd filed Critical Anyi Hengtong Beijing Technology Co Ltd
Priority to CN201510431976.9A priority Critical patent/CN104978276B/en
Publication of CN104978276A publication Critical patent/CN104978276A/en
Application granted granted Critical
Publication of CN104978276B publication Critical patent/CN104978276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system used for detecting software One of the detailed implementing modes of the method comprises steps of receiving test operation information sent by a driving terminal; sending test operation instructions for a driven terminal based on the test operation information; receiving test data sent by the driving terminal and by the driven terminal; determining test results based on the test data of the driving terminal and the driven terminal; and sending the test results to the driving terminal. According to the invention, testing for compatibility, functions, performance and stability of software products in different test environments is achieved; and test efficiency of the software products is increased.

Description

For method, the Apparatus and system of inspection software
Technical field
The application relates to field of computer technology, particularly relates to method, Apparatus and system for inspection software.
Background technology
Along with the development of computer technology, computing machine is more and more applied to, in daily life and work, meanwhile, also emerging increasing software product.Software product usually needs to test before listing.In the prior art, software product is tested, mostly need software product to be installed on different test machine, test respectively, cannot synchronously perform.Tester is consumed very large, waste of manpower; If test script is recorded in advance, then perform on other test machines, need to consume the dual test duration, lose time.The defect of above-mentioned technology is: on different test machine, synchronously cannot perform test, the efficiency of test is low.
Summary of the invention
This application provides a kind of method for inspection software, Apparatus and system.Solve in prior art and on different test machine, synchronously cannot perform test, the inefficient technical matters of test.
First aspect, this application provides a kind of method for inspection software, and described method comprises: receive the test operation information that initiatively terminal sends; Send test operation instruction based on described test operation information to driven terminal, perform test operation to control described driven terminal; Receive the test data of described active terminal and described driven terminal transmission; Based on the test data determination test result of described active terminal and described driven terminal; Test result is sent to described active terminal.
In some embodiments, described method also comprises: receive the test initiation command that initiatively terminal sends; Test request is sent to the terminal established a connection based on described test initiation command; The terminal of part/all reply responses is defined as driven terminal; Control described driven terminal and corresponding software to be tested is installed.
In some embodiments, by sending the installation kit address of software to be tested and installation instruction to described driven terminal, control described driven terminal and corresponding software to be tested is installed.
In some embodiments, describedly send test operation instruction based on described test operation information to driven terminal, comprising: obtain the configuration information of described active terminal and the configuration information of described driven terminal; Based on the configuration information of described active terminal, the configuration information of described driven terminal and described test operation information, obtain the test operation instruction of mating with described driven terminal; Described test operation instruction is sent to described driven terminal.
In some embodiments, the terminal that partial recovery is replied is defined as driven terminal, comprises: the terminal that the configuration information similarity of configuration information and described active terminal in the terminal of reply response is greater than predetermined threshold is defined as driven terminal; Or the terminal in the terminal of reply response with predetermined configurations is defined as driven terminal.
Second aspect, this application provides a kind of method for inspection software, and described method comprises: send test operation information to server, sends test operation instruction for described server based on described test operation information to driven terminal; Test data is sent, for the test data determination test result of described server based on described test data and driven terminal to described server; Receive the test result that described server sends.
In some embodiments, described method also comprises: send test initiation command to server, sends test request, to determine driven terminal for described server based on described test initiation command to the terminal established a connection.
The third aspect, this application provides a kind of method for inspection software, and described method comprises: the test operation instruction that reception server sends, the test operation information that described test operation instruction is sent based on active terminal by described server and sending; Test data is sent, for the test data determination test result of described server based on described test data and initiatively terminal to described server.
In some embodiments, described method also comprises: the test request that reception server sends, the test initiation command that described test request is sent based on active terminal by described server and sending; Response is replied to described server; Corresponding software to be tested is installed under the control of described server.
Fourth aspect, this application provides a kind of device for inspection software, and described device comprises: the first receiving element, for receiving the test operation information that initiatively terminal sends; First transmitting element, for sending test operation instruction based on described test operation information to driven terminal; Second receiving element, for receiving the test data of described active terminal and described driven terminal transmission; Determining unit, for the test data determination test result based on described active terminal and described driven terminal; Second transmitting element, for sending test result to described active terminal.
In some embodiments, described device also comprises: the 3rd receiving element, for receiving the test initiation command that initiatively terminal sends; 3rd transmitting element, for sending test request based on described test initiation command to the terminal established a connection; Driven terminal determining unit, for being defined as driven terminal by the terminal of part/all reply responses; Control module, installs corresponding software to be tested for controlling described driven terminal.
In some embodiments, described control module is configured for and sends the installation kit address of software to be tested and installation instruction to described driven terminal, controls described driven terminal and installs corresponding software to be tested.
In some embodiments, described first transmitting element is configured for: obtain the configuration information of described active terminal and the configuration information of described driven terminal; Based on the configuration information of described active terminal, the configuration information of described driven terminal and described test operation information, obtain the test operation instruction of mating with described driven terminal; Described test operation instruction is sent to described driven terminal.
In some embodiments, driven terminal determining unit is configured for: the terminal that the configuration information similarity of configuration information and described active terminal in the terminal of reply response is greater than predetermined threshold is defined as driven terminal; Or the terminal in the terminal of reply response with predetermined configurations is defined as driven terminal.
5th aspect, this application provides a kind of device for inspection software, described device comprises: the first transmitting element, for sending test operation information to server, sends test operation instruction for described server based on described test operation information to driven terminal; Second transmitting element, for sending test data to described server, for the test data determination test result of described server based on described test data and driven terminal; Receiving element, for receiving the test result that described server sends.
In some embodiments, described device also comprises: the 3rd transmitting element, for sending test initiation command to server, sends test request, to determine driven terminal for described server based on described test initiation command to the terminal established a connection.
6th aspect, this application provides a kind of device for inspection software, described device comprises: the first receiving element, for the test operation instruction that reception server sends, and the test operation information that described test operation instruction is sent based on active terminal by described server and sending; Transmitting element, for sending test data to described server, for the test data determination test result of described server based on described test data and initiatively terminal.
In some embodiments, described device also comprises: the second receiving element, for the test request that reception server sends, and the test initiation command that described test request is sent based on active terminal by described server and sending; Reply unit, for replying response to described server; Installation unit, for installing corresponding software to be tested under the control of described server.
7th aspect, this application provides a kind of system for inspection software, comprise: the device described in any one possible implementation of fourth aspect or fourth aspect, and the 5th device described in any one possible implementation of aspect or the 5th aspect, and the device described in any one possible implementation of the 6th aspect or the 6th aspect.
The method for inspection software that the application provides, Apparatus and system, by the test operation instruction that will active terminal be carried out, be sent in driven terminal in real time, the test operation identical with active terminal is performed by driven terminal, and based on the test data determination test result of active terminal and driven terminal.Thus the compatibility of software product under achieving the different test environment of test, and the function of testing software product, performance, stability etc., improve the efficiency of software product testing.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 is the process flow diagram of an embodiment of the method for inspection software that the embodiment of the present application provides;
Fig. 2 is the process flow diagram of another embodiment of the method for inspection software that the embodiment of the present application provides;
Fig. 3 is the process flow diagram of another embodiment of the method for inspection software that the embodiment of the present application provides;
Fig. 4 is the process flow diagram of another embodiment of the method for inspection software that the embodiment of the present application provides;
Fig. 5 is the process flow diagram of another embodiment of the method for inspection software that the embodiment of the present application provides;
Fig. 6 is the structural representation of an embodiment of the device for inspection software that the embodiment of the present application provides;
Fig. 7 is the structural representation of another embodiment of the device for inspection software that the embodiment of the present application provides;
Fig. 8 is the structural representation of another embodiment of the device for inspection software that the embodiment of the present application provides;
Fig. 9 is the structural representation of an embodiment of the system that the embodiment of the present application provides;
Figure 10 is the exemplary system architecture figure that can apply the embodiment of the present application;
Figure 11 is the structural representation of the computer system be suitable for for the terminal device or server realizing the embodiment of the present application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Terminal involved by the application can include but not limited to smart mobile phone, panel computer, personal digital assistant, pocket computer on knee and desktop computer etc.Describe object and for simplicity for example, in ensuing discussion, describe the exemplary embodiment of the application in conjunction with desktop computer.
Please refer to Fig. 1, it illustrates the flow process 100 of an embodiment of the method for inspection software according to the application.The method can by the server of shared testing software service being provided to perform to third-party application.
As shown in Figure 1, in a step 101, the test operation information that initiatively terminal sends is received.
In the present embodiment, initiatively terminal is initiatively initiate the terminal of test.First, initiatively terminal is provided with the application program for shared testing software, the application program this being used for shared testing software opens operation, and establishes a communications link with the server for shared testing software.Software to be tested can be installed in active terminal by user, and starts to share this software of test.
When starting shared testing software, first server receives the test operation information that initiatively terminal sends.Wherein, test operation information is the associative operation that initiatively terminal is performed when testing software to be tested, and this operation can be mouse action, also can be keyboard operation, can also be the operation of other arbitrary form, the concrete form of the application to above-mentioned associative operation limit.
Then, in a step 102, send test operation instruction based on above-mentioned test operation information to driven terminal, perform test operation to control driven terminal.
In the present embodiment, because the configuration of active terminal and driven terminal may be different, so, may the certain operations of initiatively terminal can not compatibility or can not mate in driven terminal.Server, after receiving the test operation information that initiatively terminal sends, needs first to analyze test operation information and process, thus obtains the operational order that mates with driven terminal.
Specifically, first server can obtain the initiatively configuration information of terminal and the configuration information of driven terminal.Wherein, the configuration information of terminal includes but not limited to the operating system of terminal, the resolution of display, version of the software of installation etc.Then, server, based on the configuration information of active terminal, is analyzed the test operation information that active terminal sends, and based on the configuration information of driven terminal, the test operation information that active terminal sends is processed, thus obtains the test operation instruction that matches with the configuration of driven terminal.Finally, server sends above-mentioned test operation instruction to driven terminal.
Then, in step 103, the test data that initiatively terminal and dynamic terminal send is received.
In the present embodiment, after driven terminal receives the test operation instruction of server transmission, perform corresponding test operation.The execution result of test operation can be numerical information, also can be image information etc., and what driven terminal was real-time sends to server by the result (test data) performing test operation.In addition, initiatively terminal is when performing test operation, also can be real-time the result (test data) performing test operation is sent to server.The test data of initiatively terminal and the transmission of dynamic terminal is received by server.
Then, at step 104, based on the test data determination test result of active terminal and driven terminal.
In the present embodiment, if software under testing also imperfection, have some problem or bug, then these problems can embody from the test data of active terminal and driven terminal.So server can be analyzed the test data of active terminal and driven terminal, to determine test result.
Finally, in step 105, test result is sent to active terminal.
The method for inspection software that above-described embodiment of the application provides, by the test operation instruction that will active terminal be carried out, be sent in driven terminal in real time, the test operation identical with active terminal is performed by driven terminal, and based on the test data determination test result of active terminal and driven terminal.Thus the compatibility of software product under achieving the different test environment of test, and the function of testing software product, performance, stability etc., improve the efficiency of software product testing.
With further reference to Fig. 2, it illustrates the flow process 200 of another embodiment of the method for inspection software.
As shown in Figure 2, in step 201, the test initiation command that initiatively terminal sends is received.
In the present embodiment, before testing, first test initiation command is sent by active terminal to server, wherein, including but not limited to testing requirement in test initiation command, test script, the information (as the identification information of software to be tested, download address of software to be tested etc.) etc. of software to be tested.
Then, in step 202., test request is sent based on test initiation command to the terminal established a connection.
In the present embodiment, after server receives test initiation command, treatment and analysis is carried out to test initiation command, then send test request to the terminal established a connection with this server.Wherein, the terminal established a connection with this server refers to installs and opens the terminal of the application program for shared testing software, and this terminal is established a communications link by network and the above-mentioned server for shared testing software.
Then, in step 203, the terminal of part/all reply responses is defined as driven terminal.
In the present embodiment, in the terminal established a connection with server, some terminals may be had and be in using state, cannot the operation of executive software test, now, this terminal, after receiving the test request that server sends, can not reply response.Only be in the operation of the terminal ability executive software test of idle condition, so, only have the terminal of the operation of energy executive software test after the test request receiving server transmission, can response be replied.
In the one of the present embodiment realizes, the personnel that may carry out testing wish that using terminal as much as possible to treat testing software tests, and therefore, the terminal of all replying response can be defined as driven terminal.
In the another kind of the present embodiment realizes, the personnel that may carry out testing wish that using the identical or similar multiple stage terminal of configuration to treat testing software tests, and therefore, the terminal that partial recovery is replied can be defined as driven terminal.Specifically, the configuration information of the terminal of replying response can be obtained, calculate the similarity of the configuration information of above-mentioned configuration information and active terminal.From the terminal of replying response, selected part or whole similarity are greater than the terminal of predetermined threshold as driven terminal.
In another of the present embodiment realizes, the personnel that may carry out testing wish to use the multiple stage terminal of certain customized configuration to treat testing software to test.Specifically, the configuration information of the terminal of replying response can be obtained, judge whether this configuration information meets predetermined configurations.From the terminal of replying response selected part or all meet predetermined configurations terminal as driven terminal.
Then, in step 204, control driven terminal and corresponding software to be tested is installed.
In the present embodiment, after determining driven terminal, server sends the installation kit address of software to be tested and installation instruction to driven terminal, driven terminal directly downloads and installs bag, and driven terminal installs software to be tested under the control of installing instruction.
Then, in step 205, the test operation information that initiatively terminal sends is received.
Then, in step 206, test operation instruction is sent based on above-mentioned test operation information to driven terminal.
Then, in step 207, the test data that initiatively terminal and dynamic terminal send is received.
Then, in a step 208, based on the test data determination test result of active terminal and driven terminal.
Finally, in step 209, test result is sent to active terminal.
With further reference to Fig. 3, it illustrates the flow process 300 of another embodiment of the method for inspection software according to the application.The method can be performed by the terminal initiatively initiating test.
As shown in Figure 3, in step 301, send test operation information to server, send test operation instruction based on test operation information to driven terminal for server.
In the present embodiment, first, initiatively terminal is provided with the application program for shared testing software, the application program this being used for shared testing software opens operation, and establishes a communications link with the server for shared testing software.Software to be tested can be installed in active terminal by user, and starts to share this software of test.When starting shared testing software, initiatively first terminal sends test operation information to server.
Then, in step 302, test data is sent to above-mentioned server, for the test data determination test result of server based on test data and driven terminal.
In the present embodiment, when starting to test, what initiatively terminal can be real-time sends to server by the result (test data) performing test operation.Wherein, the execution result of test operation can be numerical information, also can be image information etc.The concrete form of the application to test data does not limit.
Finally, in step 303, the test result of reception server transmission.
In the present embodiment, if software under testing also imperfection, have some problem or bug, then these problems can embody from the test data of active terminal and driven terminal.So server can be analyzed the test data of active terminal and driven terminal, to determine test result.And test result is sent to initiatively terminal, receive test result by active terminal.
In some Alternate embodiments, said method also comprises: send test initiation command to server, sends test request, to determine driven terminal for server based on above-mentioned test initiation command to the terminal established a connection.
In the present embodiment, before testing, first test initiation command is sent by active terminal to server, wherein, including but not limited to testing requirement in test initiation command, test script, the information (as the identification information of software to be tested, download address of software to be tested etc.) etc. of software to be tested.After server receives test initiation command, treatment and analysis is carried out to test initiation command, then send test request to the terminal established a connection with this server.Then, the terminal of part/all reply responses is defined as driven terminal by server.
With further reference to Fig. 4, it illustrates the flow process 400 of another embodiment of the method for inspection software according to the application.
As shown in Figure 4, in step 401, the test operation instruction that reception server sends, the test operation information that this test operation instruction is sent based on active terminal by server and sending.
In the present embodiment, because the configuration of active terminal and driven terminal may be different, so, may the certain operations of initiatively terminal can not compatibility or can not mate in driven terminal.Therefore, server needs first to analyze the test operation information that active terminal sends and process, thus obtains the operational order that mates with driven terminal, and then operational order is sent to driven terminal.
Finally, in step 402, test data is sent to server, for the test data determination test result of server based on above-mentioned test data and initiatively terminal.
With further reference to Fig. 5, it illustrates the flow process 500 of another embodiment of the method for inspection software according to the application.The method can be performed by driven terminal.
As shown in Figure 5, in step 501, the test request that reception server sends, the test initiation command that this test request is sent based on active terminal by server and sending.
In the present embodiment, server carries out treatment and analysis to test initiation command after receiving the test initiation command that initiatively terminal sends, and then sends test request to the terminal established a connection with this server.
Then, in step 502, response is replied to server.
In the present embodiment, in the terminal established a connection with server, some terminals may be had and be in using state, cannot the operation of executive software test, now, this terminal, after receiving the test request that server sends, can not reply response.Only be in the operation of the terminal ability executive software test of idle condition, so, only have the terminal of the operation of energy executive software test after the test request receiving server transmission, can response be replied.
Then, in step 503, corresponding software to be tested is installed under the control of server.
In the present embodiment, driven terminal can install corresponding software to be tested under the control of server, specifically, server sends the installation kit address of software to be tested and installation instruction to driven terminal, driven terminal directly downloads and installs bag, and driven terminal installs software to be tested under the control of installing instruction.
Then, in step 504, the test operation instruction that reception server sends, the test operation information that this test operation instruction is sent based on active terminal by server and sending.
Finally, in step 505, test data is sent to server, for the test data determination test result of server based on above-mentioned test data and initiatively terminal.
Although it should be noted that the operation describing the inventive method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.On the contrary, the step described in process flow diagram can change execution sequence.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
With further reference to Fig. 6, it illustrates the structural representation of an embodiment of the device for inspection software according to the application.
As shown in Figure 6, the device 600 of the present embodiment comprises: the first receiving element 601, first transmitting element 602, second receiving element 603, determining unit 604 and the second transmitting element 605.Wherein, acquiring unit 501 is for obtaining the effective location data of user terminal in presumptive area.The test operation information that first receiving element 601 sends for receiving initiatively terminal.First transmitting element 602 is for sending test operation instruction based on above-mentioned test operation information to driven terminal.The test data that second receiving element 603 sends for receiving initiatively terminal and driven terminal.Determining unit 604 is for the test data determination test result based on active terminal and driven terminal.Second transmitting element 605 is for sending test result to active terminal.
In some Alternate embodiments, device 600 also comprises: the 3rd receiving element, the 3rd transmitting element, driven terminal determining unit, control module (not shown).The test initiation command that 3rd receiving element sends for receiving initiatively terminal.3rd transmitting element is used for sending test request based on test initiation command to the terminal established a connection.Driven terminal determining unit is used for the terminal of part/all reply responses to be defined as driven terminal.Control module installs corresponding software to be tested for controlling driven terminal.
In some Alternate embodiments, control module is configured for and sends the installation kit address of software to be tested and installation instruction to driven terminal, controls driven terminal and installs corresponding software to be tested.
In some Alternate embodiments, the first transmitting element 602 is configured for: obtain the initiatively configuration information of terminal and the configuration information of driven terminal.Based on the configuration information of active terminal, the configuration information of driven terminal and test operation information, obtain the test operation instruction of mating with driven terminal.Test operation instruction is sent to driven terminal.
In some Alternate embodiments, driven terminal determining unit is configured for: the terminal that configuration information in the terminal of reply response and the configuration information similarity of active terminal are greater than predetermined threshold is defined as driven terminal.Or the terminal in the terminal of reply response with predetermined configurations is defined as driven terminal.
Should be appreciated that all unit or the module of record in device 600 are corresponding with each step in the method described with reference to Fig. 1-2.Thus, above for the unit that operation and the feature of method description are equally applicable to device 600 and wherein comprise, do not repeat them here.Device 600 can pre-set in the server, also can be loaded in server by modes such as downloads.Corresponding units in device 600 can cooperatively interact with the unit in server to realize the scheme for inspection software.
With further reference to Fig. 7, it illustrates the structural representation of another embodiment of the device for inspection software according to the application.
As shown in Figure 7, the device 700 of the present embodiment comprises: the first transmitting element 701, second transmitting element 702, receiving element 703.Wherein, the first transmitting element 701, for sending test operation information to server, sends test operation instruction based on test operation information to driven terminal for server.Second transmitting element 702 for sending test data to server, for the test data determination test result of described server based on test data and driven terminal.The test result that receiving element 703 sends for reception server.
In some Alternate embodiments, device 700 also comprises: the 3rd transmitting element, 3rd transmitting element is used for sending test initiation command to server, sends test request, to determine driven terminal for server based on test initiation command to the terminal established a connection.
Should be appreciated that all unit or the module of record in device 700 are corresponding with each step in the method described with reference to figure 3.Thus, above for the unit that operation and the feature of method description are equally applicable to device 700 and wherein comprise, do not repeat them here.Device 700 can pre-set in the terminal, also can be loaded in terminal by modes such as downloads.Corresponding units in device 700 can cooperatively interact with the unit in terminal to realize the scheme for inspection software.
With further reference to Fig. 8, it illustrates the structural representation of another embodiment of the device for inspection software according to the application.
As shown in Figure 8, the device 800 of the present embodiment comprises the first receiving element 801, transmitting element 802.Wherein, the first receiving element is used for the test operation instruction that reception server sends, the test operation information that test operation instruction is sent based on active terminal by server and sending.Transmitting element is used for sending test data to server, for the test data determination test result of server based on test data and initiatively terminal.
In some Alternate embodiments, device 800 also comprises the second receiving element, replys unit, installation unit.Second receiving element is used for the test request that reception server sends, the test initiation command that test request is sent based on active terminal by server and sending.Reply unit to be used for replying response to server.Installation unit is used under the control of server, install corresponding software to be tested.
Should be appreciated that all unit or the module of record in device 800 are corresponding with each step in the method described with reference to figure 4.Thus, above for the unit that operation and the feature of method description are equally applicable to device 800 and wherein comprise, do not repeat them here.Device 800 can pre-set in the terminal, also can be loaded in terminal by modes such as downloads.Corresponding units in device 500 can cooperatively interact with the unit in terminal to realize the scheme for inspection software.
With further reference to Fig. 9, it illustrates the structural representation of an embodiment of the system that the embodiment of the present application provides.
As shown in Figure 9, the system 900 for inspection software of the present embodiment comprises: device 600, device 700 and device 800, the test operation information that device 600 sends for receiving initiatively terminal, test operation instruction is sent to driven terminal based on test operation information, receive the test data that initiatively terminal and driven terminal send, based on the test data determination test result of active terminal and driven terminal, send test result to active terminal.Device 700 is for sending test operation information to server, test operation instruction is sent based on test operation information to driven terminal for server, test data is sent to server, for the test data determination test result of server based on test data and driven terminal, the test result that reception server sends.The test operation instruction that device 800 sends for reception server, the test operation information that test operation instruction is sent based on active terminal by server and sending, test data is sent, for the test data determination test result of server based on test data and initiatively terminal to server.
Figure 10 shows the exemplary system architecture 1000 can applying the embodiment of the present application.
As shown in Figure 10, system architecture 1000 can comprise terminal device 1001,1002, network 1003 and server 1004.Network 1003 in order to provide the medium of communication link between terminal device 1001,1002 and server 1004.Network 1003 can comprise various connection type, such as wired, wireless communication link or fiber optic cables etc.
User 1010 can use terminal device 1001,1002 mutual by network 1003 and server 1004, to receive or transmission information etc.Terminal device 1001,1002 is provided with the application program for shared testing software.
Terminal device 1001,1002 can be various electronic equipment, includes but not limited to smart mobile phone, panel computer, personal digital assistant, pocket computer on knee and Intelligent wearable equipment etc.
Server 1004 can be to provide the server of shared testing software service.The process such as server can store the data received, analysis, and result is fed back to terminal device.
Should be appreciated that, the number of the terminal device in Figure 10, network and server is only schematic.According to realizing needs, the terminal device of arbitrary number, network and server can be had.
Below with reference to Figure 11, it illustrates the structural representation of the computer system 1100 of terminal device or the server be suitable for for realizing the embodiment of the present application.
As shown in figure 11, computer system 1100 comprises CPU (central processing unit) (CPU) 1101, and it or can be loaded into the program random access storage device (RAM) 1103 from storage area 1108 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 1102.In RAM 1103, also store system 1100 and operate required various program and data.CPU 1101, ROM 1102 and RAM 1103 are connected with each other by bus 1104.I/O (I/O) interface 1105 is also connected to bus 1104.
I/O interface 1105 is connected to: the importation 1106 comprising keyboard, mouse etc. with lower component; Comprise the output 1107 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 1108 of hard disk etc.; And comprise the communications portion 1109 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 1109 is via the network executive communication process of such as the Internet.Driver 1110 is also connected to I/O interface 1105 as required.Detachable media 1111, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 1110 as required, so that the computer program read from it is mounted into storage area 1108 as required.
Especially, according to embodiment of the present disclosure, the process that reference flow sheet describes above may be implemented as computer software programs.Such as, embodiment of the present disclosure comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and described computer program comprises the program code for the method shown in flowchart.In such embodiments, this computer program can be downloaded and installed from network by communications portion 1109, and/or is mounted from detachable media 1111.
Process flow diagram in accompanying drawing and block diagram, illustrate according to the architectural framework in the cards of the system of various embodiments of the invention, method and computer program product, function and operation.In this, each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for described module, program segment or code comprises one or more executable instruction for realizing the logic function specified.Also it should be noted that at some as in the realization of replacing, the function marked in square frame also can be different from occurring in sequence of marking in accompanying drawing.Such as, in fact the square frame that two adjoining lands represent can perform substantially concurrently, and they also can perform by contrary order sometimes, and this determines according to involved function.Also it should be noted that, the combination of the square frame in each square frame in block diagram and/or process flow diagram and block diagram and/or process flow diagram, can realize by the special hardware based system of the function put rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
Be described in unit module involved in the embodiment of the present application to be realized by the mode of software, also can be realized by the mode of hardware.Described unit module also can be arranged within a processor, such as, can be described as: a kind of processor comprises the first receiving element, the first transmitting element, the second receiving element, determining unit, the second transmitting element.Wherein, the title of these unit modules does not form the restriction to this unit module itself under certain conditions, and such as, the first receiving element can also be described to " for receiving the unit of the test operation information that initiatively terminal sends ".
As another aspect, present invention also provides a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.Described computer-readable recording medium stores more than one or one program, and described program is used for performance description in the method for inspection software of the application by one or more than one processor.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.

Claims (19)

1. for a method for inspection software, it is characterized in that, described method comprises:
Receive the test operation information that initiatively terminal sends;
Send test operation instruction based on described test operation information to driven terminal, perform test operation to control described driven terminal;
Receive the test data of described active terminal and described driven terminal transmission;
Based on the test data determination test result of described active terminal and described driven terminal;
Test result is sent to described active terminal.
2. method according to claim 1, is characterized in that, described method also comprises:
Receive the test initiation command that initiatively terminal sends;
Test request is sent to the terminal established a connection based on described test initiation command;
The terminal of part/all reply responses is defined as driven terminal;
Control described driven terminal and corresponding software to be tested is installed.
3. method according to claim 2, is characterized in that, by sending the installation kit address of software to be tested and installation instruction to described driven terminal, controls described driven terminal and installs corresponding software to be tested.
4. method according to claim 1, is characterized in that, describedly sends test operation instruction based on described test operation information to driven terminal, comprising:
Obtain the configuration information of described active terminal and the configuration information of described driven terminal;
Based on the configuration information of described active terminal, the configuration information of described driven terminal and described test operation information, obtain the test operation instruction of mating with described driven terminal;
Described test operation instruction is sent to described driven terminal.
5. method according to claim 2, is characterized in that, the terminal that partial recovery is replied is defined as driven terminal, comprises:
The terminal that the configuration information similarity of configuration information and described active terminal in the terminal of reply response is greater than predetermined threshold is defined as driven terminal; Or
The terminal in the terminal of reply response with predetermined configurations is defined as driven terminal.
6. for a method for inspection software, it is characterized in that, described method comprises:
Send test operation information to server, send test operation instruction based on described test operation information to driven terminal for described server;
Test data is sent, for the test data determination test result of described server based on described test data and driven terminal to described server;
Receive the test result that described server sends.
7. method according to claim 6, is characterized in that, described method also comprises:
Send test initiation command to server, send test request, to determine driven terminal based on described test initiation command to the terminal established a connection for described server.
8. for a method for inspection software, it is characterized in that, described method comprises:
The test operation instruction that reception server sends, the test operation information that described test operation instruction is sent based on active terminal by described server and sending;
Test data is sent, for the test data determination test result of described server based on described test data and initiatively terminal to described server.
9. method according to claim 8, is characterized in that, described method also comprises:
The test request that reception server sends, the test initiation command that described test request is sent based on active terminal by described server and sending;
Response is replied to described server;
Corresponding software to be tested is installed under the control of described server.
10. for a device for inspection software, it is characterized in that, described device comprises:
First receiving element, for receiving the test operation information that initiatively terminal sends;
First transmitting element, for sending test operation instruction based on described test operation information to driven terminal;
Second receiving element, for receiving the test data of described active terminal and described driven terminal transmission;
Determining unit, for the test data determination test result based on described active terminal and described driven terminal;
Second transmitting element, for sending test result to described active terminal.
11. devices according to claim 10, is characterized in that, described device also comprises:
3rd receiving element, for receiving the test initiation command that initiatively terminal sends;
3rd transmitting element, for sending test request based on described test initiation command to the terminal established a connection;
Driven terminal determining unit, for being defined as driven terminal by the terminal of part/all reply responses;
Control module, installs corresponding software to be tested for controlling described driven terminal.
12. devices according to claim 11, is characterized in that, described control module is configured for and sends the installation kit address of software to be tested and installation instruction to described driven terminal, controls described driven terminal and installs corresponding software to be tested.
13. devices according to claim 10, is characterized in that, described first transmitting element is configured for:
Obtain the configuration information of described active terminal and the configuration information of described driven terminal;
Based on the configuration information of described active terminal, the configuration information of described driven terminal and described test operation information, obtain the test operation instruction of mating with described driven terminal;
Described test operation instruction is sent to described driven terminal.
14. devices according to claim 11, is characterized in that, driven terminal determining unit is configured for:
The terminal that the configuration information similarity of configuration information and described active terminal in the terminal of reply response is greater than predetermined threshold is defined as driven terminal; Or
The terminal in the terminal of reply response with predetermined configurations is defined as driven terminal.
15. 1 kinds, for the device of inspection software, is characterized in that, described device comprises:
First transmitting element, for sending test operation information to server, sends test operation instruction based on described test operation information to driven terminal for described server;
Second transmitting element, for sending test data to described server, for the test data determination test result of described server based on described test data and driven terminal;
Receiving element, for receiving the test result that described server sends.
16. devices according to claim 15, is characterized in that, described device also comprises:
3rd transmitting element, for sending test initiation command to server, sends test request, to determine driven terminal based on described test initiation command to the terminal established a connection for described server.
17. 1 kinds, for the device of inspection software, is characterized in that, described device comprises:
First receiving element, for the test operation instruction that reception server sends, the test operation information that described test operation instruction is sent based on active terminal by described server and sending;
Transmitting element, for sending test data to described server, for the test data determination test result of described server based on described test data and initiatively terminal.
18. devices according to claim 17, is characterized in that, described device also comprises:
Second receiving element, for the test request that reception server sends, the test initiation command that described test request is sent based on active terminal by described server and sending;
Reply unit, for replying response to described server;
Installation unit, for installing corresponding software to be tested under the control of described server.
19. 1 kinds of systems, is characterized in that, described system comprises: the device as described in claim 10-14 and the device as described in claim 15-16 and the device as described in claim 17-18.
CN201510431976.9A 2015-07-21 2015-07-21 method, device and system for detecting software Active CN104978276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510431976.9A CN104978276B (en) 2015-07-21 2015-07-21 method, device and system for detecting software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510431976.9A CN104978276B (en) 2015-07-21 2015-07-21 method, device and system for detecting software

Publications (2)

Publication Number Publication Date
CN104978276A true CN104978276A (en) 2015-10-14
CN104978276B CN104978276B (en) 2018-09-14

Family

ID=54274805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510431976.9A Active CN104978276B (en) 2015-07-21 2015-07-21 method, device and system for detecting software

Country Status (1)

Country Link
CN (1) CN104978276B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN107193729A (en) * 2017-04-19 2017-09-22 北京云测信息技术有限公司 A kind of application compatibility method of testing and device
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
CN107885661A (en) * 2017-11-08 2018-04-06 百度在线网络技术(北京)有限公司 The terminal transparency method of testing and system of Mobile solution, equipment, medium
CN110188034A (en) * 2019-05-10 2019-08-30 广州高鸿信息科技有限公司 A kind of method for testing software based on information sharing
CN112181811A (en) * 2020-09-14 2021-01-05 麒麟软件有限公司 Application stability testing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262552A (en) * 2011-07-06 2011-11-30 惠州Tcl移动通信有限公司 Method and system for synchronizing application program of different equipment
US20130067281A1 (en) * 2011-09-09 2013-03-14 Askey Computer Corp. Testing system and method for handheld electronic device
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device
CN104092715A (en) * 2013-11-28 2014-10-08 腾讯科技(深圳)有限公司 Synchronization application program method, server and system
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262552A (en) * 2011-07-06 2011-11-30 惠州Tcl移动通信有限公司 Method and system for synchronizing application program of different equipment
US20130067281A1 (en) * 2011-09-09 2013-03-14 Askey Computer Corp. Testing system and method for handheld electronic device
CN104092715A (en) * 2013-11-28 2014-10-08 腾讯科技(深圳)有限公司 Synchronization application program method, server and system
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
CN107193729A (en) * 2017-04-19 2017-09-22 北京云测信息技术有限公司 A kind of application compatibility method of testing and device
CN107193729B (en) * 2017-04-19 2020-07-31 北京云测信息技术有限公司 Application compatibility testing method and device
CN107885661A (en) * 2017-11-08 2018-04-06 百度在线网络技术(北京)有限公司 The terminal transparency method of testing and system of Mobile solution, equipment, medium
CN110188034A (en) * 2019-05-10 2019-08-30 广州高鸿信息科技有限公司 A kind of method for testing software based on information sharing
CN112181811A (en) * 2020-09-14 2021-01-05 麒麟软件有限公司 Application stability testing method
CN112181811B (en) * 2020-09-14 2024-05-10 麒麟软件有限公司 Application stability testing method

Also Published As

Publication number Publication date
CN104978276B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN104978276A (en) Method, device and system used for detecting software
CN109325195B (en) Rendering method and system for browser, computer device and computer storage medium
CN105260299A (en) Method, device, and system for software test
US20190087307A1 (en) Method and apparatus for developing unmanned vehicle application
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN104838405B (en) The method and system of test frame for application program
CN112650685B (en) Automatic test method, device, electronic equipment and computer storage medium
CN111159049A (en) Automatic interface testing method and system
Zhang et al. Crowdsourced testing services for mobile apps
CN105512043A (en) Test method and device
CN107832177A (en) A kind of EDP method of testings, system, equipment and the storage medium of more GPU systems
CN111767209A (en) Code testing method, device, storage medium and terminal
CN108287781B (en) Memory occupation monitoring method, device and system
CN111930629A (en) Page testing method and device, electronic equipment and storage medium
CN111949510B (en) Test processing method, device, electronic equipment and readable storage medium
CN116662193A (en) Page testing method and device
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
CN107247661B (en) Method and system for supporting automatic verification of installation package of application
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN113986742A (en) Automatic testing method, device, equipment and storage medium
CN114745313A (en) Terminal remote testing method and device, electronic equipment and readable medium
CN113704079B (en) Protobuf-based interface testing method and device
CN111679885B (en) Method, device, medium and electronic equipment for determining virtual machine drift
CN114168485A (en) Test method, device, equipment and medium
CN113515447A (en) System automation test method and device

Legal Events

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

Effective date of registration: 20190826

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer 2

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100091 Beijing, Haidian District, northeast Wang West Road, No. 4, Zhongguancun Software Park, building C, block, 1-03

Patentee before: Pacify a Heng Tong (Beijing) Science and Technology Ltd.

TR01 Transfer of patent right