CN111601311A - Configuration method of IoT (Internet of things) equipment - Google Patents
Configuration method of IoT (Internet of things) equipment Download PDFInfo
- Publication number
- CN111601311A CN111601311A CN202010355408.6A CN202010355408A CN111601311A CN 111601311 A CN111601311 A CN 111601311A CN 202010355408 A CN202010355408 A CN 202010355408A CN 111601311 A CN111601311 A CN 111601311A
- Authority
- CN
- China
- Prior art keywords
- wifi
- remote server
- wifi hotspot
- configuration
- hotspot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/068—Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Abstract
The invention discloses a configuration method of IoT equipment, which comprises the steps of searching a preset number of WiFi hotspots when a configuration instruction of the IoT equipment is received; verifying each searched WiFi hotspot based on a preset password; and when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to perform further configuration through the remote server. According to the IoT equipment configuration method, the remote server is connected through the WiFi hot spot successfully verified based on the preset password, and the configuration of the IoT equipment can be completed through the remote server, so that the external equipment only needs to modify the WiFi hot spot password into the preset password and place the preset password at the preset position, and the steps of the IoT equipment configuration are simplified, so that the configuration operation difficulty of the IoT equipment is reduced, and the education cost for training the use of the IoT equipment is further reduced; meanwhile, the configuration success rate of the IoT equipment can be improved.
Description
Technical Field
The present invention relates to the field of IoT devices, and in particular, to a configuration method for an IoT device.
Background
At present, a method for configuring WIFI information for an IoT device terminal mainly includes two modes, where the first mode is: the WIFI state of the device is changed from the STA mode to the AP mode (for example, triggered by a preset key and the like), the AP is connected with a host (for example, a mobile phone, a tablet, a notebook computer and the like), and after the connection is successful, the AP is configured through an APP, a webpage or an applet. According to the method, the host computer is required to close the common WIFI and then connect the newly generated AP, and then open the APP or the webpage or the small program to select or input the WIFI network name and the password, so that the operation process is long in copying time, high in training cost and low in efficiency. The second mode is as follows: by adopting the airKiss technology, a host (such as a mobile phone, a tablet, a notebook computer and the like) in the same local area network switches the WIFI network to a target AP, and the terminal equipment is connected to the network in the local area network through the airKiss function. This results in a low success rate of the connection due to the presence of co-channel interference
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a configuration method of an IoT device, aiming at the deficiencies of the prior art.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method of configuration of an IoT device, the method comprising:
searching a preset number of WiFi hotspots when a configuration instruction of the IoT equipment is received;
verifying each searched WiFi hotspot based on a preset password;
and when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to carry out configuration through the remote server.
The configuration method of the IoT device, wherein when the configuration instruction of the IoT device is received and before a preset number of WiFi hotspots are searched, the method comprises the following steps:
searching all WiFi hotspots which can be connected within a preset range when a configuration instruction of an IoT device is received;
and selecting a preset number of WiFi hotspots according to the searched signal intensity of each WiFi hotspot.
The configuration method of the IoT device, wherein the verifying the searched WiFi hotspots based on the preset password specifically includes:
connecting the WiFi hotspots one by one based on a preset password according to the signal intensity of each WiFi hotspot;
and when the WiFi hotspot successfully connected exists, taking the WiFi hotspot successfully connected as the WiFi hotspot successfully verified.
The configuration method of the IoT device, wherein the receiving the configuration instruction of the IoT device specifically comprises the following steps:
the method comprises the steps of configuring hotspot passwords of WiFi hotspots corresponding to external equipment into preset passwords in advance, and arranging the outside in a preset range to enable the WiFi hotspots corresponding to the external equipment to be searched.
The configuration method of the IoT device, wherein the connecting the WiFi hotspots one by one based on a preset password according to the signal strength of each WiFi hotspot specifically includes:
according to the signal intensity of each WiFi hotspot, connecting the WiFi hotspots one by one based on a preset password, and monitoring a control instruction for controlling the WiFi connection to stop;
if the control instruction is monitored, quitting the configuration of the IoT equipment;
and if the control instruction is not monitored and the verification is successful, connecting the WiFi hotspot with a remote server to carry out configuration through the remote server.
The configuration method of the IoT equipment, wherein the step of connecting the WiFi hotspots one by one based on a preset password according to the signal intensity of each WiFi hotspot comprises the following steps:
and if the control instruction is not monitored and the verification is successful, controlling a screen to display temperature data.
The configuration method of the IoT device, wherein the connecting with the remote server through the WiFi hotspot to configure through the remote server specifically includes:
connecting a remote server through the WiFi hotspot;
if the remote server is successfully connected, configuration is carried out through the remote server;
and if the remote server is not successfully connected, storing the acquired temperature data and entering a dormant state.
The configuration method of the IoT device, wherein the connecting with the remote server through the WiFi hotspot to configure through the remote server specifically includes:
connecting a remote server through the WiFi hotspot;
and receiving configuration information sent by the remote server, and configuring according to the received configuration information, wherein the configuration information is sent to the remote server by the external equipment.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps in the configuration method of an IoT device as recited in any of the above.
A thermometer, comprising: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor, when executing the computer readable program, implements the steps in the configuration method of IoT devices described in any of the above.
Has the advantages that: compared with the prior art, the invention provides an IoT device configuration method, which comprises the steps of searching a preset number of WiFi hotspots when configuration instructions of the IoT device are received; verifying each searched WiFi hotspot based on a preset password; and when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to carry out configuration through the remote server. According to the IoT equipment configuration method, the remote server is connected through the WiFi hot spot successfully verified based on the preset password, and the configuration of the IoT equipment can be completed through the remote server, so that the external equipment only needs to modify the WiFi hot spot password into the preset password and place the preset password at the preset position, and the steps of the IoT equipment configuration are simplified, so that the configuration operation difficulty of the IoT equipment is reduced, and the education cost for training the use of the IoT equipment is further reduced; meanwhile, the configuration success rate of the IoT equipment can be improved.
Drawings
Fig. 1 is a flowchart of a configuration method of an IoT device provided in the present invention.
Fig. 2 is a flowchart illustrating an embodiment of a configuration method of an IoT device provided in the present invention.
Fig. 3 is a schematic structural diagram of the temperature meter provided by the invention.
Detailed Description
In order to make the objects, technical solutions, and effects of the present invention clearer and clearer, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The inventor finds that the current method for configuring the WIFI information by using the IoT equipment terminal mainly comprises two modes, wherein the first mode is as follows: the WIFI state of the device is changed from the STA mode to the AP mode (for example, triggered by a preset key and the like), the AP is connected with a host (for example, a mobile phone, a tablet, a notebook computer and the like), and after the connection is successful, the AP is configured through an APP, a webpage or an applet. According to the method, the host computer is required to close the common WIFI and then connect the newly generated AP, and then open the APP or the webpage or the small program to select or input the WIFI network name and the password, so that the operation process is long in copying time, high in training cost and low in efficiency. The second mode is as follows: by adopting the airKiss technology, a host (such as a mobile phone, a tablet, a notebook computer and the like) in the same local area network switches the WIFI network to a target AP, and the terminal equipment is connected to the network in the local area network through the airKiss function. This can result in a low power connection (e.g., a success rate of only 20-30%) due to the presence of co-channel interference.
In order to solve the above problem, in the embodiment of the present invention, when a configuration instruction of an IoT device is received, a preset number of WiFi hotspots are searched; verifying each searched WiFi hotspot based on a preset password; and when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to carry out configuration through the remote server. According to the IoT equipment configuration method, the remote server is connected through the WiFi hot spot successfully verified based on the preset password, and the configuration of the IoT equipment can be completed through the remote server, so that the external equipment only needs to modify the WiFi hot spot password into the preset password and place the preset password at the preset position, and the steps of the IoT equipment configuration are simplified, so that the configuration operation difficulty of the IoT equipment is reduced, and the education cost for training the use of the IoT equipment is further reduced; meanwhile, the configuration success rate of the IoT equipment can be improved
For example, the embodiments of the present invention may be applied to an IoT device. In this scenario, first, an IoT device may receive a configuration instruction of the IoT device, and search for a preset number of WiFi hotspots when receiving the configuration instruction of the IoT device; verifying each searched WiFi hotspot based on a preset password; when a WiFi hotspot successfully verified exists, the temperature meter is connected with a remote server through the WiFi hotspot, and configuration of the IoT equipment is carried out according to configuration information sent by the remote server.
It should be noted that the above application scenarios are only presented to facilitate understanding of the present invention, and the embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable. Meanwhile, the present invention is not limited in terms of executing a subject as long as the disclosed actions of the embodiments of the present invention are performed.
The invention will be further explained by the description of the embodiments with reference to the drawings.
The present implementation provides a configuration method of an IoT device, as shown in fig. 1 and 2, the method including:
and S10, searching a preset number of WiFi hotspots when configuration instructions of the IoT equipment are received.
Specifically, the configuration instruction of the IoT device may be triggered by a preconfigured control key, for example, a preconfigured refresh key, and when the refresh key is pressed for a preset duration, the refresh key triggers the configuration instruction of the IoT device, where the preset duration may be preset, and may be a fixed value or a time period; e.g., 5-10 seconds, etc. In addition, when the configuration instruction of the IoT device is triggered by the preset key, an icon for indicating that WiFi information starts to be configured may be displayed on the screen, for example, "set 1" is displayed on the screen to indicate that the device is in the configuration state of the IoT device by "set 1". Of course, it is worth explaining that the IoT device is configured with at least a screen and a refresh button; the refresh key is used for triggering a configuration instruction of the IoT equipment; the screen is used to display an icon representing the start of configuration of WiFi information. In addition, in practical applications, the IoT device may further include other components, such as a power on/off button, which is not described here. Further, the preset number is a preset number, for example, 5 or the like.
Further, in one implementation manner of this embodiment, before searching for a preset number of WiFi hotspots when receiving a configuration instruction of an IoT device, the method includes:
s01, configuring the hotspot password of the WiFi hotspot corresponding to the external device as a preset password in advance, and arranging the outside in a preset range to enable the WiFi hotspot corresponding to the external device to be searched.
Specifically, the external device is a device for controlling an IoT device to configure, for example, a smart phone, a tablet computer, or the like. The WiFi hotspot corresponding to the external device is a WiFi hotspot shared by the external device to the IoT device, and the hotspot password configured by the WiFi hotspot is a preset password. It can be understood that the external device obtains the preset password in advance, and configures the preset password as a hotspot password when the WiFi hotspot is turned on. The preset password may be sent to the external device by other devices, or may be input to the external device. In an implementation manner of this embodiment, the preset password is input by the user when the external device starts the WiFi hotspot, that is, when the external device starts the WiFi hotspot, the user sets the WiFi hotspot as the preset password, so that the preset password is the hotspot password of the WiFi hotspot corresponding to the external device.
Further, after the external device starts a WiFi hotspot and configures a hotspot password of the WiFi hotspot as a preset password, the external device is placed in a preset range, where the preset range is within a search range of the IoT device, so that the WiFi hotspot corresponding to the external device can be searched. In one implementation manner of this embodiment, the external device may be attached to the IoT device to reduce the distance between the IoT device and the external device, so that the signal strength of the WiFi hotspot of the external device searched by the IoT device is high.
Further, in an implementation manner of this embodiment, the searching for the preset number of WiFi hotspots when the configuration instruction of the IoT device is received specifically includes:
searching all WiFi hotspots which can be connected within a preset range when a configuration instruction of an IoT device is received;
and selecting a preset number of WiFi hotspots according to the searched signal intensity of each WiFi hotspot.
Specifically, the preset range is a search range of the IoT device, that is, the IoT device searches for the connectable WiFi hotspots in the search range, and after all the connectable WiFi hotspots are acquired, a preset number of WiFi hotspots are selected from all the acquired WiFi hotspots. Wherein the preset number of WiFi hotspots is determined according to signal strength. It is understood that after all the connectable WiFi hotspots are acquired, the signal strength of each connectable WiFi hotspot is acquired, and a preset number of WiFi hotspots are selected according to the signal strength from high to low. For example, the preset number is 2, the connectable WiFi hotspots are WiFi hotspot A, WiFi hotspot B and WiFi hotspot C, respectively, and the signal strength of WiFi hotspot a is 50 db; the signal strength of WiFi hotspot B is 45 db; the signal strength of the WiFi hotspot C is 40db, then two WiFi hotspots are selected as WiFi hotspot a and WiFi hotspot B.
And S20, verifying each searched WiFi hotspot based on a preset password.
Specifically, the preset password is pre-stored for the IoT device and is used as a hotspot password of the WiFi hotspot; the preset password may be any combination of numbers, characters, special symbols and other character forms, for example, 8888. In addition, the verifying each WiFi hotspot refers to detecting whether a hotspot password corresponding to each WiFi hotspot is the same as a preset password. As can be appreciated, after searching for a preset number of WiFi hotspots, the IoT device may sequentially connect WiFi hotspots with the preset password as a hotspot password to determine whether there is a WiFi hotspot to which connection is possible. In addition, when verifying each WiFi hotspot, the verification may be performed sequentially according to the signal intensity sequence of the WiFi hotspots, when verifying a WiFi hotspot successfully connected, the WiFi hotspot successfully connected is taken as a WiFi hotspot corresponding to the IoT device, and the WiFi hotspot failed in connection and the WiFi hotspot not connected are discarded, thereby completing the WiFi hotspot verification. In addition, in the process of verifying each WiFi hotspot, a WiFi icon may be displayed on a screen of the IoT device, and the WiFi icon may be in a flashing state, so that the device is in a WiFi hotspot connection state.
In an implementation manner of this embodiment, the verifying, based on the preset password, each WiFi hotspot searched specifically includes:
connecting the WiFi hotspots one by one based on a preset password according to the signal intensity of each WiFi hotspot;
and when the WiFi hotspot successfully connected exists, taking the WiFi hotspot successfully connected as the WiFi hotspot successfully verified.
Specifically, the successful verification means that the hotspot password of the WiFi hotspot is the preset password, that is, the WiFi hotspot successfully verified can be connected by using the preset password as the hotspot password. In addition, according to the signal intensity of each WiFi hotspot, each WiFi hotspot can be sequentially connected in the order of the signal intensity of each WiFi hotspot from strong to weak, or each WiFi hotspot can be sequentially connected in the order of the signal intensity of each WiFi hotspot from weak to strong, and the like. In this embodiment, the WiFi hotspots are sequentially connected according to the signal intensity of each WiFi hotspot from strong to weak, so that the WiFi hotspot successfully connected is ensured to be a WiFi hotspot using a preset password as a hotspot password, and the verification efficiency of the WiFi hotspot can be further improved. For example, the connectable WiFi hotspots are WiFi hotspot A, WiFi hotspot B and WiFi hotspot C, respectively, and the signal strength of WiFi hotspot a is 50 db; the signal strength of WiFi hotspot B is 45 db; the signal strength of the WiFi hotspot C is 40db, the WiFi hotspot A, WiFi and the WiFi hotspot C are connected one by one, if the WiFi hotspot B is successfully connected, the WiFi hotspot C is not connected, and therefore the connection speed of the WiFi hotspots is improved while the signal strength of the successfully connected WiFi hotspots is maintained.
Further, in an implementation manner of this embodiment, when verifying a preset number of WiFi hotspots, the WiFi hotspot verification may also be stopped according to the received control signal. Therefore, connecting the WiFi hotspots one by one based on the preset password according to the signal strength of each WiFi hotspot specifically includes:
according to the signal intensity of each WiFi hotspot, connecting the WiFi hotspots one by one based on a preset password, and monitoring a control instruction for controlling the WiFi connection to stop;
if the control instruction is monitored, quitting the configuration of the IoT equipment;
and if the control instruction is not monitored and the verification is successful, connecting the WiFi hotspot with a remote server to carry out configuration through the remote server.
Specifically, in the process of sequentially connecting WiFi hotspots based on the preset password, the WiFi connection operation may be stopped through a control instruction. It can be understood that a preset key may be provided on the IoT device, and when the WiFi icon is in a flashing state, the preset key may be triggered to trigger a control instruction for stopping WiFi connection, and after the control instruction is triggered, the IoT device exits from the configuration function, and discards the preset number of WiFi hotspots that are searched; and when the control instruction is not triggered, the equipment executes connection of the WiFi hotspots one by one based on the preset password until the verified WiFi hotspots are obtained. Of course, it is worth explaining that, when the preset number of WiFi hotspots are successfully verified, the device exits the configuration function of the IoT device, and meanwhile, the failure of the configuration of the IoT device may be prompted. For example, the prompt may be performed by changing colors through a WiFi picture, or may be performed by a prompt tone.
Further, when the control instruction is not monitored and the verification is successful, the device may fixedly display a WiFi icon on the screen to display that the WiFi hotspot connection is completed through the WiFi image. And meanwhile, returning the screen to a temperature display state, namely controlling the screen to display temperature data. Of course, while the screen displays the temperature data, a WiFi icon may be displayed at a predetermined position of the screen to indicate that WiFi is in a connected state. For example, in the upper left or right corner of the screen, etc.
And S30, when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to configure through the remote server.
Specifically, the remote server is a background server corresponding to the IoT device, and the IoT device is connected to the remote server through a WiFi hotspot after being connected to the WiFi hotspot, and communicates with the remote server to receive WiFi information sent by the remote server; meanwhile, the IoT device may also send the temperature data it collects to a remote server, so that the remote server may obtain and store the temperature data collected by the device. In addition, the WiFi information may include an SSID name, a password, other parameters, and the like, and the SSID name in the WiFi information may be different from a name of a WiFi hotspot searched and connected, and the password may not be a preset password. It can be understood that the searched and connected WiFi hotspot and the preset password are used for connecting the device and the remote server and receiving WiFi information sent by the remote server; after the device receives WiFi information sent by the remote server, the device can perform configuration based on the received WiFi information, and perform communication through a WiFi network corresponding to the WiFi information.
Further, in an implementation manner of this embodiment, the connecting with the remote server through the WiFi hotspot to perform configuration through the remote server specifically includes:
connecting a remote server through the WiFi hotspot;
if the remote server is successfully connected, configuration is carried out through the remote server;
and if the remote server is not successfully connected, storing the acquired temperature data and entering a dormant state.
Specifically, the connection of the remote server through the WiFi hotspot refers to the connection of the device with the remote server based on a network corresponding to the WiFi hotspot, and when the connection of the remote server is successful, the device communicates with the remote server and receives communication information sent by the remote server. The device is connected to a remote server through a WiFi hotspot, and the remote server may receive configuration information sent by an external device and send the configuration information to an IoT device to configure the device, where the configuration may include IoT device configuration and may also include other parameter configurations, such as temperature acquisition frequency, which are not necessarily described here. In addition, when the remote server is not connected successfully, the IoT equipment stores the acquired temperature data and enters a dormant state, and meanwhile, the equipment can establish connection with the remote server at intervals of preset time until the remote server is connected successfully or the connection times reach a preset time threshold value; and if the connection times reach a preset time threshold value, prompting that the remote server fails to connect. Wherein the preset time threshold is preset, for example, 5 times; the preset time is preset, for example, 2s or the like.
Further, in an implementation manner of this embodiment, the connecting with the remote server through the WiFi hotspot to perform configuration through the remote server specifically includes:
connecting a remote server through the WiFi hotspot;
and receiving configuration information sent by the remote server, and configuring according to the received configuration information, wherein the configuration information is sent to the remote server by the external equipment.
Specifically, the configuration information is sent by an external device to the remote server, where the external device may be a terminal device corresponding to the WiFi hotspot, or may be other devices connected to the remote server, for example, a PC, a mobile phone, and the like. In addition, the external device may perform configuration information by way of an applet, a web page, or the like. The remote server receives configuration information of the external device and sends the configuration information to the IoT device, and the device receives the configuration information sent by the remote server and configures according to the received configuration information.
Based on the configuration method of the IoT device, the present embodiment provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the configuration method of the IoT device according to the above embodiment.
Based on the configuration method of the IoT device, the present invention further provides a thermometer, as shown in fig. 3, including at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the thermometer, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the mobile terminal are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method of configuring an IoT device, the method comprising:
searching a preset number of WiFi hotspots when a configuration instruction of the IoT equipment is received;
verifying each searched WiFi hotspot based on a preset password;
and when a WiFi hotspot successfully verified exists, connecting with a remote server through the WiFi hotspot so as to carry out configuration through the remote server.
2. The configuration method of an IoT device according to claim 1, wherein the searching for the preset number of WiFi hotspots when receiving the configuration instruction of the IoT device specifically comprises:
searching all WiFi hotspots which can be connected within a preset range when a configuration instruction of an IoT device is received;
and selecting a preset number of WiFi hotspots according to the searched signal intensity of each WiFi hotspot.
3. The WiFi hotspot signal strength of claim 1, wherein the verifying each WiFi hotspot searched based on a preset password specifically comprises:
connecting the WiFi hotspots one by one based on a preset password according to the signal intensity of each WiFi hotspot;
and when the WiFi hotspot successfully connected exists, taking the WiFi hotspot successfully connected as the WiFi hotspot successfully verified.
4. The signal strength of the WiFi hotspots in claim 1, wherein before searching for a preset number of WiFi hotspots when receiving configuration instructions of an IoT device, the method comprises:
the method comprises the steps of configuring hotspot passwords of WiFi hotspots corresponding to external equipment into preset passwords in advance, and arranging the outside in a preset range to enable the WiFi hotspots corresponding to the external equipment to be searched.
5. The WiFi hotspot signal strength of claim 1, wherein the connecting the WiFi hotspots one by one based on a preset password according to the WiFi hotspot signal strength specifically comprises:
according to the signal intensity of each WiFi hotspot, connecting the WiFi hotspots one by one based on a preset password, and monitoring a control instruction for controlling the WiFi connection to stop;
if the control instruction is monitored, quitting the configuration of the IoT equipment;
and if the control instruction is not monitored and the verification is successful, connecting the WiFi hotspot with a remote server to carry out configuration through the remote server.
6. The signal strength of the WiFi hotspot of claim 5, wherein the method further comprises:
and if the control instruction is not monitored and the verification is successful, the control screen fails to display.
7. The signal strength of the WiFi hotspot of claim 1 or 5, wherein the connecting with the remote server through the WiFi hotspot to configure through the remote server specifically comprises:
connecting a remote server through the WiFi hotspot;
if the remote server is successfully connected, configuration is carried out through the remote server;
and if the remote server is not successfully connected, storing the acquired temperature data and entering a dormant state.
8. The signal strength of the WiFi hotspot of claim 1, wherein the connecting with the remote server through the WiFi hotspot to configure through the remote server specifically comprises:
connecting a remote server through the WiFi hotspot;
and receiving configuration information sent by the remote server, and configuring according to the received configuration information, wherein the configuration information is sent to the remote server by the external equipment.
9. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps in the configuration method of IoT devices recited in any of claims 1-8.
10. A temperature gauge, comprising: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor, when executing the computer readable program, implements the steps in the configuration method of the IoT device recited in any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010355408.6A CN111601311A (en) | 2020-04-29 | 2020-04-29 | Configuration method of IoT (Internet of things) equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010355408.6A CN111601311A (en) | 2020-04-29 | 2020-04-29 | Configuration method of IoT (Internet of things) equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111601311A true CN111601311A (en) | 2020-08-28 |
Family
ID=72183838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010355408.6A Pending CN111601311A (en) | 2020-04-29 | 2020-04-29 | Configuration method of IoT (Internet of things) equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111601311A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484115A (en) * | 2022-08-30 | 2022-12-16 | 海尔优家智能科技(北京)有限公司 | Binding method and device, storage medium and electronic device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219734A (en) * | 2014-09-15 | 2014-12-17 | 北京益杉科技有限公司 | Internet access method and device for internet device |
CN107529205A (en) * | 2017-08-29 | 2017-12-29 | 李悌荷 | A kind of Internet-surfing configuration method of the network equipment based on wifi hotspot |
CN109495950A (en) * | 2018-12-25 | 2019-03-19 | 奥克斯空调股份有限公司 | A kind of WIFI distribution prompt control method, device and WIFI equipment |
CN110139327A (en) * | 2019-05-06 | 2019-08-16 | 珠海奔图电子有限公司 | Connect method, apparatus, electronic equipment and the storage medium of hotspot |
CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
CN209608021U (en) * | 2019-04-02 | 2019-11-08 | 浙江捷诺电器股份有限公司 | A kind of Internet of Things intelligent socket |
CN110461025A (en) * | 2019-06-25 | 2019-11-15 | 深圳安吉尔饮水产业集团有限公司 | With network method, network distribution device, mobile terminal and smart machine |
CN110674012A (en) * | 2019-09-27 | 2020-01-10 | 珠海格力电器股份有限公司 | Information indication method, device and storage medium |
CN110798493A (en) * | 2018-08-02 | 2020-02-14 | 青岛经济技术开发区海尔热水器有限公司 | Network configuration method, device, terminal equipment and storage medium |
US20200076896A1 (en) * | 2018-09-04 | 2020-03-05 | Reliance Jio Infocomm Limited | SYSTEM AND METHOD OF INTERNET OF THINGS (IoT) |
-
2020
- 2020-04-29 CN CN202010355408.6A patent/CN111601311A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219734A (en) * | 2014-09-15 | 2014-12-17 | 北京益杉科技有限公司 | Internet access method and device for internet device |
CN107529205A (en) * | 2017-08-29 | 2017-12-29 | 李悌荷 | A kind of Internet-surfing configuration method of the network equipment based on wifi hotspot |
CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
CN110798493A (en) * | 2018-08-02 | 2020-02-14 | 青岛经济技术开发区海尔热水器有限公司 | Network configuration method, device, terminal equipment and storage medium |
US20200076896A1 (en) * | 2018-09-04 | 2020-03-05 | Reliance Jio Infocomm Limited | SYSTEM AND METHOD OF INTERNET OF THINGS (IoT) |
CN109495950A (en) * | 2018-12-25 | 2019-03-19 | 奥克斯空调股份有限公司 | A kind of WIFI distribution prompt control method, device and WIFI equipment |
CN209608021U (en) * | 2019-04-02 | 2019-11-08 | 浙江捷诺电器股份有限公司 | A kind of Internet of Things intelligent socket |
CN110139327A (en) * | 2019-05-06 | 2019-08-16 | 珠海奔图电子有限公司 | Connect method, apparatus, electronic equipment and the storage medium of hotspot |
CN110461025A (en) * | 2019-06-25 | 2019-11-15 | 深圳安吉尔饮水产业集团有限公司 | With network method, network distribution device, mobile terminal and smart machine |
CN110674012A (en) * | 2019-09-27 | 2020-01-10 | 珠海格力电器股份有限公司 | Information indication method, device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484115A (en) * | 2022-08-30 | 2022-12-16 | 海尔优家智能科技(北京)有限公司 | Binding method and device, storage medium and electronic device |
CN115484115B (en) * | 2022-08-30 | 2024-01-26 | 海尔优家智能科技(北京)有限公司 | Binding method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11888644B2 (en) | Network configuration method for home appliance, home appliance, mobile terminal, and storage medium | |
CN108476060B (en) | Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device | |
US10477599B2 (en) | Method and apparatus for managing wireless router and device connected thereto | |
US11510275B2 (en) | Configuration method for discontinuous reception parameters, terminal and network-side device | |
US11399026B2 (en) | Permission management method and system, and related device | |
KR101737746B1 (en) | Method, terminal, client, smart card and system for accessing wireless network | |
US20210068068A1 (en) | Home appliance and mobile terminal having application for registering the home appliance to server | |
CN104853373A (en) | Method and device for switching operating modes of wireless module | |
CN106664652B (en) | Method and terminal for awakening wireless fidelity network | |
CN106488534A (en) | Obtain the method and system of Network Access Point | |
CN111601311A (en) | Configuration method of IoT (Internet of things) equipment | |
US10938806B2 (en) | Communication method and device | |
EP3490305B1 (en) | Wireless fidelity (wi-fi) scanning method and related product | |
CN110392412B (en) | Network distribution method, device, equipment and medium for Internet of things equipment | |
CN105338527A (en) | Network access configuration method and system for Internet of Things module | |
US20170134383A1 (en) | Method and device for sharing a resource | |
CN114449657A (en) | Method and device for establishing policy association, terminal and network side equipment | |
CN105429954A (en) | Eyeball registration method and device | |
CN113079500B (en) | Terminal activation method and device, storage medium and electronic equipment | |
CN112543514A (en) | Method and device for link recovery processing under narrowband Internet of things | |
CN112954692A (en) | Distribution network identifier generation method and device and terminal | |
KR20210092982A (en) | METHOD FOR CONTROLLING IoT APPARATUS USING WIRELESS REMOTE CONTROLLER OF LOW-POWER, IoT HUB and IoT SYSTEM | |
CN111770522B (en) | Method, device, terminal and storage medium for identifying data dialing abnormality | |
EP4354921A1 (en) | Information processing method, and key material obtaining method and device | |
EP4319230A1 (en) | Key material processing method, acquisition method, information transmission 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 |