CN113204494B - Terminal remote test platform and method, electronic equipment and readable medium - Google Patents

Terminal remote test platform and method, electronic equipment and readable medium Download PDF

Info

Publication number
CN113204494B
CN113204494B CN202110597302.1A CN202110597302A CN113204494B CN 113204494 B CN113204494 B CN 113204494B CN 202110597302 A CN202110597302 A CN 202110597302A CN 113204494 B CN113204494 B CN 113204494B
Authority
CN
China
Prior art keywords
terminal
module
tested
mapping
remote test
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.)
Active
Application number
CN202110597302.1A
Other languages
Chinese (zh)
Other versions
CN113204494A (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.)
Changsha Daojia Youxiang Home Economics Service Co ltd
Original Assignee
Changsha Daojia Youxiang Home Economics Service 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 Changsha Daojia Youxiang Home Economics Service Co ltd filed Critical Changsha Daojia Youxiang Home Economics Service Co ltd
Priority to CN202110597302.1A priority Critical patent/CN113204494B/en
Publication of CN113204494A publication Critical patent/CN113204494A/en
Application granted granted Critical
Publication of CN113204494B publication Critical patent/CN113204494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

A terminal remote test platform and method, an electronic device and a readable medium, wherein the terminal remote test platform comprises: the real machine access module is used for accessing the terminal to be tested; the front-end page module is used for inputting remote test operation of a user on the terminal to be tested; the mapping module is used for mapping the remote test operation input by the front-end page module into the actual operation of the terminal to be tested; and the testing module is used for testing the terminal to be tested which is accessed by the real machine access module according to the actual operation mapped by the mapping module. The terminal remote test platform can be accessed to terminals of all types in different office areas, and a user can remotely operate the terminals in different places by logging in the terminal remote test platform without mailing or purchasing a plurality of terminals, so that the test efficiency and the test cost can be effectively improved while the test of the terminals is facilitated.

Description

