# US 2019/0245916 A1 · Method and system of organizing a mesh network

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0245916 A1
- Document ID: US20190245916A1
- Status: Published application
- Kind: A1
- Application number: 16/319,392
- Filed: 2016-08-26
- Published: 2019-08-08
- Earliest claimed: 2016-07-28
- Assignees: Verimag LLC
- Applicants: Obschestvo S Ogranichennoi Otvetstvennostyu "Verimag"
- Inventors: Maxim Valentinovich Abalyaev; Denis Valerievich Ionov
- Web page: https://patentgrep.com/patent/US20190245916A1

## CPC

- H04W 84/20: Leader-follower arrangements
- H04L 41/12: Discovery or management of network topologies
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/065: {for group communications (cryptographic mechanisms or cryptographic arrangements for key management involving conference or group key H04L9/0833)}
- H04L 67/1044: {Group management mechanisms (management of multicast group membership H04L12/185; reconfiguring of node membership in a computing system to eliminate errors G06F11/1425)}
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/069: using certificates or pre-shared keys
- H04W 12/55: involving three or more devices, e.g. group pairing
- H04W 60/00: Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W 76/00: Connection management
- H04W 76/10: Connection setup
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The claimed solution relates to the field of organizing a data network between a group of devices, in particular, by organizing a mesh network. The technical result is an increase in flexibility and speed of the organization of the mesh network without connection to an external network or the Internet, by assigning network devices as node repeaters, providing the construction of network levels. The claimed result is achieved due to the method of organizing a mesh network for communication between many devices that do not require connection to an external global network, such as the Internet, the key feature of which is the ability to change the status of devices connected thereto, to organize the network cells formed with the help of node devices that are activated as routers when the limit for the number of devices connected to the network nodes is reached.

## Claims

### Claim 1

A method of organizing a mesh network for communication between many devices, comprising:
on the master device (MD) one activates the function of organizing the data mesh network and forms a data packet (DM) to connect the devices of lower levels, creates a network name and a pin code, the data packet containing at least an encrypted key to connect to the master device (MD), wherein the master device (MD) containing a specified limit on the number (L) of the connections of devices thereto;
transmits the data packet (DM) to at least one device (N) connected directly to the master device (MD), and when connected to the master device (MD) on the device (N) enters a name of the device (N), network pin code and transmits a data packet (DN) containing a return key calculated on the basis of the data of the device (N) and the information received in the data packet (DM) from the master device (MD);
in response to the data packet (DN) received from the device (N), the master device (MD) calculates a key for connection on the basis of the data of the device (MD) and the information from the data packet (DN) received from the device (N), comparing the received keys on the master device (MD), and if the keys coincide, establishes a permanent connection with the device (N), and such device (N) changes its status to a slave device (SD);
wherein
after reaching the limit (L) on the number of connections when trying to connect a new device (N) in excess of the limit (L), the master device (MD) commands the slave devices (SD) to activate the router/transmitter mode, and on the basis of the said command a first lowest level (LL1) of the mesh network (MN) is formed, by changing the status of the devices (SD) connected directly to the master device (MD) to the activated devices (AD), and wherein each new device (N) trying to connect to the mesh network (MN) being connected to the device (D1) of the first lowest level (LL1), which in response to the connection of a new device (N) changes its status to the slave device (SD) connected through one of the routers/line repeaters of the first lowest level (LL1) to the master device (MD);
and
after reaching the limit of the number of connections (L) when trying to connect a new device (N) over and above the limit for the lowest level (LL1), the devices (D1) close the possibility of connecting new devices (N), while the devices (N) request the connection from the master device (MD), which in response to the requests from the devices (N) analyzes the mesh network map and sends a command to the devices (SD) connected to the lowest level (LL1) to activate the router/repeater mode, on the basis of the command mentioned above, the second lowest level (LL2) of the mesh network (MN) being formed by changing the status of the device (SD) to the activated device (AD), and each new device (N) being connected when trying to connect to the mesh network connects to the device (D2) of the second lowest level (LL2), wherein the device (D2) in response to the connection of a new device (N) changes its status to a slave device (SD) connected through one of the routers/repeaters of the device (D2) of the second lower level (LL2) to the router/repeater of the device (D1) of the first lower level (LL1) connected to the master device (MD).

### Claim 2 (depends on 1)

The method according to claim 1, characterized in that the command to change the status of the device is transmitted using a data packet.

### Claim 3 (depends on 2)

The method according to claim 2, characterized in that the data packet is formed by the master device (MD) in response to reaching the limit on the number (L) of connections.

### Claim 4 (depends on 1)

The method according to claim 1, characterized in that the roster device (MD) of the first upper level performs the formation, configuration and monitoring of the network in real time.

### Claim 5 (depends on 1)

The method according to claim 1, characterized in that the master device (MD), when connected to one or more lower level devices, transmits data packets containing control commands and a globally unique identifier of the device to which it is intended.

### Claim 6 (depends on 1)

