CN111953550B - Equipment network distribution method and device and Internet of things equipment - Google Patents

Equipment network distribution method and device and Internet of things equipment Download PDF

Info

Publication number
CN111953550B
CN111953550B CN202010851554.8A CN202010851554A CN111953550B CN 111953550 B CN111953550 B CN 111953550B CN 202010851554 A CN202010851554 A CN 202010851554A CN 111953550 B CN111953550 B CN 111953550B
Authority
CN
China
Prior art keywords
server
identifier
router
wifi module
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.)
Active
Application number
CN202010851554.8A
Other languages
Chinese (zh)
Other versions
CN111953550A (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.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric 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 Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN202010851554.8A priority Critical patent/CN111953550B/en
Publication of CN111953550A publication Critical patent/CN111953550A/en
Application granted granted Critical
Publication of CN111953550B publication Critical patent/CN111953550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The application discloses a device network distribution method, a device and Internet of things equipment, wherein the method is applied to the equipment to be distributed with a first identifier and a plurality of server addresses corresponding to the first identifier, wherein the first identifier is information for marking that the type of a server is a domestic server or a foreign server; the method comprises the following steps: after the connection with the router is established, a second identifier sent by the terminal equipment is obtained, wherein the second identifier is obtained by the terminal equipment from the two-dimensional code of the equipment to be networked; determining a server corresponding to the second identifier from a plurality of server addresses according to the first identifier; acquiring a target server from a server corresponding to the second identifier; and sending the equipment information of the WIFI module to a target server for WIFI module registration so as to connect with a cloud platform corresponding to the target server, wherein the equipment information comprises an identification mark of the WIFI module. The scheme of this application can improve the commonality of WIFI module.

Description

Equipment network distribution method and device and Internet of things equipment
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for equipment network distribution and Internet of things equipment.
Background
At present, the WIFI module is a server address which needs to be connected and is directly written in the WIFI module, therefore, in the scheme, one WIFI module can only be suitable for a unique server, and the universality is very low. If the WIFI module is to be connected with different types of servers, the WIFI module corresponding to the servers needs to be configured.
Disclosure of Invention
In order to solve the above problem, in a first aspect, an embodiment of the present invention provides an apparatus network distribution method, which is applied to an apparatus to be networked, where the apparatus to be networked includes a WIFI module, and a first identifier and a plurality of server addresses corresponding to the first identifier are configured in the apparatus to be networked, where the first identifier is information that indicates whether a server type is a domestic server or a foreign server; the method comprises the following steps:
after connection with a router is established, a second identifier sent by the terminal equipment is obtained, wherein the second identifier is obtained by the terminal equipment from the two-dimensional code of the equipment to be distributed;
determining a server corresponding to the second identifier from the plurality of server addresses according to the first identifier;
acquiring a target server from the server corresponding to the second identifier;
and sending the equipment information of the WIFI module to the target server for WIFI module registration so as to be connected with the cloud platform corresponding to the target server, wherein the equipment information comprises the identification mark of the WIFI module.
In an alternative embodiment, the method further comprises:
acquiring the name of a router and the password of the router, which are sent by terminal equipment;
and connecting the corresponding router according to the name of the router and the password of the router.
In an optional implementation manner, the obtaining the name of the router and the router password of the router, which are sent by the terminal device, includes:
judging whether the WIFI module is reset or not;
if the WIFI module has reset, the name of the router sent by the terminal equipment and the password of the router are obtained.
In an alternative embodiment, the method further comprises: acquiring a communication protocol adopted by a cloud platform corresponding to the target server;
judging whether the communication protocols adopted by the cloud platform and the WIFI module are consistent or not;
if the communication protocols adopted by the cloud platform and the WIFI module are not consistent;
and performing format conversion on the data received from the cloud platform according to a protocol adopted by the WIFI module, or performing format conversion on the data to be sent to the cloud platform according to the protocol adopted by the cloud platform.
In an optional embodiment, the obtaining the target server from the server corresponding to the second identifier includes:
determining a server corresponding to the second identifier as an intermediate server;
and selecting a target server from the intermediate servers according to the priority order.
In an optional implementation manner, the sending the device information of the WIFI module to the target server for WIFI module registration includes:
sending the device information to the target server;
receiving the equipment identification returned by the target server;
and interacting with the cloud platform corresponding to the target server according to the equipment identification.
In a second aspect, an apparatus network distribution device is provided in an embodiment of the present invention, and is applied to an apparatus to be networked, where the apparatus to be networked includes a WIFI module, and a first identifier and a plurality of server addresses corresponding to the first identifier are configured in the apparatus to be networked, where the first identifier is information that indicates whether a server is a domestic server or a foreign server; the device comprises:
the first acquisition module is used for acquiring a second identifier sent by the terminal equipment after the connection with the router is established, wherein the second identifier is acquired by the terminal equipment from the two-dimensional code of the equipment to be distributed;
a determining module, configured to determine, according to the first identifier, a server corresponding to the second identifier from the plurality of server addresses;
the second acquisition module is used for acquiring a target server from the server corresponding to the second identifier;
the registration module is used for sending the device information of the WIFI module to the target server to perform WIFI module registration so as to be connected with the cloud platform corresponding to the target server, wherein the device information comprises the identification mark of the WIFI module.
In an alternative embodiment, the apparatus further comprises:
the third acquisition module is used for acquiring the SSID and the password of the router sent by the terminal equipment;
and the connection module is used for connecting the corresponding router according to the SSID of the router and the password of the router.
In an optional implementation manner, the third obtaining module is specifically configured to:
judging whether the WIFI module is reset or not;
and if the WIFI module is reset, acquiring a router SSID and a router password which are sent by the terminal equipment.
In a third aspect, an embodiment of the present invention provides an internet of things device, where the internet of things device includes a WIFI module, the internet of things device includes a memory and a processor, the memory is electrically connected to the processor, a machine-executable program is stored in the memory, and the processor, when executing the machine-executable program, implements the method according to any one of the foregoing embodiments.
According to the method and the device for distributing the network and the internet of things device, the plurality of server addresses are configured in the device to be distributed, the first identification corresponds to the server addresses, the second identification obtained by scanning the two-dimensional code of the internet of things device 100 by the terminal device 200 is obtained, the target server is determined from the server addresses corresponding to the second identification according to the second identification, and then module registration is performed according to the target server, so that the same module can determine the server needing module registration according to the second identification, and the universality of the module is improved.
Drawings
Fig. 1 is a schematic block diagram of a structure of an internet of things device provided in an embodiment of the present application;
fig. 2 is a first flowchart of a device distribution network method provided in the embodiment of the present application;
fig. 3 is a schematic flowchart of a second method for configuring a network by using a device according to an embodiment of the present application;
fig. 4 is a third schematic flowchart of a device network distribution method provided in the embodiment of the present application;
fig. 5 is a fourth schematic flowchart of a device network distribution method provided in the embodiment of the present application;
fig. 6 is a block diagram schematically illustrating a structure of a device distribution network apparatus according to an embodiment of the present application.
Description of reference numerals: 100-internet of things devices; 110-equipment network distribution devices; 111-a first acquisition module; 112-a determination module; 113-a second acquisition module; 114-a registration module; 115-a third acquisition module; 116-a connection module; 120-a memory; 130-a processor; 200-a terminal device; 300-a router; 400-cloud platform service side.
Detailed Description
Remote control of the internet of things equipment is often realized by matching an application program corresponding to a cloud platform, the cloud platform and the internet of things equipment. And in this in-process, between thing networking device and the cloud platform, need communicate through the WIFI module. The existing WIFI module is characterized in that the address of a server which needs to be connected with the WIFI module is directly written in the WIFI module, so that one WIFI module can only be suitable for a unique server in the scheme, and the universality is very low. If the WIFI module is to be connected with different types of servers, the WIFI module corresponding to the servers needs to be configured.
For example, in an air conditioner, when the air conditioner is provided with a distribution network, if different distribution network applications (i.e., APP, english name Application) need to be used to control the air conditioner, then a plurality of WIFI modules in the air conditioner need to be configured, and each WIFI module configures a server address of a cloud platform to which the WIFI module needs to be connected. For example, if need control the air conditioner through a certain configuration application, at this moment, just need send the name and the password of router etc. for the air conditioner through the configuration application, the air conditioner is connected with the router again and is accomplished the net that joins in marriage between air conditioner and the router, then joins in marriage the net with the WIFI module that this cloud platform corresponds and this cloud platform. After the WIFI module corresponding to the cloud platform and the cloud platform are connected in a network, the air conditioner can be controlled through the network connection application.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an internet of things system provided in an embodiment of the present application, where the internet of things system includes an internet of things device 100, such as a router 300, a cloud platform, and a terminal device 200 configured with a distribution network application. Under the state that the internet of things is configured with a network, the internet of things device 100 is in communication connection with the router 300, the router 300 is connected with the cloud platform, and the terminal device 200 configured with a distribution network application is connected with the router 300.
Referring to fig. 2, fig. 2 is a schematic block diagram of a structure of an internet of things device 100 according to an embodiment of the present application, where the internet of things device 100 includes a WIFI module distribution network device, a memory 120 and a processor 130, and the memory 120 and the processor 130 are electrically connected directly or indirectly to each other for implementing data interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The WIFI module network distribution device includes at least one software function module that can be stored in the memory 120 in the form of software or Firmware (Firmware) or solidified in an Operating System (OS) of the internet of things device 100. The processor 130 is configured to execute executable modules stored in the memory 120, for example, software function modules and computer programs included in the WIFI module distribution network device.
Wherein, can include the WIFI module in thing networking device 100, can dispose first sign and a plurality of server addresses that correspond with first sign in thing networking device 100, wherein, first sign is the information that the mark server type is domestic server or foreign server, for example, can adopt 01 to represent domestic server, adopts 02 to represent foreign server, and at this moment, including the address of a plurality of domestic servers that correspond with 01 in a plurality of server addresses, the address of a plurality of foreign servers that correspond with 02.
When the internet of things device 100 is in a network distribution, the router 300 and the cloud platform server 400 can be in communication connection by the internet of things device 100 before no device to be in the network distribution exists, and the terminal device 200 and the router 300 are in wireless connection. In this embodiment, a model two-dimensional code can be set on the network distribution equipment, and the model of the network distribution equipment, the second identifier and the Mac address of the WIFI module are included in the two-dimensional code. The terminal device 200 may scan the model two-dimensional code on the device to be distributed through the configured distribution network application, and obtain the model and the second identifier of the device to be distributed and an Address (media Access Control Address) of the WIFI module from the model two-dimensional code. The second identifier represents that the type of the server which can be connected by the equipment to be distributed is a domestic server or a foreign server, and in the second identifier, 01 can also be used for representing that the server of the connectable cloud platform is a domestic server, and 02 represents that the server of the connectable cloud platform is a foreign server.
In the terminal device 200, a third identifier corresponding to the distribution network application may also be configured, where the third identifier represents whether the server of the cloud platform corresponding to the distribution network application is a domestic server or a foreign server, and in the third identifier, a server 01 may also be used to represent the cloud platform corresponding to the distribution network application as a domestic server, and a server 02 may be used to represent the cloud platform corresponding to the distribution network application as a foreign server.
After the terminal device 200 acquires the model of the device to be configured, the second identifier and the Mac address of the WIFI module, the terminal device 200 determines whether the corresponding second identifier matches the corresponding third identifier, if the second identifier matches the third identifier, the terminal device 200 further allocates the device to be configured and the router 300, and specifically, the network allocation between the internet of things device 100 and the router 300 can be performed in a one-key network allocation mode or an AP network allocation mode.
In the process of AP (wireless access point) distribution, a device to be distributed enters an initialization state to generate a wireless network, and at this time, the terminal device 200 disconnects the originally connected router 300 and connects to the wireless network generated by the device to be distributed; then, the terminal device 200 obtains, through the distribution network application, a name (SSID, Service Set Identifier) and a password of the router 300 that the device to be distributed needs to connect, the name and the password of the router 300 being input by the user, and after obtaining the name and the password of the router 300 that the device to be distributed needs to connect, the terminal device 200 sends the name and the password of the router 300 to the device to be distributed for distribution.
The one-key distribution process is as follows, the terminal device 200 broadcasts the name and password of the router 300 connected thereto to send to the internet of things device 100 for distribution.
Wherein, terminal equipment 200 can be with the model of the equipment that waits to join in marriage, the Mac address of second sign and WIFI module and AP join in marriage the name and the password of router 300 that net in-process acquireed with the key distribution net together, send to waiting to join in marriage net equipment.
The equipment to be distributed receives the name and the password of the router 300 sent by the terminal equipment 200, establishes connection with the corresponding router 300, and then distributes a network with the cloud platform server 400.
Referring to fig. 3, an apparatus network distribution method applicable to the internet of things apparatus 100 is further provided in the embodiment of the present application. The internet of things equipment needing the distribution network is the equipment to be distributed, and the distribution network of the equipment to be distributed and the server comprises the steps of S110-S140.
Step S110, after establishing connection with the router 300, acquires the second identifier sent by the terminal device 200.
And step S120, determining a server corresponding to the second identifier from the plurality of server addresses according to the first identifier.
Wherein, corresponding means that the servers are of the same type, for example, all belong to domestic servers or all belong to foreign servers. For example, if the second identifier is 01 representing a domestic server, the internet of things device 100 may obtain addresses of all domestic servers from the addresses of the servers as servers corresponding to the second identifier.
Step S130, obtaining the target server from the server corresponding to the second identifier.
Step S140, sending the device information of the WIFI module to the target server for WIFI module registration, so as to connect to the cloud platform corresponding to the target server, where the device information includes an identification identifier of the WIFI module, for example, a Mac address of the WIFI module.
In this embodiment, the device information may further include a serial number of the WIFI module, an identifier of whether to reset, a device type of the WIFI module, and a password of the WIFI module. Of course, the device information may further include a device subtype, a module firmware version number, a mcuFwVer parameter, and AP distribution network information (for example, a broadcast packet sent by the terminal device 200 when the AP is distributing a network).
In this embodiment, a plurality of server addresses are configured in the device to be networked, and the first identifier corresponds to the server address, so as to obtain a second identifier obtained by scanning the two-dimensional code of the internet of things device 100 by the terminal device 200, then determine the target server from the server address corresponding to the second identifier according to the second identifier, and further perform module registration according to the target server. Simultaneously, because the module is when confirming the target server, is confirmed according to the server that the second sign corresponds, consequently, the server type that the WIFI module can be connected also can be more, and same WIFI module can be used for connecting domestic server promptly, also can be used for connecting foreign server, can also be connected with the server of different cloud platforms.
Referring to fig. 4, optionally, in the embodiment, the method for configuring a network for a device further includes steps S010 to S020.
Step S010 acquires the name of the router 300 and the password of the router 300 transmitted by the terminal device 200.
Step S020, the corresponding router 300 is connected according to the name of the router 300 and the password of the router 300.
The embodiment is used for connecting the router 300 to complete the distribution network with the router 300, and specifically, the distribution network process may refer to the above one-key distribution network or the AP distribution network.
Optionally, in this embodiment, acquiring the name of the router 300 and the password of the router 300, which are sent by the terminal device 200, includes determining whether the WIFI module has been reset. If the WIFI module has reset, the name of the router 300 and the password of the router 300 sent by the terminal device 200 are obtained.
This embodiment is used for specifically judging the state of the equipment of joining in marriage to under the circumstances that the WIFI module has reset, carry out the process of joining in marriage the net with router 300 again.
Referring to fig. 5, optionally, in this embodiment, the device network distribution method further includes steps S210 to S230.
Step S210, acquiring a communication protocol adopted by a cloud platform corresponding to a target server;
step S220, judging whether the communication protocols adopted by the cloud platform and the WIFI module are consistent;
step S230, if the communication protocol used by the cloud platform and the WIFI module is inconsistent, performing format conversion on the data received from the cloud platform according to the protocol used by the WIFI module, or performing format conversion on the data to be sent to the cloud platform according to the protocol used by the cloud platform.
This embodiment carries out format conversion to the data that the WIFI module was received or the data that send to make, same WIFI module can be applicable to different platforms, further improves the commonality of module. Step S210-step S230 may be in a process of data interaction between the WIFI module and the cloud platform.
Specifically, be provided with the SDK that multiple different platforms correspond respectively on the WIFI module, the WIFI module is mutual through the SDK that corresponds and cloud platform, and the WIFI module is unified to the agreement with the information of receiving through HAL adaptation function, perhaps the WIFI module will correspond unified agreement and convert different agreements into and send the SDK that corresponds and realize the interaction with corresponding platform.
Optionally, in this embodiment, acquiring the target server from the server corresponding to the second identifier includes determining the server corresponding to the second identifier as an intermediate server. And selecting the target server from the intermediate servers according to the priority order.
In the embodiment, the server is determined according to the priority, so that the preference of the user can be met preferentially, and the user experience is improved.
Of course, in this embodiment, a server corresponding to the distribution network application may be selected to perform connection, or another server of the same type as the server corresponding to the distribution network application may be selected to perform connection.
For example, when the devices to be networked are household electrical appliances, the devices to be networked may be originally connected to the a cloud platform, and the network-distribution application may be an application corresponding to the B cloud platform, so that the devices to be networked may use the server of the a cloud platform as the target server.
Optionally, in this embodiment, sending the device information of the WIFI module to the target server for WIFI module registration includes sending the device information to the target server; receiving a device identifier returned by the target server; and interacting with the cloud platform corresponding to the target server according to the equipment identifier.
In this embodiment, the cloud platform server 400 may include an HTTP server and an MQTT server, where the target server is an HTTP server. And the equipment to be networked interacts with the target server and the cloud platform server respectively. The method comprises the steps that equipment information is sent to a target server by equipment to be distributed, the target server generates equipment identification (used for uniquely identifying a WIFI module) of the equipment to be distributed according to the equipment information sent by the equipment to be distributed, the equipment identification is sent to the Internet of things equipment 100, the WIFI module of the Internet of things equipment 100 receives the identification, then key negotiation is carried out with the MQTT server, the MQTT server is logged in according to the negotiated key, messages are subscribed and published on the MQTT server, and the Internet of things equipment 100 and the MQTT server are in an online state through heartbeat. The internet of things device 100 can also receive an OTA notification of the MQTT server, and after receiving the OTA notification, the internet of things device 100 interacts with the target server to complete firmware downloading.
Referring to fig. 6, an embodiment of the present application further provides an apparatus network distribution device 110, where the apparatus network distribution device 110 includes a first obtaining module 111, a determining module 112, a second obtaining module 113, and a registering module 114. The device distribution network apparatus 110 includes a software functional module, which may be stored in the memory 120 in the form of software or firmware, or solidified in an Operating System (OS) of the internet of things device 100.
The first obtaining module 111 is configured to obtain a second identifier sent by the terminal device 200 after establishing a connection with the router 300, where the second identifier is obtained by the terminal device 200 from the two-dimensional code of the device to be networked.
The first obtaining module 111 in this embodiment is used to execute step S110, and the detailed description about the first obtaining module 111 may refer to the description about step S110.
And a determining module 112, configured to determine, according to the first identifier, a server corresponding to the second identifier from the multiple server addresses.
The determining module 112 in the present embodiment is used to execute step S120, and the detailed description about the determining module 112 may refer to the description about step S120.
The second obtaining module 113 obtains the target server from the server corresponding to the second identifier.
The second obtaining module 113 in this embodiment is used to execute step S130, and the detailed description about the second obtaining module 113 may refer to the description about step S130.
And the registration module 114 is configured to send the device information of the WIFI module to a target server for WIFI module registration so as to establish connection between the WIFI module and the target server, where the device information includes an identification identifier of the WIFI module.
The registration module 114 in this embodiment is used to execute step S140, and the detailed description about the registration module 114 may refer to the description about step S140.
Optionally, in this embodiment, the apparatus further includes a third obtaining module 115 and a connecting module 116.
And a third obtaining module 115, configured to obtain the router 300 and the router 300 password sent by the terminal device 200.
The third obtaining module 115 in this embodiment is configured to perform the step S010, and the specific description about the third obtaining module 115 may refer to the description about the step S010.
And a connection module 116, configured to connect the corresponding router 300 according to the router 300 and the router 300 password.
The connection module 116 in this embodiment is used to execute step S020, and reference may be made to the description of step S020 for the specific description of the connection module 116.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.

Claims (10)

1. The equipment network distribution method is characterized by being applied to equipment to be distributed, wherein the equipment to be distributed comprises a WIFI module, a first identifier and a plurality of server addresses corresponding to the first identifier are configured in the equipment to be distributed, and the first identifier is information for marking that the type of a server is a domestic server or a foreign server; the method comprises the following steps:
after connection with a router is established, a second identifier sent by the terminal equipment is obtained, wherein the second identifier is obtained by the terminal equipment from the two-dimensional code of the equipment to be distributed;
determining a server corresponding to the second identifier from the plurality of server addresses according to the first identifier;
acquiring a target server from the server corresponding to the second identifier;
and sending the equipment information of the WIFI module to the target server for WIFI module registration so as to be connected with the cloud platform corresponding to the target server, wherein the equipment information comprises the identification mark of the WIFI module.
2. The method of claim 1, further comprising:
acquiring the name of a router and the password of the router, which are sent by terminal equipment;
and connecting the corresponding router according to the name of the router and the password of the router.
3. The method according to claim 2, wherein the obtaining of the name of the router and the router password of the router sent by the terminal device comprises:
judging whether the WIFI module is reset or not;
if the WIFI module has reset, the name of the router sent by the terminal equipment and the password of the router are obtained.
4. The method of claim 1, further comprising: acquiring a communication protocol adopted by a cloud platform corresponding to the target server;
judging whether the communication protocols adopted by the cloud platform and the WIFI module are consistent;
if the communication protocols adopted by the cloud platform and the WIFI module are inconsistent;
and performing format conversion on the data received from the cloud platform according to a protocol adopted by the WIFI module, or performing format conversion on the data to be sent to the cloud platform according to the protocol adopted by the cloud platform.
5. The method of claim 1, wherein obtaining the target server from the server corresponding to the second identifier comprises:
determining a server corresponding to the second identifier as an intermediate server;
and selecting a target server from the intermediate servers according to the priority order.
6. The method of claim 1, wherein the sending the device information of the WIFI module to the target server for WIFI module registration comprises:
sending the device information to the target server;
receiving the device identification returned by the target server;
and interacting with the cloud platform corresponding to the target server according to the equipment identifier.
7. An equipment network distribution device is applied to equipment to be distributed, the equipment to be distributed comprises a WIFI module, a first identifier and a plurality of server addresses corresponding to the first identifier are configured in the equipment to be distributed, and the first identifier is information for marking that a server is a domestic server or a foreign server; the device comprises:
the first acquisition module is used for acquiring a second identifier sent by the terminal equipment after the connection with the router is established, wherein the second identifier is acquired by the terminal equipment from the two-dimensional code of the equipment to be distributed;
a determining module, configured to determine, according to the first identifier, a server corresponding to the second identifier from the plurality of server addresses;
the second acquisition module is used for acquiring a target server from the server corresponding to the second identifier;
the registration module is used for sending the device information of the WIFI module to the target server to perform WIFI module registration so as to be connected with the cloud platform corresponding to the target server, wherein the device information comprises the identification mark of the WIFI module.
8. The apparatus of claim 7, further comprising:
the third acquisition module is used for acquiring the SSID and the password of the router sent by the terminal equipment;
and the connection module is used for connecting the corresponding router according to the SSID of the router and the password of the router.
9. The apparatus of claim 8, wherein the third obtaining module is specifically configured to:
judging whether the WIFI module is reset or not;
and if the WIFI module is reset, acquiring a router SSID and a router password sent by the terminal equipment.
10. An internet of things device, comprising a WIFI module, wherein the internet of things device comprises a memory and a processor, the memory is electrically connected to the processor, the memory stores a machine executable program, and the processor, when executing the machine executable program, implements the method of any of claims 1-6.
CN202010851554.8A 2020-08-21 2020-08-21 Equipment network distribution method and device and Internet of things equipment Active CN111953550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851554.8A CN111953550B (en) 2020-08-21 2020-08-21 Equipment network distribution method and device and Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851554.8A CN111953550B (en) 2020-08-21 2020-08-21 Equipment network distribution method and device and Internet of things equipment

Publications (2)

Publication Number Publication Date
CN111953550A CN111953550A (en) 2020-11-17
CN111953550B true CN111953550B (en) 2022-08-26

Family

ID=73359176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851554.8A Active CN111953550B (en) 2020-08-21 2020-08-21 Equipment network distribution method and device and Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111953550B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598599B (en) * 2020-11-20 2024-01-19 深圳Tcl新技术有限公司 Network distribution method and device of Internet of things equipment, internet of things equipment and storage medium
CN114698064B (en) * 2020-12-25 2024-06-04 深圳Tcl新技术有限公司 Bluetooth network distribution method, device, system and storage medium
CN113079556A (en) * 2021-03-24 2021-07-06 宁波奥克斯电气股份有限公司 Intelligent household appliance distribution network control method, control device and application
CN113110083A (en) * 2021-04-15 2021-07-13 青岛海信移动通信技术股份有限公司 Wireless communication module, intelligent household equipment, network distribution method and system
CN113766606B (en) * 2021-09-07 2023-07-25 四川长虹网络科技有限责任公司 Network distribution method, system, computer equipment and storage medium based on cellular communication
CN114430546A (en) * 2022-01-25 2022-05-03 深圳市集贤科技有限公司 Method for supporting multiple distribution networks of IoT cloud platform on intelligent module side

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554754A (en) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 Method and system for accessing WIFI module of the internet of things to network
CN107367949A (en) * 2017-06-14 2017-11-21 珠海格力电器股份有限公司 Obtain the methods, devices and systems of product identification
CN109450752A (en) * 2018-11-30 2019-03-08 广东美的制冷设备有限公司 Household electrical appliance distribution method, apparatus and computer readable storage medium
CN109660593A (en) * 2018-11-05 2019-04-19 深圳绿米联创科技有限公司 Platform of internet of things access management method, apparatus and system
CN109842667A (en) * 2017-11-29 2019-06-04 北京京东尚科信息技术有限公司 Method and cloud platform system for cloud platform management smart machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050034412A (en) * 2003-10-09 2005-04-14 엘지전자 주식회사 Home appliance network system
CN105025486B (en) * 2014-04-28 2019-02-26 腾讯科技(深圳)有限公司 Method for connecting network and user equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554754A (en) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 Method and system for accessing WIFI module of the internet of things to network
CN107367949A (en) * 2017-06-14 2017-11-21 珠海格力电器股份有限公司 Obtain the methods, devices and systems of product identification
CN109842667A (en) * 2017-11-29 2019-06-04 北京京东尚科信息技术有限公司 Method and cloud platform system for cloud platform management smart machine
CN109660593A (en) * 2018-11-05 2019-04-19 深圳绿米联创科技有限公司 Platform of internet of things access management method, apparatus and system
CN109450752A (en) * 2018-11-30 2019-03-08 广东美的制冷设备有限公司 Household electrical appliance distribution method, apparatus and computer readable storage medium

Also Published As

Publication number Publication date
CN111953550A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN111953550B (en) Equipment network distribution method and device and Internet of things equipment
US8650311B2 (en) Client device configured to connect with a home network
WO2008128480A1 (en) A device, system and method for automatically configuring application terminals in home network
CN105306264A (en) Network configuration and remote registration binding method and system for intelligent household appliance
CN101035016A (en) Terminal equipment configuration system and method
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
CN106961426B (en) Communication method and device of intelligent equipment
US10616066B2 (en) Device discovery in a network environment
CN111866063B (en) Online updating system, method and device for AI algorithm of industrial Internet of things
CN109586958B (en) Configuration management method for dual-system device and dual-system device
CN107947966B (en) Configuration management system and configuration management method
CN105722012A (en) Method for connecting communication device, terminal device and server system
CN105682182A (en) Device discovery and device connection method, device and system
CN103973474A (en) Network terminal update configuration method
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN112202877A (en) Gateway linkage method, gateway, cloud server and user terminal
CN113196721B (en) Method and device for discovering Internet of things equipment and terminal equipment
CN105050028B (en) Method and device for controlling household electrical appliance
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN112583639B (en) Configuration method and device of network equipment
EP2936891B1 (en) Method, control node, gateway and computer program for enabling communication with a newly detected device
WO2012155571A1 (en) Base station self-configuration method and device
CN104797004A (en) Method for implementation of automatic networking between master and slave devices
WO2010124571A1 (en) Node information acquirement method, client, and server

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