CN114125883A - Network access method and device of intelligent device, electronic device and storage medium - Google Patents

Network access method and device of intelligent device, electronic device and storage medium Download PDF

Info

Publication number
CN114125883A
CN114125883A CN202010903092.XA CN202010903092A CN114125883A CN 114125883 A CN114125883 A CN 114125883A CN 202010903092 A CN202010903092 A CN 202010903092A CN 114125883 A CN114125883 A CN 114125883A
Authority
CN
China
Prior art keywords
network
network access
access configuration
mode
network mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010903092.XA
Other languages
Chinese (zh)
Other versions
CN114125883B (en
Inventor
韩宇航
林羽帆
廖志峰
张强
杨思淙
洪培鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Midea Smart Home Technology Co Ltd
Original Assignee
Midea Group Co Ltd
Midea Smart Home 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 Group Co Ltd, Midea Smart Home Technology Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202010903092.XA priority Critical patent/CN114125883B/en
Publication of CN114125883A publication Critical patent/CN114125883A/en
Application granted granted Critical
Publication of CN114125883B publication Critical patent/CN114125883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The invention relates to the technical field of communication, and provides a network access method and device of intelligent equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; and receiving and storing the network access storage data of the second network mode sent by the target intelligent equipment. The embodiment provides a network access method and device of an intelligent device, an electronic device and a storage medium, which can perform interaction of network access configuration of a second network mode with a cloud based on an established communication link to complete network access configuration, thereby reducing a network access configuration process of the second network mode of the intelligent device when a user operates on network access configuration interfaces of other terminal devices, and shortening the time for the user to operate the terminal device.

Description

Network access method and device of intelligent device, electronic device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network access method and apparatus for an intelligent device, an electronic device, and a storage medium.
Background
At present, intelligent equipment in the market is provided with a plurality of wireless modes, and the wireless use modes of the intelligent equipment need to complete corresponding network access configuration firstly.
For such an intelligent device, the network access configuration adopts a method of implementing software control by means of other terminal devices to implement network access configuration in a certain network mode with the cloud. For example, a user uses a mobile terminal to operate on a network access configuration interface on an APP to complete Wifi network access configuration, and then operates on the network access configuration interface on the APP to complete BLE mesh network access configuration.
The method can increase the operation time of the user on other terminals and reduce the network access configuration experience of the user.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the network access method of the intelligent device provided by the invention can realize the network access configuration of the second network mode with the cloud terminal without software operation and control by other terminal devices after the communication link is established between the intelligent device and the cloud terminal, and can realize the interaction of the network access configuration of the second network mode with the cloud terminal based on the established communication link to complete the network access configuration, so that the network access configuration process of the second network mode of the intelligent device is realized by reducing the operation of a user on the network access configuration interfaces of other terminal devices, and the time for the user to operate the terminal device is shortened.
The invention also provides a network access device of the intelligent equipment.
The network access method of the intelligent device in the embodiment of the first aspect of the invention comprises the following steps:
receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
and receiving and storing network access storage data of a second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
The network access method of the intelligent device provided by the embodiment of the invention also has the following additional technical characteristics:
further, the network access configuration request of the second network mode includes device identification and device element information, and accordingly, the sending network access configuration information of the second network mode to the target intelligent device according to the network access configuration request of the second network mode includes:
and determining that the target intelligent device is the intelligent device which does not finish the network access configuration of the second network mode according to the device identification, generating network access configuration information of the second network mode according to the device element information, and sending the network access configuration information of the second network mode to the target intelligent device.
Further, still include: and generating scene data according to the network access storage data of the second network mode of the target intelligent device, and issuing the scene data to the target intelligent device, so that the target intelligent device forwards the scene data to the intelligent device in the second network mode under the same scene with the target intelligent device.
Further, the second network mode includes BLE mesh or ZigBee.
Further, the first network mode includes Wifi or 4G or 5G.
The network access method of the intelligent device in the embodiment of the second aspect of the invention comprises the following steps:
after a communication link with a cloud terminal is established by adopting a first network mode, sending a network access configuration request of a second network mode to the cloud terminal;
receiving network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode;
the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
The network access method of the intelligent device provided by the embodiment of the invention also has the following additional technical characteristics:
further, still include:
determining scene data sent by a cloud end, and forwarding the scene data to intelligent equipment in a second network mode under the same scene with target intelligent equipment;
and the scene data is generated by the cloud according to the network access storage data of the second network mode.
Further, the network access configuration request of the second network mode includes an equipment identifier and equipment element information, and correspondingly, the network access configuration information of the second network mode is generated according to the equipment element information when it is determined that the target intelligent equipment is the intelligent equipment which does not complete network access configuration of the second network mode according to the equipment identifier.
Further, the second network mode includes BLE mesh or ZigBee.
Further, the first network mode includes Wifi or 4G or 5G.
The network access device of the intelligent device in the third embodiment of the invention comprises:
the configuration module is used for receiving a network access configuration request of a second network mode sent by the target intelligent equipment and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
and the storage module is used for receiving and storing the network access storage data of the second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
The network access device of the intelligent device in the fourth aspect of the present invention includes:
the request module is used for sending a network access configuration request of a second network mode to the cloud after determining that a communication link with the cloud is established by adopting the first network mode;
the sending module is used for receiving the network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode;
the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
An electronic device according to an embodiment of the fifth aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the network access method of the intelligent device.
A non-transitory computer-readable storage medium according to a sixth aspect of the present invention stores thereon a computer program, which when executed by a processor implements the steps of the network access method of the smart device as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a network access method of an intelligent device according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an execution flow of a shortcut mode for Wifi network access configuration according to an embodiment of the present invention;
fig. 3 is another usage flowchart of a network access method of an intelligent device according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a complete flow of a network access method of an intelligent device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network access device of an intelligent device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network access device of an intelligent device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a schematic flowchart illustrating a network access method of an intelligent device according to an embodiment of the present invention, and referring to fig. 1, the method is applied to a cloud server (i.e., a cloud end), and includes the following steps:
s11, the cloud receives a network access configuration request of the second network mode sent by the target intelligent device, and sends network access configuration information of the second network mode to the target intelligent device according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
and S12, the cloud receives and stores the network access storage data of the second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
With respect to step S11 and step S12, it should be noted that, in the embodiment of the present invention, the smart device can implement network access configuration of multiple wireless network modes.
For example, the smart device is a Wifi + BLE mesh device, i.e., the device has both a Wifi module and a BLE module. Also for example, the smart device is a Wifi + ZigBee device, a Wifi + BLE mesh + ZigBee device, a 4G + BLE mesh device, etc., which are not mentioned herein.
In the embodiment of the invention, the intelligent equipment can be a refrigerator, an air conditioner, an intelligent sound box and the like.
In the embodiment of the invention, after the communication link with the cloud is established in the first network mode, the intelligent device can realize the network access configuration of the second network mode with the cloud without using other terminal devices to perform software control, and can perform the interaction of the network access configuration of the second network mode with the cloud based on the established communication link to complete the network access configuration.
In this regard, the smart device establishes a communication link with the cloud, and the first network mode adopted by the smart device includes Wifi or 4G or 5G.
The intelligent device is provided with a Wifi module, and needs to be controlled by means of mobile phone installation APP software, so that Wifi network access configuration of the intelligent device and a cloud end is achieved.
The intelligent device is provided with a 4G or 5G module, and can adopt a data flow mode and a cloud end to carry out network access configuration.
For example, if the Wifi Access configuration is adopted, the smart device is assumed to be a Wifi + BLE mesh device, which can be implemented in an AP (Access Point) mode or a shortcut (Easy-Connect) mode. Both of these modes are the modes adopted by the existing Wifi network access configuration. The following explanation is made for the shortcut mode, as follows:
fig. 2 is a schematic diagram illustrating an execution flow of the shortcut mode in this embodiment. Referring to fig. 2, it can be seen that:
connecting the mobile phone with Wifi, starting APP software, clicking 'adding new equipment', entering a configuration interface, inputting a Wifi password where the mobile phone is located, and requesting to distribute a network token.
And the Wifi module of the intelligent equipment is started to monitor all network data packets, and the Wifi lamp on the intelligent equipment flashes.
The mobile phone circularly sends the ssid/password/token through broadcasting and multicasting.
The intelligent device acquires configuration information through the UDP packet to capture the ssid/password/token, the Wifi lamp is turned off and connected with the router, and the Wifi lamp is normally on after the connection is successful. And sending a token, registering to the cloud, and logging in the MOTT server after successful registration.
And the mobile phone goes to the cloud end to search the equipment according to the token and returns the equipment information.
After a communication link between the intelligent device and the cloud is established, the intelligent device sends a network access configuration request of a second network mode to the cloud. The request is generated according to the protocol specification definition of the second network mode according to the function of the intelligent device. The configuration request belongs to a configuration request used in the process of network access configuration of the second network mode of the existing intelligent equipment. Different network modes use different parameters when configuring the network access configuration request.
In the embodiment of the invention, after acquiring the network access configuration request of the second network mode, the cloud analyzes the network access configuration request of the second network mode, generates the network access configuration information of the second network mode according to the preset standard protocol specification according to the result obtained by analysis, and sends the network access configuration information of the second network mode to the intelligent device.
And after the intelligent equipment acquires the network access configuration information of the second network mode, completing network access configuration according to the network access configuration information of the second network mode, and generating network access storage data of the second network mode. The network access storage data of the second network mode is device data for storage on the cloud.
And after the cloud stores the network access storage data of the second network mode, sending a storage success signal to the intelligent equipment, and completing network access configuration of the second network mode of the intelligent equipment.
In this embodiment, the second network mode includes BLE mesh or ZigBee.
The method of this embodiment is illustrated below by taking an example in which the smart device is Wifi + BLE mesh, as follows:
and the user uses the mobile phone to operate on the network access configuration interface on the APP to complete the Wifi network access configuration. At this time, the network access configuration of the BLE mesh is completed without continuing to operate on a network access configuration interface on the mobile phone APP. The user can quit the APP software on the mobile phone.
After the Wifi + BLE mesh equipment completes Wifi networking configuration, a communication link between the Wifi + BLEEsh equipment and a cloud end can be established. At this time, the device sends a BLE mesh network access configuration request to the cloud. The request is generated according to the function of the intelligent device per se and defined according to the BLE mesh protocol specification. The method belongs to a configuration request used in the process of performing BLE mesh network access configuration on the intelligent equipment.
The cloud analyzes the BLE mesh network access configuration request after acquiring the BLE mesh network access configuration request, generates BLE mesh network access configuration information according to a preset standard protocol standard according to the analyzed result, and transmits the BLEEH network access configuration information to the intelligent device. Table 1 shows specific contents of BLE mesh network entry configuration information, which are as follows:
table 1 is a table of contents of BLE mesh network access configuration information
Figure BDA0002660423360000071
Figure BDA0002660423360000081
Figure BDA0002660423360000091
And after the intelligent equipment acquires the BLE mesh network access configuration information, completing network access configuration according to the BLE mesh network access configuration information, and generating BLE mesh network access storage data. The BLE mesh network access storage data is device data used for being stored on the cloud. Table 2 shows specific contents of BLE mesh network storage data, as follows:
table 2 is table of contents of BLE mesh network access storage data
Figure BDA0002660423360000092
Figure BDA0002660423360000101
Figure BDA0002660423360000111
Figure BDA0002660423360000121
Figure BDA0002660423360000131
Figure BDA0002660423360000141
Figure BDA0002660423360000151
And after the BLE mesh network access storage data are stored in the cloud, sending a successful storage signal to the intelligent equipment, and completing BLE mesh network access configuration of the intelligent equipment.
The method of the present embodiment is illustrated below by taking the smart device as 4G + BLE mesh as an example, as follows:
the 4G + BLE mesh device establishes a communication link between the device and the cloud through mobile data. At this time, the device sends a BLE mesh network access configuration request to the cloud.
The cloud analyzes the BLE mesh network access configuration request after acquiring the BLE mesh network access configuration request, generates BLE mesh network access configuration information according to a preset standard protocol standard according to the analyzed result, and transmits the BLE mesh network access configuration information to the intelligent device.
And after the intelligent equipment acquires the BLE mesh network access configuration information, completing network access configuration according to the BLE mesh network access configuration information, and generating BLE mesh network access storage data. The BLE mesh network access storage data is device data used for being stored on the cloud.
And after the BLE mesh network access storage data are stored in the cloud, sending a successful storage signal to the intelligent equipment, and completing BLE mesh network access configuration of the intelligent equipment.
Under this kind of circumstances, the user still can use cell-phone installation APP to add this smart machine, realizes the remote control to this equipment.
According to the network access method of the intelligent device, after the communication link is established between the intelligent device and the cloud, the network access configuration of the second network mode of the cloud can be achieved without software operation and control by other terminal devices, the network access configuration can be achieved by interaction of the network access configuration of the second network mode with the cloud based on the established communication link, the network access configuration is completed, the network access configuration process of the second network mode of the intelligent device is achieved by the fact that a user operates on the network access configuration interfaces of other terminal devices, and the time for the user to operate the terminal device is shortened.
In a further embodiment of the method in the above embodiment, a process of sending network access configuration information in the second network mode to the target intelligent device according to the network access configuration request in the second network mode is mainly explained, which is specifically as follows:
the network access configuration request of the second network mode includes the device identifier and the device element information of the target smart device, where the device element information includes the number of elements of the device mentioned in the above embodiment. The elements are generated by the scene and communication functions of the equipment per se according to the definition rule of the elements of the BLE mesh protocol specification. The number of elements indicates that the smart device has different functional characteristics. The content of this element is well known in the art and will not be described in detail here.
The cloud end can determine whether the target intelligent device is the intelligent device which does not finish the network access configuration of the second network mode according to the device identification, and after the target intelligent device is determined to be the intelligent device which does not finish the network access configuration of the second network mode, network access configuration information of the second network mode is calculated and generated according to the device element information, and the network access configuration information of the second network mode is sent to the target intelligent device.
It should be noted that, after the user completes the network access configuration of the first network mode of the intelligent device through the network access configuration interface on the terminal device, the user may exit the network access configuration interface. At this time, after sensing that the network access configuration of the first network mode is completed, the smart device actively interacts with the cloud terminal to perform the network access configuration of the second network mode, so that the request sent by the smart device is to request configuration information capable of completing the network access configuration from the cloud terminal.
The cloud end needs to feed back configuration information to the intelligent device, so that whether the intelligent device is in the second network mode or not is judged according to a request sent by the intelligent device. As long as the smart device is not in the second network mode, the cloud sends the network access configuration information to the smart device.
The cloud generates network access configuration information required by the intelligent device, and the network access configuration information is generated according to standard protocol rules according to some information provided by the intelligent device. Here, the cloud end needs not only the number of elements of the device, but also other device information capable of assisting in generating the configuration information. Such information would be present in the request.
In this embodiment, the cloud only provides configuration information for the intelligent device that does not complete the network access configuration, and avoids repeatedly executing the network access configuration action, and in addition, the cloud directly interacts with the intelligent device for the network access configuration in the second network mode, so that the network access configuration process of the second network mode of the intelligent device can be realized by reducing the operation of the user on the network access configuration interface of the mobile terminal, and the time for the user to operate the mobile terminal is shortened.
In a further embodiment of the method in the foregoing embodiment, after the network access storage data of the second network mode of the smart device is stored in the cloud, the scene data needs to be generated according to the network access storage data of the second network mode of the target smart device, and the scene data is issued to the target smart device, so that the target smart device forwards the scene data to the smart device in the second network mode, which is in the same scene as the target smart device.
It should be noted that, after the intelligent device completes the network access configuration process of the corresponding second network mode through the cloud and also stores the network access storage data of the corresponding second network mode, the cloud generates scene data according to the network access storage data of the second network mode, and corresponding scene linkage is performed.
The network Key and the Unicast Address in the table 1 are carried in the scene data generated by the cloud, the cloud issues the scene data to the corresponding intelligent device, and the intelligent device forwards the scene data to other devices in the second network mode in the same scene as the target intelligent device through the communication function of the second network mode according to the corresponding network Key and the Unicast Address, so that remote scene linkage is realized.
Fig. 3 is a flowchart illustrating a network access method of an intelligent device according to an embodiment of the present invention, and referring to fig. 3, the method is applied to the intelligent device, and includes the following steps:
s31, after determining that a communication link with the cloud is established in the first network mode, the intelligent terminal sends a network access configuration request of the second network mode to the cloud;
s32, the intelligent terminal receives the network access configuration information of the second network mode, which is sent by the cloud, generates network access storage data of the second network mode according to the network access configuration information of the second network mode, and sends the network access storage data of the second network mode to the cloud, so that the cloud stores the network access storage data of the second network mode; and the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
With reference to steps S31 and S32, it should be noted that, in the embodiment of the present invention, the method is applied to the smart device, and is used for interacting with the cloud to implement a process of network access configuration in the second network mode of the smart device. Based on the detailed description of the interaction process between the intelligent device and the cloud end in the above embodiments, the method of this embodiment is not described in detail herein.
According to the network access method of the intelligent device, after the communication link is established between the intelligent device and the cloud, the network access configuration of the second network mode of the cloud can be achieved without software operation and control by other terminal devices, the network access configuration can be achieved by interaction of the network access configuration of the second network mode with the cloud based on the established communication link, the network access configuration is completed, the network access configuration process of the second network mode of the intelligent device is achieved by the fact that a user operates on the network access configuration interfaces of other terminal devices, and the time for the user to operate the terminal device is shortened.
In a further embodiment of the above embodiment method, further comprising:
determining scene data sent by a cloud end, and forwarding the scene data to intelligent equipment in a second network mode under the same scene with target intelligent equipment;
and the scene data is generated by the cloud according to the network access storage data of the second network mode.
In a further embodiment of the foregoing embodiment method, the network access configuration request of the second network mode includes a device identifier and device element information, and correspondingly, the network access configuration information of the second network mode is generated according to the device element information when it is determined that the target intelligent device is an intelligent device that does not complete network access configuration of the second network mode according to the device identifier.
In a further embodiment of the above embodiment method, the second network mode comprises BLE mesh or ZigBee.
In a further embodiment of the above embodiment method, the first network mode comprises Wifi or 4G or 5G.
Based on the detailed description of the interaction process between the smart device and the cloud end in the above embodiment, other steps of the method of this embodiment are not described in detail herein.
Fig. 4 is a schematic flow chart illustrating a network access method of an intelligent device according to an embodiment of the present invention, where the schematic flow chart includes a complete flow of Wifi and BLE mesh network access, and based on the above statement of the complete flow, the detailed description of fig. 4 is omitted.
Fig. 5 is a schematic structural diagram illustrating a network access apparatus of an intelligent device according to an embodiment of the present invention, and referring to fig. 5, the apparatus includes a configuration module 51 and a storage module 52, where:
the configuration module 51 is configured to receive a network access configuration request of a second network mode sent by a target intelligent device, and send network access configuration information of the second network mode to the target intelligent device according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
the storage module 52 is configured to receive and store network access storage data of the second network mode sent by the target intelligent device, where the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
In a further embodiment of the foregoing embodiment apparatus, the network access configuration request of the second network mode includes an equipment identifier and equipment element information, and accordingly, the configuration module is specifically configured to:
and determining that the target intelligent device is the intelligent device which does not finish the network access configuration of the second network mode according to the device identification, generating network access configuration information of the second network mode according to the device element information, and sending the network access configuration information of the second network mode to the target intelligent device.
In a further embodiment of the apparatus of the above embodiment, the apparatus further includes an issuing module, configured to: and generating scene data according to the network access storage data of the second network mode of the target intelligent device, and issuing the scene data to the target intelligent device, so that the target intelligent device forwards the scene data to the intelligent device in the second network mode under the same scene with the target intelligent device.
In a further embodiment of the above embodiment device, the second network mode comprises BLE mesh or ZigBee.
In a further embodiment of the apparatus of the above embodiments, the first network mode comprises Wifi or 4G or 5G.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
The network access device of the intelligent device provided by the embodiment of the invention can realize the network access configuration of the second network mode with the cloud terminal without software operation and control by other terminal devices after the communication link is established between the intelligent device and the cloud terminal, and can realize the interaction of the network access configuration of the second network mode with the cloud terminal based on the established communication link to complete the network access configuration, so that the network access configuration process of the second network mode of the intelligent device is realized by reducing the operation of a user on the network access configuration interfaces of other terminal devices, and the time for the user to operate the terminal device is shortened.
Fig. 6 is a schematic structural diagram illustrating a network access apparatus of an intelligent device according to an embodiment of the present invention, and referring to fig. 6, the apparatus includes a request module 61 and a sending module 62, where:
the request module 61 is configured to send a network access configuration request of a second network mode to the cloud after determining that a communication link with the cloud is established in the first network mode;
the sending module is used for receiving the network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode;
the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
In a further embodiment of the apparatus of the above embodiment, the apparatus further includes a receiving module, configured to:
determining scene data sent by a cloud end, and forwarding the scene data to intelligent equipment in a second network mode under the same scene with target intelligent equipment;
and the scene data is generated by the cloud according to the network access storage data of the second network mode.
In a further embodiment of the foregoing embodiment apparatus, the network access configuration request of the second network mode includes an equipment identifier and equipment element information, and correspondingly, the network access configuration information of the second network mode is generated according to the equipment element information when it is determined that the target intelligent equipment is an intelligent equipment that does not complete network access configuration of the second network mode according to the equipment identifier.
In a further embodiment of the above embodiment device, the second network mode comprises BLE mesh or ZigBee.
In a further embodiment of the apparatus of the above embodiments, the first network mode comprises Wifi or 4G or 5G.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
The network access device of the intelligent device provided by the embodiment of the invention can realize the network access configuration of the second network mode with the cloud terminal without software operation and control by other terminal devices after the communication link is established between the intelligent device and the cloud terminal, and can realize the interaction of the network access configuration of the second network mode with the cloud terminal based on the established communication link to complete the network access configuration, so that the network access configuration process of the second network mode of the intelligent device is realized by reducing the operation of a user on the network access configuration interfaces of other terminal devices, and the time for the user to operate the terminal device is shortened.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor)71, a communication Interface (Communications Interface)72, a memory (memory)73 and a communication bus 74, wherein the processor 71, the communication Interface 72 and the memory 73 are communicated with each other via the communication bus 74. Processor 71 may call logic instructions in memory 73 to perform the following method: receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode; and receiving and storing network access storage data of a second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
In addition, the logic instructions in the memory 73 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode; and receiving and storing network access storage data of a second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including: receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode; and receiving and storing network access storage data of a second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
An embodiment of the present invention provides an electronic device, which may include: the system comprises a processor (processor), a communication Interface (communication Interface), a memory (memory) and a communication bus, wherein the processor, the communication Interface and the memory are communicated with each other through the communication bus. The processor may call logic instructions in memory to perform the following method: after a communication link with a cloud terminal is established by adopting a first network mode, sending a network access configuration request of a second network mode to the cloud terminal; receiving network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode; the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: after a communication link with a cloud terminal is established by adopting a first network mode, sending a network access configuration request of a second network mode to the cloud terminal; receiving network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode; the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including: after a communication link with a cloud terminal is established by adopting a first network mode, sending a network access configuration request of a second network mode to the cloud terminal; receiving network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode; the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
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.
The above embodiments are merely illustrative of the present invention and are not to be construed as limiting the invention. Although the present invention has been described in detail with reference to the embodiments, it should be understood by those skilled in the art that various combinations, modifications or equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention, and the technical solution of the present invention is covered by the claims of the present invention.

