CN111246597A - Wireless ad hoc network system - Google Patents

Wireless ad hoc network system Download PDF

Info

Publication number
CN111246597A
CN111246597A CN202010028139.2A CN202010028139A CN111246597A CN 111246597 A CN111246597 A CN 111246597A CN 202010028139 A CN202010028139 A CN 202010028139A CN 111246597 A CN111246597 A CN 111246597A
Authority
CN
China
Prior art keywords
information
wireless
network terminal
cloud server
physical address
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.)
Granted
Application number
CN202010028139.2A
Other languages
Chinese (zh)
Other versions
CN111246597B (en
Inventor
王中飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware 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 Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN202010028139.2A priority Critical patent/CN111246597B/en
Publication of CN111246597A publication Critical patent/CN111246597A/en
Application granted granted Critical
Publication of CN111246597B publication Critical patent/CN111246597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • 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
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Landscapes

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

Abstract

The invention discloses a wireless ad hoc network system, which comprises a wireless ad hoc network device; the system comprises a cloud server, an information presetting module, a first device and a second device; the information presetting module is used for presetting first coding information and second coding information; the first controller is used for obtaining first encryption information; the second controller is used for obtaining second encryption information; the cloud server is used for sending the obtained first physical address, the second physical address and the second coding information to the first network terminal; the first network terminal is used for establishing a mapping relation among the first physical address, the second physical address and the second coding information so as to carry out networking on the first network terminal and the second network terminal. The invention realizes the ad hoc network, improves the networking efficiency and reduces the labor cost; the cloud server can actively push and update a mapping table of the LoRa base station end; each device does not need to reserve a physical interface for reading and writing data, and the dustproof and waterproof grade of the system is improved.

Description

Wireless ad hoc network system
Technical Field
The invention relates to the technical field of wireless communication, in particular to a wireless ad hoc network system.
Background
At present, an outdoor auxiliary fan (fan unit) arranged in an intelligent building and an indoor range hood of a family are mutually independent, and real-time communication interaction cannot be carried out. Specifically, in the existing intelligent building, generally, the MAC address (physical address) of the indoor unit is counted manually, the MAC address is manually entered into the outdoor unit system, and then data such as the MAC address of the indoor unit and the MAC address of the outdoor unit are manually entered into the cloud server, so that the situations of omission, entry error and the like are easily caused, the labor cost is high, and the efficiency is low; in addition, each device needs to reserve a physical interface for reading and writing data, so that the situation that the dustproof and waterproof effects are unqualified is easy to occur.
Disclosure of Invention
The invention aims to overcome the defects that in the prior art, all devices in an intelligent building are independent from each other and cannot perform real-time communication interaction, and provides a wireless ad hoc network system.
The invention solves the technical problems through the following technical scheme:
the invention provides a wireless ad hoc network system, which comprises at least one wireless ad hoc network device;
the wireless ad hoc network device comprises a cloud server, an information preset module, first equipment and N second equipment, wherein N is more than or equal to 1 and is an integer;
the first device comprises a first controller and a first network terminal, and the second device comprises a second controller and a second network terminal;
the first controller is electrically connected with the first network terminal, the second controller is electrically connected with the second network terminal, and the first network terminal is respectively in communication connection with the cloud server and the second network terminal;
the information presetting module is used for presetting first coding information corresponding to the first equipment and presetting second coding information corresponding to the second equipment according to the first coding information;
the first controller is used for encrypting a first physical address of the first device and the first coding information to obtain first encryption information and sending the first encryption information to the cloud server through the first network terminal;
the second controller is used for encrypting a second physical address of the second device and the second coding information to obtain second encryption information and sending the second encryption information to the cloud server through the second network terminal;
the cloud server is used for sending the first physical address obtained by decrypting the first encrypted information, the second physical address obtained by decrypting the second encrypted information and the second coded information to the first network terminal;
the first network terminal is used for establishing a mapping relation among the first physical address, the second physical address and the second coding information so as to carry out networking on the first network terminal and the second network terminal.
Preferably, the first network terminal includes a first wireless network module and a second wireless network module, and the second network terminal includes a third wireless network module;
the first wireless network module is in communication connection with the third wireless network module, and the second wireless network module is in communication connection with the cloud server.
Preferably, the first wireless network module and the third wireless network module each include a LoRa (wireless communication technology) module, and the second wireless network module includes a 4G (wireless communication technology) module.
Preferably, the first controller is configured to generate a registration request and send the registration request to the cloud server through the first network terminal;
the cloud server is used for decrypting the first encrypted information to obtain the first physical address and the first coding information after receiving the registration request, and determining that the first device is successfully registered in the cloud server and generating a first reminding message.
Preferably, when the first device is successfully registered in the cloud server, the cloud server is configured to create a virtual group according to the first encoded information obtained by decryption;
wherein the virtual group comprises at least N virtual units;
the cloud server is used for decrypting the second encrypted information to obtain second coded information of the second equipment, and correspondingly setting each second equipment and one virtual unit in the virtual group according to target information in the second coded information.
Preferably, the first device comprises an outdoor fan set, and the second device comprises an indoor range hood;
the outdoor fan set and the indoor range hoods correspond to the same flue; and/or the presence of a gas in the gas,
the first coding information comprises a provincial and urban area name, a developer name, a cell name, a building number, a unit number, a flue number and a floor total number;
the second coding information comprises a provincial and urban area name, a developer name, a cell name, a building number, a unit number, a flue number and floor information;
wherein the target information is the floor information.
Preferably, the first network terminal is configured to establish a mapping relationship between the first physical address of the first device and the second physical address and the second encoding information of each second device, so as to perform networking on the first network terminal and the second network terminal;
and the first network terminal is also used for generating a mapping table according to each mapping relation and storing the mapping table to a file system.
Preferably, the cloud server is configured to send an update request for updating the mapping table to the first network terminal;
the first network terminal is used for updating the mapping table according to the updating request.
Preferably, the second controller is configured to generate a connection request and send the connection request to the first network terminal through the second network terminal;
the first network terminal is configured to determine whether a mapping relationship exists between the first network terminal and the second network terminal in the mapping table when receiving the connection request, and if so, establish data communication between the first network terminal and the second network terminal.
Preferably, the cloud server is configured to encrypt the first physical address, the second physical address, and the second encoded information to obtain third encrypted information, and send the third encrypted information to the first network terminal;
the first network terminal is configured to decrypt the third encrypted information to obtain the first physical address, the second physical address, and the second encoded information.
Preferably, a first scanning code is set at the first device, and a second scanning code is set at the first device;
the information presetting module is used for scanning the first scanning code to preset the first coding information corresponding to the first equipment;
the information presetting module is further used for scanning the second scanning code to preset second coding information corresponding to the second equipment;
the first scanning code further includes the first physical address, and the second scanning code further includes the second physical address.
Preferably, the wireless ad hoc network device further comprises an intelligent terminal;
the intelligent terminal corresponds to ID (identity) information, and the intelligent terminal corresponds to the second equipment;
the intelligent terminal is used for sending a binding request to the cloud server;
the intelligent terminal is further used for scanning the second scanning code to obtain the second physical address of the second device, encrypting the second physical address and the ID information to obtain fourth encryption information and sending the fourth encryption information to the cloud server;
the cloud server is used for judging whether the second equipment is in the virtual group or not after receiving the binding request, and if not, determining that the binding is failed;
if so, judging whether the ID information is bound with other second physical addresses, if so, canceling the binding and rebinding new second physical addresses, and generating a second reminding message when the binding is successful; and if not, binding the ID information with the second physical address.
Preferably, after the ID information is bound to the second physical address, the intelligent terminal is configured to wirelessly control the second device.
The positive progress effects of the invention are as follows:
according to the invention, the registration of the outdoor fan set in the cloud server is completed through the coding information and the MAC address of the outdoor fan set, a virtual set is created, then the coding information and the MAC address of the indoor range hood are transmitted to the cloud server, each indoor range hood is added into the virtual set, the outdoor machine MAC address, the indoor machine MAC address and the coding information are transmitted to a network terminal (namely a LoRa base station) of the outdoor fan set through the cloud server, the registration of the indoor machine LoRa terminal to the outdoor machine LoRa base station is automatically completed, namely the self-networking is realized, the networking efficiency is improved, and the labor cost is reduced; the cloud server can actively push and update the mapping table of the LoRa base station end, so that the networking efficiency is further improved; each device does not need to reserve a physical interface for reading and writing data, so that the dustproof and waterproof grade of the system is improved; in addition, the intelligent terminal of the user can be bound with the indoor unit to achieve wireless control, and user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a wireless ad hoc network system according to embodiment 1 of the present invention.
Fig. 2 is a schematic structural diagram of a wireless ad hoc network system according to embodiment 2 of the present invention.
Fig. 3 is a schematic spatial layout diagram of a wireless ad hoc network system in an intelligent building according to embodiment 2 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, the wireless ad hoc network system of the embodiment includes at least one wireless ad hoc network device 1, where each wireless ad hoc network device 1 includes a cloud server 2, an information presetting module 3, a first device 4, and N second devices 5, where N is greater than or equal to 1 and is an integer.
Different wireless ad hoc network devices can share the same cloud server and the same information presetting module.
The first device 4 comprises a first controller 6 and a first network terminal 7 and the second device 5 comprises a second controller 8 and a second network terminal 9.
The first controller 6 is electrically connected to a first network terminal 7, and the second controller 8 is electrically connected to a second network terminal 9.
The first network terminal 7 is respectively connected with the cloud server 2 and the second network terminal 9 in a communication manner.
The information presetting module 3 is configured to preset first coding information corresponding to the first device 4, and preset second coding information corresponding to the second device 5 according to the first coding information, that is, the first coding information is associated with the second coding information.
The first controller 6 is configured to generate a registration request and send the registration request to the cloud server 2 through the first network terminal 7.
The first controller 6 is further configured to encrypt a first physical address and first coding information of the first device 4 to obtain first encryption information, and send the first encryption information to the cloud server 2 through the first network terminal 7;
the cloud server 2 is configured to decrypt the first encrypted information to obtain a first physical address and first encoded information after receiving the registration request, and determine that the first device 4 is successfully registered in the cloud server 2 and generates a first reminding message, that is, the registration of the first device in the cloud server is completed.
In addition, the cloud server 2 may also determine whether the first device 4 meets a preset condition through information such as the MAC address of the first device 4 to determine whether to allow the first device 4 to register in the server; for example, when the MAC address of the first device 4 corresponds to an illegal account, the cloud server 2 does not allow the registration.
When the first device 4 is successfully registered in the cloud server 2, the cloud server 2 is further configured to create a virtual group according to the decrypted first encoding information.
The virtual group includes at least N virtual units (or called slot positions of the indoor units).
The second controller 8 is configured to encrypt the second physical address and the second encoding information of the second device 5 to obtain second encryption information, and send the second encryption information to the cloud server 2 through the second network terminal 9.
The cloud server 2 is configured to decrypt the second encrypted information to obtain second encoded information of the second devices 5, and set each second device 5 corresponding to one virtual unit in the virtual group according to target information in the second encoded information.
When a virtual group includes N virtual units, one virtual unit corresponds to one second device, that is, one virtual group corresponds to N second devices.
The cloud server 2 is configured to send a first physical address obtained by decrypting the first encrypted information, a second physical address obtained by decrypting the second encrypted information, and the second encoded information to the first network terminal 7.
The first network terminal 7 is configured to establish a mapping relationship among the first physical address, the second physical address, and the second encoding information to perform networking on the first network terminal 7 and the second network terminal 9, that is, to complete registration of the second network terminal of the second device with the first network terminal of the first device.
Specifically, the cloud server 2 is configured to encrypt the first physical address, the second physical address, and the second encoding information to obtain third encryption information, and send the third encryption information to the first network terminal 7, and the first network terminal 7 is configured to decrypt the third encryption information to obtain the first physical address, the second physical address, and the second encoding information.
The first network terminal 7 is configured to establish a mapping relationship between the first physical address of the first device 4 and the second physical address and the second encoding information of each second device 5 to perform networking on the first network terminal 7 and the second network terminal 9, that is, the second devices corresponding to the N virtual units are all added to the virtual group, and registration of the second network terminal of each second device with the first network terminal of the first device is completed.
The first network terminal 7 is further configured to generate a mapping table according to each mapping relationship and store the mapping table to the file system.
The cloud server 2 is further configured to send an update request for updating the mapping table to the first network terminal 7;
the first network terminal 7 is configured to update the mapping table according to the update request, so that registration of the second network terminals of other second devices with the first network terminal of the first device is automatically achieved, and networking efficiency is improved.
In the embodiment, the first device is registered in the cloud server and a virtual group is created through the coding information and the MAC address of the first device, then the coding information and the MAC address of the second device are transmitted to the cloud server, each second device is added into the virtual group, the MAC address of the first device, the MAC address of the second device and the coding information are sent to the network terminal of the outdoor fan group through the cloud server, and the second network terminal is autonomously registered with the first network terminal, so that the ad hoc network is realized, the networking efficiency is improved, and the labor cost is reduced; the cloud server can actively push an update request for updating the mapping table, so that the networking efficiency is further improved; in addition, each device does not need to reserve a physical interface for reading and writing data, and the dustproof and waterproof grade of the system is improved.
Example 2
As shown in fig. 2, the wireless ad hoc network system of the present embodiment is a further improvement of embodiment 1, specifically:
the first network terminal 7 includes a first wireless network module 10 and a second wireless network module 11, and the second network terminal 9 includes a third wireless network module 12.
The first wireless network module 10 is in communication connection with the third wireless network module 12, and the second wireless network module 11 is in communication connection with the cloud server 2.
The first wireless network module 10 and the third wireless network module 12 include but are not limited to an LoRa module, and the second wireless network module 11 includes but is not limited to a 4G module, i.e., the first network terminal is equivalent to an LoRa base station, and the second network terminal is equivalent to an LoRa terminal.
When the application scenario of this embodiment is an intelligent building, the first device 4 includes an outdoor fan set, and the second device 5 includes an indoor range hood.
At this moment, the first device further comprises an outdoor direct current auxiliary fan, and the first controller is electrically connected with the first network terminal and the outdoor direct current auxiliary fan through serial ports respectively.
The second device also comprises an indoor range hood direct current fan, and the second controller is respectively and electrically connected with the second network terminal and the indoor range hood direct current fan through serial ports.
The outdoor fan set and the indoor range hoods correspond to the same flue, and each flue corresponds to one wireless ad hoc network device.
As shown in fig. 3, assuming that the same unit and the same floor of the same building (including 10 floors) include two households, two households in the first floor correspond to 101 and 102, two households in the second floor correspond to 201 and 202, and so on, 10 indoor range hoods of ten households 101, 201, … and 1001 correspond to the same flue P, and 10 indoor range hoods of ten households 102, 202, … and 1002 correspond to the other flue. The arrow direction is the flow direction of the oil smoke in the flue.
Specifically, the first encoded information includes, but is not limited to, a provincial or urban area name, a developer name, a cell name, a building number, a unit number, a smoke path number, and a floor total number.
The second encoded information includes, but is not limited to, a provincial or urban area name, a developer name, a cell name, a building number, a unit number, a smoke channel number, and floor information.
The cloud server 2 is configured to create a virtual group including at least N virtual units according to the total number N of floors in the first encoded information.
The cloud server correspondingly sets each second device and one virtual unit in the virtual group according to the floor information in the second coding information, namely, the second devices are added into the virtual group.
The second controller 8 is configured to generate a connection request and send the connection request to the first network terminal 7 through the second network terminal 9.
The first network terminal 7 is configured to, when receiving the connection request, determine whether a mapping relationship exists between the first network terminal 7 and the second network terminal 9 in the mapping table, and if so, establish data communication between the first network terminal 7 and the second network terminal 9.
In addition, as shown in fig. 3, a first scan code a1 is set at the first device 4, and a second scan code b1 is set at the first device 4.
The first scan code and the second scan code include, but are not limited to, a two-dimensional code.
The first scanning code and the second scanning code can be pasted on corresponding devices.
The information presetting module 3 is used for scanning a first scanning code to preset first coding information corresponding to the first device 4, and the information presetting module 3 is also used for scanning a second scanning code to preset second coding information corresponding to the second device 5;
the first scanning code further comprises a first physical address, and the second scanning code further comprises a second physical address.
The information presetting module 3 includes, but is not limited to, an application program, and a servlet.
The wireless ad hoc network device 1 further comprises an intelligent terminal 13, the intelligent terminal 13 corresponds to an ID information, and the intelligent terminal 13 corresponds to a second device 5.
The intelligent terminal 13 is configured to send a binding request to the cloud server 2.
The intelligent terminal 13 is further configured to scan the second scanning code to obtain a second physical address of the second device 5, encrypt the second physical address and the ID information to obtain fourth encryption information, and send the fourth encryption information to the cloud server 2.
The cloud server 2 is configured to determine whether the second device 5 is in the virtual group after receiving the binding request, and if not, determine that the binding is failed; if so, judging whether the ID information is bound with other second physical addresses, if so, canceling the binding and rebinding a new second physical address, and generating a second reminding message when the binding is successful; and if not, binding the ID information with the second physical address.
After the ID information is bound to the second physical address, the intelligent terminal 13 is configured to wirelessly control the second device 5.
The following is a detailed description with reference to examples:
taking ad hoc network registration and binding procedures between an outdoor fan set and an indoor range hood in an intelligent building as an example:
1. registration of outdoor fan set in cloud server
(11) An operator scans a two-dimensional code pasted on an outdoor fan set through an APP (application program) or a service applet on a service mobile phone, enters a first code information preset interface, specifically presets information such as a city name, a developer name, a cell name, a building number, a unit number, a flue number, the total number of floors and the like in the interface according to actual conditions, and clicks a 'submit' button in the interface after the information is filled in to complete setting; wherein the two-dimensional code comprises a first MAC address of the outdoor fan set,
(12) the first controller in the outdoor fan set is used for generating a registration request and sending the registration request to the cloud server through the 4G module;
a first controller in the outdoor fan set acquires first coding information and a first MAC address in the two-dimensional code, encrypts the first coding information and the first MAC address by adopting an encryption algorithm (such as an AES128 algorithm) to acquire first encryption information, and sends the first encryption information to a cloud server through a 4G module;
(13) the cloud server verifies whether the first MAC address of the outdoor fan set meets the registration condition according to the registration request, generates a prompt message of successful registration when the first MAC address meets the registration condition, and feeds the prompt message back to the APP or the servlet on the service mobile phone;
the cloud server decrypts the first encrypted information by adopting an AES128 algorithm to obtain the first coding information and the MAC address.
And when the registration is successful, creating a virtual group according to the total number N of the floors in the first coding information, wherein the virtual group corresponds to N indoor range hoods, and each virtual unit corresponds to one indoor range hood.
2. Registration of LoRa terminal of indoor range hood to LoRa base station of outdoor fan set
(21) An operator selects the registered outdoor fan unit from the operation interface and enters a detail interface of the outdoor fan unit;
(22) clicking a button of an indoor range hood to be added in a current operation interface and entering a scanning interface;
(23) an operator scans the two-dimensional code pasted on the indoor range hood through an APP (application) or a small service program on a service mobile phone, enters a second code information preset interface, specifically presets information such as a provincial and urban area name, a developer name, a cell name, a building number, a unit number, a flue number, floor information and the like in the interface according to actual conditions, and clicks a 'submit' button in the interface after the information is filled in to complete setting; wherein the two-dimensional code comprises a second MAC address of the outdoor fan set,
(24) a second controller in the outdoor fan set acquires second coding information and a second MAC address in the two-dimensional code, encrypts the second coding information and the second MAC address by adopting an encryption algorithm (such as AES128) to acquire second encryption information, and sends the second encryption information to the cloud server through the LoRa module;
(25) the cloud server decrypts the second encrypted information by adopting an AES128 algorithm to obtain second coded information and a second MAC address, and sets the second equipment and one virtual unit in the virtual group correspondingly according to the floor information in the second coded information, namely, the indoor range hood is added into the virtual group;
(26) the cloud server adopts an AES128 algorithm to carry out confidentiality on the first MAC address of the outdoor fan set, the second MAC address of the indoor range hood and the second coding information to obtain third encryption information, and the third encryption information is sent to a LoRa base station of the outdoor fan set, and at the moment, registration of the indoor range hood on the cloud server is completed;
(27) after receiving the third encrypted information, the LoRa base station decrypts the third encrypted information by adopting an AES128 algorithm to obtain a first MAC address, a second MAC address of the indoor range hood and second coding information, establishes a mapping relation among the first MAC address, the second MAC address of the indoor range hood and the second coding information, forms a mapping table according to the mapping relation, and then stores the mapping table into a file system of the LoRa base station, so that the registration of a LoRa terminal of the indoor range hood to the LoRa base station of the outdoor fan set is completed;
(28) and (5) repeating the steps (22) - (27) for the other N-1 indoor range hoods until the LoRa terminals of the N indoor range hoods register to the LoRa base station of the outdoor fan set, and synchronously updating the mapping table in the step (27) and storing the mapping table in the LoRa base station.
3. Communication between outdoor fan set and indoor range hood
(31) A second controller in the indoor range hood generates a connection request and sends the connection request to an LoRa base station through an LoRa terminal;
(32) and when the LoRa base station receives the connection request, judging whether the LoRa terminal and the LoRa base station have a mapping relation in the mapping table, and if so, establishing data communication between the LoRa terminal and the LoRa base station.
4. Binding of intelligent terminal of user and indoor range hood
(41) A user uses an APP (application) or a small service program on a service mobile phone of an intelligent terminal (mobile phone, tablet computer and the like) to scan a two-dimensional code pasted on an indoor range hood, and a corresponding second MAC (media access control) address is obtained;
(42) the intelligent terminal sends a binding request to the cloud server;
the intelligent terminal also encrypts the second MAC address and the ID information (such as a mobile phone number) of the intelligent terminal and uploads the encrypted second MAC address and the ID information to the cloud server;
(43) after receiving the binding request, the cloud server judges whether the indoor range hood is added into the virtual group, if not, the indoor range hood cannot be bound, and the binding is determined to be failed;
if the mobile phone number corresponding to the intelligent terminal is in the virtual group, whether the mobile phone number corresponding to the intelligent terminal is bound with other indoor range hoods or not is continuously judged, if the mobile phone number corresponding to the intelligent terminal is not bound with the new second MAC address, a reminding message for successful binding is generated; and if the intelligent terminal is bound, canceling the historical binding, binding the mobile phone number corresponding to the intelligent terminal with the new second MAC address again, and generating a reminding message of successful binding. At this time, the user can check the binding result through the refresh list.
After the intelligent terminal of the user is bound with the indoor range hood, the user can directly wirelessly control the indoor range hood through the intelligent terminal to carry out control operations such as opening and closing on the indoor range hood, networking efficiency is improved, and user experience is improved.
In the embodiment, the outdoor fan set is registered in the cloud server and a virtual group is created through the coding information and the MAC address of the outdoor fan set, then the coding information and the MAC address of the indoor range hood are transmitted to the cloud server, each indoor range hood is added into the virtual group, the outdoor machine MAC address, the indoor machine MAC address and the coding information are sent to a network terminal (namely a LoRa base station) of the outdoor fan set through the cloud server, and the indoor machine LoRa terminal is autonomously registered to the outdoor machine LoRa base station, namely the self-networking is achieved, the networking efficiency is improved, and the labor cost is reduced; the cloud server can actively push and update a mapping table of the LoRa base station end; in addition, each device does not need to reserve a physical interface for reading and writing data, and the dustproof and waterproof grade of the system is improved.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (13)

1. A wireless ad hoc network system, comprising at least one wireless ad hoc network device;
the wireless ad hoc network device comprises a cloud server, an information preset module, first equipment and N second equipment, wherein N is more than or equal to 1 and is an integer;
the first device comprises a first controller and a first network terminal, and the second device comprises a second controller and a second network terminal;
the first controller is electrically connected with the first network terminal, the second controller is electrically connected with the second network terminal, and the first network terminal is respectively in communication connection with the cloud server and the second network terminal;
the information presetting module is used for presetting first coding information corresponding to the first equipment and presetting second coding information corresponding to the second equipment according to the first coding information;
the first controller is used for encrypting a first physical address of the first device and the first coding information to obtain first encryption information and sending the first encryption information to the cloud server through the first network terminal;
the second controller is used for encrypting a second physical address of the second device and the second coding information to obtain second encryption information and sending the second encryption information to the cloud server through the second network terminal;
the cloud server is used for sending the first physical address obtained by decrypting the first encrypted information, the second physical address obtained by decrypting the second encrypted information and the second coded information to the first network terminal;
the first network terminal is used for establishing a mapping relation among the first physical address, the second physical address and the second coding information so as to carry out networking on the first network terminal and the second network terminal.
2. The wireless ad hoc network system of claim 1, wherein said first network terminal comprises a first wireless network module and a second wireless network module, said second network terminal comprises a third wireless network module;
the first wireless network module is in communication connection with the third wireless network module, and the second wireless network module is in communication connection with the cloud server.
3. The wireless ad hoc network system of claim 2, wherein the first wireless network module and the third wireless network module each comprise an LoRa module, and the second wireless network module comprises a 4G module.
4. The wireless ad hoc network system of claim 1, wherein the first controller is configured to generate a registration request and send the registration request to the cloud server through the first network terminal;
the cloud server is used for decrypting the first encrypted information to obtain the first physical address and the first coding information after receiving the registration request, and determining that the first device is successfully registered in the cloud server and generating a first reminding message.
5. The wireless ad hoc network system of claim 4, wherein when the first device is successfully registered in the cloud server, the cloud server is configured to create a virtual group according to the decrypted first encoded information;
wherein the virtual group comprises at least N virtual units;
the cloud server is used for decrypting the second encrypted information to obtain second coded information of the second equipment, and correspondingly setting each second equipment and one virtual unit in the virtual group according to target information in the second coded information.
6. The wireless ad hoc network system of claim 5, wherein the first device comprises an outdoor fan unit and the second device comprises an indoor range hood;
the outdoor fan set and the indoor range hoods correspond to the same flue; and/or the presence of a gas in the gas,
the first coding information comprises a provincial and urban area name, a developer name, a cell name, a building number, a unit number, a flue number and a floor total number;
the second coding information comprises a provincial and urban area name, a developer name, a cell name, a building number, a unit number, a flue number and floor information;
the cloud server is used for creating a virtual group comprising at least N virtual units according to the total number of the floors in the first coding information; wherein the target information is the floor information.
7. The wireless ad hoc network system of claim 1, wherein the first network terminal is configured to establish a mapping relationship between the first physical address of the first device and the second physical address and the second encoded information of each of the second devices to perform networking on the first network terminal and the second network terminal;
and the first network terminal is also used for generating a mapping table according to each mapping relation and storing the mapping table to a file system.
8. The wireless ad hoc network system of claim 7, wherein the cloud server is configured to send an update request for updating the mapping table to the first network terminal;
the first network terminal is used for updating the mapping table according to the updating request.
9. The wireless ad hoc network system of claim 1, wherein said second controller is configured to generate a connection request and send the connection request to said first network terminal through said second network terminal;
the first network terminal is configured to determine whether a mapping relationship exists between the first network terminal and the second network terminal in the mapping table when receiving the connection request, and if so, establish data communication between the first network terminal and the second network terminal.
10. The wireless ad hoc network system of claim 1, wherein the cloud server is configured to encrypt the first physical address, the second physical address, and the second encoded information to obtain third encrypted information, and send the third encrypted information to the first network terminal;
the first network terminal is configured to decrypt the third encrypted information to obtain the first physical address, the second physical address, and the second encoded information.
11. The wireless ad hoc network system of claim 5, wherein a first scanning code is set at said first device, a second scanning code is set at said first device;
the information presetting module is used for scanning the first scanning code to preset the first coding information corresponding to the first equipment;
the information presetting module is further used for scanning the second scanning code to preset second coding information corresponding to the second equipment;
the first scanning code further includes the first physical address, and the second scanning code further includes the second physical address.
12. The wireless ad-hoc network system of claim 11, wherein said wireless ad-hoc network device further comprises a smart terminal;
the intelligent terminal corresponds to ID information, and the intelligent terminal corresponds to the second equipment;
the intelligent terminal is used for sending a binding request to the cloud server;
the intelligent terminal is further used for scanning the second scanning code to obtain the second physical address of the second device, encrypting the second physical address and the ID information to obtain fourth encryption information and sending the fourth encryption information to the cloud server;
the cloud server is used for judging whether the second equipment is in the virtual group or not after receiving the binding request, and if not, determining that the binding is failed;
if so, judging whether the ID information is bound with other second physical addresses, if so, canceling the binding and rebinding new second physical addresses, and generating a second reminding message when the binding is successful; and if not, binding the ID information with the second physical address.
13. The wireless ad hoc network system of claim 12, wherein the smart terminal is configured to wirelessly control the second device after the ID information is bound to the second physical address.
CN202010028139.2A 2020-01-10 2020-01-10 Wireless ad hoc network system Active CN111246597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010028139.2A CN111246597B (en) 2020-01-10 2020-01-10 Wireless ad hoc network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010028139.2A CN111246597B (en) 2020-01-10 2020-01-10 Wireless ad hoc network system

Publications (2)

Publication Number Publication Date
CN111246597A true CN111246597A (en) 2020-06-05
CN111246597B CN111246597B (en) 2021-07-16

Family

ID=70880627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010028139.2A Active CN111246597B (en) 2020-01-10 2020-01-10 Wireless ad hoc network system

Country Status (1)

Country Link
CN (1) CN111246597B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156501A (en) * 2023-04-19 2023-05-23 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100292864A1 (en) * 2009-05-15 2010-11-18 Dongwon Sung Air conditioner and method of controlling the same
JP2012202662A (en) * 2011-03-28 2012-10-22 Daikin Industries Ltd Air conditioning system
CN104613591A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method
US20150312230A1 (en) * 2014-04-25 2015-10-29 Electronics And Telecommunications Research Institute Apparatus and method for transferring network access information of smart household appliances
CN105091198A (en) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 Method and device for realizing networking for wireless communication of indoor and outdoor units of air conditioner
US20160269527A1 (en) * 2015-03-13 2016-09-15 Xiaomi Inc. Methods and apparatuses for binding with device
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106572148A (en) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 Intelligent product network configuration method and network configuration system
CN108616966A (en) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 wireless networking method and device of air conditioning system
CN109474635A (en) * 2018-12-29 2019-03-15 广东万和新电气股份有限公司 A kind of electrical equipment distribution method and system based on barcode scanning technology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100292864A1 (en) * 2009-05-15 2010-11-18 Dongwon Sung Air conditioner and method of controlling the same
JP2012202662A (en) * 2011-03-28 2012-10-22 Daikin Industries Ltd Air conditioning system
CN104613591A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method
US20150312230A1 (en) * 2014-04-25 2015-10-29 Electronics And Telecommunications Research Institute Apparatus and method for transferring network access information of smart household appliances
CN105091198A (en) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 Method and device for realizing networking for wireless communication of indoor and outdoor units of air conditioner
US20160269527A1 (en) * 2015-03-13 2016-09-15 Xiaomi Inc. Methods and apparatuses for binding with device
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106572148A (en) * 2016-10-09 2017-04-19 美的智慧家居科技有限公司 Intelligent product network configuration method and network configuration system
CN108616966A (en) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 wireless networking method and device of air conditioning system
CN109474635A (en) * 2018-12-29 2019-03-15 广东万和新电气股份有限公司 A kind of electrical equipment distribution method and system based on barcode scanning technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116156501A (en) * 2023-04-19 2023-05-23 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system
CN116156501B (en) * 2023-04-19 2023-06-27 深圳市华曦达科技股份有限公司 Wireless grid network networking method, device and system

Also Published As

Publication number Publication date
CN111246597B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN101183938B (en) Wireless network security transmission method, system and equipment
KR100952453B1 (en) A method for authenticating a user in a terminal, an authentication system, a terminal, and an authorization device
US20100159924A1 (en) IMSI handling system
EP1401162B9 (en) Packet communication terminal, packet communication system, packet communication method and packet communication program
KR20090026311A (en) Information broadcasting system and method
TW201014301A (en) Systems and methods for group key distribution and management for wireless communications systems
AU2013269845B2 (en) Method for tracking a mobile device onto a remote displaying unit
RU2316143C2 (en) Cryptographic method and system for limiting mobility in radio networks
CN102143492B (en) Method for establishing virtual private network (VPN) connection, mobile terminal and server
KR101767889B1 (en) Method of identifying terminal and apparatus thereof
CN101150851A (en) Method, server and mobile station for transmitting data from server to mobile station
CN100563186C (en) A kind of method of in wireless access network, setting up escape way
CN111246597B (en) Wireless ad hoc network system
CN111770494B (en) Beidou RDSS user identity authentication and fire wire registration method and device based on mobile phone number
US20110072512A1 (en) Apparatus and method for providing communication service using common authentication
CN111065093B (en) Wireless ad hoc network system
CN104796891A (en) Security certification system by means of service provider's network and corresponding method
KR101500118B1 (en) Data sharing method and data sharing system
CN113507707B (en) Distribution network method and system of intelligent teaching equipment
CN114338132B (en) Secret-free login method, client application, operator server and electronic equipment
US20050013268A1 (en) Method for registering broadcast/multicast service in a high-rate packet data system
CN113691973B (en) Number portability method based on block chain network and operator system
KR20170059788A (en) Method and apparatus for controlling data transmission
CN101917671A (en) Method for managing authentication parameters and terminal
EP2961208A1 (en) Method for accessing a service and corresponding application server, device 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
GR01 Patent grant
GR01 Patent grant