CN113068113A - Network distribution method, network distribution equipment and computer readable storage medium - Google Patents

Network distribution method, network distribution equipment and computer readable storage medium Download PDF

Info

Publication number
CN113068113A
CN113068113A CN201911419302.1A CN201911419302A CN113068113A CN 113068113 A CN113068113 A CN 113068113A CN 201911419302 A CN201911419302 A CN 201911419302A CN 113068113 A CN113068113 A CN 113068113A
Authority
CN
China
Prior art keywords
mesh
network
equipment
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
CN201911419302.1A
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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911419302.1A priority Critical patent/CN113068113A/en
Publication of CN113068113A publication Critical patent/CN113068113A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of smart home, and discloses a network distribution method, network distribution equipment and a computer readable storage medium, wherein the method comprises the following steps: detecting whether a Mesh device to be configured exists in a configured network Mesh device in the Mesh network; if the Mesh equipment to be networked exists, acquiring Wi-Fi hotspot information of the Mesh equipment to be networked, and determining the position information of the Mesh equipment to be networked according to the Wi-Fi hotspot information; authenticating the Mesh equipment to be distributed according to the position information of the Mesh equipment to be distributed; and if the Mesh equipment to be distributed passes the authentication, sending the Mesh network information to the Mesh equipment to be distributed so that the Mesh equipment to be distributed completes the distribution network according to the Mesh network information. According to the method and the device, the automatic network distribution of the Mesh device can be realized, so that the complicated manual network distribution operation of a user is avoided, and the user experience is improved.

Description

Network distribution method, network distribution equipment and computer readable storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a network distribution method, network distribution equipment and a computer readable storage medium.
Background
Along with the improvement of the life quality of people, smart homes are quietly entering the lives of people on a large scale. The intelligent home is connected with various intelligent devices in the home through the Internet of things technology, and compared with the common home, the intelligent home not only has the traditional living function, but also has the network communication function. The premise for realizing the network communication function is that the intelligent equipment needs to be accessed into a home mesh network to complete the network distribution of the intelligent equipment.
At present, a user is required to manually add intelligent equipment into a home Mesh network to complete distribution, which is tedious and poor in user experience.
Disclosure of Invention
The main purpose of the present application is to provide a network distribution method, a network distribution device, and a computer-readable storage medium, which aim to realize automatic network distribution of a Mesh device, so as to avoid complicated manual network distribution operations of a user and improve user experience.
In order to achieve the above object, the present application provides a network distribution method, where the network distribution method includes:
detecting whether a Mesh device to be configured exists in a configured network Mesh device in the Mesh network;
if the Mesh equipment to be networked exists, acquiring Wi-Fi hotspot information of the Mesh equipment to be networked, and determining the position information of the Mesh equipment to be networked according to the Wi-Fi hotspot information;
authenticating the Mesh equipment to be distributed according to the position information of the Mesh equipment to be distributed;
and if the Mesh equipment to be configured passes the authentication, sending Mesh network information to the Mesh equipment to be configured so that the Mesh equipment to be configured can complete the network distribution according to the Mesh network information.
In addition, in order to achieve the above object, the present application further provides a distribution network device, where the distribution network device includes a bluetooth/Wi-Fi dual module, a processor, a memory, and a distribution network program stored in the memory and executable by the processor, where the distribution network program, when executed by the processor, implements the steps of the distribution network method as described above.
In addition, to achieve the above object, the present application also provides a computer readable storage medium, where a distribution network program is stored on the computer readable storage medium, where the distribution network program, when executed by a processor, implements the steps of the distribution network method as described above.
The application provides a network distribution method, network distribution equipment and a computer readable storage medium, wherein a distributed network Mesh equipment in a Mesh network detects whether a Mesh equipment to be distributed exists; if the Mesh equipment to be distributed is detected, acquiring Wi-Fi hotspot information of the Mesh equipment to be distributed, and determining the position information of the Mesh equipment to be distributed according to the Wi-Fi hotspot information; then, according to the position information of the Mesh equipment to be distributed, authenticating the Mesh equipment to be distributed; and if the Mesh equipment of the network to be distributed passes the authentication, sending the Mesh network information to the Mesh equipment of the network to be distributed so that the Mesh equipment of the network to be distributed completes the network distribution according to the Mesh network information. Therefore, the Mesh equipment to be distributed is authenticated based on the position information of the Mesh equipment to be distributed, any distributed Mesh equipment in the Mesh network can automatically distribute the network to the Mesh equipment to be distributed, which passes the authentication, so that the accuracy of the network distribution of the Mesh equipment is ensured, the network distribution flow of the Mesh equipment is simplified while the safety of the Mesh network is ensured, the manual network distribution of a user is not needed, the complicated operation of the user is avoided, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic hardware structure diagram of a distribution network device according to embodiments of the present application;
fig. 2 is a schematic flow chart of an embodiment of a network distribution method according to the present application;
fig. 3 is a schematic flow chart of another embodiment of a network distribution method according to the present application;
fig. 4 is a schematic diagram of an example application scenario involved in another embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The network distribution method is mainly applied to network distribution equipment, and the network distribution equipment can be any network-distributed Mesh equipment in a Mesh network.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a distribution network device according to an embodiment of the present application. In this embodiment, the network distribution device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory), and the memory 1005 may optionally be a memory separate from the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in FIG. 1 is not limiting of the present application and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, identified as a readable computer-readable storage medium, may include an operating system, a network communication module, and a distribution network program. In fig. 1, the network communication module is mainly used for connecting to the cloud server and performing data communication with the cloud server; the processor 1001 may call the distribution network program stored in the memory 1005, and execute the steps of the distribution network method provided in the embodiment of the present application.
In one embodiment, the processor is configured to run a distribution network program stored in the memory to implement the following steps:
detecting whether a Mesh device to be configured exists in a configured network Mesh device in the Mesh network; if the Mesh equipment to be networked exists, acquiring Wi-Fi hotspot information of the Mesh equipment to be networked, and determining the position information of the Mesh equipment to be networked according to the Wi-Fi hotspot information; authenticating the Mesh equipment to be distributed according to the position information of the Mesh equipment to be distributed; and if the Mesh equipment to be configured passes the authentication, sending Mesh network information to the Mesh equipment to be configured so that the Mesh equipment to be configured can complete the network distribution according to the Mesh network information.
In some embodiments, the determining, by the processor, the location information of the Mesh device to be networked according to the Wi-Fi hotspot information includes:
determining the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment already networked according to the Wi-Fi hotspot information; and determining coordinate information of the Mesh equipment to be networked according to the distance and the azimuth angle, and taking the coordinate information as the position information of the Mesh equipment to be networked.
In some embodiments, the determining, by the processor, the coordinate information of the Mesh device to be networked according to the distance and the azimuth angle, and using the coordinate information as the location information of the Mesh device to be networked includes:
acquiring a house type graph of an area to which a Mesh network belongs, and extracting coordinate information of the Mesh equipment with the network distributed from the house type graph;
and calculating to obtain the coordinate information of the Mesh equipment to be networked according to the coordinate information of the Mesh equipment to be networked, and the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment to be networked.
In some embodiments, the authenticating, by the processor, the Mesh device to be networked according to the location information of the Mesh device to be networked includes:
comparing the coordinate information of the Mesh device to be networked with the house type graph to determine whether the coordinate information of the Mesh device to be networked is in a coordinate range contained in the house type graph;
and if the coordinate information of the Mesh device to be distributed is in the coordinate range contained in the house type graph, confirming that the Mesh device to be distributed passes authentication.
In some embodiments, the processor implements a distributed network Mesh device in the Mesh network to detect whether a Mesh device to be distributed exists, including:
starting a scanning mode by a distributed network Mesh device in the Mesh network, and scanning whether a Bluetooth broadcast signal exists or not;
and if the Bluetooth broadcast signal exists, confirming that the Mesh equipment to be networked exists.
In some embodiments, before the processor detects whether there is a Mesh device to be networked in a Mesh network, the method includes:
and drawing a house type graph of the area to which the Mesh network belongs through the sweeping robot.
In some embodiments, the processor implements the drawing of the house type of the area to which the Mesh network belongs by the sweeping robot, and includes:
and acquiring a cleaning route map of the sweeping robot for the region to which the Mesh network belongs, and generating a house type map according to the cleaning route map.
In some embodiments, the processor implements the generating a user-type map from the cleaning route map, comprising:
and establishing a coordinate system in the cleaning route map to represent coordinate information of articles in the area to which the Mesh network belongs in the cleaning route map, and determining a coordinate range included in the cleaning route map to obtain a user-type map.
Based on the hardware structure, the embodiment of the application provides a network distribution method.
Referring to fig. 2, fig. 2 is a schematic flowchart of an embodiment of a network distribution method according to the present application. The network distribution method is realized by network distribution equipment, and the network distribution equipment can be any network-distributed Mesh equipment in a Mesh network.
Specifically, as shown in fig. 2, the network distribution method includes steps S101 to S104.
Step S101, a distributed network Mesh device in the Mesh network detects whether a Mesh device to be distributed exists.
The Mesh device with the distributed network can be an intelligent device with an operating system such as an Android system and a liunx system, such as an intelligent refrigerator and an intelligent television, with a distributed network.
Firstly, every time a preset time interval exists between Mesh devices of a distributed network, whether Mesh devices to be distributed exist is detected, the Mesh devices to be distributed are usually intelligent devices which are newly bought by a user and are not distributed with the network, wherein the preset time interval can be set according to actual needs, for example, 5 min.
In an embodiment, the method for detecting whether the Mesh device to be networked exists in a Mesh device already distributed in the Mesh network specifically includes: starting a scanning mode by a distributed network Mesh device in the Mesh network, and scanning whether a Bluetooth broadcast signal exists or not; and if the Bluetooth broadcast signal exists, confirming that the Mesh equipment to be networked exists.
It should be noted that the Mesh devices are all configured with bluetooth/Wi-Fi dual modules, and when the Mesh devices to be networked are not networked, bluetooth signals are broadcast outwards through the bluetooth modules (after networking, the bluetooth modules are turned off). Therefore, the Mesh device with the network being distributed periodically starts a scanning mode, whether a Bluetooth broadcast signal exists is scanned, and if the Bluetooth broadcast signal exists, the Mesh device to be distributed is confirmed to exist.
Step S102, if the Mesh equipment to be networked exists, acquiring Wi-Fi hotspot information of the Mesh equipment to be networked, and determining the position information of the Mesh equipment to be networked according to the Wi-Fi hotspot information.
If the Mesh equipment to be distributed exists, the Mesh equipment already distributed acquires Wi-Fi hotspot information of the Mesh equipment to be distributed, and then the Mesh equipment to be distributed is positioned according to the Wi-Fi hotspot information to determine the position information of the Mesh equipment to be distributed.
In an embodiment, the determining, according to the Wi-Fi hotspot information, the location information of the Mesh device to be networked specifically includes: determining the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment already networked according to the Wi-Fi hotspot information; and determining coordinate information of the Mesh equipment to be networked according to the distance and the azimuth angle, taking the coordinate information as the position information of the Mesh equipment to be networked, and taking the coordinate information as the position information of the Mesh equipment to be networked.
The Mesh equipment of the distributed network determines the distance and the azimuth angle between the Mesh equipment of the distributed network and the Mesh equipment of the distributed network according to Wi-Fi hotspot information of the Mesh equipment of the distributed network, wherein the Wi-Fi hotspot information comprises Wi-Fi signal strength and a change sequence (along with space), Wi-Fi AP, IP and the like, and then determines the coordinate information of the Mesh equipment of the distributed network according to the distance and the azimuth angle between the Mesh equipment of the distributed network and the Mesh equipment of the distributed network, so that the position information of the Mesh equipment of the distributed network is obtained. The Wi-Fi hotspot information comprises information of signal intensity and a change sequence (along with space), Wi-Fi AP (access point), IP (Internet protocol) and the like of Wi-Fi hotspots released by the Mesh equipment to be distributed through a Wi-Fi module, and according to the Wi-Fi hotspot information released by the Mesh equipment to be distributed, the distance between the Mesh equipment to be distributed and the Mesh equipment already distributed can be calculated, and the azimuth angle of the Mesh equipment to be distributed relative to the Mesh equipment already distributed.
In an embodiment, the determining, according to the distance and the azimuth, the coordinate information of the Mesh device to be networked specifically includes: acquiring a house type graph of an area to which a Mesh network belongs, and extracting coordinate information of the Mesh equipment with the network distributed from the house type graph; and calculating to obtain the coordinate information of the Mesh equipment to be networked according to the coordinate information of the Mesh equipment to be networked, and the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment to be networked.
For example, taking a home Mesh network as an example, a house type graph of a home can be obtained from a cloud server, a coordinate system is pre-established in the house type graph, and objects such as a functional area, a wall, a door and window, a hard clothing, a soft clothing, furniture, a net-connected Mesh device, and decoration of the home are represented as rectangles and are respectively used (x is x)i,yi) The spatial center coordinate point is represented, and the coordinate range included in the house type figure is specified in advance based on the house size information. Obtaining a central coordinate point of the Mesh device with the distributed network from a user type graph, then calculating by utilizing a trigonometric function according to the central coordinate point of the Mesh device with the distributed network, and the distance and the azimuth angle between the Mesh device to be distributed and the Mesh device with the distributed network, and specifically, setting the central coordinate point of the Mesh device with the distributed network as (x)1,y1) The central coordinate point of the Mesh device to be networked is (x)2,y2) If the distance between the Mesh device to be distributed and the distributed Mesh device is L and the azimuth angle is alpha, then:
x2=x1+L sinα
y2=y1+L cosα
therefore, coordinate information of the Mesh equipment to be networked is obtained.
Step S103, authenticating the Mesh equipment to be distributed according to the position information of the Mesh equipment to be distributed.
And after the position information of the Mesh equipment to be configured is obtained, authenticating the Mesh equipment to be configured according to the position information of the Mesh equipment to be configured. Taking the home Mesh network as an example, the Mesh device to be distributed is authenticated, that is, whether the Mesh device to be distributed is located in the home area is determined according to the position information of the Mesh device to be distributed, if the Mesh device to be distributed is located in the home area, the Mesh device to be distributed can be determined to pass the authentication, and if the Mesh device to be distributed is not located in the home area according to the position information of the Mesh device to be distributed, which indicates that the Mesh device to be distributed may belong to a neighboring home or other places, the Mesh device to be distributed can be determined to fail the authentication. Therefore, the Mesh equipment to be distributed is authenticated according to the position information of the Mesh equipment to be distributed, so that not only can the accuracy of the distribution network be ensured, but also the safety of the Mesh network can be ensured.
In an embodiment, the authenticating the Mesh device to be configured according to the location information of the Mesh device to be configured specifically includes: comparing the coordinate information of the Mesh device to be networked with the house type graph to determine whether the coordinate information of the Mesh device to be networked is in a coordinate range contained in the house type graph; and if the coordinate information of the Mesh device to be distributed is in the coordinate range contained in the house type graph, confirming that the Mesh device to be distributed passes authentication.
It can be known from the foregoing that the family type graph includes a coordinate range corresponding to a family, the central coordinate point of the Mesh device to be distributed is compared with the family type graph to determine whether the central coordinate point of the Mesh device to be distributed belongs to the coordinate range included in the family type graph, if the coordinate information of the Mesh device to be distributed is within the coordinate range included in the family type graph, it is indicated that the Mesh device to be distributed is located in the family area, it can be determined that the Mesh device to be distributed passes the authentication, and if the coordinate information of the Mesh device to be distributed is not within the coordinate range included in the family type graph, it is indicated that the Mesh device to be distributed is located outside the family area, it can be determined that the Mesh device to be distributed does not pass the authentication.
And S104, if the Mesh device to be configured passes the authentication, sending Mesh network information to the Mesh device to be configured so that the Mesh device to be configured can complete the network distribution according to the Mesh network information.
And if the Mesh equipment to be distributed passes the authentication, sending Mesh network information to the Mesh equipment to be distributed, wherein the Mesh network information comprises an account number and a password of the Mesh router, and the Mesh equipment to be distributed can complete the distribution of the network. Therefore, any one distributed network Mesh device in the Mesh network realizes automatic distribution of the Mesh devices to be distributed which pass the authentication.
According to the network distribution method, a distributed network Mesh device in the Mesh network detects whether a Mesh device to be distributed exists; if the Mesh equipment to be distributed is detected, acquiring Wi-Fi hotspot information of the Mesh equipment to be distributed, and determining the position information of the Mesh equipment to be distributed according to the Wi-Fi hotspot information; then, according to the position information of the Mesh equipment to be distributed, authenticating the Mesh equipment to be distributed; and if the Mesh equipment of the network to be distributed passes the authentication, sending the Mesh network information to the Mesh equipment of the network to be distributed so that the Mesh equipment of the network to be distributed completes the network distribution according to the Mesh network information. Therefore, the Mesh equipment to be distributed is authenticated based on the position information of the Mesh equipment to be distributed, any distributed Mesh equipment in the Mesh network can automatically distribute the network to the Mesh equipment to be distributed, which passes the authentication, so that the accuracy of the network distribution of the Mesh equipment is ensured, the network distribution flow of the Mesh equipment is simplified while the safety of the Mesh network is ensured, the manual network distribution of a user is not needed, the complicated operation of the user is avoided, and the user experience is improved.
Further, referring to fig. 3, based on the above embodiment, another embodiment of the network distribution method according to the present invention is provided, where before the step S101, step S105 is included.
And S105, drawing a house type graph of the area to which the Mesh network belongs through the sweeping robot.
Taking the home Mesh network as an example, the movable sweeping robot can be used for drawing a home floor figure.
In an embodiment, the drawing of the household type graph of the area to which the Mesh network belongs by the sweeping robot specifically includes: and acquiring a cleaning route map of the sweeping robot for the region to which the Mesh network belongs, and generating a house type map according to the cleaning route map.
In an embodiment, the generating a user-type map according to the cleaning route map specifically includes: and establishing a coordinate system in the cleaning route map to represent coordinate information of articles in the area to which the Mesh network belongs in the cleaning route map, and determining a coordinate range included in the cleaning route map to obtain a user-type map.
The sweeping robot can detect a house while sweeping operation is carried out, a sweeping route map is generated, the sweeping route map comprises house size information, shapes and positions of functional areas, walls, doors and windows, hard clothing, soft clothing, furniture, distributed Mesh equipment, decorations and other articles in the house, a coordinate system is established in the sweeping route map, the functional areas, the walls, the doors and windows, the hard clothing, the soft clothing, the furniture, the distributed Mesh equipment, the decorations and other articles in the house are represented into rectangles and are respectively used (x is xi,yi) And expressing the spatial center coordinate point, determining the coordinate range of the house based on the family size information to obtain a family pattern, and storing the family pattern in a cloud server. And the subsequent network-distributed equipment can acquire the user type graph from the cloud server, and authenticate the Mesh equipment to be distributed based on the user type graph to complete the distribution.
An application scenario of the embodiment of the present application is described below with reference to fig. 4 as an example.
Configuring an intelligent refrigerator with an Android system as a distributed Mesh device in a family and a routing node device in a family Mesh network, wherein the intelligent refrigerator scans whether a Mesh device to be distributed exists or not at preset time intervals, if the intelligent refrigerator scans the Mesh device to be distributed, Wi-Fi hot spot information released by the Mesh device to be distributed is acquired, then the intelligent refrigerator positions the Mesh device to be distributed according to the Wi-Fi hot spot information released by the Mesh device to be distributed to acquire the position information of the Mesh device to be distributed, then a family type graph drawn by a sweeping robot is acquired from a cloud server, the position information of the Mesh device to be distributed is compared with the family type graph, whether the Mesh device to be distributed is located in the family area is determined according to the comparison result, if the Mesh device to be distributed is located in the family area, the intelligent refrigerator establishes connection with the Mesh device to be distributed, and finishing the automatic distribution network. Therefore, the accuracy of the Mesh equipment distribution network can be ensured, the Mesh equipment outside the family is prevented from being accessed into the family Mesh, and the safety of the Mesh network is also ensured.
According to the network distribution method, the floor sweeping robot is used for drawing the household type graph of the area where the Mesh network belongs, and subsequently, the Mesh device to be distributed can be authenticated based on the household type graph and the position information of the Mesh device to be distributed, so that the accuracy of the network distribution and the safety of the Mesh network are guaranteed.
In addition, the embodiment of the application also provides a computer readable storage medium.
The computer readable storage medium stores a distribution network program, wherein the distribution network program, when executed by a processor, implements the steps of the distribution network method as described above.
The method for implementing the distribution network program when executed may refer to various embodiments of the distribution network method of the present application, and details are not described here.
The computer-readable storage medium may be an internal storage unit of the distribution network device in the foregoing embodiment, for example, a hard disk or a memory of the distribution network device. The computer readable storage medium may also be an external storage device of the distribution network device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the distribution network device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A network distribution method, characterized in that the method comprises:
detecting whether a Mesh device to be configured exists in a configured network Mesh device in the Mesh network;
if the Mesh equipment to be networked exists, acquiring Wi-Fi hotspot information of the Mesh equipment to be networked, and determining the position information of the Mesh equipment to be networked according to the Wi-Fi hotspot information;
authenticating the Mesh equipment to be distributed according to the position information of the Mesh equipment to be distributed;
and if the Mesh equipment to be configured passes the authentication, sending Mesh network information to the Mesh equipment to be configured so that the Mesh equipment to be configured can complete the network distribution according to the Mesh network information.
2. The network distribution method according to claim 1, wherein the determining the location information of the Mesh device to be networked according to the Wi-Fi hotspot information comprises:
determining the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment already networked according to the Wi-Fi hotspot information;
and determining coordinate information of the Mesh equipment to be networked according to the distance and the azimuth angle, and taking the coordinate information as the position information of the Mesh equipment to be networked.
3. The network distribution method according to claim 2, wherein the step of determining coordinate information of the Mesh device to be networked according to the distance and the azimuth angle, and using the coordinate information as the position information of the Mesh device to be networked comprises the steps of:
acquiring a house type graph of an area to which a Mesh network belongs, and extracting coordinate information of the Mesh equipment with the network distributed from the house type graph;
and calculating to obtain the coordinate information of the Mesh equipment to be networked according to the coordinate information of the Mesh equipment to be networked, and the distance and the azimuth angle between the Mesh equipment to be networked and the Mesh equipment to be networked.
4. The network distribution method according to claim 3, wherein the authenticating the Mesh device to be networked according to the location information of the Mesh device to be networked comprises:
comparing the coordinate information of the Mesh device to be networked with the house type graph to determine whether the coordinate information of the Mesh device to be networked is in a coordinate range contained in the house type graph;
and if the coordinate information of the Mesh device to be distributed is in the coordinate range contained in the house type graph, confirming that the Mesh device to be distributed passes authentication.
5. The network distribution method according to claim 1, wherein detecting whether a Mesh device to be distributed exists by a distributed network Mesh device in the Mesh network comprises:
starting a scanning mode by a distributed network Mesh device in the Mesh network, and scanning whether a Bluetooth broadcast signal exists or not;
and if the Bluetooth broadcast signal exists, confirming that the Mesh equipment to be networked exists.
6. The network distribution method according to claim 3, wherein before a distributed network Mesh device in the Mesh network detects whether there is a Mesh device to be distributed, the method comprises:
and drawing a house type graph of the area to which the Mesh network belongs through the sweeping robot.
7. The network distribution method according to claim 6, wherein the drawing of the house type of the area to which the Mesh network belongs by the sweeping robot comprises:
and acquiring a cleaning route map of the sweeping robot for the region to which the Mesh network belongs, and generating a house type map according to the cleaning route map.
8. The network distribution method according to claim 7, wherein the generating an indoor map from the cleaning route map comprises:
and establishing a coordinate system in the cleaning route map to represent coordinate information of articles in the area to which the Mesh network belongs in the cleaning route map, and determining a coordinate range included in the cleaning route map to obtain a user-type map.
9. A distribution network device comprising a bluetooth/Wi-Fi dual module, a processor, a memory, and a distribution network program stored on the memory and executable by the processor, wherein the distribution network program when executed by the processor implements the steps of the distribution network method of any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a distribution network program, wherein the distribution network program, when executed by a processor, implements the steps of the distribution network method according to any of claims 1 to 8.
CN201911419302.1A 2019-12-31 2019-12-31 Network distribution method, network distribution equipment and computer readable storage medium Pending CN113068113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911419302.1A CN113068113A (en) 2019-12-31 2019-12-31 Network distribution method, network distribution equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911419302.1A CN113068113A (en) 2019-12-31 2019-12-31 Network distribution method, network distribution equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113068113A true CN113068113A (en) 2021-07-02