Terminal remote test platform and method, electronic equipment and readable medium
Technical Field
The invention belongs to the technical field of remote testing, and particularly relates to an online video live broadcast technology, in particular to a terminal remote testing platform, a testing method, electronic equipment and a computer readable medium.
Background
With popularization of the application range of intelligent terminals (such as mobile phones, tablet computers, intelligent wearable devices and the like), application programs of the terminals are increasing. The terminal compatibility problem may be caused by the difference of software and hardware of different types of terminals. Therefore, testing of terminals and applications on terminals requires testing compatibility.
At present, many enterprises can set up office areas in a plurality of different areas, when carrying out compatibility test on terminals in different office areas and application programs in the terminals, the terminals are mailed across areas, or terminals of various types are purchased in each office area, and obviously, the problem of low test efficiency and high test cost can be caused by inconvenient test.
Disclosure of Invention
In view of the above, the invention aims to solve the technical problems of low testing efficiency and high testing cost caused by inconvenient compatibility testing of the existing terminals in different office areas.
In order to solve the above technical problems, a first aspect of the present invention provides a remote terminal test platform, including:
the system comprises a real machine access module, a front end page module, a mapping module and a testing module which are connected in sequence, wherein:
the real machine access module is used for accessing the terminal to be tested;
the front-end page module is used for inputting remote test operation of a user on the terminal to be tested;
the mapping module is used for mapping the remote test operation input by the front-end page module into the actual operation of the terminal to be tested;
and the testing module is used for testing the terminal to be tested which is accessed by the real machine access module according to the actual operation mapped by the mapping module.
The second aspect of the present invention provides a method for remotely testing a terminal, where the method adopts the remote terminal testing platform described in any one of the above, and includes the following steps:
accessing a terminal to be tested through a real machine test module;
inputting remote test operation of a user on the terminal to be tested through a front-end page module;
mapping the remote test operation into actual operation of the terminal to be tested through a mapping module;
and testing the terminal to be tested accessed by the real machine access module through a testing module according to the actual operation mapped by the mapping module.
The third aspect of the invention also proposes an electronic device comprising a processor and a memory for storing a computer executable program, which processor performs the method when the computer program is executed by the processor.
The fourth aspect of the present invention also proposes a computer readable medium storing a computer executable program, which when executed, implements the method.
Based on the above technical solutions, the remote terminal test platform, the remote terminal test method, the electronic device and the computer readable medium of the present invention have at least one of the following advantages compared with the prior art:
according to the invention, a remote test operation of a user on the terminal to be tested is input through a front-end page module by accessing a terminal to be tested in a different place through a real machine access module, the remote test operation is mapped into an actual operation on the terminal to be tested through a mapping module, and the terminal to be tested is tested according to the actual operation through a testing module, so that flexible and convenient remote test can be realized, and the problems of mail loss, long mail path time and the like in the mailing process are avoided;
the terminal remote test platform can be connected to terminals of all types in different office areas, has good expansibility, and can be operated remotely by a user by logging in the terminal remote test platform without mailing or purchasing a plurality of terminals, so that the test efficiency and the test cost can be effectively improved while the terminal test is convenient.
Drawings
FIG. 1 is a schematic diagram of a structural framework of a remote testing platform for a terminal according to the present invention;
FIG. 2a is a schematic diagram showing device information of a plurality of terminals to be tested accessed according to the present invention;
FIG. 2b is a schematic diagram of a synchronous display target terminal interface according to the present invention;
FIG. 3 is a schematic diagram of a remote test performed by the terminal remote test platform of the present invention;
FIG. 4 is a flow chart of a method for remote testing of a terminal according to the present invention;
FIG. 5 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a schematic diagram of a computer-readable recording medium according to an embodiment of the present invention.
Detailed Description
In describing particular embodiments, specific details of construction, performance, effects, or other features are set forth in order to provide a thorough understanding of the embodiments by those skilled in the art. It is not excluded, however, that one skilled in the art may implement the present invention in a particular situation in a solution that does not include the structures, properties, effects, or other characteristics described above.
The flow diagrams in the figures are merely exemplary flow illustrations and do not represent that all of the elements, operations, and steps in the flow diagrams must be included in the aspects of the invention, nor that the steps must be performed in the order shown in the figures. For example, some operations/steps in the flowcharts may be decomposed, some operations/steps may be combined or partially combined, etc., and the order of execution shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processing unit devices and/or micro tester devices.
The same reference numerals in the drawings denote the same or similar elements, components or portions, and thus repeated descriptions of the same or similar elements, components or portions may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various devices, elements, components or portions, these devices, elements, components or portions should not be limited by these terms. That is, these phrases are merely intended to distinguish one from the other. For example, a first device may also be referred to as a second device without departing from the spirit of the invention. Furthermore, the term "and/or," "and/or" is meant to include all combinations of any one or more of the items listed.
In order to solve the technical problems, the remote test operation of a user on the terminal to be tested is input through the front-end page module, and the remote test operation is mapped into the actual operation of the terminal to be tested through the mapping module; and testing the terminal to be tested according to the actual operation through a testing module.
In order to solve the technical problems, the invention provides a terminal remote test platform, which comprises:
the system comprises a real machine access module, a front end page module, a mapping module and a testing module which are connected in sequence, wherein:
the real machine access module is used for accessing the terminal to be tested;
the front-end page module is used for inputting remote test operation of a user on the terminal to be tested;
the mapping module is used for mapping the remote test operation input by the front-end page module into the actual operation of the terminal to be tested;
and the testing module is used for testing the terminal to be tested which is accessed by the real machine access module according to the actual operation mapped by the mapping module.
In a preferred embodiment, the real machine access module is not co-located with the front end page module.
In a preferred embodiment, the terminal remote test platform further comprises: the cluster deployment module is used for deploying clusters for the terminal remote control platform so as to connect the plurality of real machine access modules to respectively access the plurality of terminals to be tested.
In a preferred embodiment, the front-end page module includes a list occupancy sub-module and a device synchronization sub-module, wherein:
the list occupation submodule is used for acquiring and displaying equipment information of a plurality of accessed terminals to be tested and connecting a target terminal from the terminals to be tested according to user operation;
the device synchronization sub-module is used for synchronously displaying a target terminal interface and inputting remote test operation of a user on the target terminal interface.
In a preferred embodiment, the mapping module maps the operation position, the operation mode and/or the operation object of the remote test operation to the actual operation position, the actual operation mode and/or the actual operation object of the target terminal respectively.
In a preferred embodiment, the actual operation object is a physical key of the target terminal, and the test mapping module maps the operation object to the actual operation object by encapsulating an ADB command.
Preferably, the test module remotely connects the command test target terminal through the ADB.
In a preferred embodiment, the platform front end page module is further configured to input an end operation of the target terminal by the user, and disconnect the connection with the target terminal.
The terminal remote test platform can be connected with all types of terminals in different places of offices, and a user can remotely operate the terminals in different places by logging in the terminal remote test platform without mailing or purchasing a plurality of terminals, so that the terminal test is convenient, and the test efficiency and the test cost can be effectively improved.
The terminal remote test platform deploys clusters through the cluster deployment module, so that a real machine access module can be connected with a plurality of terminals to be tested in different places, the access of multiple terminals is realized, the same user can respectively test the plurality of connected terminals, and a plurality of users can also respectively test the plurality of connected terminals to be tested at the same time.
The present invention will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Fig. 1 is a schematic diagram of a structural framework of an integrated live broadcast platform provided by the present invention, as shown in fig. 1, the remote terminal test platform includes: the system comprises a real machine access module 31, a front end page module 32, a mapping module 33 and a test module 34 which are connected in sequence. Wherein:
the real machine access module 31 is used for accessing the terminal to be tested;
the front end page module 32 is configured to input a remote test operation of the terminal to be tested by a user;
the mapping module 33 is configured to map the remote test operation input by the front-end page module to an actual operation of the terminal to be tested;
and the testing module 34 is used for testing the terminal to be tested accessed by the real machine access module according to the actual operation mapped by the mapping module.
The real machine access module 31 and the front end page module 32 are not located at the same physical location. Thereby realizing remote testing of the terminal to be tested in different places.
Illustratively, the real machine access module 31 includes a connection port through which it is connected to a physical port of a terminal to be tested to access the terminal to be tested. The connection port may specifically be: a USB port.
The front end page module 32 may synchronously display the terminal to be tested and input a remote test operation of the user on the test terminal.
The remote test operation refers to an operation performed by the user on the terminal to be tested displayed by the front end page module 32, and may be an operation performed by the user on a certain position of the terminal interface to be tested displayed by the front end page module 32 or an operation performed by clicking, sliding, pressing, continuously pressing an actual key of the terminal to be tested. The interface refers to an interface which is currently opened by the terminal to be tested, and can be a starting-up interface of the terminal to be tested, an interface of a certain application program of the terminal to be tested and the like. The actual key of the terminal to be tested can be an actual physical key such as a start key, a volume key and the like. The user may input the remote test operation through a finger or a mouse, a stylus, or the like.
The mapping module 33 maps the operation position, operation mode, and/or operation object of the remote test operation to the actual operation position, actual operation mode, and/or actual operation object of the target terminal.
In an example, the mapping module 33 may directly obtain the operation position, the operation manner, and/or the operation object of the remote test operation, and map the operation position, the operation manner, and/or the operation object of the remote test operation to the actual operation position, the actual operation manner, and/or the actual operation object of the target terminal.
In another example, the mapping module 33 decomposes the remote test operation before mapping, and the mapping module 33 includes:
and the decomposition module is used for decomposing the remote test operation into an operation position, an operation mode and/or an operation object. When the remote test operation of the user is an operation performed on the terminal interface, the remote test operation is decomposed into an operation position and an operation mode by the decomposition operation. The operation position is used for recording the coordinate position of the terminal displayed by the front end page module 32 through the remote test operation of the user, such as click coordinates, sliding coordinates and the like. The coordinate position may be a coordinate obtained based on a display interface coordinate system of the front-end page module 32, or may be a coordinate obtained based on a terminal interface coordinate system in the front-end page module 32, which is not particularly limited in the present invention. The operation mode is used for distinguishing the type of remote test operation of the user, such as clicking, sliding, pressing and the like. When the remote test operation is an operation on an actual key of the terminal, the remote test operation is decomposed into an operation object and an operation mode by the decomposition operation. The operation object refers to an actual key of the terminal displayed on the front end page module 32 by the remote test operation of the user.
The sub-mapping module is used for mapping the operation position of the remote test operation to the actual operation position of the terminal to be tested, mapping the operation mode of the remote test operation to the actual operation mode of the terminal to be tested, and mapping the operation object of the remote test operation to the actual operation object of the terminal to be tested.
For example, in a specific mapping process, for mapping an operation position, a coordinate transformation relationship between a coordinate system where the front end page module 32 display interface is located and a coordinate system where the target terminal display interface is located may be stored in advance, and then the operation position of the remote test operation is mapped to an actual operation position of the terminal to be tested according to the coordinate transformation relationship. For the mapping of the operation modes, a mapping relation of the operation modes of the remote test operation to the actual operation modes of the target terminal can be preconfigured, and the operation modes of the remote test operation are mapped to the actual operation modes of the target terminal through the mapping relation. Of course, the operation mode of the remote test operation may be directly used as the actual operation mode of the target terminal without configuring the mapping relation. And for mapping of the actual operation object, mapping the operation object of the remote test operation into the actual operation object of the target terminal through the encapsulation ADB command. The actual operation object is a physical key of the target terminal. Among these, ADB (Android Debug Bridge ) is a command line tool that can be used to operate devices to be tested. According to the invention, the actual operation object of the target terminal is simulated through the encapsulation ADB command, so that the operation object of the remote test operation is mapped into the actual operation object of the target terminal. Wherein the encapsulation may be: the complex ADB command is converted into a simple operation button. Such as: adb shell input tap 5401104> click (540, 1104).
The test module 34 remotely connects the command test target terminal through the ADB. Wherein the ADB remote connect command may be selected according to the test target. The ADB remote connect command may be: viewing devices, installing programs, uninstalling programs, entering device shells, restarting devices, mounting, etc.
In another specific embodiment, the terminal remote control platform further includes: and the cluster deployment module is used for deploying clusters for the terminal remote control platform so that the plurality of real machine access modules can access a plurality of terminals to be tested. The true machine access module 31 can be ensured to be accessed into a plurality of different-place terminals to be tested so as to realize multi-terminal access, the same user can respectively test the plurality of accessed terminals, and a plurality of users can also respectively test the plurality of accessed terminals to be tested at the same time.
Correspondingly, the front-end page module 32 includes: the list occupancy sub-module and the device synchronization sub-module,
the list occupation submodule is used for acquiring and displaying equipment information of a plurality of accessed terminals to be tested and connecting a target terminal from the terminals to be tested according to user operation; the device information includes: total number of devices, device name, device model number, device manufacturer, device date of manufacture, device status, etc. The device state includes: the method is disconnected, is in test and stops being used, and a user can intuitively see the states of all terminals to be tested through the states of the equipment. As shown in fig. 2a, the device information may be displayed in the form of a list of devices. The user operation refers to an operation of selecting a target terminal from a plurality of terminals to be tested by a user.
The device synchronization sub-module is used for synchronously displaying a target terminal interface and inputting remote test operation of a user on the target terminal interface. Specifically, if the device synchronization sub-module mirrors all the programs in the target terminal, as shown in fig. 2b, all the application icons (i.e. the geometric patterns in fig. 2 b) of the target terminal are synchronously displayed on the display interface 10 of the terminal remote control platform. The user can see the interface 11 of the target terminal through the display interface 10 of the terminal remote control platform.
Furthermore, after the user finishes the test, the target machine can be released through the ending operation of the terminal remote test platform, so that the storage space is saved. The platform front end page module is further used for inputting the ending operation of the user on the target terminal and disconnecting the connection with the target terminal. The ending operation may be a click operation of a button specified by a user in the terminal remote test platform, or the like.
As shown in fig. 3, the terminal remote test platform provided by the invention supports a user to log in through a terminal such as a PC and a mobile phone, and the terminal to be tested and the user can be directly connected to the terminal remote test platform for testing when in the same office, and the terminal to be tested and the user are not in the same office, and the terminal remote test platform is connected to the terminal through the remote terminal for testing. Further, the invention also comprises: and (5) remotely debugging and executing an automation script through the ADB.
Fig. 4 is a schematic flow chart of a method for remotely testing a terminal, where the method adopts any one of the above-mentioned remote terminal testing platforms, as shown in fig. 4, and the method includes the following steps:
s501, accessing a terminal to be tested through a true machine test module;
s502, inputting remote test operation of a user on the terminal to be tested through a front-end page module;
illustratively, the front-end page module includes a list occupying sub-module and a device synchronization sub-module, and the steps include:
s51, acquiring and displaying equipment information of a plurality of accessed terminals to be tested through a list occupation sub-module, and connecting a target terminal from the terminals to be tested according to user operation;
s52, synchronously displaying a target terminal interface through the equipment synchronization submodule, and inputting remote test operation of a user on the target terminal interface.
S503, mapping the remote test operation into an actual operation of the terminal to be tested through a mapping module;
for example, the operation position, the operation manner, and/or the operation object of the remote test operation are mapped to the actual operation position, the actual operation manner, and/or the actual operation object of the target terminal. The actual operation object is a physical key of the target terminal, and the test mapping module maps the operation object into the actual operation object through the encapsulation ADB command.
S504, testing the terminal to be tested accessed by the real machine access module through the testing module according to the actual operation mapped by the mapping module.
The test target terminal may be commanded by an ADB remote connection, for example. Wherein the ADB remote connect command may be selected according to the test target. The ADB remote connect command may be: viewing devices, installing programs, uninstalling programs, entering device shells, restarting devices, mounting, etc.
Further, after the test on the target terminal is completed, the method further includes: and inputting the ending operation of the user on the target terminal through the front-end page module, and disconnecting the connection with the target terminal.
Fig. 5 is a schematic structural view of an electronic device according to an embodiment of the present invention, the electronic device including a processor and a memory for storing a computer-executable program, the processor executing a live-view switching method when the computer program is executed by the processor.
As shown in fig. 5, the electronic device is in the form of a general purpose computing device. The processor may be one or a plurality of processors and work cooperatively. The invention does not exclude that the distributed processing is performed, i.e. the processor may be distributed among different physical devices. The electronic device of the present invention is not limited to a single entity, but may be a sum of a plurality of entity devices.
The memory stores a computer executable program, typically machine readable code. The computer readable program may be executable by the processor to enable an electronic device to perform the method, or at least some of the steps of the method, of the present invention.
The memory includes volatile memory, such as Random Access Memory (RAM) and/or cache memory, and may be non-volatile memory, such as Read Only Memory (ROM).
Optionally, in this embodiment, the electronic device further includes an I/O interface, which is used for exchanging data between the electronic device and an external device. The I/O interface may be a bus representing one or more of several types of bus structures including a memory unit bus or memory unit tester, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
It should be understood that the electronic device shown in fig. 5 is only one example of the present invention, and the electronic device of the present invention may further include elements or components not shown in the above examples. For example, some electronic devices further include a display unit such as a display screen, and some electronic devices further include a man-machine interaction element such as a button, a keyboard, and the like. The electronic device may be considered as covered by the invention as long as the electronic device is capable of executing a computer readable program in a memory for carrying out the method or at least part of the steps of the method.
Fig. 6 is a schematic diagram of a computer-readable recording medium of an embodiment of the present invention. As shown in fig. 6, a computer-readable recording medium stores a computer-executable program that, when executed, implements the live view switching method described above. The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
From the above description of embodiments, those skilled in the art will readily appreciate that the present invention may be implemented by hardware capable of executing a specific computer program, such as the system of the present invention, as well as electronic processing units, servers, clients, handsets, test units, processors, etc. included in the system, as well as by a vehicle comprising at least a portion of the above system or component. The invention may also be implemented by computer software executing the method of the invention, for example by test software executed by a microprocessor, an electronic test unit, a client, a server, etc. of a live device. It should be noted, however, that the computer software for executing the method of the present invention is not limited to being executed by one or a specific hardware entity, but may be implemented in a distributed manner by unspecified specific hardware, and for the computer software, the software product may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.), or may be stored in a distributed manner on a network, as long as it enables an electronic device to execute the method according to the present invention.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (8)

