CN113612849A - Network connection method and device of intelligent equipment, intelligent equipment and storage medium - Google Patents

Network connection method and device of intelligent equipment, intelligent equipment and storage medium Download PDF

Info

Publication number
CN113612849A
CN113612849A CN202110910072.XA CN202110910072A CN113612849A CN 113612849 A CN113612849 A CN 113612849A CN 202110910072 A CN202110910072 A CN 202110910072A CN 113612849 A CN113612849 A CN 113612849A
Authority
CN
China
Prior art keywords
communication
network connection
intelligent
network
user equipment
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
Application number
CN202110910072.XA
Other languages
Chinese (zh)
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.)
Midea Intelligent Lighting and Controls Technology Co Ltd
Original Assignee
Midea Intelligent Lighting and Controls 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 Midea Intelligent Lighting and Controls Technology Co Ltd filed Critical Midea Intelligent Lighting and Controls Technology Co Ltd
Priority to CN202110910072.XA priority Critical patent/CN113612849A/en
Publication of CN113612849A publication Critical patent/CN113612849A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks

Landscapes

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

Abstract

The disclosure relates to a network connection method and device of an intelligent device, the intelligent device and a storage medium. The network connection method of the intelligent equipment comprises the following steps: the method comprises the steps of performing communication connection with user equipment through a first communication mode; receiving network connection information sent by the user equipment; and based on the network connection information, the target network node is in communication connection with the network terminal through a second communication mode. According to the embodiment of the disclosure, the intelligent device is in communication connection with the user equipment through the first communication mode, and network connection is performed according to the received network connection information sent by the user equipment, so that the step of connecting the intelligent device to the network by the user is simplified, and the problem of networking failure caused by complexity and difference of network connection of the intelligent device is solved.

Description

