CN111090577B - Multi-terminal synchronous test method and device, computer equipment and storage medium - Google Patents

Multi-terminal synchronous test method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111090577B
CN111090577B CN201910969133.2A CN201910969133A CN111090577B CN 111090577 B CN111090577 B CN 111090577B CN 201910969133 A CN201910969133 A CN 201910969133A CN 111090577 B CN111090577 B CN 111090577B
Authority
CN
China
Prior art keywords
terminal
test
tested
list
app
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
CN201910969133.2A
Other languages
Chinese (zh)
Other versions
CN111090577A (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.)
Ping An E Wallet Electronic Commerce Co Ltd
Original Assignee
Ping An E Wallet Electronic Commerce 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 Ping An E Wallet Electronic Commerce Co Ltd filed Critical Ping An E Wallet Electronic Commerce Co Ltd
Priority to CN201910969133.2A priority Critical patent/CN111090577B/en
Publication of CN111090577A publication Critical patent/CN111090577A/en
Application granted granted Critical
Publication of CN111090577B publication Critical patent/CN111090577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3684Test management for test design, e.g. generating new test cases
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a multi-terminal synchronous test method, a multi-terminal synchronous test device, computer equipment and a storage medium. Correspondingly acquiring a stored online equipment list according to a connection instruction of a current test terminal; adding terminal information corresponding to the current test terminal to the online equipment list to update the online equipment list; according to the received main control terminal selection instruction, the main control terminal and the controlled terminal are correspondingly identified in the online equipment list; transmitting APP operation information to be tested, which is transmitted by the received main control terminal, to the controlled terminal; and receiving test video data corresponding to the APP operation information to be tested, which is uploaded by each test terminal in the online equipment list, and displaying the test video data in a display area. The method realizes that the single operator terminal completes synchronous test on a plurality of test terminals, and the corresponding test video data can be displayed for a plurality of people to check, thereby not only improving the test efficiency, but also being capable of watching the test effect in real time according to the test video data.

Description

Multi-terminal synchronous test method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of functional testing technologies, and in particular, to a method and apparatus for synchronously testing multiple terminals, a computer device, and a storage medium.
Background
At present, when a tester performs compatibility test of an application program (namely APP) on mobile equipment, the tester downloads the APP on each type of terminal to be tested, and the tester manually operates the test APP of the terminal to be tested in the whole process of installing, opening and upgrading to uninstalling. That is, when there are multiple types or models of terminals to be tested that need to perform compatibility test for the same APP, one method is that one tester manually operates the whole process of installing, opening and upgrading the test APP of the terminal to be tested from the installation to the unloading one by one, and another method is that multiple testers simultaneously operate the whole process of installing, opening and upgrading the test APP from the installation to the unloading one by one at the test terminals of different types or models. The whole process of installing, opening and upgrading to uninstalling is required to be operated repeatedly when the APP to be tested performs compatibility test on test terminals of different models or machine types, so that the test efficiency is low, and the test labor cost is high.
Disclosure of Invention
The embodiment of the invention provides a multi-terminal synchronous test method, a multi-terminal synchronous test device, computer equipment and a storage medium, and aims to solve the problems that in the prior art, when a tester performs compatibility test of an application program on mobile equipment, the tester downloads APP on each type of terminal to be tested, and the tester manually operates the whole process from installation, opening and upgrading to unloading of the test APP of one or more terminals to be tested, so that the test efficiency is low and synchronous check of the test process cannot be performed.
In a first aspect, an embodiment of the present invention provides a multi-terminal synchronization test method, including:
if the connection instruction of the current test terminal is detected, acquiring a stored online equipment list;
acquiring terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list so as to update the online equipment list; the online equipment list comprises a plurality of pieces of terminal information, wherein each piece of terminal information comprises an equipment name and a system version number;
according to the received main control terminal selection instruction, the main control terminal and the controlled terminal are correspondingly identified in the online equipment list;
if APP operation information to be tested, which is sent by a main control terminal, is detected, the APP operation information to be tested is sent to a test terminal corresponding to the identification of a controlled terminal in an online equipment list; the APP operation information to be tested is coordinate point information or control operation information; and
and receiving test video data corresponding to the APP operation information to be tested, which is uploaded by each test terminal in the online equipment list, and displaying the test video data in a preset display area.
In a second aspect, an embodiment of the present invention provides a multi-terminal synchronization test apparatus, including:
the online list acquisition unit is used for acquiring a stored online equipment list if the connection instruction of the current test terminal is detected;
the terminal adding unit is used for obtaining terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to the online equipment list so as to update the online equipment list; the online equipment list comprises a plurality of pieces of terminal information, wherein each piece of terminal information comprises an equipment name and a system version number;
the identification unit is used for correspondingly identifying the main control terminal and the controlled terminal in the online equipment list according to the received main control terminal selection instruction;
the operation information distribution unit is used for sending the APP operation information to be tested to a test terminal corresponding to the identification of the controlled terminal in the online equipment list if the APP operation information to be tested sent by the main control terminal is detected; the APP operation information to be tested is coordinate point information or control operation information; and
the video display unit is used for receiving the test video data corresponding to the APP operation information to be tested, which is uploaded by each test terminal in the online equipment list, and displaying the test video data in a preset display area.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the multi-terminal synchronization test method described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the multi-terminal synchronization test method described in the first aspect.
The embodiment of the invention provides a multi-terminal synchronous test method, a multi-terminal synchronous test device, computer equipment and a storage medium, which realize that a main control terminal is operated by a single person to control a plurality of controlled terminals so as to finish synchronous test of the plurality of test terminals, and test video data corresponding to the synchronous test process are displayed in a preset display area for being checked by a plurality of persons, so that the test efficiency is improved, and the test effect can be watched in real time according to the test video data.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a multi-terminal synchronization test method according to an embodiment of the present invention;
fig. 2 is a flow chart of a multi-terminal synchronization test method according to an embodiment of the present invention;
fig. 3 is another flow chart of a multi-terminal synchronization test method according to an embodiment of the present invention;
fig. 4 is a schematic sub-flowchart of a multi-terminal synchronization test method according to an embodiment of the present invention;
fig. 5 is another flow chart of a multi-terminal synchronization test method according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a multi-terminal synchronous testing device according to an embodiment of the present invention;
FIG. 7 is another schematic block diagram of a multi-terminal synchronous testing device according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a subunit of a multi-terminal synchronous testing device according to an embodiment of the present invention;
FIG. 9 is another schematic block diagram of a multi-terminal synchronous testing device according to an embodiment of the present invention;
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a multi-terminal synchronization test method according to an embodiment of the present invention; fig. 2 is a flow chart of a multi-terminal synchronous test method according to an embodiment of the present invention, where the multi-terminal synchronous test method is applied to a server, and the method is executed by application software installed in the server.
As shown in fig. 2, the method includes steps S110 to S150.
S110, if the connection instruction of the current test terminal is detected, acquiring a stored online equipment list.
In this embodiment, in order to more clearly understand the technical solution of the present application, the following description will refer to the terminal. The application describes the technical scheme at the angle of cloud test platform.
The cloud testing platform (can be understood as a cloud server with a testing function, and the cloud server is also regarded as a server), generally, the cloud testing platform can be a private cloud platform which is used for pushing APP developed in the company to a terminal of a tester in the company to perform internal closed testing, or can be a public cloud platform which is used for selectively pushing reliable volunteer terminals of APP developed in the company or the terminal of the tester in the company to participate in testing.
The cloud testing platform access terminal can be a desktop computer, a plurality of desktop computers can be connected to the cloud testing platform, the desktop computers can be located in the same area (for example, in BB area of AA) with the cloud testing platform or distributed in different areas, and each cloud testing platform access terminal provides an access port (such as a USB interface) of equipment to be tested.
The test terminal can be a smart phone or a tablet personal computer which is connected with the cloud test platform by a data line to access an access port of the cloud test platform access terminal, and the types of the test terminals which are generally connected with the cloud test platform are various so as to meet the compatibility test requirement of the APP. For example, 1000 models of test terminals may each be connected to the cloud test platform via a cloud test platform access terminal.
After the test terminals of various types are accessed to the cloud test platform through the cloud test platform access terminal, the connection instruction triggered by the test terminal is detected by the cloud test platform, and the cloud test platform firstly acquires a stored online equipment list.
S120, acquiring terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list so as to update the online equipment list; the online device list comprises a plurality of pieces of terminal information, and each piece of terminal information comprises a device name and a system version number.
In this embodiment, the cloud test platform updates the online device list in real time after receiving the terminal information, so as to ensure that the latest online device list is displayed at the current moment.
In one embodiment, as shown in fig. 3, step S120 further includes:
s1201, acquiring a device number corresponding to a current test terminal;
s1202, judging whether the device number corresponding to the current test terminal exists in a stored device white list; if the device number corresponding to the current test terminal exists in the stored device white list, step S120 is executed.
In this embodiment, in order to avoid that any test terminal can access to the cloud test platform, white list authentication needs to be performed on each test terminal accessing to the cloud test platform, which ensures that all test terminals participating in the test are reliable.
If the equipment number corresponding to the current test terminal does not exist in the stored equipment white list, sending prompt information for applying to participate in the test to the corresponding current test terminal. When the current test terminal cannot join the online equipment list, the cloud test platform is required to send prompt information for requesting to participate in the test to the current test terminal. If the request of the current test terminal for participating in the test is checked by the cloud test platform, the device number corresponding to the current test terminal is added to the stored device white list to update the stored device white list.
S130, according to the received main control terminal selection instruction, the main control terminal and the controlled terminal are correspondingly identified in the online equipment list.
In this embodiment, when all the test terminals belonging to the online device list are successfully connected with the cloud test platform and are all in an online state, any one test terminal in the online device list can send a main control terminal selection instruction to send the main control terminal selection instruction to the cloud test platform. The cloud test platform only receives a main control terminal selection instruction with earliest time sent out in the test period, for example, the online equipment list comprises a test terminal 1-a test terminal MN (MN is the total number of the test terminals), the test terminal 1 firstly sends out the main control terminal selection instruction in the test period, at this time, the test terminal 1 is selected as the main control terminal, and the test terminal 2-the test terminal MN are all controlled terminals.
In one embodiment, as shown in fig. 4, step S130 includes:
s131, if a main control terminal selection instruction uploaded by a test terminal corresponding to an online equipment list is detected, updating a test terminal corresponding to the main control terminal selection instruction in the online equipment list to be identified as a main control terminal;
s132, acquiring a target terminal set which does not identify a main control terminal in the online equipment list, and updating a test terminal corresponding to the target terminal set in the online equipment list to identify the test terminal as a controlled terminal so as to update the online equipment list.
In this embodiment, because the latest online device list received by each test terminal at this time is a list of online devices in the latest state, a tester corresponding to one of the test terminals may click a virtual button applied by a master control device displayed on one side of the list of online devices at this time, thereby triggering a command selected by the master control terminal. When the cloud test platform receives the main control terminal selection instruction and the terminal information corresponding to the main control terminal selection instruction, the cloud test platform identifies which test terminal is applied to be the main control terminal according to the terminal information corresponding to the main control terminal selection instruction, and updates the test terminal corresponding to the main control terminal selection instruction in the online equipment list to be identified as the main control terminal after the identification process is completed. After the identification of the master control terminal is completed, the cloud testing platform can also automatically identify terminal information except the master control terminal in the online equipment list as a controlled terminal, and update the online equipment list again to obtain the online equipment list in the latest state. By the mode, any test terminal connected with the cloud test platform can be used as a main control terminal to control the test process, and the selection of the main control object is more flexible.
In an embodiment, step S130 further includes:
And sending the online equipment list to each test terminal corresponding to the online equipment list.
In this embodiment, after the master control terminal and the controlled terminal are selected, the cloud test platform needs to feed back the online device list in the latest state to each test terminal corresponding to the online device list, and timely notify specific information that each test terminal is currently located in the master control terminal.
S140, if APP operation information to be tested, which is sent by a main control terminal, is detected, the APP operation information to be tested is sent to a test terminal corresponding to the identification of a controlled terminal in an online equipment list; the APP operation information to be tested is coordinate point information or control operation information.
In this embodiment, when a tester corresponding to the main control terminal operates the APP to be tested on the main control terminal, the generated APP operation information to be tested is sent to the cloud test platform in real time, the cloud test platform synchronously sends the APP operation information to be tested to the test terminal corresponding to the identifier of the controlled terminal in the online device list, and after the test terminal corresponding to the identifier of the controlled terminal in the online device list receives the APP operation information to be tested, synchronous operation is performed according to the APP operation information to be tested. The APP operation information to be tested is coordinate point information or control operation information; the coordinate point information specifically comprises coordinate values and operation types, for example, a coordinate point (122,333) on a touch screen of the single-click main control terminal, wherein the coordinate values are (122,333), and the operation types are single-click; the control operation information is a control ID and an operation type, for example, the control ID of the control on the touch screen of the single-click main control terminal is 101, the control ID is 101, and the operation type is single-click. By the mode, the synchronous and automatic test of a plurality of test terminals controlled by a single test terminal is realized, and the test efficiency is improved.
In one embodiment, as shown in fig. 5, step S140 further includes:
s1401, receiving APP to be tested receiving feedback information uploaded by each test terminal in an online equipment list; the APP receiving feedback information to be tested comprises an identification value used for identifying whether the test terminal has received the APP to be tested or not; an identification value of 0 indicates that the APP to be tested is not received, and an identification value of 1 indicates that the APP to be tested is received;
s1402, if test terminals with the identification value of 0 exist in APP receiving feedback information to be tested uploaded by each test terminal in the online equipment list, correspondingly acquiring terminal information of the test terminals with the identification value of 0 to form an APP to-be-sent terminal set;
s1403, sending the APP to be tested to a test terminal corresponding to the APP terminal set to be sent.
In this embodiment, the cloud test platform detects whether each test terminal in the online device list has received and stored the installation package of the APP to be tested, and at this time, each test terminal in the online device list needs to feed back feedback information of the APP to be tested to the cloud test platform. If the identification value corresponding to the feedback information received by the APP to be tested is 1, the test terminal already receives and stores the installation package of the APP to be tested; and if the identification value corresponding to the feedback information received by the APP to be tested is 0, the test terminal does not receive and store the installation package of the APP to be tested. When the cloud test platform receives feedback information of APP to be tested fed back by each test terminal in the online equipment list, terminal information of the test terminals with the identification value of 0 can be screened to form an APP to be sent set. And then, the cloud test platform sends the APP to be tested to each test terminal corresponding to the APP to-be-sent set, so that each test terminal is ensured to receive and store the APP to be tested.
And S150, receiving test video data corresponding to the APP operation information to be tested, which is uploaded by each test terminal in the online equipment list, and displaying the test video data in a preset display area.
In this embodiment, in order to view the test video data of the master control terminal and each controlled terminal on the cloud test platform, the screen video of each test terminal may be recorded in real time at this time and uploaded to the cloud test platform for display. The test video data is a series of feedback operations generated by recording the test terminal triggered by the test personnel due to the APP operation information to be tested when the APP to be tested is operated. For example, the APP operation information to be tested on the master control terminal is the installation package trigger installation of the single click test APP, the installation package trigger installation of the single click test APP is synchronized on the controlled terminal, and the screen image of the installation trigger by the single click test APP is automatically recorded. By the mode, the testing process of the testing terminal can be checked on the cloud testing platform uniformly, so that the compatibility is judged, and the testing efficiency is improved.
In one embodiment, step S150 further includes:
and sending an opening instruction for starting screen recording to each test terminal in the online equipment list.
In this embodiment, in order to record the screen of each test terminal conveniently, the cloud test platform may uniformly issue an opening instruction for starting screen recording at this time, so as to start the screen recording function of each test terminal.
According to the method, the master control terminal is operated by a single person to control the plurality of controlled terminals, synchronous testing of the plurality of test terminals is completed, and the test video data corresponding to the synchronous testing process are displayed in the preset display area for being checked by multiple persons, so that the testing efficiency is improved, and the testing effect can be watched in real time according to the test video data.
The embodiment of the invention also provides a multi-terminal synchronous testing device which is used for executing any embodiment of the multi-terminal synchronous testing method. Specifically, referring to fig. 6, fig. 6 is a schematic block diagram of a multi-terminal synchronization testing apparatus according to an embodiment of the present invention. The multi-terminal synchronization test device 100 may be configured in a server.
As shown in fig. 6, the multi-terminal synchronization test device 100 includes an online list acquisition unit 110, a terminal addition unit 120, an identification unit 130, an operation information distribution unit 140, and a video display unit 150.
The online list obtaining unit 110 is configured to obtain a stored online device list if a connection instruction of a current test terminal is detected.
In this embodiment, after a plurality of types of test terminals are accessed to the cloud test platform through the cloud test platform access terminal, a connection instruction triggered by the test terminal is detected by the cloud test platform, and the cloud test platform acquires a stored online device list.
The terminal adding unit 120 is configured to obtain terminal information corresponding to the current test terminal according to the connection instruction, and add the terminal information corresponding to the current test terminal to the online device list, so as to update the online device list; the online device list comprises a plurality of pieces of terminal information, and each piece of terminal information comprises a device name and a system version number.
In this embodiment, the cloud test platform updates the online device list in real time after receiving the terminal information, so as to ensure that the latest online device list is displayed at the current moment.
In one embodiment, as shown in fig. 7, the multi-terminal synchronization testing apparatus 100 further includes:
an equipment number obtaining unit 1201, configured to obtain an equipment number corresponding to a current test terminal;
a white list judging unit 1202, configured to judge whether a device number corresponding to a current test terminal exists in a stored device white list; and if the equipment number corresponding to the current test terminal exists in the stored equipment white list, executing the step of acquiring the terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to the online equipment list so as to update the online equipment list.
In this embodiment, in order to avoid that any test terminal can access to the cloud test platform, white list authentication needs to be performed on each test terminal accessing to the cloud test platform, which ensures that all test terminals participating in the test are reliable.
If the equipment number corresponding to the current test terminal does not exist in the stored equipment white list, sending prompt information for applying to participate in the test to the corresponding current test terminal. When the current test terminal cannot join the online equipment list, the cloud test platform is required to send prompt information for requesting to participate in the test to the current test terminal. If the request of the current test terminal for participating in the test is checked by the cloud test platform, the device number corresponding to the current test terminal is added to the stored device white list to update the stored device white list.
And the identification unit 130 is configured to correspondingly identify the master control terminal and the controlled terminal in the online device list according to the received master control terminal selection instruction.
In this embodiment, when all the test terminals belonging to the online device list are successfully connected with the cloud test platform and are all in an online state, any one test terminal in the online device list can send a main control terminal selection instruction to send the main control terminal selection instruction to the cloud test platform. The cloud test platform only receives a main control terminal selection instruction with earliest time sent out in the test period, for example, the online equipment list comprises a test terminal 1-a test terminal MN (MN is the total number of the test terminals), the test terminal 1 firstly sends out the main control terminal selection instruction in the test period, at this time, the test terminal 1 is selected as the main control terminal, and the test terminal 2-the test terminal MN are all controlled terminals.
In one embodiment, as shown in fig. 8, the identification unit 130 includes:
the main control terminal identification unit 131 is configured to update an identifier of a test terminal corresponding to a main control terminal selection instruction in the online device list as a main control terminal if the main control terminal selection instruction uploaded by the test terminal corresponding to the online device list is detected;
the controlled terminal identification unit 132 is configured to obtain a target terminal set of the online device list, where the target terminal set is not identified by the main control terminal, and update the test terminal corresponding to the target terminal set in the online device list to identify the test terminal as a controlled terminal, so as to update the online device list.
In this embodiment, because the latest online device list received by each test terminal at this time is a list of online devices in the latest state, a tester corresponding to one of the test terminals may click a virtual button applied by a master control device displayed on one side of the list of online devices at this time, thereby triggering a command selected by the master control terminal. When the cloud test platform receives the main control terminal selection instruction and the terminal information corresponding to the main control terminal selection instruction, the cloud test platform identifies which test terminal is applied to be the main control terminal according to the terminal information corresponding to the main control terminal selection instruction, and updates the test terminal corresponding to the main control terminal selection instruction in the online equipment list to be identified as the main control terminal after the identification process is completed. After the identification of the master control terminal is completed, the cloud testing platform can also automatically identify terminal information except the master control terminal in the online equipment list as a controlled terminal, and update the online equipment list again to obtain the online equipment list in the latest state. By the mode, any test terminal connected with the cloud test platform can be used as a main control terminal to control the test process, and the selection of the main control object is more flexible.
In one embodiment, the multi-terminal synchronization test device 100 further includes:
and the latest list sending unit is used for sending the online equipment list to each test terminal corresponding to the online equipment list.
In this embodiment, after the master control terminal and the controlled terminal are selected, the cloud test platform needs to feed back the online device list in the latest state to each test terminal corresponding to the online device list, and timely notify specific information that each test terminal is currently located in the master control terminal.
The operation information distribution unit 140 is configured to, if detecting APP operation information to be tested sent by the master control terminal, send the APP operation information to be tested to a test terminal corresponding to an identifier of a controlled terminal in the online device list; the APP operation information to be tested is coordinate point information or control operation information.
In this embodiment, when a tester corresponding to the main control terminal operates the APP to be tested on the main control terminal, the generated APP operation information to be tested is sent to the cloud test platform in real time, the cloud test platform synchronously sends the APP operation information to be tested to the test terminal corresponding to the identifier of the controlled terminal in the online device list, and after the test terminal corresponding to the identifier of the controlled terminal in the online device list receives the APP operation information to be tested, synchronous operation is performed according to the APP operation information to be tested. The APP operation information to be tested is coordinate point information or control operation information; the coordinate point information specifically comprises coordinate values and operation types, for example, a coordinate point (122,333) on a touch screen of the single-click main control terminal, wherein the coordinate values are (122,333), and the operation types are single-click; the control operation information is a control ID and an operation type, for example, the control ID of the control on the touch screen of the single-click main control terminal is 101, the control ID is 101, and the operation type is single-click. By the mode, the synchronous and automatic test of a plurality of test terminals controlled by a single test terminal is realized, and the test efficiency is improved.
In one embodiment, as shown in fig. 9, the multi-terminal synchronization testing apparatus 100 further includes:
a feedback information receiving unit 1401, configured to receive APP to be tested received feedback information uploaded by each test terminal in the online device list; the APP receiving feedback information to be tested comprises an identification value used for identifying whether the test terminal has received the APP to be tested or not; an identification value of 0 indicates that the APP to be tested is not received, and an identification value of 1 indicates that the APP to be tested is received;
a to-be-transmitted terminal set acquiring unit 1402, configured to, if there is a test terminal with an identification value of 0 in the to-be-tested APP receiving feedback information uploaded by each test terminal in the online device list, correspondingly acquire terminal information of the test terminal with the identification value of 0 to form an APP to-be-transmitted terminal set;
the APP sending unit 1403 is configured to send an APP to be tested to a test terminal corresponding to the APP to be sent terminal set.
In this embodiment, the cloud test platform detects whether each test terminal in the online device list has received and stored the installation package of the APP to be tested, and at this time, each test terminal in the online device list needs to feed back feedback information of the APP to be tested to the cloud test platform. If the identification value corresponding to the feedback information received by the APP to be tested is 1, the test terminal already receives and stores the installation package of the APP to be tested; and if the identification value corresponding to the feedback information received by the APP to be tested is 0, the test terminal does not receive and store the installation package of the APP to be tested. When the cloud test platform receives feedback information of APP to be tested fed back by each test terminal in the online equipment list, terminal information of the test terminals with the identification value of 0 can be screened to form an APP to be sent set. And then, the cloud test platform sends the APP to be tested to each test terminal corresponding to the APP to-be-sent set, so that each test terminal is ensured to receive and store the APP to be tested.
The video display unit 150 is configured to receive test video data corresponding to APP operation information to be tested uploaded by each test terminal in the online device list, and display the test video data in a preset display area.
In this embodiment, in order to view the test video data of the master control terminal and each controlled terminal on the cloud test platform, the screen video of each test terminal may be recorded in real time at this time and uploaded to the cloud test platform for display. The test video data is a series of feedback operations generated by recording the test terminal triggered by the test personnel due to the APP operation information to be tested when the APP to be tested is operated. For example, the APP operation information to be tested on the master control terminal is the installation package trigger installation of the single click test APP, the installation package trigger installation of the single click test APP is synchronized on the controlled terminal, and the screen image of the installation trigger by the single click test APP is automatically recorded. By the mode, the testing process of the testing terminal can be checked on the cloud testing platform uniformly, so that the compatibility is judged, and the testing efficiency is improved.
In one embodiment, the multi-terminal synchronization test device 100 further includes:
And the video recording start instruction sending unit is used for sending a start instruction for starting screen recording to each test terminal in the online equipment list.
In this embodiment, in order to record the screen of each test terminal conveniently, the cloud test platform may uniformly issue an opening instruction for starting screen recording at this time, so as to start the screen recording function of each test terminal.
The device realizes that a single person operates the master control terminal to control the plurality of controlled terminals, synchronous test on the plurality of test terminals is completed, and test video data corresponding to the synchronous test process is displayed in a preset display area for a plurality of persons to check, so that the test efficiency is improved, and the test effect can be watched in real time according to the test video data.
The multi-terminal synchronous test device described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 500 is a server, and the server may be a stand-alone server or a server cluster formed by a plurality of servers.
With reference to FIG. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a multi-terminal synchronization test method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a multi-terminal synchronization test method.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory, so as to implement the multi-terminal synchronization test method disclosed in the embodiment of the present invention.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 10 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 10, and will not be described again.
It should be appreciated that in embodiments of the present invention, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the multi-terminal synchronous test method disclosed in the embodiment of the invention.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. A multi-terminal synchronization test method, comprising:
if the connection instruction of the current test terminal is detected, acquiring a stored online equipment list;
acquiring terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list so as to update the online equipment list; the online equipment list comprises a plurality of pieces of terminal information, wherein each piece of terminal information comprises an equipment name and a system version number;
according to the received main control terminal selection instruction, the main control terminal and the controlled terminal are correspondingly identified in the online equipment list;
if APP operation information to be tested, which is sent by a main control terminal, is detected, the APP operation information to be tested is sent to a test terminal corresponding to the identification of a controlled terminal in an online equipment list; the APP operation information to be tested is coordinate point information or control operation information; and
Receiving test video data corresponding to APP operation information to be tested, which are uploaded by each test terminal in an online equipment list, and displaying the test video data in a preset display area;
the step of acquiring the terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list to update the online equipment list, and the step of further comprises:
acquiring a device number corresponding to a current test terminal;
judging whether the equipment number corresponding to the current test terminal exists in a stored equipment white list or not; if the equipment number corresponding to the current test terminal exists in the stored equipment white list, executing the step of acquiring the terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list so as to update the online equipment list;
if the equipment number corresponding to the current test terminal does not exist in the stored equipment white list, sending prompt information for applying to participate in the test to the corresponding current test terminal;
the test video data refers to a series of feedback operations generated by recording the test terminal triggered by the test personnel due to the APP operation information to be tested when the APP to be tested is operated.
2. The multi-terminal synchronization test method according to claim 1, wherein the identifying the master terminal and the controlled terminal in the online device list according to the received master terminal selection instruction includes:
if a main control terminal selection instruction uploaded by a test terminal corresponding to an online equipment list is detected, updating a test terminal corresponding to the main control terminal selection instruction in the online equipment list to be identified as a main control terminal;
and acquiring a target terminal set which does not identify the main control terminal in the online equipment list, and updating the test terminal corresponding to the target terminal set in the online equipment list to identify the test terminal as a controlled terminal so as to update the online equipment list.
3. The method for synchronously testing multiple terminals according to claim 2, wherein the step of obtaining terminal information corresponding to a current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online device list to update the online device list, further comprises:
and sending the online equipment list to each test terminal corresponding to the online equipment list.
4. The multi-terminal synchronous test method according to claim 1, wherein if the APP operation information to be tested sent by the master terminal is detected, before sending the APP operation information to be tested to the test terminal corresponding to the identifier of the controlled terminal in the online device list, the method further comprises:
Receiving APP receiving feedback information to be tested, which is uploaded by each test terminal in an online equipment list; the APP receiving feedback information to be tested comprises an identification value used for identifying whether the test terminal has received the APP to be tested or not; an identification value of 0 indicates that the APP to be tested is not received, and an identification value of 1 indicates that the APP to be tested is received;
if the test terminals with the identification value of 0 exist in the APP receiving feedback information to be tested uploaded by each test terminal in the online equipment list, correspondingly acquiring the terminal information of the test terminals with the identification value of 0 to form an APP to-be-sent terminal set;
and sending the APP to be tested to a test terminal corresponding to the APP to-be-sent terminal set.
5. The method for synchronously testing multiple terminals according to claim 1, wherein the step of receiving the test video data corresponding to the APP operation information to be tested uploaded by each test terminal in the online device list, and before displaying the test video data in a preset display area, further comprises:
and sending an opening instruction for starting screen recording to each test terminal in the online equipment list.
6. A multi-terminal synchronous test device, comprising:
the online list acquisition unit is used for acquiring a stored online equipment list if the connection instruction of the current test terminal is detected;
The terminal adding unit is used for obtaining terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to the online equipment list so as to update the online equipment list; the online equipment list comprises a plurality of pieces of terminal information, wherein each piece of terminal information comprises an equipment name and a system version number;
the identification unit is used for correspondingly identifying the main control terminal and the controlled terminal in the online equipment list according to the received main control terminal selection instruction;
the operation information distribution unit is used for sending the APP operation information to be tested to a test terminal corresponding to the identification of the controlled terminal in the online equipment list if the APP operation information to be tested sent by the main control terminal is detected; the APP operation information to be tested is coordinate point information or control operation information; and
the video display unit is used for receiving test video data corresponding to APP operation information to be tested, which is uploaded by each test terminal in the online equipment list, and displaying the test video data in a preset display area;
the multi-terminal synchronous testing device further comprises:
the device number acquisition unit is used for acquiring the device number corresponding to the current test terminal;
The white list judging unit is used for judging whether the equipment number corresponding to the current test terminal exists in a stored equipment white list or not; if the equipment number corresponding to the current test terminal exists in the stored equipment white list, executing the step of acquiring the terminal information corresponding to the current test terminal according to the connection instruction, and adding the terminal information corresponding to the current test terminal to an online equipment list so as to update the online equipment list;
if the equipment number corresponding to the current test terminal does not exist in the stored equipment white list, sending prompt information for applying to participate in the test to the corresponding current test terminal;
the test video data refers to a series of feedback operations generated by recording the test terminal triggered by the test personnel due to the APP operation information to be tested when the APP to be tested is operated.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the multi-terminal synchronization test method according to any one of claims 1 to 5 when executing the computer program.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the multi-terminal synchronization test method according to any one of claims 1 to 5.
CN201910969133.2A 2019-10-12 2019-10-12 Multi-terminal synchronous test method and device, computer equipment and storage medium Active CN111090577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910969133.2A CN111090577B (en) 2019-10-12 2019-10-12 Multi-terminal synchronous test method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910969133.2A CN111090577B (en) 2019-10-12 2019-10-12 Multi-terminal synchronous test method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111090577A CN111090577A (en) 2020-05-01
CN111090577B true CN111090577B (en) 2024-04-09

Family

ID=70392990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910969133.2A Active CN111090577B (en) 2019-10-12 2019-10-12 Multi-terminal synchronous test method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111090577B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835902A (en) * 2020-07-20 2020-10-27 网易(杭州)网络有限公司 Device testing method and device, electronic device and storage medium
CN112231206A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Script editing method for application program test, computer readable storage medium and test platform
CN112231207A (en) * 2020-09-30 2021-01-15 广州掌动智能科技有限公司 Multi-machine testing method for application program testing, computer readable storage medium and testing platform
CN112256588A (en) * 2020-11-10 2021-01-22 广州掌动智能科技有限公司 Resource allocation method for application program test, computer readable storage medium and tester
CN115297110A (en) * 2021-04-15 2022-11-04 京东科技控股股份有限公司 Control method, device and equipment of terminal equipment and storage medium
CN113824612B (en) * 2021-09-22 2023-01-24 深圳创维数字技术有限公司 Network equipment compatibility testing method, terminal equipment and storage medium
CN113900834B (en) * 2021-09-24 2023-02-14 天津同阳科技发展有限公司 Data processing method, device, equipment and storage medium based on Internet of things technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371998A (en) * 2016-09-13 2017-02-01 网易(杭州)网络有限公司 Mobile application testing system and method
EP3185194A1 (en) * 2015-12-24 2017-06-28 Gemalto Sa Method and system for enhancing the security of a transaction
CN106961362A (en) * 2017-03-09 2017-07-18 杭州铜板街互联网金融信息服务有限公司 Automated testing method and mobile cloud test system
CN107357726A (en) * 2017-07-04 2017-11-17 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN109960642A (en) * 2017-12-22 2019-07-02 百度在线网络技术(北京)有限公司 Automatic test approach and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2453521A (en) * 2007-09-06 2009-04-15 Ezurio Ltd Data transmission from a vehicle and network regulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3185194A1 (en) * 2015-12-24 2017-06-28 Gemalto Sa Method and system for enhancing the security of a transaction
CN106371998A (en) * 2016-09-13 2017-02-01 网易(杭州)网络有限公司 Mobile application testing system and method
CN106961362A (en) * 2017-03-09 2017-07-18 杭州铜板街互联网金融信息服务有限公司 Automated testing method and mobile cloud test system
CN107357726A (en) * 2017-07-04 2017-11-17 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN109960642A (en) * 2017-12-22 2019-07-02 百度在线网络技术(北京)有限公司 Automatic test approach and device

Also Published As

Publication number Publication date
CN111090577A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN111090577B (en) Multi-terminal synchronous test method and device, computer equipment and storage medium
KR102417004B1 (en) Method and apparatus for controlling a update of software of an electronic device
EP3509270A1 (en) Data backup method and device, storage medium and electronic apparatus
CN105468433B (en) A kind of acquisition methods and system of magnetic disk of virtual machine data
CN111209032A (en) Gray scale publishing method, configuration center server, user terminal, system and medium
WO2007098701A1 (en) Display data extraction methods, devices and computer systems utilizing the same
CN112379963B (en) Remote application window control method and device and computer equipment
CN109324962A (en) A kind of test method and equipment of the application program based on cloud internet of things technology
CN111506358A (en) Method and device for updating container configuration
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
US20190354466A1 (en) Shadow testing
CN115392332A (en) AI model deployment method, system and storage medium
CN111128139B (en) Non-invasive voice test method and device
CN107102792B (en) Image processing apparatus, control method thereof, and computer-readable storage medium
CN112910995A (en) Resource allocation method and device based on multi-cloud environment, electronic equipment and medium
CN110989883B (en) Recording method and device for data transfer mode, storage medium and terminal
EP3240309A1 (en) Information processing device, information processing program, and information processing method
CN111610427A (en) Finished product testing method, circuit board testing method and device
CN110704321A (en) Program debugging method and device
CN107911345B (en) Game reservation list generation method and device and server
CN111061504A (en) Multi-system version matching method, system, server, client and electronic equipment
CN115098301B (en) Snapshot generation method and system for stateful application in cloud primary scene
US20150074247A1 (en) Apparatus and method for setting up computting environments
CN114356769A (en) Software learning method, device, equipment and storage medium
CN110109707B (en) Terminal starting method and device and terminal

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