1. A terminal remote test platform, comprising: the system comprises a real machine access module, a front end page module, a mapping module and a testing module which are connected in sequence, wherein:
the real machine access module is used for accessing the terminal to be tested;
the front-end page module is used for inputting remote test operation of a user on the terminal to be tested;
the mapping module is used for mapping the remote test operation input by the front-end page module into the actual operation of the terminal to be tested;
the testing module is used for testing the terminal to be tested accessed by the real machine access module according to the actual operation mapped by the mapping module;
wherein: the mapping module comprises:
the decomposition module is used for decomposing the remote test operation into an operation position, an operation mode and/or an operation object;
the sub-mapping module is used for mapping the operation position of the remote test operation to the actual operation position of the terminal to be tested, mapping the operation mode of the remote test operation to the actual operation mode of the terminal to be tested and mapping the operation object of the remote test operation to the actual operation object of the terminal to be tested; wherein: for mapping of the operation positions, pre-storing a coordinate transformation relation between a coordinate system where the front-end page module display interface is located and a coordinate system where the terminal display interface to be tested is located, and mapping the operation positions of the remote test operation into actual operation positions of the terminal to be tested according to the coordinate transformation relation; for the mapping of the operation modes, the mapping relation of the operation modes of the remote test operation to the actual operation modes of the terminals to be tested is pre-configured, and the operation modes of the remote test operation are mapped to the actual operation modes of the terminals to be tested through the mapping relation; the sub-mapping module maps the operation object into an actual operation object by packaging an ADB command; and the test module tests the terminal to be tested through the ADB remote connection command.
2. The terminal remote test platform of claim 1, wherein the real machine access module is not co-located with the front end page module.
3. The terminal remote test platform of claim 1, further comprising: the cluster deployment module is used for deploying clusters for the terminal remote test platform so as to connect the plurality of real machine access modules to respectively access the plurality of terminals to be tested.
4. The terminal remote test platform of claim 3, wherein the front-end page module comprises a list occupancy sub-module and a device synchronization sub-module, wherein:
the list occupation submodule is used for acquiring and displaying equipment information of a plurality of accessed terminals to be tested and connecting a target terminal from the terminals to be tested according to user operation;
the device synchronization sub-module is used for synchronously displaying a target terminal interface and inputting remote test operation of a user on the target terminal interface.
5. The terminal remote test platform according to claim 4, wherein the front end page module is further configured to input an ending operation of a target terminal by a user, and disconnect from the target terminal.
6. A method for remotely testing a terminal, wherein the method adopts the remote terminal testing platform according to any one of claims 1 to 5, and comprises the following steps:
accessing a terminal to be tested through a real machine test module;
inputting remote test operation of a user on the terminal to be tested through a front-end page module;
mapping the remote test operation into actual operation of the terminal to be tested through a mapping module;
testing a terminal to be tested accessed by the real machine access module through a test module according to the actual operation mapped by the mapping module;
the mapping, by the mapping module, the remote test operation to an actual operation on the terminal to be tested includes:
decomposing the remote test operation into an operation position, an operation mode and/or an operation object;
mapping the operation position of the remote test operation to the actual operation position of the terminal to be tested, mapping the operation mode of the remote test operation to the actual operation mode of the terminal to be tested, and mapping the operation object of the remote test operation to the actual operation object of the terminal to be tested; wherein: for mapping of the operation positions, pre-storing a coordinate transformation relation between a coordinate system where the front-end page module display interface is located and a coordinate system where the terminal display interface to be tested is located, and mapping the operation positions of the remote test operation into actual operation positions of the terminal to be tested according to the coordinate transformation relation; for the mapping of the operation modes, the mapping relation of the operation modes of the remote test operation to the actual operation modes of the terminals to be tested is pre-configured, and the operation modes of the remote test operation are mapped to the actual operation modes of the terminals to be tested through the mapping relation; the sub-mapping module maps the operation object into an actual operation object by packaging an ADB command; and the test module tests the terminal to be tested through the ADB remote connection command.
7. An electronic device comprising a processor and a memory for storing a computer executable program, characterized in that:
the computer executable program, when executed by the processor, performs the method of claim 6.
8. A computer readable medium storing a computer executable program, wherein the computer executable program when executed implements the method of claim 6.
CN202110597302.1A 2021-05-29 2021-05-29 Terminal remote test platform and method, electronic equipment and readable medium Active CN113204494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110597302.1A CN113204494B (en) 2021-05-29 2021-05-29 Terminal remote test platform and method, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110597302.1A CN113204494B (en) 2021-05-29 2021-05-29 Terminal remote test platform and method, electronic equipment and readable medium