Network connection method and device of intelligent equipment, intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of internet of things technologies, and in particular, to a network connection method and apparatus for an intelligent device, and a storage medium.
Background
With the development of the technology of the internet of things, intelligent devices based on the internet of things, such as intelligent televisions, intelligent air conditioners, intelligent refrigerators, intelligent water heaters and the like, are increasing. In order to facilitate and quickly implement control of these smart devices, it is necessary to connect these smart devices to a network.
Currently, a user connects a smart device to a network with multiple steps, and the guiding steps for triggering the distribution network mode are different for different types of smart devices. Due to the complexity and diversity of smart device network connections, there is a problem of frequent networking failures.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a network connection method and apparatus for an intelligent device, and a storage medium.
The embodiment of the disclosure provides a network connection method of an intelligent device, which is applied to the intelligent device and comprises the following steps:
the method comprises the steps of performing communication connection with user equipment through a first communication mode;
receiving network connection information sent by the user equipment;
and based on the network connection information, the target network node is in communication connection with the network terminal through a second communication mode.
In some embodiments of the present disclosure, the first communication mode is different from the second communication mode.
In some embodiments of the present disclosure, the first communication method is a communication method supported by the user equipment selected from at least two communication methods, and the second communication method is a communication method supported by the target network node selected from at least two communication methods.
In some embodiments of the present disclosure, the method further comprises:
when the intelligent equipment meets a first preset condition, closing the first communication mode;
and when the intelligent equipment meets a second preset condition, starting the first communication mode.
In some embodiments of the present disclosure, the first preset condition includes: receiving an instruction for keeping network connection or receiving a shutdown instruction;
the second preset condition includes: and receiving a starting-up instruction or receiving an instruction for network connection.
In some embodiments of the present disclosure, before receiving the network connection information sent by the user equipment, the method further includes:
judging whether the signal intensity of the user equipment is greater than a preset intensity threshold value or not;
receiving network connection information sent by the user equipment, including:
and when the signal intensity of the user equipment is greater than a preset intensity threshold value, receiving the network connection information sent by the user equipment.
The embodiment of the disclosure provides a network connection method of an intelligent device, which is applied to user equipment and comprises the following steps:
the intelligent device is in communication connection with the intelligent device through a first communication mode;
and sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
In some embodiments of the present disclosure, before sending the network connection information to the smart device, the method further comprises:
acquiring the network connection state of the intelligent equipment;
determining whether the smart device is communicatively connected with the target network node based on the network connection status;
sending network connection information to the smart device, including:
and when the intelligent device is determined not to be in communication connection with the target network node, sending network connection information to the intelligent device.
In some embodiments of the present disclosure, before sending the network connection information to the smart device, the method further comprises:
the target network node is in communication connection with the target network node through a third communication mode;
obtaining the network connection information from the target network node.
The embodiment of the present disclosure provides a network connection device of an intelligent device, which is applied to the intelligent device, and includes:
the first connection module is used for being in communication connection with the user equipment in a first communication mode;
the information receiving module is used for receiving the network connection information sent by the user equipment;
and the second connection module is used for being in communication connection with the target network node in a second communication mode based on the network connection information.
The embodiment of the present disclosure provides a network connection device of an intelligent device, which is applied to a user equipment, and includes:
the third connecting module is used for being in communication connection with the intelligent equipment in a first communication mode;
and the information sending module is used for sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
The embodiment of the disclosure provides an intelligent device, which comprises a first control module and a first communication module, wherein the first control module is connected with the first communication module, and the first communication module at least supports a first communication mode and a second communication mode;
the first control module is used for being in communication connection with user equipment through a first communication mode; receiving network connection information sent by the user equipment; and based on the network connection information, the target network node is in communication connection with the network terminal through a second communication mode.
The embodiment of the present disclosure provides a user equipment, which includes a second control module and a second communication module, where the second control module is connected to the second communication module, and the second communication module at least supports a first communication mode;
the second control module is used for being in communication connection with the intelligent equipment in a first communication mode; and sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
The embodiment of the present disclosure provides a network system, which includes the user equipment, the network node and at least one intelligent device provided by the above embodiments.
The disclosed embodiments provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the network connection method for an intelligent device provided in any one of the above embodiments.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
according to the technical scheme, when the intelligent device is connected to the network, the intelligent device is firstly in communication connection with the user equipment through the first communication mode, the user equipment sends network connection information of the network to be connected to the intelligent device, and the intelligent device is then in communication connection with the target network node through the second communication mode based on the network connection information, so that network connection of the intelligent device is achieved. Therefore, compared with the existing scheme, the technical scheme of the method and the device for the network distribution of the intelligent device does not need to trigger the network distribution mode of the intelligent device and wait for the network to discover the new device, and for various types of intelligent devices, the intelligent device directly performs network connection according to the network connection information, so that the step of connecting the intelligent device to the network by a user is simplified, and the problem of network connection failure caused by the complexity and difference of network connection of the intelligent device is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a network connection method for an intelligent device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another network connection method for an intelligent device according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a network connection device of an intelligent device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a network connection device of another intelligent device according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an intelligent device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a network system according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a flowchart of a network connection method for an intelligent device according to an embodiment of the present disclosure. The network connection method of the intelligent equipment is executed by the intelligent equipment, is suitable for the situation that the intelligent equipment carries out network connection for the first time, network connection is changed by the intelligent equipment, and network connection is carried out again after the intelligent equipment is disconnected from a network, can be applied to an Internet of things system, and realizes control of user equipment on the intelligent equipment. Specifically, as shown in fig. 1, the network connection method of the intelligent device includes the following steps:
and S110, communicating and connecting with the user equipment through a first communication mode.
The first communication mode may be a wireless connection between the smart device and the user equipment, and may employ Bluetooth (BLE) communication, Zigbee communication, Near Field Communication (NFC), or the like. In addition, the user equipment may be a mobile device that can be directly controlled by the user and can implement bidirectional wireless communication, including a mobile phone, a remote controller, a laptop computer, and the like.
For example, the first communication mode is turned on by default when the smart device is used for the first time, and the first communication mode can be checked from the use instruction of the smart device or the communication mode marked on the smart device. And the user starts the same communication mode on the user equipment according to the first communication mode, so that the intelligent equipment is in communication connection with the user equipment through the first communication mode.
And S120, receiving the network connection information sent by the user equipment.
After the intelligent device is in communication connection with the user device through the first communication mode, the user device can automatically send default network connection information to the intelligent device, or a user selects one piece of network connection information stored in advance on the user device and sends the network connection information to the intelligent device. The network connection information may include node information and network information of a target network node (e.g., a gateway), the node information may include address information of the target network node (for a Zigbee network, an address of the gateway is fixed, and when the smart device is not connected to the network for the first time, the user device may not need to send the node information), and the network information may include information such as a network identifier, a communication channel, and a network key.
In some embodiments of the present disclosure, after the smart device is in communication connection with the user equipment through the first communication mode and before receiving the network connection information sent by the user equipment, the smart device may receive a network connection state acquisition request sent by the user equipment, and the smart device feeds back a current network connection state of the smart device to the user equipment in response to the network connection state acquisition request. The network connection status may include, among other things, unconnected, network connection failed, or connected and the network nodes to which it is connected. And then the user equipment judges whether the intelligent equipment is in communication connection with the target network node or not based on the network connection state. Illustratively, when the network connection state is non-networking, network connection failure or the connected network node is not the target network node, the user equipment determines that the intelligent device is not in communication connection with the target network node, and at this time, the user equipment sends network connection information to the intelligent device so that the intelligent device is connected to the target network node through the first connection mode.
In some embodiments of the present disclosure, the network connection information is obtained by the user equipment from the target network node, and the user equipment is in communication connection with the target network node through a third communication mode. For example, the third communication mode may be the same as the second communication mode, or may be different from both the second communication mode and the first communication mode. The user equipment is in communication connection with the target network node through a third communication mode, firstly, network connection information is obtained from the target network node and used for the intelligent equipment to be connected to a network where the target network node is located, and secondly, a control instruction is sent to the intelligent equipment through the target network node so that the intelligent equipment can execute a function corresponding to the control instruction.
And S130, based on the network connection information, performing communication connection with the target network node through a second communication mode.
The second communication mode may be wireless connection between the intelligent device and the target network node, and may adopt Bluetooth (BLE) communication, Zigbee communication, and the like. The target network node may be a master node, e.g. a gateway, in the network system to be connected.
Illustratively, after the intelligent device acquires the network connection information, the network connection information is written into a memory, and then a data packet carrying the intelligent device information is sent to an indicated target network node based on the configuration of the network connection information, the target network node receives the data packet and records the intelligent device information, so that the communication connection with the intelligent device is realized, and the intelligent device is accessed into a network system.
The first communication method is the same as the second communication method. Based on the above technical solutions, in some embodiments of the present disclosure, when the smart device is connected to the (internet of things) network for the first time, the smart device receives network connection information sent by the user equipment through the first communication mode, and under the condition that the smart device can normally communicate with the user equipment in the first communication mode, the smart device can still be in communication connection with the target network node in the first communication mode.
The first communication method is different from the second communication method. Based on the above technical solutions, in some embodiments of the present disclosure, when the smart device is not connected to the internet of things for the first time, for example, when the smart device is connected to the network through the second communication method but the network connection is disconnected (network drop) due to data loss, the smart device cannot establish connection with the user equipment through the second communication method, and thus cannot receive network connection information that the user equipment needs to send, and further cannot re-network the smart device. Therefore, by setting two or more communication modes for the smart device, it is possible to establish a connection with the smart device through another different communication mode and to re-network based on the network connection information transmitted by the smart device in the case where the connection with the network node through one communication mode is interrupted. Illustratively, the intelligent device comprises a first communication mode and a second communication mode which are different, and after the connection between the intelligent device and the network node through the second communication mode is interrupted, the intelligent device can establish connection with the user equipment through the first communication mode which is different from the second communication mode, so that the network connection information sent by the user equipment can be acquired, and the network connection is performed again based on the network connection information. In one embodiment, two or more communication modes are implemented on one communication module (for example, the first communication module includes an internet of things module and an antenna) of the smart device, and the smart device can only be communicatively connected with the user equipment or the target network node through one of the communication modes at the same time. Thus, two or more communication modes are integrated on one communication module, so that the cost of the communication module can be effectively reduced, and the volume of the communication module can be reduced.
In the network connection method for the intelligent device provided by this embodiment, when the intelligent device is connected to a network, the intelligent device is first in communication connection with the user equipment through a first communication mode, the user equipment sends network connection information of a network to be connected to the intelligent device, and then the intelligent device is in communication connection with a target network node through a second communication mode based on the network connection information, so as to implement network connection of the intelligent device. Therefore, compared with the existing scheme, the technical scheme of the method and the device for the network distribution of the intelligent device does not need to trigger the network distribution mode of the intelligent device and wait for the network to discover the new device, and for various types of intelligent devices, the intelligent device directly performs network connection according to the network connection information, so that the step of connecting the intelligent device to the network by a user is simplified, and the problem of network connection failure caused by the complexity and difference of network connection of the intelligent device is solved.
Based on the foregoing technical solutions, in some embodiments of the present disclosure, the first communication method is a communication method supported by a user equipment selected from at least two communication methods, and the second communication method is a communication method supported by a target network node selected from the at least two communication methods.
Illustratively, before the intelligent device establishes connection with the user equipment or the target network node, a communication mode request is sent to the user equipment or the target network node to obtain a communication mode supported by the user equipment or the target network node, then a first communication mode is selected from at least two communication modes to establish connection with the user equipment, a second communication mode is selected from the at least two communication modes to establish connection with the target network node, and thus compatibility of the intelligent device with various network nodes and various user equipment is achieved.
In some embodiments of the present disclosure, the method further comprises: when the intelligent equipment meets a first preset condition, closing the first communication mode; and when the intelligent equipment meets a second preset condition, starting the first communication mode.
In the embodiment of the disclosure, in order to ensure that the user can control the intelligent device to work at any time through the user device, the second communication mode is always started regardless of the state of the intelligent device. Under the condition that the first communication mode and the second communication mode are different, the first communication mode is started under the consideration of partial scenes, and the problem that the intelligent device mistakenly receives network connection information sent by the user equipment to cause the original network connection information of the intelligent device to be rewritten exists, so that the normally-connected intelligent device abnormally changes network connection. For example, after the intelligent device is powered off, the second communication mode is kept in an on state to receive the power-on instruction. However, if the first communication mode is still in an open state, that is, the smart device may communicate with the user device in real time, due to a user misoperation or the like, the smart device may send network connection information different from current network connection information of the smart device to the smart device, and the smart device may be connected to a new network node based on the new network connection information, so that the smart device may change network connection uncontrollably, and the smart device may be out of control due to a failure of a control instruction sent by the user device to the smart device through an original network node. For another example, the intelligent device 1 and the intelligent device 2 are both connected to the internet of things network, the intelligent device 1 and the intelligent device 2 are both in communication connection with the user equipment through the first communication mode, and if the intelligent device 1 needs to be connected with the network node a, the network connection of the intelligent device 2 is changed to the network node B. At this time, if the first communication mode of the intelligent device 1 is still turned on, the user equipment may simultaneously send the network connection information related to the network node B to the intelligent device 1, so that the intelligent device 1 changes the network connection based on the network connection information and connects to the network node B, and similarly, the intelligent device 1 may be out of control. Therefore, in the embodiment of the present disclosure, by setting that when the smart device satisfies the first preset condition, the first communication mode is closed, and optionally, the first preset condition includes: the method has the advantages that the network connection stability of the intelligent equipment is improved after the instruction for keeping the network connection is received (the user equipment sends the instruction through the target network node) or the shutdown instruction is received (the user equipment sends the instruction through the target network node), the network connection information of the intelligent equipment is prevented from being changed mistakenly, the intelligent equipment is prevented from being out of control, and the intelligent equipment is ensured to work normally. In addition, in order to ensure that the intelligent device can normally change network connection or reconnect the network, when the intelligent device meets a second preset condition, the first communication mode is started. Similarly, the second preset condition includes: and receiving a starting-up instruction or receiving an instruction for network connection.
In some embodiments of the present disclosure, before receiving the network connection information sent by the user equipment, the method further includes: and judging whether the signal intensity of the user equipment is greater than a preset intensity threshold value or not.
Correspondingly, receiving the network connection information sent by the user equipment includes: and when the signal intensity of the user equipment is greater than a preset intensity threshold value, receiving the network connection information sent by the user equipment.
In the case where the first communication method and the second communication method are different, when the first communication method is kept in the on state, the network connection information of the smart device may be erroneously rewritten as described in the above embodiment. Based on this, in the case of not turning off the first communication mode, the embodiment of the present disclosure may determine whether to accept the network connection information sent by the user equipment by determining the signal strength of the user equipment. For example, when a user needs to connect a certain smart device to a network or change a network connection, the user may hold the user device close to the smart device, the closer the user device is to the smart device, the greater the signal strength (e.g., bluetooth signal, NFC signal, etc.) of the user device detected by the smart device is, and when the signal strength of the user device is greater than a preset strength threshold, the smart device enters a state where the user device can receive network connection information sent by the user device, and waits for the user device to send the network connection information; and when the signal intensity of the user equipment is smaller than or equal to the preset intensity threshold value, the intelligent equipment shields the network connection information sent by the user equipment. Therefore, the intelligent equipment which does not need to be replaced for network connection can be effectively prevented from rewriting network connection information, the stability of network connection of the intelligent equipment is improved, the intelligent equipment is prevented from being out of control, and the normal work of the intelligent equipment is ensured. It can be understood that the preset intensity threshold may be a factory setting value of the intelligent device, or may be set by a user according to a placement position of each intelligent device, or the like.
Fig. 2 is a flowchart of another network connection method for an intelligent device according to an embodiment of the present disclosure. The network connection method of the intelligent device is executed by user equipment, and the user equipment can be mobile equipment which can be directly controlled by a user and can realize bidirectional wireless communication, and comprises a mobile phone, a remote controller, a portable computer and the like. As shown in fig. 2, the network connection method of the smart device includes the following steps:
s210, the intelligent device is in communication connection with the intelligent device through a first communication mode.
The first communication mode may be a wireless connection between the smart device and the user equipment, and may employ Bluetooth (BLE) communication, Zigbee communication, Near Field Communication (NFC), or the like.
S220, sending the network connection information to the intelligent device so that the intelligent device is in communication connection with the target network node through a second communication mode based on the network connection information.
After the intelligent device is in communication connection with the user device through the first communication mode, the user device can automatically send default network connection information to the intelligent device, or a user selects one piece of network connection information stored in advance on the user device and sends the network connection information to the intelligent device. The network connection information may include node information and network information of a target network node (e.g., a gateway), the node information may include address information of the target network node (for a Zigbee network, an address of the gateway is fixed, and when the smart device is not connected to the network for the first time, the user device may not need to send the node information), and the network information may include information such as a network identifier, a communication channel, and a network key.
In some embodiments of the present disclosure, before sending network connection information to the smart device, the user equipment obtains a network connection state of the smart device; judging whether the intelligent equipment is in communication connection with the target network node or not based on the network connection state; sending network connection information to the intelligent device, including: and when the intelligent device is determined not to be in communication connection with the target network node, sending network connection information to the intelligent device. Specifically, after the user equipment is in communication connection with the intelligent equipment through the first communication mode, the user equipment sends a network connection state acquisition request to the intelligent equipment to request the intelligent equipment to return to the network connection state of the intelligent equipment. When the network connection state received by the user equipment is non-networking, network connection failure or the connected network node is not the target network node, the user equipment determines that the intelligent equipment is not in communication connection with the target network node, and at the moment, the user equipment sends network connection information to the intelligent equipment so that the intelligent equipment is connected to the target network node through a first connection mode.
In some embodiments of the present disclosure, the second communication mode may wirelessly connect the intelligent device with the target network node, and may employ Bluetooth (BLE) communication, Zigbee communication, and the like. The target network node may be a master node, e.g. a gateway, in the network system to be connected. Optionally, the first communication mode is different from the second communication mode. In this way, by setting two or more communication modes for the intelligent device, when the connection with the network node through one communication mode is interrupted, the connection with the intelligent device through another different communication mode can be established, and the network is reconnected based on the network connection information sent by the intelligent device.
In some embodiments of the present disclosure, before sending the network connection information to the smart device, the method further comprises: the target network node is in communication connection with a third communication mode; network connection information is obtained from a target network node. Specifically, the third communication mode may be the same as the second communication mode, or different from both the second communication mode and the first communication mode. The user equipment is in communication connection with the target network node through a third communication mode, firstly, network connection information is obtained from the target network node and used for the intelligent equipment to be connected to a network where the target network node is located, and secondly, a control instruction is sent to the intelligent equipment through the target network node so that the intelligent equipment can execute a function corresponding to the control instruction.
In the network connection method for the intelligent device provided by this embodiment, when the intelligent device is connected to a network, the intelligent device is first in communication connection with the user equipment through a first communication mode, the user equipment sends network connection information of a network to be connected to the intelligent device, and then the intelligent device is in communication connection with a target network node through a second communication mode based on the network connection information, so as to implement network connection of the intelligent device. Therefore, compared with the existing scheme, the technical scheme of the method and the device for the network distribution of the intelligent device does not need to trigger the network distribution mode of the intelligent device and wait for the network to discover the new device, and for various types of intelligent devices, the intelligent device directly performs network connection according to the network connection information, so that the step of connecting the intelligent device to the network by a user is simplified, and the problem of network connection failure caused by the complexity and difference of network connection of the intelligent device is solved.
Fig. 3 is a schematic structural diagram of a network connection device of an intelligent device according to an embodiment of the present disclosure. As shown in fig. 3, the network connection device of the intelligent device is applied to the intelligent device and comprises a first connection module 11, an information receiving module 12 and a second connection module 13;
the first connection module 11 is configured to be in communication connection with a user equipment through a first communication mode;
an information receiving module 12, configured to receive network connection information sent by a user equipment;
and the second connection module 13 is configured to be in communication connection with the target network node in a second communication manner based on the network connection information.
In some embodiments of the present disclosure, the first communication means is different from the second communication means.
In some embodiments of the present disclosure, the first communication method is a communication method supported by the user equipment selected from the at least two communication methods, and the second communication method is a communication method supported by the target network node selected from the at least two communication methods.
In some embodiments of the disclosure, the apparatus further comprises:
the communication mode switch control module is used for closing the first communication mode when the intelligent equipment meets a first preset condition; and when the intelligent equipment meets a second preset condition, starting the first communication mode.
In some embodiments of the present disclosure, the first preset condition includes: receiving an instruction for keeping network connection or receiving a shutdown instruction;
the second preset condition includes: and receiving a starting-up instruction or receiving an instruction for network connection.
In some embodiments of the disclosure, the apparatus further comprises:
the signal strength judging module is used for judging whether the signal strength of the user equipment is greater than a preset strength threshold value before receiving the network connection information sent by the user equipment;
correspondingly, the information receiving module 12 is specifically configured to:
and when the signal intensity of the user equipment is greater than a preset intensity threshold value, receiving the network connection information sent by the user equipment.
In some embodiments of the present disclosure, the network connection information includes node information and network information acquired by the user equipment from the target network node, and the user equipment is in communication connection with the target network node through a third communication mode.
The network connection device of the intelligent device provided in the above embodiment can execute the network connection method of the intelligent device provided in the above embodiment, and has the same or corresponding beneficial effects, and is not described herein again to avoid repetition.
Fig. 4 is a schematic structural diagram of another network connection device of an intelligent device according to an embodiment of the present disclosure. As shown in fig. 4, the network connection device of the intelligent device is applied to the user equipment and comprises a third connection module 21 and an information sending module 22;
the third connection module 21 is configured to be in communication connection with the intelligent device through a first communication mode;
and the information sending module 22 is configured to send the network connection information to the intelligent device, so that the intelligent device is in communication connection with the target network node through a second communication mode based on the network connection information.
In some embodiments of the disclosure, the apparatus further comprises:
the network connection state acquisition module is used for acquiring the network connection state of the intelligent equipment before sending the network connection information to the intelligent equipment;
the network connection judging module is used for judging whether the intelligent equipment is in communication connection with the target network node or not based on the network connection state;
the information sending module 22 is specifically configured to include:
and when the intelligent device is determined not to be in communication connection with the target network node, sending network connection information to the intelligent device.
In some embodiments of the disclosure, the apparatus further comprises:
the fourth connection module is used for being in communication connection with the target network node in a third communication mode before the network connection information is sent to the intelligent equipment;
and the network connection information acquisition module is used for acquiring the network connection information from the target network node.
The network connection device of the intelligent device provided in the above embodiment can execute the network connection method of the intelligent device provided in the above embodiment, and has the same or corresponding beneficial effects, and is not described herein again to avoid repetition.
Fig. 5 is a block diagram of an intelligent device according to an embodiment of the present disclosure. As shown in fig. 5, the smart device 30 includes a first control module 31 and a first communication module 32, the first control module 31 is connected to the first communication module 32, and the first communication module 32 supports at least a first communication mode and a second communication mode;
the first control module 31 is used for being in communication connection with user equipment 34 (such as wireless terminal equipment such as a mobile phone, a remote controller and a laptop computer) through a first communication mode; receiving network connection information sent by the user equipment 34; and based on the network connection information, the target network node 35 (such as a master node of the internet of things) is in communication connection through a second communication mode.
In some embodiments, referring to fig. 5, the first control module 31 may include a logic control module 311 and a memory module 312, the logic control module 311 and the memory module 312 are connected, and the logic control module 311 may perform the network connection method of the smart device provided in any embodiment of the present disclosure. Upon receiving the network connection information, the smart device 30 writes the network connection information to the memory module 312. The first communication module 32 may include an internet of things module 321 and an antenna 322, an input end of the internet of things module 321 is connected with an output end of the logic control module 311, and an output end of the internet of things module 321 is connected with the antenna 322. The first communication mode and the second communication mode may be integrated on the module 321 of the internet of things, and at the same time, the logic control module 311 may only select the first communication mode or the second communication mode to transmit or receive signals through the antenna 322. In addition, the smart device 30 may further include a power supply module 33, where the power supply module 33 supplies power to the logic control module 311 and the internet of things module 321.
In the embodiment of the present disclosure, the smart device 30 may include an internet of things smart device such as a smart television, a smart refrigerator, a smart air conditioner, a smart water heater, and a smart camera.
The intelligent device provided by the embodiment of the present disclosure can execute the network connection method of the intelligent device provided by each of the above embodiments, and has the same or corresponding beneficial effects, and is not described herein again in order to avoid repetition.
Fig. 6 is a block diagram of a network system according to an embodiment of the present disclosure. As shown in fig. 6, the network system 40 may include a user device 41, a network node 42, and at least one intelligent device 43 provided in the above embodiments (only the intelligent device 1, the intelligent device 2, and the intelligent device 3 are schematically shown in the figure). The user device 41 can be communicatively connected to the smart device 43 via a first communication means, the smart device 43 can be communicatively connected to the network node 42 via a second communication means, and the user device 41 can be communicatively connected to the network node 42 via a third communication means. The first communication mode may be different from the second communication mode, and the third communication mode may be the same as the second communication mode.
Based on the foregoing embodiments of the present disclosure, in a specific embodiment of the present disclosure, the network system 40 is an internet of things system, the network node 42 is a gateway, when the gateway is in a normal on-network state, the user may connect the user equipment 41 to the gateway in a third communication manner, and the user equipment 41 obtains network connection information from the gateway. When the user connects one or more intelligent devices 43 to the internet of things system, the user can use the user device 41 to be in communication connection with the intelligent device 43 through a first communication mode (such as bluetooth communication or NFC communication). During the process that the user equipment 41 approaches the smart device 43, the smart device 43 may detect that the signal strength of the user equipment 41 gradually increases, and when the signal strength is greater than a preset strength threshold, the smart device 43 enters a state where the network connection information sent by the user equipment may be received. After receiving the network connection information, the smart device 43 writes the network connection information into a memory of the smart device 43, and then performs communication connection with the gateway through a second communication method (for example, Zigbee communication) based on the network connection information, thereby completing network establishment between the smart device 43 and the gateway, so that the smart device 43 accesses the internet of things system.
When the intelligent device is connected to the network, the network system provided by the embodiment of the disclosure firstly connects the intelligent device with the user device in a communication manner through the first communication mode, the user device sends the network connection information of the network to be connected to the intelligent device, and then the intelligent device is connected with the target network node in a communication manner through the second communication mode based on the network connection information, so as to realize the network connection of the intelligent device. Therefore, the intelligent device network distribution mode does not need to be triggered and new devices do not need to be found by the network, and for various types of intelligent devices, the intelligent devices are directly connected with the network according to the network connection information, so that the step of connecting the intelligent devices to the network by a user is simplified, and the problem of networking failure caused by complexity and difference of network connection of the intelligent devices is solved.
In addition, the embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the network connection method of the intelligent device provided in any of the above embodiments are implemented.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present disclosure can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a computer software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and the like, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, and the like) to execute the methods described in the embodiments of the present disclosure.
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 foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. 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 disclosure. Thus, the present disclosure 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 (15)

