CN111277428A - Network distribution method and system for Internet of things equipment - Google Patents

Network distribution method and system for Internet of things equipment Download PDF

Info

Publication number
CN111277428A
CN111277428A CN201811482936.7A CN201811482936A CN111277428A CN 111277428 A CN111277428 A CN 111277428A CN 201811482936 A CN201811482936 A CN 201811482936A CN 111277428 A CN111277428 A CN 111277428A
Authority
CN
China
Prior art keywords
router
equipment
plug
distributed
networked
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
CN201811482936.7A
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811482936.7A priority Critical patent/CN111277428A/en
Publication of CN111277428A publication Critical patent/CN111277428A/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/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a network distribution method and system for Internet of things equipment, wherein the method comprises the following steps: sending a networking request signal to a router through a wireless connection module arranged in a plug of equipment to be distributed with a network, and judging whether the equipment to be distributed with the network is accessed to a wireless network managed by the router or not by the router based on the actual distance between the router and the plug of the equipment to be distributed with the network after receiving the networking request signal; receiving response information of successful networking of the equipment to be networked, which is returned by the router, and accessing the equipment to be networked to a wireless network managed by the router; and the router detects that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, and sends the response information. When the network to be distributed is distributed based on the method provided by the invention, the network distribution of the network to be distributed equipment can be conveniently and efficiently realized only by placing the plug of the network to be distributed equipment in the preset range of the router.

Description

Network distribution method and system for Internet of things equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a network distribution method and system for Internet of things equipment.
Background
With the continuous development of science and technology, various intelligent internet of things devices are also rising, and devices such as televisions, air conditioners and sound boxes have the network connection function, so that network information is acquired and transmitted. However, when the internet of things equipment works, a network needs to be distributed, and the internet of things equipment can be accessed to an existing network to perform subsequent network work.
At present, a network distribution mode universal for internet of things equipment is to input a connection name and a password of a router into the internet of things equipment for authentication and then to perform networking, but the method is complex in operation mode, and errors are easy to occur in the router information input process, so that user experience is influenced.
Disclosure of Invention
The invention provides a network distribution method and system for equipment of the Internet of things, which aim to overcome the problems or at least partially solve the problems.
According to one aspect of the invention, a network distribution method for equipment of the Internet of things is provided, which comprises the following steps:
sending a networking request signal to a router through a wireless connection module arranged in a plug of equipment to be distributed with a network, and judging whether the equipment to be distributed with the network is accessed to a wireless network managed by the router or not by the router based on the actual distance between the router and the plug of the equipment to be distributed with the network after receiving the networking request signal;
receiving response information of successful networking of the equipment to be networked, which is returned by the router, and accessing the equipment to be networked to a wireless network managed by the router; and the router detects that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, and sends the response information.
Optionally, after receiving the networking request signal, the router determines, based on an actual distance between the router and a plug of the device to be networked, whether to access the device to be networked to the wireless network managed by the router, where the determining includes:
the router receives the networking request signal and obtains the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
Optionally, the determining whether to access the device to be connected to the network to be connected to the wireless network managed by the router based on the actual distance includes:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
Optionally, the sending a networking request signal to the router through a wireless connection module arranged in a plug of the to-be-configured network device includes:
detecting whether a plug of the equipment to be networked is plugged into a power socket;
if the plug of the equipment to be distributed is plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the power socket;
and if the plug of the equipment to be distributed is not plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of a detachable battery assembly in the socket.
Optionally, after the sending a networking request signal to a router through a wireless connection module arranged in the plug of the device to be networked under the power supply of the detachable battery assembly in the socket if the plug of the device to be networked is not plugged into a power socket, the method further includes:
if the plug is plugged into a power socket in the networking process of the equipment to be distributed, the power supply source of the wireless connection module is automatically switched to the power socket from the detachable battery component.
According to another aspect of the present invention, there is also provided a network distribution system for devices of the internet of things, including at least one device to be distributed and a router, wherein,
the equipment to be distributed comprises a wireless connection module arranged in a plug and is configured to send a networking request signal to a router;
the router is configured to judge whether to access the equipment to be distributed to a wireless network managed by the router based on the actual distance between the router and a plug of the equipment to be distributed after receiving the networking request signal;
and when detecting that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, returning response information of successful networking of the equipment to be networked to the wireless connection module, and accessing the equipment to be networked to a wireless network managed by the router.
Optionally, the router is further configured to:
receiving the networking request signal, and acquiring the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
Optionally, the router is further configured to:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
Optionally, a detachable battery assembly for supplying power to the wireless connection module is further arranged in the plug of the network to be distributed device;
the wireless connection module is also configured to detect whether a plug of the equipment to be distributed is plugged into a power socket;
when the plug of the equipment to be distributed is plugged into a power socket, sending a networking request signal to a router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the power socket;
and when the plug of the equipment to be distributed is not plugged into a power socket, sending a networking request signal to a router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the detachable battery component.
Optionally, the wireless connection module is further configured to:
when the detachable battery component is powered on, after a networking request signal is sent to a router through a wireless connection module arranged in a plug of the equipment to be distributed, and when the plug is inserted into a power socket in the networking process of the equipment to be distributed is detected, the power supply source of the wireless connection module is automatically switched to the power socket through the detachable battery component.
According to another aspect of the present invention, there is also provided a computer storage medium storing computer program code, which when run on a computing device, causes the computing device to execute any of the internet of things device network distribution methods described above.
According to another aspect of the present invention, there is also provided a computing device comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform any of the internet of things device networking methods described above.
The invention provides a simple and convenient network distribution method and system for Internet of things equipment. And when the router judges that the actual distance between the plug of the equipment to be networked and the router is within the preset distance range, sending response information of successful networking of the equipment to be networked to a wireless connection module in the plug of the equipment to be networked, and then accessing the equipment to be networked into a wireless network managed by the router to complete network distribution. According to the invention, the wireless connection module is separated from the main body of the equipment to be networked and is arranged at the plug position, when the network needs to be distributed, the plug is arranged in the preset range of the router, so that the network can be accessed by the equipment to be networked operated by a user more conveniently and efficiently, and the complicated login information of the router does not need to be input into the equipment to be networked.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a network distribution method of internet of things equipment according to an embodiment of the invention;
fig. 2 is a schematic flow chart of a network distribution method of internet of things equipment according to a preferred embodiment of the invention
Fig. 3 is a schematic structure of a network distribution system of devices of the internet of things according to an embodiment of the invention;
fig. 4 is a schematic structure of a network distribution system of devices of the internet of things according to a preferred embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic flow diagram of a network distribution method for devices of the internet of things according to an embodiment of the present invention, and as shown in fig. 1, the network distribution method for devices of the internet of things according to the embodiment of the present invention may include:
step S102, a networking request signal is sent to a router through a wireless connection module arranged in a plug of equipment to be networked, and the router judges whether the equipment to be networked is accessed to a wireless network managed by the router or not based on the actual distance between the router and the plug of the equipment to be networked after receiving the networking request signal;
step S104, receiving response information of successful networking of the equipment to be networked returned by the router, and accessing the equipment to be networked to a wireless network managed by the router; the router detects that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, and sends the response information.
The embodiment of the invention provides an Internet of things equipment network distribution method based on a plug of the Internet of things equipment. And when the router judges that the actual distance between the plug of the equipment to be networked and the router is within the preset distance range, sending response information of successful networking of the equipment to be networked to a wireless connection module in the plug of the equipment to be networked, and then accessing the equipment to be networked into a wireless network managed by the router to complete network distribution. In the embodiment of the invention, the wireless connection module is separated from the main body of the equipment to be networked and is arranged at the plug position, when the network needs to be distributed, only the plug needs to be arranged in the preset range of the router, so that the network access of the equipment to be networked operated by a user can be realized more conveniently and efficiently, and the complicated login information of the router does not need to be input into the equipment to be networked. The preset distance range may be set according to a networking environment of the device to be networked, for example, the home network environment may be set within a distance range of 50cm, 30cm or other distance ranges, and the public network environment may be appropriately increased, which is not limited in the present invention. The equipment to be networked in the embodiment of the invention can be any intelligent equipment with a network connection function in the equipment of the internet of things, such as a sound box, a television, an air conditioner and the like.
The router is a device for connecting each local area network and wide area network in the internet, and automatically selects and sets a route according to the condition of a channel, and sends signals in a front-back sequence by using an optimal path. The router is a hub of the interconnection network, and can establish flexible connection in a multi-network interconnection environment.
In the step S102, after the wireless connection module in the plug of the device to be networked sends the networking request signal, the router receives and determines whether to access the device to be networked to the network, and in the actual application process, the following steps may be implemented:
s1-1, the router receives the networking request signal and obtains the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and S1-2, judging whether the equipment to be networked is accessed to the wireless network managed by the router or not based on the actual distance.
In the embodiment of the present invention, the wireless connection module disposed in the plug of the network device to be distributed is preferably a wireless WiFi connection module. With respect to the router, the WiFi metric may be represented by direct RF (Radio Frequency) energy dBm, or may be a relative value of RSSI (Received signal strength indicator). Optionally, in the embodiment of the present invention, when the router obtains the actual distance between the router and the plug of the device to be networked according to the strength of the networking request signal, the router may perform calculation according to the signal strength of the RSSI of the networking request signal, and further determine whether to access the device to be networked to the wireless network managed by the router based on the calculation result of the actual distance.
In the step S2, when determining whether to access the device to be networked to the wireless network managed by the router based on the actual distance, the actual distance may be compared with a preset distance range, and if the actual distance is within the preset distance range, the device to be networked is accessed to the wireless network managed by the router; and if the actual distance exceeds the preset distance range, the equipment to be networked is not allowed to access the wireless network managed by the router.
In practical application, a uniform method is adopted when the router detects the signal strength, but the transmission power of each device to be networked is different due to different types and models of the devices to be networked, so in the embodiment of the invention, when the wireless connection module sends the networking request signal, the wireless connection module can carry device information such as the name, the signal and the MAC address of the device to be networked, and when the router receives the networking request signal, the router can accurately calculate the actual distance between the router and a plug to which the wireless connection module sending the networking request signal belongs after confirming the transmission power of the device to be networked based on the device information of the device to be networked and calibrating the RSSI value. As mentioned above, the preset distance range may be set according to the networking environment of the device to be networked, and the present invention is not limited thereto.
When the equipment to be networked performs network connection, the wireless connection module arranged in the plug is in a working state, and then a networking request signal is sent. In the embodiment of the invention, the working state of the wireless connection module arranged in the plug can be determined according to whether the wireless connection module is powered on or not. Therefore, the sending of the networking request signal to the router through the wireless connection module arranged in the plug of the network-to-be-distributed device in step S102 may include:
s2-1, detecting whether a plug of the equipment to be distributed is plugged into a power socket;
s2-2, if the plug of the equipment to be networked is inserted into the power socket, sending a networking request signal to the router through the wireless connection module arranged in the plug of the equipment to be networked under the power supply of the power socket;
s2-3, if the plug of the equipment to be networked is not plugged into the power socket, the networking request signal is sent to the router through the wireless connection module arranged in the plug of the equipment to be networked under the power supply of the detachable battery pack in the socket.
Before a network is distributed for equipment to be distributed through the wireless connection module in the plug, the power supply state of the wireless connection module can be preferentially detected, if the plug of the equipment to be distributed is detected to be inserted into a power socket, the network distribution work is carried out in the power supply state of the power socket, and if the plug of the equipment to be distributed is detected not to be inserted into the power socket, the network distribution work is carried out under the power supply of a battery. The detachable battery component in the embodiment of the invention is preferably at least one button battery which is arranged in the plug and supplies power to the wireless connection module, and the battery is started to supply power only in the state that the plug is not plugged into the power socket, so that the power supply device can be reasonably distributed, and the battery power can be saved.
Except that above-mentioned introduces, can also set up the switch of control wireless connection module operating condition in the plug, when this switch was opened, wireless connection module possesses the power source and begins work and waits to join in marriage the networking work of net equipment, and after this switch closed, thereby wireless connection module's power was closed and stop work and the networking work of net equipment is joined in marriage to the end, and in the practical application, there can also be the operating condition of other modes control wireless connection module, and here is no longer repeated.
In addition, under certain conditions, for example, when the equipment to be distributed is initially distributed, a power socket cannot be provided within a preset range of the router, distribution needs to be achieved in a battery power supply state in the socket, the socket of the equipment to be distributed is inserted into the power socket in a subsequent working process of the equipment to be distributed after the distribution is successful, and at the moment, the power supply source of the wireless connection module can be automatically switched to the power socket. That is, the step S2-3, after sending the networking request signal to the router through the wireless connection module disposed in the plug of the network-to-be-distributed device under the power supply of the detachable battery assembly in the socket, may further include: if the plug is plugged into the power socket in the networking process of the equipment to be networked, the power supply source of the wireless connection module is automatically switched to the power socket through the detachable battery assembly, and the wireless connection module and the equipment to be networked complete communication work so as to assist the equipment to be networked to realize a network connection function. In addition, except for automatically switching the power supply mode when the wireless connection module is detected to be changed from the battery assembly to the power socket during the distribution of the network, the battery power supply can also be automatically switched to the power socket for power supply when the wireless connection module is detected to be changed from the battery assembly to the power socket after the distribution of the network equipment is completed.
The internet of things device network distribution method introduced in the above embodiment is described in detail through a preferred embodiment. In a preferred embodiment of the present invention, a sound box is used as a device to be networked, the sound box includes a sound box main body, and a power line and a plug connected to the sound box main body, a WiFi module and a battery for supplying power to the WiFi module are disposed in the plug of the sound box, and a network distribution environment is a home network, as shown in fig. 2, the method for networking the device to be networked in the preferred embodiment may include the following steps:
step S201, detecting whether the plug of the sound box is plugged into a power socket, if the plug of the sound box is plugged into the power socket, executing step S202, and if the plug of the sound box is not plugged into the power socket, executing step S203;
step S202, sending a networking request signal to a router through a WiFi module arranged in a sound box plug under the power supply of a power socket;
step S203, sending a networking request signal to a router through a WiFi module arranged in a sound box plug under the power supply of a battery;
step S204, the router receives the networking request signal, calculates the actual distance between the router and the loudspeaker box based on the strength of the networking request signal, and judges whether the actual distance is less than the preset distance of 30 cm; if the actual distance is greater than 30cm, executing step S205; if the actual distance is less than or equal to 30cm, executing step S206;
step S205, refusing the loudspeaker box to access the wireless network managed by the router;
step S206, the sound box is accessed to a wireless network managed by the router, and a distribution network is completed;
step S207, detecting that the plug is plugged into the power socket, automatically switching the power supply source of the WiFi module from the battery to the power socket.
This preferred embodiment has introduced its net process of joining in marriage with the audio amplifier as an example, because be provided with the wiFi module in the audio amplifier plug, consequently, when joining in marriage the net to the audio amplifier, only need place the audio amplifier plug within 30cm range apart from the router, need not loaded down with trivial details input router's networking information again, owing to still be provided with the battery in the plug in addition, even the plug is for inserting supply socket, still can accomplish under the power supply of battery and join in marriage the net.
In the preferred embodiment, after steps S203 and S206, if it is detected that the plug is plugged into the power socket, the power source of the WiFi module is automatically switched from the battery to the power socket, so as to intelligently and distribute the power supply device of the WiFi module, and reasonably utilize the battery for power supply.
Based on the same inventive concept, an embodiment of the present invention further provides a network distribution system for devices of the internet of things, as shown in fig. 3, the network distribution system includes at least one device 310 to be distributed and a router 320, the network distribution system for devices of the internet of things shown in fig. 3 includes two devices to be distributed, in practical applications, multiple devices or one device may be set according to different requirements, and the present invention is not limited. Wherein,
the device to be networked 310 includes a wireless connection module 311 disposed in the plug, configured to send a networking request signal to the router 320;
the router 320 is configured to determine whether to access the device to be networked to the wireless network managed by the router 320 based on the actual distance between the router 320 and the plug of the device to be networked 310 after receiving the networking request signal;
when the actual distance between the plug of the device 310 to be networked and the router 320 is detected to be within the preset distance range, response information that networking of the device 310 to be networked is successful is returned to the wireless connection module 311, and the device 310 to be networked is accessed to the wireless network managed by the router 320.
In a preferred embodiment of the present invention, the router 320 may be further configured to:
receiving a networking request signal, and acquiring the actual distance between the router 320 and the plug of the device to be networked 310 according to the strength of the networking request signal;
and judging whether to access the device 310 to be networked to the wireless network managed by the router based on the actual distance.
In a preferred embodiment of the present invention, the router 320 may be further configured to:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the device 310 to be networked to a wireless network managed by the router 320;
if the actual distance exceeds the preset distance range, the device 310 to be networked is not allowed to access the wireless network managed by the router 320.
In a preferred embodiment of the present invention, as shown in fig. 4, a plug of the device to be networked 310 is further provided with a detachable battery assembly 312 for supplying power to the wireless connection module 311;
the wireless connection module 311 may be further configured to detect whether a plug of the network device 310 to be distributed is plugged into a power socket;
when the plug of the device to be networked is plugged into the power socket, sending a networking request signal to the router 320 through the wireless connection module 311 arranged in the plug of the device 310 to be networked under the power supply of the power socket;
when the plug of the device 310 to be networked is not plugged into a power socket, a networking request signal is sent to the router 320 through the wireless connection module 311 arranged in the plug of the device 310 to be networked under the power supply of the detachable battery component.
In a preferred embodiment of the present invention, the wireless connection module 311 may be further configured to:
when the power supply of the detachable battery component 312 is detected that the plug of the device 310 to be distributed is plugged into a power socket in the networking process after a networking request signal is sent to the router 320 through the wireless connection module 311 arranged in the plug of the device 310 to be distributed, the power supply source of the wireless connection module 311 is automatically switched from the detachable battery component 312 to the power socket.
In a preferred embodiment of the present invention, a switch for controlling the working state of the wireless connection module 311 may be further disposed in the plug of the device to be networked 310, when the switch is turned on, the wireless connection module 311 starts working and performs networking work on the device to be networked, and when the switch is turned off, the wireless connection module 311 stops working and ends the networking work on the device to be networked.
Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, where a computer program code is stored, and when the computer program code runs on a computing device, the computing device is caused to execute the method for distributing network for devices of the internet of things according to any of the foregoing embodiments.
Based on the same inventive concept, an embodiment of the present invention further provides a computing device, including:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the method for network distribution for devices of the internet of things as described in any of the above embodiments.
The embodiment of the invention provides a network distribution method and system for Internet of things equipment based on a plug of the Internet of things equipment. And when the router judges that the actual distance between the plug of the equipment to be networked and the router is within the preset distance range, sending response information of successful networking of the equipment to be networked to a wireless connection module in the plug of the equipment to be networked, and then accessing the equipment to be networked into a wireless network managed by the router to complete network distribution. In the embodiment of the invention, the wireless connection module is separated from the main body of the equipment to be networked and is arranged at the plug position, when the network needs to be distributed, only the plug needs to be arranged in the preset range of the router, so that the network access of the equipment to be networked operated by a user can be realized more conveniently and efficiently, and the complicated login information of the router does not need to be input into the equipment to be networked. In addition, the embodiment of the invention can also carry out distribution network work under the power supply of the battery in the plug under the state that the plug is not inserted into the power socket, thereby further facilitating the distribution network operation of the equipment to be distributed by a user and greatly improving the user experience.
It is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.
According to an aspect of the embodiment of the invention, A1. A method for distributing network to equipment of Internet of things is provided, which comprises the following steps:
sending a networking request signal to a router through a wireless connection module arranged in a plug of equipment to be distributed with a network, and judging whether the equipment to be distributed with the network is accessed to a wireless network managed by the router or not by the router based on the actual distance between the router and the plug of the equipment to be distributed with the network after receiving the networking request signal;
receiving response information of successful networking of the equipment to be networked, which is returned by the router, and accessing the equipment to be networked to a wireless network managed by the router; and the router detects that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, and sends the response information.
A2. The method according to a1, wherein the determining, by the router, whether to access the device to be networked to the wireless network managed by the router based on an actual distance between the router and a plug of the device to be networked after receiving the networking request signal includes:
the router receives the networking request signal and obtains the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
A3. The method of A2, wherein the determining whether to access the device to be provisioned to the wireless network managed by the router based on the actual distance includes:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
A4. The method according to A1, wherein the sending a networking request signal to a router through a wireless connection module arranged in a plug of the equipment to be distributed includes:
detecting whether a plug of the equipment to be networked is plugged into a power socket;
if the plug of the equipment to be distributed is plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the power socket;
and if the plug of the equipment to be distributed is not plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of a detachable battery assembly in the socket.
A5. The method of claim a4, wherein, if the plug of the device to be configured is not plugged into a power socket, after sending a networking request signal to a router through a wireless connection module provided in the plug of the device to be configured under the power of a detachable battery pack in the power socket, the method further includes:
if the plug is plugged into a power socket in the networking process of the equipment to be distributed, the power supply source of the wireless connection module is automatically switched to the power socket from the detachable battery component.
According to another aspect of the embodiment of the present invention, there is further provided B6. a network distribution system for devices of the internet of things, including at least one device to be distributed and a router, wherein,
the equipment to be distributed comprises a wireless connection module arranged in a plug and is configured to send a networking request signal to a router;
the router is configured to judge whether to access the equipment to be distributed to a wireless network managed by the router based on the actual distance between the router and a plug of the equipment to be distributed after receiving the networking request signal;
and when detecting that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, returning response information of successful networking of the equipment to be networked to the wireless connection module, and accessing the equipment to be networked to a wireless network managed by the router.
B7. The system of B6, wherein the router is further configured to:
receiving the networking request signal, and acquiring the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
B8. The system of B7, wherein the router is further configured to:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
B9. The system of B6, wherein a detachable battery assembly for supplying power to the wireless connection module is further arranged in the plug of the network-to-be-distributed device;
the wireless connection module is also configured to detect whether a plug of the equipment to be distributed is plugged into a power socket;
when the plug of the equipment to be distributed is plugged into a power socket, sending a networking request signal to a router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the power socket;
and when the plug of the equipment to be distributed is not plugged into a power socket, sending a networking request signal to a router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the detachable battery component.
B10. The system of B9, wherein the wireless connection module is further configured to:
when the detachable battery component is powered on, after a networking request signal is sent to a router through a wireless connection module arranged in a plug of the equipment to be distributed, and when the plug is inserted into a power socket in the networking process of the equipment to be distributed is detected, the power supply source of the wireless connection module is automatically switched to the power socket through the detachable battery component.
There is also provided, in accordance with another aspect of an embodiment of the present invention, a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform any of the internet of things device distribution methods of a1-a 5.
There is also provided, in accordance with another aspect of an embodiment of the present invention, a computing device, including:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform any of the internet of things device distribution methods of a1-a 5.

Claims (10)

1. A network distribution method for Internet of things equipment comprises the following steps:
sending a networking request signal to a router through a wireless connection module arranged in a plug of equipment to be distributed with a network, and judging whether the equipment to be distributed with the network is accessed to a wireless network managed by the router or not by the router based on the actual distance between the router and the plug of the equipment to be distributed with the network after receiving the networking request signal;
receiving response information of successful networking of the equipment to be networked, which is returned by the router, and accessing the equipment to be networked to a wireless network managed by the router; and the router detects that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, and sends the response information.
2. The method of claim 1, wherein the determining, by the router after receiving the networking request signal, whether to access the device to be networked to the wireless network managed by the router based on an actual distance between the router and a plug of the device to be networked comprises:
the router receives the networking request signal and obtains the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
3. The method of claim 2, wherein the determining whether to access the device to be provisioned to the wireless network managed by the router based on the actual distance comprises:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
4. The method of claim 1, wherein the sending a networking request signal to a router through a wireless connection module provided in a plug of the device to be configured comprises:
detecting whether a plug of the equipment to be networked is plugged into a power socket;
if the plug of the equipment to be distributed is plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of the power socket;
and if the plug of the equipment to be distributed is not plugged into a power socket, sending a networking request signal to the router through a wireless connection module arranged in the plug of the equipment to be distributed under the power supply of a detachable battery assembly in the socket.
5. The method of claim 4, wherein if the plug of the device to be distributed is not plugged into a power socket, after sending a networking request signal to a router through a wireless connection module provided in the plug of the device to be distributed under the power of a detachable battery assembly in the socket, the method further comprises:
if the plug is plugged into a power socket in the networking process of the equipment to be distributed, the power supply source of the wireless connection module is automatically switched to the power socket from the detachable battery component.
6. A network distribution system of Internet of things equipment comprises at least one equipment to be distributed and a router, wherein,
the equipment to be distributed comprises a wireless connection module arranged in a plug and is configured to send a networking request signal to a router;
the router is configured to judge whether to access the equipment to be distributed to a wireless network managed by the router based on the actual distance between the router and a plug of the equipment to be distributed after receiving the networking request signal;
and when detecting that the actual distance between the plug of the equipment to be networked and the router is within a preset distance range, returning response information of successful networking of the equipment to be networked to the wireless connection module, and accessing the equipment to be networked to a wireless network managed by the router.
7. The system of claim 6, wherein the router is further configured to:
receiving the networking request signal, and acquiring the actual distance between the router and the plug of the equipment to be networked according to the strength of the networking request signal;
and judging whether the equipment to be distributed is accessed to the wireless network managed by the router or not based on the actual distance.
8. The system of claim 7, wherein the router is further configured to:
comparing the actual distance with a preset distance range, and if the actual distance is within the preset distance range, accessing the equipment to be networked into the wireless network managed by the router;
and if the actual distance exceeds the preset distance range, the equipment to be distributed is not allowed to access the wireless network managed by the router.
9. A computer storage medium having computer program code stored thereon, which when run on a computing device, causes the computing device to perform the internet of things device networking method of any of claims 1-5.
10. A computing device, comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the internet of things device networking method of any of claims 1-5.
CN201811482936.7A 2018-12-05 2018-12-05 Network distribution method and system for Internet of things equipment Pending CN111277428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811482936.7A CN111277428A (en) 2018-12-05 2018-12-05 Network distribution method and system for Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811482936.7A CN111277428A (en) 2018-12-05 2018-12-05 Network distribution method and system for Internet of things equipment

Publications (1)

Publication Number Publication Date
CN111277428A true CN111277428A (en) 2020-06-12

Family

ID=71001314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811482936.7A Pending CN111277428A (en) 2018-12-05 2018-12-05 Network distribution method and system for Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111277428A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598599A (en) * 2020-11-20 2022-06-07 深圳Tcl新技术有限公司 Network distribution method and device of Internet of things equipment, Internet of things equipment and storage medium
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN116887385A (en) * 2023-09-06 2023-10-13 博为科技有限公司 Wireless device access optimization method, device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238414A (en) * 2014-09-09 2014-12-24 上海路美思电气有限公司 Wi-Fi plug with electric leakage protection function and intelligent household appliance control system applying same
CN104540186A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104902500A (en) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 Automatic connection method and system for wireless network device and wireless access device
CN105282158A (en) * 2015-10-28 2016-01-27 小米科技有限责任公司 Intelligent equipment networking method, routing equipment, intelligent equipment and system
CN106131846A (en) * 2016-08-30 2016-11-16 广东美的制冷设备有限公司 Distribution method, system, smart machine and the handheld terminal of smart machine
CN106170146A (en) * 2016-07-14 2016-11-30 珠海市魅族科技有限公司 Method for connecting network, network access equipment, wireless terminal and network connection system
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106684652A (en) * 2016-12-28 2017-05-17 南京理工大学 Smart socket system controlled based on wireless router
CN108809737A (en) * 2018-07-27 2018-11-13 杭州古北电子科技有限公司 Equipment network distribution device, system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238414A (en) * 2014-09-09 2014-12-24 上海路美思电气有限公司 Wi-Fi plug with electric leakage protection function and intelligent household appliance control system applying same
CN104540186A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104902500A (en) * 2015-05-21 2015-09-09 南京创维信息技术研究院有限公司 Automatic connection method and system for wireless network device and wireless access device
CN105282158A (en) * 2015-10-28 2016-01-27 小米科技有限责任公司 Intelligent equipment networking method, routing equipment, intelligent equipment and system
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106170146A (en) * 2016-07-14 2016-11-30 珠海市魅族科技有限公司 Method for connecting network, network access equipment, wireless terminal and network connection system
CN106131846A (en) * 2016-08-30 2016-11-16 广东美的制冷设备有限公司 Distribution method, system, smart machine and the handheld terminal of smart machine
CN106684652A (en) * 2016-12-28 2017-05-17 南京理工大学 Smart socket system controlled based on wireless router
CN108809737A (en) * 2018-07-27 2018-11-13 杭州古北电子科技有限公司 Equipment network distribution device, system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598599A (en) * 2020-11-20 2022-06-07 深圳Tcl新技术有限公司 Network distribution method and device of Internet of things equipment, Internet of things equipment and storage medium
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
CN114666255A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for testing distribution network performance of Internet of things equipment and related equipment thereof
CN114666255B (en) * 2022-03-16 2024-04-05 京东科技信息技术有限公司 Method for testing network distribution performance of Internet of things equipment and related equipment thereof
CN116887385A (en) * 2023-09-06 2023-10-13 博为科技有限公司 Wireless device access optimization method, device and storage medium
CN116887385B (en) * 2023-09-06 2023-12-12 博为科技有限公司 Wireless device access optimization method, device and storage medium

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN111277428A (en) Network distribution method and system for Internet of things equipment
EP3735045B1 (en) Method, apparatus, and system for accessing network hotspot device by device to be distributed a network
CN105453671B (en) method and apparatus for registering wireless device in wireless communication system
CN109088781B (en) Configuration method and device of wireless radio frequency parameters and intelligent household appliance
US20110292835A1 (en) Method, and device for configuring wifi parameters
US9485719B2 (en) Method and device for searching for supported service through WiFi direct network
CN110636483A (en) Network distribution method and system
CN104902500A (en) Automatic connection method and system for wireless network device and wireless access device
CN108011726A (en) A kind of household electrical appliances distribution method and system
CN106909081B (en) Household electrical appliance and expansion platform based on same
CN103997358A (en) Method, device and system for pairing Bluetooth remote control unit and controlled devices
CN107205258A (en) Wireless network configuration method, device and system
CN110740460A (en) device network access method, device, network device and storage medium
CN110177362B (en) Equipment binding method and device and electronic equipment
CN105187480B (en) Profile acquisition method, apparatus and system
CN105511903A (en) Audio device updating method and apparatus
CN111277505B (en) Multi-terminal joint control method, device, equipment and storage medium based on local area network
CN105376257A (en) Smart home application login method, smart home system and cloud server
CN109413653B (en) Network distribution method and network distribution system for household appliances
US9836958B2 (en) Device control method, server, system and computer storage medium
CN109743730A (en) A kind of smart machine networking method and system
CN105791454A (en) Binding method and apparatus for intelligent terminal
CN105828140A (en) Main control equipment, controlled equipment and method for awakening controlled equipment
CN113110083A (en) Wireless communication module, intelligent household equipment, network distribution method and system

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