Claims (14)

1. A network access method of an intelligent device is characterized by comprising the following steps:
receiving a network access configuration request of a second network mode sent by target intelligent equipment, and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
and receiving and storing network access storage data of a second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
2. The network access method of the intelligent device according to claim 1, wherein the network access configuration request of the second network mode includes device identification and device element information, and accordingly, the sending the network access configuration information of the second network mode to the target intelligent device according to the network access configuration request of the second network mode includes:
and determining that the target intelligent device is the intelligent device which does not finish the network access configuration of the second network mode according to the device identification, generating network access configuration information of the second network mode according to the device element information, and sending the network access configuration information of the second network mode to the target intelligent device.
3. The network access method of the intelligent device according to claim 1, further comprising: and generating scene data according to the network access storage data of the second network mode of the target intelligent device, and issuing the scene data to the target intelligent device, so that the target intelligent device forwards the scene data to the intelligent device in the second network mode under the same scene with the target intelligent device.
4. The network entry method of the smart device according to any one of claims 1 to 3, wherein the second network mode comprises BLE mesh or ZigBee.
5. The network access method of the intelligent device according to any one of claims 1 to 3, wherein the first network mode comprises Wifi or 4G or 5G.
6. A network access method of an intelligent device is characterized by comprising the following steps:
after a communication link with a cloud terminal is established by adopting a first network mode, sending a network access configuration request of a second network mode to the cloud terminal;
receiving network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode;
the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
7. The network access method of the intelligent device according to claim 6, further comprising:
determining scene data sent by a cloud end, and forwarding the scene data to intelligent equipment in a second network mode under the same scene with target intelligent equipment;
and the scene data is generated by the cloud according to the network access storage data of the second network mode.
8. The network access method of the intelligent device according to claim 6, wherein the network access configuration request of the second network mode includes a device identifier and device element information, and accordingly, the network access configuration information of the second network mode is generated according to the device element information when it is determined that the target intelligent device is the intelligent device whose network access configuration in the second network mode is not completed according to the device identifier.
9. The network entry method of the smart device according to any one of claims 6 to 8, wherein the second network mode comprises BLE mesh or ZigBee.
10. The network access method of the intelligent device according to any one of claims 6 to 8, wherein the first network mode comprises Wifi or 4G or 5G.
11. A network access device of intelligent equipment is characterized by comprising:
the configuration module is used for receiving a network access configuration request of a second network mode sent by the target intelligent equipment and sending network access configuration information of the second network mode to the target intelligent equipment according to the network access configuration request of the second network mode; the network access configuration request of the second network mode is sent out after the target intelligent device determines to establish a communication link with the cloud end by adopting the first network mode;
and the storage module is used for receiving and storing the network access storage data of the second network mode sent by the target intelligent device, wherein the network access storage data of the second network mode is generated after the target intelligent device completes network access configuration according to the network access configuration information of the second network mode.
12. A network access device of intelligent equipment is characterized by comprising:
the request module is used for sending a network access configuration request of a second network mode to the cloud after determining that a communication link with the cloud is established by adopting the first network mode;
the sending module is used for receiving the network access configuration information of the second network mode sent by the cloud, generating network access storage data of the second network mode according to the network access configuration information of the second network mode, and sending the network access storage data of the second network mode to the cloud so that the cloud stores the network access storage data of the second network mode;
the network access configuration information of the second network mode is generated by the cloud according to the network access configuration request of the second network mode.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of the network entry method of the smart device according to any of claims 1 to 5 or the steps of the network entry method of the smart device according to any of claims 6 to 10.
14. A non-transitory computer readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the network entry method of the smart device according to any one of claims 1 to 5 or the steps of the network entry method of the smart device according to any one of claims 6 to 10.
CN202010903092.XA 2020-09-01 2020-09-01 Network access method and device of intelligent equipment, electronic equipment and storage medium Active CN114125883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010903092.XA CN114125883B (en) 2020-09-01 2020-09-01 Network access method and device of intelligent equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010903092.XA CN114125883B (en) 2020-09-01 2020-09-01 Network access method and device of intelligent equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114125883A true CN114125883A (en) 2022-03-01
CN114125883B CN114125883B (en) 2024-04-05

Family

ID=80360672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010903092.XA Active CN114125883B (en) 2020-09-01 2020-09-01 Network access method and device of intelligent equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114125883B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884760A (en) * 2022-03-24 2022-08-09 浙江猫精人工智能科技有限公司 Networking method, networking display interface and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533858A (en) * 2016-10-27 2017-03-22 新智数字科技有限公司 Network access method, device and system for intelligent meter
CN108366064A (en) * 2018-02-11 2018-08-03 四川虹美智能科技有限公司 A kind of method and system of docking platform, a kind of electronic equipment
CN109348458A (en) * 2018-10-23 2019-02-15 深圳绿米联创科技有限公司 Network connection configuration method, apparatus, electronic equipment and network system
CN110235456A (en) * 2017-01-09 2019-09-13 云丁网络技术(北京)有限公司 Smart machine method of network entry, mobile terminal, Cloud Server, equipment and system
CN110868748A (en) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 Intelligent equipment network access method, device, equipment, system and medium
CN111194067A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Network access method, device, related equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533858A (en) * 2016-10-27 2017-03-22 新智数字科技有限公司 Network access method, device and system for intelligent meter
CN110235456A (en) * 2017-01-09 2019-09-13 云丁网络技术(北京)有限公司 Smart machine method of network entry, mobile terminal, Cloud Server, equipment and system
CN108366064A (en) * 2018-02-11 2018-08-03 四川虹美智能科技有限公司 A kind of method and system of docking platform, a kind of electronic equipment
CN109348458A (en) * 2018-10-23 2019-02-15 深圳绿米联创科技有限公司 Network connection configuration method, apparatus, electronic equipment and network system
CN111194067A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Network access method, device, related equipment and storage medium
CN110868748A (en) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 Intelligent equipment network access method, device, equipment, system and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884760A (en) * 2022-03-24 2022-08-09 浙江猫精人工智能科技有限公司 Networking method, networking display interface and computer readable storage medium

Also Published As

Publication number Publication date
CN114125883B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN105471686B (en) Terminal control method, device and system
CN111885594B (en) Equipment binding method and device
US10104033B2 (en) Method for sending message, method for reading and notifying message, method for receiving message, and apparatus
CN107342933B (en) Activation and binding method and device for intelligent equipment
CN111885115B (en) Device binding changing method and device
US20150312296A1 (en) Method and device for pushing multimedia resource and display terminal
CN111865736B (en) Equipment control method and device
US10887745B2 (en) Method and device for sharing file between different terminals
US20180048633A1 (en) Perception-free authentication method and system, and control method and system based on the same
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN105636161B (en) Access method, apparatus, communication terminal and the wireless network access point of wireless network
CN112448873A (en) Equipment binding method and device and computer readable storage medium
CN113543277A (en) Distribution network processing method and device and electronic equipment
CN111934904B (en) Capacity expansion method, controller and system
WO2020068412A1 (en) Advanced resource link binding management
CN114125883A (en) Network access method and device of intelligent device, electronic device and storage medium
CN112637221A (en) Equipment control method and device
CN111010323A (en) Network distribution method and system of intelligent equipment
CN114466447B (en) Cloud management end management system based on WiFi6 router
CN105052239B (en) Policy control method, related device and system
CN106850246A (en) The recognition methods of facility information and device
CN107211479B (en) Method and device for selecting access network
WO2023165359A1 (en) Wi-fi p2p connection method, apparatus and system
CN115150363B (en) IP address updating method, gateway device, gateway down-hanging device and storage medium

Legal Events

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