CN113645655A - Distribution network testing method, device and system for IoT module and terminal - Google Patents

Distribution network testing method, device and system for IoT module and terminal Download PDF

Info

Publication number
CN113645655A
CN113645655A CN202110906548.2A CN202110906548A CN113645655A CN 113645655 A CN113645655 A CN 113645655A CN 202110906548 A CN202110906548 A CN 202110906548A CN 113645655 A CN113645655 A CN 113645655A
Authority
CN
China
Prior art keywords
distribution network
terminal
test
module
iot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110906548.2A
Other languages
Chinese (zh)
Other versions
CN113645655B (en
Inventor
张林琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Grg Metrology & Test Shenzhen Co ltd
Guangzhou GRG Metrology and Test Co Ltd
Original Assignee
Grg Metrology & Test Shenzhen Co ltd
Guangzhou GRG Metrology and Test Co Ltd
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 Grg Metrology & Test Shenzhen Co ltd, Guangzhou GRG Metrology and Test Co Ltd filed Critical Grg Metrology & Test Shenzhen Co ltd
Priority to CN202110906548.2A priority Critical patent/CN113645655B/en
Publication of CN113645655A publication Critical patent/CN113645655A/en
Application granted granted Critical
Publication of CN113645655B publication Critical patent/CN113645655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a distribution network testing method, a distribution network testing device and a distribution network testing system for IoT modules and terminals, wherein the method comprises the following steps: when connection is respectively established with the IoT module and the terminal, the current distribution network mode of the IoT module is obtained; generating a distribution network identification code according to the current distribution network mode, and initializing an 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 complete distribution network operation of the preset test times; and recording and integrating the distribution network data of the terminal completing the distribution network operation each time to obtain a distribution network test result. The invention can automatically carry out the distribution network test of the IoT module and the terminal, shorten the duration of the distribution network test, improve the efficiency of the distribution network test, avoid the low efficiency of the manual test and the possible errors, greatly reduce the manual workload, simultaneously carry out the test continuously and avoid the problem of interruption caused by the test errors.

Description

Distribution network testing method, device and system for IoT module and terminal
Technical Field
The invention relates to the technical field of terminal communication testing, in particular to a distribution network testing method, device and system for an IoT module and a terminal.
Background
The IoT module is a circuit module in the internet of things system that can be integrated into a target electronic system, connecting an embedded system to a network. Currently, intelligent products in the Internet of Things (IoT) generally adopt Wi-Fi to complete connection with a router, and in the connection process, an IoT module is used for assisting in a network distribution and a device hotspot network distribution, so that data interaction is performed between a terminal and a cloud. Because the distribution network of the internet of things equipment is the premise of controlled work, the stability of the IoT module distribution network is particularly important.
In order to ensure the stability of the distribution network, the IoT module needs to perform repeated distribution network tests before leaving the factory. One of the conventional testing methods is an automatic testing method and an automatic testing system for a Wi-Fi module disclosed in application No. 201811593072.6, and the method provides an automatic testing system for a Wi-Fi module, including: the test server is a computer provided with an Apdium frame; at least one handheld mobile device; the test server sends a control instruction to the handheld mobile equipment according to the test script, the handheld mobile equipment simulates manual operation according to the control instruction to automatically send out a specific operation instruction, the handheld mobile equipment and the module to be tested communicate through the local area network equipment, 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, the Apium framework automatically converts the test code logic into an adb instruction to control the test mobile phone, and functions of automatic distribution of networks without manual intervention, automatic reset, automatic stop of errors, extraction of error information and the like can be realized.
However, the above-mentioned test method has the following technical problems: the test method adopts a single IoT module distribution network mode for testing, the compatibility is poor, the test mode adopts an Apium test frame, the construction environment of the Apium test frame is complex, the initialization is slow, the test time is prolonged, and the test mode adopts a prompt mode of automatically stopping when errors occur and extracting error information, so that the test interruption condition is easy to occur, test personnel is often required to reset, the test time is further prolonged, and the test efficiency is reduced.
Disclosure of Invention
The invention provides a distribution network testing method, a distribution network testing device and a distribution network testing system for IoT modules and terminals.
A first aspect of an embodiment of the present invention provides a distribution network testing method for IoT modules and terminals, where the method includes:
when connection is respectively established with the IoT module and the terminal, the current distribution network mode of the IoT module is obtained;
generating a distribution network identification code according to the current distribution network mode, and initializing an 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 complete distribution network operation of the preset test times;
and recording and integrating the distribution network data of the terminal completing the distribution network operation each time to obtain a distribution network test result.
In one possible implementation manner of the first aspect, the initializing an IoT module includes:
calling a preset SecureCRT serial port to generate a reset instruction;
and sending the reset instruction to the IoT module so as to restore the IoT module to a factory state.
In a possible implementation manner of the first aspect, the identifying, by the call terminal, the distribution network identification code according to preset test times includes:
calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
if the first identification frequency is smaller than or equal to a preset test frequency, adding the first identification frequency and a preset numerical value to obtain a second identification frequency, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal;
and if the first identification times are larger than the preset test times, executing the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time.
In a possible implementation manner of the first aspect, before the step of obtaining the current distribution network mode of the IoT module, the method further includes:
determining the number of the currently connected terminals;
if the number of the terminals is equal to 1, acquiring the current distribution network mode of the IoT module;
and if the number of the terminals is more than 1, randomly selecting a target terminal, acquiring a terminal distribution network mode of the target terminal, and acquiring a current distribution network mode of the IoT module based on the terminal distribution network mode.
A second aspect of the present invention provides a distribution network testing apparatus for IoT modules and terminals, the apparatus comprising:
the acquisition module is used for acquiring the current distribution network mode of the IoT module when the connection is respectively established with the IoT module and the terminal;
the generation module is used for generating a distribution network identification code according to the current distribution network mode and initializing an 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 that the terminal and the initialization IoT module can complete 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 completing 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 so as 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 identification frequency is smaller than or equal to a preset test frequency, adding the first identification frequency and a preset numerical value to obtain a second identification frequency, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal;
and if the first identification times are larger than the preset test times, executing the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time.
In a possible implementation manner of the second aspect, the apparatus further includes:
the quantity module is used for determining the quantity of the currently connected terminals;
the current distribution network module is used for acquiring the current distribution network mode of the IoT module if the number of the terminals is equal to 1;
and the terminal distribution network module is used for randomly selecting a target terminal if the number of the terminals is more than 1, acquiring the terminal distribution network mode of the target terminal, and acquiring the current distribution network mode of the IoT module based on the terminal distribution network mode.
A third aspect of the embodiments of the present invention provides a distribution network test system for an IoT module and a terminal, where the distribution network test system is suitable for the distribution network test method for the IoT module and the terminal, and the distribution network test system includes:
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 IoT module to be tested 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 loads an android sdk plug-in, a JAVA plug-in, a Python plug-in, a uiautomation 2 plug-in, a wetitor plug-in, a pywin32 plug-in, a SecureCRT plug-in, a driver plug-in, and a 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 carry out the distribution network test of the IoT module and the terminal, shorten the duration of the distribution network test, improve the efficiency of the distribution network test, avoid the low efficiency of the manual test and the possible errors, greatly reduce the manual workload, simultaneously carry out the test continuously and avoid the problem of interruption caused by the test errors.
Drawings
Fig. 1 is a schematic flowchart of a distribution network testing method for IoT modules and terminals according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a distribution network testing method for IoT modules and terminals according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a distribution network testing apparatus for 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 technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The commonly used distribution network testing method at present has the following technical problems: the existing distribution network testing method adopts a single IoT module distribution network mode for testing, the compatibility is poor, an Apium testing frame is adopted in the testing mode, the construction environment of the Apium testing frame is complex, the initialization is slow, the testing time is prolonged, and the testing mode adopts a prompt mode of automatically stopping when errors occur and extracting error information, so that the situation of test interruption is easy to occur, testing personnel are often required to reset, the testing time is further prolonged, and the testing efficiency is reduced.
In order to solve the above problem, a distribution network testing method for IoT modules and terminals provided in the embodiments of the present application will be described and explained in detail with the following specific embodiments.
Referring to fig. 1, a schematic flow chart of a distribution network 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 perform detection and matching with the IoT module to be tested and the terminal to determine the distribution network conditions of the IoT module to be tested and the terminal.
As an example, the method for testing a distribution network of an IoT module and a terminal may include:
and S11, acquiring the current distribution network mode of the IoT module when the connection is respectively established with the IoT module and the terminal.
In this embodiment, the testing computer may send connection requests to the IoT module to be tested and the terminal, and determine to establish connection with the IoT module to be tested and the terminal after receiving connection responses replied by the IoT module to be tested and the terminal, respectively. After the connection is established, the current distribution network mode of the IoT module to be tested can be obtained. Due to the fact that 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 distribution network mode may include a one-key distribution network (Wi-Fi), a bluetooth auxiliary distribution network (Wi-Fi + ble), a device hotspot distribution network (Wi-Fi + ap), and the like.
In an embodiment, since there are multiple types of terminals connected to the IoT module to be tested or there are multiple connected terminals, in order to perform the detection in order, before the step of obtaining the current distribution network mode of the IoT module, the method may further include:
and S21, determining the number of the currently connected terminals.
The number of terminals is the number of terminals connected by the IoT module.
And S22, if the number of the terminals is equal to 1, acquiring the current distribution network mode of the IoT module.
If the number of the terminals is 1, determining that only one terminal currently connected with the IoT module is connected and the connection is established, directly acquiring the current distribution network mode of the terminal, and carrying out distribution network test based on the current distribution network mode.
And S23, if the number of the terminals is larger than 1, randomly selecting a target terminal, acquiring the terminal distribution network mode of the target terminal, and acquiring the current distribution network mode of the IoT module based on the terminal distribution network mode.
If the number of the terminals is greater than 1, a plurality of terminals connected with the IoT module are available, the connection modes or distribution network modes of different terminals may be different, in order to avoid the situation that the test is terminated, a connected terminal can be selected as a target terminal at will, then the connection mode of the target terminal and the IoT distribution network is obtained, and the connection mode of the distribution network is taken as the current distribution network mode of the IoT module, so that the current distribution network mode of the IoT module is determined.
In an optional embodiment, different router hotspots of the terminal may be switched, and a terminal distribution network mode of the terminal is determined based on the hotspots of the terminal and the router.
And S12, generating a distribution network identification code according to the current distribution network mode, and initializing an IoT module.
In one embodiment, the distribution network identification code may be a two-dimensional code or a program code. The terminal can be triggered to carry out later distribution network test through the distribution network identification code.
After generating the distribution network identification code, the distribution network identification code can be recorded and stored, so that the subsequent test is facilitated, the distribution network identification code can be sent to the terminal, and the terminal performs built-in identification.
After the distribution network identification code is generated, the IoT module can be initialized to restore the initial state, so that distribution network connection can be performed with the terminal again in the initialized state to determine the stability of the connection between the IoT module and the terminal distribution network.
To quickly switch the IoT module to the initialization state, step S12 may include the following sub-steps, as an example:
and a substep S121 of calling a preset SecureCRT serial port to generate a reset instruction.
The SecureCRT serial port can be mounted in a test computer, and reset instructions such as reset and active _ actions can be generated through the SecureCRT serial port.
And a substep S122, sending the reset instruction to the IoT module, so as to restore the IoT module to a factory state.
And then, the reset instruction can be sent to the IoT module, so that the IoT module can respond to the reset instruction and automatically restore the factory state, complete initialization and be in a waiting distribution network state.
And 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 complete the distribution network operation of the preset test times.
In order to accurately test the stability of the terminal, the terminal and the IoT module can be subjected to multiple network distribution operations, so that the state of a distribution network can be determined according to the distribution network data of the multiple network distribution operations.
If the number of times of the distribution network operation is too large, the test duration is increased, and if the number of times of the distribution network operation is too small, the distribution network stability of the IoT module and the terminal cannot be accurately tested, in order to determine the number of times of the distribution network operation, referring to fig. 2, a second flowchart of a distribution network test method for 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 sub-steps:
and a substep S131 of calling the terminal to identify the distribution network identification code and recording the first identification times of the terminal.
Alternatively, the picture of the distribution network identification code may be printed, the picture of the distribution network identification code may be automatically scanned by the terminal to identify the distribution network identification code, or the terminal may automatically identify the built-in distribution network identification code.
After the terminal identifies the distribution network identification code, the terminal can be connected with the IoT module for distribution network connection so as to complete one distribution network operation. The first identification times of the terminal can be recorded in the distribution process, and the first identification times are the times of the current identification distribution network identification code of the terminal.
And a substep S132, if the first identification frequency is less than or equal to a preset test frequency, adding a second identification frequency to the first identification frequency and a preset numerical value, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal.
If the first identification frequency is less than or equal to the preset test frequency, the first identification frequency and a preset value can be added to form a second identification frequency, then the step of calling the terminal to identify the distribution network identification code is executed again, the second identification frequency of the terminal is recorded, and the like.
Alternatively, the preset value may be 1, 2, 3, etc. In this embodiment, the predetermined value is 1.
And step S133, if the first identification frequency is greater than a preset test frequency, executing the step of recording and integrating the distribution network data of the distribution network operation completed by the terminal each time.
If the first identification times are larger than the preset test times, the terminal can be determined to have completed the distribution network operation for the preset times, and the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time can be executed.
And S14, recording and integrating the distribution network data of the terminal completing the distribution network operation each time to obtain a distribution network test result.
When the terminal completes the operation of the distribution network with the IoT module outside each time, the current distribution network data can be recorded no matter the terminal and the IoT module successfully or unsuccessfully distribute the network, and the distribution network data can be successful, the used time of the distribution network, the communication quality after the distribution network and the like.
And the distribution network test results are generated by collecting the distribution network data for many times, and the distribution network test results can be displayed in a test computer for reference and use by users.
In this embodiment, an embodiment of the present invention provides a distribution network testing method for IoT modules and terminals, which has the following beneficial effects: the invention can automatically carry out the distribution network test of the IoT module and the terminal, shorten the duration of the distribution network test, improve the efficiency of the distribution network test, avoid the low efficiency of the manual test and the possible errors, greatly reduce the manual workload, simultaneously carry out the test continuously and avoid the problem of interruption caused by the test errors.
An embodiment of the present invention further provides a distribution network testing apparatus for an IoT module and a terminal, and referring to fig. 3, a schematic structural diagram of the distribution network testing apparatus for the IoT module and the terminal according to an embodiment of the present invention is shown.
As an example, the distribution network testing apparatus for IoT modules and terminals may include:
an obtaining module 301, configured to obtain a current network distribution mode of the IoT module when connections are respectively established with the IoT module and the terminal;
a generating module 302, configured to generate a distribution network identifier according to the current distribution network mode, and initialize an IoT module;
the identification module 303 is configured to invoke the terminal to respectively identify the distribution network identification codes according to the preset test times, so that the terminal and the initialization IoT module complete distribution network operation of the preset test times;
the recording module 304 is configured to record and integrate distribution network data of the terminal completing the distribution network operation each time, so as to obtain 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 so as 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 identification frequency is smaller than or equal to a preset test frequency, adding the first identification frequency and a preset numerical value to obtain a second identification frequency, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal;
and if the first identification times are larger than the preset test times, executing the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time.
Optionally, the apparatus further comprises:
the quantity module is used for determining the quantity of the currently connected terminals;
the current distribution network module is used for acquiring the current distribution network mode of the IoT module if the number of the terminals is equal to 1;
and the terminal distribution network module is used for randomly selecting a target terminal if the number of the terminals is more than 1, acquiring the terminal distribution network mode of the target terminal, and acquiring the current distribution network mode of the IoT module based on the terminal distribution network mode.
An embodiment of the present invention further provides a distribution network testing system for an IoT module and a terminal, and referring to fig. 4, a schematic structural diagram of the distribution network testing system for the IoT module and the terminal according to an embodiment of the present invention is shown.
The distribution network test system is suitable for the distribution network test method related to the IoT module and the terminal.
By way of example, the distribution network test 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 IoT module to be tested is respectively connected with the SecureCRT serial port and the plurality of test terminals.
Optionally, the test computer carries android sdk plug-in, JAVA plug-in, Python plug-in, uiautomation 2 plug-in, Weditor plug-in, pywin32 plug-in, SecureCRT plug-in, driver plug-in, and TTL-to-USB module driver.
Further, an embodiment of the present application further provides an electronic device, including: the IoT module and the terminal may be configured to perform the IoT test method according to the embodiments described above.
Further, an embodiment of the present application also provides a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are configured to cause a computer to execute the distribution network testing method for IoT modules and terminals according to the foregoing embodiment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A distribution network testing method about IoT modules and terminals is characterized by comprising the following steps:
when connection is respectively established with the IoT module and the terminal, the current distribution network mode of the IoT module is obtained;
generating a distribution network identification code according to the current distribution network mode, and initializing an 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 complete distribution network operation of the preset test times;
and recording and integrating the distribution network data of the terminal completing the distribution network operation each time to obtain a distribution network test result.
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 so as to restore the IoT module to a factory state.
3. The distribution network testing method for IoT modules and terminals as claimed in claim 1, wherein the invoking terminal respectively identifies the distribution network identification codes according to preset testing times, comprising:
calling a terminal to identify the distribution network identification code, and recording the first identification times of the terminal;
if the first identification frequency is smaller than or equal to a preset test frequency, adding the first identification frequency and a preset numerical value to obtain a second identification frequency, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal;
and if the first identification times are larger than the preset test times, executing the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time.
4. The distribution network testing method for IoT modules and terminals as claimed in any of claims 1-3, wherein before the step of obtaining the current distribution network mode of IoT modules, the method further comprises:
determining the number of the currently connected terminals;
if the number of the terminals is equal to 1, acquiring the current distribution network mode of the IoT module;
and if the number of the terminals is more than 1, randomly selecting a target terminal, acquiring a terminal distribution network mode of the target terminal, and acquiring a current distribution network mode of the IoT module based on the terminal distribution network mode.
5. A distribution network testing apparatus for IoT modules and terminals, the apparatus comprising:
the acquisition module is used for acquiring the current distribution network mode of the IoT module when the connection is respectively established with the IoT module and the terminal;
the generation module is used for generating a distribution network identification code according to the current distribution network mode and initializing an 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 that the terminal and the initialization IoT module can complete 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 completing the distribution network operation each time to obtain a distribution network test result.
6. The distribution network testing apparatus of claim 5, wherein the generation 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 so as to restore the IoT module to a factory state.
7. The distribution network testing apparatus of claim 5, wherein 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 identification frequency is smaller than or equal to a preset test frequency, adding the first identification frequency and a preset numerical value to obtain a second identification frequency, and repeatedly executing the step of identifying the distribution network identification code by the calling terminal;
and if the first identification times are larger than the preset test times, executing the step of recording and integrating the distribution network data of the terminal completing the distribution network operation each time.
8. The distribution network testing apparatus of any of claims 5-7, wherein the apparatus further comprises:
the quantity module is used for determining the quantity of the currently connected terminals;
the current distribution network module is used for acquiring the current distribution network mode of the IoT module if the number of the terminals is equal to 1;
and the terminal distribution network module is used for randomly selecting a target terminal if the number of the terminals is more than 1, acquiring the terminal distribution network mode of the target terminal, and acquiring the current distribution network mode of the IoT module based on the terminal distribution network mode.
9. A distribution network test system for IoT modules and terminals, which is suitable for the distribution network test method for IoT modules and terminals as claimed in any one of claims 1-4, the distribution network test 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 IoT module to be tested is respectively connected with the SecureCRT serial port and the plurality of test terminals.
10. The distribution network testing system on IoT modules and terminals as claimed in claim 9, wherein the testing computer loads android SDK plug-in, JAVA plug-in, Python plug-in, UiAutomator2 plug-in, Weditor plug-in, pywin32 plug-in, SecureCRT plug-in, driver plug-in and TTL to USB module driver.
CN202110906548.2A 2021-08-09 2021-08-09 Distribution network testing method, device and system for internet of things (IoT) module and terminal Active CN113645655B (en)

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 true CN113645655A (en) 2021-11-12
CN113645655B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN113645655B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN112333057B (en) Intelligent household equipment distribution network testing method and device, executive machine and storage medium
US11340859B2 (en) Synchronous display method, storage medium and electronic device
CN110941563A (en) Automatic script testing method and device
CN113596832B (en) Network connection establishment method and device, storage medium and electronic device
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN110784879A (en) Network mode switching test method, system, equipment and medium of communication module
CN111273153A (en) Automatic testing method, device and system for chip
US7623856B2 (en) Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module
CN105827333A (en) System and method of baseband chip automatic test
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN108738059B (en) WIFI module testing method and device
CN111416882A (en) BMC IP setting method and device, electronic equipment and system
CN111405059A (en) Data transmission method of cloud equipment, electronic equipment and Internet of things system
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN104684015A (en) Equipment maintenance method and equipment
CN113821433A (en) Method, device, equipment, medium and product for testing cloud mobile phone application program
CN113434422A (en) Virtual device debugging method and device and virtual device debugging system
CN110198222A (en) A kind of distribution power automation terminal plug and play test method and test main website
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN113645655A (en) Distribution network testing method, device and system for IoT module and terminal
CN106997291B (en) Control method, master node and slave node
CN115080328A (en) Board card testing method and system
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN115190057A (en) Automatic testing method and device and electronic equipment
CN113961504A (en) Mobile terminal group control method, device, system, server 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
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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant