WO2022183552A1 - 通信设备测试方法、装置、存储介质、终端及测试系统 - Google Patents
通信设备测试方法、装置、存储介质、终端及测试系统 Download PDFInfo
- Publication number
- WO2022183552A1 WO2022183552A1 PCT/CN2021/083498 CN2021083498W WO2022183552A1 WO 2022183552 A1 WO2022183552 A1 WO 2022183552A1 CN 2021083498 W CN2021083498 W CN 2021083498W WO 2022183552 A1 WO2022183552 A1 WO 2022183552A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- signaling data
- target
- terminal
- signaling
- network
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Definitions
- the present application relates to the field of mobile communication technologies, and in particular, to a communication equipment testing method, apparatus, storage medium and terminal.
- the operator laboratory or GCF certification test usually does not provide the test script on the 5G instrument side to the terminal manufacturer, so the operator laboratory or GCF certification test process.
- the terminal manufacturer cannot reproduce the test exception by itself.
- the embodiments of this application provide a method, device, storage medium, and terminal for testing communication equipment.
- the patent of the present invention is based on the log file (logfile, LOG) generated in the operator's 5G real network test or laboratory certification test based on the 5G mobile terminal.
- 5G NAS Non-Access-Stratum, non-access stratum
- RRC Radio Resource Control, radio resource control
- connection interruption event includes: an abnormal situation in which the first terminal fails to establish a communication connection with the target network;
- network interruption event includes: the first terminal establishes a communication connection with the target network, but cannot perform network data.
- the authentication failure event includes: the abnormal situation that the first terminal and the target network cannot complete the authentication.
- the abnormality event Based on the context information of the abnormality indication information in the log file, determine the abnormality event corresponding to each abnormality indication information; and determine whether there is a preset abnormality event in the abnormality event.
- acquiring the target signaling data from the log file includes: when the abnormal event includes the authentication failure event, acquiring RRC signaling data and NAS signaling data from the log file , the NAS signaling data is the target signaling data.
- the step of performing signaling interaction with the second terminal based on the target signaling data specifically includes: performing a communication connection with the second terminal; obtaining the target signaling data described in the The first signaling data sent by the network side to the first terminal under the target network, the second signaling data sent by the first terminal to the network side of the target network, and the first signaling data and the first signaling data.
- the step of acquiring the target signaling data corresponding to the target signaling interaction process from the log file specifically includes:
- the signaling data corresponding to the first target test case is acquired from the log file as the target signaling data.
- the embodiment of the present application also provides a communication equipment testing apparatus, and the communication equipment testing apparatus includes:
- a log acquisition module configured to acquire a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case;
- a signaling data acquisition module configured to acquire target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is the first terminal and the target network in the target test The signaling interaction process;
- the simulation test module performs signaling interaction with the second terminal based on the target signaling data to simulate the target signaling interaction flow of the target test.
- the log obtaining module is further configured to: determine whether a preset abnormal event occurs in the target testing process based on the log file, wherein the preset abnormal event includes: a connection interruption event, a network Interruption events and authentication failure events;
- connection interruption event includes: an abnormal situation in which the first terminal fails to establish a communication connection with the target network;
- network interruption event includes: the first terminal establishes a communication connection with the target network, but cannot perform network data.
- the authentication failure event includes: the abnormal situation that the first terminal and the target network cannot complete the authentication.
- the signaling data acquisition module is configured to: when the preset abnormal event includes the connection interruption event or the network interruption event, acquire the RRC information from the log file. Command data, and obtain target signaling data based on the RRC signaling data.
- a first signaling data acquisition sub-module configured to acquire the first signaling data sent by the network side under the target network to the first terminal in the target signaling data, and the first signaling data sent by the first terminal to the target
- the second signaling data on the network side of the network and the sending order and response relationship of the first signaling data and the second signaling data
- the preset abnormal event includes the authentication failure event
- obtain RRC signaling data and NAS signaling data from the log file and obtain target signaling data based on the RRC signaling data and NAS signaling data .
- the simulation test module includes: a second communication sub-module for communicating with the second terminal;
- the second data interaction sub-module is configured to send the second signaling data, the sending sequence of the second signaling data, and the response relationship to the second terminal, and trigger the second terminal based on the Sending the second signaling data in a sending order and a response relationship; based on the received second signaling data, the sending order of the first signaling data, and the response relationship, sending the second signaling data in response to the received second signaling data
- the first signaling data of the data is sent to the second terminal.
- the second communication sub-module is configured to simulate a server under the target network to obtain a target virtual server; and control the target virtual server to establish a communication connection with the second terminal.
- the second data interaction sub-module is configured to exchange the second signaling data, the sending order of the second signaling data, and the response relationship through the target virtual server Send to the second terminal; through the target virtual server, determine the response to the received second signaling data based on the received second signaling data, the sending order of the first signaling data, and the response relationship. Make the first signaling data of the data, and send the determined first signaling data to the second terminal.
- the signaling data acquisition module is used for:
- the signaling data corresponding to the first target test case is acquired from the log file as the target signaling data.
- Embodiments of the present application further provide a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is made to execute the steps in the above communication device testing method.
- An embodiment of the present application further provides a terminal, including a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the above-mentioned communication device testing method by calling the computer program stored in the memory steps in .
- the present application obtains a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case; and obtains target signaling data corresponding to the target signaling interaction process from the log file,
- the target signaling interaction process is the signaling interaction process between the first terminal and the target network in the target test; signaling interaction with the second terminal based on the target signaling data to simulate the target The target signaling interaction flow of the test.
- the embodiments of this application can simulate abnormal problem scenarios in the operator's 5G real network or in the laboratory 5G certification process, speed up the problem solving process and save various costs for 5G mobile terminal manufacturers
- FIG. 1 is a first schematic flowchart of a communication device testing method provided by an embodiment of the present application.
- FIG. 2 is a second schematic flowchart of a communication device testing method provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of a first structure of a communication device testing apparatus provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a third structure of a communication device testing apparatus provided by an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
- FIG. 8 is another schematic structural diagram of a terminal provided by an embodiment of the present application.
- first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature. In the description of this application, unless stated otherwise, “plurality” means two or more. Additionally, the term “comprising” and any variations thereof are intended to cover non-exclusive inclusion.
- Step 101 Obtain a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case.
- a log file generated by the first terminal communicating and interacting with the target network according to a preset test case is obtained.
- the 5G mobile terminal needs to be tested on the real network of the operator; or, the operator's laboratory test or GCF certification test.
- the 5G terminal establishes a communication connection with the server under the operation of the real network or the communication instrument used in the operator's laboratory certification test, the network session and the log file generated by the 5G terminal in the authentication process.
- the method before the step of acquiring the target signaling data corresponding to the target signaling interaction process from the log file, the method further includes: determining whether an abnormal event occurs during the target testing process based on the log file, wherein , the abnormal event includes at least one of a connection interruption event, a network interruption event, and an authentication failure event; if so, continue to perform the step of obtaining the target signaling data corresponding to the target signaling interaction flow from the log file ; wherein, the connection interruption event includes an abnormal situation that the first terminal fails to establish a communication connection with the target network; the network interruption event includes the first terminal establishing a communication connection with the target network, but unable to carry out network data interaction the abnormal situation; the authentication failure event includes the abnormal situation that the first terminal and the target network cannot complete the authentication.
- the determining, based on the log file, whether a preset abnormal event occurs during the target testing process includes:
- the records in the log file are detected, and the abnormal indication information in the log file is determined, and the abnormal indication information is used to indicate that an abnormal situation occurs during the execution of the target test case; based on the information in the log file.
- the context information of the abnormality indication information is determined, the abnormality event corresponding to each abnormality indication information is determined, and whether there is a preset abnormality event in the abnormality event is determined.
- the abnormal indication information may be error information generated when an abnormal event occurs when the terminal executes the relevant instruction during the execution of the target test case, and the context information may be the execution process corresponding to the abnormal event. records and the error message returned by the error process check.
- Step 102 Obtain target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is a signaling interaction process between the first terminal and the target network in the target test .
- the signaling data related to the test is extracted from the acquired log file, and the signaling data is the signaling data related to the network layer involved in the process of the communication test between the first terminal and the target network .
- the signaling interaction process in this embodiment may be a signaling interaction process required by a network function layer under the network hierarchy in the communication field to realize its function.
- the network function layer may be divided into different types according to different types of networks. This embodiment does not limit this.
- the network function layer may include the RRC layer and the NAS layer.
- the main functions of the RRC layer include connection establishment and release functions, system information broadcasting, radio bearer establishment, reconfiguration and release, RRC connection mobility procedures, paging notification and so on.
- the main functions of the NAS layer include authentication, authentication, mobility management, and session management.
- one target test case may be used to test one or more signaling interaction processes.
- the target signaling interaction process may be any one or more of the signaling interaction processes tested by the target test case.
- the target signaling interaction process may be preset, for example, the target signaling interaction process includes the RRC signaling interaction process and the signaling data of the RRC layer.
- the step of acquiring the target signaling data corresponding to the signaling interaction process from the log file specifically includes: acquiring from the log file the information received by the terminal during the process of testing the communication interaction All signaling data; from all signaling data, obtain the target signaling data in the order of generation time.
- acquiring the target signaling data from the log file includes: when the preset abnormal event includes the connection interruption event or the network interruption event, acquiring the RRC signaling data from the log file The RRC signaling data is the target signaling data.
- acquiring the target signaling data from the log file includes: when the abnormal event includes the authentication failure event, acquiring RRC signaling data and NAS signaling data from the log file , the RRC signaling data and the NAS signaling data are the target signaling data.
- Step 103 Perform signaling interaction with the second terminal based on the target signaling data to simulate the target signaling interaction process of the target test.
- the step of performing signaling interaction with the second terminal based on the target signaling data specifically includes:
- Two signaling data based on the received second signaling data, the sending order of the first signaling data, and the response relationship, sending the first signaling data in response to the received second signaling data to the second terminal.
- establishing a communication connection with the second terminal includes:
- controlling the target virtual server to perform the test with the second terminal includes:
- the sending the second signaling data, the sending sequence of the second signaling data and the response relationship to the second terminal includes:
- Two terminals including:
- the present application is not limited by the execution order of the described steps, and certain steps may also be performed in other sequences or simultaneously under the condition of no conflict.
- FIG. 2 is a second schematic flowchart of the communication device testing method provided by the embodiment of the present application.
- the embodiments of the present invention are optimized on the basis of the foregoing embodiments, and the embodiments of the present invention may be combined with various optional solutions in one or more of the foregoing embodiments.
- the method may include the following steps:
- a log file generated by the first terminal communicating and interacting with the target network according to a preset test case is obtained.
- Step 202 Obtain target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is a signaling interaction process between the first terminal and the target network in the target test .
- the signaling data related to the test is extracted from the acquired log file, and the signaling data is the signaling data related to the network layer involved in the process of the communication test between the first terminal and the target network .
- the signaling interaction process in this embodiment may be a signaling interaction process required by a network function layer under the network hierarchy in the communication field to realize its function.
- the network function layer may be divided into different types according to different types of networks. This embodiment does not limit this.
- the signaling interaction process in this embodiment may be a signaling interaction process required by a network function layer under the network hierarchy in the communication field to realize its function.
- the network function layer may be divided into different types according to different types of networks. This embodiment does not limit this.
- one target test case may be used to test one or more signaling interaction processes.
- the target signaling interaction process may be any one or more of the signaling interaction processes tested by the target test case.
- the target signaling interaction process may be preset, for example, the target signaling interaction process includes the RRC signaling interaction process and the signaling data of the RRC layer.
- the target signaling interaction process can be selected according to the problems in the target test, so as to reduce the time required to reproduce the target signaling interaction process.
- acquiring the target signaling data corresponding to the target signaling interaction process from the log file includes: when the preset abnormal event includes the connection interruption event or the network interruption event, obtaining the target signaling data from the Obtain RRC signaling data from the log file, and obtain target signaling data based on the RRC signaling data.
- the step of acquiring the target signaling data corresponding to the signaling interaction process from the log file specifically includes: acquiring from the log file the information received by the terminal during the process of testing the communication interaction All signaling data; from all signaling data, obtain the target signaling data in the order of generation time.
- acquiring the target signaling data from the log file includes: when the preset abnormal event includes the connection interruption event or the network interruption event, acquiring the RRC signaling data from the log file The RRC signaling data is the target signaling data.
- Step 204 Control the simulated server to perform signaling interaction with the second terminal based on the target signaling data, so as to simulate the target signaling interaction process of the target test.
- the simulated server is controlled to establish a communication connection with the second terminal, and the target instruction data is sent to the second terminal, To simulate and reproduce the scenarios corresponding to the abnormal events generated during the target testing process.
- controlling the target virtual server to perform the test with the second terminal includes:
- the sending the second signaling data, the sending sequence of the second signaling data and the response relationship to the second terminal includes:
- the present application is not limited by the execution order of the described steps, and certain steps may also be performed in other sequences or simultaneously under the condition of no conflict.
- a signaling data acquisition module 302 configured to acquire target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is the first terminal and the target in the target test Network signaling interaction process;
- the simulation test module 303 is configured to perform signaling interaction with the second terminal based on the target signaling data, so as to simulate the target signaling interaction process of the target test.
- the signaling data acquisition module 301 is specifically further configured to: determine whether a preset abnormal event occurs in the target test process based on the log file, and determine whether a preset abnormal event occurs in the target test process based on the log file. Whether a preset abnormal event occurs includes:
- the records in the log file are detected, and the abnormal indication information in the log file is determined, and the abnormal indication information is used to indicate that an abnormal situation occurs during the execution of the target test case; based on the information in the log file.
- the context information of the abnormality indication information is determined, the abnormality event corresponding to each abnormality indication information is determined, and whether there is a preset abnormality event in the abnormality event is determined.
- the signaling data acquisition module 302 is further configured to acquire target test cases, and one target test case can be used to test one or more signaling interaction processes.
- the target signaling interaction process may be any one or more of the signaling interaction processes tested by the target test case.
- the target signaling interaction process may be preset, for example, the target signaling interaction process includes the RRC signaling interaction process and the signaling data of the RRC layer.
- the target signaling interaction process can be selected according to the problems in the target test, so as to reduce the time required to reproduce the target signaling interaction process.
- the signaling data acquisition module 302 is further configured to acquire RRC signaling data from the log file when the abnormal event includes the connection interruption event or the network interruption event , the RRC signaling data is the target signaling data.
- the signaling data acquisition module 302 is further configured to: when the abnormal event includes the authentication failure event, acquire RRC signaling data and NAS signaling data from the log file , the RRC signaling data and the NAS signaling data are the target signaling data.
- the signaling data acquisition module 302 is further configured to: acquire the target signaling data corresponding to the signaling interaction flow from the log file, which specifically includes: acquiring from the log file All signaling data received by the terminal in the process of testing the communication interaction; from the all signaling data, the target signaling data is acquired in the order of generation time.
- the simulation test module 303 is specifically configured to acquire corresponding type of target signaling data from the log file according to the classification of abnormal events.
- acquiring target signaling data from the log file includes: acquiring RRC signaling data from the log file, where the RRC The signaling data is the target signaling data.
- the target signaling data obtained from the log file may further include RRC signaling data, NAS signaling data and other types of signaling data.
- the target signaling data obtained from the log file may further include RRC signaling data, NAS signaling data and other types of signaling data.
- the simulation test module 303 is further configured to: perform signaling interaction with the second terminal based on the target signaling data, which specifically includes: performing a communication connection with the second terminal;
- the sending sequence of the first signaling data, and the response relationship the first signaling data in response to the received second signaling data is sent to the second terminal .
- the simulation test module 303 is further configured to: establish a communication connection with the second terminal, including: simulating a server under the target network to obtain a target virtual server; controlling the target virtual server to communicate with the target virtual server The second terminal executes the test.
- the simulation test module 303 is further configured to: the controlling the target virtual server and the second terminal to perform the test, including:
- the sending the second signaling data, the sending sequence of the second signaling data and the response relationship to the second terminal includes:
- Two terminals including:
- the communication equipment testing apparatus 30 obtains the log file generated by the target test through the log acquisition module 301, and the target test is the test performed by the first terminal under the target network based on the target test case; Let the data acquisition module 302 acquire the target signaling data corresponding to the target signaling interaction process from the log file, and the target signaling interaction process is the signaling between the first terminal and the target network in the target test. Interaction process; the simulation test module 303 performs signaling interaction with the second terminal based on the target signaling data to simulate the target signaling interaction process of the target test.
- the embodiments of the present application can simulate abnormal problem scenarios in the operator's 5G real network or in the laboratory 5G certification process, so as to speed up the problem solving process and save various costs of 5G mobile terminal manufacturers.
- the present application is not limited by the execution order of the described steps, and certain steps may also be performed in other sequences or simultaneously under the condition of no conflict.
- FIG. 4 is a schematic diagram of a second structure of a communication device testing apparatus provided by an embodiment of the present application.
- the communication equipment testing apparatus 40 may include:
- a log acquisition module 401 configured to acquire a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case;
- a signaling data acquisition module 402 configured to acquire target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is the first terminal and the target in the target test Network signaling interaction process;
- the simulation test module 403 is configured to perform signaling interaction with the second terminal based on the target signaling data, so as to simulate the target signaling interaction process of the target test.
- the simulation test module 403 also includes:
- a first communication sub-module 4031 configured to establish a communication connection with the second terminal
- the first signaling data acquisition sub-module 4032 is configured to acquire the first signaling data sent by the network side under the target network to the first terminal in the target signaling data, and the first terminal sends the first signaling data to the the second signaling data on the network side of the target network, and the sending sequence and response relationship of the first signaling data and the second signaling data;
- the first data interaction sub-module 4033 is configured to send the second signaling data, the sending sequence of the second signaling data, and the response relationship to the second terminal, and trigger the second terminal to sending the second signaling data in the sending sequence and the response relationship;
- the third communication sub-module 4034 is configured to, based on the received second signaling data, the sending order of the first signaling data, and the response relationship, send the first signaling data in response to the received second signaling data send the data to the second terminal.
- the log acquisition module 401 acquires the log file generated by the target test, and the target test is a test performed by the first terminal under the target network based on the target test case; the signaling data acquisition module 402 acquires the target signaling interaction process from the log file Corresponding target signaling data, the target signaling interaction process is the signaling interaction process between the first terminal and the target network in the target test; the simulation test module 403 is based on the target signaling data and the first terminal. The two terminals perform signaling interaction to simulate the target signaling interaction process of the target test.
- the simulation test module 403 further includes: the first communication sub-module 4031 establishes a communication connection with the second terminal; the first signaling data acquisition sub-module 4032 acquires the network side under the target network in the target signaling data The first signaling data sent to the first terminal, the second signaling data sent by the first terminal to the network side of the target network, and the difference between the first signaling data and the second signaling data.
- the first data interaction sub-module 4033 sends the second signaling data, the sending sequence of the second signaling data, and the response relationship to the second terminal, triggering the second signaling data
- the terminal sends the second signaling data based on the sending order and the response relationship
- the third communication sub-module 4034 sends the response based on the received second signaling data, the sending order of the first signaling data, and the response relationship.
- the first signaling data corresponding to the received second signaling data is sent to the second terminal.
- the embodiments of the present application can simulate abnormal problem scenarios in the operator's 5G real network or in the laboratory 5G certification process, so as to speed up the problem solving process and save various costs of 5G mobile terminal manufacturers.
- FIG. 5 is a third schematic structural diagram of a communication equipment testing apparatus provided by an embodiment of the present application.
- the communication equipment testing apparatus 50 includes a memory 120, one or more processors 180, and one or more application programs, wherein The one or more application programs are stored in the memory 120 and configured to be executed by the processor 180 ; the processor 180 may include a log acquisition module 501 , a signaling data acquisition module 502 , and a simulation test module 503 .
- the structures and connection relationships of the above components can be as follows:
- Memory 120 may be used to store applications and data.
- the application programs stored in the memory 120 contain executable codes. Applications can be composed of various functional modules.
- the processor 180 executes various functional applications and data processing by executing application programs stored in the memory 120 .
- memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide processor 180 access to memory 120 .
- the processor 180 is the control center of the device, uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device by running or executing the application program stored in the memory 120 and calling the data stored in the memory 120. function and process data for overall monitoring of the installation.
- the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. .
- the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 executes the executable code stored in the memory 120 application to achieve various functions:
- a log acquisition module 501 configured to acquire a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case;
- a signaling data acquisition module 502 configured to acquire target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is the first terminal and the target in the target test Network signaling interaction process;
- the simulation test module 503 is configured to perform signaling interaction with the second terminal based on the target signaling data, so as to simulate the target signaling interaction process of the target test.
- FIG. 6 is a fourth schematic structural diagram of a communication equipment testing apparatus provided by an embodiment of the present application.
- the communication equipment testing apparatus 60 includes a memory 120, one or more processors 180, and one or more application programs, wherein The one or more application programs are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a log acquisition module 601, a signaling data acquisition module 602, a simulation test module 603, a first Communication sub-module 6031, first data interaction sub-module 6032.
- the structure and connection relationship of each component can be as follows:
- a log acquisition module 601 configured to acquire a log file generated by a target test, where the target test is a test performed by the first terminal under the target network based on the target test case;
- a signaling data acquisition module 602 configured to acquire target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is the first terminal and the target in the target test Network signaling interaction process;
- the simulation test module 603 is configured to perform signaling interaction with the second terminal based on the target signaling data, so as to simulate the target signaling interaction process of the target test.
- the simulation test module 603 also includes:
- a first communication sub-module 6031 configured to establish a communication connection with the second terminal
- the first signaling data acquisition sub-module 6032 is configured to acquire the first signaling data sent by the network side under the target network to the first terminal in the target signaling data, and the first terminal sends the first signaling data to the the second signaling data on the network side of the target network, and the sending sequence and response relationship of the first signaling data and the second signaling data;
- the first data interaction sub-module 6033 is configured to send the second signaling data, the sending sequence of the second signaling data, and the response relationship to the second terminal, triggering the second terminal based on the sending the second signaling data in the sending sequence and the response relationship;
- the third communication sub-module 6034 is configured to, based on the received second signaling data, the sending order of the first signaling data, and the response relationship, send the first signaling data in response to the received second signaling data send the data to the second terminal.
- the embodiment of the present application also provides a terminal.
- the terminal may be a smart phone, a tablet computer, a desktop computer, a smart watch, a mobile workstation, a server and other devices.
- an embodiment of the present application further provides a terminal, where the terminal may be a device such as a smart phone, a tablet computer, and a TV.
- the terminal 700 includes a processor 701 and a memory 702 .
- the processor 701 is electrically connected to the memory 702 .
- the processor 701 is the control center of the terminal 700, uses various interfaces and lines to connect various parts of the entire terminal, executes various functions of the terminal by running or loading the application program stored in the memory 702, and calling the data stored in the memory 702. functions and process data to monitor the terminal as a whole.
- the processor 701 in the terminal 700 loads the instructions corresponding to the processes of one or more application programs into the memory 702 according to the following steps, and is executed by the processor 701 and stored in the memory 702 application to achieve various functions:
- the target test is a test performed by the first terminal under the target network based on the target test case
- target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is a signaling interaction process between the first terminal and the target network in the target test;
- FIG. 8 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- the terminal 1800 may include an RF circuit 810, a memory 820 including one or more computer-readable storage media, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a speaker 861, a microphone 862, a transmission module 870, including There are a processor 880 with one or more processing cores, and components such as a power supply 890.
- the terminal structure shown in FIG. 5 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
- the RF circuit 810 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
- RF circuitry 810 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, and the like.
- the RF circuit 810 may communicate with various networks such as the Internet, an intranet, a wireless network, or with other devices over a wireless network.
- the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
- the above-mentioned wireless networks can use various communication standards, protocols and technologies, including but not limited to the Global System for Mobile Communications (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (e.g.
- GSM Global System for Mobile Communication
- EDGE Enhanced Mobile Communication Technology
- WCDMA Wideband Code Division Multiple Access
- CDMA Code Division Multiple Access
- TDMA Time Division Multiple Access
- Wireless Fidelity Wireless Fidelity
- Wi-Fi Wireless Fidelity
- IEEE 802.11a Institute of Electrical and Electronics Engineers standards IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n
- Internet telephony VoIP over Internet Protocol, VoIP
- Worldwide Interconnection for Microwave Access Worldwide Interoperability for Microwave Access, Wi-Max
- other protocols for mail, instant messaging, and short messaging and any other suitable communication protocols, even those that are not currently being developed.
- the memory 820 can be used to store software programs and modules, such as program instructions/modules corresponding to the image decompression apparatus and method in the above-mentioned embodiments, and the processor 880 executes various functional applications by running the software programs and modules stored in the memory 820. And data processing, that is, to realize the function of automatically filling light for the front camera to take pictures.
- Memory 820 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 instances, the memory 820 may further include memory located remotely from the processor 880, and these remote memories may be connected to the terminal 1800 through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the input unit 830 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 830 may include a touch-sensitive surface 831 as well as other input devices 832 .
- Touch-sensitive surface 831 also known as a touch display or trackpad, collects user touch operations on or near it (such as a user using a finger, stylus, etc., any suitable object or accessory on or on touch-sensitive surface 831). operations near the touch-sensitive surface 831), and drive the corresponding connection device according to a preset program.
- the touch-sensitive surface 831 may include two parts, a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller.
- the touch-sensitive surface 831 may be implemented using resistive, capacitive, infrared, and surface acoustic wave types.
- the input unit 830 may also include other input devices 832 .
- other input devices 832 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
- the display unit 840 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal 1800, which may be composed of graphics, text, icons, videos, and any combination thereof.
- the display unit 840 may include a display panel 841, and optionally, an LCD (Liquid
- the display panel 841 is configured in the form of Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode) and the like.
- the touch-sensitive surface 831 may cover the display panel 841, and when the touch-sensitive surface 831 detects a touch operation on or near it, it transmits it to the processor 880 to determine the type of the touch event, and then the processor 880 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 841 .
- the touch-sensitive surface 831 and the display panel 841 are implemented as two separate components to realize the input and output functions, in some embodiments, the touch-sensitive surface 831 and the display panel 841 may be integrated to realize the input and output functions.
- the terminal 1800 may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 841 and the display panel 841 when the terminal 1800 is moved to the ear. / or backlight.
- the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary.
- the audio circuit 860 , the speaker 861 and the microphone 862 may provide an audio interface between the user and the terminal 1800 .
- the audio circuit 860 can transmit the received audio data converted electrical signals to the speaker 861, and the speaker 861 converts them into sound signals for output; on the other hand, the microphone 862 converts the collected sound signals into electrical signals, and the audio circuit 860 converts the collected sound signals into electrical signals. After receiving, it is converted into audio data, and then the audio data is output to the processor 880 for processing, and then sent to, for example, another terminal through the RF circuit 810, or the audio data is output to the memory 820 for further processing.
- the audio circuit 860 may also include an earphone jack to provide communication of peripheral headphones with the terminal 1800 .
- the terminal 1800 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 870 (eg, a Wi-Fi module), and it provides the user with wireless broadband Internet access.
- the transmission module 870 eg, a Wi-Fi module
- FIG. 5 shows the transmission module 870, it can be understood that it does not belong to the necessary structure of the terminal 1800, and can be completely omitted as required within the scope of not changing the essence of the invention.
- the processor 880 is the control center of the terminal 1800, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 820, and calling the data stored in the memory 820, Execute various functions of the terminal 1800 and process data to monitor the mobile phone as a whole.
- the processor 880 may include one or more processing cores; in some embodiments, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface and Applications, etc., the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 880.
- the terminal 1800 also includes a power source 890 (such as a battery) for powering various components.
- the power source can be logically connected to the processor 880 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.
- Power source 890 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
- the terminal 1800 may further include a camera (eg, a front camera, a rear camera), a Bluetooth module, and the like, which will not be repeated here.
- the display unit of the terminal is a touch screen display
- the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more programs
- a program that executes one or more programs contains instructions for:
- the target test is a test performed by the first terminal under the target network based on the target test case
- target signaling data corresponding to a target signaling interaction process from the log file, where the target signaling interaction process is a signaling interaction process between the first terminal and the target network in the target test;
- the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities.
- the specific implementation of the above modules can refer to the previous method embodiments, which will not be repeated here.
- an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any communication device testing method provided by the embodiment of the present invention.
- the storage medium may include: a read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD, etc.
- ROM Read Only Memory
- RAM Random Access Memory
- CD Compact Disc
- the instructions stored in the storage medium can execute the steps in any of the communication equipment testing methods provided by the embodiments of the present invention, it is possible to achieve the capabilities of any communication equipment testing methods provided by the embodiments of the present invention.
- the beneficial effects achieved see the foregoing embodiments for details, and details are not repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请实施例提供了通信设备测试方法、装置、存储介质、终端及测试系统,包括:获取目标测试产生的日志文件;从所述日志文件中获取目标信令交互流程对应的目标信令数据;基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
Description
本申请要求于2021年03月19日提交中国专利局、申请号为202110237931.3、发明名称为“通信设备测试方法、装置、存储介质及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及移动通信技术领域,特别涉及一种通信设备测试方法、装置、存储介质及终端。
随着移动通信技术的发展以及5G网络技术的普及,目前5G移动终端的市场占有量在不断提高,而在实际应用中,5G终端在进入市场前还需要进行一系列的测试与认证。
例如,5G移动终端厂商如果需要将5G终端在某运营商运营网络下进行销售和使用,在正式入网销售前需要在该运营商的实网下对5G终端进行一系列的实网测试。而实网测试的过程中,如果发现某个实网场景测试异常,则需要进行异常问题的处理,如果选择在实网状态下进行相应的测试调整,则有测试验证周期长,成本高昂的特点。此外,5G终端在进入市场前还需要进行运营商实验室测试或者GCF测试(GSM
Certification Forum,GSM认可论坛),而在进行上述认证测试时,运营商实验室或者GCF认证测试通常不会提供5G仪器侧的测试脚本给到终端厂商,因此运营商实验室或者GCF认证测试过程中出现了测试异常,终端厂商也不能自行复现测试异常的场景。
因此,现有技术存在缺陷,有待改进和发展。
本申请实施例提供一种通信设备测试方法、装置、存储介质及终端,本发明专利通过基于5G移动终端在运营商5G实网测试或者实验室认证测试中所产生的日志文件(logfile,LOG)中获取5G网络发送给5G移动终端5G NAS(Non-Access-Stratum,非接入层)和RRC(Radio Resource
Control,无线资源控制)信令数据,再将获取的5G NAS和RRC信令数据依次输入到5G移动终端厂商的5G仪器,这样就可以实现根据日志文件模拟运营商5G实网测试或者实验室认证测试中出现问题的场景。
本申请实施例提供一种通信设备测试方法,所述方法包括:获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
在一些实施例中,在从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤之前,还包括:
基于所述日志文件确定所述目标测试过程中是否发生预设异常事件,其中,预设异常事件包括:连接中断事件、网络中断事件和鉴权失败事件;
若是,继续执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;
其中,所述连接中断事件包括:所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括:所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括:所述第一终端与目标网络无法完成鉴权的异常情况。
进一步地,在一些实施例中,所述基于所述日志文件确定所述目标测试过程中是否发生预设异常事件包括:
对所述日志文件中的记录进行检测,确定所述日志文件中的异常指示信息,所述异常指示信息用于指示在所述目标测试用例执行过程中发生异常情况;
基于所述日志文件中所述异常指示信息的上下文信息,确定各所述异常指示信息对应的异常事件;确定所述异常事件中是否存在预设异常事件。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,所述NAS信令数据即为所述目标信令数据。
进一步地,在一些实施例中,基于所述目标信令数据与第二终端进行信令交互的步骤,具体包括:与所述第二终端进行通信连接;获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
进一步地,在一些实施例中,从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤,具体包括:
获取目标测试用例与目标测试用例测试的信令交互流程之间的对应关系;
基于所述对应关系,确定目标信令交互流程对应的第一目标测试用例;
从所述日志文件获取所述第一目标测试用例对应的信令数据作为目标信令数据。
本申请实施例还提供一种通信设备测试装置,所述通信设备测试装置包括:
日志获取模块,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
信令数据获取模块,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
模拟测试模块,基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
进一步地,在一些实施例中所述日志获取模块,还用于:基于所述日志文件确定所述目标测试过程中是否发生预设异常事件,其中,预设异常事件包括:连接中断事件、网络中断事件和鉴权失败事件;
若是,触发所述信令数据获取模块执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;
其中,所述连接中断事件包括:所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括:所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括:所述第一终端与目标网络无法完成鉴权的异常情况。
进一步地,在一些实施例中,所述信令数据获取模块,用于:当所述预设异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,基于所述RRC信令数据得到目标信令数据。
进一步地,在一些实施例中,所述模拟测试模块,包括:
第一通信子模块,用于与所述第二终端进行通信连接;
第一信令数据获取子模块,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据、所述第一终端发送至所述目标网络的网络侧的第二信令数据以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
第一数据交互子模块,用于将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
进一步地,在一些实施例中,所述信令数据获取模块,用于:
当所述预设异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,基于所述RRC信令数据和NAS信令数据得到目标信令数据。
进一步地,在一些实施例中,所述模拟测试模块,包括:第二通信子模块,用于与所述第二终端进行通信连接;
第二信令数据获取子模块,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据、所述第一终端发送至所述目标网络的网络侧的第二信令数据以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
第二数据交互子模块,用于将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
进一步地,在一些实施例中,所述第二通信子模块,用于模拟所述目标网络下的服务器,得到目标虚拟服务器;控制所述目标虚拟服务器与所述第二终端建立通信连接。
进一步地,在一些实施例中,所述第二数据交互子模块,用于通过所述目标虚拟服务器将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
进一步地,在一些实施例中,所述信令数据获取模块,用于:
获取目标测试用例与目标测试用例测试的信令交互流程之间的对应关系;
基于所述对应关系,确定目标信令交互流程对应的第一目标测试用例;
从所述日志文件获取所述第一目标测试用例对应的信令数据作为目标信令数据。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述事任一实施例中所述的通信设备测试方法中的步骤。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述通信设备测试方法中的步骤。
本申请实施例还提供一种终端,包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行上述通信设备测试方法中的步骤。
本申请实施例还提供一种测试系统,其中,包括测试仪器和被测试设备,所述测试仪器存储有测试程序,所述测试仪器可调用测试程序,根据输入的测试信息与所述被测试设备进行通信交互,用于执行上述事任一实施例中所述的通信设备测试方法的步骤。
本申请通过获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。本申请实施例可以模拟运营商5G实网或者实验室5G认证过程中的异常问题场景,加快问题解决进度和节省5G移动终端厂商的各种成本
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的通信设备测试方法的第一流程示意图。
图2为本申请实施例提供的通信设备测试方法的第二流程示意图。
图3为本申请实施例提供的通信设备测试装置的第一结构示意图。
图4为本申请实施例提供的通信设备测试装置的第二结构示意图。
图5为本申请实施例提供的通信设备测试装置的第三结构示意图。
图6为本申请实施例提供的通信设备测试装置的第四结构示意图。
图7为本申请实施例提供的终端的一种结构示意图。
图8为本申请实施例提供的终端的另一种结构示意图。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本申请的示例性实施例的目的。但是本申请可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
在本申请的描述中,需要理解的是,术语“中心”、“横向”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。另外,术语“包括”及其任何变形,意图在于覆盖不排他的包含。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是支撑连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
本申请实施例提供一种通信设备测试方法,所述通信设备测试方法可以应用于终端中。所述终端可以是智能手机、平板电脑、台式计算机、智能手表、服务器、工作站、移动工作站等设备。
请参阅图1,图1为本申请实施例提供的通信设备测试方法的第一流程示意图。所述通信设备测试方法,应用于终端中,所述终端具有屏幕、摄像头、WiFi模块、通信模块等。所述方法可以包括以下步骤:
步骤101,获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试。
具体的,获取第一终端对目标网络发起通信请求,并与目标网络建立通信连接之后,第一终端根据预设定的测试用例与目标网络进行通信交互所产生的日志文件。
例如,5G移动终端厂商出货5G终端到某个运营商,需要将5G移动终端到该运营商实网下进行实网测试;或者,运营商实验室测试或者GCF认证测试。在上述测试的过程中5G终端与实网运营下的服务器或者运营商实验室认证测试所使用的通信仪器建立通信连接、网络会话以及鉴权流程5G终端所产生的日志文件。
在一些实施例中,在从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤之前,还包括:基于所述日志文件确定所述目标测试过程中是否发生异常事件,其中,所述异常事件包括连接中断事件、网络中断事件和鉴权失败事件中的至少一种;若是,继续执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;其中,所述连接中断事件包括所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括所述第一终端与目标网络无法完成鉴权的异常情况。
在一些实施例中,所述基于所述日志文件确定所述目标测试过程中是否发生预设异常事件包括:
对所述日志文件中的记录进行检测,确定所述日志文件中的异常指示信息,所述异常指示信息用于指示在所述目标测试用例执行过程中发生异常情况;基于所述日志文件中所述异常指示信息的上下文信息,确定各所述异常指示信息对应的异常事件;确定所述异常事件中是否存在预设异常事件。具体的,所述异常指示信息可以为在目标测试用例执行过程中,终端在执行有关指令时出现异常事件时所产生的报错信息,此时所述的上下文信息可以为异常事件所对应的执行过程的记录以及对错误过程检查所返回的报错信息。
步骤102,从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程。
具体的,从所获取到的日志文件中提取出与测试相关的信令数据,所述信令数据为第一终端与目标网络在通信测试的过程中所涉及到的网络层有关的信令数据。
本实施例中的信令交互流程,可以是通信领域中网络层级架构下某一网络功能层为实现其功能所需的信令交互流程,网络功能层根据不同类型的网络可以有不同的划分,本实施例对此没有限制。
以5G为例,网络功能层可以包括RRC层和NAS层。RRC层主要功能包括连接建立和释放功能、系统信息广播、无线电承载建立,重配置和释放、RRC连接移动性过程、寻呼通知等等。NAS层主要功能包括鉴权、认证、移动性管理,会话管理等。
本实施例中,一个目标测试用例可以用于测试一个或多个信令交互流程。
其中,目标信令交互流程可以是目标测试用例所测试的信令交互流程中的任意一个或多个。
可选的,目标信令交互流程可以预先设置,例如目标信令交互流程包括RRC信令交互流程和RRC层的信令数据。
或者,目标信令交互流程可以根据目标测试中出现的问题,针对性地进行选择,以降低复现目标信令交互流程所需的时间。
在一些实施例中,从所述日志文件中获取信令交互流程对应的目标信令数据的步骤,具体包括:从所述日志文件中获取在所述测试通信交互的过程中所述终端接收到的全部信令数据;从所述全部信令数据中,依照生成时间顺序获取所述目标信令数据。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述预设异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
在一些实施例中,从所述日志文件中获取信令交互流程对应的目标信令数据的步骤,具体包括:从所述日志文件中获取在所述测试通信交互的过程中所述终端接收到的全部信令数据;从所述全部信令数据中,依照生成时间顺序获取所述目标信令数据。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,所述RRC信令数据和所述NAS信令数据即为所述目标信令数据。
步骤103,基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
具体的,步骤103可以为根据所获取到的目标信令数据,与第二终端建立通信连接,基于接收到的信令数据与所述第二终端进行通信交互,所述通信交互为根据目标信令数据之间的对应关系以及时间顺序信息与第二终端进行信令交互,以复现出所述目标信令数据所对应的测试环境。
在一些实施例中,基于所述目标信令数据与第二终端进行信令交互的步骤,具体包括:
与所述第二终端进行建立通信连接;
获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
在一些实施例中,与所述第二终端建立通信连接,包括:
模拟所述目标网络下的服务器,得到目标虚拟服务器;
控制所述目标虚拟服务器与所述第二终端执行测试。
在一些实施例中,所述控制所述目标虚拟服务器与所述第二终端执行测试,包括:
控制所述目标虚拟服务器与所述第二终端建立通信连接;
所述将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,包括:
通过所述目标虚拟服务器将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;
所述基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端,包括:
通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。
由上可知,本申请实施例提供的通信设备测试方法通过获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。本申请实施例当在获取测试过程中终端所产生的日志文件的基础上,基于从日志文件中获取到的信令数据与被测试终端进行数据通信,以复现/模拟出测试过程中出现问题的异常场景。
本申请实施例还提供一种通信设备测试装置,所述通信设备测试装置可以集成在终端中,所述终端可以是智台式计算机、移动式计算机、服务器、手持式移动终端等设备。
请参阅图2,图2为本申请实施例提供的通信设备测试方法的第二流程示意图。本发明实施例在上述实施例的基础上进行优化,本发明实施例可以与上述一个或者多个实施例中的各个可选方案结合。所述方法可以包括以下步骤:
步骤201,获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试。
具体的,获取第一终端对目标网络发起通信请求,并与目标网络建立通信连接之后,第一终端根据预设定的测试用例与目标网络进行通信交互所产生的日志文件。
步骤202,从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程。
具体的,从所获取到的日志文件中提取出与测试相关的信令数据,所述信令数据为第一终端与目标网络在通信测试的过程中所涉及到的网络层有关的信令数据。
本实施例中的信令交互流程,可以是通信领域中网络层级架构下某一网络功能层为实现其功能所需的信令交互流程,网络功能层根据不同类型的网络可以有不同的划分,本实施例对此没有限制。
本实施例中的信令交互流程,可以是通信领域中网络层级架构下某一网络功能层为实现其功能所需的信令交互流程,网络功能层根据不同类型的网络可以有不同的划分,本实施例对此没有限制。
以5G为例,网络功能层可以包括RRC层和NAS层。RRC层主要功能包括连接建立和释放功能、系统信息广播、无线电承载建立,重配置和释放、RRC连接移动性过程、寻呼通知等等。NAS层主要功能包括鉴权、认证、移动性管理,会话管理等。
本实施例中,一个目标测试用例可以用于测试一个或多个信令交互流程。其中,目标信令交互流程可以是目标测试用例所测试的信令交互流程中的任意一个或多个。
可选的,目标信令交互流程可以预先设置,例如目标信令交互流程包括RRC信令交互流程和RRC层的信令数据。或者,目标信令交互流程可以根据目标测试中出现的问题,针对性地进行选择,以降低复现目标信令交互流程所需的时间。
在一些实施例中,从所述日志文件中获取目标信令交互流程对应的目标信令数据,包括:当所述预设异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,基于所述RRC信令数据得到目标信令数据。
在一些实施例中,从所述日志文件中获取信令交互流程对应的目标信令数据的步骤,具体包括:从所述日志文件中获取在所述测试通信交互的过程中所述终端接收到的全部信令数据;从所述全部信令数据中,依照生成时间顺序获取所述目标信令数据。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述预设异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
在一些实施例中,从所述日志文件中获取目标信令数据,包括:当所述预设异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,所述NAS信令数据即为所述目标信令数据。
步骤203,根据目标信令数据模拟所述目标网络的服务器;
具体的,基于获取到的日志文件中的目标信令数据以及其他与网络侧的有关信息,模拟出与网络侧工作参数相同的服务器。
步骤204,控制模拟出的服务器基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
具体的,在控制模拟出的服务器的基础上,根据所提取到的目标指令数据,控制所述模拟服务器与所述第二终端建立通信连接,并将所述目标指令数据发送给第二终端,以模拟复现出目标测试过程中产生的异常事件所对应的场景。
在一些实施例中,与所述第二终端建立通信连接,包括:模拟所述目标网络下的服务器,得到目标虚拟服务器;控制所述目标虚拟服务器与所述第二终端执行测试。
在一些实施例中,所述控制所述目标虚拟服务器与所述第二终端执行测试,包括:
控制所述目标虚拟服务器与所述第二终端建立通信连接;
所述将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,包括:
通过所述目标虚拟服务器将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;
所述基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端,包括:通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。
请参阅图3,图3为本申请实施例提供的通信设备测试装置的第一结构示意图。所述通信设备测试装置30可以包括:
日志获取模块301,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
信令数据获取模块302,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
模拟测试模块303,用于基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
在一些实施例中,所述信令数据获取模块301,具体还用于:在从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤之前,还包括:基于所述日志文件确定所述目标测试过程中是否发生预设异常事件,其中,预设异常事件包括:连接中断事件、网络中断事件和鉴权失败事件中的至少一种;若是,继续执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;其中,所述连接中断事件包括:所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括:所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括:所述第一终端与目标网络无法完成鉴权的异常情况。
进一步地,所述信令数据获取模块301,具体还用于:基于所述日志文件确定所述目标测试过程中是否发生预设异常事件,所述基于所述日志文件确定所述目标测试过程中是否发生预设异常事件包括:
对所述日志文件中的记录进行检测,确定所述日志文件中的异常指示信息,所述异常指示信息用于指示在所述目标测试用例执行过程中发生异常情况;基于所述日志文件中所述异常指示信息的上下文信息,确定各所述异常指示信息对应的异常事件;确定所述异常事件中是否存在预设异常事件。
在一些实施例中,所述信令数据获取模块302,具体还用于进行目标测试用例的获取,一个目标测试用例可以用于测试一个或多个信令交互流程。
其中,目标信令交互流程可以是目标测试用例所测试的信令交互流程中的任意一个或多个。可选的,目标信令交互流程可以预先设置,例如目标信令交互流程包括RRC信令交互流程和RRC层的信令数据。或者,目标信令交互流程可以根据目标测试中出现的问题,针对性地进行选择,以降低复现目标信令交互流程所需的时间。
在一些实施例中,所述信令数据获取模块302,具体还用于:当所述异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
在一些实施例中,所述信令数据获取模块302,具体还用于:当所述异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,所述RRC信令数据和所述NAS信令数据即为所述目标信令数据。
在一些实施例中,所述信令数据获取模块302,具体还用于:从所述日志文件中获取信令交互流程对应的目标信令数据的步骤,具体包括:从所述日志文件中获取在所述测试通信交互的过程中所述终端接收到的全部信令数据;从所述全部信令数据中,依照生成时间顺序获取所述目标信令数据。
在一些实施例中,模拟测试模块303,具体用于根据异常事件的分类,从所述日志文件中获取相应类型的目标信令数据。
例如,当所述异常事件为所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取目标信令数据,包括:从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
可选的,当连接中断事件或者所述网络中断事件时,从所述日志文件中获取目标信令数据还可以包括RRC信令数据与NAS信令数据及其他类型的信令数据。
例如,当所述异常事件为所述鉴权失败事件时,从所述日志文件中获取目标信令数据,包括:从所述日志文件中获取NAS信令数据,所述NAS信令数据即为所述目标信令数据。
可选的,当鉴权失败事件时,从所述日志文件中获取目标信令数据还可以包括RRC信令数据与NAS信令数据及其他类型的信令数据。
在一些实施例中,模拟测试模块303,具体还用于:基于所述目标信令数据与第二终端进行信令交互的步骤,具体包括:与所述第二终端进行通信连接;
获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;
基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
在一些实施例中,模拟测试模块303,具体还用于:与所述第二终端建立通信连接,包括:模拟所述目标网络下的服务器,得到目标虚拟服务器;控制所述目标虚拟服务器与所述第二终端执行测试。
在一些实施例中,模拟测试模块303,具体还用于:所述控制所述目标虚拟服务器与所述第二终端执行测试,包括:
控制所述目标虚拟服务器与所述第二终端建立通信连接;
所述将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,包括:
通过所述目标虚拟服务器将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;
所述基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端,包括:
通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
由上可知,本申请实施例提供的通信设备测试装置30,通过日志获取模块301获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;信令数据获取模块302从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;模拟测试模块303基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。本申请实施例可以模拟运营商5G实网或者实验室5G认证过程中的异常问题场景,加快问题解决进度和节省5G移动终端厂商的各种成本。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。
请参阅图4,图4为本申请实施例提供的通信设备测试装置的第二结构示意图。所述通信设备测试装置40可以包括:
日志获取模块401,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
信令数据获取模块402,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
模拟测试模块403,用于基基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
所述模拟测试模块403还包括:
第一通信子模块4031,用于与所述第二终端进行建立通信连接;
第一信令数据获取子模块4032,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
第一数据交互子模块4033,用于将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;
第三通信子模块4034,用于基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
由上可知,本申请实施例提供的通信设备测试装置40,通过
日志获取模块401获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;信令数据获取模块402从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;模拟测试模块403基基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。所述模拟测试模块403还包括:第一通信子模块4031与所述第二终端进行建立通信连接;第一信令数据获取子模块4032获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;第一数据交互子模块4033将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;第三通信子模块4034基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。以复现所述目标测试的过程中产生的异常事件所对应的信令交互流程。本申请实施例可以模拟运营商5G实网或者实验室5G认证过程中的异常问题场景,加快问题解决进度和节省5G移动终端厂商的各种成本。
请参阅图5,图5为本申请实施例提供的通信设备测试装置的第三结构示意图,通信设备测试装置50包括存储器120、一个或多个处理器180、以及一个或多个应用程序,其中该一个或多个应用程序被存储于该存储器120中,并配置为由该处理器180执行;该处理器180可以包括日志获取模块501,信令数据获取模块502,模拟测试模块503。例如,以上各个部件的结构和连接关系可以如下:
存储器120可用于存储应用程序和数据。存储器120存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器180通过运行存储在存储器120的应用程序,从而执行各种功能应用以及数据处理。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180对存储器120的访问。
处理器180是装置的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的应用程序,以及调用存储在存储器120内的数据,执行装置的各种功能和处理数据,从而对装置进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等。
具体在本实施例中,处理器180会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器120中,并由处理器180来运行存储在存储器120中的应用程序,从而实现各种功能:
日志获取模块501,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
信令数据获取模块502,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
模拟测试模块503,用于基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
请参阅图6,图6为本申请实施例提供的通信设备测试装置的第四结构示意图,通信设备测试装置60包括存储器120、一个或多个处理器180、以及一个或多个应用程序,其中该一个或多个应用程序被存储于该存储器120中,并配置为由该处理器180执行;该处理器180可以包括日志获取模块601,信令数据获取模块602,模拟测试模块603,第一通信子模块6031,第一数据交互子模块6032。以上各个部件的具体功能可参见前面的实施例,在此不再赘述。各部件的结构和连接关系可以如下:
日志获取模块601,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
信令数据获取模块602,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
模拟测试模块603,用于基基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
所述模拟测试模块603还包括:
第一通信子模块6031,用于与所述第二终端进行建立通信连接;
第一信令数据获取子模块6032,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;
第一数据交互子模块6033,用于将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;
第三通信子模块6034,用于基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
本申请实施例还提供一种终端。所述终端可以是智能手机、平板电脑、台式计算机、智能手表、移动工作站、服务器等设备。
另外,本申请实施例还提供一种终端,该终端可以是智能手机、平板电脑、电视等设备。如图7所示,终端700包括处理器701、存储器702。其中,处理器701与存储器702电性连接。
处理器701是终端700的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或加载存储在存储器702内的应用程序,以及调用存储在存储器702内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。
在本实施例中,终端700中的处理器701会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器702中,并由处理器701来运行存储在存储器702中的应用程序,从而实现各种功能:
获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
请参阅图8,图8为本申请实施例提供的终端的结构示意图。该终端1800可以包括RF电路810、包括有一个或一个以上计算机可读存储介质的存储器820、输入单元830、显示单元840、传感器850、音频电路860、扬声器861、传声器862、传输模块870、包括有一个或者一个以上处理核心的处理器880、以及电源890等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
RF电路810用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路810可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路810可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global
System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced
Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code
Division Multiple Access, WCDMA),码分多址技术(Code Division
Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity,
Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice
over Internet Protocol, VoIP)、全球微波互联接入(Worldwide
Interoperability for Microwave Access,
Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
存储器820可用于存储软件程序以及模块,如上述实施例中图像解压缩装置、方法对应的程序指令/模块,处理器880通过运行存储在存储器820内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现前置摄像头拍照自动补光的功能。存储器820可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器820可进一步包括相对于处理器880远程设置的存储器,这些远程存储器可以通过网络连接至终端1800。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元830可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元830可包括触敏表面831以及其他输入设备832。触敏表面831,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面831上或在触敏表面831附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器880,并能接收处理器880发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面831。除了触敏表面831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元840可用于显示由用户输入的信息或提供给用户的信息以及终端1800的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元840可包括显示面板841,可选的,可以采用LCD(Liquid
Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板841。进一步的,触敏表面831可覆盖显示面板841,当触敏表面831检测到在其上或附近的触摸操作后,传送给处理器880以确定触摸事件的类型,随后处理器880根据触摸事件的类型在显示面板841上提供相应的视觉输出。虽然在图5中,触敏表面831与显示面板841是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面831与显示面板841集成而实现输入和输出功能。
终端1800还可包括至少一种传感器850,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板841的亮度,接近传感器可在终端1800移动到耳边时,关闭显示面板841和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于终端1800还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路860、扬声器861和传声器862,传声器862可提供用户与终端1800之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器861,由扬声器861转换为声音信号输出;另一方面,传声器862将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810以发送给比如另一终端,或者将音频数据输出至存储器820以便进一步处理。音频电路860还可能包括耳塞插孔,以提供外设耳机与终端1800的通信。
终端1800通过传输模块870(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了传输模块870,但是可以理解的是,其并不属于终端1800的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器880是终端1800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行终端1800的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器880可包括一个或多个处理核心;在一些实施例中,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。
终端1800还包括给各个部件供电的电源890(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源890还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端1800还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行一个或者一个以上程序包含用于进行以下操作的指令:
获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;
从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;
基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。为此,本发明实施例提供一种存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本发明实施例所提供的任一种通讯设备测试方法中的步骤。
其中,该存储介质可以包括:只读存储器(ROM,Read
Only Memory)、随机存取记忆体(RAM,Random
Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的指令,可以执行本发明实施例所提供的任一种通讯设备测试方法中的步骤,因此,可以实现本发明实施例所提供的任一种通讯设备测试方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
综上所述,虽然本申请已以优选实施例揭露如上,但上述优选实施例并非用以限制本申请,本领域的普通技术人员,在不脱离本申请的精神和范围内,均可作各种更动与润饰,因此本申请的保护范围以权利要求界定的范围为准。
Claims (20)
- 一种通信设备测试方法,其中,应用于通信设备测试装置,所述方法包括:获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
- 根据权利要求1所述的通信设备测试方法,其中,在从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤之前,还包括:基于所述日志文件确定所述目标测试过程中是否发生异常事件,其中,异常事件包括连接中断事件、网络中断事件和鉴权失败事件中的至少一种;若是,继续执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;其中,所述连接中断事件包括:所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括:所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括:所述第一终端与目标网络无法完成鉴权的异常情况。
- 根据权利要求2所述的通信设备测试方法,其中,所述基于所述日志文件确定所述目标测试过程中是否发生预设异常事件包括:对所述日志文件中的记录进行检测,确定所述日志文件中的异常指示信息,所述异常指示信息用于指示在所述目标测试用例执行过程中发生异常情况;基于所述日志文件中所述异常指示信息的上下文信息,确定各所述异常指示信息对应的异常事件;确定所述异常事件中是否存在预设异常事件。
- 根据权利要求2所述的通信设备测试方法,其中,从所述日志文件中获取目标信令数据,包括:当所述异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,所述RRC信令数据即为所述目标信令数据。
- 根据权利要求2所述的通信设备测试方法,其中,从所述日志文件中获取目标信令数据,包括:当所述异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,所述NAS信令数据即为所述目标信令数据。
- 根据权利要求4或5所述的通信设备测试方法,其中,基于所述目标信令数据与第二终端进行信令交互的步骤,具体包括:与所述第二终端进行通信连接;获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
- 根据权利要求6所述的通信设备测试方法,其中,所述与所述第二终端建立通信连接,包括:模拟所述目标网络下的服务器,得到目标虚拟服务器;控制所述目标虚拟服务器与所述第二终端执行测试。
- 根据权利要求7所述的通信设备测试方法,其中,所述控制所述目标虚拟服务器与所述第二终端执行测试,包括:控制所述目标虚拟服务器与所述第二终端建立通信连接;所述将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,包括:通过所述目标虚拟服务器将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;所述基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端,包括:通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
- 根据权利要求1-8任一项所述的通信设备测试方法,其中,从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤,具体包括:获取目标测试用例与目标测试用例测试的信令交互流程之间的对应关系;基于所述对应关系,确定目标信令交互流程对应的第一目标测试用例;从所述日志文件获取所述第一目标测试用例对应的信令数据作为目标信令数据。
- 一种通信设备测试装置,其中,包括:日志获取模块,用于获取目标测试产生的日志文件,所述目标测试为第一终端在目标网络下基于目标测试用例执行的测试;信令数据获取模块,用于从所述日志文件中获取目标信令交互流程对应的目标信令数据,所述目标信令交互流程为所述目标测试中所述第一终端与所述目标网络的信令交互流程;模拟测试模块,基于所述目标信令数据与第二终端进行信令交互,以模拟所述目标测试的所述目标信令交互流程。
- 如权利要求10所述的通信设备测试装置,其中,所述日志获取模块,还用于:基于所述日志文件确定所述目标测试过程中是否发生预设异常事件,其中,预设异常事件包括:连接中断事件、网络中断事件和鉴权失败事件;若是,触发所述信令数据获取模块执行所述从所述日志文件中获取目标信令交互流程对应的目标信令数据的步骤;其中,所述连接中断事件包括:所述第一终端未能与目标网络建立通信连接的异常情况;所述网络中断事件包括:所述第一终端与目标网络建立通信连接,但是无法进行网络数据交互的异常情况;所述鉴权失败事件包括:所述第一终端与目标网络无法完成鉴权的异常情况。
- 如权利要求11所述的通信设备测试装置,其中,所述信令数据获取模块,用于:当所述预设异常事件包括所述连接中断事件或者所述网络中断事件时,从所述日志文件中获取RRC信令数据,基于所述RRC信令数据得到目标信令数据。
- 根据权利要求12所述的通信设备测试装置,其中,所述模拟测试模块,还包括:第一通信子模块,用于与所述第二终端进行建立通信连接;第一信令数据获取子模块,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据,所述第一终端发送至所述目标网络的网络侧的第二信令数据,以及所述第一信令数据和第二信令数据的发送顺序和响应关系;第一数据交互子模块,用于将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;用于基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
- 根据权利要求11所述的通信设备测试装置,其中,所述信令数据获取模块,用于:当所述预设异常事件包括所述鉴权失败事件时,从所述日志文件中获取RRC信令数据和NAS信令数据,基于所述RRC信令数据和NAS信令数据得到目标信令数据。
- 如权利要求14所述的通信设备测试装置,其中,所述模拟测试模块,包括:第二通信子模块,用于与所述第二终端进行通信连接;第二信令数据获取子模块,用于获取所述目标信令数据中所述目标网络下网络侧发送至所述第一终端的第一信令数据、所述第一终端发送至所述目标网络的网络侧的第二信令数据以及所述第一信令数据和第二信令数据的发送顺序和响应关系;第二数据交互子模块,用于将所述第二信令数据、所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端,触发所述第二终端基于所述发送顺序和响应关系发送所述第二信令数据;基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,将响应于所述接收到的第二信令数据的第一信令数据发送给所述第二终端。
- 如权利要求15所述的通信设备测试装置,其中,第二通信子模块,用于模拟所述目标网络下的服务器,得到目标虚拟服务器;控制所述目标虚拟服务器与所述第二终端建立通信连接;第二数据交互子模块,用于通过所述目标虚拟服务器将所述第二信令数据,所述第二信令数据的发送顺序以及所述响应关系发送给所述第二终端;通过所述目标虚拟服务器,基于接收到的第二信令数据、所述第一信令数据的发送顺序以及响应关系,确定响应于所述接收到的第二信令数据的第一信令数据,将确定的所述第一信令数据发送给所述第二终端。
- 根据权利要求10-16任一项所述的通信设备测试装置,其中,信令数据获取模块,用于:获取目标测试用例与目标测试用例测试的信令交互流程之间的对应关系;基于所述对应关系,确定目标信令交互流程对应的第一目标测试用例;从所述日志文件获取所述第一目标测试用例对应的信令数据作为目标信令数据。
- 一种存储介质,其中,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1至6任一项所述的通信设备测试方法中的步骤。
- 一种终端,其中,所述终端包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行权利要求1至6任一项所述的通信设备测试方法中的步骤。
- 一种测试系统,其中,包括权利要求10-17任一项所述的通信设备测试装置和第二终端,所述通信设备测试装置存储有测试程序,所述测试程序被运行时执行权利要求1-9任一项所述的通信设备测试方法中的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110237931.3A CN112788640B (zh) | 2021-03-04 | 2021-03-04 | 通信设备测试方法、装置、存储介质及终端 |
| CN202110237931.3 | 2021-03-04 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022183552A1 true WO2022183552A1 (zh) | 2022-09-09 |
Family
ID=75762082
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/083498 Ceased WO2022183552A1 (zh) | 2021-03-04 | 2021-03-29 | 通信设备测试方法、装置、存储介质、终端及测试系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112788640B (zh) |
| WO (1) | WO2022183552A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113890868A (zh) * | 2021-09-23 | 2022-01-04 | 恒睿(重庆)人工智能技术研究院有限公司 | 信令交互模拟方法、设备及计算机存储介质 |
| CN119922597B (zh) * | 2023-10-31 | 2026-01-02 | 深圳市三诺数字科技有限公司 | 一种设备分流测试方法、装置、计算机设备及存储介质 |
| CN117707872A (zh) * | 2023-12-25 | 2024-03-15 | 茂佳科技(广东)有限公司 | 压力测试方法、装置、终端设备以及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1901538A (zh) * | 2005-07-20 | 2007-01-24 | 中国移动通信集团公司 | 一种基于wap/mms业务的多接口多协议测试方法 |
| US20080294948A1 (en) * | 2006-11-06 | 2008-11-27 | Tektronix International Sales Gmbh | Protocol Tester and Method for Performing a Protocol Test |
| CN103686818A (zh) * | 2012-08-30 | 2014-03-26 | 电信科学技术研究院 | 一种仿真测试方法及设备 |
| CN107148033A (zh) * | 2017-05-02 | 2017-09-08 | 惠州Tcl移动通信有限公司 | 一种定位过程分析方法、存储设备及移动终端 |
| CN111917603A (zh) * | 2020-07-22 | 2020-11-10 | 广州虎牙信息科技有限公司 | 客户端测试方法、装置、计算机设备及存储介质 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101394646B (zh) * | 2008-11-06 | 2011-06-01 | 北京天碁科技有限公司 | 一种软件测试方法和系统 |
| CN102421112B (zh) * | 2011-11-18 | 2015-05-20 | 展讯通信(上海)有限公司 | 移动终端的测试方法、移动终端模拟器、测试设备及系统 |
| CN103731850A (zh) * | 2013-12-12 | 2014-04-16 | 北京泰合佳通信息技术有限公司 | 一种基于移动智能终端的无线网络测试方法 |
| CN104765686B (zh) * | 2015-04-08 | 2017-12-08 | 小米科技有限责任公司 | 测试应用程序的方法及装置 |
| WO2017025773A1 (en) * | 2015-08-07 | 2017-02-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Root cause analysis of call failures in a communication network |
| CN106897206B (zh) * | 2015-12-18 | 2020-06-02 | 阿里巴巴集团控股有限公司 | 一种业务测试方法及装置 |
| CN109344055B (zh) * | 2018-09-07 | 2020-05-19 | 武汉达梦数据库有限公司 | 一种测试方法以及测试装置 |
| CN109460349B (zh) * | 2018-09-19 | 2021-09-21 | 武汉达梦数据库股份有限公司 | 一种基于日志的测试用例生成方法和装置 |
| CN110334004A (zh) * | 2019-05-24 | 2019-10-15 | 深圳壹账通智能科技有限公司 | 一种测试数据构造方法及装置、电子设备及存储介质 |
| CN110825618B (zh) * | 2019-10-10 | 2024-01-26 | 天航长鹰(江苏)科技有限公司 | 一种生成测试用例的方法及相关装置 |
| CN110636537B (zh) * | 2019-11-21 | 2020-04-10 | 翱捷科技(上海)有限公司 | 一种基于ttcn-3的多卡移动终端测试系统及其方法 |
-
2021
- 2021-03-04 CN CN202110237931.3A patent/CN112788640B/zh active Active
- 2021-03-29 WO PCT/CN2021/083498 patent/WO2022183552A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1901538A (zh) * | 2005-07-20 | 2007-01-24 | 中国移动通信集团公司 | 一种基于wap/mms业务的多接口多协议测试方法 |
| US20080294948A1 (en) * | 2006-11-06 | 2008-11-27 | Tektronix International Sales Gmbh | Protocol Tester and Method for Performing a Protocol Test |
| CN103686818A (zh) * | 2012-08-30 | 2014-03-26 | 电信科学技术研究院 | 一种仿真测试方法及设备 |
| CN107148033A (zh) * | 2017-05-02 | 2017-09-08 | 惠州Tcl移动通信有限公司 | 一种定位过程分析方法、存储设备及移动终端 |
| CN111917603A (zh) * | 2020-07-22 | 2020-11-10 | 广州虎牙信息科技有限公司 | 客户端测试方法、装置、计算机设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112788640A (zh) | 2021-05-11 |
| CN112788640B (zh) | 2022-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12041447B2 (en) | Image sharing method and system, and electronic device | |
| US12212998B2 (en) | Measurement configuration method, device, and system | |
| WO2017140276A1 (zh) | 网络连接方法及装置、计算机存储介质 | |
| CN111177013B (zh) | 日志数据获取方法、装置、计算机设备及存储介质 | |
| WO2019137424A1 (zh) | 参考信号的测量方法和用户终端 | |
| WO2015043361A1 (en) | Methods, devices, and systems for completing communication between terminals | |
| CN107172671B (zh) | 一种信道切换方法、装置、存储介质和终端 | |
| CN104978176A (zh) | 应用程序接口调用方法及装置 | |
| WO2017202348A1 (zh) | 一种视频播放方法、装置及计算机存储介质 | |
| CN107329901B (zh) | 数据包抓取方法、终端、服务器和存储介质 | |
| CN104915091B (zh) | 一种显示状态栏提示信息的方法和装置 | |
| CN106371964B (zh) | 一种进行消息提示的方法和装置 | |
| CN112415367B (zh) | 驱动芯片异常侦测方法、装置、电子设备及可读存储介质 | |
| CN107465841B (zh) | 一种故障信息上报方法及终端 | |
| CN106502681B (zh) | 一种传感器的注册方法、装置及移动终端 | |
| JP7457703B2 (ja) | 測定指示方法、装置及びシステム | |
| CN105389259B (zh) | 一种进行应用程序测试的方法、装置及系统 | |
| CN106126411A (zh) | 一种对被测程序代码进行测试的方法和装置 | |
| WO2018049894A1 (zh) | 数据传输方法及设备 | |
| WO2022183552A1 (zh) | 通信设备测试方法、装置、存储介质、终端及测试系统 | |
| CN110324834A (zh) | 测量结果的指示方法、终端和基站 | |
| CN114510417A (zh) | 一种图像渲染效果测试方法、装置、电子设备和存储介质 | |
| CN105703808A (zh) | 一种传输数据的方法和装置 | |
| CN106484615A (zh) | 记录日志的方法和装置 | |
| CN111615216A (zh) | 一种随机接入方法及终端 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21928633 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21928633 Country of ref document: EP Kind code of ref document: A1 |