The method according to claim 1, characterized in that when reaching the restrictive limit for connecting the groups (L) for new devices (N) to the devices of the first lower level (D1), the devices of the first lower level (D1) cut off the possibility of connecting new devices (N).

### Claim 7 (depends on 1)

The method according to claim 1, characterized in that each of the slave devices (SD), connected directly to the master device (MD), directly transmits the data about its state to the master device (MD).

### Claim 8 (depends on 1)

The method according to claim 1, characterized in that all devices of the first (D1) and second (D2) levels generate a data packet (D) for connecting new devices (N) and then transforming them into slave devices (SD) by changing their status.

### Claim 9 (depends on 1)

The method according to claim 1, characterized in that each of the second level devices (D2) contains a set limit (L) on connecting new devices (N), on reaching which it stops generating a packet (D) for connecting the devices (N).

### Claim 10 (depends on 1)

The method according to claim 1, characterized by the fact that these devices, on the basis of which the response key is calculated for connecting new devices (N) to the master device (MD), includes the following: device name, network name, network pin code, master device name (MD), globally unique device identifier, code information.

### Claim 11 (depends on 1)

The method according to claim 1, characterized in that the connection of devices in the mesh network is carried out using wired and/or wireless communication.

### Claim 12 (depends on 1)

The method according to claim 1, characterized in that after reaching the limit on the number of connections (L) when trying to connect a new device (N) beyond the limit for the line (D2), the devices (D2) cut off the possibility of connecting new devices (N), at the same time, devices (N) request a connection from the master device (MD), which, in response to the above requests from devices (N), analyzes the network map and sends a command to devices (SD) connected to line devices (D2) to activate the router/repeater mode, moreover, based on the above command, the third lower level (D3) of the mesh network (MN) is formed by changing the status of the device (SD) to the activated device (AN), each new device (N) when trying to connect to the mesh network is connected to the line device (D3), which, in response to the connection thereto of a new device (N), changes its status to a slave device (SD) connected through one of the third lower level routers/repeaters (D3) to the second lower level router/repeater (D2) connected through one of the routers/repeaters of the line (D1) of the first lower level to the master device (MD).

### Claim 13 (depends on 1)

The method of claim 1, characterized in that when the connection with one or more router/repeater is broken, the slave devices (SD) and/or devices of the lower level connected through it change their status to new devices (N) and begin to restore the connection.

### Claim 14 (depends on 13)

The method according to claim 13, characterized in that the reconnection is carried out by connecting to the available active devices (U) and/or the master device (MD).

### Claim 15

A mesh networking system for communication between multiple devices, containing the following:
master device (MD) designed with the possibility of performing the following actions
activating of the mesh network organization function;
creating a network name, a pin code to access the network;
forming a data packet (DM) for connecting the lower-level devices, wherein the data packet (DM) containing at least an encrypted key to connect to the master device (MD);
transferring the data packet (DM) to at least one device (N) connected directly to the master device (MD),
and the master device (MD) contains a specified limit on a number of connections (L) of devices thereto;
at least one device (N) designed with the possibility of direct connection to the master device (MD), and when connected to the master device (MD), on the device (N) entering name of the device (N), network pin code and transmits a data packet (DN) containing a return key, calculated on the basis of a data of the device (N) and an information received in the data packet (DM) from the master device (MD);
and
in response to the data packet (DN) received from the said device (N), the master device (MD) calculates a key for connection on the basis of the data of the device (MD) and the information from the data packet (DN) received from the device (N), compares the received keys and, if the said keys coincide, establishes a permanent connection with the device (N), and such device (N) changes the status to the slave device (SD);
wherein
after reaching the limit (L) on the number of connections when trying to connect a new device (N) in excess of the limit (L) mentioned above, the master device (MD) sends a command to the slave devices (SD) to activate the router/repeater mode, and on the basis of the command the first lower level (LL1) devices (D1) of the mesh network (MN) is formed by changing the status of slave devices (SD) connected directly to the master device (MD) to a status of the activated devices (AD), and each new device (N) when trying to connect to the mesh network being connected to the device of the line (D1), which in response to the connection of a new device (N) changes its status to the slave device (SD), connected through one of the line routers/repeaters (D1) of the first lower level (LL1) to the master device (MD);
and
after reaching the limit of the number of connections (L) when trying to connect a new device (N) over and above the limit for the line (D1), the devices (D1) close the possibility of connecting new devices (N), while the devices (N) request the connection from the master device (MD), which in response to the above requests from the devices (N) analyzes the mesh network map and sends a command to the slave devices (SD) connected to devices (D1) of the line (LL1) to activate the router/repeater mode, on the basis of the command mentioned above, wherein the second lowest level (LL2) devices (D2) of the mesh network (MN) being formed by changing the status of the slave device (SD) to the activated device (AN), and each new device (N) being connected to the device (D2) when trying to connect to the mesh network (MN), and the line device (D2) in response to the connection of a new device (N) changes its status to a slave device (SD) connected through one of the routers/repeaters (D2) of the second lower level (LL2) to the router/repeater (D1) of the first lower level (LL1) connected to the master device (MD).
