CN110972233B - Distribution network state display method and device for intelligent equipment - Google Patents

Distribution network state display method and device for intelligent equipment Download PDF

Info

Publication number
CN110972233B
CN110972233B CN201911007939.XA CN201911007939A CN110972233B CN 110972233 B CN110972233 B CN 110972233B CN 201911007939 A CN201911007939 A CN 201911007939A CN 110972233 B CN110972233 B CN 110972233B
Authority
CN
China
Prior art keywords
distribution network
intelligent equipment
intelligent
displaying
network state
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
CN201911007939.XA
Other languages
Chinese (zh)
Other versions
CN110972233A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911007939.XA priority Critical patent/CN110972233B/en
Publication of CN110972233A publication Critical patent/CN110972233A/en
Application granted granted Critical
Publication of CN110972233B publication Critical patent/CN110972233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The application provides a method and a device for displaying the distribution network state of intelligent equipment, wherein the method comprises the following steps: starting a distribution network through a distribution network APP; judging whether a Bluetooth broadcast is received at a first set time node, if so, displaying the state of the first distribution network normally, and if not, displaying the state abnormally; sending a Bluetooth pairing request to the intelligent equipment; judging whether Bluetooth pairing information sent by the intelligent equipment is received or not, if so, displaying the state of the second distribution network normally, and if not, displaying the state abnormally; the SSID and the password are sent to the intelligent equipment through Bluetooth connection, the Bluetooth module of the intelligent equipment sends the SSID and the password to the WiFi module, and the WiFi module of the intelligent equipment sends a distribution network request carrying the SSID and the password to the router; judging whether the distribution network success information is received or not, and if so, displaying the state of the third distribution network to be normal; if not, displaying abnormity. The method and the device can display the distribution network state of the current distribution network link.

Description

Distribution network state display method and device for intelligent equipment
Technical Field
The application relates to the technical field of wireless communication, in particular to a method and a device for displaying the distribution network state of intelligent equipment.
Background
Bluetooth technology: bluetooth is a radio technology for short-range communication of devices. The wireless information exchange can be carried out among a plurality of devices including mobile phones, wireless earphones, intelligent bracelets and the like. By using the Bluetooth technology, the communication between the mobile communication terminal equipment can be effectively simplified, and the communication between the mobile communication terminal equipment and the Internet can also be successfully simplified, so that the data transmission becomes more rapid and efficient.
WiFi wireless technology: the wireless network is a kind of commercial certification in the category of wireless local area network, and is a wireless networking technology, and the wireless network is connected with a computer through a network cable in the past, while WiFi is connected with the network through radio waves; a wireless router is commonly known, and the effective range of the radio wave coverage of the wireless router can be networked by using a WiFi connection, and if the wireless router is connected with an ADSL line or another internet access line, the wireless router is also called a hotspot.
The WiFi + Bluetooth distribution network mode is widely applied, the distribution network process is single-line, and the failure of the whole distribution network can be caused when any link is abnormal, so that the monitoring of the distribution network process and the display of the current distribution network state are very necessary in the distribution network process.
Disclosure of Invention
An object of the embodiment of the present application is to provide a method for displaying a distribution network state of an intelligent device, so as to solve the above technical problem. The specific technical scheme is as follows:
in a first aspect, the application provides a method for displaying a distribution network state of an intelligent device, which includes the following steps:
starting a distribution network through a distribution network APP;
judging whether Bluetooth broadcast information of the intelligent equipment is received or not at a first set time node, if so, displaying the first distribution network state of the intelligent equipment as normal, and otherwise, displaying the first distribution network state of the intelligent equipment as abnormal;
sending a Bluetooth pairing request to the intelligent equipment;
judging whether Bluetooth pairing information sent by the intelligent equipment is received or not, if so, displaying the second distribution network state of the intelligent equipment as normal, and if not, displaying the second distribution network state of the intelligent equipment as abnormal;
the method comprises the steps that a service set identifier SSID and a password are sent to intelligent equipment through Bluetooth connection established with the intelligent equipment, the Bluetooth module of the intelligent equipment sends the service set identifier SSID and the password to a WiFi module of the intelligent equipment, and the WiFi module of the intelligent equipment sends a distribution network request carrying the service set identifier SSID and the password to a router;
judging whether distribution network success information sent by a WiFi module of the intelligent equipment is received or not, and if so, displaying the state of a third distribution network of the intelligent equipment as normal; and if not, displaying the third distribution network state of the intelligent equipment as abnormal.
According to the technical scheme provided by the embodiment of the application, after the state of the first distribution network of the intelligent device is displayed as abnormal, the steps are executed again: and starting the distribution network through the distribution network APP.
According to the technical scheme provided by the embodiment of the application, after the second distribution network state of the intelligent device is displayed as abnormal, the steps are executed again: and sending a Bluetooth pairing request to the intelligent device.
According to the technical scheme provided by the embodiment of the application, after the third distribution network state of the intelligent device is displayed as abnormal, the steps are executed again: the service set identifier SSID and the password are sent to the Bluetooth module of the intelligent device again through Bluetooth connection established with the intelligent device, the Bluetooth module of the intelligent device sends the service set identifier SSID and the password to the WiFi module of the intelligent device, and the WiFi module of the intelligent device sends the distribution network request carrying the service set identifier SSID and the password to the router.
According to the technical scheme provided by the embodiment of the application, after the service set identifier SSID and the password are sent to the Bluetooth module of the intelligent device through the Bluetooth connection established with the intelligent device, the method further comprises the following steps: judging whether the information that the service set identifier SSID and the password sent by the Bluetooth module of the intelligent equipment are received or not, and if so, displaying the state of a fourth distribution network of the intelligent equipment as normal; and if not, displaying the fourth distribution network state of the intelligent equipment as abnormal.
According to the technical scheme provided by the embodiment of the application, after the fourth distribution network state of the intelligent device is displayed as abnormal, the steps are executed again:
and the service set identifier SSID and the password are sent to the Bluetooth module of the intelligent equipment through the Bluetooth connection established with the intelligent equipment.
According to the technical scheme provided by the embodiment of the application, after the Bluetooth module of the intelligent device sends the received service set identifier SSID and the password to the WiFi module of the intelligent device, the method further comprises the following steps:
judging whether the information that the service set identifier SSID and the password sent by the WiFi module of the intelligent equipment are received or not, and if so, displaying the state of a fifth distribution network of the intelligent equipment as normal; and if not, displaying the fifth distribution network state of the intelligent equipment as abnormal.
According to the technical scheme provided by the embodiment of the application, after the fifth distribution network state of the intelligent device is displayed as abnormal, the steps are executed again:
and the Bluetooth module of the intelligent equipment sends the received service set identifier SSID and the password to the WiFi module of the intelligent equipment.
According to the technical scheme provided by the embodiment of the application, before the distribution network is started through the distribution network APP, the method further comprises initializing the restoration times and the restoration limit value;
after the first distribution network state, the second distribution network state, the third distribution network state, the fourth distribution network state or the fifth distribution network state of the intelligent device is displayed as abnormal, the method further comprises the following steps:
and recording the reduction times, judging whether the current reduction times exceed a reduction limit value, and if so, finishing the distribution network.
In a second aspect, the present application further provides a network distribution status display device for an intelligent device, where the network distribution status display device for the intelligent device includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
when being executed by the processor, the computer program realizes the steps of any one of the methods for displaying the distribution network state of the intelligent equipment.
In a third aspect, the present application further provides a computer-readable storage medium, where an intelligent device distribution network state display program is stored on the computer-readable storage medium, and when the intelligent device distribution network state display program is executed by a processor, the steps of any one of the above methods for displaying an intelligent device distribution network state are implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method for displaying the distribution network state of the intelligent device, which is provided by the embodiment of the application, is started from the start of a distribution network, the distribution network process is monitored through a distribution network APP until the distribution network is finished, the judgment of the current distribution network link and the judgment of the distribution network state of the current distribution network link are realized by receiving information transmitted by communication among nodes, and the distribution network state is displayed on the distribution network APP in real time.
According to the technical scheme provided by some embodiments of the application, when the state of a certain distribution network is abnormal in the distribution network process, the distribution network process can be restored to the state of the previous distribution network, and the distribution network of the abnormal link is performed again, so that the success probability of the distribution network is improved.
According to the technical scheme provided by some embodiments of the application, the reduction times and the reduction limit value are set, and when the reduction times exceed the reduction limit value set by a user, the distribution network is finished, so that the distribution network process is prevented from entering a dead cycle, and the distribution network efficiency is improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a "WiFi + bluetooth" distribution network system according to various embodiments of the present disclosure;
fig. 2 is a flowchart of a "WiFi + bluetooth" network distribution process provided in various embodiments of the present application;
fig. 3 is a flowchart of a method for displaying a distribution network state of an intelligent device according to an embodiment of the present application;
fig. 4 is a flowchart of a method for displaying a distribution network state of an intelligent device according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of a server according to a fourth embodiment of the present application.
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 embodiment provides a method for displaying the distribution network state of intelligent equipment, which mainly aims at the distribution network mode of WiFi + Bluetooth.
Fig. 1 is a schematic structural diagram of a "WiFi + bluetooth" distribution network system, where the distribution network system includes a mobile terminal 100, an intelligent device 200, and a router 300, where the mobile terminal 100 is installed with a distribution network APP, the distribution network APP includes a display interface for displaying a distribution network state of the intelligent device 200, and the mobile terminal 100 meeting the requirement may be implemented in various forms. For example, the mobile terminal 100 described in the present invention may include devices such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a navigation device, and the like. The mobile terminal 100 at least includes a bluetooth module and a WiFi module, the smart device 200 at least includes a bluetooth module and a WiFi module, the chip of the smart device 200 may include an independent WiFi chip and a bluetooth chip, or a "WiFi + bluetooth" dual-mode chip may be adopted, and the smart device 200 meeting the requirement may be implemented in various forms. For example, the smart device 200 described in the present invention may include devices such as an air conditioner, an electric fan, a television, a humidifier, a water dispenser, a sweeper, and the like.
Fig. 2 is a flow chart of a "WiFi + bluetooth" distribution process, the distribution process is single-line, and when any link is abnormal, the distribution process fails, and the specific steps include: firstly, a bluetooth chip of the intelligent device 200 sends out bluetooth broadcast, and the mobile terminal 100 scans the bluetooth broadcast and sends out a bluetooth pairing request; then, the bluetooth chip of the smart device 200 exchanges bluetooth pairing information with the mobile terminal 100 and establishes bluetooth connection; then, the mobile terminal 100 sends the service set identifier SSID and the password, and the bluetooth chip of the smart device 200 receives the service set identifier SSID and the password and transmits the service set identifier SSID and the password to the WiFi chip of the smart device 200 through wired connection; then, the WiFi chip of the smart device 200 sends a network distribution request carrying the service set identifier SSID and the password to the router 300, and if the WiFi chip of the smart device 200 establishes WiFi connection with the router 300, the network distribution is completed, and the WiFi chip of the smart device 200 and the mobile terminal 100 can communicate through the router 300.
The first embodiment is as follows:
as shown in fig. 3, this embodiment provides a method for displaying a distribution network state of an intelligent device, where the method specifically includes the following steps:
s100, initializing reduction times N and reducing limit value M.
In the process of distribution network, in order to increase the success rate of the distribution network, when the state of a certain distribution network is abnormal, the state of the distribution network is restored to the previous state, and the restoration times N are used for recording the times of restoring the state of the distribution network to the previous state in the process of distribution network. Before the distribution network is started, the reduction times N need to be initialized to zero. The reduction limit M is an upper limit of the number of times set for each reduction, and the reduction limit M is a positive integer, for example, M is 5.
And s200, starting the distribution network through the distribution network APP.
Firstly, starting the intelligent equipment, and sending a Bluetooth broadcast with specific preset broadcast data by a Bluetooth module of the intelligent equipment; secondly, starting a distribution network by operating a distribution network APP pre-installed on the mobile terminal (in this embodiment, a mobile phone) to search and receive bluetooth broadcast information sent by a bluetooth module of the intelligent device; this is the first distribution network state of the smart device.
And s300, judging whether the Bluetooth broadcast information of the intelligent equipment is received at the first set time node. Wherein, the first set time node is customized by the user, for example, defined as 2 seconds.
And s310, if so, displaying the state of the first distribution network of the intelligent equipment as normal, and setting the reduction times N to zero.
If the bluetooth module of the mobile phone receives the bluetooth broadcast information sent by the smart device at the first set time node, the first distribution network state of the smart device is displayed as normal on the display interface of the distribution network APP of the mobile phone, and meanwhile, the number N of restoration times is set to zero, so as to prepare for the next time when the distribution network state is abnormal and needs to be restored, and then the step s400 is continued.
And s320, if not, displaying the first distribution network state of the intelligent device as abnormal, and reducing the number of times N to N + 1.
If the Bluetooth module of the mobile phone does not receive the Bluetooth broadcast information sent by the intelligent device at the first set time node, displaying the first distribution network state of the intelligent device as abnormal on a display interface of a distribution network APP of the mobile phone, and setting the reduction frequency N as N + 1.
And s330, judging whether the reduction frequency N is greater than the reduction limit value M. If so, finishing the distribution network; if not, go to step s 200.
And when the reduction times N are larger than the reduction limit value M set by the user, the distribution network is not tried any more, and the distribution network is directly ended.
And s400, sending a Bluetooth pairing request to the intelligent device.
In a preferred embodiment, the mobile phone exchanges bluetooth pairing information with the smart device, that is, the bluetooth module of the mobile phone sends the bluetooth pairing information to the bluetooth module of the smart device, and simultaneously receives the bluetooth pairing information sent by the bluetooth module of the smart device, which is the second distribution network state of the smart device.
And s500, judging whether the Bluetooth pairing information sent by the intelligent equipment is received.
And s510, if so, displaying the state of the second distribution network of the intelligent equipment as normal, and setting the reduction times N to zero.
If the bluetooth module of the mobile phone has received the bluetooth pairing information sent by the smart device, indicating that the bluetooth module of the mobile phone and the bluetooth module of the smart device are successfully paired, displaying the second distribution network state of the smart device as normal on the display interface of the distribution network APP of the mobile phone, and simultaneously setting the reduction number N to zero, in preparation for the next time when the distribution network state is abnormal and needs to be reduced, and continuing with step s 600.
And s520, if not, displaying the second distribution network state of the intelligent device as abnormal, and reducing the number of times N to N + 1.
If the Bluetooth module of the mobile phone does not receive the Bluetooth pairing information sent by the intelligent device and indicates that the Bluetooth module of the mobile phone and the Bluetooth module of the intelligent device are unsuccessfully paired, displaying the second distribution network state of the intelligent device as abnormal on a display interface of a distribution network APP of the mobile phone, and meanwhile setting the reduction frequency N as N + 1. Continuing to execute the step s330, and if the result obtained after executing the step s330 is that the reduction times N are greater than the reduction limit value M, ending the distribution network; if the result obtained after the step s330 is that the reduction number N is not greater than the reduction limit M, the process goes to step s 400.
And s600, the service set identification SSID and the password are sent to the intelligent equipment through the Bluetooth connection established with the intelligent equipment, the Bluetooth module of the intelligent equipment sends the service set identification SSID and the password to the WiFi module of the intelligent equipment, and the WiFi module of the intelligent equipment sends the distribution network request carrying the service set identification SSID and the password to the router.
In a preferred embodiment, the service set identifier SSID and the password are stored in the mobile phone in advance, and are necessary information for WiFi connection, and when the WiFi module of the smart device receives the service set identifier SSID and the password, a WiFi connection request, i.e., a network configuration request, carrying the service set identifier SSID and the password is sent to the router. This is the third distribution network state of the smart device.
And after the WiFi module of the intelligent equipment is successfully connected with the router, the WiFi module of the intelligent equipment sends the distribution network success information to the mobile phone through the router.
And s700, judging whether distribution network success information sent by the WiFi module of the intelligent equipment is received.
And s710, if so, displaying the state of the third distribution network of the intelligent equipment as normal, and setting the reduction times N to zero.
If the mobile phone receives the successful distribution network information sent by the WiFi module of the intelligent device, the distribution network is successful, the third distribution network state of the intelligent device is displayed to be normal, the reduction times N are set to be zero, and the distribution network is finished.
And s720, if not, displaying the third distribution network state of the intelligent device as abnormal, and reducing the number of times N to N + 1.
And if the mobile phone does not receive the successful distribution network information sent by the WiFi module of the intelligent equipment, displaying the third distribution network state of the intelligent equipment as abnormal, and setting the reduction times N to be N + 1. Continuing to execute the step s330, and if the result obtained after executing the step s330 is that the reduction times N are greater than the reduction limit value M, ending the distribution network; if the result obtained after the step s330 is that the reduction number N is not greater than the reduction limit M, the process goes to step s 600.
In this embodiment, the entire distribution network process includes three distribution network states, that is, a first distribution network state, a second distribution network state, and a third distribution network state. Starting from the distribution network starting, monitoring the three distribution network states through the distribution network APP until the distribution network is finished, judging the current distribution network state through receiving information transmitted by communication among nodes, and displaying the distribution network state on the distribution network APP in real time. The method has the characteristic of restoring to the state of the last distribution network, namely when the state of a certain distribution network is abnormal in the process of the distribution network, the process of the distribution network can be restored to the state of the last distribution network, and the distribution network of an abnormal link is carried out again, so that the success rate of the distribution network can be improved. For example, when the state of the second distribution network is abnormal, and the distribution network process is restored to the state of the first distribution network, the distribution network of the abnormal link is performed again; and when the first distribution network state shows to be abnormal, the distribution network process is restored to the distribution network initial state. In addition, by setting the reduction limit value and recording the reduction times, when the reduction times of a certain distribution network state exceed the reduction limit value set by a user, the attempt is not carried out, the distribution network is ended, and the distribution network process is prevented from entering a dead cycle, so that the distribution network efficiency is improved.
The distribution network state display method for the intelligent equipment can improve the success rate of the distribution network and the efficiency of the distribution network, can display the states of the three distribution networks in the distribution network process, and can clearly know which link in the distribution network process is abnormal when the distribution network fails.
Example two:
as shown in fig. 4, fig. 4 is an alternative step of step s600 in the first embodiment of the present application. In this embodiment, on the basis of the first embodiment, the step s600 is replaced by the following steps:
and s610, sending the service set identifier SSID and the password to the Bluetooth module of the intelligent device through the Bluetooth connection established with the intelligent device.
In a preferred embodiment, the service set identifier SSID and password sent are stored in the handset in advance, and are necessary information for wifi connection. After receiving the service set identifier SSID and the password sent by the mobile phone, the bluetooth module of the intelligent device sends information that the service set identifier SSID and the password are received to the mobile phone, which is a fourth distribution network state of the intelligent device. In order to distinguish whether the information of the service set identifier SSID and the received password is sent by the Bluetooth module of the intelligent device or the WiFi module of the intelligent device, the information of the service set identifier SSID and the received password sent by the Bluetooth module of the intelligent device is marked as first information, and the information of the service set identifier SSID and the received password sent by the WiFi module of the intelligent device is marked as second information. The first information and the second information respectively contain self-identification information. For example: the first information and the second information respectively contain parameter MesID, which is convenient for the identification of the receiver, wherein the MesID value of the first information is set as: 01, the MesID value of the second information is set as: 02; the mobile phone judges whether the received first information or the second information is the first information or the second information according to the MesID value of the received information.
s620, judging whether the first information is received, that is, judging whether the information that the service set identifier SSID and the password sent by the bluetooth module of the intelligent device are received is received.
And s621, if so, displaying the state of the fourth distribution network of the intelligent device as normal, and setting the reduction frequency N to zero.
If the mobile phone has received the first information sent by the bluetooth module of the smart device, indicating that the bluetooth module of the smart device has received the service set identifier SSID and the password sent by the mobile phone, displaying the fourth distribution network state of the smart device as normal on the display interface of the distribution network APP of the mobile phone, and simultaneously setting the reduction number N to zero, and executing step s 630.
And s622, if not, displaying the fourth distribution network state of the intelligent device as abnormal, and setting the reduction frequency N as N + 1.
If the mobile phone does not receive the first information sent by the Bluetooth module of the intelligent device, the fact that the Bluetooth module of the intelligent device does not receive the service set identifier SSID and the password sent by the mobile phone is indicated, the fourth distribution network state of the intelligent device is displayed as abnormal on a display interface of a distribution network APP of the mobile phone, and meanwhile the reduction frequency N is set to be N + 1. Continuing to execute the step s330, and if the result obtained after executing the step s330 is that the reduction times N are greater than the reduction limit value M, ending the distribution network; if the result obtained after the step s330 is that the reduction number N is not greater than the reduction limit M, go to step s 610.
s630, the bluetooth module of the smart device forwards the received service set identifier SSID and password to the WiFi module of the smart device. And the Bluetooth module of the intelligent device forwards the received service set identifier SSID and the password to the WiFi module of the intelligent device in a wired connection mode, which is the fifth distribution network state of the intelligent device. When the WiFi module of the smart device receives the SSID and the password, it sends the received SSID and password information, i.e. the second information, to the mobile phone, and the second information is first transmitted to the bluetooth module of the smart device through the wired connection and then forwarded to the mobile phone through the bluetooth module of the smart device.
And s640, judging whether the second information is received, namely judging whether the information which is sent by the WiFi module of the intelligent device and is received by the service set identifier SSID and the password forwarded by the Bluetooth module of the intelligent device is received.
s641, if yes, displaying the fifth distribution network state of the intelligent device as normal, and setting the reduction frequency N to zero.
If the mobile phone has received the second information sent by the WiFi module of the smart device, indicating that the WiFi module of the smart device has received the service set identifier SSID and the password forwarded by the bluetooth module of the smart device, displaying the fifth distribution network state of the smart device as normal on the display interface of the distribution network APP of the mobile phone, and simultaneously resetting the number N of restoration times to zero, and executing step s 650.
s642, if not, displaying the fifth distribution network state of the intelligent device as abnormal, and reducing the number N to N + 1.
If the mobile phone does not receive the second information sent by the WiFi module of the intelligent device, the fact that the WiFi module of the intelligent device does not receive the service set identifier SSID and the password forwarded by the Bluetooth module of the intelligent device is indicated, the fifth distribution network state of the intelligent device is displayed as abnormal on a display interface of a distribution network APP of the mobile phone, and meanwhile the reduction frequency N is set to be N + 1. Continuing to execute the step s330, and if the result obtained after executing the step s330 is that the reduction times N are greater than the reduction limit value M, ending the distribution network; if the result obtained after the step s330 is that the reduction number N is not greater than the reduction limit M, go to step s 630.
And s650, the WiFi module of the intelligent equipment sends the distribution network request carrying the service set identifier SSID and the password to the router. Execution continues at step s 700.
Accordingly, after the step s720 is executed, the step s330 is executed to determine whether the reduction time N is greater than the reduction limit M, and if the determination result is that the reduction time N is not greater than the reduction limit M, the process goes to the step s 650.
In order to enable an operator to accurately position the whole distribution network process, the fourth distribution network state and the fifth distribution network state are added on the basis of the first embodiment, and the whole distribution network process includes five distribution network states. Starting from the distribution network starting, monitoring the five distribution network states through the distribution network APP until the distribution network is finished, judging the current distribution network state through receiving information transmitted by communication among nodes, and displaying the distribution network state on the distribution network APP in real time. The method has the characteristic of restoring to the state of the last distribution network, namely when the state of a certain distribution network is abnormal in the process of the distribution network, the process of the distribution network can be restored to the state of the last distribution network, and the distribution network of an abnormal link is carried out again, so that the success rate of the distribution network can be improved. For example, when the fifth distribution network state shows to be abnormal, the distribution network process is restored to the state of the fourth distribution network, and the distribution network of the abnormal link is performed again; and when the first distribution network state shows to be abnormal, the distribution network process is restored to the distribution network initial state. In addition, by setting the reduction limit value and recording the reduction times, when the reduction times of a certain distribution network state exceed the reduction limit value set by a user, the attempt is not carried out, the distribution network is ended, and the distribution network process is prevented from entering a dead cycle, so that the distribution network efficiency is improved.
The distribution network state display method for the intelligent equipment can improve the success rate of the distribution network and the efficiency of the distribution network, can display the states of five distribution networks in the distribution network process, and can clearly know which link in the distribution network process is abnormal when the distribution network fails.
Example three:
this embodiment still provides a network state display device is joined in marriage to smart machine, the network state display device is joined in marriage to smart machine includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of a method for displaying a distribution network status of an intelligent device as described in any of fig. 3 to 4.
Example four:
the present embodiment provides a server, as shown in fig. 5, which includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU401, ROM402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. Drivers are also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the processes described above with reference to fig. 3 and 4 may be implemented as computer software programs, according to embodiments of the present invention. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the methods illustrated in fig. 3 and 4. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves. The described units or modules may also be provided in a processor, and may be described as: a processor comprises a first generation module, an acquisition module, a search module, a second generation module and a merging module. The names of these units or modules do not in some cases form a limitation to the units or modules themselves, and for example, the obtaining module may also be described as "obtaining module for obtaining a plurality of instances to be detected in the base table".
As another aspect, the present application also provides a computer-readable medium, which may be included in the server described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to implement the method for displaying the distribution network status of the intelligent device as described in the above embodiments. For example, the electronic device may implement the various steps as shown in fig. 3-4.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A distribution network state display method for intelligent equipment is characterized by comprising the following steps:
starting a distribution network through a distribution network APP;
judging whether Bluetooth broadcast information of the intelligent equipment is received or not at a first set time node, if so, displaying the first distribution network state of the intelligent equipment as normal, and otherwise, displaying the first distribution network state of the intelligent equipment as abnormal;
after the first distribution network state of the intelligent equipment is displayed as abnormal, the steps are executed again: starting a distribution network through a distribution network APP;
sending a Bluetooth pairing request to the intelligent equipment;
judging whether Bluetooth pairing information sent by the intelligent equipment is received or not, if so, displaying the second distribution network state of the intelligent equipment as normal, and if not, displaying the second distribution network state of the intelligent equipment as abnormal;
and after the second distribution network state of the intelligent equipment is displayed as abnormal, the steps are executed again: sending a Bluetooth pairing request to the intelligent equipment;
the service set identifier SSID and the password are sent to a Bluetooth module of the intelligent equipment through Bluetooth connection established with the intelligent equipment, the Bluetooth module of the intelligent equipment is sent to a WiFi module of the intelligent equipment, and then a distribution network request carrying the service set identifier SSID and the password is sent to a router by the WiFi module of the intelligent equipment;
judging whether distribution network success information sent by a WiFi module of the intelligent equipment is received or not, and if so, displaying the state of a third distribution network of the intelligent equipment as normal; if not, displaying the third distribution network state of the intelligent equipment as abnormal;
and after the third distribution network state of the intelligent equipment is displayed as abnormal, the steps are executed again: the service set identifier SSID and the password are sent to the Bluetooth module of the intelligent device again through Bluetooth connection established with the intelligent device, the Bluetooth module of the intelligent device sends the service set identifier SSID and the password to the WiFi module of the intelligent device, and the WiFi module of the intelligent device sends the distribution network request carrying the service set identifier SSID and the password to the router.
2. The method for displaying the distribution network state of the intelligent device according to claim 1, wherein after the service set identifier SSID and the password are sent to the bluetooth module of the intelligent device through the bluetooth connection established with the intelligent device, the method further comprises the following steps:
judging whether the information that the service set identifier SSID and the password sent by the Bluetooth module of the intelligent equipment are received or not, and if so, displaying the state of a fourth distribution network of the intelligent equipment as normal; and if not, displaying the fourth distribution network state of the intelligent equipment as abnormal.
3. The method for displaying the distribution network state of the intelligent device according to claim 2, wherein after the fourth distribution network state of the intelligent device is displayed as abnormal, the steps are executed again:
and the service set identifier SSID and the password are sent to the Bluetooth module of the intelligent equipment through the Bluetooth connection established with the intelligent equipment.
4. The method for displaying the distribution network state of the intelligent device according to claim 3, wherein after the Bluetooth module of the intelligent device sends the received service set identifier SSID and password to the WiFi module of the intelligent device, the method further comprises the following steps:
judging whether the information that the service set identifier SSID and the password sent by the WiFi module of the intelligent equipment are received or not, and if so, displaying the state of a fifth distribution network of the intelligent equipment as normal; and if not, displaying the fifth distribution network state of the intelligent equipment as abnormal.
5. The method for displaying the distribution network state of the intelligent device according to claim 4, wherein after the fifth distribution network state of the intelligent device is displayed as abnormal, the steps are executed again:
and the Bluetooth module of the intelligent equipment sends the received service set identifier SSID and the password to the WiFi module of the intelligent equipment.
6. The method for displaying the distribution network state of the intelligent device according to claim 4, wherein before starting the distribution network through the distribution network APP, the method further comprises initializing a reduction number and a reduction limit value;
after the first distribution network state, the second distribution network state, the third distribution network state, the fourth distribution network state or the fifth distribution network state of the intelligent device is displayed as abnormal, the method further comprises the following steps:
and recording the reduction times, judging whether the current reduction times exceed a reduction limit value, and if so, finishing the distribution network.
7. The utility model provides a network state display device is joined in marriage to smart machine which characterized in that, the network state display device is joined in marriage to smart machine includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the intelligent device distribution network status display method of any of claims 1 to 6.
CN201911007939.XA 2019-10-22 2019-10-22 Distribution network state display method and device for intelligent equipment Active CN110972233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911007939.XA CN110972233B (en) 2019-10-22 2019-10-22 Distribution network state display method and device for intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911007939.XA CN110972233B (en) 2019-10-22 2019-10-22 Distribution network state display method and device for intelligent equipment

Publications (2)

Publication Number Publication Date
CN110972233A CN110972233A (en) 2020-04-07
CN110972233B true CN110972233B (en) 2021-07-20

Family

ID=70029839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911007939.XA Active CN110972233B (en) 2019-10-22 2019-10-22 Distribution network state display method and device for intelligent equipment

Country Status (1)

Country Link
CN (1) CN110972233B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727314B (en) * 2020-05-26 2024-04-16 深圳市三诺数字科技有限公司 Control method, device, mobile device, storage medium and system of wireless earphone
CN113938341A (en) * 2020-06-29 2022-01-14 广东美的制冷设备有限公司 Network distribution method, storage medium, household appliance, client and network distribution system
CN111867003A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
CN114449557B (en) * 2020-11-06 2024-02-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
CN112383910B (en) * 2020-12-16 2021-10-15 珠海格力电器股份有限公司 Gateway and intelligent equipment network distribution method
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN114158020A (en) * 2021-11-30 2022-03-08 四川虹美智能科技有限公司 Network distribution method of intelligent household appliance, mobile terminal, intelligent household appliance and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683938A (en) * 2015-02-10 2015-06-03 小米科技有限责任公司 Configuration method and device for intelligent equipment
CN105450269A (en) * 2015-12-21 2016-03-30 飞天诚信科技股份有限公司 Method and device for realizing safe interaction and pairing authentication between Bluetooth devices
CN107171903A (en) * 2017-05-02 2017-09-15 青岛海尔空调器有限总公司 A kind of household electrical appliances distribution method and device
CN109525976A (en) * 2018-12-05 2019-03-26 深圳创维数字技术有限公司 With network method, system and readable storage medium storing program for executing
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI587730B (en) * 2013-06-10 2017-06-11 蘋果公司 Configuring wireless accessory devices
CN107231606B (en) * 2017-07-19 2021-06-29 北京京东尚科信息技术有限公司 WiFi network access method, intelligent hardware equipment and electronic terminal
CN108551670B (en) * 2018-03-30 2021-06-25 深圳市冠旭电子股份有限公司 Bluetooth connection method and device and intelligent terminal
CN109756848A (en) * 2019-03-26 2019-05-14 深圳创维数字技术有限公司 Wireless distribution method, apparatus, equipment and storage medium
CN110149255A (en) * 2019-05-21 2019-08-20 北京洪泰智造信息技术有限公司 Intelligent home network configuration method, system and smart home based on wired connection
CN110300396A (en) * 2019-05-27 2019-10-01 苏宁智能终端有限公司 The WIFI distribution method, apparatus and terminal of smart machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683938A (en) * 2015-02-10 2015-06-03 小米科技有限责任公司 Configuration method and device for intelligent equipment
CN105450269A (en) * 2015-12-21 2016-03-30 飞天诚信科技股份有限公司 Method and device for realizing safe interaction and pairing authentication between Bluetooth devices
CN107171903A (en) * 2017-05-02 2017-09-15 青岛海尔空调器有限总公司 A kind of household electrical appliances distribution method and device
CN109525976A (en) * 2018-12-05 2019-03-26 深圳创维数字技术有限公司 With network method, system and readable storage medium storing program for executing
CN109819426A (en) * 2019-01-31 2019-05-28 广东美的制冷设备有限公司 Household appliance matches network method, household appliance, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110972233A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110972233B (en) Distribution network state display method and device for intelligent equipment
CN110545569B (en) Network distribution method and system of intelligent device and readable medium
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
EP2804424B1 (en) Connection setup method and device for wireless network
WO2020107905A1 (en) Monitoring and managing methods for device, and terminal device
CN110351828B (en) Positioning method and device
EP2975871A1 (en) Processing provisioning sim profile
US9451387B2 (en) Method, M2M terminal, AP, and system for achieving machine to machine service
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN106455049B (en) Positioning method and device based on wireless local area network
US20110065466A1 (en) Mobile station device, base station device, and radio communication system
CN108353339A (en) The method and apparatus of networking between a kind of equipment
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
CN112203263A (en) Broadcast message interaction method, terminal, device and medium
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
EP2672758A1 (en) Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
US10880770B2 (en) Method and apparatus for managing quality of wireless LAN
CN107949019B (en) Load balancing method of wireless access point
CN116134867A (en) Method for evaluating the quality of a channel operable by a WiFi access point to establish a WiFi connection with a communication device, corresponding device, computer program product and computer readable carrier medium
WO2020151622A1 (en) Assessment method and apparatus for position recommendation
CN114697958A (en) Network access method and system of wireless access point, AP and storage medium
CN112788711B (en) Access method of multiple devices
CN115103359A (en) Network distribution method and device, network to be distributed equipment, electronic device and readable storage medium
CN110139296B (en) Terminal information acquisition method and device

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