CN113595824B - Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium - Google Patents

Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium Download PDF

Info

Publication number
CN113595824B
CN113595824B CN202110851970.2A CN202110851970A CN113595824B CN 113595824 B CN113595824 B CN 113595824B CN 202110851970 A CN202110851970 A CN 202110851970A CN 113595824 B CN113595824 B CN 113595824B
Authority
CN
China
Prior art keywords
equipment
test
distribution network
router
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110851970.2A
Other languages
Chinese (zh)
Other versions
CN113595824A (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.)
Shenzhen Academy Of Information And Communications Technology
Original Assignee
Shenzhen Academy Of Information And Communications Technology
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 Shenzhen Academy Of Information And Communications Technology filed Critical Shenzhen Academy Of Information And Communications Technology
Priority to CN202110851970.2A priority Critical patent/CN113595824B/en
Publication of CN113595824A publication Critical patent/CN113595824A/en
Application granted granted Critical
Publication of CN113595824B publication Critical patent/CN113595824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for testing the distribution network reliability of Wi-Fi Internet of things equipment, which is characterized in that a first equipment, a second equipment and a router in a distribution network process are controlled in a unified manner, a distribution network link is monitored in real time, when the distribution network fails, the action of the distribution network is terminated in advance, the next round of test is carried out, and when the distribution network succeeds, whether the test succeeds or not is judged by monitoring the interaction information and the connectivity of the second equipment and the router. The invention also provides a readable storage medium. The invention has the beneficial effects that: 1) When the equipment does not wait for the result to be tested, the equipment is directly initialized to prepare for the next round of test, so that the test efficiency is improved; 2) The first equipment does not need to be reset; 3) The test does not pass the cloud judgment, so that the influence on a cloud server is avoided, the test period is shortened, the method is suitable for high-strength pressure test, and the test efficiency is improved; 4) The method is suitable for automatic testing.

Description

Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium
Technical Field
The invention relates to the Internet of things, in particular to a method for testing the distribution network reliability of Wi-Fi Internet of things equipment and a readable storage medium.
Background
At present, as the Wi-Fi technology is gradually applied to the field of the Internet of things, most IoT equipment does not have a screen and keyboard input function, the most common distribution network mode needs to use a smart phone (equipment I) to carry out auxiliary distribution, and after the SSID and the password of Wi-Fi are sent to IoT equipment (equipment II) to be distributed through the equipment I, the equipment II is connected with the Wi-Fi of a router. The performance of a distribution network becomes the key of user experience, manufacturers pay more attention to the performance of the distribution network, most of the existing distribution network tests aim at the response time of the distribution network, the success rate of the distribution network is tested, and the situation that the distribution network is difficult and the distribution network experience is not good can still occur in practical application of products passing the tests.
The existing test method is difficult to reflect the distribution network performance of users in real application. The existing test scheme is as follows:
1. a network is distributed through the equipment pair II;
2. the second equipment enters an AP mode to be connected with the first equipment, and the first equipment sends distribution network information to the second equipment after the connection is successful;
3. after obtaining the distribution network information, the equipment II is switched into an STA mode and is connected with the router;
4. after the second device is successfully connected, performing online action at the cloud end;
5. and after the first equipment is disconnected from the second equipment, acquiring the state of the second equipment from the cloud, and then carrying out result judgment on the distribution network result.
The existing testing method has the following problems:
1) When the situation of distribution network failure occurs in the test, the equipment can perform the next round of distribution network operation only after the equipment needs to wait for the overtime time of the distribution network, so that the pressure test has long waiting time and low efficiency;
2) When the second AP switches STA mode, it may cause the first AP to maintain connection with the second AP. At this time, the test can be continued as soon as the equipment needs to be reset;
3) When the distribution network is tested successfully, the first device displays that the second device needs to communicate with the IoT management background cloud successfully, and then returns information to the first device through the cloud. The whole process is complicated, so that the time consumption is long and the efficiency is low during pressure testing;
4) The overall test flow is not suitable for automated testing.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for testing the distribution network reliability of Wi-Fi Internet of things equipment and a readable storage medium.
The invention provides a method for testing the distribution network reliability of Wi-Fi Internet of things equipment, which is characterized in that a first equipment, a second equipment and a router in a distribution network process are controlled in a unified manner, a distribution network link is monitored in real time, when the distribution network fails, the action of the distribution network is terminated in advance, the next round of test is carried out, and when the distribution network succeeds, whether the test succeeds or not is judged by monitoring the interaction information and the connectivity of the second equipment and the router.
As a further improvement of the present invention, the test method comprises the steps of:
s1: the equipment I, the equipment II and the router carry out initialization preparation reliability pressure test;
s2: the second equipment enters an AP mode, and the second equipment initiates a distribution network action;
s3: monitoring the second equipment, if the second equipment successfully receives the distribution network information, performing the step S4, and if not, terminating the test and entering the next round of test;
s4: the second equipment is in Wi-Fi connection with the router;
s5: monitoring the interaction information of the second device and the router, if the router judges that the Wi-Fi connection fails or the second device does not initiate the Wi-Fi connection any more, terminating the test, entering the next round of test, and if the interaction information of the second device and the router is normal and the second device obtains an ip address, entering the step S6;
s6: and performing connectivity test between the router and the second equipment, wherein if the connectivity test passes, the test passes, and otherwise, the test fails.
As a further improvement of the present invention, in step S4, the device is initialized and ready for the next round of testing.
As a further improvement of the present invention, the first device is a smart phone, and the second device is an IoT device to be networked.
The invention also provides a readable storage medium storing executable instructions for implementing the method as described in any one of the above when executed by a processor.
The beneficial effects of the invention are:
1) When the equipment does not wait for the result to be tested, the equipment is directly initialized to prepare for the next round of test, so that the test efficiency is improved;
2) The first equipment does not need to be reset;
3) The test does not pass the cloud judgment, the influence on a cloud server is avoided, the test period is shortened, the method is suitable for high-strength pressure test, and the test efficiency is improved;
4) Is suitable for automatic testing.
Drawings
Fig. 1 is a flowchart of a method for testing the distribution network reliability of Wi-Fi internet-of-things equipment according to the present invention.
Detailed Description
The invention is further described with reference to the following description and embodiments in conjunction with the accompanying drawings.
As shown in fig. 1, a method for testing the distribution network reliability of Wi-Fi internet of things equipment includes that a first device is a smart phone, a second device is an IoT device to be distributed, the first device, the second device and a router in a distribution network process are controlled in a unified manner, each link of a distribution network is monitored in real time, and when a distribution network result fails, a distribution network action is terminated in advance, and a next round of test is performed. When the distribution network is successful, whether the information interaction and connectivity monitoring of the second equipment and the router is successful or not is judged, and the specific process is as follows:
s1: initializing equipment I, equipment II and the router to prepare a reliability pressure test;
s2: the second equipment enters an AP mode; the equipment initiates a distribution network action;
s3: monitoring the second equipment, if the second equipment successfully receives the distribution network information, performing the step S4, and if not, terminating the test and entering the next test;
s4: the first equipment is initialized to prepare for the next round of test, and the second equipment is connected with the router Wi-Fi
S5: and monitoring the interaction information of the second equipment and the router, and if the router judges that the Wi-Fi connection fails or the two equipment ends do not initiate the Wi-Fi connection any more, terminating the test and entering the next round of test. If the information interaction between the second device and the router is normal and the second device acquires the ip address, the step S6 is carried out;
when the distribution network failure can be judged through the air interface message or the interactive data, the test is terminated in advance, a distribution network waiting timer of the second equipment is initialized, and the distribution network result is not carried out any more to wait for entering the next round of test;
s6: and performing connectivity test between the router and the second equipment, wherein if the connectivity test is passed, the test is passed, and otherwise, the test fails.
According to the method for testing the distribution network reliability of the Wi-Fi Internet of things equipment, in the steps S5 and S6, whether the test is passed or not is judged through Wi-Fi interaction message and ip address acquisition and the connectivity of the equipment II and the ip layer of the router, the cloud judgment is not passed, influence on a cloud server is avoided, the test period is shortened, the method is suitable for high-strength pressure test, and the test efficiency is improved; in the step S4, the first equipment is initialized when the first equipment is not waiting for the result to be tested, and the next round of test is prepared, so that the test efficiency is improved, and the first equipment does not need to be reset.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (4)

1. A method for testing the distribution network reliability of Wi-Fi Internet of things equipment is characterized by comprising the following steps: the method comprises the steps that a first device, a second device and a router in a distribution network process are controlled in a unified mode, a distribution network link is monitored in real time, when the distribution network fails, the distribution network action is stopped in advance, next round of testing is conducted, and when the distribution network succeeds, whether the testing succeeds or not is judged through monitoring of interaction information and connectivity of the second device and the router;
the test method comprises the following steps:
s1: the equipment I, the equipment II and the router carry out initialization preparation reliability pressure test;
s2: the second equipment enters an AP mode, and the second equipment initiates a distribution network action;
s3: monitoring the second equipment, if the second equipment successfully receives the distribution network information, performing the step S4, and if not, terminating the test and entering the next test;
s4: the second equipment is in Wi-Fi connection with the router;
s5: monitoring the interaction information of the second device and the router, if the router judges that the Wi-Fi connection fails or the second device does not initiate the Wi-Fi connection any more, terminating the test, entering the next round of test, and if the interaction information of the second device and the router is normal and the second device obtains an ip address, entering the step S6;
s6: and performing connectivity test between the router and the second equipment, wherein if the connectivity test passes, the test passes, and otherwise, the test fails.
2. The method for testing the distribution network reliability of the Wi-Fi Internet of things equipment, according to claim 1, is characterized in that: in step S4, the first device is initialized and a next test round is prepared.
3. The Wi-Fi Internet of things equipment distribution network reliability test method according to claim 1, wherein: the first equipment is a smart phone, and the second equipment is IoT equipment to be configured with a network.
4. A readable storage medium, characterized by: the readable storage medium stores executable instructions which, when executed by a processor, are for implementing the method of any one of claims 1 to 3.
CN202110851970.2A 2021-07-27 2021-07-27 Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium Active CN113595824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110851970.2A CN113595824B (en) 2021-07-27 2021-07-27 Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110851970.2A CN113595824B (en) 2021-07-27 2021-07-27 Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113595824A CN113595824A (en) 2021-11-02
CN113595824B true CN113595824B (en) 2022-12-02

Family

ID=78250591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110851970.2A Active CN113595824B (en) 2021-07-27 2021-07-27 Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113595824B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041534B (en) * 2023-10-08 2024-01-02 天津华来科技股份有限公司 Binding performance testing method for intelligent camera

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102218295B1 (en) * 2014-02-06 2021-02-22 삼성전자주식회사 Home appliance, a network-connection system for home appliance and method of connection of home appliance to a network
CN107154859B (en) * 2016-03-02 2020-09-04 美的集团股份有限公司 Intelligent electric appliance distribution network testing method and system and control terminal
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN108712300A (en) * 2018-04-02 2018-10-26 四川斐讯信息技术有限公司 A kind of automated testing method and system of smart machine distribution
CN110602726A (en) * 2019-08-16 2019-12-20 苏宁智能终端有限公司 Method and system for testing automatic distribution network of intelligent equipment
CN110635959A (en) * 2019-11-11 2019-12-31 宁波奥克斯电气股份有限公司 Distribution network environment detection method and device and control terminal for distribution network environment detection
CN111885679A (en) * 2020-07-29 2020-11-03 宁波方太厨具有限公司 Distribution network testing method and system of Internet of things equipment

Also Published As

Publication number Publication date
CN113595824A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US10153957B2 (en) Fault diagnosis method, device, and fault diagnosis system
CN105120005B (en) A kind of hot update method of game server, server and system
CN104717282B (en) A kind of method, apparatus and system of control Android operation system intelligent terminal
EP4032207B1 (en) State machine handling at a proxy node in an ethernet-based fronthaul network
CN105871584A (en) Method, device and system for updating client configuration in key value pair database
CN108429629A (en) Equipment fault restoration methods and device
CN108206842B (en) Cloud desktop remote access method and system
CN113595824B (en) Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium
CN112437047A (en) Remote server management method, system and related device
CN109040295A (en) Determination method and device, terminal and the storage medium of abnormal broken line
CN108134713A (en) A kind of communication means and device
WO2016110080A1 (en) Fault location method and corresponding apparatus
CN103490945A (en) Method for detecting maximum telnet user quantity
CN106911510B (en) Usability monitoring system and method for network access system
CN111585841A (en) Automatic test method and related device
CN108471612A (en) SIM card falls card restoration methods, device and terminal
CN109587210A (en) A kind of implementation method of the information push of more browser-safes
CN108307414A (en) Wi-Fi connection abnormality eliminating method, device, terminal and the storage medium of application program
CN101753448A (en) Method and device for establishing ATM communication connection
CN107172228A (en) Change the method and apparatus and computer-readable recording medium of virtual machine IP address
CN115437865A (en) Method, device, equipment and medium for testing abnormal power failure of hard disk
CN110581786A (en) Method, device, system and medium for testing communication stability of NCSI (network communication service) network
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN112994962B (en) AAA authentication test-based device, method, storage medium and system
CN102315984B (en) User contact information monitoring method

Legal Events

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