CN111294252A - Cluster test system - Google Patents

Cluster test system Download PDF

Info

Publication number
CN111294252A
CN111294252A CN201910688908.9A CN201910688908A CN111294252A CN 111294252 A CN111294252 A CN 111294252A CN 201910688908 A CN201910688908 A CN 201910688908A CN 111294252 A CN111294252 A CN 111294252A
Authority
CN
China
Prior art keywords
test
terminal
auxiliary
terminals
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910688908.9A
Other languages
Chinese (zh)
Other versions
CN111294252B (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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN201910688908.9A priority Critical patent/CN111294252B/en
Publication of CN111294252A publication Critical patent/CN111294252A/en
Application granted granted Critical
Publication of CN111294252B publication Critical patent/CN111294252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Abstract

A cluster test system, the cluster test system comprising: the auxiliary terminals are used for being matched with the test terminals to assist the test terminals to execute respective test functions, and the test functions comprise communication tests between the test terminals and the auxiliary terminals; and the server is used for controlling the one-to-one pairing of the plurality of test terminals and the plurality of auxiliary terminals so as to connect the paired test terminals and the auxiliary terminals. The technical scheme provided by the invention can efficiently and automatically match the auxiliary terminal for the test terminal, thereby improving the test efficiency.

Description

Cluster test system
Technical Field
The invention relates to the technical field of communication, in particular to a cluster test system.
Background
At present, in the process of automation of a terminal (for example, a mobile phone), a mode of manually or independently sending a command protocol is mainly adopted to complete testing, so that the labor cost is high, the operation steps of the testing process are complicated, and a large number of automated tests are not convenient to develop.
In the terminal automation process, there are many scenarios that a Device Under Test (DUT) needs to Test functions of calling and called parties, receiving and sending short messages, and receiving and sending bluetooth files. When there are multiple DUTs simultaneously initiating test requests to an auxiliary terminal (also referred to as an auxiliary machine), which results in excessive test requests, a situation that the auxiliary terminal cannot process in real time may occur.
Disclosure of Invention
The invention solves the technical problem of how to efficiently and automatically match the test terminal with the auxiliary terminal to complete the communication test.
To solve the foregoing technical problem, an embodiment of the present invention provides a cluster testing system, including: the auxiliary terminals are used for being matched with the test terminals to assist the test terminals to execute respective test functions, and the test functions comprise communication tests between the test terminals and the auxiliary terminals; and the server is used for controlling the one-to-one pairing of the plurality of test terminals and the plurality of auxiliary terminals so as to connect the paired test terminals and the auxiliary terminals.
Optionally, the cluster testing system further includes: and the test client is used for forwarding the test instruction sent by the test terminal to the server and/or receiving the test response instruction from the server to the test terminal.
Optionally, the server receives, through the test client, the test instruction sent by each of the test terminals, and generates a control instruction according to the test instruction, so as to control at least some of the plurality of auxiliary terminals.
Optionally, if the test instruction requests to update the information of the auxiliary terminal, the server updates the terminal state of the corresponding auxiliary terminal that has completed the test function.
Optionally, when the test instruction requests to update the terminal state of the designated auxiliary terminal, the server sets the terminal state of the designated auxiliary terminal according to the test instruction; wherein the designated secondary terminal is one or more of the plurality of secondary terminals, and the terminal state is selected from: an idle state, a non-idle state.
Optionally, when the test instruction requests to acquire the terminal state of the designated auxiliary terminal, the server returns the terminal state of the designated auxiliary terminal to the test terminal that has sent the test instruction through the test client; wherein the designated secondary terminal is one or more of the plurality of secondary terminals, and the terminal state is selected from: an idle state, a non-idle state.
Optionally, the multiple auxiliary terminals include at least one VOLTE auxiliary terminal, the test function includes a VOLTE communication test function, and when the test instruction requests to pair the VOLTE auxiliary terminals, if the VOLTE communication test function is not executed by a first test terminal, the server randomly allocates a first VOLTE auxiliary terminal to the first test terminal, where the first VOLTE auxiliary terminal is a VOLTE auxiliary terminal in an idle state in the at least one VOLTE auxiliary terminal; otherwise, preferentially allocating a second VOLTE auxiliary terminal to the first test terminal; the first test terminal is a test terminal which sends the test instruction, and the second VOLTE auxiliary terminal is a VOLTE auxiliary terminal which is in an idle state and has executed a VOLTE communication test function with the first test terminal.
Optionally, the plurality of auxiliary terminals include at least one 3G auxiliary terminal, the test function includes a 3G communication test function, when the test instruction requests to pair the 3G auxiliary terminals, if the first test terminal does not execute the 3G test function, the server randomly allocates a first 3G auxiliary terminal to the test terminal, where the first 3G auxiliary terminal is a 3G auxiliary terminal in an idle state among the at least one 3G auxiliary terminal; otherwise, preferentially distributing a second 3G auxiliary terminal to the first test terminal; the first test terminal is a test terminal which sends the test instruction, and the second 3G auxiliary terminal is a 3G auxiliary terminal which is in an idle state and has executed a 3G communication test function with the first test terminal.
Optionally, the plurality of auxiliary terminals include at least one 5G auxiliary terminal, the test function includes a 5G communication test function, when the test instruction requests to pair the 5G auxiliary terminals, if the first test terminal does not execute the 5G communication test function, the server randomly allocates a first 5G auxiliary terminal to the test terminal, where the first 5G auxiliary terminal is a 5G auxiliary terminal in an idle state among the at least one 5G auxiliary terminal; otherwise, preferentially distributing a second 5G auxiliary terminal to the first test terminal; the first test terminal is a test terminal which sends the test instruction, and the second 5G auxiliary terminal is a 5G auxiliary terminal which is in an idle state and has executed a 5G communication test function with the first test terminal.
Optionally, when the test instruction requests to pair the auxiliary terminals, if the test terminal that has sent the test instruction has not executed the test function, the server randomly allocates a first auxiliary terminal to the test terminal that has sent the test instruction, where the first auxiliary terminal is an idle auxiliary terminal among the plurality of auxiliary terminals; and if not, preferentially distributing a second auxiliary terminal to the test terminal which sends the test instruction, wherein the second auxiliary terminal is in an idle state and already executes the test function with the test terminal.
Optionally, when the test instruction requests to pair the auxiliary terminals, if the test terminal that has sent the test instruction has not executed the test function and belongs to a preset operator, the server randomly allocates a first auxiliary terminal to the test terminal that has sent the test instruction, where the first auxiliary terminal is an auxiliary terminal of the plurality of auxiliary terminals, is in an idle state, and belongs to the preset operator; and if not, preferentially distributing a second auxiliary terminal to the test terminal which sends the test instruction, wherein the second auxiliary terminal is in an idle state and already executes the test function with the test terminal.
Optionally, the cluster testing system further includes: and the auxiliary client is used for reporting the terminal states of the plurality of auxiliary terminals connected with the auxiliary client to the server and/or forwarding the pairing instruction issued by the server to the auxiliary terminal receiving the pairing instruction.
Optionally, when the test instruction requests to acquire an auxiliary terminal in an idle state, the server randomly selects the auxiliary terminal in the idle state, and sends the identifier of the selected auxiliary terminal and the IP address of the auxiliary client to the test terminal that sends the test instruction through the test client.
Optionally, in response to a first instruction sent by the server, the auxiliary client returns an identifier of the auxiliary terminal in an idle state to the server, where the first instruction is used to request the auxiliary client to acquire the auxiliary terminal in the idle state.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
an embodiment of the present invention provides a cluster test system, including: the auxiliary terminals are used for being matched with the test terminals to assist the test terminals to execute respective test functions, and the test functions comprise communication tests between the test terminals and the auxiliary terminals; and the server is used for controlling the one-to-one pairing of the plurality of test terminals and the plurality of auxiliary terminals so as to connect the paired test terminals and the auxiliary terminals. The embodiment of the invention utilizes a server to control the matching and connection of the test terminal (namely, the DUT) and the auxiliary terminal in a centralized manner to form a cluster test system. In the cluster test system, a DUT (device under test) does not need to designate an auxiliary terminal, a server can automatically allocate an idle auxiliary terminal to realize a test request of the DUT, and a limited auxiliary terminal is efficiently allocated to complete a test function. Compared with the complicated operation steps in the prior art, the test process can be simplified, and the labor cost is reduced.
Further, the cluster test system further includes: and the test client is used for forwarding the test instruction sent by the test terminal to the server and/or receiving the test response instruction from the server to the test terminal. According to the embodiment of the invention, by adding the test client, the test client can receive and send the test instruction of each test terminal, each test terminal is prevented from being directly connected with the server, the server is favorably controlled in a layered mode, the test script test command can be unified, the coding format is easy to standardize, the programming complexity is favorably reduced, the program is easy to modify, the applicability is strong, and the efficiency of pairing the test terminal and the auxiliary terminal by the server can be effectively improved.
Further, the cluster test system further includes: and the auxiliary client is used for reporting the terminal states of the plurality of auxiliary terminals connected with the auxiliary client to the server and/or forwarding the pairing instruction issued by the server to the auxiliary terminal receiving the pairing instruction. According to the embodiment of the invention, by adding the auxiliary client, part of functions of the server can be executed, the workload of the server is reduced, and the efficiency of pairing the test terminal and the auxiliary terminal by the server can be effectively improved.
Drawings
Fig. 1 is a schematic structural diagram of a cluster test system according to an embodiment of the present invention.
Detailed Description
As described in the background, in the prior art, when a plurality of DUTs simultaneously issue test requests to an auxiliary terminal, a situation may occur in which the auxiliary terminal cannot process in real time.
An embodiment of the present invention provides a cluster test system, including: the auxiliary terminals are used for being matched with the test terminals to assist the test terminals to execute respective test functions, and the test functions comprise communication tests between the test terminals and the auxiliary terminals; and the server is used for controlling the one-to-one pairing of the plurality of test terminals and the plurality of auxiliary terminals so as to connect the paired test terminals and the auxiliary terminals.
The embodiment of the invention utilizes a server to control the matching and connection of the test terminal (namely, the DUT) and the auxiliary terminal in a centralized manner to form a cluster test system. In the cluster test system, a DUT (device under test) does not need to designate an auxiliary terminal, a server can automatically allocate an idle auxiliary terminal to realize a test request of the DUT, and a limited auxiliary terminal is efficiently allocated to complete a test function. Compared with the complicated operation steps in the prior art, the test process can be simplified, and the labor cost is reduced.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
The Test terminal herein is a Device Under Test (DUT) for completing a Test task, and for example, the DUT may be a mobile phone terminal.
The auxiliary terminal, i.e. the auxiliary machine, herein is used for assisting the DUT to complete the testing task, and is also a mobile phone terminal, for example.
The Test Client (Test Client) is configured to forward an instruction sent by the DUT to a server (server) and/or forward an instruction of the server to the DUT.
The server herein is used for centrally controlling the pairing of the DUT and the auxiliary terminals, managing the state of all auxiliary machines, and distributing instructions to the idle auxiliary terminals.
The auxiliary Client (Assistant Client) is used for monitoring the state of an auxiliary terminal connected with the auxiliary Client and reporting the state to the server; and/or, responding to the instruction sent by the server, and broadcasting the instruction to the auxiliary terminal connected with the server.
Fig. 1 is a schematic structural diagram of a cluster test system according to an embodiment of the present invention. The services that the cluster testing system 100 can support include, but are not limited to, Wi-Fi direct connection service, Mobile Terminal (MT) voice call service, MT video call service, Wi-Fi hotspot service, bluetooth pairing and transmission service, Mobile Office (MO) voice call service, MO video call service, bluetooth network sharing service, short message and multimedia message sending service.
In specific implementation, the cluster test system 100 may be configured to complete functions of intelligent allocation of the auxiliary terminal 101, automatic restart of the auxiliary terminal 101 at regular time, automatic configuration of the auxiliary terminal 101, resource threshold warning of the auxiliary terminal 101, and automatic forced release and recovery of overtime occupation of the auxiliary terminal 101. The cluster test system 100 may uniformly control each auxiliary terminal 101, receive instructions (e.g., test instructions) sent by all the test terminals 104, and uniformly allocate the idle auxiliary terminals 101, thereby implementing a communication test on the test terminals 104. For example, a stability test of the communication link between the test terminal 104 and the auxiliary terminal 101, such as a calling and called test, a bluetooth auto-pairing and bluetooth data interaction test, and the like, may be implemented.
Specifically, the cluster test system 100 may include a plurality of auxiliary terminals 101 and a server 102. The auxiliary terminal 101 may be configured to cooperate with a plurality of test terminals 104 to assist each test terminal 104 in performing a respective test function, where the test function includes a communication test between the test terminal 104 and the auxiliary terminal 101; the server 102 may be configured to control a one-to-one pairing of the plurality of test terminals 104 and the plurality of auxiliary terminals 101, so that the paired test terminals 104 and auxiliary terminals 101 are connected.
In one embodiment, the cluster test system 100 may further include a test client 103. The number of the test clients 103 may be one or more. Each test client 103 may be connected to one or more test terminals 104. The test client 103 may be configured to forward a test instruction issued by the test terminal 104 to the server 102, and/or receive a test response instruction from the server 102 to the test terminal 104.
In particular implementations, test terminal 104 may send instructions (e.g., test instructions) to test client 103 through a socket (socket). The test client 103 may forward the instruction to the server 102 through a HyperText transfer protocol (HTTP).
The server 102 may receive, through the test client 103, the test instructions sent by the test terminals 104, and generate a control instruction according to the test instruction, so as to control at least some of the auxiliary terminals 101 in the plurality of auxiliary terminals 101. For example, the auxiliary terminal 101 in an idle state is assigned to the test terminal 104 to complete pairing of the test terminal 104 and the auxiliary terminal 101, and a communication test between the test terminal 104 and the auxiliary terminal 101, such as a called test, a bluetooth pairing test, and the like.
In an embodiment, when the test instruction requests to acquire the auxiliary terminal 101 in the idle state, the server 102 may randomly select the auxiliary terminal 101 in the idle state, and send the identifier of the selected auxiliary terminal 101 and the IP address of the auxiliary client to the test terminal 104 that issued the test instruction through the test client 103.
In another embodiment, when the test instruction requests to update the terminal state of the specific auxiliary terminal 101, the server 102 may set the terminal state of the specific auxiliary terminal 101 to be an idle state or a non-idle state according to the test instruction. The auxiliary terminal 101 in the non-idle state is not available to the test terminal 104 sending the test instruction. The specific auxiliary terminal 101 is one or more of the plurality of auxiliary terminals 101, and the test instruction may carry identification information of the specific auxiliary terminal 101.
In another embodiment, when the test instruction requests to obtain a terminal state (for example, an idle state or a non-idle state) of a specific auxiliary terminal 101, the server 102 may return the terminal state of the specific auxiliary terminal 101 to the test terminal 104 that has issued the test instruction through the test client 103 as the idle state or the non-idle state. Wherein the specific secondary terminal 101 is one or more of the plurality of secondary terminals 101.
In another embodiment, the plurality of auxiliary terminals 101 may include one or more Voice over Long-Term Evolution (VOLTE) auxiliary terminals 101, and the test function may include a VOLTE communication test function.
When the test command requests to pair the VOLTE auxiliary terminal 101, if the test terminal 104 that has sent the test command has not previously executed the VOLTE communication test function, the server 102 may randomly allocate a VOLTE auxiliary terminal 101 in an idle state to the test terminal 104.
If the VOLTE communication test function has been previously executed by the test terminal 104 that issued the test command, it may be prioritized to reassign the VOLTE auxiliary terminal 101 that was previously paired with the test terminal 104 and in an idle state to the test terminal 104, so that the test terminal 104 is paired with the VOLTE auxiliary terminal 101. When none of the VOLTE auxiliary terminals 101 paired with the test terminal 104 is in an idle state, other VOLTE auxiliary terminals 101 in an idle state may be allocated to the test terminal 104 that has sent the test instruction. If there are no VOLTE secondary terminals 101 in the idle state, then there may be no VOLTE secondary terminals 101 available.
It should be noted that if there are multiple VOLTE auxiliary terminals 101 paired with the test terminal 104 that has issued the test instruction, the VOLTE auxiliary terminal 101 in the idle state may be randomly selected as the pairing node of the test terminal 104.
In another embodiment, the plurality of auxiliary terminals 101 may include at least one 3G auxiliary terminal 101, and the test function may include a 3G communication test function. When the test instruction requests to pair the 3G auxiliary terminal 101, if the test terminal 104 that has issued the test instruction has not executed the 3G test function, the server 102 may randomly allocate a 3G auxiliary terminal in an idle state to the test terminal 104. Otherwise, if the test terminal 104 that has sent the test instruction has previously executed the 3G test function, the server 102 may preferentially allocate the 3G auxiliary terminal 101 that is in an idle state and has executed the 3G communication test function with the test terminal 104 to the test terminal 104. When none of the 3G auxiliary terminals 101 paired with the test terminal 104 is in an idle state, other 3G auxiliary terminals 101 in an idle state may be allocated to the test terminal 104 that has issued the test instruction. If there are no 3G auxiliary terminals 101 in the idle state, the server 102 may return no 3G auxiliary terminals 101 available.
It should be noted that, if there are a plurality of 3G auxiliary terminals 101 paired with the test terminal 104 that has issued the test instruction, the 3G auxiliary terminal 101 in the idle state may be randomly selected as the pairing node of the test terminal 104.
In another embodiment, the plurality of auxiliary terminals 101 may include one or more 5G auxiliary terminals 101, and the test function may include a 5G communication test function. When the test instruction requests to pair the 5G auxiliary terminal 101, if the test terminal 104 that has issued the test instruction has not executed the 5G test function, the server 102 may randomly allocate a 5G auxiliary terminal in an idle state to the test terminal 104. Otherwise, if the test terminal 104 that has issued the test instruction has previously executed the 5G test function, the server 102 may preferentially allocate the 5G auxiliary terminal 101 that is in an idle state and has executed the 5G communication test function with the test terminal 104 to the test terminal 104. When none of the 5G auxiliary terminals 101 paired with the test terminal 104 is in an idle state, other 5G auxiliary terminals 101 in an idle state may be allocated to the test terminal 104 that has issued the test instruction. If there are no 5G auxiliary terminals 101 in the idle state, the server 102 may return no available 5G auxiliary terminals 101.
It should be noted that, if there are a plurality of 5G auxiliary terminals 101 paired with the test terminal 104 that has issued the test instruction, the 5G auxiliary terminal 101 in the idle state may be randomly selected as the pairing node of the test terminal 104.
Those skilled in the art understand that, in the subsequent communication evolution technology, when a 6G, 7G terminal is present, the plurality of auxiliary terminals 101 may include one or more 6G or 7G auxiliary terminals 101, and the test function may include a 6G, 7G communication test function. The embodiment of the invention is also suitable for testing between the terminal and the auxiliary terminal, and the detailed test process is not repeated here.
In another embodiment, when the test command requests to pair the auxiliary terminals 101, if the test terminal 104 that issued the test command has never performed the test function, the server 102 may randomly allocate an auxiliary terminal 101 in an idle state to the test terminal 104 that issued the test command. Otherwise, the auxiliary terminal 101 in an idle state and having performed the test function with the test terminal may be reassigned to the test terminal 104 that issued the test instruction. However, if all the auxiliary terminals 101 that have performed the test function with the test terminal are in the non-idle state, the test terminal 104 that has issued the test instruction may be assigned other auxiliary terminals 101 that are in the idle state.
In another embodiment, when the test command requests to pair the auxiliary terminal 101, if the test terminal 104 that issued the test command has not performed the test function and the test terminal 104 belongs to a predetermined operator, the server 102 may randomly allocate the auxiliary terminal 101 that is in an idle state and belongs to the predetermined operator to the test terminal 104 that issued the test command. Otherwise, the auxiliary terminal 101 in an idle state and having performed the test function with the test terminal may be reassigned to the test terminal 104 that issued the test instruction. If there is no auxiliary terminal 101 in an idle state among the auxiliary terminals 101 belonging to the preset operator, the auxiliary terminal 101 which is not belonging to the preset operator but is in the idle state may be allocated to the test terminal 104 which has issued the test instruction.
As a variant embodiment, the cluster test system 100 may further comprise a test client 103 and an auxiliary client 105. The test client 103 and the helper client 105 may be one or more. Each test client 103 may be connected to one or more test terminals 104. The test terminal 104 may send instructions (e.g., test instructions) to the test client 103 through the socket. The test client 103 may forward the instructions to the server 102 via hypertext transfer protocol.
In particular implementations, each helper client 105 may be connected to one or more helper terminals 101. The assistant client 105 may report a terminal state (e.g., idle state, non-idle state) of each assistant terminal 101 to the server 102 periodically. Those skilled in the art will appreciate that the terminal states of the secondary terminals 101 are initially idle states, and if a secondary terminal 101 is assigned, its state will change from idle state to non-idle state. Then, the assistant client 105 will periodically inquire whether the assistant terminal 101 exists, for example, whether the assistant terminal is online or offline, and then report the terminal status of the online assistant terminal 101.
Accordingly, the server 102 may find the idle secondary terminal 101 and transmit the allocation instruction to the secondary client 105. The secondary client 105 may broadcast the allocation instructions to the respective secondary terminals 101. For example, the helper client 105 may broadcast a test application handling request for the test terminal.
In a specific implementation, the assistant client 105 may be configured to report terminal states (for example, an idle state and a non-idle state) of the multiple assistant terminals 101 connected thereto to the server 102, and/or forward a pairing instruction issued by the server 102 to the assistant terminal 101 receiving the pairing instruction, where the terminal states may be selected from: an idle state, a non-idle state. In one embodiment, the assistant client 105 may periodically inquire whether a plurality of assistant terminals 101 connected thereto exist (e.g., online, offline), and report the terminal status of the assistant terminals 101 still online to the server 102.
In one embodiment, if the test instructions request to update the information of the helper client 105, the server 102 may notify the helper client 105 to release the helper terminal 101 that is connected to the helper client 105 and that completes the test function.
In another embodiment, if the server 102 issues an instruction to the assistant client 105 to request to acquire the assistant terminal 101 in an idle state, the assistant client 105 may return information such as an identifier of the assistant terminal 101 in the idle state to the server 102 in response to the instruction issued by the server 102.
The working process of the cluster test system 100 will be further described below by taking the auxiliary terminal 101 as an example for assisting the test terminal 104 in performing called or bluetooth pairing.
First, the assistant client 105 may upload the terminal state (idle state or non-idle state) of the assistant terminal 101 to the server 102 periodically, and the server 102 may acquire the state of the assistant terminal 101 periodically.
Second, the test terminal 104 may send a socket command to the test client 103.
Again, the test client 103 may communicate with the server 102 via HTTP, passing socket commands to the server 102. Thereafter, the server 102 acquires the socket command, finds an idle secondary terminal 101, and may transmit the allocation command to the secondary client 105.
Further, the subsidiary client 105 may notify the subsidiary terminal 101 of the test application processing request by broadcasting.
Further, the auxiliary terminal 101 may complete the called test or the bluetooth pairing test with the test terminal 104 after receiving the test application processing request.
(1) The test client 103 sends an instruction to the server 102
In specific implementation, a doCmd () method in the uia socket client. java class receives a socket instruction sent by a script of the test terminal 104, then forwards the received socket instruction to the server 102, and returns a test response instruction of the server 102. Java class, wherein the instruction may be sent to the server by sending a request through a Uniform Resource Locator (URL) specified by a sendPost () method in the http request.
In one embodiment, if the socket instruction starts with a sprdtest get available number, the socket instruction may be forwarded to the method labeled @ RequestMapping (value) 'getavailablenumber') to perform the subsequent steps.
In another embodiment, if the socket instruction begins with a sprdtest update attribute, the socket instruction may be forwarded to the method labeled @ RequestMapping (value ″/update assistance device status ") to perform the subsequent steps.
In another embodiment, if the socket instruction begins with a sprdtest get assisted status, the socket instruction may be forwarded to the method labeled @ RequestMapping (value: "/getAsistestantStatus") to perform the subsequent steps.
In another embodiment, if the socket instruction begins with a sprdtest associative client status grant, the socket instruction may be forwarded to the method labeled @ RequestMapping (value ″/associative client update ") to perform the subsequent steps.
In another embodiment, if the socket instruction is the rest of the instructions except the above instruction, the socket instruction may be forwarded to the method labeled @ RequestMapping (value ═ newcommand ") to perform the subsequent steps.
(2) The server 102 receives the instruction sent by the testing client 104
Server 102 may receive instructions sent by test client 104 based on HTTP commands.
When the server 102 receives the instruction sent from the testing client 103 and starts with the sprdtest get availablember, it will execute the corresponding getAvailableNumber () method, and return the Sequence Number (SN) of the idle auxiliary terminal 101 and the IP address of the corresponding auxiliary client.
When the server 102 receives an instruction from the test client 103 beginning with sprdtest update attribute, the server 102 executes an update assistance device status () method labeled @ RequestMapping (value ″/update assistance device status ") to update the terminal states of the auxiliary terminals 101 to set the state of some or some of the auxiliary terminals 101 to an idle state or a non-idle state.
When the server 102 receives the instruction sent from the test client 103 beginning with sprdtest get assignstatus, it will execute the corresponding getassastantstatus () method of the auxiliary terminal 101, and return to the state of a certain auxiliary terminal 101.
When the server 102 receives the instruction sent from the test client 103 starting with the sprdtest assignation client update, it will execute the corresponding assignClientUpdate () method and release the corresponding auxiliary terminal 101.
When the server 102 receives instructions from the test client 103 other than those described above, the corresponding newCmd () method will be executed. Specifically, when the instruction starts with a sprdtest voltecall or a sprdtest videocall, it is first determined whether the test terminal 104 has been assigned the auxiliary terminal 101.
If the auxiliary terminal 101 is already allocated, the server 102 also allocates the same auxiliary terminal 101, otherwise, an idle auxiliary terminal 101 with SN including "VOLTE" or "3G", or "5G" or 6G, 7G, etc. is randomly allocated.
If the auxiliary terminal 101 is successfully allocated, judging whether the server 102 is directly connected with the auxiliary terminal 101; if the server 102 is connected to the secondary terminal 101, the broadcast may be directly transmitted to the corresponding secondary terminal 101; if the server 102 is not connected to the helper terminal 101, the instruction may be sent to the helper client 105 where the corresponding helper terminal 101 is located.
As a variant, when the server 102 receives other commands than those mentioned above from the testing client 103, the corresponding new command (newCmd ()) method is executed. Specifically, when the command does not start with sprdtestvoltecall or sprdtest videocall, it may be first determined whether the test terminal 104 has been allocated with the auxiliary terminal 101.
If the auxiliary terminal 101 is already allocated, the server 102 also allocates the same auxiliary terminal 101; on the contrary, if the secondary terminal 101 is not allocated, it is determined whether the SN in the secondary terminal 101 is rewritten to a Subscriber Identity Module (SIM) number in the secondary terminal 101, and the command starts with a "sprdtestcall" character string.
Taking the SIM card as a china mobile card or a china unicom card as an example, if the SIM card is a china mobile card, the auxiliary terminal 101 including the china mobile card is allocated, and if all the auxiliary terminals 101 including the china mobile card are occupied, the auxiliary terminal 101 including the china unicom card is allocated, and vice versa. If the SN of the secondary terminal 101 is not rewritten to the SIM card number in the secondary terminal 101, a secondary terminal 101 with an idle SN is randomly allocated. The idle mode auxiliary terminal 101 may be an idle mode auxiliary terminal of other communication technologies such as "VOLTE", 3G ", and" 5G ", or may not be an idle mode auxiliary terminal of" VOLTE ", 3G", and "5G".
If the auxiliary terminal 101 is successfully allocated, it may be determined whether the server 102 is directly connected to the auxiliary terminal 101, and if the server 102 is connected to the auxiliary terminal 101, the broadcast may be directly transmitted to the corresponding auxiliary terminal 101; if the server 102 is not connected to the helper terminal 101, the instruction may be sent to the helper client 105 where the corresponding helper terminal 101 is located.
3. The helper client 105 receives the instructions sent by the server 102
When the server 102 sends the command, the auxiliary terminal 101 may be specified to receive the command (for example, receive the command by using a cmdcome () method) through an extensible markup language remote Procedure Call (XMLRPC).
If the instruction sent from the server 102 is "sprdtest get available number", the SN number of the idle (i.e., available) secondary terminal 101 in the system is returned.
If the server 102 sends other instructions than the above instructions, the other instructions may be sent to the corresponding auxiliary terminal 101 in a broadcast manner.
In summary, the cluster test system 100 provided in the embodiment of the present invention can unify the test script test command, standardize the encoding format, have strong applicability, efficiently and automatically match the auxiliary terminal 101 with the test terminal, and is beneficial to improving the test efficiency. Further, the cluster test system 100 may uniformly manage the plurality of auxiliary terminals 101, dynamically acquire the states of the auxiliary terminals 101, and complete the test services requested by the plurality of test terminals 104 at the same time.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A cluster test system, comprising:
the auxiliary terminals are used for being matched with the test terminals to assist the test terminals to execute respective test functions, and the test functions comprise communication tests between the test terminals and the auxiliary terminals;
and the server is used for controlling the one-to-one pairing of the plurality of test terminals and the plurality of auxiliary terminals so as to connect the paired test terminals and the auxiliary terminals.
2. The cluster test system of claim 1, further comprising:
and the test client is used for forwarding the test instruction sent by the test terminal to the server and/or receiving the test response instruction from the server to the test terminal.
3. The cluster test system according to claim 2, wherein the server receives, through the test client, the test instructions sent by the respective test terminals, and generates the control instruction according to the test instruction, so as to control at least some of the plurality of auxiliary terminals.
4. The cluster test system according to claim 3, wherein if the test instruction requests to update the information of the auxiliary terminal, the server will update the terminal status of the corresponding auxiliary terminal having completed the test function.
5. The cluster test system according to claim 3, wherein when the test instruction requests to update the terminal state of a designated auxiliary terminal, the server sets the terminal state of the designated auxiliary terminal according to the test instruction;
wherein the designated secondary terminal is one or more of the plurality of secondary terminals, and the terminal state is selected from: an idle state, a non-idle state.
6. The cluster test system according to claim 3, wherein when the test instruction requests to obtain the terminal state of a designated auxiliary terminal, the server returns the terminal state of the designated auxiliary terminal to the test terminal that issued the test instruction through the test client;
wherein the designated secondary terminal is one or more of the plurality of secondary terminals, and the terminal state is selected from: an idle state, a non-idle state.
7. The trunking test system of claim 3 wherein the plurality of auxiliary terminals comprises at least one VOLTE auxiliary terminal, the test function comprises a VOLTE communication test function, and when the test instruction requests the VOLTE auxiliary terminal to be paired, if the VOLTE communication test function is not executed by a first test terminal, the server randomly allocates a first VOLTE auxiliary terminal to the first test terminal, wherein the first VOLTE auxiliary terminal is a VOLTE auxiliary terminal in an idle state of the at least one VOLTE auxiliary terminal; otherwise, preferentially allocating a second VOLTE auxiliary terminal to the first test terminal;
the first test terminal is a test terminal which sends the test instruction, and the second VOLTE auxiliary terminal is a VOLTE auxiliary terminal which is in an idle state and has executed a VOLTE communication test function with the first test terminal.
8. The cluster test system of claim 3, wherein the plurality of auxiliary terminals includes at least one 3G auxiliary terminal, the test function includes a 3G communication test function, when the test instruction requests to pair the 3G auxiliary terminals, if a first test terminal does not perform the 3G communication test function, the server randomly allocates a first 3G auxiliary terminal to the test terminal, and the first 3G auxiliary terminal is a 3G auxiliary terminal in an idle state in the at least one 3G auxiliary terminal; if not, then,
preferentially allocating a second 3G auxiliary terminal to the first test terminal;
the first test terminal is a test terminal which sends the test instruction, and the second 3G auxiliary terminal is a 3G auxiliary terminal which is in an idle state and has executed a 3G communication test function with the first test terminal.
9. The cluster test system of claim 3, wherein the plurality of auxiliary terminals includes at least one 5G auxiliary terminal, the test function includes a 5G communication test function, and when the test instruction requests to pair the 5G auxiliary terminals, if a first test terminal does not perform the 5G communication test function, the server randomly allocates a first 5G auxiliary terminal to the test terminal, where the first 5G auxiliary terminal is a 5G auxiliary terminal in an idle state in the at least one 5G auxiliary terminal; if not, then,
preferentially allocating a second 5G auxiliary terminal to the first test terminal;
the first test terminal is a test terminal which sends the test instruction, and the second 5G auxiliary terminal is a 5G auxiliary terminal which is in an idle state and has executed a 5G communication test function with the first test terminal.
10. The cluster test system according to claim 3, wherein when the test command requests to pair the auxiliary terminals, if the test terminal issuing the test command has not performed the test function, the server randomly allocates a first auxiliary terminal to the test terminal issuing the test command, where the first auxiliary terminal is an idle auxiliary terminal among the plurality of auxiliary terminals; if not, then,
and preferentially distributing a second auxiliary terminal to the test terminal which sends the test instruction, wherein the second auxiliary terminal is in an idle state and already executes a test function with the test terminal.
11. The cluster test system according to claim 3, wherein when the test command requests to pair the auxiliary terminals, if the test terminal that issued the test command has not performed the test function and belongs to a predetermined operator, the server randomly allocates a first auxiliary terminal to the test terminal that issued the test command, where the first auxiliary terminal is an auxiliary terminal of the plurality of auxiliary terminals, which is in an idle state and belongs to the predetermined operator; and if not, preferentially distributing a second auxiliary terminal to the test terminal which sends the test instruction, wherein the second auxiliary terminal is in an idle state and already executes the test function with the test terminal.
12. The cluster test system of any of claims 3 to 11, further comprising:
and the auxiliary client is used for reporting the terminal states of the plurality of auxiliary terminals connected with the auxiliary client to the server and/or forwarding the pairing instruction issued by the server to the auxiliary terminal receiving the pairing instruction.
13. The cluster test system according to claim 12, wherein when the test instruction requests to acquire an auxiliary terminal in an idle state, the server randomly selects the auxiliary terminal in the idle state, and sends the identifier of the selected auxiliary terminal and the IP address of the auxiliary client to the test terminal that issued the test instruction through the test client.
14. The cluster test system of claim 12, wherein the auxiliary client returns an identifier of the auxiliary terminal in an idle state to the server in response to a first instruction issued by the server, and wherein the first instruction is used to request the auxiliary client to obtain the auxiliary terminal in an idle state.
CN201910688908.9A 2019-07-29 2019-07-29 Cluster test system Active CN111294252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910688908.9A CN111294252B (en) 2019-07-29 2019-07-29 Cluster test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910688908.9A CN111294252B (en) 2019-07-29 2019-07-29 Cluster test system

Publications (2)

Publication Number Publication Date
CN111294252A true CN111294252A (en) 2020-06-16
CN111294252B CN111294252B (en) 2022-04-22

Family

ID=71023252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910688908.9A Active CN111294252B (en) 2019-07-29 2019-07-29 Cluster test system

Country Status (1)

Country Link
CN (1) CN111294252B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111817921A (en) * 2020-07-20 2020-10-23 网易(杭州)网络有限公司 Mobile test equipment, test method, device, system and networking method
CN112468564A (en) * 2020-11-20 2021-03-09 浙江百应科技有限公司 Method for realizing automatic multi-machine parallel of terminal APP UI based on Apdium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093462A (en) * 2006-06-22 2007-12-26 上海全成通信技术有限公司 Automatization method for testing schooling pressure on database application
CN101119538A (en) * 2007-09-07 2008-02-06 中兴通讯股份有限公司 Test method and test system for simulating network time delay in cluster system
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
WO2010046888A1 (en) * 2008-10-23 2010-04-29 Cedarwood Technologies Limited Testing of communication networks
US20130166966A1 (en) * 2011-12-27 2013-06-27 Electronics And Telecommunications Research Institute Apparatus and method for testing conformance of service choreography
CN104284350A (en) * 2013-07-04 2015-01-14 腾讯科技(深圳)有限公司 Method and system for testing adaptation of multi-card mobile terminal
CN107211255A (en) * 2014-11-27 2017-09-26 特拉克森公司 The method of the cluster of the electronic equipment communicated for adding via wireless network, the electronic equipment and associated system for implementing methods described
CN107229496A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of auxiliary machine, machine to be measured, terminal test system and method
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN109041023A (en) * 2018-08-14 2018-12-18 福建联迪商用设备有限公司 A kind of bluetooth equipment test method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093462A (en) * 2006-06-22 2007-12-26 上海全成通信技术有限公司 Automatization method for testing schooling pressure on database application
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN101119538A (en) * 2007-09-07 2008-02-06 中兴通讯股份有限公司 Test method and test system for simulating network time delay in cluster system
WO2010046888A1 (en) * 2008-10-23 2010-04-29 Cedarwood Technologies Limited Testing of communication networks
US20130166966A1 (en) * 2011-12-27 2013-06-27 Electronics And Telecommunications Research Institute Apparatus and method for testing conformance of service choreography
CN104284350A (en) * 2013-07-04 2015-01-14 腾讯科技(深圳)有限公司 Method and system for testing adaptation of multi-card mobile terminal
CN107211255A (en) * 2014-11-27 2017-09-26 特拉克森公司 The method of the cluster of the electronic equipment communicated for adding via wireless network, the electronic equipment and associated system for implementing methods described
CN107229496A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of auxiliary machine, machine to be measured, terminal test system and method
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN109041023A (en) * 2018-08-14 2018-12-18 福建联迪商用设备有限公司 A kind of bluetooth equipment test method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111817921A (en) * 2020-07-20 2020-10-23 网易(杭州)网络有限公司 Mobile test equipment, test method, device, system and networking method
CN112468564A (en) * 2020-11-20 2021-03-09 浙江百应科技有限公司 Method for realizing automatic multi-machine parallel of terminal APP UI based on Apdium

Also Published As

Publication number Publication date
CN111294252B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
WO2017161762A1 (en) Data transmission method, device and system
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN110808948B (en) Remote procedure calling method, device and system
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN103780679A (en) Long time delay remote invocation method based on HTTP protocol
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
CN111294252B (en) Cluster test system
CN105991363B (en) Monitoring processing method and device
JP2022517973A (en) User identification card authentication method, devices, electronic devices and storage media
CN112202877B (en) Gateway linkage method, gateway, cloud server and user terminal
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN105554099A (en) Method and device for balancing load of acquisition servers
KR20120125184A (en) Network acceing method and apparatus thereof
CN104507054B (en) Group member information updating method and related equipment
CN108462943B (en) Method for realizing participating group in broadband cluster communication system
CN110417876B (en) Session method, node server in distributed system and master control equipment
AU2018453104B2 (en) Subscription message processing method and apparatus, and computer device and storage medium
CN106970843B (en) Remote calling method and device
CN105791361A (en) Remote assisted setting method, server, terminal and system
CN109039427B (en) Ship monitoring management device
CN114143730B (en) Signaling processing method, communication system, electronic device, and storage medium
CN114158093B (en) Communication method, network element, communication system and storage medium
CN113242313B (en) Data synchronization method, system, device, server and storage medium
CN113727138A (en) HLS intranet source returning method
CN111866762B (en) Special bearer establishment method and user equipment

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