CN107168841B - Remote testing method and device for mobile equipment - Google Patents
Remote testing method and device for mobile equipment Download PDFInfo
- Publication number
- CN107168841B CN107168841B CN201710379448.2A CN201710379448A CN107168841B CN 107168841 B CN107168841 B CN 107168841B CN 201710379448 A CN201710379448 A CN 201710379448A CN 107168841 B CN107168841 B CN 107168841B
- Authority
- CN
- China
- Prior art keywords
- equipment
- terminal controller
- server
- information
- 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.)
- Expired - Fee Related
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 131
- 238000000034 method Methods 0.000 claims abstract description 73
- 238000012544 monitoring process Methods 0.000 claims description 25
- 238000003860 storage Methods 0.000 claims description 21
- 238000010586 diagram Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 15
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims description 5
- 238000007726 management method Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 230000006872 improvement Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2294—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a remote testing method and a remote testing device for mobile equipment, wherein the method comprises the following steps: the method comprises the steps that a terminal controller obtains first equipment information of mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of an application program to be tested contained in the mobile equipment to be tested; the terminal controller sends the first equipment information to a server; and the server remotely tests the application program to be tested in the mobile equipment to be tested according to the first equipment information. According to the method and the device, when the tester needs to use the mobile equipment to be tested for testing, the tester can operate in a remote mode, remote testing of the mobile equipment to be tested is achieved, and the reuse rate and the utilization rate of the mobile equipment are improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a remote testing method and apparatus for a mobile device.
Background
The mobile terminal test is an important link in an Application program (APP) test, and is used for testing whether the APP is compatible on different mobile devices (e.g., a smart phone and a tablet computer). In a conventional mobile terminal test, a mobile device to be tested is generally managed in a manual management manner. Before a tester performs a mobile terminal test, the tester needs to take the mobile equipment to be tested offline.
However, in practical applications, the way of manually managing mobile devices has the following problems:
(1) the reusability is low: each tester needs to be equipped with a plurality of mobile devices, so that the purchase cost of the mobile devices is high;
(2) the management is complex: the mobile equipment needs to be taken and recorded offline, so that the recording is easier to be disordered, and the recording of the mobile equipment and the tracking processing of the use state are more complicated;
(3) the required mobile equipment cannot be used in time: because the mobile devices are scattered at different testers, when mobile terminal testing needs to be performed on the mobile device of a specific model, the mobile device of the specific model may not be found in time;
(4) the utilization rate is low: in order to cover more test systems, testers are generally equipped with different systems and mobile devices of different versions of the same system, but the utilization rate of the mobile devices in daily mobile terminal test is not high.
The above problems of the manual management method of the mobile device result in low utilization rate and reuse rate of the mobile device in the mobile terminal test.
Therefore, how to improve the utilization rate and the reuse rate of the mobile device in the mobile terminal test is a technical problem to be solved by the application.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for remotely testing a mobile device, so as to solve the problem of low utilization rate and reuse rate of the mobile device in the conventional mobile terminal test.
The embodiment of the application provides a remote testing method of mobile equipment, which comprises the following steps:
the method comprises the steps that a terminal controller obtains first equipment information of mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of an application program to be tested contained in the mobile equipment to be tested;
the terminal controller sends the first equipment information to a server;
and the server remotely tests the application program to be tested in the mobile equipment to be tested according to the first equipment information.
Optionally, the server performs remote testing on the application program to be tested in the mobile device to be tested according to the first device information, including:
the server determines operation data corresponding to an operation event for executing the test operation on the application program to be tested in the screen information;
the server sends the operation data to the mobile equipment to be tested through the terminal controller;
and the mobile equipment to be tested executes corresponding operation on the application program to be tested in the mobile equipment to be tested according to the operation data.
Optionally, the operational event includes: clicking and sliding.
Optionally, before the terminal controller obtains the first device information of the mobile device to be tested accessing the terminal controller, the method further includes:
the server sends a first adb command to the terminal controller;
and the terminal controller installs the application program to be tested in the mobile equipment to be tested according to the first adb command.
Optionally, the obtaining, by the terminal controller, first device information of a mobile device to be tested accessing the terminal controller includes:
the proxy service program in the mobile device to be tested captures a screen of the mobile device to be tested to obtain screen information containing the application program to be tested;
and the agent service program sends the screen information to the terminal controller.
Optionally, the method further comprises:
the terminal controller acquires second device information, wherein the second device information includes: third device information of the terminal controller and fourth device information of a mobile device accessed to the terminal controller;
the terminal controller sends the third equipment information and the fourth equipment information to a server;
and the server remotely supervises the mobile equipment according to the third equipment information or the fourth equipment information.
Optionally, the obtaining, by the terminal controller, the fourth device information includes:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program into the mobile equipment according to the second adb command;
the proxy service program acquires the fourth device information of the mobile device and sends the fourth device information to the terminal controller.
Optionally, the server performs remote supervision on the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to the third device information, wherein the third device information includes: the system comprises a location, an IP, a starting time, a login state, an SSID, the number of the mobile devices accessed to a terminal controller and the network conditions of the mobile devices;
and the server executes a first operation on the terminal controller according to the running state of the terminal controller.
Optionally, the first operation comprises: restarting, remotely controlling and updating the program.
Optionally, the server performs remote supervision on the mobile device according to the fourth device information, including:
the server determines the operating condition of the mobile device according to the fourth device information, wherein the fourth device information includes: the system comprises a model, a position, an IMEI (international mobile equipment identity), a network identifier, an SD (secure digital) card, a storage space, electric quantity, garbage application and a working state;
and the server executes a second operation on the mobile equipment according to the running state of the mobile equipment.
Optionally, the second operation comprises: screenshot, restart, check, remote control and network disconnection.
Optionally, the terminal controller establishes a connection with the server through a network switch;
and the mobile equipment is accessed to the terminal controller through the USB HUB.
Optionally, the mobile device is deployed in a centralized shielding cabinet manner or a distributed workstation manner.
An embodiment of the present application further provides a remote testing apparatus for a mobile device, including: the device comprises an acquisition unit, a sending unit and a remote testing unit, wherein:
the terminal controller comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for controlling the terminal controller to acquire first equipment information of a mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested;
a sending unit, configured to control the terminal controller to send the first device information to a server;
and the remote testing unit is used for controlling the server to remotely test the application program to be tested in the mobile equipment to be tested according to the first equipment information.
The embodiment of the present application further provides a remote testing apparatus for a mobile device, which includes: a memory and a processor, wherein:
a memory for storing a program;
the processor is used for executing the program stored in the memory and specifically executing:
acquiring first device information of a mobile device to be tested, which is accessed to the terminal controller, wherein the first device information represents screen information of an application program to be tested contained in the mobile device to be tested;
sending the first device information to a server;
and remotely testing the application program to be tested in the mobile equipment to be tested according to the first equipment information.
The present invention also provides a computer-readable storage medium, which stores one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the following method:
acquiring first device information of a mobile device to be tested, which is accessed to the terminal controller, wherein the first device information represents screen information of an application program to be tested contained in the mobile device to be tested;
sending the first device information to a server;
and remotely testing the application program to be tested in the mobile equipment to be tested according to the first equipment information.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
the method comprises the steps that a terminal controller obtains first equipment information of mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested; the terminal controller sends first equipment information to the server; the server remotely tests the application program to be tested in the mobile device to be tested according to the first device information, so that when a tester needs to use the mobile device to be tested to test, the tester can remotely operate the mobile device to be tested, the remote test of the mobile device to be tested is realized, and the reuse rate and the utilization rate of the mobile device are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a remote testing method for a mobile device according to an embodiment of the present disclosure;
fig. 2 is a mobile device for shielding centralized deployment of a cabinet according to an embodiment of the present application;
FIG. 3 is a mobile device for distributed deployment of workstations according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a remote testing apparatus for a mobile device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a remote testing apparatus for a mobile device according to an embodiment of the present disclosure.
Detailed Description
In order to achieve the purpose of the present application, an embodiment of the present application provides a remote testing method and apparatus for a mobile device, where the method includes: the method comprises the steps that a terminal controller obtains first equipment information of mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested; the terminal controller sends first equipment information to the server; the server remotely tests the application program to be tested in the mobile device to be tested according to the first device information, so that when a tester needs to use the mobile device to be tested to test, the tester can remotely operate the mobile device to be tested, the remote test of the mobile device to be tested is realized, and the reuse rate and the utilization rate of the mobile device are improved.
The technical solutions of the present application will be described clearly and completely below with reference to the specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example 1
In order to solve the problem of low utilization rate and reuse rate of a mobile device caused by a manual management mode of the mobile device in the existing mobile terminal test, embodiment 1 of the present application provides a remote test method of a mobile device. The mobile device in the embodiment of the present application is a device to be tested, such as a smart phone, a tablet computer, and the like, for performing application testing. The operating system of the mobile device in the embodiment of the application may be an Android operating system, an ios operating system, or other operating systems.
For convenience of description, the method is described below by taking an Android operating system mobile device and/or an ios operating system mobile device as an example. It is understood that the Android operating system mobile device and/or the ios operating system mobile device are only exemplary illustrations and should not be construed as limiting the method.
Fig. 1 is a schematic flowchart of a remote testing method for a mobile device according to an embodiment of the present disclosure. This method can be as follows.
Step 101: the terminal controller acquires first equipment information of a mobile equipment to be tested, which is accessed to the terminal controller.
The first device information represents screen information of the mobile device to be tested, wherein the screen information comprises an application program to be tested.
Before the mobile equipment is remotely tested, all the mobile equipment needs to be deployed, all the mobile equipment is accessed into a cloud supervisory system, and the cloud supervisory system realizes unified management and remote testing of the mobile equipment in a software and hardware combined mode.
In the embodiment of the application, the terminal controller establishes connection with the server through the network switch;
the mobile equipment is accessed to the terminal controller through the USB HUB.
The device management personnel can monitor and manage the mobile device through the server, and the testing personnel can remotely test the mobile device to be tested through the server.
The terminal controller corresponding to the Android operating system mobile device is an Android controller, and the terminal controller corresponding to the ios operating system mobile device is an ios controller.
The Android operating system mobile equipment is accessed to the Android controller through the USB HUB, the ios operating system mobile equipment is accessed to the ios controller through the USB HUB, and the maximum number of the mobile equipment accessed to one Android controller or one ios controller depends on the number of extensible interfaces of the USB HUB.
The Android controller, the ios controller and the server are connected to an office network through a network switch, and the Android operating system mobile device and the ios operating system mobile device are connected to a test network through a wireless AP.
In this embodiment of the application, the deployment mode of the mobile device may be centralized for the shielding cabinet.
Fig. 2 is a mobile device for shielding centralized deployment of a cabinet according to an embodiment of the present application.
As shown in fig. 2, the Android operating system mobile device, the Android controller, and the ios operating system mobile device and the ios controller are collectively deployed in the shielding cabinet.
The Android operating system mobile equipment and the ios operating system mobile equipment which are intensively arranged are large in number, and wireless AP signals are easily interfered by external Wi-Fi, so that the Android operating system mobile equipment and the ios operating system mobile equipment which are large in number are intensively arranged in the shielding cabinet, the wireless AP signals in the shielding cabinet are effectively isolated, and the phenomenon that the Wi-Fi outside the shielding cabinet interferes the wireless AP signals to influence the subsequent remote test effect is avoided.
In this embodiment of the application, the deployment mode of the mobile device may be station-distributed.
Fig. 3 is a mobile device for distributed deployment of workstations according to an embodiment of the present disclosure.
As shown in fig. 3, the Android operating system mobile device, the Android controller, and the ios operating system mobile device and the ios controller are distributed on stations of different testers.
The Android operating system mobile equipment and the ios operating system mobile equipment are deployed in a distributed mode, the interference degree of external Wi-Fi on wireless AP signals can be reduced, a shielding cabinet is not required to be arranged, and cost and occupied space are saved.
The method for remotely monitoring and managing all the mobile devices specifically comprises the following steps:
the terminal controller acquires second device information, wherein the second device information includes: third device information of the terminal controller and fourth device information of the mobile device accessed to the terminal controller;
the terminal controller sends third equipment information and fourth equipment information to the server;
and the server remotely supervises the mobile equipment according to the third equipment information or the fourth equipment information.
In this embodiment, the server remotely supervises the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to third equipment information, wherein the third equipment information comprises: position, IP, starting time, login state, SSID, the number of mobile devices accessed to the terminal controller, and the network status of the mobile devices;
the server executes a first operation on the terminal controller according to the operating condition of the terminal controller.
In an embodiment of the present application, the first operation includes: restarting, remotely controlling and updating the program.
The equipment personnel can carry out remote monitoring management on the terminal controller through the server, and indirectly realize the monitoring management on the mobile equipment under the terminal controller.
The terminal controller acquires third device information of the terminal controller, wherein the third device information comprises: location (e.g., row number, column number within the shielded enclosure), IP, boot-up duration, login status (e.g., logged in, dropped, or to be activated), SSID, number of mobile devices accessing the terminal controller, network conditions of the mobile devices (e.g., dropped or no network connection).
The terminal controller sends the third equipment information to the server at the first preset frequency, and the equipment management personnel can check the third equipment information of the terminal controller received by the server at any time through the monitoring terminal, so as to know the running state of the terminal controller. The method comprises the following steps that a device management person can send a first operation instruction to a server through a monitoring terminal according to the running state of a terminal controller, so that the server executes a first operation on the terminal controller according to the first operation instruction, wherein the first operation comprises the following steps: restart, remote control or update of programs, etc.
For example, the server determines that all mobile devices accessing the terminal controller handle a dropped state according to the received third device information of the terminal controller, a device manager judges that the terminal controller may be dropped according to experience, the device manager sends a restart instruction to the server through the monitoring terminal, and the server performs a restart operation on the terminal controller according to the restart instruction.
In this embodiment of the application, the terminal controller obtains the fourth device information, including:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program in the mobile equipment according to the second adb command;
the proxy service program acquires fourth device information of the mobile device and transmits the fourth device information to the terminal controller.
In this embodiment, the server remotely supervises the mobile device according to the fourth device information, including:
the server determines the operation state of the mobile device according to fourth device information, wherein the fourth device information comprises: the system comprises a model, a position, an IMEI (international mobile equipment identity), a network identifier, an SD (secure digital) card, a storage space, electric quantity, garbage application and a working state;
and the server executes a second operation on the mobile equipment according to the running state of the mobile equipment.
In an embodiment of the present application, the second operation includes: screenshot, restart, check, remote control and network disconnection.
The terminal controller receives a second adb command sent by the server, and installs an agent service program (agent) in the mobile device accessed to the terminal controller according to the second adb command, and the agent acquires fourth device information of the mobile device at a second preset frequency, wherein the fourth device information includes: model number (e.g., hua P10), location, IMEI, network identification, SD card, storage space (e.g., remaining storage space and/or total storage space), power, garbage application, operating status (free, occupied, failed, or network dropped). And after the Agent acquires the fourth equipment information of the mobile equipment, reporting the fourth equipment information to the terminal controller.
The terminal controller receives fourth device information of the mobile device reported by the agent and reports the fourth device information to the server, and a device manager can check the fourth device information of the mobile device received by the server at any time through the monitoring terminal so as to know the running state of the mobile device. The device management personnel can send a second operation instruction to the server through the monitoring terminal according to the running state of the mobile device, so that the server executes a second operation on the mobile device through the terminal controller, wherein the second operation comprises: screenshot, restart, check, remote control and network disconnection.
In this embodiment, the server may further generate a mobile device layout according to the third device information and the fourth device information.
The device management personnel can quickly locate the mobile device needing management or failure according to the mobile device layout.
The tester can quickly find the mobile equipment to be tested meeting the test conditions according to the mobile equipment layout.
In the embodiment of the application, a user can select the mobile device to be tested in the mobile device layout diagram, and can input the testing requirement in the testing terminal, so that the server can search the mobile terminal to be tested according to the testing requirement, and can search the mobile terminal to be tested in other modes.
After the testing terminal finds the mobile device to be tested, the testing terminal obtains first device information of the mobile device to be tested through a terminal controller corresponding to the mobile device to be tested.
In this embodiment of the present application, before the terminal controller obtains the first device information of the mobile device to be tested accessing the terminal controller, the method further includes:
the server sends a first adb command to the terminal controller;
and the terminal controller installs the application program to be tested in the mobile equipment to be tested according to the first adb command.
The testing personnel send the first adb command to the server through the testing terminal, so that the server installs the application program to be tested in the mobile device to be tested according to the first adb command, and preparation is made for remote testing of the application program to be tested in the subsequent device to be tested.
It should be noted that the application to be tested may be installed remotely through the first adb command, or may be installed in the application device to be tested in advance, which is not limited herein.
In this embodiment of the application, the acquiring, by the terminal controller, first device information of a mobile device to be tested, which is accessed to the terminal controller, includes:
the method comprises the following steps that an agent service program in the mobile device to be tested captures a screen of an application program to be tested to obtain screen information containing the application program to be tested;
the agent service program transmits the screen information to the terminal controller.
And the terminal controller continuously performs screen capture on the mobile equipment to be tested through the agent, and sends screen information containing the application program to be tested, which is obtained by screen capture, to the terminal controller.
Step 102: the terminal controller transmits the first device information to the server.
And the terminal controller sends the screen information containing the application program to be tested to the server to realize screen write-back of the mobile equipment to be tested.
The tester can check the screen information containing the application program to be tested, which is received by the server, through the test terminal, and then realize the remote control of the mobile device to be tested according to the screen information.
Step 103: and the server carries out remote test on the application program to be tested in the mobile equipment to be tested according to the first equipment information.
The testing personnel remotely control the mobile equipment to be tested to realize the remote testing of the application program to be tested in the mobile equipment to be tested.
In this embodiment of the application, the server performs remote testing on the application program to be tested in the mobile device to be tested according to the first device information, including:
the server determines operation data corresponding to an operation event for executing the test operation on the application program to be tested in the screen information;
the server sends the operation data to the mobile equipment to be tested through the terminal controller;
and the mobile equipment to be tested executes corresponding operation on the application program to be tested in the mobile equipment to be tested according to the operation data.
In the embodiment of the present application, the operation event includes: clicking and sliding.
The tester checks the screen information including the application program to be tested written back by the agent through the test terminal, and executes a click or slide test operation on the application program to be tested in the screen information, and the server calculates the relative coordinate of the position in the screen information according to the position of a touch screen of the tester, so that the tester obtains the operation data corresponding to the operation event (click or slide) of the test operation.
The server sends the operation data to the mobile equipment to be tested through the terminal controller, and the mobile equipment to be tested executes the operation same as the test operation of the tester on the screen of the mobile equipment to be tested according to the operation data, so that the remote test of the mobile equipment to be tested is realized.
In the embodiment of the application, after the remote test of the application program to be tested in the mobile device to be tested is completed, a tester can send an application deleting instruction to the server through the test terminal, and the server deletes the application program to be tested in the mobile device to be tested through the terminal controller according to the application deleting instruction, so that the mobile device to be tested is ensured to have sufficient memory for subsequent other remote tests.
In the embodiment of the present application, the server includes: the system comprises a file server for storing log files, a web server for accessing a network, a database server for storing operation data, a service server for storing service data and an upper computer for directly establishing adb communication with a terminal controller.
According to the technical scheme, the terminal controller acquires first device information of a mobile device to be tested, which is accessed to the terminal controller, wherein the first device information represents screen information of the mobile device to be tested, which contains an application program to be tested; the terminal controller sends first equipment information to the server; the server remotely tests the application program to be tested in the mobile device to be tested according to the first device information, so that when a tester needs to use the mobile device to be tested to test, the tester can remotely operate the mobile device to be tested, the remote test of the mobile device to be tested is realized, and the reuse rate and the utilization rate of the mobile device are improved.
Example 2
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs the computer program to form a remote testing device of the mobile equipment on a logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Fig. 5 is a schematic structural diagram of a remote testing apparatus for a mobile device according to an embodiment of the present disclosure. The apparatus 500 comprises: an acquisition unit 501, a sending unit 502 and a remote testing unit 503, wherein:
an obtaining unit 501, configured to control a terminal controller to obtain first device information of a mobile device to be tested, where the mobile device to be tested accesses the terminal controller, and the first device information indicates that the mobile device to be tested includes screen information of an application program to be tested;
a sending unit 502, configured to control the terminal controller to send first device information to the server;
the remote testing unit 503 is configured to control the server to perform remote testing on the application program to be tested in the mobile device to be tested according to the first device information.
Optionally, the remote testing unit 503 controls the server to perform remote testing on the application program to be tested in the mobile device to be tested according to the first device information, and includes:
the server determines operation data corresponding to an operation event for executing the test operation on the application program to be tested in the screen information;
the server sends operation data to the mobile equipment to be tested through the terminal controller;
and the mobile equipment to be tested executes corresponding operation on the application program to be tested in the mobile equipment to be tested according to the operation data.
Optionally, the operational event comprises: clicking and sliding.
Optionally, the apparatus 500 further comprises: a processing unit, wherein,
a sending unit 502, configured to send a first adb command to a terminal controller by a control server before the terminal controller obtains first device information of a mobile device to be tested that is accessed to the terminal controller;
and the processing unit is used for controlling the terminal controller to install the application program to be tested into the mobile equipment to be tested according to the first adb command.
Optionally, the obtaining unit 501 controls the terminal controller to obtain the first device information of the mobile device to be tested accessing the terminal controller, including:
the method comprises the following steps that an agent service program in the mobile device to be tested captures a screen of the mobile device to be tested to obtain screen information containing an application program to be tested;
the agent service program transmits screen information to the terminal controller.
Optionally, the apparatus 500 further comprises: a remote supervisory unit, wherein:
an obtaining unit 501, configured to control a terminal controller to obtain second device information, where the second device information includes: third device information of the terminal controller and fourth device information of the mobile device accessed to the terminal controller;
a sending unit 502, configured to control the terminal controller to send the third device information and the fourth device information to the server;
and the remote supervision unit is used for controlling the server to remotely supervise the mobile equipment according to the third equipment information or the fourth equipment information.
Optionally, the obtaining unit 501 controls the terminal controller to obtain fourth device information, including:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program in the mobile equipment according to the second adb command;
the proxy service program acquires fourth device information of the mobile device and sends the fourth device information to the terminal controller.
Optionally, the remote supervising unit controls the server to remotely supervise the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to third equipment information, wherein the third equipment information comprises: position, IP, starting time, login state, SSID, the number of mobile devices accessing a terminal controller, and network conditions of the mobile devices;
the server executes a first operation on the terminal controller according to the operating condition of the terminal controller.
Optionally, the first operation comprises: restarting, remotely controlling and updating the program.
Optionally, the remote supervising unit controls the server to remotely supervise the mobile device according to the fourth device information, including:
the server determines the operation state of the mobile device according to fourth device information, wherein the fourth device information comprises: the system comprises a model, a position, an IMEI (international mobile equipment identity), a network identifier, an SD (secure digital) card, a storage space, electric quantity, garbage application and a working state;
and the server executes a second operation on the mobile equipment according to the running state of the mobile equipment.
Optionally, the second operation comprises: screenshot, restart, check, remote control and network disconnection.
Optionally, the terminal controller establishes a connection with the server through the network switch;
the mobile equipment is accessed to the terminal controller through the USB HUB.
Optionally, the mobile device is deployed in a centralized shielding cabinet manner or a distributed workstation manner.
According to the remote testing apparatus of the mobile device, the obtaining unit 501 is configured to control the terminal controller to obtain first device information of a mobile device to be tested, which is accessed to the terminal controller, where the first device information indicates that the mobile device to be tested includes screen information of an application program to be tested; the sending unit 502 is configured to control the terminal controller to send first device information to the server; the remote testing unit 503 is configured to control the server to perform remote testing on the application program to be tested in the mobile device to be tested according to the first device information, so that when a tester needs to perform testing by using the mobile device to be tested, the tester can perform operation in a remote manner, thereby implementing remote testing on the mobile device to be tested, and improving the reuse rate and utilization rate of the mobile device.
Fig. 6 is a schematic structural diagram of a remote testing apparatus for a mobile device according to an embodiment of the present disclosure. The remote testing apparatus 600 of the mobile device may include: a channel interface 601 and a processor 602, optionally including a memory 603.
The channel interface 601, the processor 602, and the memory 603 may be interconnected by a bus 604 system. The bus 704 may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
Optionally, a memory 603 is included for storing programs. In particular, the program may include program code comprising computer operating instructions. Memory 603 may include both read-only memory and random access memory, and provides instructions and data to processor 602. The Memory 603 may include a Random-Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory.
The processor 602 is configured to execute the following operations, optionally, execute a program stored in the memory 603, and specifically, execute the following operations:
acquiring first equipment information of mobile equipment to be tested accessed to a terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested;
sending first equipment information to a server;
and according to the first equipment information, remotely testing the application program to be tested in the mobile equipment to be tested.
The method performed by the application compatibility testing apparatus or Master node according to the embodiments of the present application shown in fig. 1 and fig. 4-5 can be implemented in the processor 602 or implemented by the processor 602. The processor 602 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 602. The processor 602 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 603, and the processor 602 reads the information in the memory 603 and performs the steps of the above method in combination with the hardware thereof.
The application compatibility testing apparatus 600 may also perform the method of fig. 1 and implement the method performed by the administrator node.
Example 3
Embodiments of the present application also provide a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of application programs, enable the portable electronic device to perform the method of embodiment 1.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (14)
1. A method for remote testing of a mobile device, comprising:
the method comprises the steps that a terminal controller obtains first equipment information of mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of an application program to be tested contained in the mobile equipment to be tested;
the terminal controller sends the first equipment information to a server;
the server remotely tests the application program to be tested in the mobile equipment to be tested according to the first equipment information;
the method further comprises the following steps:
the terminal controller acquires second device information, wherein the second device information includes: third device information of the terminal controller and fourth device information of a mobile device accessed to the terminal controller;
the terminal controller sends the third equipment information and the fourth equipment information to a server;
the server remotely supervises the mobile equipment according to the third equipment information or the fourth equipment information;
wherein, the server remotely supervises the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to the third equipment information;
the server executes a first operation on the terminal controller according to the running state of the terminal controller;
the terminal controller sends third equipment information to the server at a first preset frequency, equipment management personnel check the third equipment information of the terminal controller received by the server at any time through the monitoring terminal so as to know the running condition of the terminal controller, and a first operation instruction is sent to the server through the monitoring terminal according to the running condition of the terminal controller, so that the server executes a first operation on the terminal controller according to the first operation instruction;
wherein the terminal controller acquiring the fourth device information includes:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program into the mobile equipment according to the second adb command;
the agent service program acquires the fourth device information of the mobile device and sends the fourth device information to the terminal controller;
wherein, the server remotely supervises the mobile device according to the fourth device information, including:
the server determines the running state of the mobile equipment according to the fourth equipment information;
the server executes a second operation on the mobile equipment according to the running state of the mobile equipment;
the terminal controller receives a second adb command sent by the server, and installs an agent service program in the mobile equipment accessed to the terminal controller according to the second adb command, wherein the agent service program acquires fourth equipment information of the mobile equipment at a second preset frequency, and after the agent service program acquires the fourth equipment information of the mobile equipment, the agent service program reports the fourth equipment information to the terminal controller; the terminal controller receives fourth equipment information of the mobile equipment reported by the agent service program and reports the fourth equipment information to the server, equipment management personnel check the fourth equipment information of the mobile equipment received by the server at any time through the monitoring terminal so as to know the running condition of the mobile equipment, and a second operation instruction is sent to the server through the monitoring terminal according to the running condition of the mobile equipment, so that the server executes second operation on the mobile equipment through the terminal controller;
the server generates a mobile equipment layout according to the third equipment information and the fourth equipment information; the method comprises the following steps that an equipment manager quickly positions mobile equipment needing to be managed or having faults according to a mobile equipment layout; the tester quickly finds the mobile equipment to be tested meeting the testing conditions according to the mobile equipment layout; the method comprises the steps that a user selects a mobile device to be tested in a mobile device layout diagram, the server searches the mobile terminal to be tested according to the test requirement by inputting the test requirement in the test terminal, and after the test terminal searches the mobile device to be tested, the test terminal obtains first device information of the mobile device to be tested through a terminal controller corresponding to the mobile device to be tested.
2. The method of claim 1, wherein the server remotely testing the application under test in the mobile device under test according to the first device information comprises:
the server determines operation data corresponding to an operation event for executing the test operation on the application program to be tested in the screen information;
the server sends the operation data to the mobile equipment to be tested through the terminal controller;
and the mobile equipment to be tested executes corresponding operation on the application program to be tested in the mobile equipment to be tested according to the operation data.
3. The method of claim 2, wherein the operational event comprises: clicking and sliding.
4. The method of claim 1, wherein before a terminal controller obtains first device information for a mobile device to be tested accessing the terminal controller, the method further comprises:
the server sends a first adb command to the terminal controller;
and the terminal controller installs the application program to be tested in the mobile equipment to be tested according to the first adb command.
5. The method of claim 4, wherein a terminal controller obtaining first device information for a mobile device under test accessing the terminal controller, comprises:
the proxy service program in the mobile device to be tested captures a screen of the mobile device to be tested to obtain screen information containing the application program to be tested;
and the agent service program sends the screen information to the terminal controller.
6. The method of claim 1, wherein the third device information comprises: location, IP, start-up duration, login status, SSID, number of mobile devices accessing the terminal controller, and network status of the mobile devices.
7. The method of claim 1, wherein the first operation comprises: restarting, remotely controlling and updating the program.
8. The method of claim 1, wherein the fourth device information comprises: model, position, IMEI, network identification, SD card, storage space, electric quantity, garbage application and working state.
9. The method of claim 1, wherein the second operation comprises: screenshot, restart, check, remote control and network disconnection.
10. The method of any of claims 1-9, wherein the terminal controller establishes a connection with the server through a network switch;
and the mobile equipment is accessed to the terminal controller through the USB HUB.
11. The method of claim 10, wherein the mobile devices are deployed in a centralized shielded enclosure manner or a distributed workstation manner.
12. An apparatus for remote testing of a mobile device, comprising: the device comprises an acquisition unit, a sending unit and a remote testing unit, wherein:
the terminal controller comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for controlling the terminal controller to acquire first equipment information of a mobile equipment to be tested, which is accessed to the terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested;
a sending unit, configured to control the terminal controller to send the first device information to a server;
the remote testing unit is used for controlling the server to remotely test the application program to be tested in the mobile equipment to be tested according to the first equipment information;
the device also includes: a remote supervisory unit, wherein:
an obtaining unit, configured to control a terminal controller to obtain second device information, where the second device information includes: third device information of the terminal controller and fourth device information of the mobile device accessed to the terminal controller;
the sending unit is used for controlling the terminal controller to send the third equipment information and the fourth equipment information to the server;
the remote monitoring unit is used for controlling the server to remotely monitor the mobile equipment according to the third equipment information or the fourth equipment information;
the acquisition unit controls the terminal controller to acquire fourth device information, including:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program in the mobile equipment according to the second adb command;
the agent service program acquires fourth equipment information of the mobile equipment and sends the fourth equipment information to the terminal controller;
the remote supervision unit control server carries out remote supervision on the mobile device according to the third device information, and the method comprises the following steps:
the server determines the running state of the terminal controller according to the third equipment information;
the server executes a first operation on the terminal controller according to the running state of the terminal controller;
the terminal controller sends third equipment information to the server at a first preset frequency, equipment management personnel check the third equipment information of the terminal controller received by the server at any time through the monitoring terminal so as to know the running condition of the terminal controller, and a first operation instruction is sent to the server through the monitoring terminal according to the running condition of the terminal controller, so that the server executes a first operation on the terminal controller according to the first operation instruction;
the remote supervision unit control server carries out remote supervision on the mobile device according to the fourth device information, and the method comprises the following steps:
the server determines the operation state of the mobile equipment according to the fourth equipment information
The server executes a second operation on the mobile equipment according to the running state of the mobile equipment;
the terminal controller receives a second adb command sent by the server, and installs an agent service program in the mobile equipment accessed to the terminal controller according to the second adb command, wherein the agent service program acquires fourth equipment information of the mobile equipment at a second preset frequency, and after the agent service program acquires the fourth equipment information of the mobile equipment, the agent service program reports the fourth equipment information to the terminal controller; the terminal controller receives fourth equipment information of the mobile equipment reported by the agent service program and reports the fourth equipment information to the server, and equipment management personnel check the fourth equipment information of the mobile equipment received by the server at any time through the monitoring terminal so as to know the running condition of the mobile equipment and send a second operation instruction to the server through the monitoring terminal according to the running condition of the mobile equipment, so that the server executes second operation on the mobile equipment through the terminal controller;
the server generates a mobile equipment layout according to the third equipment information and the fourth equipment information; the method comprises the following steps that an equipment manager quickly positions mobile equipment needing to be managed or having faults according to a mobile equipment layout; the tester quickly finds the mobile equipment to be tested meeting the testing conditions according to the mobile equipment layout; the method comprises the steps that a user selects a mobile device to be tested in a mobile device layout diagram, the server searches the mobile terminal to be tested according to the test requirement by inputting the test requirement in the test terminal, and after the test terminal searches the mobile device to be tested, the test terminal obtains first device information of the mobile device to be tested through a terminal controller corresponding to the mobile device to be tested.
13. An apparatus for remote testing of a mobile device, comprising: a memory and a processor, wherein:
a memory for storing a program;
the processor is used for executing the program stored in the memory and specifically executing:
acquiring first equipment information of mobile equipment to be tested, which is accessed to a terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested;
sending the first device information to a server;
according to the first device information, remotely testing the application program to be tested in the mobile device to be tested;
and further specifically executing:
the terminal controller acquires second device information, wherein the second device information includes: third device information of the terminal controller and fourth device information of a mobile device accessed to the terminal controller;
the terminal controller sends the third equipment information and the fourth equipment information to a server;
the server remotely supervises the mobile equipment according to the third equipment information or the fourth equipment information;
wherein, the server remotely supervises the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to the third equipment information;
the server executes a first operation on the terminal controller according to the running state of the terminal controller;
the terminal controller sends third equipment information to the server at a first preset frequency, equipment management personnel check the third equipment information of the terminal controller received by the server at any time through the monitoring terminal so as to know the running condition of the terminal controller, and a first operation instruction is sent to the server through the monitoring terminal according to the running condition of the terminal controller, so that the server executes a first operation on the terminal controller according to the first operation instruction;
wherein the terminal controller acquiring the fourth device information includes:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program into the mobile equipment according to the second adb command;
the agent service program acquires the fourth device information of the mobile device and sends the fourth device information to the terminal controller;
wherein, the server remotely supervises the mobile device according to the fourth device information, including:
the server determines the running state of the mobile equipment according to the fourth equipment information;
the server executes a second operation on the mobile equipment according to the running state of the mobile equipment;
the terminal controller receives a second adb command sent by the server, and installs an agent service program in the mobile equipment accessed to the terminal controller according to the second adb command, wherein the agent service program acquires fourth equipment information of the mobile equipment at a second preset frequency, and after the agent service program acquires the fourth equipment information of the mobile equipment, the agent service program reports the fourth equipment information to the terminal controller; the terminal controller receives fourth equipment information of the mobile equipment reported by the agent service program and reports the fourth equipment information to the server, and equipment management personnel check the fourth equipment information of the mobile equipment received by the server at any time through the monitoring terminal so as to know the running condition of the mobile equipment and send a second operation instruction to the server through the monitoring terminal according to the running condition of the mobile equipment, so that the server executes second operation on the mobile equipment through the terminal controller;
the server generates a mobile equipment layout according to the third equipment information and the fourth equipment information; the method comprises the following steps that an equipment manager quickly positions mobile equipment needing to be managed or having faults according to a mobile equipment layout; the tester quickly finds the mobile equipment to be tested meeting the testing conditions according to the mobile equipment layout; the method comprises the steps that a user selects a mobile device to be tested in a mobile device layout diagram, the server searches the mobile terminal to be tested according to the test requirement by inputting the test requirement in the test terminal, and after the test terminal searches the mobile device to be tested, the test terminal obtains first device information of the mobile device to be tested through a terminal controller corresponding to the mobile device to be tested.
14. A computer-readable storage medium storing one or more programs which, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform a method of:
acquiring first equipment information of mobile equipment to be tested, which is accessed to a terminal controller, wherein the first equipment information represents screen information of the mobile equipment to be tested, which contains an application program to be tested;
sending the first device information to a server;
according to the first device information, remotely testing the application program to be tested in the mobile device to be tested;
the method further comprises the following steps:
the terminal controller acquires second device information, wherein the second device information includes: third device information of the terminal controller and fourth device information of a mobile device accessed to the terminal controller;
the terminal controller sends the third equipment information and the fourth equipment information to a server;
the server remotely supervises the mobile equipment according to the third equipment information or the fourth equipment information;
wherein, the server remotely supervises the mobile device according to the third device information, including:
the server determines the operation state of the terminal controller according to the third equipment information;
the server executes a first operation on the terminal controller according to the running state of the terminal controller;
the terminal controller sends third equipment information to the server at a first preset frequency, equipment management personnel check the third equipment information of the terminal controller received by the server at any time through the monitoring terminal so as to know the running condition of the terminal controller, and a first operation instruction is sent to the server through the monitoring terminal according to the running condition of the terminal controller, so that the server executes a first operation on the terminal controller according to the first operation instruction;
wherein the terminal controller acquiring the fourth device information includes:
the server sends a second adb command to the terminal controller;
the terminal controller installs an agent service program into the mobile equipment according to the second adb command;
the agent service program acquires the fourth device information of the mobile device and sends the fourth device information to the terminal controller;
wherein, the server remotely supervises the mobile device according to the fourth device information, including:
the server determines the running state of the mobile equipment according to the fourth equipment information;
the server executes a second operation on the mobile equipment according to the running state of the mobile equipment;
the terminal controller receives a second adb command sent by the server, and installs an agent service program in the mobile equipment accessed to the terminal controller according to the second adb command, wherein the agent service program acquires fourth equipment information of the mobile equipment at a second preset frequency, and after the agent service program acquires the fourth equipment information of the mobile equipment, the agent service program reports the fourth equipment information to the terminal controller; the terminal controller receives fourth equipment information of the mobile equipment reported by the agent service program and reports the fourth equipment information to the server, and equipment management personnel check the fourth equipment information of the mobile equipment received by the server at any time through the monitoring terminal so as to know the running condition of the mobile equipment and send a second operation instruction to the server through the monitoring terminal according to the running condition of the mobile equipment, so that the server executes second operation on the mobile equipment through the terminal controller;
the server generates a mobile equipment layout according to the third equipment information and the fourth equipment information; the method comprises the following steps that an equipment manager quickly positions mobile equipment needing to be managed or having faults according to a mobile equipment layout; the tester quickly finds the mobile equipment to be tested meeting the testing conditions according to the mobile equipment layout; the method comprises the steps that a user selects a mobile device to be tested in a mobile device layout diagram, the server searches the mobile terminal to be tested according to the test requirement by inputting the test requirement in the test terminal, and after the test terminal searches the mobile device to be tested, the test terminal obtains first device information of the mobile device to be tested through a terminal controller corresponding to the mobile device to be tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379448.2A CN107168841B (en) | 2017-05-25 | 2017-05-25 | Remote testing method and device for mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379448.2A CN107168841B (en) | 2017-05-25 | 2017-05-25 | Remote testing method and device for mobile equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107168841A CN107168841A (en) | 2017-09-15 |
CN107168841B true CN107168841B (en) | 2020-05-12 |
Family
ID=59820552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710379448.2A Expired - Fee Related CN107168841B (en) | 2017-05-25 | 2017-05-25 | Remote testing method and device for mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168841B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616417A (en) * | 2018-03-27 | 2018-10-02 | 广州掌动智能科技有限公司 | Cloud test platform and its control method |
CN109445896B (en) * | 2018-10-29 | 2021-04-30 | 北京云测信息技术有限公司 | Intelligent terminal user interface data acquisition system and method |
CN109962925A (en) * | 2019-04-09 | 2019-07-02 | 苏州浪潮智能科技有限公司 | A kind of method and device for testing terminal |
CN110543416A (en) * | 2019-08-02 | 2019-12-06 | 广州探迹科技有限公司 | Method, device, equipment and storage medium for automatically testing terminal program |
CN112416439B (en) * | 2019-08-20 | 2024-03-05 | 广州弘度信息科技有限公司 | Remote restarting system of server and control method thereof |
CN111158925B (en) * | 2019-12-05 | 2024-02-23 | 中移(杭州)信息技术有限公司 | Remote terminal debugging method, terminal, server and storage medium |
CN111159031B (en) * | 2019-12-24 | 2023-11-24 | 珠海市小源科技有限公司 | Method for automatically testing application mobile terminal, computer device and computer readable storage medium |
CN112596429A (en) * | 2020-12-04 | 2021-04-02 | 北京云测信息技术有限公司 | Control management system of intelligent cabinet |
CN112685296A (en) * | 2020-12-25 | 2021-04-20 | 江苏云柜网络技术有限公司 | Test method, test device, electronic equipment and storage medium |
CN113014996B (en) * | 2021-02-18 | 2022-07-22 | 上海哔哩哔哩科技有限公司 | Video generation method and device |
CN115514750A (en) * | 2021-06-21 | 2022-12-23 | 北京字节跳动网络技术有限公司 | Electronic device remote control method, server, system, medium, and device |
CN113836040A (en) * | 2021-11-03 | 2021-12-24 | 盐城金堤科技有限公司 | Application program testing method and device, computer storage medium and electronic equipment |
CN114466401B (en) * | 2022-03-02 | 2024-03-22 | 北京新氧科技有限公司 | Image transmission method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436416A (en) * | 2011-09-17 | 2012-05-02 | 北京迈凯互动网络科技有限公司 | Testing system and method for mobile equipment |
CN103268288A (en) * | 2013-06-18 | 2013-08-28 | 北京云测信息技术有限公司 | Remote real machine debugging method and system of mobile terminal application software |
CN104536900A (en) * | 2015-01-21 | 2015-04-22 | 小米科技有限责任公司 | Method and device for controlling mobile terminal |
CN105338110A (en) * | 2015-11-23 | 2016-02-17 | 小米科技有限责任公司 | Remote debugging method, platform and server |
CN106385464A (en) * | 2016-11-04 | 2017-02-08 | 珠海金山网络游戏科技有限公司 | Method and system for remotely controlling terminal |
US9645910B1 (en) * | 2015-03-12 | 2017-05-09 | Amazon Technologies, Inc. | Cross platform mobile HTML debugging |
-
2017
- 2017-05-25 CN CN201710379448.2A patent/CN107168841B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436416A (en) * | 2011-09-17 | 2012-05-02 | 北京迈凯互动网络科技有限公司 | Testing system and method for mobile equipment |
CN103268288A (en) * | 2013-06-18 | 2013-08-28 | 北京云测信息技术有限公司 | Remote real machine debugging method and system of mobile terminal application software |
CN104536900A (en) * | 2015-01-21 | 2015-04-22 | 小米科技有限责任公司 | Method and device for controlling mobile terminal |
US9645910B1 (en) * | 2015-03-12 | 2017-05-09 | Amazon Technologies, Inc. | Cross platform mobile HTML debugging |
CN105338110A (en) * | 2015-11-23 | 2016-02-17 | 小米科技有限责任公司 | Remote debugging method, platform and server |
CN106385464A (en) * | 2016-11-04 | 2017-02-08 | 珠海金山网络游戏科技有限公司 | Method and system for remotely controlling terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107168841A (en) | 2017-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107168841B (en) | Remote testing method and device for mobile equipment | |
US11507450B2 (en) | Systems and methods to reprogram mobile devices via a cross-matrix controller to port connection | |
US10664388B2 (en) | Continuous integration testing for network-based applications | |
US10503623B2 (en) | Monitoring containerized applications | |
AU2016250350B2 (en) | Orchestrating and providing a regression test | |
CN106844136B (en) | Method and system for collecting program crash information | |
CN109032825B (en) | Fault injection method, device and equipment | |
CN104063305A (en) | Pressure testing method, device and system for intelligent terminal software | |
US9846608B2 (en) | Providing application operational insights to users based on crowd sourced performance metrics for operational states | |
US11438249B2 (en) | Cluster management method, apparatus and system | |
US20170060653A1 (en) | Wrapped applications providing operational insight to users based on rules for acceptable operational state performance | |
CN110515795B (en) | Big data component monitoring method and device and electronic equipment | |
CN111625383B (en) | Process exception event processing method and device, electronic equipment and storage medium | |
WO2014153311A1 (en) | Automatic version management | |
CN107872363B (en) | Data packet loss processing method and system, readable storage medium and electronic device | |
Husted et al. | Android provenance: diagnosing device disorders | |
US20230315620A1 (en) | System and Method for Diagnosing a Computing Device in Safe Mode | |
CN113342376B (en) | Method and device for upgrading operating system of Internet of things equipment | |
US10075352B2 (en) | Monitoring user terminal applications using performance statistics for combinations of different reported characteristic dimensions and values | |
CA2947893C (en) | Orchestrating and providing a regression test | |
CN110990181A (en) | Method and system for automatically reproducing probabilistic setting failure of options in BIOS (basic input/output System) | |
US9985851B2 (en) | Controlling reporting by an instrument encapsulation module encapsulating an application program on a user terminal | |
US8510601B1 (en) | Generating service call patterns for systems under test | |
CN115599637A (en) | Memory overflow detection method, device, system, storage medium and computer equipment | |
CN117917646A (en) | Process management and control method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200512 |
|
CF01 | Termination of patent right due to non-payment of annual fee |