CN112333033A - Network distribution method and device of Internet of things equipment - Google Patents

Network distribution method and device of Internet of things equipment Download PDF

Info

Publication number
CN112333033A
CN112333033A CN202011379472.4A CN202011379472A CN112333033A CN 112333033 A CN112333033 A CN 112333033A CN 202011379472 A CN202011379472 A CN 202011379472A CN 112333033 A CN112333033 A CN 112333033A
Authority
CN
China
Prior art keywords
router
name
distribution
password
distribution network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011379472.4A
Other languages
Chinese (zh)
Inventor
王思
聂东元
黄斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent 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 Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202011379472.4A priority Critical patent/CN112333033A/en
Publication of CN112333033A publication Critical patent/CN112333033A/en
Pending legal-status Critical Current

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/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network distribution method and a network distribution device for Internet of things equipment, wherein the method comprises the following steps: when the intelligent terminal is in a state of waiting for network distribution, receiving first distribution network information which is sent by an external intelligent terminal and used for establishing communication with a target router, wherein the first distribution network information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing the name information of the target router acquired by the intelligent terminal, and different coding names are obtained by converting the first name through different Chinese coding formats by the intelligent terminal; acquiring second distribution network information of at least one router to be connected; determining a first router from at least one router to be connected, wherein a second MAC address of the first router is the same as a first MAC address of a target router; communication with the first router is established based on the first name, the at least one encoded name, and the password. The efficiency that thing networking device joined in marriage the net can be improved to this scheme.

Description

Network distribution method and device of Internet of things equipment
Technical Field
The invention relates to the technical field of communication, in particular to a network distribution method and device for Internet of things equipment.
Background
The internet of things equipment is usually connected with the router by using the router name and the password sent by the mobile phone end, and the router can be successfully connected to realize networking only when the router name and the password sent by the mobile phone end are completely consistent with the router configuration name and the password.
The invention discloses a method for connecting a router, which is mainly characterized in that a first connection between an external device and the router is established, and a second connection between the external device and the router is established by starting a safety button of the router, so that the successful connection between the external device and the router is realized.
Generally, a router supports the use of a Chinese name, and because a Chinese coding format is not uniformly specified, the names of routers acquired by different mobile phone terminals are different, and therefore, the router name and the password sent by the mobile phone terminal by the internet of things device often cannot be successfully connected with the router.
At present, when the internet of things equipment cannot be successfully connected with a router by using a router name and a password sent by a mobile phone end, the router name and the password are adopted to try to be connected with each router to be connected one by one, so that the efficiency of a network distribution of the internet of things equipment is low.
Disclosure of Invention
The invention provides a network distribution method and device for Internet of things equipment, which can improve the efficiency of network distribution of the Internet of things equipment.
In a first aspect, an embodiment of the present invention provides a network distribution method for internet of things devices, including:
when the network distribution system is in a state of waiting for network distribution, receiving first network distribution information which is sent by an external intelligent terminal and used for establishing communication with a target router, wherein the first network distribution information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing the name information of the target router acquired by the intelligent terminal, and different coding names are acquired by converting the first name through different Chinese coding formats by the intelligent terminal;
acquiring second distribution network information of at least one router to be connected, wherein the second distribution network information of each router to be connected comprises a second MAC address used for representing the current router to be connected;
determining a first router from at least one router to be connected, wherein a second MAC address of the first router is the same as a first MAC address of the target router;
establishing communication with the first router according to the first name, the at least one encoding name and the password.
In a possible design, after the determining a first router from among the at least one router to be connected and before the establishing communication with the first router according to the first name, the at least one encoding name, and the password, the method further includes:
judging whether a second name which is the same as the first name or at least one encoding name exists in second distribution network information of the first router or not;
and if so, determining the first router as the target router, and establishing communication with the target router according to the second name and the password.
In a possible design, after the obtaining the second distribution network information of the at least one router to be connected, the method further includes:
and when the first router is not included in at least one router to be connected, establishing communication with the router to be connected according to the first name, the at least one encoding name and the password.
In one possible design, the establishing communication with the router to be connected according to the first name, the at least one encoded name, and the password includes:
judging whether the first name is the same as each code name or not;
if yes, determining that the first name and the plurality of coding names do not comprise Chinese characters, and establishing communication with a router to be connected, which does not comprise the Chinese characters in name information, according to the first name or one of the coding names and the password;
if not, determining that the first name and the plurality of coding names both comprise Chinese characters, and establishing communication with the router to be connected, which comprises the Chinese characters in the name information, according to the first name, the plurality of coding names and the password.
In one possible design, after establishing communication with the first router according to the first name, at least one of the encoded names, and the password, further comprising:
judging whether feedback information used for representing successful communication from the first router is received within a preset time range;
if so, storing the first distribution network information as the distribution network information of the first router;
and if not, sending a distribution network failure instruction for representing distribution network failure to the intelligent terminal.
In a second aspect, an embodiment of the present invention provides a network distribution device for internet of things devices, including:
the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving first distribution network information which is sent by an external intelligent terminal and used for establishing communication with a target router when the intelligent terminal is in a state of waiting for network distribution, the first distribution network information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing name information of the target router acquired by the intelligent terminal, and different coding names are obtained by converting the first name through different Chinese coding formats by the intelligent terminal;
the acquisition module is used for acquiring second distribution network information of at least one router to be connected, wherein the second distribution network information of each router to be connected comprises a second MAC address used for representing the current router to be connected;
a determining module, configured to determine a first router from at least one router to be connected, where a second MAC address of the first router is the same as a first MAC address of the target router;
and the first connection module is used for establishing communication with the first router determined by the determination module according to the first name, the at least one encoding name and the password received by the receiving module.
In one possible design, the network distribution device of the internet of things device further includes:
a determining module, configured to determine whether a second name that is the same as the first name or the at least one encoding name exists in the second distribution network information of the first router determined by the determining module;
and the second connection module is used for determining the first router determined by the determination module as the target router according to the judgment result of the judgment module and if the second name exists, and establishing communication with the target router according to the second name and the password.
In one possible design, the network distribution device of the internet of things device further includes:
and the third connection module is used for establishing communication with the router to be connected according to the first name, the at least one coding name and the password when the first router is not included in the at least one router to be connected.
In a third aspect, an embodiment of the present invention further provides an intelligent device, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the network distribution method of the internet of things device in any one of the first aspect and the second aspect.
In a fourth aspect, embodiments of the invention also provide a computer-readable medium,
the computer readable medium has stored thereon computer instructions, which, when executed by a processor, cause the processor to execute the method for network distribution of internet of things devices provided by the first aspect or any possible implementation manner of the first aspect.
According to the technical scheme, when the distribution network is in a distribution network state, first distribution network information sent by an intelligent terminal and used for establishing communication with a target router is received, wherein the first distribution network information comprises the MAC address and the password of the target router, the first name of the target router obtained by the intelligent terminal and a plurality of coding names obtained by converting the first name through different Chinese coding formats, second distribution network information of a plurality of routers to be connected is obtained, the first router which is the same as the MAC address of the target router is determined, and communication with the first router is established by using the first name, the coding names and the password. According to the method, after the first router with the same MAC address as the target router is determined, the first router is connected with the plurality of name information and passwords in the first distribution network information, and the first router does not need to be connected with the router to be connected one by one, so that the efficiency of the distribution network of the Internet of things equipment is improved.
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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a network distribution method for devices in the internet of things according to an embodiment of the present invention;
fig. 2 is a flowchart of another network distribution method for devices in the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a device in which a network distribution device of an internet of things device is located according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a network distribution device of an internet of things device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a network distribution method for devices in the internet of things, where the method may include the following steps:
step 101: when the intelligent terminal is in a state of waiting for network distribution, receiving first distribution network information which is sent by an external intelligent terminal and used for establishing communication with a target router, wherein the first distribution network information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing the name information of the target router acquired by the intelligent terminal, and different coding names are obtained by converting the first name through different Chinese coding formats by the intelligent terminal;
step 102: acquiring second distribution network information of at least one router to be connected, wherein the second distribution network information of each router to be connected comprises a second MAC address used for representing the current router to be connected;
step 103: determining a first router from at least one router to be connected, wherein a second MAC address of the first router is the same as a first MAC address of a target router;
step 104: communication with the first router is established based on the first name, the at least one encoded name, and the password.
In the embodiment of the invention, when the distribution network is in a distribution network state, first distribution network information sent by an intelligent terminal and used for establishing communication with a target router is received, wherein the first distribution network information comprises an MAC address and a password of the target router, a first name of the target router obtained by the intelligent terminal and a plurality of coding names obtained by converting the first name through different Chinese coding formats, second distribution network information of a plurality of routers to be connected is obtained, the first router which is the same as the MAC address of the target router is determined, and the communication with the first router is established by using the first name, the plurality of coding names and the password. According to the method, after the first router with the same MAC address as the target router is determined, the first router is connected with the plurality of name information and passwords in the first distribution network information, and the first router does not need to be connected with the router to be connected one by one, so that the efficiency of the distribution network of the Internet of things equipment is improved.
It should be noted that the first name in the first distribution network information is acquired by the intelligent terminal, and therefore, the first names acquired by different intelligent terminals may have a difference. For example, when the name of the target router includes chinese characters, a mobile phone with an iOS operating system can obtain the original information broadcast by the target router, i.e. the real name of the target router. The mobile phone with the android operating system acquires the router name in the UTF-8 encoding format, namely the real name of the target router is transcoded. The intelligent terminal includes, but is not limited to, a mobile phone and a tablet computer.
In addition, the different Chinese encoding formats adopted when transcoding the first name to generate the plurality of encoding names include, but are not limited to, GB2312 (simplified Chinese encoding), BIG5 (traditional Chinese encoding), GBK (simplified/traditional Chinese encoding), and UTF-8 (one of Unicode encoding).
Based on the network distribution method of the internet of things device shown in fig. 1, in an embodiment of the present invention, after step 103 and before step 104, the following steps may also be included:
judging whether a second name which is the same as the first name or at least one coding name exists in second distribution network information of the first router or not;
and if so, determining the first router as the target router, and establishing communication with the target router according to the second name and the password.
In the embodiment of the invention, if a second name which is the same as the first name or the one/more first coding names in the first distribution network information exists in the second distribution network information of the first router, the first router is determined as the target router, and the communication connection is established with the target router by using the second name and the password. Therefore, when the password is ensured to be correct, the first router can be determined to be the target router only by the fact that the second name of the first router is the same as the name of any router in the first distribution network information, and the second name and the password are used for establishing communication connection. That is to say, by using multiple names of the target router in the first distribution network information, the second name can be quickly matched and communication connection can be established, so that the efficiency of the distribution network of the internet of things equipment is improved. Meanwhile, the situation that the intelligent terminal cannot be connected with the router when the name of the target router is obtained and is different from the name of the router to be connected is avoided.
Based on the network distribution method of the internet of things device shown in fig. 1, in an embodiment of the present invention, after step 102, the method may further include the following steps:
and when the first router is not included in the at least one router to be connected, establishing communication with the router to be connected according to the first name, the at least one encoding name and the password.
In the embodiment of the invention, when at least one router to be connected does not have a first router with the same MAC address as the target router, the communication with the router to be connected is established by utilizing a plurality of names and passwords of the routers in the first distribution network information, so that the distribution network efficiency of the equipment of the Internet of things can be further improved.
Based on the network distribution method of the internet of things device shown in fig. 1, in an embodiment of the present invention, when at least one to-be-connected router does not include a first router, establishing communication with the to-be-connected router according to a first name, at least one encoding name, and a password, may specifically include the following steps:
judging whether the first name is the same as each coding name or not;
if yes, determining that the first name and the plurality of coding names do not comprise Chinese characters, and establishing communication with a router to be connected, which does not comprise the Chinese characters in name information, according to the first name or one of the coding names and the password;
if not, determining that the first name and the plurality of coding names both comprise Chinese characters, and establishing communication with the router to be connected, which comprises the Chinese characters in the name information, according to the first name, the plurality of coding names and the password.
In the embodiment of the invention, when a first router which is the same as the MAC address of the target router does not exist in at least one router to be connected, the name type of the target router can be determined by judging whether the first name is the same as a plurality of encoding names, namely whether the name of the target router contains Chinese characters. If the name of the target router does not contain Chinese characters, connecting the name and the password of any router in the first distribution network information with a router to be connected, which does not contain the Chinese characters, in the name information; and if the name of the target router contains Chinese characters, connecting the router to be connected with the name information including the Chinese characters by using the names and the passwords of the plurality of routers in the first distribution network information. Therefore, after the name type of the target router is determined, the routers to be connected with the target router and different from the name type are screened out, namely, the routers to be connected with the target router are not required to be connected with the acquired routers to be connected one by one, the time of a network distribution of the Internet of things equipment is saved, and therefore the connection can be established quickly and efficiently, and the efficiency of the network distribution of the Internet of things equipment is improved.
It is understood that the name types of the target router include two types, respectively: containing chinese characters and not containing chinese characters (letters/numbers), wherein a name containing a chinese character may include containing only a chinese character and containing a portion of a chinese character (letters/numbers + chinese characters). When the first name and the plurality of coding names in the first distribution network information are different, the name type of the target router is indicated to be only containing Chinese characters or containing partial Chinese characters (letters/numbers + Chinese characters); when the first name is the same as the plurality of code names, the name type of the target router is indicated as containing no Chinese characters (letters/numbers).
It should be noted that, after the first distribution network information sent by the intelligent terminal is received, the name type of the target router may also be determined. Specifically, whether a first name in the first distribution network information is the same as each code name is judged; if so, determining that the name type of the target router does not contain Chinese characters, and acquiring the distribution network information of the router to be connected, which does not contain Chinese characters in the name information; if not, determining that the name type of the target router contains Chinese characters, and acquiring the distribution network information of the router to be connected, which contains the Chinese characters in the name information. The router to be connected with the same name type as the target router is screened out, so that whether the router with the same MAC address as the target router exists or not can be quickly determined, and the efficiency of a network distribution of the Internet of things equipment can be improved.
In addition, when the Internet of things equipment does not acquire the first router with the same MAC address as the target router or does not acquire the names with the same names as the names in the first distribution network information, the name type of the target router is determined, so that the router to be connected with the name type different from the name type can be removed, and the efficiency of the distribution network of the Internet of things equipment is improved.
Based on the network distribution method of the internet of things device shown in fig. 1, in an embodiment of the present invention, after step 104, the following steps may also be included:
judging whether feedback information used for representing successful communication from the first router is received within a preset time range;
if so, storing the first distribution network information as the distribution network information of the first router;
and if not, sending a distribution network failure instruction for representing distribution network failure to the intelligent terminal.
In the embodiment of the invention, if the feedback information of the first router is received within the preset time range, the first distribution network information is stored, so that the internet of things equipment can directly establish communication connection with the first router by adopting the stored first distribution network information, and the efficiency of the distribution network of the internet of things equipment is further improved. If the feedback information is not received, a distribution network failure instruction is sent to the intelligent terminal, so that the intelligent terminal displays the distribution network failure information to the user, the displayed distribution network failure information is timely adjusted, and the distribution network of the equipment of the Internet of things can be realized in other modes.
In order to more clearly illustrate the technical solution of the present invention, a network distribution method for internet of things devices provided in an embodiment of the present invention is described in detail below, and as shown in fig. 2, the method may include the following steps:
step 201: and when the network is in a state of waiting for network distribution, receiving first network distribution information which is sent by an external intelligent terminal and used for establishing communication with the target router.
In this step, the first distribution network information includes a first name of the target router, at least one code name, a first MAC address, and a password, where the first name is the name of the target router obtained by the intelligent terminal, and different code names are obtained by converting the first name by the intelligent terminal according to different chinese coding formats.
For example, if the mobile phone obtains the router name in the UTF-8 encoding format, the first name is the UTF-8 encoding name, and transcoding the UTF-8 encoding name can obtain a plurality of different encoding names, which are: GBK code name, BIG5 code name, GB2312 code name. Therefore, the first distribution network information includes: UTF-8 encoding name, GBK encoding name, BIG5 encoding name, GB2312 encoding name, MAC address and password of the target router.
It should be noted that, before step 201, the method may further include: when the internet of things equipment is just powered on, if the distribution network information (MAC address, name information and password) of the connected router is stored, and a target router which is the same as the stored MAC address, name information and password of the router exists in the searched to-be-connected router, establishing communication connection with the target router by using the stored name information and password, otherwise entering a to-be-distributed state.
Step 202: and acquiring second distribution network information of at least one router to be connected.
In this step, each obtained second distribution network information includes a second MAC address and/or a router name of the current router to be connected. In particular, when the router to be connected is in the hidden mode, the name information of the router to be connected cannot be acquired.
Step 203: and judging whether a first router with the same MAC address as the target router exists in at least one router to be connected, if so, executing step 204, otherwise, executing step 206.
Specifically, whether a second MAC address identical to the first MAC address of the target router exists in the second distribution network information of each router to be connected is judged, wherein the router to be connected corresponding to the second MAC address is the first router.
Step 204: and judging whether a second name which is the same as the first name or the at least one code name exists in the second distribution network information of the first router, if so, executing the step 205, otherwise, executing the step 211.
Step 205: the first router is determined to be the target router and communication with the target router is established based on the second name and the password, and step 209 is performed.
Step 206: and judging whether the first name in the first distribution network information is the same as each code name, if so, executing step 207, otherwise, executing step 208.
Step 207: step 209 is performed by establishing communication with the router to be connected, which does not include the chinese character in the name information, using the first name or one of the encoded names and the password.
In this step, if the first name in the first distribution network information is the same as each coding name, it is determined that neither the first name nor the plurality of coding names include a chinese character, that is, the name of the target router does not include a chinese character, and communication with a router to be connected that does not include a chinese character in the name information is established using the name and the password of any one router in the first distribution network information.
For example, when the name type of the target router is a number, the target router is connected with the router to be connected, the name type of which is a number, by using the first name or one of the encoding names and the passwords.
Step 208: step 209 is performed by establishing communication with the router to be connected including the chinese character in the name information using the first name, the plurality of encoded names, and the password.
In this step, if the first name in the first distribution network information is different from the at least one code name, it is determined that the first name and the plurality of code names both include chinese characters, that is, the name of the target router includes chinese characters, and communication with the router to be connected including the chinese characters in the name information is established using the names and the passwords of the plurality of routers in the first distribution network information.
For example, when the name of the target router includes a chinese character, the name and the password of the plurality of routers in the first distribution network information are used to connect with the router to be connected, which includes the chinese character in the router name.
Step 209: and judging whether feedback information used for representing successful communication is received within a preset time range, if so, executing step 210, and otherwise, executing step 211.
The sources of the feedback information are specifically: in step 205, the feedback information comes from the target router; in step 207, the feedback information comes from the router to be connected which does not include the Chinese character in the name information; in step 208, the feedback information comes from the router to be connected including the chinese character in the name information.
Step 210: and storing the first distribution network information.
Step 211: and sending a distribution network failure instruction for representing distribution network failure to the intelligent terminal.
In the step, a distribution network failure instruction is sent to the intelligent terminal, so that the intelligent terminal displays distribution network failure information according to the distribution network failure instruction.
As shown in fig. 3 and 4, an embodiment of the present invention provides a device in which a network distribution device of an internet of things device is located and a network distribution device of the internet of things device. The network distribution device of the internet of things equipment can be realized through software, and also can be realized through hardware or a mode of combining the hardware and the software. In terms of hardware, as shown in fig. 3, a hardware structure diagram of a device in which a network distribution apparatus of an internet of things device is located according to an embodiment of the present invention is provided, where in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the device in which the apparatus is located in the embodiment may generally include other hardware, such as a forwarding chip responsible for processing a packet, and the like. Taking a software implementation as an example, as shown in fig. 4, as a logical apparatus, the apparatus is formed by reading a corresponding computer program instruction in a non-volatile memory into a memory by a CPU of a device in which the apparatus is located and running the computer program instruction.
As shown in fig. 4, an embodiment of the present invention provides a network distribution device for internet of things devices, including:
the receiving module 401 is configured to receive first distribution network information sent by an external intelligent terminal and used for establishing communication with a target router when the external intelligent terminal is in a state to be distributed in a network, where the first distribution network information includes a first name, at least one encoding name, a first MAC address and a password, the first name is used to represent name information of the target router obtained by the intelligent terminal, and different encoding names are obtained by the intelligent terminal by converting the first name in different chinese encoding formats;
an obtaining module 402, configured to obtain second distribution network information of at least one to-be-connected router, where the second distribution network information of each to-be-connected router includes a second MAC address used to represent a current to-be-connected router;
a determining module 403, configured to determine a first router from at least one router to be connected, where a second MAC address of the first router is the same as a first MAC address of a target router;
the first connection module 404 is configured to establish communication with the first router determined by the determination module 403 according to the first name, the at least one encoding name, and the password received by the receiving module 401.
Based on the network distribution device of the internet of things equipment shown in fig. 4, in an embodiment of the present invention, the network distribution device of the internet of things equipment further includes:
a determining module, configured to determine whether a second name that is the same as the first name or the at least one code name exists in the second distribution network information of the first router determined by the determining module 403;
and a second connection module, configured to determine, according to a determination result of the determination module, if the second name exists, the first router determined by the determination module 403 as the target router, and establish communication with the target router according to the second name and the password.
Based on the network distribution device of the internet of things equipment shown in fig. 4, in an embodiment of the present invention, the network distribution device of the internet of things equipment further includes:
and a third connection module, configured to establish, when the at least one to-be-connected router does not include the first router, communication with the to-be-connected router according to the first name, the at least one encoding name, and the password received by the receiving module 401.
In an embodiment of the present invention, the third connection module is specifically configured to perform the following processing:
judging whether the first name is the same as each coding name or not;
if yes, determining that the first name and the plurality of coding names do not comprise Chinese characters, and establishing communication with a router to be connected, which does not comprise the Chinese characters in name information, according to the first name or one of the coding names and the password;
if not, determining that the first name and the plurality of coding names both comprise Chinese characters, and establishing communication with the router to be connected, which comprises the Chinese characters in the name information, according to the first name, the plurality of coding names and the password.
Based on the network distribution device of the internet of things equipment shown in fig. 4, in an embodiment of the present invention, the network distribution device of the internet of things equipment further includes:
a determining module, configured to determine whether feedback information used for representing successful communication is received from the first router determined by the determining module 403 within a preset time range;
the storage module is configured to, according to a determination result of the determination module, store the first distribution network information as distribution network information of the first router if the feedback information from the first router determined by the determination module 403 is received within a preset time range;
and a sending module, configured to send, according to a determination result of the determining module, a distribution network failure instruction for representing a distribution network failure to the intelligent terminal if the feedback information from the first router determined by the determining module 403 is not received within a preset time range.
It should be noted that the configuration illustrated in the embodiment of the present invention does not specifically limit the distribution network device of the internet of things device. In other embodiments of the present invention, the network distribution apparatus of the internet of things device may include more or fewer components than those shown, or combine some components, or split some components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the content of information interaction, execution process, and the like among the modules in the device is based on the same concept as the method embodiment of the present invention, specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
An embodiment of the present invention further provides an intelligent device, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the network distribution method of the internet of things device in any embodiment.
Embodiments of the present invention also provide a computer-readable medium storing instructions for causing a computer to perform a network distribution method for internet of things devices as described herein. Specifically, a method or an apparatus equipped with a storage medium on which a software program code that realizes the functions of any of the above-described embodiments is stored may be provided, and a computer (or a CPU or MPU) of the method or the apparatus is caused to read out and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion module to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware module may be implemented mechanically or electrically. For example, a hardware module may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. A hardware module may also include programmable logic or circuitry (e.g., a general-purpose processor or other programmable processor) that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. A network distribution method of Internet of things equipment is characterized by comprising the following steps:
when the network distribution system is in a state of waiting for network distribution, receiving first network distribution information which is sent by an external intelligent terminal and used for establishing communication with a target router, wherein the first network distribution information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing the name information of the target router acquired by the intelligent terminal, and different coding names are acquired by converting the first name through different Chinese coding formats by the intelligent terminal;
acquiring second distribution network information of at least one router to be connected, wherein the second distribution network information of each router to be connected comprises a second MAC address used for representing the current router to be connected;
determining a first router from at least one router to be connected, wherein a second MAC address of the first router is the same as a first MAC address of the target router;
establishing communication with the first router according to the first name, the at least one encoding name and the password.
2. The network distribution method of the Internet of things equipment as recited in claim 1,
after the determining a first router from at least one router to be connected and before establishing communication with the first router according to the first name, at least one encoding name and the password, further comprising:
judging whether a second name which is the same as the first name or at least one encoding name exists in second distribution network information of the first router or not;
and if so, determining the first router as the target router, and establishing communication with the target router according to the second name and the password.
3. The network distribution method of the internet of things equipment according to claim 1, wherein after the obtaining the second distribution network information of the at least one to-be-connected router, the method further comprises:
and when the first router is not included in at least one router to be connected, establishing communication with the router to be connected according to the first name, the at least one encoding name and the password.
4. The network distribution method of the internet of things equipment, according to claim 3, wherein the establishing communication with the to-be-connected router according to the first name, the at least one encoding name and the password comprises:
judging whether the first name is the same as each code name or not;
if yes, determining that the first name and the plurality of coding names do not comprise Chinese characters, and establishing communication with a router to be connected, which does not comprise the Chinese characters in name information, according to the first name or one of the coding names and the password;
if not, determining that the first name and the plurality of coding names both comprise Chinese characters, and establishing communication with the router to be connected, which comprises the Chinese characters in the name information, according to the first name, the plurality of coding names and the password.
5. The network distribution method for the internet of things equipment according to any one of claims 1-4, wherein after establishing communication with the first router according to the first name, the at least one encoding name and the password, the method further comprises:
judging whether feedback information used for representing successful communication from the first router is received within a preset time range;
if so, storing the first distribution network information as the distribution network information of the first router;
and if not, sending a distribution network failure instruction for representing distribution network failure to the intelligent terminal.
6. Net device is joined in marriage to thing networking device, its characterized in that includes:
the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving first distribution network information which is sent by an external intelligent terminal and used for establishing communication with a target router when the intelligent terminal is in a state of waiting for network distribution, the first distribution network information comprises a first name, at least one coding name, a first MAC address and a password, the first name is used for representing name information of the target router acquired by the intelligent terminal, and different coding names are obtained by converting the first name through different Chinese coding formats by the intelligent terminal;
the acquisition module is used for acquiring second distribution network information of at least one router to be connected, wherein the second distribution network information of each router to be connected comprises a second MAC address used for representing the current router to be connected;
a determining module, configured to determine a first router from at least one router to be connected, where a second MAC address of the first router is the same as a first MAC address of the target router;
and the first connection module is used for establishing communication with the first router determined by the determination module according to the first name, the at least one encoding name and the password received by the receiving module.
7. The distribution network apparatus of the internet of things equipment of claim 6, further comprising: the judgment module and the second connection module;
the determining module is configured to determine whether a second name that is the same as the first name or the at least one encoding name exists in the second distribution network information of the first router determined by the determining module;
and the second connection module is used for determining the first router determined by the determination module as the target router according to the judgment result of the judgment module and if the second name exists, and establishing communication with the target router according to the second name and the password.
8. The distribution network apparatus of the internet of things equipment of claim 6, further comprising: a third connecting module;
the third connection module is configured to establish, when the first router is not included in the at least one router to be connected, communication with the router to be connected according to the first name, the at least one encoding name, and the password received by the receiving module.
9. Smart device, characterized in that it comprises: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the network distribution method of the internet of things device according to any one of claims 1 to 5.
10. Computer readable medium, characterized in that the computer readable medium has stored thereon computer instructions, which when executed by a processor, cause the processor to execute the method for network distribution of internet of things devices according to any one of claims 1 to 5.
CN202011379472.4A 2020-12-01 2020-12-01 Network distribution method and device of Internet of things equipment Pending CN112333033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011379472.4A CN112333033A (en) 2020-12-01 2020-12-01 Network distribution method and device of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011379472.4A CN112333033A (en) 2020-12-01 2020-12-01 Network distribution method and device of Internet of things equipment

Publications (1)

Publication Number Publication Date
CN112333033A true CN112333033A (en) 2021-02-05

Family

ID=74309749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011379472.4A Pending CN112333033A (en) 2020-12-01 2020-12-01 Network distribution method and device of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN112333033A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114459633A (en) * 2022-04-11 2022-05-10 深圳中宝新材科技有限公司 Data encryption and decryption method for anti-oxidation gold bonding wire equipment based on Internet of things
CN114727365A (en) * 2022-04-02 2022-07-08 深圳市安保数字感控科技有限公司 Equipment network distribution method and system and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089265A (en) * 2018-08-14 2018-12-25 四川虹美智能科技有限公司 A kind of equipment networking management system and method, a kind of smart machine
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
US10581793B1 (en) * 2016-04-29 2020-03-03 Arista Networks, Inc. Address resolution in virtual extensible networks
CN111107605A (en) * 2018-10-26 2020-05-05 九阳股份有限公司 Network distribution method of household electrical appliance and household electrical appliance
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10581793B1 (en) * 2016-04-29 2020-03-03 Arista Networks, Inc. Address resolution in virtual extensible networks
CN109089265A (en) * 2018-08-14 2018-12-25 四川虹美智能科技有限公司 A kind of equipment networking management system and method, a kind of smart machine
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
CN111107605A (en) * 2018-10-26 2020-05-05 九阳股份有限公司 Network distribution method of household electrical appliance and household electrical appliance
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727365A (en) * 2022-04-02 2022-07-08 深圳市安保数字感控科技有限公司 Equipment network distribution method and system and computer readable storage medium
CN114459633A (en) * 2022-04-11 2022-05-10 深圳中宝新材科技有限公司 Data encryption and decryption method for anti-oxidation gold bonding wire equipment based on Internet of things

Similar Documents

Publication Publication Date Title
KR100677063B1 (en) Data transmission method and terminal using short message service
CN111586591A (en) Network distribution method and system, intelligent terminal and Internet of things equipment
CN112333033A (en) Network distribution method and device of Internet of things equipment
CN104144097A (en) Voice message transmission system, sending end, receiving end and voice message transmission method
EP2509344A1 (en) Method for transmitting and receiving multimedia information and terminal thereof
CN110825448B (en) Method, device, electronic equipment and storage medium for realizing multi-service module mutual calling
CN110727497B (en) Message display method and device
EP3379771B1 (en) Message processing method, device and system
CN111328108A (en) 5G service data processing method and device and shunting equipment
CN113867732A (en) Message information processing method, system and storage medium
CN113194455A (en) Intelligent device network distribution method and device
US20120315931A1 (en) Short message processing method and apparatus
CN114157607A (en) Media stream transmission method and system
CN105491092B (en) Message pushing method and device
CN113596832B (en) Network connection establishment method and device, storage medium and electronic device
CN112087475A (en) Message pushing method and device for cloud platform component application and message server
CN106878145B (en) Display method, display device and display system of user-defined picture
ES2536714T3 (en) Method, system and mobile terminal for access point configuration and application information
CN111817930A (en) Equipment control method, intelligent household appliance, intelligent terminal and intelligent electronic equipment
EP2568671A1 (en) Method for composing information, corresponding terminal and instant messaging system
US9369854B2 (en) Device and method for dynamic concatenated short messaging service optimization of messages with multiple encoding schemes
KR100620331B1 (en) Mms transfer process test system including mms monitoring device for tracing and display mms transfer process, and test method transfer process using the same
CN112788078B (en) Data transmission method, receiving device, sending device and computer equipment
CN113986315A (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN108718346B (en) Resource processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205

RJ01 Rejection of invention patent application after publication