CN113407440B - Testing system and method for wireless communication module - Google Patents

Testing system and method for wireless communication module Download PDF

Info

Publication number
CN113407440B
CN113407440B CN202110565608.9A CN202110565608A CN113407440B CN 113407440 B CN113407440 B CN 113407440B CN 202110565608 A CN202110565608 A CN 202110565608A CN 113407440 B CN113407440 B CN 113407440B
Authority
CN
China
Prior art keywords
test
wireless communication
layer
module
service layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110565608.9A
Other languages
Chinese (zh)
Other versions
CN113407440A (en
Inventor
李阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110565608.9A priority Critical patent/CN113407440B/en
Publication of CN113407440A publication Critical patent/CN113407440A/en
Application granted granted Critical
Publication of CN113407440B publication Critical patent/CN113407440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

The application relates to a test system and a test method of a wireless communication module, wherein the test system comprises: a user layer, a service layer, a data layer and a service layer; the service layer is used for responding to a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to a service layer through a data layer by the message queue; the business layer is used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; and returning a module test result to the service layer through the data layer. By adopting the test system to test the wireless communication modules, the automatic test of various test items on a plurality of wireless communication modules can be realized, and the test efficiency of the wireless communication modules is effectively improved.

Description

Testing system and method for wireless communication module
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a system, a method, an apparatus, a computer device, and a storage medium for testing a wireless communication module.
Background
With the diversification of terminal devices, the more functions that a terminal can realize. In order to ensure that the terminal device can realize the corresponding function, a module consisting of a plurality of modules of the terminal needs to be tested. Taking a wireless communication module as an example, testing of a single module is currently performed based on a single controller. But since the number of ports of the terminal device is limited, the number of wireless communication modules that it can test is limited. Moreover, multiple test items may exist in a single wireless communication module, and the current test method cannot meet the requirement of parallel testing of multiple test items of multiple wireless communication modules.
In addition, the current test method generally requires manual operations, such as manually updating local codes, manually importing test tasks, manually checking test environments, manually writing test results, manually analyzing failed cases, and the like, before performing the test, thus resulting in low test efficiency of the wireless communication module.
Disclosure of Invention
Accordingly, there is a need for a system and a method for testing a wireless communication module, which can effectively improve the testing efficiency of the wireless communication module.
A test system of a wireless communication module, the test system of the wireless communication module comprising: a user layer, a service layer, a data layer and a service layer;
the service layer is used for responding to a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; creating a message queue, and sending task parameters corresponding to the test task and the test script to the service layer through the data layer by the message queue;
the business layer is used for receiving task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, and calling the test script to perform parallel test on the wireless communication module to obtain a module test result; and returning the module test result to the service layer through the data layer.
In one embodiment, the service layer is further configured to load code parameters and module versions corresponding to the test tasks; transmitting the code parameters and the module version to the service layer through the data layer by the message queue;
the business layer is also used for receiving the code parameters and the module version; and updating script parameters of the test script and the module version of the wireless communication module based on the received code parameters and the module version.
In one embodiment, the service layer is further configured to obtain a history module test result stored in the data layer, and analyze the history module test result.
In one embodiment, the service layer comprises a control center, a test management system and a code server;
the control center of the service layer is used for responding to the test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request from the test management system, and loading a test script of the test task from the code server; and creating a message queue, and sending task parameters corresponding to the test task and the test script to the service layer through the data layer by the message queue.
In one embodiment, the control center of the service layer is further configured to receive the module test result returned by the service layer, and backfill the module test result in the test management system.
In one embodiment, the control center of the service layer is further configured to backfill the analyzed historical module test result in the test management system.
In one embodiment, the business layer includes at least one controller;
the control machine of the business layer is used for receiving task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, and calling the test script to perform parallel test on the wireless communication module to obtain a module test result; and returning the module test result to the service layer through the data layer.
In one embodiment, the controller of the service layer is further configured to receive the code parameter and the module version; and updating script parameters of the test script and the module version of the wireless communication module based on the received code parameters and the module version.
A testing method of a wireless communication module is applied to a service layer, and the testing method of the wireless communication module comprises the following steps:
responding to a test request of a user layer for at least one wireless communication module;
acquiring a test task corresponding to the test request, and loading a test script of the test task;
and creating a message queue, and sending task parameters corresponding to the test task and the test script through a data layer by the message queue.
The test method of the wireless communication module is applied to an application layer, and comprises the following steps:
receiving task parameters corresponding to the test task and the test script;
determining a wireless communication module corresponding to the test task according to the task parameter;
and calling the test script to perform parallel test on the wireless communication module to obtain a module test result, and returning the module test result through a data layer.
The test system comprises a user layer, a service layer, a data layer and a service layer; the service layer is used for responding to a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to a service layer through a data layer by the message queue; the business layer is used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; and returning a module test result to the service layer through the data layer. By adopting the test system for testing the wireless communication module, the automatic test of various test items on a plurality of wireless communication modules can be realized, and the test efficiency of the wireless communication module is effectively improved.
Drawings
FIG. 1 is an application environment diagram of a test system of a wireless communication module in one embodiment;
FIG. 2 is a schematic diagram of a test system of a wireless communication module according to an embodiment;
FIG. 3 is a flow chart illustrating a testing method of a wireless communication module according to an embodiment;
fig. 4 is a flowchart of a testing method of a wireless communication module according to another embodiment;
FIG. 5 is a schematic diagram of a test system of a wireless communication module according to an embodiment;
FIG. 6 is a block diagram of a testing device of a wireless communication module according to an embodiment;
FIG. 7 is a block diagram illustrating a testing apparatus of a wireless communication module according to another embodiment;
FIG. 8 is an internal block diagram of a computer device in one embodiment;
fig. 9 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, the test system of the wireless communication module provided in the application may be applied to an application environment as shown in fig. 1. The application environment may involve a user layer 100, a service layer 102, a data layer 103, and a traffic layer 104 at the same time. Wherein at least one user terminal may be included in the user layer 100. A plurality of servers, such as server 1021, server 1022, and server 1023, may be included in service layer 102, a plurality of database servers, such as database server 1031, database server 1032, and database server 1033, may be included in data layer 103, and a plurality of control machines, such as control machine 1041, control machine 1042, and control machine 1043, may be included in service layer 104, each of which may control a plurality of wireless communication modules, which may be independent modules, or may be internal modules of a terminal device. The user layer 100 may communicate with the service layer 102 through a network or other communication manner, the service layer 102 may communicate with the data layer 103 through a network or other communication manner, the data layer 103 may communicate with the service layer 104 through a network or other communication manner, the servers 1021, 1022 and 1023 of the service layer 102 may communicate through a network or other communication manner, and the database servers 1031, 1032 and 1033 of the data layer 103 may communicate through a network or other communication manner.
Specifically, the service layer 102 is configured to respond to a test request of the user layer 100 for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to a service layer 104 through a data layer 103 by the message queue; the business layer 104 is used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; the module test results are returned to the service layer 102 through the data layer 103.
The user terminal of the user layer 100 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, portable wearable devices, etc., the control machine of the service layer 104 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, portable wearable devices, routers, sharing bicycles, etc., the wireless communication module may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, portable wearable devices, routers, sharing bicycles, etc., and the server of the service layer 102 and the server of the data layer 103 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, there is provided a test system of a wireless communication module, the test system of the wireless communication module includes: a user layer 200, a service layer 210, a data layer 220, and a service layer 230. The user layer 200 may include at least one user terminal, and the user layer may be used to provide an operation entry for various users. Multiple servers, which may be but are not limited to code servers, version servers, etc., may be included in the service layer 210, which may be used to receive and process test requests. Multiple database servers may be included in the data layer 220, which may be used to store data, files, test logs, and the like. At least one controller is included in the traffic layer 230, each of which may control a plurality of wireless communication modules, and the traffic layer may be used to perform specific test tasks.
In one embodiment, the service layer is configured to respond to a test request from the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; and creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to the service layer through the data layer by the message queue.
In one embodiment, the user layer may be used to provide operation portals for various types of users, including user login/logout, start/stop tasks, view progress/status, view analysis reports, and the like. The user layer may be a browser, and the user may send a test request for at least one wireless communication module through an interface operation portal of the browser, and the browser may display a returned test result. The wireless communication module is composed of a plurality of wireless communication modules, and the wireless communication modules are entity modules capable of realizing wireless communication.
In one embodiment, a service layer may be used to receive and process test requests. The service layer is used for responding to a test request of the user layer for at least one wireless communication module. Specifically, the service layer may communicate with the user layer through a network or a protocol, etc., and the communication protocol is mainly the HTTP protocol. The service layer may employ a B/S architecture to receive and process requests from a browser or control machine. Wherein, the B/S architecture refers to browser/server architecture mode. And can acquire the test task corresponding to the test request, thereby loading the test script of the test task.
In one embodiment, the service layer includes a control center, a test management system, and a code server. The control center can be understood as a processing center of the service layer, and the function of the service layer is mainly realized based on the control center. A test management system may be understood as a task center of a service layer, which contains a plurality of test tasks. The code server may be a Git code server that contains a variety of test scripts for testing. The control center may communicate with the test management system and the code server via a network or protocol or the like. The communication protocol is mainly HTTP protocol, the test management system establishes a communication interface with the outside through computer codes, and communication is realized based on the communication interface and the HTTP protocol. Specifically, the control center of the service layer is configured to respond to a test request of the user layer for at least one wireless communication module, obtain a test task corresponding to the test request in the test management system, and load a test script of the test task from the code server.
In one embodiment, the control center of the service layer creates a message queue after determining task parameters and test scripts corresponding to the test tasks. The message queue may be understood as a container for storing the message during the transmission process of the message, and the control center of the service layer sends task parameters and test scripts corresponding to the test task to the service layer through the data layer by the message queue.
In one embodiment, the data layer may be used to store data, files, test logs, and the like. The data layer comprises file services and database services, and can specifically comprise MySQL, redis and other database services. When the service layer sends a test task to the service layer via the data layer and when the service layer sends a test result to the service layer via the data layer, the data layer may store all data, files, test logs, etc. for subsequent invocation.
In one embodiment, the data layer further includes a problem order system. The problem list system can be understood as a defect management system, and is used for automatically extracting a defect tracking list according to a defect template and storing a test failure result. Specifically, the test results may be saved as a test log.
In one embodiment, after the service layer completes the test task on the wireless communication module, the control center of the service layer is further configured to receive a module test result returned by the service layer, and backfill the module test result in the test management system, so that the test management system can adjust a subsequent test task based on the module test result, and further improve the subsequent test efficiency.
In one embodiment, when the test task requires the service layer to update the code and the module version of the wireless communication module, the service layer is further configured to load the code parameter and the module version corresponding to the test task. Wherein the code parameters mainly include the IP address and links of the code server. The service layer can send the code parameters and the module version to the service layer through the data layer by the message queue, so that the service layer can automatically update, and the testing efficiency is further improved.
In one embodiment, the service layer further includes a version server, where the version server includes module versions of a plurality of wireless communication modules. Specifically, the control center of the service layer is further configured to load the code parameters corresponding to the test task from the code server, load the module version corresponding to the test task from the version server, and send the code parameters and the module version to the service layer through the data layer by using the message queue.
In one embodiment, the service layer is further configured to obtain a historical module test result stored in the data layer, and analyze the historical module test result. The historical module test result to be analyzed is a test failure log of test failure, and is mainly stored in a problem list system of a data layer.
In one embodiment, the control center of the service layer further includes an analysis module. The analysis module may be used for analysis of the test failure log. Specifically, the control center of the service layer is further configured to obtain a historical module test result stored in the data layer, and analyze the historical module test result through the analysis module.
In one embodiment, the control center of the service layer is further configured to backfill the analyzed historical module test result in the test management system, so that the test management system can adjust a subsequent test task based on the module test result, and further improve the subsequent test efficiency.
In one embodiment, the service layer may manage the business layer using a distributed service framework. The distributed service framework may be a Zookeeper, and may be used to provide functions such as configuration maintenance, domain name service, distributed synchronization, group service, and the like.
In one embodiment, the service layer is configured to receive a task parameter and a test script corresponding to a test task; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; and returning a module test result to the service layer through the data layer.
In one embodiment, a business layer may be used to perform specific test tasks. The business layer can be used for updating code parameters and checking test versions and supporting offline operation and offline continuous transmission. The business layer is capable of handling and performing test tasks based on the producer-consumer model, load balancing. The service layer comprises at least one wireless communication module, each wireless communication module comprises a plurality of wireless communication modules, and when testing is conducted on the wireless communication modules, under the condition that one wireless communication module is abnormal in testing, other wireless communication modules can continue testing. Specifically, after the service layer sends the test task to the service layer via the message queue, the service layer may be configured to receive the task parameter and the test script corresponding to the test task based on the message queue, determine a corresponding wireless communication module according to the task parameter, and invoke the test script to perform parallel test on the wireless communication module to obtain a module test result.
In one embodiment, the service layer includes a controller, and the functions of the service layer are mainly implemented based on the controller, that is, the controller is used to control the test of the wireless communication module. Wherein, the service layer comprises at least one controller because the service layer comprises at least one wireless communication module. Specifically, the control machine of the business layer is used for receiving task parameters and test scripts corresponding to the test tasks; and determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result. The controller can send a test instruction to the wireless communication module through the serial port and the USB interface so as to execute the test script. After the test is finished, the control machine of the service layer returns a module test result to the service layer through the data layer.
In one embodiment, when the message queue includes the code parameter and the module version, the service layer is further configured to receive the code parameter and the module version, and update the script parameter of the test script and the module version of the wireless communication module based on the received code parameter and module version. Wherein, the method can be realized by a control machine of a service layer. Specifically, the control machine of the business layer is also used for receiving the code parameters and the module version; based on the received code parameters and the module version, the script parameters of the test script and the module version of the wireless communication module are updated, the wireless communication module is updated/burned/cured, and then automatic test is carried out.
In the test system of the wireless communication module, the service layer is used for responding to the test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request, and loading a test script of the test task; creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to a service layer through a data layer by the message queue; the business layer is used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; and returning a module test result to the service layer through the data layer. By adopting the test system for testing the wireless communication modules, the automatic test of various test items on a plurality of wireless communication modules can be realized, and the test system comprises the functions of automatically acquiring test tasks, automatically updating codes, automatically checking test versions, automatically backfilling test results, automatically analyzing test failure logs and the like, so that the test efficiency of the wireless communication modules can be effectively improved.
In one embodiment, as shown in fig. 3, a method for testing a wireless communication module is provided, which is applied to a service layer of a test system of the wireless communication module, and includes:
step S302, responding to a test request of the user layer for at least one wireless communication module.
Step S304, a test task corresponding to the test request is obtained, and a test script of the test task is loaded.
Step S306, a message queue is created, and task parameters and test scripts corresponding to the test tasks are sent through the data layer by the message queue.
In one embodiment, the method for testing a wireless communication module further includes: and loading the code parameters and the module version corresponding to the test task, and sending the code parameters and the module version through the data layer by the message queue.
In one embodiment, the method for testing a wireless communication module further includes: and acquiring a historical module test result stored in the data layer, analyzing the historical module test result, and backfilling the analyzed historical module test result in a test management system of the service layer.
In one embodiment, the method for testing a wireless communication module further includes: and receiving the returned module test result, and backfilling the module test result in a test management system of the service layer.
In one embodiment, as shown in fig. 4, a method for testing a wireless communication module is provided, which is applied to a service layer of a test system of the wireless communication module, and includes:
step S402, receiving task parameters and test scripts corresponding to the test tasks.
Step S404, determining the wireless communication module corresponding to the test task according to the task parameters.
Step S406, the test script is called to perform parallel test on the wireless communication module to obtain a module test result, and the module test result is returned through the data layer.
In one embodiment, the method for testing a wireless communication module further includes: and receiving the code parameters and the module version, and updating script parameters of the test script and the module version of the wireless communication module based on the received code parameters and the module version.
For specific limitations of the test method of the wireless communication module, reference may be made to the above limitation of the test system of the wireless communication module, and the description thereof will not be repeated here.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Fig. 5 is a schematic diagram of a test system of a wireless communication module according to an embodiment. The testing system comprises a user layer, a service layer, a data layer and a service layer, wherein the service layer comprises a code server, a version server, a control center and a testing management system, and the control center also comprises an analysis module; the data layer comprises a problem order system; the service layer includes a plurality of controllers, each of which can control a plurality of wireless communication modules.
The control center of the service layer is used for responding to a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request from a test management system, and loading a test script of the test task from a code server; creating a message queue, and sending task parameters and test scripts corresponding to the test tasks to a service layer through a data layer by the message queue;
the control machine of the business layer is used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, and calling a test script to perform parallel test on the wireless communication module to obtain a module test result; returning a module test result to the service layer through the data layer;
the control center of the service layer is also used for receiving the module test result returned by the service layer and backfilling the module test result in the test management system;
the control center of the service layer is also used for loading code parameters corresponding to the test tasks from the code server and loading module versions corresponding to the test tasks from the version server; transmitting code parameters and module versions to a service layer through a data layer by a message queue;
the control machine of the business layer is also used for receiving code parameters and module versions; based on the received code parameters and the module version, updating script parameters of the test script and the module version of the wireless communication module;
the control center of the service layer is also used for acquiring a historical module test result stored in the data layer, and analyzing the historical module test result through an analysis module; and backfilling the analyzed historical module test result in a test management system.
It should be understood that, although the steps in the flowcharts of fig. 3 and 4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 3 and 4 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 6, there is provided a testing apparatus of a wireless communication module, including: a test request response module 610, a test task acquisition module 620, and a test task transmission module 630, wherein:
the test request response module 610 is configured to respond to a test request of the user layer for at least one wireless communication module.
And the test task acquisition module 620 is configured to acquire a test task corresponding to the test request, and load a test script of the test task.
And the test task sending module 630 is configured to create a message queue, and send, through the message queue, task parameters corresponding to the test task and the test script via a data layer.
In one embodiment, as shown in fig. 7, there is provided a testing apparatus of a wireless communication module, including: a test task receiving module 710, a wireless communication module determining module 720, and a parallel testing module 730, wherein:
and the test task receiving module 710 is configured to receive task parameters corresponding to the test task and the test script.
The wireless communication module determining module 720 is configured to determine a wireless communication module corresponding to the test task according to the task parameter.
And the parallel test module 730 is configured to invoke the test script to perform parallel test on the wireless communication module, obtain a module test result, and return the module test result through a data layer.
For specific limitations of the test apparatus of the wireless communication module, reference may be made to the above limitations of the test system of the wireless communication module and the test method of the wireless communication module, which are not repeated herein. The modules in the testing device of the wireless communication module can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing test data of the wireless communication module. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the steps of a method for testing a wireless communication module.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement the steps of a method for testing a wireless communication module. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 8 and 9 are block diagrams of only some of the structures associated with the present application and are not intended to limit the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for testing a wireless communication module described above when the computer program is executed.
In one embodiment, a computer readable storage medium having a computer program stored thereon is provided, which when executed by a processor, implements the steps of a method of testing a wireless communication module.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. The utility model provides a test system of wireless communication module, its characterized in that, wireless communication module's test system includes: a user layer, a service layer, a data layer and a service layer;
the service layer comprises a control center, a test management system and a code server;
the control center of the service layer is used for responding to the test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request from the test management system, and loading a test script of the test task from the code server; creating a message queue, and sending task parameters corresponding to the test task and the test script to the service layer through the data layer by the message queue;
the service layer comprises at least one control machine;
the control machine of the business layer is used for receiving task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, and calling the test script to perform parallel test on the wireless communication module to obtain a module test result; returning the module test result to the service layer through the data layer;
the data layer is used for storing data, files and test logs generated when the service layer sends the module test result to the service layer through the data layer.
2. The test system of a wireless communication module according to claim 1, wherein:
the service layer is also used for loading code parameters and module versions corresponding to the test tasks; transmitting the code parameters and the module version to the service layer through the data layer by the message queue;
the business layer is also used for receiving the code parameters and the module version; and updating script parameters of the test script and the module version of the wireless communication module based on the received code parameters and the module version.
3. The test system of a wireless communication module according to claim 1, wherein:
the service layer is also used for acquiring the historical module test result stored in the data layer and analyzing the historical module test result.
4. The test system of a wireless communication module according to claim 1, wherein:
the control center of the service layer is also used for receiving the module test result returned by the service layer and backfilling the module test result in the test management system.
5. The test system of a wireless communication module according to claim 1, wherein:
and the control center of the service layer is also used for backfilling the analyzed historical module test result in the test management system.
6. The test system of a wireless communication module according to claim 1, wherein:
the control machine of the business layer is also used for receiving the code parameters and the module version; and updating script parameters of the test script and the module version of the wireless communication module based on the received code parameters and the module version.
7. A testing method of a wireless communication module, which is applied to the service layer in claim 1, and is characterized in that the service layer comprises a control center, a testing management system and a code server;
the test method of the wireless communication module comprises the following steps:
responding to a test request of a user layer for at least one wireless communication module through the control center;
acquiring a test task corresponding to the test request from the test management system through the control center, and loading a test script of the test task from the code server;
creating a message queue through the control center, sending task parameters corresponding to the test tasks and the test scripts to a control machine of a service layer through a data layer by the message queue to instruct the control machine of the service layer to determine corresponding wireless communication modules according to the task parameters, and calling the test scripts to perform parallel test on the wireless communication modules to obtain module test results;
receiving a module test result returned by the control machine of the service layer through the data layer;
the data layer is used for storing data, files and test logs generated when the service layer sends the module test result to the service layer through the data layer.
8. A method for testing a wireless communication module, which is applied to the control machine of the service layer in claim 1, is characterized in that the method for testing the wireless communication module comprises the following steps:
receiving task parameters and test scripts corresponding to the test tasks sent by the service layer through the created message queue by the data layer; the test task is that a control center of the service layer responds to a test request of a user layer for at least one wireless communication module and is obtained from a test management system; the test script is loaded from a code server by a control center of the service layer;
determining a wireless communication module corresponding to the test task according to the task parameter;
invoking the test script to perform parallel test on the wireless communication module to obtain a module test result, and returning the module test result to the service layer through a data layer;
the data layer is used for storing data, files and test logs generated when the service layer sends the module test result to the service layer through the data layer.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 7 to 8 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 7 to 8.
CN202110565608.9A 2021-05-24 2021-05-24 Testing system and method for wireless communication module Active CN113407440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110565608.9A CN113407440B (en) 2021-05-24 2021-05-24 Testing system and method for wireless communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110565608.9A CN113407440B (en) 2021-05-24 2021-05-24 Testing system and method for wireless communication module

Publications (2)

Publication Number Publication Date
CN113407440A CN113407440A (en) 2021-09-17
CN113407440B true CN113407440B (en) 2024-02-09

Family

ID=77674532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110565608.9A Active CN113407440B (en) 2021-05-24 2021-05-24 Testing system and method for wireless communication module

Country Status (1)

Country Link
CN (1) CN113407440B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105740150A (en) * 2016-02-01 2016-07-06 惠州Tcl移动通信有限公司 Distributed test method and system
CN105866569A (en) * 2016-03-24 2016-08-17 吴继春 Intelligent equipment cloud testing system
CN106354648A (en) * 2016-09-06 2017-01-25 深圳市广和通无线股份有限公司 python automatic test framework system and test method
CN107222882A (en) * 2017-06-12 2017-09-29 胡绪健 A kind of method of concurrent testing WIFI module
CA2990074A1 (en) * 2017-01-23 2018-07-23 Accenture Global Solutions Limited Cloud connected automated testing
CN109002398A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 A kind of Auto-matching formula server software test terminal
CN109542786A (en) * 2018-11-20 2019-03-29 北京千丁互联科技有限公司 Visual testing method and device
CN110309072A (en) * 2019-06-27 2019-10-08 上海移远通信技术股份有限公司 Communications module test method, testing service device and test machine
CN111104273A (en) * 2019-12-17 2020-05-05 深圳忆联信息系统有限公司 Batch task-based automatic distribution testing method and device and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020086969A1 (en) * 2018-10-26 2020-04-30 Smartbear Software Inc. Methods and systems for performance testing

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105740150A (en) * 2016-02-01 2016-07-06 惠州Tcl移动通信有限公司 Distributed test method and system
CN105866569A (en) * 2016-03-24 2016-08-17 吴继春 Intelligent equipment cloud testing system
CN106354648A (en) * 2016-09-06 2017-01-25 深圳市广和通无线股份有限公司 python automatic test framework system and test method
CA2990074A1 (en) * 2017-01-23 2018-07-23 Accenture Global Solutions Limited Cloud connected automated testing
CN107222882A (en) * 2017-06-12 2017-09-29 胡绪健 A kind of method of concurrent testing WIFI module
CN109002398A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 A kind of Auto-matching formula server software test terminal
CN109542786A (en) * 2018-11-20 2019-03-29 北京千丁互联科技有限公司 Visual testing method and device
CN110309072A (en) * 2019-06-27 2019-10-08 上海移远通信技术股份有限公司 Communications module test method, testing service device and test machine
CN111104273A (en) * 2019-12-17 2020-05-05 深圳忆联信息系统有限公司 Batch task-based automatic distribution testing method and device and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Developing, Verifying, and Maintaining High-Quality Automated Test Scripts;Vahid Garousi等;《IEEE Software》;第68-75页 *
面向5G移动通信的LTE终端芯片自动化测试方法研究设计与实现;丁树;《cnki优秀硕士学位论文全文库 信息科技辑》(第05期);第I135-50页 *

Also Published As

Publication number Publication date
CN113407440A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
US10372600B2 (en) Systems and methods for automated web performance testing for cloud apps in use-case scenarios
US20240064058A1 (en) Implementation of compliance settings by a mobile device for compliance with a configuration scenario
CN110442524B (en) Method and device for testing web service interface with authentication authorization
US9535754B1 (en) Dynamic provisioning of computing resources
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
WO2022016847A1 (en) Automatic test method and device applied to cloud platform
EP2629205A1 (en) Multi-entity test case execution workflow
CN104809045A (en) Operation method and device of monitoring script
CN113900834A (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN111770174A (en) Cloud platform deployment method, device, equipment and readable storage medium
CN113190286B (en) MES system, loading method, terminal and medium for dynamically and remotely loading functional plug-ins
CN104253783A (en) Web application realization code loading method, device, system and server
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN112527416A (en) Task processing method and device, computer equipment and storage medium
CN113407440B (en) Testing system and method for wireless communication module
CN112051771A (en) Multi-cloud data acquisition method and device, computer equipment and storage medium
US20170031667A1 (en) Managing application lifecycles within a federation of distributed software applications
CN113010365A (en) System running state monitoring method, system running state detection device, electronic equipment and storage medium
CN111049877A (en) Big data external output method and device and data open platform
US11734158B1 (en) Methods and systems for emulating physical-device input for an automated-testing framework
CN112559213B (en) Application communication method, device, computer equipment and storage medium
CN114942797B (en) System configuration method, device, equipment and storage medium based on side car mode
CN116881119A (en) Login-free method, device, equipment and storage medium for interface test
CN117439710A (en) Method and system for reissuing notification
CN117827630A (en) Method and device for generating test script

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant