CN113613265A - Method and device for testing wireless network module, computer equipment and storage medium - Google Patents

Method and device for testing wireless network module, computer equipment and storage medium Download PDF

Info

Publication number
CN113613265A
CN113613265A CN202110685147.9A CN202110685147A CN113613265A CN 113613265 A CN113613265 A CN 113613265A CN 202110685147 A CN202110685147 A CN 202110685147A CN 113613265 A CN113613265 A CN 113613265A
Authority
CN
China
Prior art keywords
tested
wireless network
item
network module
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110685147.9A
Other languages
Chinese (zh)
Inventor
刘澄澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software 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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202110685147.9A priority Critical patent/CN113613265A/en
Publication of CN113613265A publication Critical patent/CN113613265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Landscapes

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

Abstract

The application relates to a method and a device for testing a wireless network module, computer equipment and a storage medium. The method comprises the following steps: determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module; acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to a wireless network module; receiving current response information returned by the wireless network module, and acquiring the next item to be tested when the current item to be tested is determined to pass the test according to the current response information; and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist. By adopting the method of the embodiment of the application, the automatic testing of the new version of the wireless network module can be realized, the efficiency of the version testing is improved, and the accuracy of the version testing is improved.

Description

Method and device for testing wireless network module, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for testing a wireless network module, a computer device, and a storage medium.
Background
With the development of communication technology, the wireless network modules in the terminals support more and more network systems, and the versions of the wireless network modules are also continuously updated. In order to ensure the perfect functions of the new version of the wireless network module, reduce the operation and maintenance cost and improve the user experience, the functions of the wireless network module need to be tested before the new version of the wireless network module is released.
Currently, a new version of a test method for a wireless network module is to allocate different types of items to be tested to designated testers, and the testers perform targeted manual tests. However, the duration of the manual test is long, and items to be tested are easy to miss, so that the efficiency and accuracy of the new version test are low, and the release of the new version of the wireless network module is delayed.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for testing a wireless network module, a computer device, and a storage medium, which can improve the testing efficiency and accuracy.
A method of testing a wireless network module, the method comprising:
determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module;
acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to the wireless network module;
receiving current response information returned by the wireless network module, and acquiring a next item to be tested when the current item to be tested is determined to pass the test according to the current response information;
and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist.
In one embodiment, before determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module, the method includes:
sending a port switching instruction to the wireless network module;
receiving current port information returned by the wireless network module, and judging whether the wireless network module is switched to a port corresponding to the version to be tested according to the current port information;
and when the current port information contains preset port response information, judging that the wireless network module is switched to a port corresponding to the version to be tested, and entering the step of determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module.
In one embodiment, the determining method of the network standard supported by the wireless network module includes:
sending a product type acquisition instruction to the wireless network module;
receiving current product type information returned by the wireless network module, and determining the product type of the wireless network module based on the current product type information;
and when the product type information contains preset product type information, determining that the network standard supported by the wireless network module is a first type of network standard, otherwise, determining that the network standard supported by the wireless network module is a second type of network standard.
In one embodiment, each of the items to be tested includes at least one of a subscriber identity card status, a network registration status, a remote network driver interface link status, a remote network driver interface dial-up status, and an internet packet explorer status.
In one embodiment, the determining method of the test instruction corresponding to the item to be tested includes:
and determining a test instruction corresponding to the item to be tested according to a pre-stored corresponding relation between the item to be tested and the test instruction.
In one embodiment, when the current response information includes link disconnection information, it is determined that there is no next item to be tested.
In one embodiment, when it is determined that the current item to be tested passes the test according to the current response information, the test result of the version to be tested is failed, and the reason corresponding to the current item to be tested, of which the test result is failed, is output.
An apparatus for testing a wireless network module, the apparatus comprising:
the to-be-tested item determining module is used for determining each to-be-tested item of the to-be-tested version according to the network standard supported by the wireless network module;
the current test instruction sending module is used for acquiring a current item to be tested and sending a current test instruction corresponding to the current item to be tested to the wireless network module;
the to-be-tested item acquisition module is used for receiving current response information returned by the wireless network module and acquiring the next to-be-tested item when the current to-be-tested item is determined to pass the test according to the current response information;
and the test result output module is used for taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method for testing a wireless network module described above when executing the computer program.
A computer-readable storage medium, 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 network module as described above.
The testing method, the testing device, the computer equipment and the storage medium of the wireless network module determine each item to be tested of the version to be tested according to the network standard supported by the wireless network module; acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to a wireless network module; receiving current response information returned by the wireless network module, and acquiring the next item to be tested when the current item to be tested is determined to pass the test according to the current response information; and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist. By adopting the method of the embodiment, the automatic testing of the new version of the wireless network module can be realized, the efficiency of the version testing is improved, the omission of the testing items caused by manual testing can be effectively avoided, and the accuracy of the version testing is improved.
Drawings
FIG. 1 is a diagram of an exemplary environment in which a method for testing a wireless network module may be implemented;
FIG. 2 is a flow chart illustrating a method for testing a wireless network module according to an embodiment;
FIG. 3 is a diagram illustrating a method for testing a wireless network module in accordance with an exemplary embodiment;
FIG. 4 is a flow chart of a method for testing a wireless network module in an embodiment;
FIG. 5 is a block diagram of an apparatus for testing a wireless network module according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 7 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.
The test method of the wireless network module provided by the application can be applied to the application environment shown in fig. 1. The test equipment 102 communicates with the wireless network module 104 via a network or other communication means. Specifically, the testing device 102 determines each item to be tested of the version to be tested in the wireless network module 104 according to the network standard supported by the wireless network module 104; acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to the wireless network module 104; receiving current response information returned by the wireless network module 104, and acquiring a next item to be tested when the current item to be tested is determined to pass the test according to the current response information; and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module 104, and outputting the test result of the version to be tested in the wireless network module 104 until the next item to be tested does not exist.
The testing device 102 may be a terminal or a server for testing, the terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server may be implemented by an independent server or a server cluster composed of a plurality of servers. The wireless network module 104 may be an internal module of the testing device 102 or an external module independent of the testing device 102.
In one embodiment, as shown in fig. 2, a method for testing a wireless network module is provided, which is described by taking the method as an example applied to the testing device 102 in fig. 1, and includes the following steps:
step S202, determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module.
The wireless network module is a module for supporting network functions. The types of the wireless network modules mainly comprise: FG150-series, FM150-series, NL952-series, and the like. The network standard refers to the type of network, and mainly includes 3G, 4G and 5G.
Specifically, the 3G (the 3rd-Generation) refers to a third Generation mobile communication technology, a cellular mobile communication technology supporting high-speed data transmission, and a first Generation mobile communication system combining wireless communication and multimedia communication such as the internet, and the 3G may also be expressed as UMTS. The 4G (the 4th-Generation) refers to a fourth Generation mobile information system, which combines wireless communication and 3G communication technologies to make the internet transmission speed faster. 4G may also be denoted as LTE. The 5G (the 5th-Generation) refers to a fifth Generation mobile communication technology, which is the latest Generation cellular mobile communication technology, and the performance targets thereof are high data rate, reduced delay, energy saving, cost reduction, increased system capacity and large-scale device connection. The 5G network mainly includes a stand-alone networking (SA) and a Non-stand-alone Networking (NSA), and 5G (SA) may also be denoted as E-UTRA-NR and 5G (NSA) may also be denoted as NR-5 GCN.
In one embodiment, as the types of network systems supported by the wireless network module increase, the version of the wireless network module is continuously updated. The functionality of the wireless network module needs to be tested before a new version of the module is released. Before testing the wireless network module, loading the version to be tested on the wireless network module.
In one embodiment, each item to be tested of the version to be tested is determined according to the network standard supported by the wireless network module. Each item to be tested mainly comprises: at least one of a subscriber identity card status, a network registration status, a remote network driver interface link status, a remote network driver interface dial-up status, an internet packet explorer status.
The Subscriber Identity Module (SIM) card is a card held by a mobile Subscriber of the global system for mobile communications, and the SIM card status refers to a status of the SIM card that is queried and can be accessed only after the SIM card is inserted into the terminal. The network registration state refers to the state of a query registration network, and the network capable of being used for registration comprises at least one of UMTS, LTE, E-UTRA-NR and NR-5 GCN. The Remote Network Driver Interface Specification (RNDIS) is to remove different protocols from a Network Interface card so that a user can access the different protocols, and the link state of the Remote Network Driver Interface refers to testing whether RNDIS link is established. The remote network driver interface dialing state refers to whether RNDIS dialing is successful or not. An Internet Packet explorer (Packet Internet Groper, PING) is a program for testing the network connection amount, and the Internet Packet explorer state refers to whether a PING network is normal or not.
And step S204, acquiring the current item to be tested, and sending a current test instruction corresponding to the current item to be tested to the wireless network module.
In one embodiment, the test instruction corresponding to the item to be tested is stored in advance. In particular, the test instruction may be an AT instruction. The AT (attention) command is a command applied to connection and communication between a terminal and a computer application, and is a character string with an AT as a head and a character as an end, and each command has a corresponding return value if it is successfully executed.
In one embodiment, the test instruction corresponding to the item to be tested is written by a script. The Script (Script) refers to an executable file written according to a certain format using a specific descriptive language, and the programming language may include: c language, JavaScript, Python, etc. Specifically, the script is written based on Python and covers all items to be tested.
In one embodiment, a test instruction corresponding to a to-be-tested item is determined according to a pre-stored correspondence between the to-be-tested item and the test instruction, and one to-be-tested item corresponds to one test instruction. Specifically, the test instruction corresponding to the subscriber identity module card state is "AT + CPIN"; the test instruction corresponding to the network registration state is 'AT + COPS'; the test instruction corresponding to the link state of the remote network driver interface is 'AT + GTRNDIS ═ 1, 1/2'; the testing instruction corresponding to the dialing state of the remote network driver interface is AT + GTRNDIS.
And step S206, receiving the current response information returned by the wireless network module, and acquiring the next item to be tested when the current item to be tested is determined to pass the test according to the current response information.
In one embodiment, when the test instruction is an AT instruction, each instruction has a corresponding return value, and whether the item to be tested passes or not can be determined according to the return value. And when the current item to be tested passes the test, continuously acquiring the next item to be tested, and sending a corresponding test instruction.
And S208, taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist.
In one embodiment, current response information returned by the wireless network module is received, and when the current response information contains link disconnection information, it is determined that the next item to be tested does not exist. And at the moment, determining that all items to be tested of the wireless network module are completely traversed, and outputting a test result of the version to be tested. Wherein, the test result can be output in the form of a document or a table. Specifically, the test results were output using the form of Excel table.
In one embodiment, when the current item to be tested is determined to be failed according to the current response information, the test result of the version to be tested is failed, and the reason corresponding to the failed current item to be tested is output. Specifically, the test items with the test results as failures and the corresponding reasons are output in the form of an Excel table.
In the test method of the wireless network module, each item to be tested of the version to be tested is determined according to the network standard supported by the wireless network module; acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to a wireless network module; receiving current response information returned by the wireless network module, and acquiring the next item to be tested when the current item to be tested is determined to pass the test according to the current response information; and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist. By adopting the method of the embodiment, the automatic testing of the new version of the wireless network module can be realized, the efficiency of the version testing is improved, the omission of the testing items caused by manual testing can be effectively avoided, and the accuracy of the version testing is improved.
In one embodiment, before determining, in step S202, each item to be tested of the version to be tested according to the network standard supported by the wireless network module, the method includes:
step S302, a port switching instruction is sent to the wireless network module.
Specifically, before determining each item to be tested of the version to be tested, a port switching instruction is sent to the wireless network module. When the test instruction is an AT instruction, the port switching instruction sent to the wireless network module is AT + GTUSBMODE.
Step S304, receiving the current port information returned by the wireless network module, and judging whether the wireless network module is switched to the port corresponding to the version to be tested according to the current port information.
Specifically, after a port switching instruction is sent to the wireless network module, current port information returned by the wireless network module is received, and the current port information is an AT instruction return value "+ GTUSBMODE: < mode >". And judging whether the wireless network module is switched to the port corresponding to the version to be tested according to the parameter value of the mode in the current port information.
And S306, when the current port information contains the preset port response information, judging that the wireless network module is switched to the port corresponding to the version to be tested, and entering a step of determining each item to be tested of the version to be tested according to the network system supported by the wireless network module.
Wherein, the preset port response information is set to the mode with the parameter value of 24. Specifically, when the mode parameter value in the AT command return value "+ GTUSBMODE: < mode >" is 24, it is determined that the wireless network module is switched to the port corresponding to the version to be tested, and AT this time, the step S202 is continuously executed to determine each item to be tested of the version to be tested according to the network system supported by the wireless network module. And the port corresponding to the version to be tested is an RNDIS port.
In one embodiment, the determining method of the network type supported by the wireless network module includes:
step S402, sending a product type acquisition instruction to the wireless network module.
Specifically, when determining the network system supported by the wireless network module, the product type of the wireless network module needs to be determined. When the test instruction is an AT instruction, a product type acquisition instruction of 'AT 3' is sent to the wireless network module.
And S404, receiving the current product type information returned by the wireless network module, and determining the product type of the wireless network module based on the current product type information.
Specifically, after a product type acquisition instruction is sent to the wireless network module, current product type information returned by the wireless network module is received, and the current product type information is a character string. The product type of the wireless network module is determined based on the current product type information.
Step S406, when the product type information contains the preset product type information, determining that the network standard supported by the wireless network module is a first type of network standard, otherwise, determining that the network standard supported by the wireless network module is a second type of network standard.
Wherein the preset product type information is set as a character string "NL 952". Specifically, a current product information character string returned by the wireless network module is searched, and when the character string contains 'NL 952', the network standard supported by the wireless network module is determined to be a first type of network standard, and the first type of network standard is 3G and 4G. And when the NL952 is not contained in the character string, determining that the network system supported by the wireless network module is a second type network system, and the second type network system is 3G, 4G and 5G.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and one embodiment thereof. 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, as shown in fig. 3, Module represents a wireless network Module, and a test instruction corresponding to each item to be tested written based on Python is pre-stored in the test equipment. As shown in fig. 4, the test equipment executes a test method of a wireless network module, and the specific steps of implementing the RNDIS dial-up networking and networking test are as follows:
step 1, a wireless network module accesses an antenna, inserts an SIM card and is powered on and started;
step 2, opening a serial port;
step 3, the test equipment sends an AT instruction' AT + GTUSBMODE? ", receiving AT command return value" + GTUSBMODE: < mode > ", and confirming that the wireless network module is switched to the RNDIS port when the mode is 24;
and 4, the test equipment sends an AT instruction ATI3 to the wireless network module, obtains the product type from the returned character string and searches whether the character string contains NL 952. When the character string contains 'NL 952', determining the network systems supported by the wireless network module to be 3G and 4G, otherwise, determining the network systems supported by the wireless network module to be 3G, 4G and 5G;
step 5, according to the network standard supported by the wireless network module, sequentially inquiring whether the SIM card state, the network registration state, the RNDIS link state, the Ping network state and the RNDIS link disconnection of UMTS, LTE, E-UTRA-NR and NR-5GCN are successful;
step 6, the test equipment sends an AT instruction' AT + CPIN? ", query the SIM card status;
step 7, the test equipment sends an AT instruction to the wireless network module to send "AT + COPS? ", the query module registers whether the { UMTS/LTE/E-UTRA-NR/NR-5GCN } network is successful;
step 8, the test equipment sends an AT instruction 'AT + GTRNDIS ═ 1, 1/2' to the wireless network module, and RNDIS linkage is established;
step 9, the test equipment sends an AT instruction "AT + GTRNDIS? ", query whether RNDIS dialing was successful;
step 10, the wireless network module continues the PING external network and inquires whether the PING network is normal or not;
step 11, the test equipment sends an AT command 'AT + GTRNDIS ═ 0, 1/2' to the wireless network module, and RNDIS dialing is disconnected;
step 12, the test equipment sends an AT instruction "AT + GTRNDIS? ", query whether RNDIS link is broken;
and step 13, when the RNDIS link is disconnected, confirming that the traversal of the test instruction corresponding to the network type supported by the wireless network module is completed, and outputting the Excel table with the test result of passing or the test result of failing and the corresponding reason.
It should be understood that, although the steps in the flowchart of fig. 2 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 a portion of the steps in fig. 2 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 a portion of the other steps or stages.
In one embodiment, as shown in fig. 5, there is provided a testing apparatus for a wireless network module, including: a to-be-tested item determining module 510, a current testing instruction sending module 520, a to-be-tested item obtaining module 530 and a testing result outputting module 540, wherein:
and the to-be-tested item determining module 510 is configured to determine each to-be-tested item of the to-be-tested version according to the network standard supported by the wireless network module.
A current test instruction sending module 520, configured to obtain a current item to be tested, and send a current test instruction corresponding to the current item to be tested to the wireless network module.
And the to-be-tested item acquisition module 530 is configured to receive current response information returned by the wireless network module, and acquire a next to-be-tested item when the current to-be-tested item is determined to pass the test according to the current response information.
And the test result output module 540 is configured to use the next item to be tested as the current item to be tested, return to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and output the test result of the version to be tested until the next item to be tested does not exist.
In one embodiment, the testing apparatus of the wireless network module further includes a port switching module, and the port switching module includes the following units:
and the port switching instruction sending unit is used for sending a port switching instruction to the wireless network module.
And the current port information receiving unit is used for receiving the current port information returned by the wireless network module and judging whether the wireless network module is switched to the port corresponding to the version to be tested according to the current port information.
And the port determining unit is used for judging that the wireless network module is switched to the port corresponding to the version to be tested when the current port information contains preset port response information.
In one embodiment, the item under test determination module 510 includes the following elements:
and the product type acquisition instruction sending unit is used for sending a product type acquisition instruction to the wireless network module.
And the current product type information receiving unit is used for receiving the current product type information returned by the wireless network module and determining the product type of the wireless network module based on the current product type information.
And the network type determining unit is used for determining that the network type supported by the wireless network module is the first type of network type when the product type information contains preset product type information, and otherwise, determining that the network type supported by the wireless network module is the second type of network type.
And the to-be-tested item determining unit is used for determining that each to-be-tested item comprises at least one of a user identification card state, a network registration state, a remote network driver interface link state, a remote network driver interface dialing state and an Internet packet seeker state.
In one embodiment, the current test instruction sending module 520 includes the following units:
and the test instruction determining unit is used for determining the test instruction corresponding to the item to be tested according to the pre-stored corresponding relationship between the item to be tested and the test instruction.
In one embodiment, the item under test acquisition module 530 includes the following elements:
and the to-be-tested item determining unit is used for determining that the next to-be-tested item does not exist when the current response information contains the link disconnection information.
In one embodiment, the test result output module 540 is further configured to, when it is determined that the current item to be tested passes the test according to the current response information, determine that the test result of the version to be tested is a failure, and output a reason corresponding to the current item to be tested whose test result is a failure.
For specific limitations of the testing apparatus for the wireless network module, reference may be made to the above limitations of the testing method for the wireless network module, which are not described herein again. Each module in the testing device of the wireless network module can be wholly or partially 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. 6. 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 network 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 a method of testing a wireless network 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. 7. 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 a method of testing a wireless network 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.
It will be appreciated by those skilled in the art that the configurations shown in fig. 6-7 are only block diagrams of some of the configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and that a particular computing device may include more or less components than shown in the figures, or may 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 network 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 network module as described above.
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 method of testing a wireless network module, the method comprising:
determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module;
acquiring a current item to be tested, and sending a current test instruction corresponding to the current item to be tested to the wireless network module;
receiving current response information returned by the wireless network module, and acquiring a next item to be tested when the current item to be tested is determined to pass the test according to the current response information;
and taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist.
2. The method for testing a wireless network module according to claim 1, wherein before determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module, the method comprises:
sending a port switching instruction to the wireless network module;
receiving current port information returned by the wireless network module, and judging whether the wireless network module is switched to a port corresponding to the version to be tested according to the current port information;
and when the current port information contains preset port response information, judging that the wireless network module is switched to a port corresponding to the version to be tested, and entering the step of determining each item to be tested of the version to be tested according to the network standard supported by the wireless network module.
3. The method for testing a wireless network module according to claim 2, wherein the determining manner of the network standard supported by the wireless network module comprises:
sending a product type acquisition instruction to the wireless network module;
receiving current product type information returned by the wireless network module, and determining the product type of the wireless network module based on the current product type information;
and when the product type information contains preset product type information, determining that the network standard supported by the wireless network module is a first type of network standard, otherwise, determining that the network standard supported by the wireless network module is a second type of network standard.
4. The method of claim 1, wherein each of the items to be tested includes at least one of a subscriber identity card status, a network registration status, a remote network driver interface link status, a remote network driver interface dial-up status, and an internet packet explorer status.
5. The method for testing the wireless network module according to claim 1, wherein the determining manner of the test instruction corresponding to the item to be tested comprises:
and determining a test instruction corresponding to the item to be tested according to a pre-stored corresponding relation between the item to be tested and the test instruction.
6. The method according to claim 1, wherein when the current response message includes link disconnection information, it is determined that there is no next item to be tested.
7. The method according to claim 1, wherein when it is determined that the current item to be tested passes the test according to the current response information, the test result of the version to be tested is a failure, and a reason corresponding to the current item to be tested whose test result is a failure is output.
8. A testing apparatus for a wireless network module, the apparatus comprising:
the to-be-tested item determining module is used for determining each to-be-tested item of the to-be-tested version according to the network standard supported by the wireless network module;
the current test instruction sending module is used for acquiring a current item to be tested and sending a current test instruction corresponding to the current item to be tested to the wireless network module;
the to-be-tested item acquisition module is used for receiving current response information returned by the wireless network module and acquiring the next to-be-tested item when the current to-be-tested item is determined to pass the test according to the current response information;
and the test result output module is used for taking the next item to be tested as the current item to be tested, returning to the step of sending the current test instruction corresponding to the current item to be tested to the wireless network module, and outputting the test result of the version to be tested until the next item to be tested does not exist.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of testing a wireless network module of any of claims 1 to 7.
10. A computer-readable storage medium, 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 network module of any one of claims 1 to 7.
CN202110685147.9A 2021-06-21 2021-06-21 Method and device for testing wireless network module, computer equipment and storage medium Pending CN113613265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110685147.9A CN113613265A (en) 2021-06-21 2021-06-21 Method and device for testing wireless network module, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110685147.9A CN113613265A (en) 2021-06-21 2021-06-21 Method and device for testing wireless network module, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113613265A true CN113613265A (en) 2021-11-05

Family

ID=78336673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110685147.9A Pending CN113613265A (en) 2021-06-21 2021-06-21 Method and device for testing wireless network module, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113613265A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128538A1 (en) * 2016-01-27 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Network search control method and device
CN109195172A (en) * 2018-07-27 2019-01-11 闻泰通讯股份有限公司 Radio frequency test method, device, test equipment and storage medium
CN111459794A (en) * 2020-02-25 2020-07-28 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN111901819A (en) * 2020-08-04 2020-11-06 深圳市锐尔觅移动通信有限公司 Test method, system and computer storage medium
CN212302463U (en) * 2020-06-30 2021-01-05 中科远见(重庆)科技有限公司 Multimedia control mainboard supporting multi-mode network communication
CN112398547A (en) * 2020-10-28 2021-02-23 深圳市天视通技术有限公司 Network module testing method, system and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128538A1 (en) * 2016-01-27 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Network search control method and device
CN109195172A (en) * 2018-07-27 2019-01-11 闻泰通讯股份有限公司 Radio frequency test method, device, test equipment and storage medium
CN111459794A (en) * 2020-02-25 2020-07-28 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN212302463U (en) * 2020-06-30 2021-01-05 中科远见(重庆)科技有限公司 Multimedia control mainboard supporting multi-mode network communication
CN111901819A (en) * 2020-08-04 2020-11-06 深圳市锐尔觅移动通信有限公司 Test method, system and computer storage medium
CN112398547A (en) * 2020-10-28 2021-02-23 深圳市天视通技术有限公司 Network module testing method, system and readable storage medium