1. A network connection method of an intelligent device is applied to the intelligent device and is characterized by comprising the following steps:
the method comprises the steps of performing communication connection with user equipment through a first communication mode;
receiving network connection information sent by the user equipment;
and based on the network connection information, the target network node is in communication connection with the network terminal through a second communication mode.
2. The method of claim 1, wherein the first communication mode is different from the second communication mode.
3. The method according to claim 2, wherein the first communication method is a communication method supported by the user equipment selected from at least two communication methods, and the second communication method is a communication method supported by the target network node selected from at least two communication methods.
4. The method of claim 2, further comprising:
when the intelligent equipment meets a first preset condition, closing the first communication mode;
and when the intelligent equipment meets a second preset condition, starting the first communication mode.
5. The method according to claim 4, wherein the first preset condition comprises: receiving an instruction for keeping network connection or receiving a shutdown instruction;
the second preset condition includes: and receiving a starting-up instruction or receiving an instruction for network connection.
6. The method of claim 1, wherein before receiving the network connection information sent by the user equipment, the method further comprises:
judging whether the signal intensity of the user equipment is greater than a preset intensity threshold value or not;
receiving network connection information sent by the user equipment, including:
and when the signal intensity of the user equipment is greater than a preset intensity threshold value, receiving the network connection information sent by the user equipment.
7. A network connection method of intelligent equipment is applied to user equipment and is characterized by comprising the following steps:
the intelligent device is in communication connection with the intelligent device through a first communication mode;
and sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
8. The method of claim 7, wherein prior to sending network connection information to the smart device, the method further comprises:
acquiring the network connection state of the intelligent equipment;
determining whether the smart device is communicatively connected with the target network node based on the network connection status;
sending network connection information to the smart device, including:
and when the intelligent device is determined not to be in communication connection with the target network node, sending network connection information to the intelligent device.
9. The method of claim 7, wherein prior to sending network connection information to the smart device, the method further comprises:
the target network node is in communication connection with the target network node through a third communication mode;
obtaining the network connection information from the target network node.
10. The utility model provides a network connection device of smart machine, is applied to smart machine which characterized in that includes:
the first connection module is used for being in communication connection with the user equipment in a first communication mode;
the information receiving module is used for receiving the network connection information sent by the user equipment;
and the second connection module is used for being in communication connection with the target network node in a second communication mode based on the network connection information.
11. A network connection device of intelligent equipment is applied to user equipment and is characterized by comprising:
the third connecting module is used for being in communication connection with the intelligent equipment in a first communication mode;
and the information sending module is used for sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
12. The intelligent device is characterized by comprising a first control module and a first communication module, wherein the first control module is connected with the first communication module, and the first communication module at least supports a first communication mode and a second communication mode;
the first control module is used for being in communication connection with user equipment through a first communication mode; receiving network connection information sent by the user equipment; and based on the network connection information, the target network node is in communication connection with the network terminal through a second communication mode.
13. The user equipment is characterized by comprising a second control module and a second communication module, wherein the second control module is connected with the second communication module, and the second communication module at least supports a first communication mode;
the second control module is used for being in communication connection with the intelligent equipment in a first communication mode; and sending network connection information to the intelligent equipment so that the intelligent equipment is in communication connection with the target network node through a second communication mode based on the network connection information.
14. A network system comprising a user equipment according to claim 13, a network node and at least one smart device according to claim 12.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN202110910072.XA 2021-08-09 2021-08-09 Network connection method and device of intelligent equipment, intelligent equipment and storage medium Pending CN113612849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110910072.XA CN113612849A (en) 2021-08-09 2021-08-09 Network connection method and device of intelligent equipment, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110910072.XA CN113612849A (en) 2021-08-09 2021-08-09 Network connection method and device of intelligent equipment, intelligent equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113612849A true CN113612849A (en) 2021-11-05

Family

ID=78307756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110910072.XA Pending CN113612849A (en) 2021-08-09 2021-08-09 Network connection method and device of intelligent equipment, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113612849A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340034A (en) * 2021-12-14 2022-04-12 美的集团(上海)有限公司 Network distribution method, network distribution device, robot and charging base

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703295A (en) * 2015-03-30 2015-06-10 小米科技有限责任公司 Network access method and network access device
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN110868748A (en) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 Intelligent equipment network access method, device, equipment, system and medium
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network
US20210029751A1 (en) * 2019-07-23 2021-01-28 Shenzhen Heqiang Electronics Limited Method for automatic connection between smart device and router, corresponding router and smart device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703295A (en) * 2015-03-30 2015-06-10 小米科技有限责任公司 Network access method and network access device
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
US20210029751A1 (en) * 2019-07-23 2021-01-28 Shenzhen Heqiang Electronics Limited Method for automatic connection between smart device and router, corresponding router and smart device
CN110868748A (en) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 Intelligent equipment network access method, device, equipment, system and medium
CN111246545A (en) * 2020-01-21 2020-06-05 华为技术有限公司 Method, medium, control terminal and system for guiding intelligent device to access network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340034A (en) * 2021-12-14 2022-04-12 美的集团(上海)有限公司 Network distribution method, network distribution device, robot and charging base
CN114340034B (en) * 2021-12-14 2023-09-01 美的集团(上海)有限公司 Distribution network method, distribution network device, robot and charging seat

