CN117042007A - Multi-terminal communication test method and device - Google Patents

Multi-terminal communication test method and device Download PDF

Info

Publication number
CN117042007A
CN117042007A CN202311042157.6A CN202311042157A CN117042007A CN 117042007 A CN117042007 A CN 117042007A CN 202311042157 A CN202311042157 A CN 202311042157A CN 117042007 A CN117042007 A CN 117042007A
Authority
CN
China
Prior art keywords
wireless communication
communication network
test
test terminal
call
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.)
Pending
Application number
CN202311042157.6A
Other languages
Chinese (zh)
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.)
Caltta Technologies Co ltd
Original Assignee
Caltta Technologies 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 Caltta Technologies Co ltd filed Critical Caltta Technologies Co ltd
Priority to CN202311042157.6A priority Critical patent/CN117042007A/en
Publication of CN117042007A publication Critical patent/CN117042007A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a multi-terminal communication test method and a device, wherein the method comprises the following steps: transmitting a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to carry out public network or private network communication; and acquiring a plurality of pieces of page detection data of at least two test terminals in the communication process through a wireless communication network. The embodiment of the application can solve the problem that the calling and called interaction test cannot be carried out on a plurality of terminals simultaneously in the related technology, realize the automatic interaction test on the plurality of terminals and improve the test efficiency and the accuracy of the test result.

Description

Multi-terminal communication test method and device
Technical Field
The application relates to the field of automatic testing, in particular to a multi-terminal communication testing method and device.
Background
Under the conditions that the requirements of interphone projects are not changed frequently and the project period is long, more time is consumed in the construction of versions and temporary versions, the testing of the minimum function set and the like in research days, during manual testing, most of test cases of each version are interacted with a caller and a callee according to a User Interface (UI) to judge whether the test cases are correct or not, during testing, whether errors exist or not is confirmed manually according to one item of a requirement specification, more labor time is consumed in manual testing, and small probability faults and slight UI problems existing in the testing process are difficult to distinguish manually.
In the related art, although an automated testing tool, an app ium framework or a uiautomatic framework, can be used for performing automated testing, the output of a test result and the log of an execution process are not clear enough, and all data are mixed together and are difficult to distinguish. In addition, the scheme can not perform UI automatic test of mutual calling and called interaction between two or more terminals, and when the interphone is connected with a computer, a network switch is required to be closed, and when the interphone is closed, private network or public network can not be used for private network or public network intercom.
In summary, aiming at the problem that the interaction test of the calling and the called can not be performed on a plurality of terminals simultaneously in the related art, a good solution is not provided.
Disclosure of Invention
The embodiment of the application provides a multi-terminal communication test method and device, which at least solve the problem that the multi-terminal communication test method and device cannot simultaneously perform a calling and a called interaction test in the related technology.
According to an embodiment of the present application, there is provided a multi-terminal communication test method including: transmitting a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to perform public network or private network communication; and acquiring a plurality of pieces of page detection data of the at least two test terminals in the communication process through the wireless communication network.
According to another embodiment of the present application, there is provided a terminal communication test apparatus including: the control module is used for sending a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to carry out public network or private network communication; and the detection module is used for acquiring a plurality of pieces of page detection data of the at least two test terminals in the communication process through the wireless communication network.
According to a further embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program, wherein the computer program when executed by a processor performs the steps of any of the method embodiments described above.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor being arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the embodiment of the application, the plurality of terminals are controlled to perform the calling and called interaction through the wireless communication network, so that the automatic test of the communication of the plurality of terminals can be realized, a great deal of manpower is saved, the test accuracy is improved, and the problem that the calling and called interaction test cannot be performed on the plurality of terminals simultaneously in the related technology is solved.
Drawings
FIG. 1 is a block diagram of a hardware configuration of a multi-terminal communication test method according to an embodiment of the present application;
FIG. 2 is a flow chart of a multi-terminal communication test method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a device connection in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of a test flow for full duplex single call in accordance with an embodiment of the application;
FIG. 5 is a schematic diagram of a test flow for a half duplex call according to an embodiment of the application;
fig. 6 is a schematic diagram of a short message testing flow according to an embodiment of the application;
FIG. 7 is a schematic diagram of a test flow of a group call according to an embodiment of the application;
fig. 8 is a block diagram of a terminal communication test apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking a computer terminal as an example, fig. 1 is a block diagram of a hardware structure of a multi-terminal communication test method according to an embodiment of the present application, as shown in fig. 1, a hardware board may include one or more (only one is shown in fig. 1) processors 12 (the processors 12 may include, but are not limited to, a microprocessor MCU or a programmable logic device, etc.) and a memory 14 for storing data, where the computer terminal may further include a transmission device 16 for a communication function and an input/output device 18. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 14 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the multi-terminal communication test method in the embodiment of the present application, and the processor 12 executes various functional applications and the multi-terminal communication test method by executing the computer program stored in the memory 14, that is, implements the above-described method. Memory 14 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 14 may further include memory located remotely from processor 12, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 16 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider. In one example, the transmission device 16 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 16 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
In an embodiment of the present application, a multi-terminal communication testing method is provided, and fig. 2 is a flowchart of a multi-terminal communication testing method according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, a plurality of control instructions corresponding to a preset calling and called interaction mode are sent to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to carry out public network or private network communication;
step S204, acquiring a plurality of pieces of page detection data of at least two test terminals in the communication process through a wireless communication network.
In this embodiment, the test terminal may be a mobile terminal or an intercom, or may be represented by a UE (User Equipment). The control terminal is connected with the test terminal through a wireless communication network (Wi-Fi) and sends a control instruction or receives feedback test data through the wireless communication network. The control terminal may be a computer terminal or a mobile terminal, and may be represented by a PC (Personal Computer ).
In the embodiment of the application, according to the methods in the steps S202 to S204, the calling and called interactive tests can be realized by simultaneously controlling a plurality of terminal devices through the wireless communication network, the problem that the calling and called interactive tests cannot be simultaneously performed on a plurality of terminals in the related technology is solved, the testing efficiency and the testing accuracy are improved, and the manpower and material resources are saved.
The application mainly relates to the following technical terms:
daily construction: it means compiling a version every day or two or three days, carrying out minimum function set test on each function point after compiling and constructing, constructing daily is the recommended effective practice of software comparison, emphasizing early intervention of test and continuous version integration.
Private network switch: the communication switch of the private network must be closed when the interphone of partial model needs to be connected with a computer.
And (3) interaction between a calling party and a called party: the calling user refers to a user who initiatively initiates a call; the called user refers to a user who receives a call; the interaction between them is called interaction.
Quick dialing group: the group where the interphone stands by can initiate the fast dialing group call by pressing a Push-To-Talk (PTT) key.
Minimum functional set test: refers to the minimum test case set on the premise of ensuring that all functions are covered.
Full duplex single call: full duplex allows data to be transmitted simultaneously in two directions, and like a public network telephone of a mobile phone, the full duplex can talk on both sides simultaneously, listen simultaneously and do not interfere with each other; split full duplex video and full duplex voice.
Half duplex single call: half duplex allows data to be transmitted in both directions, but at the same time data can only be transmitted in one direction, effectively a simplex of the handover. Namely, two-side communication can only be performed while one side is speaking and the other side is listening; half duplex supports voice only.
Preemption of talk rights: a plurality of interphones are arranged under one group, the priorities of the interphones can be set respectively, and the high-priority interphones can rob the speaking right of the low-priority interphones.
Late access: after exiting the group call for a period of time, if the group call is still in hold, it will be re-accessed by the group call.
Timeout release: the system is a mechanism for automatically terminating connection and releasing related resources when the response or confirmation message of the opposite party is not received within a certain time, for example, the system automatically releases the group call after the voice group call and the homologous video group call are in an idle state for a period of time.
In some embodiments, the calling-called interaction pattern comprises at least one of: full duplex single call mode, half duplex single call mode, short message mode, group call mode.
In some embodiments, in the case that the calling-called interaction mode is the full duplex single call mode, step S202 may include the steps of:
S202A-1, a first test terminal in the at least two test terminals is controlled to initiate an active call to a second test terminal in a dialing mode through the wireless communication network;
S202A-2, controlling the second test terminal to answer the call and enter a call state through the wireless communication network;
S202A-3, controlling the first test terminal to hang up the call through the wireless communication network.
In some embodiments, the full duplex call may be a full duplex video call or a full duplex voice call.
In some embodiments, in the case that the calling-called interaction mode is the full duplex single call mode, step S204 may include the following steps:
S204A-1, acquiring page detection data of the first test terminal in a dialing process and page detection data after an active call is initiated through the wireless communication network;
S204A-2, acquiring page detection data of the second test terminal in passive calling through the wireless communication network;
S204A-3, respectively acquiring page detection data of the second test terminal and the first test terminal in a call through the wireless communication network;
S204A-4, respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
In some embodiments, in the case that the calling-called interaction mode is the half-duplex single call mode, step S202 may include the steps of:
S202B-1, a first test terminal in the at least two test terminals is controlled to initiate a call to a second test terminal in a dialing mode through the wireless communication network and enter a speaking state;
S202B-2, controlling the first test terminal to release the speaking right and enter an idle state through the wireless communication network;
S202B-3, controlling the second test terminal to obtain speaking right and enter a speaking state through the wireless communication network;
S202B-4, controlling the first test terminal to preempt the speaking right and enter a speaking state through the wireless communication network, wherein the priority of the first test terminal is higher than that of the second test terminal;
S202B-5, controlling the second test terminal to hang up the call through the wireless communication network.
In some embodiments, the half-duplex call may be a half-duplex voice call.
In some embodiments, in the case that the calling-called interaction mode is the half-duplex single call mode, step S204 may include the following steps:
S204B-1, acquiring page detection data of the first test terminal in the dialing process through the wireless communication network;
S204B-2, respectively acquiring page detection data of the second test terminal and the first test terminal in an listening state, a speaking state or an idle state through the wireless communication network;
S204B-3, respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
In some embodiments, in the case that the calling-called interaction mode is the short message mode, step S202 may include the following steps:
S202C-1, controlling a first test terminal in the at least two test terminals to create a text short message through the wireless communication network and sending the text short message to at least one second test terminal;
S202C-2, controlling the at least one second test terminal to reply a state short message to the first test terminal through the wireless communication network;
S202C-3, controlling the first test terminal to delete the short message through the wireless communication network;
S202C-4, controlling the at least one second test terminal to empty the short message through the wireless communication network.
In some embodiments, in the case that the calling-called interaction mode is the short message mode, step S204 may include the following steps:
S204C-1, acquiring page detection data of the at least one second test terminal after receiving the text short message through the wireless communication network;
S204C-2, acquiring page detection data of the first test terminal after receiving the state short message through the wireless communication network;
S204C-3, acquiring page detection data of the first test terminal after deleting the short message through the wireless communication network;
S204C-4, acquiring page detection data of the at least one second test terminal after the short message is emptied through the wireless communication network.
In some embodiments, in the case that the calling-called interaction mode is the group call mode, step S202 may include the steps of:
S202D-1, a first test terminal in the at least two test terminals is controlled to initiate a group call of a quick-dialing group through the wireless communication network, wherein the quick-dialing group comprises the first test terminal and at least one second test terminal;
S202D-2, controlling a designated second test terminal to preempt the speaking right through the wireless communication network;
S202D-3, controlling the first test terminal to exit the group call of the quick dialing group through the wireless communication network;
S202D-4, after a preset time, controlling the first test terminal to access the group call of the quick dialing group later and preempt the speaking right through the wireless communication network;
S202D-5, controlling a designated second test terminal to hang up the group call of the quick dialing group through the wireless communication network.
In some embodiments, the group call may be a voice group call or a video group call.
In some embodiments, video group calls may be divided into homologous video group calls and non-homologous video group calls. The homologous video group calling is to add video based on the voice group calling, and when the calling party presses the PTT key to talk, the calling party can transmit own camera pictures at the same time. The non-homologous video group call is to fix the camera picture of the transmitting calling party, and in idle state, the call is not released overtime.
In some embodiments, the system automatically releases the group call after a period of time in idle state, called timeout release.
In some embodiments, in the case that the calling-called interaction mode is the group call mode, step S204 may include the steps of:
S204D-1, respectively acquiring page detection data of the first test terminal and the at least one second test terminal in a group call process through the wireless communication network;
S204D-2, acquiring page detection data of the first test terminal after exiting the group call of the quick dialing group through the wireless communication network;
S204D-3, acquiring page detection data of the first test terminal after the group call of the quick dialing group is accessed later through the wireless communication network;
S204D-4, respectively acquiring page detection data of the first test terminal and the at least one second test terminal after the group call is ended through the wireless communication network.
In some embodiments, prior to step S202, the method further comprises: and controlling the at least two test terminals to empty the communication record and return to the standby page through the wireless communication network.
In some embodiments, prior to step S202, the method further comprises: and sending the test program installation package to the at least two test terminals through the wireless communication network, and controlling the at least two test terminals to install and start corresponding test programs.
In an exemplary embodiment, after the control terminal issues the control instructions to the test terminal through the wireless communication network, the test terminal sequentially executes each control instruction through the test program to achieve the corresponding interaction.
In an exemplary embodiment, the control terminal sequentially issues respective control instructions of the calling party and the called party to the corresponding test terminal according to a preset calling-called interaction flow, and receives page detection data corresponding to each control instruction respectively.
In some embodiments, the control terminal may further aggregate the page detection data obtained from the plurality of test terminals, compare the page detection data with a preset UI of the user, and output a final test report. The test report may include, but is not limited to, html format.
In the present embodiment, the page detection data includes various page elements displayed in the user UI, including, but not limited to, the following: call interface (call number, call state, call time), group call interface (group call name, group call number, call right state), call record (call time, call type, call number), short message interface (send/receive number, send/receive time, message text content), etc., in video call or video group call, the page detection data may also include video pictures.
Through the embodiment of the application, UI automation test can be carried out in construction of research and development days, and pressure test can also be carried out when the version is released, and a user can realize automation test and generate a test report by modifying a small amount of parameters (such as a terminal local number, a group number and the like) at a control terminal (such as a computer).
Fig. 3 is a schematic diagram of a device connection manner according to an embodiment of the present application, as shown in fig. 3, a control terminal is connected to a plurality of test terminals through a WiFi wireless communication network, and the control terminal (e.g. a computer) remotely controls a single station and a plurality of test terminals (e.g. interphones) through the wireless communication network to perform a calling and called interaction test under a private network or a public network.
By the embodiment of the application, the automatic test of a plurality of test terminals can be realized, the pressure test for 24 hours or more can be realized, the problem that a large amount of manpower is spent on the minimum function set test by using manpower in a large number of continuously released versions when the versions and the temporary versions are constructed on the research and development days is solved, and the test manpower is saved. Through automatic continuous test, the problem of small probability faults can be found, and the test effect is improved.
According to the embodiment of the application, the situation that the wire data connection is disturbed due to overlarge transmitting power when the wire connection interphone is tested, so that packet loss or interruption is caused can be prevented, and the transmission effect of control instructions and detection data in the testing process is ensured. In addition, aiming at a part of terminals with special models, the terminals can be called under the condition of wired connection with a computer without switching a private network, and USB wired connection can be used for replacing WiFi wireless connection test.
Fig. 4 is a schematic diagram of a full duplex call-alone test flow according to an embodiment of the application, as shown in fig. 4, the flow comprising the steps of:
step S401: the control terminal PC controls the calling terminal UE1 to initialize, including: and (5) clearing the call record of the UE1 and returning to the main page standby.
Step S402: the PC controls the called terminal UE2 to initialize, including: and (5) clearing the call record of the UE2 and returning to the main page standby.
Step S403: the PC controls the UE1 to detect the corresponding page after dialing, and the method comprises the following steps: entering a dial plate to input a number for dialing (a number with national codes 0086 and +86 can be input), starting a call after the input is completed, detecting whether a starting call page element and a number appearing on a page correspond to the input number or not, and the like.
Step S404: the PC controls the UE2 to answer after detecting the corresponding page, including: firstly, detecting the condition of a ringing page, wherein the number on the page is the same as that of the UE1 (the number of the UE1 displayed by the UE2 is not a national code), answering a call after detection, detecting that the page is changed into a page in the call after answering, and detecting whether interface elements such as call time, call number and the like are normal or not.
Step S405: the PC controls the UE1 to hang up and check call records after detecting the corresponding page, and the method comprises the following steps: detecting that the page is changed into a page in a call, detecting whether interface elements such as call time, call number and the like are normal, hanging up the call after detection, judging whether to jump to a standby main page after the call is ended, and checking a call record, wherein the call record can comprise call time, call type, call number and the like.
Step S406: the PC controls the UE2 to detect the page and view the call record, including: and detecting the change of the call page into a standby main page, and checking the display of the call time, the call type, the call number and the like in the call record.
In the embodiment of the application, the full duplex single call can be a voice single call or a video single call. UE1 and UE2 detect the page and look over the call record according to the control command respectively, and send the corresponding data to PC through WiFi, the PC compares the analysis to the detected data, get the final test result.
Fig. 5 is a schematic diagram of a test flow of a half duplex call according to an embodiment of the application, as shown in fig. 5, the flow includes the following steps:
step S501: the PC controls the UE1 to initialize, including: the call log of UE1 is cleared and the main page is returned to standby.
Step S502: the PC controls the UE2 to initialize, including: the call log of UE2 is cleared and the home page is returned to standby.
Step S503: the PC controls the UE1 to detect the corresponding page after dialing, and the method comprises the following steps: entering dial plate to input number dialing (number with country code 0086 and +86 can be input), starting calling after inputting, detecting jump main page, main page becoming talking interface, if the number with country code should be displayed in interface, and displaying interface elements such as state timing of talking.
Step S504: the PC controls the UE2 to detect the page and call state, including: detecting that the main page becomes a call interface, wherein the UE1 number displayed by the UE2 in the interface is not provided with a country code, and displaying interface elements such as an audible state.
Step S505: the PC controls the UE1 to release the talk burst, including: and releasing the PTT key to release the speaking right, and detecting that the talking interface is in display idle state.
Step S506: the PC controls the UE2 to obtain the speaking right, including: pressing the PTT key to obtain speaking right, detecting interface elements such as speaking state timing and the like displayed on the speaking page.
Step S507: the PC controls the UE1 to preempt the speaking right, which comprises the following steps: and pressing the PTT key to preempt the speaking right, detecting that interface elements such as a conversation interface changes from an listening state to a speaking state, and the state timing and the like are displayed normally.
Step S508: the PC controls the UE2 to hang up and detect the page after checking the call state, including: after detecting that the call state is the listening state, hanging up the call and detecting the call time, the call type and the call number in the call record.
Step S509: the PC controls the UE1 to detect the page and the call record, and the method comprises the following steps: and detecting the change of the call interface into a standby main page and detecting the call time, the call type and the call number display in the call record.
In this embodiment, the half duplex call may be a voice call. The call state includes: the terminal which obtains the speaking right is in the speaking state, and the other terminal is automatically changed into the listening state.
In this embodiment, the party with higher priority of speaking right may obtain speaking right by preempting speaking right and enter speaking state.
In this embodiment, the UE1 and the UE2 respectively detect the page and view the call record according to the control instruction, and send the corresponding data to the PC through WiFi, and the PC performs comparative analysis on the detected data to obtain a final test result.
Fig. 6 is a schematic diagram of a short message testing flow according to an embodiment of the application, as shown in fig. 6, the flow includes the following steps:
step S601: PC controls UE1 initialization, including: the short message of the UE1 is emptied and the short message list is entered for standby.
Step S602: PC controls UE2 and other UE initialization, including: and clearing the respective short messages and entering a short message list for standby.
Step S603: the PC controls the UE1 to newly establish and send a text short message, and the method comprises the following steps: and newly creating and sending a text short message, and inputting a national code 0086 or +86 plus code for sending, and sending to the group calling contact and the individual calling contact.
Step S604: the PC controls the UE2 to detect text short messages and send status information with other UEs, including: detecting whether the sending number, the receiving time and the text content of the received text short message correspond or not, and replying to the state short message.
Step S605: the PC controls the UE1 to detect the status information and delete a single short message, including: detecting whether the sending number, the receiving time, the state message code and the text paraphrasing of the received state short message are corresponding, and detecting whether the deletion is successful after deleting the single short message.
Step S606: the PC controls the short message list of the UE2 and other UE conditions, and the short message list comprises: and (5) emptying the short message, and detecting whether the short message is normally emptied.
In this embodiment, the UE1 may send a short message to one or more terminals, where the sender UE1, the receiver UE2, and other UEs of the short message respectively detect the page and view the call record according to the control instruction, and send the corresponding data to the PC through WiFi, and the PC performs comparative analysis on the detected data to obtain a final test result.
Fig. 7 is a schematic diagram of a testing flow of a group call according to an embodiment of the application, as shown in fig. 7, the flow includes the following steps:
step S701: PC controls UE1 initialization, including: returning to the main page standby.
Step S702: PC controls UE2 and other UE initialization, including: returning to the main page standby.
Step S703: the PC controls the UE1 to initiate the quick group calling, which comprises the following steps: pressing PTT key to initiate quick group calling, optionally initiating voice group calling or video group calling; and detecting interface element conditions such as group call name, group call number, state timing and the like of the call page after the initiation.
Step S704: the PC controls the UE2 to detect the talk right preemption after corresponding pages with other UEs, and the method comprises the following steps: and detecting whether interface elements such as group call name, group call number, speaking right state, current speaking UE name and the like of the calling page are normal or not. And finally, selecting a certain UE to press a PTT key for speaking right preemption, and detecting the speaking state timing condition of the call page after preemption.
Step S705: the PC controls the UE1 to exit the group call after detecting the corresponding page, and the method comprises the following steps: and after detecting the name of the current talking UE of the call page, exiting the group call, and after exiting, detecting that the call page becomes a standby main page.
Step S706: the PC controls the UE1 to obtain the speaking right after later access, comprising: after waiting for a period of time, checking whether the logged-in group call is accessed later, and detecting whether interface elements such as group call name, group call number, speaking right state and the like of the call page are normal after the access. And finally, after the PTT key is pressed to obtain the speaking right, detecting the speaking state and timing.
Step S707: the PC controls the detection page after the UE2 hangs up the group call with other UEs, and the detection page comprises: and selecting the UE2 to hang up the group call, and detecting that the call interface between the UE2 and other UEs is changed into a standby main page.
Step S708: the PC controls the UE1 to detect the page, and the method comprises the following steps: and detecting that the call interface is changed into a standby main page.
In this embodiment, there are multiple interphones under a group, which can set the priority of the interphone, and the high-priority interphone can rob the speaking right of the low-priority interphone.
In this embodiment, UE1, UE2 and other UEs respectively detect pages and view call records according to control instructions, and send corresponding data to the PC through WiFi, and the PC performs comparative analysis on the detected data to obtain a final test result.
According to another aspect of the embodiment of the application, a terminal communication testing device is also provided.
Fig. 8 is a block diagram of a terminal communication test apparatus according to an embodiment of the present application, as shown in fig. 8, the apparatus including:
the control module 82 is configured to send a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, where the plurality of control instructions are used to control the at least two test terminals to perform public network or private network communication;
the detection module 84 is configured to obtain, through the wireless communication network, multiple pieces of page detection data of the at least two test terminals in a communication process.
In some embodiments, the calling-called interaction pattern comprises at least one of: full duplex single call mode, half duplex single call mode, short message mode, group call mode.
In some embodiments, the control module 82 is configured to control, in a case where the calling-called interaction mode is the full duplex single call mode, a first test terminal of the at least two test terminals to initiate an active call to a second test terminal in a dialing manner through the wireless communication network; controlling the second test terminal to answer the call and enter a call state through the wireless communication network; and controlling the first test terminal to hang up the call through the wireless communication network.
In some embodiments, the detecting module 84 is configured to obtain, through the wireless communication network, page detection data of the first test terminal during a dialing process and page detection data after an active call is initiated, where the calling-called interaction mode is the full duplex single call mode; acquiring page detection data of the second test terminal during passive calling through the wireless communication network; respectively acquiring page detection data of the second test terminal and the first test terminal in a call through the wireless communication network; and respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
In some embodiments, the control module 82 is configured to control, in a case where the calling-called interaction mode is the half-duplex single call mode, a first test terminal of the at least two test terminals to initiate a call to a second test terminal in a dialing manner through the wireless communication network and enter a talk state; controlling the first test terminal to release the speaking right and enter an idle state through the wireless communication network; controlling the second test terminal to obtain speaking right and enter a speaking state through the wireless communication network; the first test terminal is controlled to preempt the speaking right and enter a speaking state through the wireless communication network, wherein the priority of the first test terminal is higher than that of the second test terminal; and controlling the second test terminal to hang up the call through the wireless communication network control.
In some embodiments, the detecting module 84 is configured to obtain, through the wireless communication network, page detection data of the first test terminal during a dialing process when the calling interaction mode is the half duplex single call mode; respectively acquiring page detection data of the second test terminal and the first test terminal in an listening state, a speaking state or an idle state through the wireless communication network; and respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
In some embodiments, the control module 82 is configured to control, through the wireless communication network, a first test terminal of the at least two test terminals to create a text short message and send the text short message to at least one second test terminal when the calling interaction mode is the short message mode; the at least one second test terminal is controlled to reply a state short message to the first test terminal through the wireless communication network; controlling the first test terminal to delete a short message through the wireless communication network; and controlling the at least one second test terminal to empty the short message through the wireless communication network.
In some embodiments, the detecting module 84 is configured to obtain, through the wireless communication network, page detection data of the at least one second test terminal after receiving the text short message, where the calling interaction mode and the called interaction mode are the short message mode; acquiring page detection data of the first test terminal after receiving the state short message through the wireless communication network; acquiring page detection data of the first test terminal after deleting the short message through the wireless communication network; and acquiring page detection data of the at least one second test terminal after the short message is cleared through the wireless communication network.
In some embodiments, the control module 82 is configured to control, in a case where the calling-called interaction mode is the group call mode, a first test terminal of the at least two test terminals to initiate a group call of a fast dialing group through the wireless communication network, where the fast dialing group includes the first test terminal and at least one second test terminal; controlling a designated second test terminal to preempt the speaking right through the wireless communication network; controlling the first test terminal to exit the group call of the quick dialing group through the wireless communication network; after a preset time, controlling the first test terminal to access the group call of the quick dialing group later and preempt the speaking right through the wireless communication network; and controlling a designated second test terminal to hang up the group call of the quick dialing group through the wireless communication network.
In some embodiments, the detecting module 84 is configured to obtain, when the calling interaction mode is the group call mode, page detection data of the first test terminal and the at least one second test terminal during a group call through the wireless communication network, respectively; acquiring page detection data of the first test terminal after exiting the group call of the quick dialing group through the wireless communication network; acquiring page detection data of the first test terminal after the group call of the quick dialing group is accessed later through the wireless communication network; and respectively acquiring page detection data of the first test terminal and the at least one second test terminal after the group call is ended through the wireless communication network.
In some embodiments, the apparatus further comprises: and the initialization module is used for controlling the at least two test terminals to empty the communication record and return to the standby page through the wireless communication network.
In some embodiments, the apparatus further comprises: and the starting module is used for sending the test program installation package to the at least two test terminals through the wireless communication network, controlling the at least two test terminals to install and start the corresponding test programs.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program when executed by a processor performs the steps of any of the method embodiments described above.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only illustrative of the application and is not intended to limit the same, but rather various modifications and variations can be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A multi-terminal communication test method, the method comprising:
transmitting a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to perform public network or private network communication;
and acquiring a plurality of pieces of page detection data of the at least two test terminals in the communication process through the wireless communication network.
2. The method of claim 1, wherein the calling-called interaction pattern comprises at least one of: full duplex single call mode, half duplex single call mode, short message mode, group call mode.
3. The method according to claim 2, wherein transmitting a plurality of control instructions corresponding to a preset calling-called interaction mode to at least two test terminals through a wireless communication network comprises:
Under the condition that the calling interaction mode and the called interaction mode are the full duplex single call mode, a first test terminal in the at least two test terminals is controlled by the wireless communication network to initiate an active call to a second test terminal in a dialing mode;
controlling the second test terminal to answer the call and enter a call state through the wireless communication network;
and controlling the first test terminal to hang up the call through the wireless communication network.
4. A method according to claim 3, wherein obtaining, via the wireless communication network, a plurality of pieces of page detection data of the at least two test terminals during communication, comprises:
acquiring page detection data of the first test terminal in the dialing process and page detection data after the active call is initiated through the wireless communication network;
acquiring page detection data of the second test terminal during passive calling through the wireless communication network;
respectively acquiring page detection data of the second test terminal and the first test terminal in a call through the wireless communication network;
and respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
5. The method according to claim 2, wherein transmitting a plurality of control instructions corresponding to a preset calling-called interaction mode to at least two test terminals through a wireless communication network comprises:
under the condition that the calling interaction mode and the called interaction mode are the half-duplex single call mode, a first test terminal in the at least two test terminals is controlled by the wireless communication network to initiate a call to a second test terminal in a dialing mode and enter a talk state;
controlling the first test terminal to release the speaking right and enter an idle state through the wireless communication network;
controlling the second test terminal to obtain speaking right and enter a speaking state through the wireless communication network;
the first test terminal is controlled to preempt the speaking right and enter a speaking state through the wireless communication network, wherein the priority of the first test terminal is higher than that of the second test terminal;
and controlling the second test terminal to hang up the call through the wireless communication network control.
6. The method according to claim 5, wherein acquiring, via the wireless communication network, a plurality of pieces of page detection data of the at least two test terminals during communication, comprises:
Acquiring page detection data of the first test terminal in the dialing process through the wireless communication network;
respectively acquiring page detection data of the second test terminal and the first test terminal in an listening state, a speaking state or an idle state through the wireless communication network;
and respectively acquiring page detection data of the second test terminal and the first test terminal after the call is ended through the wireless communication network.
7. The method according to claim 2, wherein transmitting a plurality of control instructions corresponding to a preset calling-called interaction mode to at least two test terminals through a wireless communication network comprises:
under the condition that the calling interaction mode and the called interaction mode are the short message modes, controlling a first test terminal in the at least two test terminals to establish a text short message through the wireless communication network and sending the text short message to at least one second test terminal;
the at least one second test terminal is controlled to reply a state short message to the first test terminal through the wireless communication network;
controlling the first test terminal to delete a short message through the wireless communication network;
and controlling the at least one second test terminal to empty the short message through the wireless communication network.
8. The method of claim 7, wherein obtaining, via the wireless communication network, a plurality of pieces of page detection data of the at least two test terminals during communication, comprises:
acquiring page detection data of the at least one second test terminal after receiving the text short message through the wireless communication network;
acquiring page detection data of the first test terminal after receiving the state short message through the wireless communication network;
acquiring page detection data of the first test terminal after deleting the short message through the wireless communication network;
and acquiring page detection data of the at least one second test terminal after the short message is cleared through the wireless communication network.
9. The method according to claim 2, wherein transmitting a plurality of control instructions corresponding to a preset calling-called interaction mode to at least two test terminals through a wireless communication network comprises:
controlling a first test terminal in the at least two test terminals to initiate a group call of a quick-dialing group through the wireless communication network under the condition that the calling and called interaction mode is the group call mode, wherein the quick-dialing group comprises the first test terminal and at least one second test terminal;
Controlling a designated second test terminal to preempt the speaking right through the wireless communication network;
controlling the first test terminal to exit the group call of the quick dialing group through the wireless communication network;
after a preset time, controlling the first test terminal to access the group call of the quick dialing group later and preempt the speaking right through the wireless communication network;
and controlling a designated second test terminal to hang up the group call of the quick dialing group through the wireless communication network.
10. The method according to claim 9, wherein acquiring, via the wireless communication network, a plurality of pieces of page detection data of the at least two test terminals during communication, comprises:
respectively acquiring page detection data of the first test terminal and the at least one second test terminal in a group call process through the wireless communication network;
acquiring page detection data of the first test terminal after exiting the group call of the quick dialing group through the wireless communication network;
acquiring page detection data of the first test terminal after the group call of the quick dialing group is accessed later through the wireless communication network;
And respectively acquiring page detection data of the first test terminal and the at least one second test terminal after the group call is ended through the wireless communication network.
11. The method of claim 1, wherein before transmitting a plurality of control instructions corresponding to a preset calling and called interaction pattern to at least two test terminals through a wireless communication network, the method further comprises:
and controlling the at least two test terminals to empty the communication record and return to the standby page through the wireless communication network.
12. The method of claim 1, wherein before transmitting a plurality of control instructions corresponding to a preset calling and called interaction pattern to at least two test terminals through a wireless communication network, the method further comprises:
and sending the test program installation package to the at least two test terminals through the wireless communication network, and controlling the at least two test terminals to install and start corresponding test programs.
13. A multi-terminal communication test apparatus, the apparatus comprising:
the control module is used for sending a plurality of control instructions corresponding to a preset calling and called interaction mode to at least two test terminals through a wireless communication network, wherein the plurality of control instructions are used for controlling the at least two test terminals to carry out public network or private network communication;
And the detection module is used for acquiring a plurality of pieces of page detection data of the at least two test terminals in the communication process through the wireless communication network.
14. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, wherein the computer program, when being executed by a processor, performs the method of any one of claims 1 to 12.
15. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of claims 1 to 12.
CN202311042157.6A 2023-08-17 2023-08-17 Multi-terminal communication test method and device Pending CN117042007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311042157.6A CN117042007A (en) 2023-08-17 2023-08-17 Multi-terminal communication test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311042157.6A CN117042007A (en) 2023-08-17 2023-08-17 Multi-terminal communication test method and device

Publications (1)

Publication Number Publication Date
CN117042007A true CN117042007A (en) 2023-11-10

Family

ID=88626111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311042157.6A Pending CN117042007A (en) 2023-08-17 2023-08-17 Multi-terminal communication test method and device

Country Status (1)

Country Link
CN (1) CN117042007A (en)

Similar Documents

Publication Publication Date Title
CN101390371B (en) Communication device, server device, and communication control method
EP2582169A1 (en) Monitoring system for mobile terminal and monitoring method thereof
CA2784651C (en) Apparatus and method in a wireless device for reestablishing a call
CN104270827A (en) Method and device for transferring call
CN105474613A (en) Incoming call forwarding method and user equipment
CN103856596A (en) Conversation method, device and terminal
CN105578438A (en) Fixed-line telephone sharing method and related equipment
US20140148137A1 (en) Conversation method and terminal
CN104602214A (en) Expansion method of wireless voice and short message service of mobile phone
CN105120524A (en) Method for establishing communication connection and electronic device
CN117042007A (en) Multi-terminal communication test method and device
CN105120525A (en) Method for establishing communication connection and electronic device
WO2016165669A1 (en) Automatic redialling method and device for mobile phone calling busy line, terminal and computer-readable storage medium
CN107509000B (en) Call processing method and device
EP2996315B1 (en) Cordless telephone apparatus and cordless telephone system
JP3164095B2 (en) Mobile phone with personal information transmission / reception function
US20120184257A1 (en) Multiparty lines Communication Method
CN111866717A (en) Alarm call processing method and device, and computer readable storage medium
CN115987950A (en) Call method, device and equipment
CN115314594A (en) Voice call processing method, device, equipment and storage medium
KR101733098B1 (en) System and method for providing ptt services using telecommunication call
KR20240041449A (en) Method and apparatus for displaying missed calls on communication terminal
KR100883112B1 (en) Method for multi-party call in mobile communication terminal
CN117896466A (en) Teleconference management method, electronic device and storage medium
CN101437027B (en) Method and system for detecting terminal compatibility, and access gateway control function entity

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