Similar Documents

Publication Publication Date Title
CN109586948A (en) Update method, apparatus, computer equipment and the storage medium of system configuration data
CN108255701B (en) Scene testing method and mobile terminal
CN105988846B (en) Page loading method and page loading device
US20160323403A9 (en) System, device and method for providing push service using feedback message
CN111125175B (en) Service data query method and device, storage medium and electronic device
CN105740330B (en) Method and device for displaying data in paging mode
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN107274222B (en) Advertisement putting method and device
CN110968331B (en) Method and device for running application program
CN103249027B (en) The method and apparatus that a kind of terminal traffic processes
CN109558320A (en) System detection method, device, system, equipment and computer readable storage medium
CN110716850A (en) Page testing method, device and system and storage medium
CN113014510B (en) Data caching method and device in distributed test of inertial navigation system
CN113204378A (en) Configuration file state synchronization method, device, terminal, server and storage medium
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN104699509A (en) Method and device for downloading application software
CN113194406B (en) Capability reporting method, device and terminal
CN112422328B (en) Log acquisition method, device, computer equipment and storage medium
CN104639666A (en) Domain name access method and device
CN113613265A (en) Method and device for testing wireless network module, computer equipment and storage medium
CN109933479B (en) Fault simulation and emulation method and related equipment
CN114610449B (en) Multi-cluster resource operation method and system based on unified request entry
CN110928547A (en) Public file extraction method, device, terminal and storage medium
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
CN112291317B (en) Data downloading method, device, computer equipment and storage medium

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