Automatic test system and method for circuit telephone service
By designing an automated test system and using modems and modular management to achieve automated testing, the problem of long time-consuming and high labor costs in circuit and telephone service testing of satellite communication systems has been solved, testing efficiency has been improved and data transmission testing has been supported.
Patent Information
- Application Number
- CN202410747336.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the circuit telephone service function and performance index testing of the satellite communication system relies on manual dialing and answering, which is time-consuming and labor-intensive, and the testing efficiency is low.
An automated test system is designed, including the main unit of the system, a first modem and a second modem. Through data management, test implementation, user management and human-computer interaction modules, automated test environment construction, parameter setting and test result generation are realized, supporting Data interaction and encrypted storage.
It improves the efficiency of circuit telephone service testing, saves labor costs, realizes automated dialing and answering, supports call completion rate and data transmission testing, and improves the ability to automatically generate test results.
Smart Images

Figure CN118694850A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite communication testing technology, and in particular to an automatic testing system and method for circuit telephone services. Background Art
[0002] With the vigorous development of the domestic satellite communication industry, test methods and equipment for satellite communication system functions and performance indicators have emerged. Among them, RF and protocol functions and performance indicators have relatively feasible automated testing solutions, but circuit telephone service functions and performance indicators are still tested by manual dialing and answering, which is time-consuming, labor-intensive, and inefficient. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide an automated test system and method for circuit telephone services, including a main unit, a first modem and a second modem running on a general-purpose computer; the system main unit is data-connected with the first modem and the second modem for system management; the system management includes data management, test implementation, user management and human-computer interaction; the first modem and the second modem are data-connected with the system main unit and the satellite communication system to be tested, and are used for data interaction with the system main unit and the satellite communication system to be tested. The system main unit includes a data management module, a test implementation module, a user management module and a human-computer interaction module. The data management module is responsible for interacting with the system database, providing a unified system data read and write interface for other modules, supporting data caching and data encryption functions, and the system data includes basic data and operating data; the user management module is responsible for user information management and login verification; the test implementation module is responsible for reading test parameters, executing automated test processes, and generating test process information and test results; the human-computer interaction module is responsible for providing a human-computer interaction interface for users, providing an interface for test parameter setting and test process control, and supporting the display of test processes and test results.
[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses an automatic testing system for circuit telephone services, the system comprising:
[0005] a main unit, a first modem, and a second modem;
[0006] The system main unit is data-connected with the first modem and the second modem for system management; the system management includes data management, test implementation, user management and human-computer interaction;
[0007] The first modem and the second modem are data-connected to the system main unit and the satellite communication system to be tested, and are used for data exchange with the system main unit and the satellite communication system to be tested.
[0008] As an optional implementation, in the first aspect of the embodiment of the present invention, the system main unit includes a data management module, a test implementation module, a user management module, a human-computer interaction module and a system database;
[0009] The data management module is connected with the test implementation module, the user management module, the human-computer interaction module and the system database data, and is used to manage the system database and provide a unified system data reading and writing interface for the test implementation module, the user management module and the human-computer interaction module;
[0010] The user management module is data-connected with the data management module to manage user information and verify user login;
[0011] The human-computer interaction module is data-connected with the test implementation module and the data management module, and is used to provide a human-computer interaction interface for the user, perform test parameter settings, provide an interface for test process control, and display the test process and test results.
[0012] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the system database includes basic data and operation data;
[0013] The basic data includes AT instruction set, system configuration parameters, test case data and user identity information data; the user identity information data includes the ciphertext of user ID, user name and user authentication password;
[0014] The operation data includes system operation log, test process data and test result data.
[0015] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the basic data is stored in a single database and separate tables;
[0016] The operation data is divided into databases according to user identity information, and the databases are divided into tables according to data types and stored in encrypted form.
[0017] A second aspect of an embodiment of the present invention discloses an automated testing method for circuit telephone services, the method comprising:
[0018] S1, build the test environment;
[0019] S2, using the user management module to manage user information and obtain system login user information;
[0020] S3, using a data management module to encrypt the system login user information to obtain encrypted operation data, and storing the encrypted operation data in the system database;
[0021] S4, using the human-computer interaction module to set test parameters and start the circuit telephone service test;
[0022] S5, utilizing the test implementation module to perform circuit telephone service test according to the test parameters to obtain test results.
[0023] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the building of the test environment includes:
[0024] S11, establishing data connection between the system main unit and the first modem and the second modem;
[0025] S12, connecting the first modem to the telephone port data of the first user station of the satellite communication system to be tested, and connecting the second modem to the telephone port data of the second user station of the satellite communication system to be tested.
[0026] As an optional implementation, in the second aspect of the embodiment of the present invention, the using of the data management module to encrypt the system login user information to obtain encrypted operation data includes:
[0027] S31, querying whether there is a database of the system login user information in the system database, if yes, executing S33, if not, executing S32;
[0028] S32, creating a new database according to the current system login user information, and creating multiple data tables for data storage;
[0029] S33, using the AES encryption algorithm, encrypting the system login user information to obtain encrypted operation data.
[0030] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the using the test implementation module to perform the circuit telephone service test according to the test parameters to obtain the test result includes:
[0031] S41, set the current test number to 0, set the test call completion number to 0;
[0032] S42, starting a calling thread and a called thread of a circuit telephone service, wherein the calling thread is connected to the first modem as a calling telephone, and the called thread is connected to the second modem as a called telephone;
[0033] S43, the calling thread and the called thread respectively send an ath0 / r message to the connected modem;
[0034] S44, the calling thread sends a std<called phone number>\r message to the connected modem;
[0035] S45, waiting for the called thread to receive a RING message from the connected modem, and executing S46 after receiving the message; if the called thread still does not receive the message after the call waiting time, executing S52;
[0036] S46, the called thread sends an ath1\r message to the connected modem;
[0037] S47, the calling thread sends an ata\r message to the connected modem;
[0038] S48, waiting for the calling thread and the called thread to receive CONNET messages from the connected modems respectively;
[0039] S49, the calling thread sends a voice test sample to the connected modem, and the receiving thread receives the voice test sample from the connected modem and compares the received voice test sample;
[0040] S50, the calling thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message;
[0041] S51, the called thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message;
[0042] S52, the number of test call completions is increased by 1;
[0043] S53, the current test number is increased by 1. If the current test number has reached the preset test number threshold, the test is terminated and the test result is obtained. Otherwise, S43 is executed.
[0044] As an optional implementation, in the second aspect of the embodiment of the present invention, the test result is a test call completion rate;
[0045] The calculation formula of the test call completion rate is:
[0046] a=b / c
[0047] Where a is the test call completion rate, b is the number of test call completions, and c is the current number of tests.
[0048] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0049] The present invention proposes an automated testing system and method for the circuit telephone service of a satellite communication system. Aiming at the problems that the functional performance index test of the circuit telephone service of the existing satellite communication system is time-consuming, labor-intensive and inefficient, an automated testing system is constructed to realize the automated testing of the circuit telephone service and the automated generation of the test results, thereby improving the testing efficiency and saving labor costs. The method realizes the circuit telephone service test by automatically dialing and answering, without using a real terminal, and supports not only the call completion rate test, but also the data transmission test in the connected state. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 It is a structural schematic diagram of an automatic test system for circuit telephone services disclosed in an embodiment of the present invention;
[0052] Figure 2 The present invention discloses a flow chart of an automatic testing method for circuit telephone service. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0055] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0056] The present invention discloses an automated testing system and method for circuit telephone services. The system includes a system main unit, a first modem, and a second modem; the system main unit is data-connected with the first modem and the second modem for system management; the first modem and the second modem are data-connected with a satellite communication system to be tested for data interaction with the system main unit and the satellite communication system to be tested. A test environment is set up; user information management is performed using a user management module to obtain system login user information; the system login user information is encrypted using a data management module to obtain encrypted operation data, and the encrypted operation data is stored in the system database; the test parameters are set using a human-computer interaction module to start the circuit telephone service test; the test implementation module is used to execute the circuit telephone service test according to the test parameters to obtain the test results. Each of them is described in detail below.
[0057] Embodiment 1
[0058] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an automatic test system for circuit telephone services disclosed in an embodiment of the present invention. Figure 1 The described automated testing system for circuit telephone services is applied to the field of satellite communication testing technology and is suitable for automated testing of satellite communication circuit telephone services, which is not limited in the embodiments of the present invention. Figure 1 As shown, the automatic test system for the circuit telephone service includes a system main unit, a first modem and a second modem;
[0059] The system main unit is data-connected with the first modem and the second modem for system management; the system management includes data management, test implementation, user management and human-computer interaction;
[0060] The first modem and the second modem are data-connected to the system main unit and the satellite communication system to be tested, and are used for data exchange with the system main unit and the satellite communication system to be tested.
[0061] Optionally, the system main unit includes a data management module, a test implementation module, a user management module, a human-computer interaction module and a system database;
[0062] The data management module is connected with the test implementation module, the user management module, the human-computer interaction module and the system database data, and is used to manage the system database and provide a unified system data reading and writing interface for the test implementation module, the user management module and the human-computer interaction module;
[0063] The user management module is data-connected with the data management module to manage user information and verify user login;
[0064] The human-computer interaction module is data-connected with the test implementation module and the data management module, and is used to provide a human-computer interaction interface for the user, perform test parameter settings, provide an interface for test process control, and display the test process and test results.
[0065] Optionally, the system database includes basic data and operation data;
[0066] The basic data includes AT instruction set, system configuration parameters, test case data and user identity information data; the user identity information data includes the ciphertext of user ID, user name and user authentication password;
[0067] The AT command set is a command set used to control the functions of mobile devices. It allows users or devices to interact with mobile devices by sending specific text string commands. These commands usually start with "AT" and end with specific characters.
[0068] The operation data includes system operation log, test process data and test result data.
[0069] Optionally, the basic data is stored in a single database and separate tables;
[0070] The operation data is divided into databases according to user identity information, and the databases are divided into tables according to data types and stored in encrypted form.
[0071] It can be seen that the present invention proposes an automated testing system and method for the circuit telephone service of a satellite communication system. In view of the problems that the functional performance index test of the circuit telephone service of the existing satellite communication system is time-consuming, labor-intensive, and inefficient, an automated testing system is constructed to realize the automated testing of the circuit telephone service and the automated generation of test results, thereby improving the testing efficiency and saving labor costs. The method realizes the circuit telephone service test by automatically dialing and answering, without the need to use a real terminal, and not only supports the call completion rate test, but also supports the data transmission test in the connected state.
[0072] Embodiment 2
[0073] See also Figure 2 , Figure 2 The following is a flow chart of an automated testing method for circuit telephone services disclosed in an embodiment of the present invention. Figure 2 The described automated testing method for circuit telephone services is applied to the field of satellite communication testing technology, and is suitable for automated testing of satellite communication circuit telephone services, which is not limited in the embodiments of the present invention. Figure 2 As shown, the automated testing method for the circuit telephone service includes:
[0074] S1, build the test environment;
[0075] S2, using the user management module to manage user information and obtain system login user information;
[0076] S3, using a data management module to encrypt the system login user information to obtain encrypted operation data, and storing the encrypted operation data in the system database;
[0077] S4, using the human-computer interaction module to set test parameters and start the circuit telephone service test;
[0078] S5, utilizing the test implementation module to perform circuit telephone service test according to the test parameters to obtain test results.
[0079] Optionally, the building of the test environment includes:
[0080] S11, establishing data connection between the system main unit and the first modem and the second modem;
[0081] S12, connecting the first modem to the telephone port data of the first user station of the satellite communication system to be tested, and connecting the second modem to the telephone port data of the second user station of the satellite communication system to be tested.
[0082] Optionally, the utilizing a data management module to encrypt the system login user information to obtain encrypted operation data includes:
[0083] S31, querying whether there is a database of the system login user information in the system database, if yes, executing S33, if not, executing S32;
[0084] S32, creating a new database according to the current system login user information, and creating multiple data tables for data storage;
[0085] S33, using the AES encryption algorithm, encrypting the system login user information to obtain encrypted operation data.
[0086] Optionally, the using the test implementation module to perform the circuit telephone service test according to the test parameters to obtain the test result includes:
[0087] S41, set the current test number to 0, set the test call completion number to 0;
[0088] S42, starting a calling thread and a called thread of a circuit telephone service, wherein the calling thread is connected to the first modem as a calling telephone, and the called thread is connected to the second modem as a called telephone;
[0089] S43, the calling thread and the called thread respectively send an ath0 / r message to the connected modem;
[0090] S44, the calling thread sends a std<called phone number>\r message to the connected modem;
[0091] S45, waiting for the called thread to receive a RING message from the connected modem, and executing S46 after receiving the message; if the called thread still does not receive the message after the call waiting time, executing S52;
[0092] S46, the called thread sends an ath1\r message to the connected modem;
[0093] S47, the calling thread sends an ata\r message to the connected modem;
[0094] S48, waiting for the calling thread and the called thread to receive CONNET messages from the connected modems respectively;
[0095] S49, the calling thread sends a voice test sample to the connected modem, and the receiving thread receives the voice test sample from the connected modem and compares the received voice test sample;
[0096] S50, the calling thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message;
[0097] S51, the called thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message;
[0098] S52, the number of test call completions is increased by 1;
[0099] S53, the current test number is increased by 1. If the current test number has reached the preset test number threshold, the test is terminated and the test result is obtained. Otherwise, S43 is executed.
[0100] Optionally, the test result is a test call completion rate;
[0101] The calculation formula of the test call completion rate is:
[0102] a=b / c
[0103] Where a is the test call completion rate, b is the number of test call completions, and c is the current number of tests.
[0104] It can be seen that the present invention proposes an automated testing system and method for the circuit telephone service of a satellite communication system. In view of the problems that the functional performance index test of the circuit telephone service of the existing satellite communication system is time-consuming, labor-intensive, and inefficient, an automated testing system is constructed to realize the automated testing of the circuit telephone service and the automated generation of test results, thereby improving the testing efficiency and saving labor costs. The method realizes the circuit telephone service test by automatically dialing and answering, without the need to use a real terminal, and not only supports the call completion rate test, but also supports the data transmission test in the connected state.
[0105] Embodiment 3
[0106] The embodiment of the present invention provides an automated testing system and method for satellite communication system circuit telephone service, which is used for automated testing of satellite communication system circuit telephone service, and includes a data management module, a test implementation module, a user management module and a human-computer interaction module.
[0107] In a first aspect, an automated test system for circuit telephone services of a satellite communication system is proposed, comprising a system main unit running on a general-purpose computer and two modems with USB interfaces.
[0108] The main unit of the system includes data management module, test implementation module, user management module and human-computer interaction module. The data management module is responsible for interacting with the system database, providing a unified system data read and write interface for other modules, supporting data caching and data encryption functions, and system data includes basic data and operation data; the user management module is responsible for user information management and login verification; the test implementation module is responsible for reading test parameters, executing automated test processes, and generating test process information and test results; the human-computer interaction module is responsible for providing users with a human-computer interaction interface, providing interfaces for test parameter settings and test process control, and supporting the display of test processes and test results.
[0109] The system database adopts different storage methods for test data and basic data. Basic data includes AT instruction set, system configuration parameters, test case data and user identity information data (including ciphertext of user ID, user name and user authentication password), which are stored in a single database and separate tables; operation data includes system operation log, test process data and test result data, which are divided into separate databases according to user identity information, and separate tables in the database according to data type, and encrypted storage.
[0110] The data management module performs encryption operations before running data storage, specifically including the following steps:
[0111] Step 1: The system generates running data to be stored;
[0112] Step 2: Check whether there is a database belonging to the current user in the system database. If yes, go to step 4; otherwise, go to step 3;
[0113] Step 3: Create a new database based on the current system login user information, and create multiple data tables for data storage;
[0114] Step 4: Take the ciphertext of the current user authentication password and the pseudo-random number string generated by the system as input, perform multiple SHA-512 iterations on the output as the encryption key, use the AES encryption algorithm to encrypt the data and store it in the database.
[0115] In the second aspect, an automated testing method for a satellite communication system circuit telephone service is proposed based on the constructed circuit telephone service automated testing system, comprising the following steps:
[0116] Step 1: Build the test environment. Connect the general-purpose computer of the system to two modems respectively, and then connect the modems to the telephone ports of the two user stations of the satellite communication system to be tested. Set the telephone numbers corresponding to the two telephone ports to 8007 and 8008 respectively.
[0117] Step 2: The user configures test parameters such as the number of tests, call waiting time, telephone numbers corresponding to the two telephone ports, and voice test samples in the human-computer interaction interface to start the circuit telephone service automation test;
[0118] Step 3: The test implementation module analyzes the test parameter information sent by the human-computer interaction module and starts to execute the circuit telephone service automation test, which specifically includes the following steps.
[0119] Step 3.1, load the test times and set the current test times to 0.
[0120] Step 3.2: Start the calling thread and called thread of the circuit telephone service respectively, connect two modems respectively, the calling phone corresponds to number 8007, and the called phone corresponds to number 8008.
[0121] Step 3.3: The calling thread and the called thread respectively send an "ath0" message to the connected modem.
[0122] Step 3.4: The calling thread sends a "std8008\r" message to the connected modem.
[0123] Step 3.5, wait for the called thread to receive a "RING" message from the connected modem, and then go to step 3.6; if the call is not received after the call waiting time, go to step 4;
[0124] Step 3.6, the called thread sends an "ath1\r" message to the connected modem;
[0125] Step 3.7, the calling thread sends an "ata\r" message to the connected modem;
[0126] Step 3.8: Wait for the calling thread and the called thread to receive "CONNET" messages from the connected modems respectively.
[0127] Step 3.9, the calling thread sends a voice test sample to the connected modem, and the receiving thread receives and compares the voice test sample from the connected modem;
[0128] Step 3.9, the calling thread sends a "+++" message to the connected modem, waits for 1 second, and then sends "ath0\r";
[0129] Step 3.10: The called thread sends a "+++" message to the connected modem, waits for 1 second, and then sends "ath0\r";
[0130] Step 4: The number of test call completions is increased by 1;
[0131] Step 5, add 1 to the current test number. If the current test number has reached the test number, the test ends and the test call completion rate is calculated as the test result; otherwise, go to step 3.3.
[0132] The test results include call completion rate and test efficiency;
[0133] Call completion rate = number of test calls / number of tests
[0134] Test efficiency = [(number of tests + number of test calls completed) × test time] / {call waiting time + [(number of tests + number of test calls completed) × test time]}
[0135] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0136] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0137] Finally, it should be noted that the automated testing system and method for circuit telephone services disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. An automated testing system for circuit telephone services, characterized in that: The system includes a system main unit, a first modem and a second modem; The system main unit is data-connected with the first modem and the second modem for system management; the system management includes data management, test implementation, user management and human-computer interaction; The first modem and the second modem are data-connected to the system main unit and the satellite communication system to be tested, and are used for data exchange with the system main unit and the satellite communication system to be tested.
2. The automated testing system for circuit telephone service according to claim 1, characterized in that: The main unit of the system includes a data management module, a test implementation module, a user management module, a human-computer interaction module and a system database; The data management module is connected with the test implementation module, the user management module, the human-computer interaction module and the system database data, and is used to manage the system database and provide a unified system data reading and writing interface for the test implementation module, the user management module and the human-computer interaction module; The user management module is data-connected with the data management module to manage user information and verify user login; The human-computer interaction module is data-connected with the test implementation module and the data management module, and is used to provide a human-computer interaction interface for the user, perform test parameter settings, provide an interface for test process control, and display the test process and test results.
3. The automatic test system for circuit telephone service according to claim 2, characterized in that: The system database includes basic data and operation data; The basic data includes AT instruction set, system configuration parameters, test case data and user identity information data; the user identity information data includes the ciphertext of user ID, user name and user authentication password; The operation data includes system operation log, test process data and test result data.
4. The automatic test system for circuit telephone service according to claim 3, characterized in that: The basic data is stored in a single database and separate tables; The operation data is divided into databases according to user identity information, and the databases are divided into tables according to data types and stored in encrypted form.
5. An automated testing method for circuit telephone service, characterized in that: The method is applied to the automatic test system of the circuit telephone service according to any one of claims 1 to 4, and the method comprises: S1, build the test environment; S2, using the user management module to manage user information and obtain system login user information; S3, using the data management module to encrypt the system login user information to obtain encrypted operation data, and storing the encrypted operation data in the system database; S4, using the human-computer interaction module to set test parameters and start the circuit telephone service test; S5, utilizing the test implementation module to perform circuit telephone service test according to the test parameters to obtain test results.
6. The automated testing method for circuit telephone service according to claim 5, characterized in that: The building of the test environment includes: S11, establishing data connection between the system main unit and the first modem and the second modem; S12, connecting the first modem to the telephone port data of the first user station of the satellite communication system to be tested, and connecting the second modem to the telephone port data of the second user station of the satellite communication system to be tested.
7. The automated testing method for circuit telephone service according to claim 5, characterized in that: The method of using the data management module to encrypt the system login user information to obtain encrypted operation data includes: S31, querying whether there is a database of the system login user information in the system database, if yes, executing S33, if not, executing S32; S32, creating a new database according to the current system login user information, and creating multiple data tables for data storage; S33, using the AES encryption algorithm, encrypting the system login user information to obtain encrypted operation data.
8. The automated testing method for circuit telephone service according to claim 5, characterized in that: The method of using the test implementation module to perform a circuit telephone service test according to the test parameters to obtain a test result includes: S41, set the current test number to 0, set the test call completion number to 0; S42, starting a calling thread and a called thread of a circuit telephone service, wherein the calling thread is connected to the first modem as a calling telephone, and the called thread is connected to the second modem as a called telephone; S43, the calling thread and the called thread respectively send an ath0 / r message to the connected modem; S44, the calling thread sends a std<called phone number>\r message to the connected modem; S45, waiting for the called thread to receive a RING message from the connected modem, and executing S46 after receiving the message; if the called thread still does not receive the message after the call waiting time, executing S52; S46, the called thread sends an ath1\r message to the connected modem; S47, the calling thread sends an ata\r message to the connected modem; S48, waiting for the calling thread and the called thread to receive CONNET messages from the connected modems respectively; S49, the calling thread sends a voice test sample to the connected modem, and the receiving thread receives the voice test sample from the connected modem and compares the received voice test sample; S50, the calling thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message; S51, the called thread sends a +++ message to the connected modem, waits for 1 second, and then sends an ath0\r message; S52, the number of test call completions is increased by 1; S53, the current test number is increased by 1. If the current test number has reached the preset test number threshold, the test is terminated and the test result is obtained. Otherwise, S43 is executed.
9. The automated testing method for circuit telephone service according to claim 8, characterized in that: The test result is the test call completion rate; The calculation formula of the test call completion rate is: a=b / c Where a is the test call completion rate, b is the number of test call completions, and c is the current number of tests.
Citation Information
Patent Citations
Method and system for testing satellite communication system
CN114124267A
Test logic-oriented satellite communication automatic test system and application method
CN116232482A