Similar Documents

Publication Publication Date Title
CN110636486B (en) Method for establishing communication connection after equipment is offline and intelligent home system
JP5145352B2 (en) Method and system for selecting each device of a wireless network, in particular a network of wireless lighting devices
WO2021243968A1 (en) Network distribution method of home appliance, terminal, storage medium, and home appliance
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
JP6682862B2 (en) Wireless communication terminal, wireless communication system, and wireless communication program
CN108011726A (en) A kind of household electrical appliances distribution method and system
CN103686674A (en) Network access method, intelligent terminal and WiFi access equipment
US20090119427A1 (en) Radio Communication Apparatus, Communication Control Method, and Computer-Readable Program
JP2009135783A (en) Communication adapter and connection information setting method thereof
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
CN113965895B (en) Bluetooth connection switching method, equipment and storage medium
WO2016095286A1 (en) Method, device and terminal for controlling intelligent household devices
CN109974206B (en) Air conditioning system, control method thereof, control terminal and storage medium
WO2021042612A1 (en) Wireless screen projection method and apparatus, device and storage medium
CN105791454A (en) Binding method and apparatus for intelligent terminal
CN113612849A (en) Network connection method and device of intelligent equipment, intelligent equipment and storage medium
CN104980994A (en) Equipment control method, device and mobile terminal
CN113915907A (en) Refrigerator and refrigerator networking method
CN112448845B (en) Internet of things network distribution method based on IGRS standard, intelligent terminal and storage medium
WO2022000938A1 (en) Network distribution method, storage medium, household appliance, mobile terminal, and network distribution system
CN107493394B (en) System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi
CN115220360A (en) Household appliance pairing method and device, server and storage medium
CN105357078A (en) Detection method and system of network state of intelligent equipment
CN113129578A (en) Matching method, control method, system and storage medium of infrared equipment
US20240244697A1 (en) Electronic device and Bluetooth communication method having automatic re-connection activating mechanism

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