CN113645655B - Distribution network testing method, device and system for internet of things (IoT) module and terminal - Google Patents
Distribution network testing method, device and system for internet of things (IoT) module and terminal Download PDFInfo
- Publication number
- CN113645655B CN113645655B CN202110906548.2A CN202110906548A CN113645655B CN 113645655 B CN113645655 B CN 113645655B CN 202110906548 A CN202110906548 A CN 202110906548A CN 113645655 B CN113645655 B CN 113645655B
- Authority
- CN
- China
- Prior art keywords
- terminal
- network
- distribution
- module
- distribution network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 160
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000010998 test method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000002035 prolonged effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
Abstract
The invention discloses a distribution network testing method, device and system for an internet of things (IoT) module and a terminal, wherein the method comprises the following steps: when connection is established between the IoT module and the terminal, the current network allocation mode of the IoT module is obtained; generating a distribution network identification code according to the current distribution network mode, and initializing an internet of things (IoT) module; the calling terminal respectively identifies the distribution network identification codes according to the preset test times so that the terminal and the initialization IoT module can complete the distribution network operation of the preset test times; and recording and integrating network distribution data of the terminal for completing network distribution operation each time, and obtaining network distribution test results. The invention can automatically perform the distribution network test of the IoT module and the terminal, shortens the distribution network test time, improves the distribution network test efficiency, can avoid the inefficiency and possible errors of manual test, greatly reduces the manual workload, and simultaneously can continuously perform the test and avoid the problem of interruption caused by test errors.
Description
Technical Field
The present invention relates to the field of terminal communication testing technologies, and in particular, to a method, an apparatus, and a system for testing an IoT module and a distribution network of a terminal.
Background
The IoT module is a circuit module in the internet of things system that can be integrated to the target electronic system that connects the embedded system to the network. At present, wi-Fi and a router are commonly adopted by intelligent products in the Internet of things (IoT: internet of Things) to complete connection, and in the connection process, data interaction is performed between a terminal and a cloud through auxiliary distribution network of an IoT module and hot point distribution network of equipment. Because the distribution network of the internet of things equipment is a precondition for the controlled operation of the internet of things equipment, the stability of the IoT module distribution network is particularly important.
In order to ensure distribution stability, ioT modules require repeated distribution testing before delivery. One of the commonly used test methods at present is a Wi-Fi module automatic test method and test system as disclosed in application number 201811593072.6, and the method provides a Wi-Fi module automatic test system, comprising: the test server is a computer provided with a Appium framework; at least one handheld mobile device; the test server sends a control instruction to the handheld mobile device according to the test script, the handheld mobile device automatically sends a specific operation instruction according to the control instruction by simulating manual operation, the handheld mobile device and the module to be tested communicate through the local area network device, and the module to be tested executes related operation to test after receiving the specific operation instruction. In the Wi-Fi module automatic test system provided by the application, the Appium framework automatically converts the test code logic into the adb instruction to control the test mobile phone, so that the functions of automatic network allocation, automatic reset, automatic error stopping, error information extraction and the like without manual intervention can be realized.
However, the above test method has the following technical problems: because the test method adopts a single IoT module distribution network mode for testing, the compatibility is poor, the test mode adopts Appium test frames, the Appium test frames have complex construction environment, the initialization is slow, the test duration is prolonged, the test mode adopts a prompt mode of automatically stopping in error and extracting error information, the condition of test interruption is easy to occur, and the test mode needs to be reset by a tester, so that the test duration is further prolonged, and the test efficiency is reduced.
Disclosure of Invention
The invention provides a distribution network testing method, device and system for an internet of things (IoT) module and a terminal, wherein the method realizes automatic distribution network testing, so that testing time is shortened, and testing efficiency is improved.
A first aspect of an embodiment of the present invention provides a method for testing a distribution network of an IoT module and a terminal, where the method includes:
when connection is established between the IoT module and the terminal, the current network allocation mode of the IoT module is obtained;
Generating a distribution network identification code according to the current distribution network mode, and initializing an internet of things (IoT) module;
The calling terminal respectively identifies the distribution network identification codes according to the preset test times so that the terminal and the initialization IoT module can complete the distribution network operation of the preset test times;
And recording and integrating network distribution data of the terminal for completing network distribution operation each time, and obtaining network distribution test results.
In one possible implementation manner of the first aspect, the initializing IoT module includes:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module to restore the IoT module to a factory state.
In a possible implementation manner of the first aspect, the identifying, by the calling terminal, the network allocation identification code according to a preset number of tests includes:
Calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
If the first recognition times are smaller than or equal to the preset test times, adding the first recognition times to a preset numerical value to obtain second recognition times, and repeatedly executing the step of calling the terminal to recognize the distribution network identification code;
And if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time.
In a possible implementation manner of the first aspect, before the step of obtaining a current network allocation manner of the IoT module, the method further includes:
determining the number of currently connected terminals;
if the number of the terminals is equal to 1, acquiring a current network distribution mode of the IoT module;
if the number of the terminals is greater than 1, a target terminal is arbitrarily selected, a terminal network distribution mode of the target terminal is obtained, and a current network distribution mode of the IoT module is obtained based on the terminal network distribution mode.
A second aspect of an embodiment of the present invention provides a distribution network testing apparatus for an IoT module and a terminal, where the apparatus includes:
the acquisition module is used for acquiring the current network distribution mode of the IoT module when the connection between the IoT module and the terminal is established;
the generating module is used for generating a distribution network identification code according to the current distribution network mode and initializing an internet traffic control (IoT) module;
The identification module is used for calling the terminal to respectively identify the distribution network identification codes according to the preset test times so as to enable the terminal and the initialization IoT module to complete the distribution network operation of the preset test times;
and the recording module is used for recording and integrating the distribution network data of the terminal which completes the distribution network operation each time to obtain a distribution network test result.
In a possible implementation manner of the second aspect, the generating module is further configured to:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module to restore the IoT module to a factory state.
In a possible implementation manner of the second aspect, the identification module is further configured to:
Calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
If the first recognition times are smaller than or equal to the preset test times, adding the first recognition times to a preset numerical value to obtain second recognition times, and repeatedly executing the step of calling the terminal to recognize the distribution network identification code;
And if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time.
In a possible implementation manner of the second aspect, the apparatus further includes:
the number module is used for determining the number of the currently connected terminals;
The current network distribution module is used for acquiring the current network distribution mode of the IoT module if the number of the terminals is equal to 1;
and the terminal network distribution module is used for arbitrarily selecting a target terminal if the number of the terminals is greater than 1, acquiring a terminal network distribution mode of the target terminal and acquiring a current network distribution mode of the internet of things (IoT) module based on the terminal network distribution mode.
A third aspect of the embodiments of the present invention provides a distribution network testing system for an IoT module and a terminal, the distribution network testing system being adapted to a distribution network testing method for an IoT module and a terminal as described above, the distribution network testing system comprising:
the system comprises a test computer, a plurality of test terminals, a SecureCRT serial port and an IoT module to be tested;
the test computer is respectively connected with the SecureCRT serial port and the plurality of test terminals, and the to-be-tested IoT module is respectively connected with the SecureCRT serial port and the plurality of test terminals.
In a possible implementation manner of the third aspect, the test computer carries AndroidSDK plug-ins, JAVA plug-ins, python plug-ins, uiAutomator plug-ins, weditor plug-ins, pywin plug-ins, secureCRT plug-ins, driver plug-ins, and TTL-to-USB module driver.
Compared with the prior art, the distribution network testing method, device and system for the IoT module and the terminal provided by the embodiment of the invention have the beneficial effects that: the invention can automatically perform the distribution network test of the IoT module and the terminal, shortens the distribution network test time, improves the distribution network test efficiency, can avoid the inefficiency and possible errors of manual test, greatly reduces the manual workload, and simultaneously can continuously perform the test and avoid the problem of interruption caused by test errors.
Drawings
Fig. 1 is a flowchart of a method for testing a distribution network of an IoT module and a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for testing a distribution network of an IoT module and a terminal according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a distribution network testing apparatus related to IoT modules and terminals according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a distribution network testing system related to IoT modules and terminals according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The current common distribution network testing method has the following technical problems: because the existing distribution network test method adopts a single internet of things (IoT) module distribution network mode for testing, the compatibility is poor, the test mode adopts Appium test frames, the Appium test frames have a complex construction environment, the initialization is slow, the test duration is prolonged, the test mode adopts a prompt mode of automatically stopping in error and extracting error information, the condition of test interruption is easy to occur, and a tester is required to reset, so that the test duration is further prolonged, and the test efficiency is reduced.
In order to solve the above-mentioned problems, the following detailed description and explanation will be given for a network allocation testing method related to IoT modules and terminals according to the embodiments of the present application.
Referring to fig. 1, a flow chart of a network allocation testing method for IoT modules and terminals according to an embodiment of the present invention is shown.
In an embodiment, the method is applied to a test terminal, which may be a test computer, and the test computer may be connected to the IoT module to be tested and the terminal respectively, and determine the network configuration of the IoT module to be tested and the terminal by performing detection matching with the IoT module to be tested and the terminal.
As an example, the method for testing the distribution network of the IoT module and the terminal may include:
s11, when connection is established between the IoT module and the terminal, the current network distribution mode of the IoT module is obtained.
In this embodiment, the test computer may send connection requests with the IoT module to be tested and the terminal respectively, and determine to establish connection with the IoT module to be tested and the terminal after receiving connection responses returned by the IoT module to be tested and the terminal respectively. After the connection is established, the current network allocation mode of the IoT module to be tested can be obtained. Because the distribution network modes of different IoT modules are different, distribution network test content can be determined based on the distribution network modes.
Optionally, the network distribution mode may include a push-to-talk network (Wi-Fi), a bluetooth auxiliary network (Wi-fi+ble), a device hotspot network (Wi-fi+ap), and so on.
In an embodiment, since there are multiple types of terminals connected to the IoT module to be tested or multiple connected terminals, before the step of obtaining the current network allocation manner of the IoT module, in order to perform the detection in order, the method may further include:
S21, determining the number of the terminals currently connected.
The number of terminals is the number of terminals to which the IoT module is connected.
S22, if the number of the terminals is equal to 1, acquiring the current network distribution mode of the IoT module.
If the number of terminals is 1, determining that only one terminal currently connected with the IoT module is connected and connection is established, directly acquiring a current distribution network mode, and performing distribution network testing based on the current distribution network mode.
And S23, if the number of the terminals is greater than 1, selecting a target terminal at will, acquiring a terminal network distribution mode of the target terminal, and acquiring a current network distribution mode of the IoT module based on the terminal network distribution mode.
If the number of terminals is greater than 1, there are multiple terminals connected with the current IoT module, and the connection modes or distribution network modes of the different terminals may be different, so as to avoid the condition of terminating the test, a connected terminal may be arbitrarily selected as a target terminal, and then the distribution network connection mode of the target terminal and the IoT module is obtained, and the distribution network connection mode is the current distribution network mode of the IoT module, thereby determining the current distribution network mode of the IoT module.
In an alternative embodiment, different router hotspots of the terminal may be switched, and the terminal network distribution mode of the terminal is determined based on the hotspots of the terminal and the router.
S12, generating a distribution network identification code according to the current distribution network mode, and initializing an IoT module.
In an embodiment, the network allocation identifier may be a two-dimensional code or a program code. The terminal can be triggered to carry out the later distribution network test through the distribution network identification code.
After the distribution network identification code is generated, the distribution network identification code can be recorded and stored, so that subsequent testing is facilitated, and the distribution network identification code can be sent to the terminal and is subjected to built-in identification by the terminal.
After the distribution network identification code is generated, the IoT module can be initialized, so that the IoT module can be restored to an initial state, and distribution network connection can be performed with the terminal again in the initialized state, so that stability of connection between the IoT module and the distribution network of the terminal can be determined.
To quickly switch the IoT module to the initialized state, step S12 may include, as an example, the following sub-steps:
and step S121, calling a preset SecureCRT serial port to generate a reset instruction.
The secure crt serial port may be mounted in a test computer, and a reset instruction such as "reset" and "active_ awss" may be generated through the secure crt serial port.
In step S122, the reset instruction is sent to the IoT module, so that the IoT module is restored to the factory state.
And then, a reset instruction can be sent to the IoT module, so that the IoT module can respond to the reset instruction and automatically restore to a factory state, complete initialization and be in a state of waiting for network allocation.
S13, the calling terminal respectively identifies the distribution network identification codes according to the preset test times so that the terminal and the initialization IoT module can complete the distribution network operation of the preset test times.
In order to accurately test the stability, the terminal and the IoT module may be subjected to multiple network allocation operations, so that the state of the network allocation may be determined according to the network allocation data of the multiple network allocation operations.
If the number of network allocation operations is too large, the test duration is increased, if the number of network allocation operations is too small, the network allocation stability of the IoT module and the terminal cannot be accurately tested, and in order to determine the number of network allocation operations, referring to fig. 2, a flow chart diagram of a network allocation test method related to the IoT module and the terminal according to an embodiment of the present invention is shown, where, as an example, step S13 may include the following substeps:
and S131, calling the terminal to identify the distribution network identification code, and recording the first identification times of the terminal.
Optionally, a picture of the distribution network identification code may be printed, and the terminal automatically scans the picture of the distribution network identification code to identify the distribution network identification code, or the terminal automatically identifies the built-in distribution network identification code.
After the network allocation identification code is identified, the terminal can be connected with the internet of things (IoT) module in a network allocation manner to complete one-time network allocation operation. The first identification times of the terminal can be recorded in the network distribution process, and the first identification times are the times of the current identification of the terminal for distributing network identification codes.
And a substep S132, if the first identification number is less than or equal to the preset test number, adding the first identification number to the preset value for a second identification number, and repeating the step of calling the terminal to identify the distribution network identification code.
If the first recognition times are smaller than or equal to the preset test times, the first recognition times and the preset numerical value can be added to the second recognition times, then the step of calling the terminal to recognize the network distribution identification code is executed again, the second recognition times of the terminal are recorded, and the like.
Alternatively, the preset value may be 1,2, 3, etc. In this embodiment, the preset value is 1.
And S133, if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time.
If the first identification times are greater than the preset test times, the terminal can be determined to have completed the network allocation operation of the preset times, and the step of recording and integrating the network allocation data of the terminal for completing the network allocation operation each time can be performed.
S14, recording and integrating network distribution data of the terminal for completing network distribution operation each time, and obtaining a network distribution test result.
When the terminal completes the network allocation operation with the IoT module every time, no matter whether the terminal and the IoT module are successfully or unsuccessfully allocated, the terminal can record the network allocation data of this time, and the network allocation data can be success rate, duration used by the network allocation, communication quality after the network allocation, and the like.
And generating distribution network test results by collecting the distribution network data for a plurality of times, and displaying the distribution network test results on a test computer for reference by a user.
In this embodiment, the present invention provides a network allocation testing method for IoT modules and terminals, which has the following beneficial effects: the invention can automatically perform the distribution network test of the IoT module and the terminal, shortens the distribution network test time, improves the distribution network test efficiency, can avoid the inefficiency and possible errors of manual test, greatly reduces the manual workload, and simultaneously can continuously perform the test and avoid the problem of interruption caused by test errors.
The embodiment of the invention also provides a distribution network testing device related to the IoT module and the terminal, and referring to fig. 3, a schematic structural diagram of the distribution network testing device related to the IoT module and the terminal is shown in an embodiment of the invention.
Wherein, as an example, the distribution network testing device related to the IoT module and the terminal may include:
The obtaining module 301 is configured to obtain a current network allocation manner of the IoT module when establishing connection with the IoT module and the terminal respectively;
A generating module 302, configured to generate a distribution network identification code according to the current distribution network mode, and initialize an IoT module;
The identifying module 303 is configured to invoke the terminal to identify the distribution network identification codes according to the preset test times, so that the terminal and the initializing IoT module complete the distribution network operation of the preset test times;
and the recording module 304 is used for recording and integrating the distribution network data of the terminal which completes the distribution network operation each time, and obtaining a distribution network test result.
Optionally, the generating module is further configured to:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module to restore the IoT module to a factory state.
Optionally, the identification module is further configured to:
Calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
If the first recognition times are smaller than or equal to the preset test times, adding the first recognition times to a preset numerical value to obtain second recognition times, and repeatedly executing the step of calling the terminal to recognize the distribution network identification code;
And if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time.
Optionally, the apparatus further includes:
the number module is used for determining the number of the currently connected terminals;
The current network distribution module is used for acquiring the current network distribution mode of the IoT module if the number of the terminals is equal to 1;
and the terminal network distribution module is used for arbitrarily selecting a target terminal if the number of the terminals is greater than 1, acquiring a terminal network distribution mode of the target terminal and acquiring a current network distribution mode of the internet of things (IoT) module based on the terminal network distribution mode.
The embodiment of the invention also provides a distribution network testing system related to the IoT module and the terminal, and referring to fig. 4, a schematic structural diagram of the distribution network testing system related to the IoT module and the terminal is shown in an embodiment of the invention.
The distribution network testing system is suitable for the distribution network testing method related to the IoT module and the terminal.
Wherein, as an example, the distribution network testing system for IoT modules and terminals may include:
the system comprises a test computer, a plurality of test terminals, a SecureCRT serial port and an IoT module to be tested;
the test computer is respectively connected with the SecureCRT serial port and the plurality of test terminals, and the to-be-tested IoT module is respectively connected with the SecureCRT serial port and the plurality of test terminals.
Optionally, the test computer is provided with AndroidSDK plug-ins, JAVA plug-ins, python plug-ins, uiAutomator plug-ins, weditor plug-ins, pywin plug-ins, secureCRT plug-ins, driver plug-ins and TTL-to-USB module driver.
Further, an embodiment of the present application further provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed, implement the distribution network testing method for IoT modules and terminals as described in the above embodiments.
Further, the embodiment of the application also provides a computer readable storage medium, which stores computer executable instructions for causing a computer to execute the distribution network testing method related to the IoT module and the terminal according to the above embodiment.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
Claims (6)
1. A distribution network testing method for an IoT module and a terminal, the method comprising:
when connection is established between the IoT module and the terminal, the current network allocation mode of the IoT module is obtained;
Generating a distribution network identification code according to the current distribution network mode, and initializing an internet of things (IoT) module;
The calling terminal respectively identifies the distribution network identification codes according to the preset test times so that the terminal and the initialization IoT module can complete the distribution network operation of the preset test times;
recording and integrating network distribution data of the terminal for completing network distribution operation each time to obtain a network distribution test result;
The calling terminal respectively identifies the distribution network identification codes according to preset test times, and comprises the following steps:
Calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
if the first recognition times are smaller than or equal to the preset test times, adding the first recognition times with a preset numerical value to obtain second recognition times, and repeatedly executing the step of calling the terminal to recognize the distribution network identification code by adopting the second recognition times;
if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time;
before the step of obtaining the current network allocation mode of the IoT module, the method further includes:
determining the number of currently connected terminals;
if the number of the terminals is equal to 1, acquiring a current network distribution mode of the IoT module;
if the number of the terminals is greater than 1, a target terminal is arbitrarily selected, a terminal network distribution mode of the target terminal is obtained, and a current network distribution mode of the IoT module is obtained based on the terminal network distribution mode.
2. The method of claim 1, wherein initializing the IoT module comprises:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module to restore the IoT module to a factory state.
3. A distribution network testing apparatus for IoT modules and terminals, the apparatus comprising:
the acquisition module is used for acquiring the current network distribution mode of the IoT module when the connection between the IoT module and the terminal is established;
the generating module is used for generating a distribution network identification code according to the current distribution network mode and initializing an internet traffic control (IoT) module;
The identification module is used for calling the terminal to respectively identify the distribution network identification codes according to the preset test times so as to enable the terminal and the initialization IoT module to complete the distribution network operation of the preset test times;
The recording module is used for recording and integrating the distribution network data of the terminal for completing the distribution network operation each time to obtain a distribution network test result;
The identification module is also used for:
Calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
if the first recognition times are smaller than or equal to the preset test times, adding the first recognition times with a preset numerical value to obtain second recognition times, and repeatedly executing the step of calling the terminal to recognize the distribution network identification code by adopting the second recognition times;
if the first identification times are greater than the preset test times, executing the step of recording and integrating the network distribution data of the network distribution operation completed by the terminal each time;
The apparatus further comprises:
the number module is used for determining the number of the currently connected terminals;
The current network distribution module is used for acquiring the current network distribution mode of the IoT module if the number of the terminals is equal to 1;
and the terminal network distribution module is used for arbitrarily selecting a target terminal if the number of the terminals is greater than 1, acquiring a terminal network distribution mode of the target terminal and acquiring a current network distribution mode of the internet of things (IoT) module based on the terminal network distribution mode.
4. The distribution network testing apparatus for IoT modules and terminals according to claim 3, wherein the generating module is further configured to:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module to restore the IoT module to a factory state.
5. A distribution network testing system for IoT modules and terminals, wherein the distribution network testing system is adapted to a distribution network testing method for IoT modules and terminals according to any of claims 1-2, the distribution network testing system comprising:
the system comprises a test computer, a plurality of test terminals, a SecureCRT serial port and an IoT module to be tested;
the test computer is respectively connected with the SecureCRT serial port and the plurality of test terminals, and the to-be-tested IoT module is respectively connected with the SecureCRT serial port and the plurality of test terminals.
6. The network distribution testing system of claim 5, wherein the test computer hosts AndroidSDK plug-ins, JAVA plug-ins, python plug-ins, uiAutomator plug-ins, weditor plug-ins, pywin plug-ins, secureCRT plug-ins, driver plug-ins, and TTL-to-USB module drivers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110906548.2A CN113645655B (en) | 2021-08-09 | 2021-08-09 | Distribution network testing method, device and system for internet of things (IoT) module and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110906548.2A CN113645655B (en) | 2021-08-09 | 2021-08-09 | Distribution network testing method, device and system for internet of things (IoT) module and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113645655A CN113645655A (en) | 2021-11-12 |
CN113645655B true CN113645655B (en) | 2024-04-26 |
Family
ID=78420103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110906548.2A Active CN113645655B (en) | 2021-08-09 | 2021-08-09 | Distribution network testing method, device and system for internet of things (IoT) module and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113645655B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076546A1 (en) * | 2016-10-31 | 2018-05-03 | 广东美的制冷设备有限公司 | Network distribution method for domestic appliances, system and device thereof |
CN109413678A (en) * | 2018-12-25 | 2019-03-01 | 欧普照明股份有限公司 | A kind of Wi-Fi module automatic test approach and test macro |
CN110493812A (en) * | 2019-08-23 | 2019-11-22 | 上海庆科信息技术有限公司 | Processing method, device, system, processor and the main control device of distribution test |
CN112954684A (en) * | 2019-12-09 | 2021-06-11 | 北京君正集成电路股份有限公司 | Distribution network identifier generation method and device for testing to-be-distributed network equipment and terminal |
-
2021
- 2021-08-09 CN CN202110906548.2A patent/CN113645655B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076546A1 (en) * | 2016-10-31 | 2018-05-03 | 广东美的制冷设备有限公司 | Network distribution method for domestic appliances, system and device thereof |
CN109413678A (en) * | 2018-12-25 | 2019-03-01 | 欧普照明股份有限公司 | A kind of Wi-Fi module automatic test approach and test macro |
CN110493812A (en) * | 2019-08-23 | 2019-11-22 | 上海庆科信息技术有限公司 | Processing method, device, system, processor and the main control device of distribution test |
CN112954684A (en) * | 2019-12-09 | 2021-06-11 | 北京君正集成电路股份有限公司 | Distribution network identifier generation method and device for testing to-be-distributed network equipment and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN113645655A (en) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104641673B (en) | For automatically configuring the method and test system of tester | |
US20060205398A1 (en) | Apparatus and methods for product acceptance testing on a wireless device | |
CN108153696B (en) | Embedded system serial port module matching method, device, medium and computer equipment | |
CN109766071B (en) | Display adjustment method and device for bar-shaped electronic shelf label | |
CN110941563B (en) | Automatic script testing method and device | |
CN112333057B (en) | Intelligent household equipment distribution network testing method and device, executive machine and storage medium | |
WO2020024263A1 (en) | Vehicle diagnosis method, intelligent diagnosis apparatus and vehicle data server | |
CN113596832B (en) | Network connection establishment method and device, storage medium and electronic device | |
CN113645655B (en) | Distribution network testing method, device and system for internet of things (IoT) module and terminal | |
CN108512682B (en) | Method and device for determining false terminal identification | |
CN110519736B (en) | Bluetooth device switch connection method and device and computer readable storage medium | |
CN111128139B (en) | Non-invasive voice test method and device | |
CN109743347B (en) | Automatic test method and system for reader-writer | |
CN110908489B (en) | Test method and test equipment for battery management system | |
CN111158987B (en) | Health check method and device for micro-service architecture | |
CN110493818B (en) | Detection method and device of wireless fidelity module, storage medium and electronic device | |
CN115158400A (en) | Urban rail vehicle-mounted equipment and testing method thereof | |
CN110533432B (en) | Service processing method, device, server and client | |
CN111860015A (en) | Information processing method and device and storage medium | |
CN106997291A (en) | A kind of control method and master node, slave node | |
CN112423284A (en) | Zigbee equipment pairing method and device, gateway, electronic equipment and storage medium | |
US20110246827A1 (en) | Testing Device and Testing Method | |
CN116546551B (en) | Wireless network equipment detection method, device and system | |
CN110475240B (en) | SIM card type identification method and device of cloud SIM application terminal and terminal | |
CN105024883A (en) | Method and system for testing OTT (Over the Top) server connection performance |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: No. 8 Qishan Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000, 150 Applicant after: Radio and TV Measurement and Testing Group Co.,Ltd. Applicant after: GRG METROLOGY & TEST (SHENZHEN) Co.,Ltd. Address before: 510630 Xiping Road, Whampoa Road, Tianhe District, Guangzhou, Guangdong 163 Applicant before: GUANGZHOU GRG METROLOGY & TEST Co.,Ltd. Applicant before: GRG METROLOGY & TEST (SHENZHEN) Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |