CN113407440A - System and method for testing wireless communication module - Google Patents

System and method for testing wireless communication module Download PDF

Info

Publication number
CN113407440A
CN113407440A CN202110565608.9A CN202110565608A CN113407440A CN 113407440 A CN113407440 A CN 113407440A CN 202110565608 A CN202110565608 A CN 202110565608A CN 113407440 A CN113407440 A CN 113407440A
Authority
CN
China
Prior art keywords
test
wireless communication
communication module
module
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.)
Granted
Application number
CN202110565608.9A
Other languages
Chinese (zh)
Other versions
CN113407440B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a test system and a 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 the message queue via a data layer; the service 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, calling a test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer. Adopt this application test system to test wireless communication module, can realize carrying out the automated test of multiple test item to a plurality of wireless communication modules, effectively improve wireless communication module's efficiency of software testing.

Description

System and method for testing wireless communication module
Technical Field
The present application 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 and development of terminal devices, more functions can be realized by the terminal. In order to ensure that the terminal device can realize corresponding functions, a module consisting of a plurality of modules of the terminal needs to be tested. Taking a wireless communication module as an example, at present, a single control machine is mostly used to complete the test of a single module. But since the number of ports of the terminal device is limited, the number of wireless communication modules that it can test is also limited. Moreover, a plurality of test items may exist in a single wireless communication module, and the current test method cannot meet the requirement of parallel testing of the plurality of test items of the plurality of wireless communication modules.
In addition, the conventional testing method usually requires manual operations before executing the test, such as manually updating the local code, manually importing the test task, manually checking the test environment, manually writing the test result, manually analyzing the failed case, and the like, thereby resulting in low testing efficiency of the wireless communication module.
Disclosure of Invention
In view of the above, it is desirable to provide a system and a method for testing a wireless communication module, which can effectively improve the testing efficiency of the wireless communication module.
A system for testing a wireless communication module, the system 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 and the test script corresponding to the test task to the service layer through the data layer through the message queue;
the service layer is used for receiving the task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, calling the test script to perform parallel test on the wireless communication module, and obtaining 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 a code parameter and a module version corresponding to the test task; sending the code parameters and the module version to the business layer through the data layer through the message queue;
the business layer is also used for receiving the code parameters and the module version; and updating the 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 historical module test result stored in the data layer, and analyze the historical 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 a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request in the test management system, and loading a test script of the test task from the code server; and creating a message queue, and sending the task parameters and the test scripts corresponding to the test tasks to the service layer through the data layer through 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 test results of the historical module in the test management system.
In one embodiment, the service layer includes at least one controller;
the control machine of the business layer is used for receiving the task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, calling the test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer.
In one embodiment, the control engine of the service layer is further configured to receive the code parameter and the module version; and updating the 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 test method of a wireless communication module is applied to a service layer, and 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 the task parameters and the test scripts corresponding to the test tasks through a data layer through the message queue.
A test method of a wireless communication module is applied to an application layer, and comprises the following steps:
receiving task parameters and the test scripts corresponding to the test tasks;
determining a wireless communication module corresponding to the test task 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 through a data layer.
The test system of the wireless communication module 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 the message queue via a data layer; the service 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, calling a test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer. The test system of the embodiment of the application is used for testing the wireless communication modules, so that the automatic test of various test items on the wireless communication modules can be realized, and the test efficiency of the wireless communication modules is effectively improved.
Drawings
FIG. 1 is a diagram of an exemplary testing system for a wireless communication module;
FIG. 2 is a diagram of a system for testing a wireless communication module, according to one embodiment;
FIG. 3 is a flow chart illustrating a method for testing a wireless communication module according to one embodiment;
FIG. 4 is a flowchart illustrating a method for testing a wireless communication module according to another embodiment;
FIG. 5 is a diagram of a system for testing a wireless communication module in accordance with one embodiment;
FIG. 6 is a block diagram of an exemplary testing apparatus for testing a wireless communication module;
FIG. 7 is a block diagram of a testing apparatus for a wireless communication module according to another embodiment;
FIG. 8 is a diagram illustrating an internal structure 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 is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, the test system for a wireless communication module provided by the present application can be applied to the application environment shown in fig. 1. The application environment may involve both the user layer 100, the service layer 102, the data layer 103 and the business layer 104. 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 controllers, such as controller 1041, controller 1042, and controller 1043, may be included in service layer 104, each controller may control a plurality of wireless communication modules, which may be independent modules or internal modules of the terminal device. User layer 100 may communicate with service layer 102 through a network or other communication means, service layer 102 may communicate with data layer 103 through a network or other communication means, data layer 103 may communicate with service layer 104 through a network or other communication means, server 1021, server 1022, and server 1023 of service layer 102 may communicate through a network or other communication means, and database server 1031, database server 1032, and database server 1033 of data layer 103 may communicate through a network or other communication means.
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 the service layer 104 through the data layer 103 through the message queue; the service 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, calling a test script to perform parallel test on the wireless communication module, and obtaining 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 is not limited to, various personal computers, laptops, smartphones, tablets, portable wearable devices, and the like, the control machine of the service layer 104 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, portable wearable devices, routers, shared bicycles, and the like, the wireless communication module may be, but is not limited to, a wireless communication module of various personal computers, laptops, smartphones, tablets, portable wearable devices, routers, and shared bicycles, and the servers of the service layer 102 and the data layer 103 may be implemented by independent servers or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a test system for a wireless communication module is provided, the test system for a wireless communication module includes: user layer 200, service layer 210, data layer 220, and business layer 230. The user layer 200 may include at least one user terminal, and the user layer may be configured to provide an operation entry for various users. A plurality of 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 plane 220, which may be used to store data, files, test logs, and the like. At least one controller is included in the service layer 230, each controller may control a plurality of wireless communication modules, and the service layer may be used to perform specific testing tasks.
In one embodiment, 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; 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 through the message queue.
In one embodiment, the user layer may be configured to provide operation entries for various users, including operations of logging in/out, starting/stopping tasks, viewing progress/status, viewing analysis reports, and the like. The user layer can be a browser end, a user can send a test request aiming at least one wireless communication module through an interface operation inlet of the browser, and the browser can 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, the service layer may be configured 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, a protocol, or the like, and the communication protocol is mainly an HTTP protocol. The service layer may receive and process requests from the browser or the controller using the B/S architecture. The B/S architecture refers to a browser/server architecture mode. And the test task corresponding to the test request can be obtained, so that the test script of the test task is loaded.
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 a service layer, and the functions of the service layer are mainly realized based on the control center. The test management system can be understood as a task center of the service layer, wherein a plurality of test tasks are contained. 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, etc. The communication protocol is mainly an HTTP protocol, the test management system is enabled to establish a communication interface with the outside through computer codes, and communication is achieved 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, acquire 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, after determining the task parameters and the test scripts corresponding to the test tasks, the control center of the service layer creates a message queue. The message queue can be understood as a container for storing messages in the transmission process of the messages, and the control center of the service layer sends task parameters and test scripts corresponding to the test tasks to the service layer through the message queue and the data layer.
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 specifically comprises database services such as MySQL and Redis. 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, and the like for subsequent invocation.
In one embodiment, the data layer further comprises a problem ticket system. The problem ticket system can be understood as a defect management system, and is used for automatically providing a defect tracking ticket according to a defect template and storing a test failure result. In particular, the test results may be saved as a test log.
In one embodiment, after the service layer completes the test task for 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 subsequent test efficiency.
In one embodiment, when the test task needs 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 comprise an IP address and a link of the code server. The service layer can send the code parameters and the module version to the service layer through the message queue and the data layer, so that the service layer can be automatically updated, and the test efficiency is further improved.
In one embodiment, the service layer further comprises a version server, and the version server comprises a plurality of module versions of the wireless communication module. Specifically, the control center of the service layer is further configured to load a code parameter corresponding to the test task from the code server, load a module version corresponding to the test task from the version server, and send the code parameter and the module version to the service layer through the data layer via 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 comprises an analysis module. Wherein the analysis module may be configured to analyze 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 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 used for receiving task parameters and test scripts corresponding to the test tasks; determining a corresponding wireless communication module according to the task parameters, calling a test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer.
In one embodiment, the business layer may be used to perform specific testing tasks. The business layer can be used for updating code parameters and checking test versions, and supports off-line operation and continuous transmission of a broken network. The business layer is able to load balance the processing and execution of test tasks based on a producer-consumer model. When the service layer comprises at least one wireless communication module, each wireless communication module comprises a plurality of wireless communication modules, and when the wireless communication modules are tested, other wireless communication modules can continue to be tested under the condition that one wireless communication module is abnormally tested. 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 a task parameter and a test script corresponding to the test task based on the message queue, determine a corresponding wireless communication module according to the task parameter, and call the test script to perform a parallel test on the wireless communication module, so as to obtain a module test result.
In one embodiment, the service layer includes a control machine, and the functions of the service layer are implemented mainly based on the control machine, that is, the control machine controls the test of the wireless communication module. Wherein, because the business layer comprises at least one wireless communication module, the business layer comprises at least one control machine. Specifically, a controller of the service 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, calling the test script to perform parallel test on the wireless communication module, and obtaining 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 business layer returns the 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 the module version. Wherein, it can be realized by the control machine of the service layer. Specifically, the control machine of the business layer is also used for receiving the code parameters and the module version; 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, upgrading/burning/solidifying the version of the wireless communication module, and then carrying out automatic test.
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 the message queue via a data layer; the service 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, calling a test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer. The test system of the embodiment of the application is used for testing the wireless communication modules, automatic testing of various test items of the wireless communication modules can be achieved, 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, and therefore the test efficiency of the wireless communication modules can be effectively improved to a great extent in automation.
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 message queue via the data layer.
In one embodiment, the method for testing a wireless communication module further includes: and loading the code parameters and the module versions corresponding to the test tasks, and sending the code parameters and the module versions through the data layer through 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 for a wireless communication module, and includes:
step S402, receiving task parameters and test scripts corresponding to the test tasks.
And S404, determining the wireless communication module corresponding to the test task according to the task parameters.
Step S406, calling the test script to perform parallel test on the wireless communication module, obtaining a module test result, and returning the module test result 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 the 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 testing method of the wireless communication module, reference may be made to the above limitations of the testing system of the wireless communication module, which are not described herein again.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 5 is a block diagram of a system for testing a wireless communication module according to one 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 question list 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 in 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 the message queue via a data layer;
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, calling a test script to perform parallel test on the wireless communication module, and obtaining 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; sending the code parameters and the module version to a service layer through a data layer through a message queue;
the control machine of the business layer is also used for receiving the code parameters and the module version; 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;
the control center of the service layer is also used for acquiring historical module test results stored in the data layer and analyzing the historical module test results through the analysis module; and backfilling the analyzed test result of the history module 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, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 6, there is provided a testing apparatus for a wireless communication module, including: a test request response module 610, a test task obtaining module 620 and a test task sending module 630, wherein:
a test request responding module 610, configured to respond to a test request of the user layer for at least one wireless communication module.
And a test task obtaining module 620, configured to obtain a test task corresponding to the test request, and load a test script of the test task.
The test task sending module 630 is configured to create a message queue, and send the task parameters and the test script corresponding to the test task through the message queue via a data layer.
In one embodiment, as shown in fig. 7, there is provided a testing apparatus for 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 the task parameter and the test script corresponding to the test task.
And a wireless communication module determining module 720, configured to determine, according to the task parameter, a wireless communication module corresponding to the test task.
And the parallel test module 730 is used for calling the test script to perform parallel test on the wireless communication module, obtaining a module test result, and returning the module test result through a data layer.
For specific limitations of the testing apparatus for the wireless communication module, reference may be made to the above limitations of the testing system for the wireless communication module and the testing method for the wireless communication module, which are not described herein again. All or part of each module in the testing device of the wireless communication module can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram 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 comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the 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 its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configurations shown in fig. 8 and 9 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for testing a wireless communication module when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for testing a wireless communication module.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A test system for a wireless communication module, the test system 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 and the test script corresponding to the test task to the service layer through the data layer through the message queue;
the service layer is used for receiving the task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, calling the test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer.
2. The system for testing a wireless communication module of claim 1, wherein:
the service layer is also used for loading the code parameters and the module versions corresponding to the test tasks; sending the code parameters and the module version to the business layer through the data layer through the message queue;
the business layer is also used for receiving the code parameters and the module version; and updating the 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 system for testing a wireless communication module of claim 1, wherein:
the service layer is also used for obtaining the historical module test results stored in the data layer and analyzing the historical module test results.
4. The system for testing a wireless communication module according to claim 1, wherein 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 a test request of the user layer for at least one wireless communication module; acquiring a test task corresponding to the test request in the test management system, and loading a test script of the test task from the code server; and creating a message queue, and sending the task parameters and the test scripts corresponding to the test tasks to the service layer through the data layer through the message queue.
5. The system for testing a wireless communication module of claim 4, wherein:
and 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.
6. The system for testing a wireless communication module of claim 4, wherein:
and the control center of the service layer is also used for backfilling the analyzed test result of the history module in the test management system.
7. The system for testing a wireless communication module of claim 1, wherein the service layer comprises at least one controller;
the control machine of the business layer is used for receiving the task parameters corresponding to the test tasks and the test scripts; determining the corresponding wireless communication module according to the task parameters, calling the test script to perform parallel test on the wireless communication module, and obtaining a module test result; and returning the module test result to the service layer through the data layer.
8. The system for testing a wireless communication module of claim 7, wherein:
the control machine of the business layer is also used for receiving the code parameters and the module version; and updating the 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.
9. A method for testing a wireless communication module is applied to a service layer, and is characterized in that the method for testing 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 the task parameters and the test scripts corresponding to the test tasks through a data layer through the message queue.
10. A test method of a wireless communication module is applied to an application layer, and is characterized in that the test method of the wireless communication module comprises the following steps:
receiving task parameters and the test scripts corresponding to the test tasks;
determining a wireless communication module corresponding to the test task 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 through a data layer.
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 true CN113407440A (en) 2021-09-17
CN113407440B 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 (12)

* 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
US20200133829A1 (en) * 2018-10-26 2020-04-30 Smartbear Software Inc. Methods and systems for performance testing
CN111104273A (en) * 2019-12-17 2020-05-05 深圳忆联信息***有限公司 Batch task-based automatic distribution testing method and device and computer equipment

Patent Citations (12)

* 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
US20200133829A1 (en) * 2018-10-26 2020-04-30 Smartbear Software Inc. Methods and systems for performance testing
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
VAHID GAROUSI等: "Developing, Verifying, and Maintaining High-Quality Automated Test Scripts", 《IEEE SOFTWARE》, pages 68 - 75 *
丁树: "面向5G移动通信的LTE终端芯片自动化测试方法研究设计与实现", 《CNKI优秀硕士学位论文全文库 信息科技辑》, no. 05, pages 135 - 50 *

Also Published As

Publication number Publication date
CN113407440B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US12068912B2 (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
CN105389263A (en) Method, system and equipment for monitoring application software permissions
CN107807841B (en) Server simulation method, device, equipment and readable storage medium
CN112051771A (en) Multi-cloud data acquisition method and device, computer equipment and storage medium
CN114356521A (en) Task scheduling method and device, electronic equipment and storage medium
CN114491555A (en) Equipment safety detection method and device, computer equipment and storage medium
CN113190286B (en) MES system, loading method, terminal and medium for dynamically and remotely loading functional plug-ins
CN112699034B (en) Virtual login user construction method, device, equipment and storage medium
CN110069217A (en) A kind of date storage method and device
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN113377669A (en) Automatic testing method and device, computer equipment and storage medium
CN112527416A (en) Task processing method and device, computer equipment and storage medium
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
CN109274533B (en) Web service fault positioning device and method based on rule engine
CN113407440B (en) Testing system and method for wireless communication module
CN114528213A (en) Automatic baffle plate testing method, device, equipment and storage medium
CN114428723A (en) Test system, system test method, related device and storage medium
CN112527377A (en) Application program generation processing method and device, computer equipment and storage medium
CN112559213B (en) Application communication method, device, computer equipment and storage medium
CN111832735B (en) Method and system for performing a machine learning process based on templates
US20220237021A1 (en) Systems and methods of telemetry diagnostics
CN107395453B (en) Background service pressure test method and device
CN118377580A (en) Heterogeneous acceleration device management scheduling method, heterogeneous acceleration device management scheduling device, heterogeneous acceleration device management scheduling equipment and storage medium
CN115658623A (en) Batch data import method and device, storage medium and computer equipment

Legal Events

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