Publications (2)

Publication Number Publication Date
CN113204494A CN113204494A (en) 2021-08-03
CN113204494B true CN113204494B (en) 2023-05-12

Family

ID=77023582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110597302.1A Active CN113204494B (en) 2021-05-29 2021-05-29 Terminal remote test platform and method, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN113204494B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679627A (en) * 2013-12-02 2015-06-03 腾讯科技(深圳)有限公司 Testing method and device
CN108111369A (en) * 2017-12-22 2018-06-01 北京奇虎科技有限公司 The test method and device of a kind of webpage performance of mobile terminal
CN110456927A (en) * 2019-08-13 2019-11-15 腾讯科技(深圳)有限公司 Operation mapping method, device and the computer equipment of equipment room
CN110968513A (en) * 2019-11-29 2020-04-07 北京云测信息技术有限公司 Recording method and device of test script
US10725890B1 (en) * 2017-07-12 2020-07-28 Amazon Technologies, Inc. Program testing service

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577320A (en) * 2012-08-07 2014-02-12 卓望数码技术(深圳)有限公司 Testing method and system of remote terminals
CN105512043A (en) * 2015-12-24 2016-04-20 百度在线网络技术(北京)有限公司 Test method and device
CN108804302B (en) * 2017-05-04 2023-04-18 腾讯科技(深圳)有限公司 Remote testing method, system and related equipment
CN109861950A (en) * 2017-11-30 2019-06-07 阿里巴巴集团控股有限公司 Equipment remote debugging method, device, equipment and storage medium
US10853232B2 (en) * 2018-01-19 2020-12-01 Spirent Communications, Inc. Adaptive system for mobile device testing
CN110968501A (en) * 2018-09-30 2020-04-07 北京奇虎科技有限公司 Linkage testing method and device for application program compatibility
CN109684218A (en) * 2018-12-26 2019-04-26 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN110795022B (en) * 2019-11-08 2022-03-15 北京字节跳动网络技术有限公司 Terminal testing method, system and storage medium
CN111817921B (en) * 2020-07-20 2022-04-12 网易(杭州)网络有限公司 Mobile test equipment, test method, device, system and networking method
CN111949515A (en) * 2020-07-23 2020-11-17 上海硬通网络科技有限公司 Test scene reproduction method and device and electronic equipment
CN111949517A (en) * 2020-07-23 2020-11-17 上海硬通网络科技有限公司 Remote real machine testing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679627A (en) * 2013-12-02 2015-06-03 腾讯科技(深圳)有限公司 Testing method and device
US10725890B1 (en) * 2017-07-12 2020-07-28 Amazon Technologies, Inc. Program testing service
CN108111369A (en) * 2017-12-22 2018-06-01 北京奇虎科技有限公司 The test method and device of a kind of webpage performance of mobile terminal
CN110456927A (en) * 2019-08-13 2019-11-15 腾讯科技(深圳)有限公司 Operation mapping method, device and the computer equipment of equipment room
CN110968513A (en) * 2019-11-29 2020-04-07 北京云测信息技术有限公司 Recording method and device of test script

Also Published As

Publication number Publication date
CN113204494A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN108958736B (en) Page generation method and device, electronic equipment and computer readable medium
CN108345543B (en) Data processing method, device, equipment and storage medium
TWI453603B (en) Platform independent information handling system, communication method, and computer program product thereof
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN111597110B (en) Page test method and device, electronic equipment and storage medium
CN111427569B (en) Method and device for adapting installation-free program, electronic equipment and storage medium
CN110968305A (en) Applet visualization generation method, device, equipment and storage medium
CN103984626A (en) Method and device for generating test-case script
US7974829B2 (en) System for simulating mobile phone and method thereof
CN111858296A (en) Interface test method, device, equipment and storage medium
CN107885661A (en) The terminal transparency method of testing and system of Mobile solution, equipment, medium
US20080120603A1 (en) Automation of keyboard accessibility testing
US20080057914A1 (en) Pseudo-Remote Terminal IOTA Mobile Diagnostics and Electronic Customer Care
CN109840201B (en) UI test method, device, electronic equipment and computer readable storage medium
Huebner et al. Rifidi toolkit: Virtuality for testing rfid systems
CN113204494B (en) Terminal remote test platform and method, electronic equipment and readable medium
CN112667517A (en) Method, device, equipment and storage medium for acquiring automatic test script
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN111061522A (en) Method, device, equipment and storage medium for generating front-end card assembly based on back end
CN114745313A (en) Terminal remote testing method and device, electronic equipment and readable medium
CN112073505B (en) Method for unloading on cloud server, control device and storage medium
CN114461223A (en) Code generation method and device and terminal equipment
CN111813407B (en) Game development method, game running device and electronic equipment
CN112182083A (en) File generation method, device, 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