Family

ID=76557918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911419302.1A Pending CN113068113A (en) 2019-12-31 2019-12-31 Network distribution method, network distribution equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113068113A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573384A (en) * 2021-08-04 2021-10-29 杭州涂鸦信息技术有限公司 Terminal, terminal network distribution method and device, and storage medium
CN114205748A (en) * 2021-12-08 2022-03-18 珠海格力电器股份有限公司 Network configuration method and device, electronic equipment and storage medium
CN114666869A (en) * 2022-04-08 2022-06-24 深圳市欧瑞博科技股份有限公司 Equipment network distribution method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2661127A1 (en) * 2012-05-03 2013-11-06 Itron, Inc. Efficient device handover/migration in mesh networks
CN106162549A (en) * 2015-05-19 2016-11-23 中兴通讯股份有限公司 The processing method and processing device of access network
CN106899985A (en) * 2015-12-17 2017-06-27 中国移动通信集团重庆有限公司 The appraisal procedure and device of a kind of network coverage
CN107635215A (en) * 2017-08-25 2018-01-26 西安电子科技大学 Mesh network-building methods based on low-power consumption bluetooth
CN108391238A (en) * 2018-02-01 2018-08-10 乐鑫信息科技(上海)有限公司 Wireless MESH network matches network method
CN109358525A (en) * 2018-12-26 2019-02-19 深圳Tcl新技术有限公司 Control method, smart home system and the storage medium of smart home device
CN109451578A (en) * 2018-11-30 2019-03-08 维沃移动通信有限公司 A kind of localization method and device
CN110418322A (en) * 2019-08-09 2019-11-05 四川虹美智能科技有限公司 Distribution method and system, a kind of node based on bluetooth Mesh network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2661127A1 (en) * 2012-05-03 2013-11-06 Itron, Inc. Efficient device handover/migration in mesh networks
CN106162549A (en) * 2015-05-19 2016-11-23 中兴通讯股份有限公司 The processing method and processing device of access network
CN106899985A (en) * 2015-12-17 2017-06-27 中国移动通信集团重庆有限公司 The appraisal procedure and device of a kind of network coverage
CN107635215A (en) * 2017-08-25 2018-01-26 西安电子科技大学 Mesh network-building methods based on low-power consumption bluetooth
CN108391238A (en) * 2018-02-01 2018-08-10 乐鑫信息科技(上海)有限公司 Wireless MESH network matches network method
CN109451578A (en) * 2018-11-30 2019-03-08 维沃移动通信有限公司 A kind of localization method and device
CN109358525A (en) * 2018-12-26 2019-02-19 深圳Tcl新技术有限公司 Control method, smart home system and the storage medium of smart home device
CN110418322A (en) * 2019-08-09 2019-11-05 四川虹美智能科技有限公司 Distribution method and system, a kind of node based on bluetooth Mesh network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573384A (en) * 2021-08-04 2021-10-29 杭州涂鸦信息技术有限公司 Terminal, terminal network distribution method and device, and storage medium
CN114205748A (en) * 2021-12-08 2022-03-18 珠海格力电器股份有限公司 Network configuration method and device, electronic equipment and storage medium
CN114205748B (en) * 2021-12-08 2023-03-10 珠海格力电器股份有限公司 Network configuration method and device, electronic equipment and storage medium
CN114666869A (en) * 2022-04-08 2022-06-24 深圳市欧瑞博科技股份有限公司 Equipment network distribution method and device, computer equipment and storage medium
CN114666869B (en) * 2022-04-08 2024-04-16 深圳市欧瑞博科技股份有限公司 Equipment network distribution method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113068113A (en) Network distribution method, network distribution equipment and computer readable storage medium
EP3151628B1 (en) Method, device and system for accessing a wireless network
CN100418066C (en) System and method for realizing zero-allocation wireless computing, and computering apparatus for leading in zero-allocation wireless computing
KR101694773B1 (en) Method and apparatus for connecting wireless network in a digital device
CN106878933B (en) Bluetooth device networking method and system
US11734976B2 (en) Authorization management and authorization request of elevator service request
CN112438056B (en) Device-based access point association and physical address tracking
CN111934961B (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN105338595A (en) Intelligent terminal joining method, apparatus and system based on intelligent terminal system
US11050631B2 (en) System and method for onboarding in a Wi-Fi mesh network
CN111161522B (en) Method for processing remote control data, storage medium, computer device and remote control system
CN111049711A (en) Device control right sharing method and device, computer device and storage medium
CN104901724B (en) A kind of data transmission method
CN112230554A (en) Linkage control method and system, terminal, computer device and storage medium
CN112118586B (en) Equipment network distribution method based on Internet of things and equipment thereof
CN114245403A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN113383562A (en) Device control method, device, electronic device, and storage medium
CN107395431B (en) Network construction method and device, equipment processing and accessing method and network equipment
CN111132266B (en) Terminal access method and system and cloud server
US10848958B2 (en) Profile prioritization in a roaming consortium environment
CN112905992B (en) Intelligent login method and device for local area network, electronic equipment and storage medium
CN114007276A (en) Network access processing method, device, equipment and system of ZigBee network
CN111866845B (en) Data transmission method, device, equipment and computer readable storage medium
JP6733914B2 (en) Wireless communication system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702