CN113132986B - Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium - Google Patents

Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium Download PDF

Info

Publication number
CN113132986B
CN113132986B CN201911419675.9A CN201911419675A CN113132986B CN 113132986 B CN113132986 B CN 113132986B CN 201911419675 A CN201911419675 A CN 201911419675A CN 113132986 B CN113132986 B CN 113132986B
Authority
CN
China
Prior art keywords
data
mesh network
mesh
equipment
authentication
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.)
Active
Application number
CN201911419675.9A
Other languages
Chinese (zh)
Other versions
CN113132986A (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.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier 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 Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN201911419675.9A priority Critical patent/CN113132986B/en
Publication of CN113132986A publication Critical patent/CN113132986A/en
Application granted granted Critical
Publication of CN113132986B publication Critical patent/CN113132986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for realizing a mesh network of WiFi based on a DPP protocol, and a storage medium, wherein the method comprises the following steps: performing security authentication on second equipment to be accessed to the mesh network through a DPP (DPP-data-in-package) protocol; under the condition that the security authentication is passed, configuring mesh information for the second device so as to enable the second device to access the mesh network, wherein the mesh information comprises at least one of the following: the technical scheme is adopted to solve the problems that in the related technology, the implementation scheme that the router is not connected with the electronic equipment is reduced by increasing the sending power of the router, the hardware cost is easily increased, the implementation mode is limited and the like.

Description

Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium
Technical Field
The invention relates to the field of communication, in particular to a method and a device for realizing a mesh network of WiFi based on a DPP protocol, and a storage medium.
Background
With the continuous development of the internet of things industry, more and more intelligent electronic products realize local data communication or internet connection by Wireless Fidelity (WiFi for short), but the defects of the method are exposed with the use, for example, due to the hardware limitation of WiFi itself, the communication distance of the WiFi is limited, and the situation that the electronic products cannot be connected to a router often occurs.
Therefore, the demand for extending the WiFi communication distance is becoming more and more prominent, especially under the condition that the internet of things products have a certain number and are relatively dispersed, and the number of routers is limited, however, in the related art, the existing implementation mode is to consider to increase the transmission power on the hardware, but the implementation scheme for increasing the transmission power increases the hardware cost on one hand, and on the other hand, the maximum transmission power of the household WiFi is limited and cannot be exceeded, so the implementation scheme for increasing the transmission power increases the cost, and there is a problem that the implementation is limited.
Aiming at the problems that in the related art, the implementation scheme that the router is not connected with the electronic equipment is reduced by increasing the sending power of the router, the hardware cost is easy to increase, the implementation mode is limited and the like, an effective technical scheme is not provided.
Disclosure of Invention
The embodiment of the invention provides a method and a device for realizing a mesh network of WiFi based on a DPP protocol, a storage medium and an electronic device, which are used for at least solving the problems that in the related art, the realization scheme that the router cannot be connected with an electronic device is reduced by increasing the sending power of the router, the hardware cost is easily increased, the realization mode is limited and the like.
According to an embodiment of the invention, a method for realizing a mesh (wireless mesh network, namely a multi-hop network) of WiFi based on a Data Preparation Protocol (DPP) Protocol is provided, and the method is applied to a first Device and comprises the steps of carrying out security authentication on a second Device to be accessed to the mesh network through the DPP Protocol under the condition that the mesh network is accessed, and configuring mesh information on the second Device under the condition that the security authentication is passed so as to enable the second Device to be accessed to the mesh network, wherein the mesh information comprises at least one of a mesh communication channel, a mesh address and a mesh network key, and the mesh network accessed to the second Device is used for transmitting data sent by a target object.
In the embodiment of the present invention, the performing security authentication on the second device to be accessed to the mesh network through the DPP protocol includes: receiving an authentication request sent by the second device, where the authentication request is used to indicate that the first device is used to perform security authentication on the second device, and the authentication request carries a DPP public key; responding the authentication request, and sending an authentication response to the second equipment; and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication.
In this embodiment of the present invention, in a case that the security authentication passes, configuring mesh information for the second device, so that after the second device accesses the mesh network, the method further includes: and uploading the mesh information to a remote server, wherein the remote server is used for receiving a query request of a target mobile terminal and sending the mesh information to the target mobile terminal.
In this embodiment of the present invention, in a case that the security authentication passes, configuring mesh information for the second device, so that after the second device accesses the mesh network, the method further includes: when data to be transmitted to third equipment in the mesh network is acquired, the data is sent to the second equipment; and taking the second equipment as relay equipment, and forwarding the data to the third equipment through a mesh network.
In this embodiment of the present invention, taking the second device as a relay device, and forwarding the data to the third device through a mesh network includes: and when determining that the data is not the data sent to the first device, forwarding the data to the second device, wherein when the second device determines that the data is not the data sent to the second device and the data is the data received by the second device for the first time, the data is forwarded to a third device through the second device, and when the third device determines that the data is the data sent to the third device, the received data is processed.
In an embodiment of the present invention, the method further includes: discarding the data if it is determined that the data is data sent to the second device and the data is not received for the first time.
In another embodiment of the present invention, an apparatus for implementing a mesh network based on a DPP protocol to implement WiFi is further provided, including: the authentication module is used for performing security authentication on second equipment to be accessed to the mesh network through a DPP (DPP) protocol; a configuration module, configured to configure mesh information for the second device to enable the second device to access the mesh network, where the mesh information includes at least one of the following: and the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and used for transmitting the data sent by the target object.
In this embodiment of the present invention, the authentication module is further configured to receive an authentication request sent by the second device, where the authentication request is used to indicate that the first device is configured to perform security authentication on the second device, and the authentication request carries a DPP public key; responding to the authentication request, and sending an authentication response to the second equipment; and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication.
In an embodiment of the present invention, the apparatus further includes: the processing module is further used for sending the data to the second equipment when the data to be transmitted to the third equipment in the mesh network is obtained; and taking the second equipment as relay equipment, and forwarding the data to the third equipment through a mesh network.
In this embodiment of the present invention, the processing module is further configured to forward the data to the second device when it is determined that the data is not data sent to the first device itself, where the data is forwarded to a third device through the second device when the second device determines that the data is not data sent to the second device itself and the data is data received by the second device for the first time, and the received data is processed when the third device determines that the data is data sent to the third device itself.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, after the security authentication of the second equipment is successfully carried out through the DPP protocol, the mesh information is configured for the second equipment, so that the second equipment is accessed to the mesh network, and then the data sent by the target object is transmitted through the mesh network accessed to the second equipment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile device according to an embodiment of the present invention, wherein the mobile device implements a method for implementing a mesh network of WiFi based on DPP protocol;
fig. 2 is a flowchart of an implementation method of a mesh network for implementing WiFi based on DPP protocol according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a mesh configuration according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of data communication based on a mesh network according to an embodiment of the present invention;
fig. 5 is a block diagram of an implementation apparatus for implementing a mesh network of WiFi based on DPP protocol according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile device or a similar computing device. Taking the operation on the mobile device as an example, fig. 1 is a hardware structure block diagram of the mobile device according to the embodiment of the present invention, where the method is implemented by using a mesh network that implements WiFi based on DPP protocol. As shown in fig. 1, the mobile device may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the mobile device. For example, the mobile device may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for implementing a mesh network based on a DPP protocol for implementing WiFi in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, that is, implements the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile device. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a method for implementing a mesh network based on a DPP protocol for WiFi is provided, where the method is applied to a mobile device in the above embodiment, and specifically may be a first device in the following embodiment, and fig. 2 is a flowchart of a method for implementing a mesh network based on a DPP protocol for WiFi according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition that the mesh network is accessed, performing security authentication on second equipment to be accessed to the mesh network through a DPP (dipeptidyl peptidase) protocol;
step S204, under the condition that the security authentication is passed, configuring mesh information for the second device so as to enable the second device to access the mesh network, wherein the mesh information comprises at least one of the following: and the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and are used for transmitting the data sent by the target object.
According to the invention, after the security authentication of the second equipment is successfully carried out through the DPP protocol, the mesh information is configured on the second equipment, so that the second equipment is accessed to the mesh network, and then the data sent by the target object is transmitted through the mesh network accessed to the second equipment.
The implementation process of the step S202 may be a one-way authentication process of the first device to the second device, or a two-way authentication process between the first device and the second device, and in the embodiment of the present invention, the one-way authentication is taken as an example, and an authentication request sent by the second device is received, where the authentication request is used to indicate that the first device is used to perform security authentication on the second device, and the authentication request carries a DPP public key; responding the authentication request, and sending an authentication response to the second equipment; and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication, and further performing the security authentication process on the second equipment through the first equipment.
Under the condition that the security authentication is passed, configuring mesh information for the second device so that the second device accesses the mesh network, and the method further comprises: and uploading the mesh information to a remote server, wherein the remote server is used for receiving a query request of a target mobile terminal and sending the mesh information to the target mobile terminal.
Optionally, in a case that the security authentication passes, configuring mesh information for the second device, so that after the second device accesses the mesh network, the method further includes: when data to be transmitted to third equipment in the mesh network is acquired, the data is sent to the second equipment; and forwarding the data to the third device through a mesh network by using the second device as a relay device, specifically, if the first device determines that the data is not the data sent to the first device, forwarding the data to the second device, wherein if the second device determines that the data is not the data sent to the second device and the data is the data received by the second device for the first time, the data is forwarded to the third device through the second device, and if the third device determines that the data is the data sent to the third device, the received data is processed.
Further, in a case where it is determined that the data is data transmitted to the second device and the data is not received for the first time, the data is discarded.
The following describes in detail the method for implementing the mesh network based on the DPP protocol to implement the WiFi, with reference to optional embodiments, but the method is not limited to the technical solution of the embodiments of the present invention.
In the optional embodiment of the present invention, the security authentication is implemented according to the DPP protocol, and the reserved frame type of the DPP protocol may also be used as a frame type for mesh configuration and data transmission, that is, in the embodiment of the present invention, after the security authentication is performed on the second device to be added to the mesh network, the second device is configured, and after the configuration is successful, the second device is added to the mesh network.
The technical solution of the alternative embodiment of the present invention may include at least two processes: 1. a mesh configuration process for the second device; 2. and after the configuration is finished, carrying out a data transmission process based on the configured mesh network.
Fig. 3 is a schematic flowchart of a mesh configuration according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step 1, for a device 1 (equivalent to the first device of the above-described embodiment) close to a router, connecting to a designated router;
step 2, the user connects the router connected with the device 1 through a mobile terminal such as a mobile phone;
step 3, the user can configure the mesh information (a mesh communication channel, a mesh address and a mesh network key) of the equipment 1 in a mobile terminal mode such as a mobile phone;
step 4, the user can configure the device 1 to the mode of configuring the device 2 by means of a mobile terminal such as a mobile phone, that is, in the mode, the device 1 can perform the processes of security authentication and mesh information configuration on the device 2;
step 5, the unconfigured device 2 also needs to enter a configured mode, and in the mode, the device 2 allows the device 1 to perform security authentication and configuration on the device 2;
step 6, the device 1 utilizes the DPP protocol devices 1 and 2 to perform security authentication;
step 7, after the DPP protocol security authentication succeeds, configuring, by the device 1, mesh information for the device 2, where the mesh information includes at least one of the following: a mesh communication channel, a mesh address and a mesh network key;
in addition, the configured mesh information may also be synchronized to a remote server, and it should be noted that this step is optional.
Fig. 4 is a schematic flow chart of data communication based on a mesh network according to an embodiment of the present invention, as shown in fig. 4, including the following steps:
step 1, the user can log in the remote server to obtain the mesh information, wherein the step comprises at least one of the following steps: a mesh communication channel, a mesh address and a mesh network key;
step 2, the data sent to the device 3 (corresponding to the third device of the above embodiment) by the user using the mobile phone terminal is sent to the device 1 connected to the router;
step 3, the device 1 judges whether the data is sent to itself, if not, the data is forwarded out;
wherein, the device 1 judges that the data is not data for itself and is not data received for the first time, and discards the data;
step 4, after receiving the data, the device 2 judges that the data is not sent to the device and the data is received for the 1 st time, and forwards the data to realize data relay, and if the device 2 judges that the data is not sent to the device and the data is not received for the first time, the received data is discarded;
step 5, the router connecting device 1 judges that the data packet is not the self data packet, and if the data packet is not received for the 1 st time, the received data is discarded;
and 6, judging whether the data is the data of the device 3, and receiving and processing the data if the data is the data of the device.
Through the technical scheme, the data can be relayed to other equipment in the WiFi coverage range through the equipment in the mesh network. Thus, the mesh network can span a very large physical area and contain a large number of devices, and in addition, as the security authentication process is carried out, the mesh configuration to the data communication are safe, and further the subsequent data communication process is also safe.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for implementing a mesh network based on a DPP protocol to implement WiFi is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of an apparatus for implementing a mesh network based on a DPP protocol to implement WiFi according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
the authentication module 50 is configured to perform security authentication on a second device to be accessed to the mesh network through a DPP protocol under the condition that the mesh network is accessed;
a configuration module 52, configured to configure mesh information to the second device so that the second device accesses the mesh network, where the mesh information includes at least one of the following: and the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and used for transmitting the data sent by the target object.
According to the technical scheme of the embodiment of the invention, after the security authentication of the second equipment is successfully carried out through the DPP protocol, the mesh information is configured for the second equipment, so that the second equipment is accessed to the mesh network, and then the data sent by the target object is transmitted through the mesh network accessed to the second equipment.
In this embodiment of the present invention, the authentication module is further configured to receive an authentication request sent by the second device, where the authentication request is used to indicate that the first device is configured to perform security authentication on the second device, and the authentication request carries a DPP public key; responding the authentication request, and sending an authentication response to the second equipment; and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication.
In an embodiment of the present invention, the apparatus further includes: the processing module is further used for sending the data to the second equipment when the data to be transmitted to the third equipment in the mesh network is obtained; and taking the second equipment as relay equipment, and forwarding the data to the third equipment through a mesh network.
In this embodiment of the present invention, the processing module is further configured to forward the data to the second device when it is determined that the data is not data sent to the first device itself, where the data is forwarded to a third device through the second device when the second device determines that the data is not data sent to the second device itself and the data is data received by the second device for the first time, and the received data is processed when the third device determines that the data is data sent to the third device itself.
In an embodiment of the present invention, the apparatus further includes: and the uploading module is used for uploading the mesh information to a remote server under the condition that the security authentication is passed, wherein the remote server is used for receiving an inquiry request of a target mobile terminal and sending the mesh information to the target mobile terminal.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that the mesh network is accessed, performing security authentication on second equipment to be accessed to the mesh network through a DPP (dipeptidyl peptidase) protocol;
s2, under the condition that the security authentication is passed, configuring mesh information for the second equipment to enable the second equipment to access the mesh network, wherein the mesh information comprises at least one of the following: and the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and used for transmitting the data sent by the target object.
Optionally, in this embodiment, the storage medium may include but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that the mesh network is accessed, performing security authentication on second equipment to be accessed to the mesh network through a DPP (dipeptidyl peptidase) protocol;
s2, configuring mesh information for the second equipment under the condition that the security authentication is passed so as to enable the second equipment to access the mesh network, wherein the mesh information comprises at least one of the following information: and the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and are used for transmitting the data sent by the target object.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for implementing a mesh network of WiFi based on DPP protocol is applied to a first device, and the method comprises:
under the condition that the mesh network is accessed, performing security authentication on second equipment to be accessed to the mesh network through a DPP (dipeptidyl peptidase) protocol;
configuring mesh information to the second device through a reserved frame of the DPP protocol under the condition that security authentication is passed, so that the second device accesses the mesh network, wherein the mesh information comprises at least one of the following: the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and used for transmitting the data sent by the target object;
wherein, under the condition that the security authentication passes, configuring mesh information for the second device, so that after the second device accesses the mesh network, the method further comprises: when data to be transmitted to third equipment in the mesh network is acquired, the data is sent to the second equipment; taking the second equipment as relay equipment, and forwarding the data to the third equipment through a mesh network;
wherein, taking the second device as a relay device, forwarding the data to the third device through a mesh network, includes: and when determining that the data is not the data sent to the first device, forwarding the data to the second device, wherein when the second device determines that the data is not the data sent to the second device and the data is the data received by the second device for the first time, the data is forwarded to a third device through the second device, and when the third device determines that the data is the data sent to the third device, the received data is processed.
2. The method of claim 1, wherein the performing security authentication on the second device to be accessed to the mesh network through the DPP protocol comprises:
receiving an authentication request sent by the second device, wherein the authentication request is used for indicating security authentication of the second device, and the authentication request carries a DPP public key;
responding to the authentication request, and sending an authentication response to the second equipment;
and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication.
3. The method according to claim 1, wherein, in case of passing security authentication, after configuring mesh information for the second device to enable the second device to access the mesh network, the method further comprises:
and uploading the mesh information to a remote server, wherein the remote server is used for receiving a query request of a target mobile terminal and sending the mesh information to the target mobile terminal.
4. The method of claim 1, further comprising:
and in the case that the data is judged to be the data sent to the second device and is not received for the first time, discarding the data.
5. An apparatus for implementing a mesh network of WiFi based on DPP protocol, applied to a first device, includes:
the authentication module is used for performing security authentication on second equipment to be accessed to the mesh network through a DPP (DPP-data-in-package) protocol under the condition that the mesh network is accessed;
a configuration module, configured to configure, through a reservation frame of the DPP protocol, mesh information to the second device so that the second device accesses the mesh network, where the mesh information includes at least one of: the mesh communication channel, the mesh address and the mesh network key are accessed to the mesh network of the second equipment and are used for transmitting the data sent by the target object;
wherein the apparatus further comprises: a processing module; the processing module is further configured to send data to be transmitted to a third device in the mesh network to the second device when the data is acquired; taking the second equipment as relay equipment, and forwarding the data to the third equipment through a mesh network;
the processing module is further configured to forward the data to the second device when it is determined that the data is not the data sent to the first device itself, where the data is forwarded to a third device through the second device when the second device determines that the data is not the data sent to the second device itself and the data is the data received by the second device for the first time, and the received data is processed when the third device determines that the data is the data sent to the third device itself.
6. The apparatus according to claim 5, wherein the authentication module is further configured to receive an authentication request sent by the second device, where the authentication request is used to indicate that the first device is configured to perform secure authentication on the second device, and the authentication request carries a DPP public key; responding the authentication request, and sending an authentication response to the second equipment; and receiving authentication confirmation information sent by the second equipment under the trigger of the authentication response, wherein the authentication confirmation information is used for indicating the result of the security authentication.
7. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
8. An electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to execute the computer program to perform the method of any of claims 1 to 4.
CN201911419675.9A 2019-12-31 2019-12-31 Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium Active CN113132986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911419675.9A CN113132986B (en) 2019-12-31 2019-12-31 Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911419675.9A CN113132986B (en) 2019-12-31 2019-12-31 Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium

Publications (2)

Publication Number Publication Date
CN113132986A CN113132986A (en) 2021-07-16
CN113132986B true CN113132986B (en) 2023-02-03

Family

ID=76769464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911419675.9A Active CN113132986B (en) 2019-12-31 2019-12-31 Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium

Country Status (1)

Country Link
CN (1) CN113132986B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101513092A (en) * 2006-09-07 2009-08-19 摩托罗拉公司 Security authentication and key management within an infrastructure-based wireless multi-hop network
CN103974310A (en) * 2014-05-08 2014-08-06 江苏物联网研究发展中心 Method, device and system for establishing tree topology of wireless communication multi-hop network device
CN108769988A (en) * 2018-05-07 2018-11-06 国网浙江省电力有限公司温州供电公司 A kind of local mesh wireless networks of the certificate verification security mechanism based on 802.1x
CN109819427A (en) * 2019-03-06 2019-05-28 乐鑫信息科技(上海)股份有限公司 Method for the starting configuration of bluetooth Mesh network
CN110278568A (en) * 2019-06-11 2019-09-24 广州极飞科技有限公司 Method, network system based on network equipment building networking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571313B2 (en) * 2004-12-28 2009-08-04 Motorola, Inc. Authentication for Ad Hoc network setup

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101513092A (en) * 2006-09-07 2009-08-19 摩托罗拉公司 Security authentication and key management within an infrastructure-based wireless multi-hop network
CN103974310A (en) * 2014-05-08 2014-08-06 江苏物联网研究发展中心 Method, device and system for establishing tree topology of wireless communication multi-hop network device
CN108769988A (en) * 2018-05-07 2018-11-06 国网浙江省电力有限公司温州供电公司 A kind of local mesh wireless networks of the certificate verification security mechanism based on 802.1x
CN109819427A (en) * 2019-03-06 2019-05-28 乐鑫信息科技(上海)股份有限公司 Method for the starting configuration of bluetooth Mesh network
CN110278568A (en) * 2019-06-11 2019-09-24 广州极飞科技有限公司 Method, network system based on network equipment building networking

Also Published As

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

Similar Documents

Publication Publication Date Title
US11134543B2 (en) Interworking LPWAN end nodes in mobile operator network
KR101562155B1 (en) Service process control method and network device
CN110830925B (en) Session management method and device for user group
US10462260B2 (en) Context-aware and proximity-aware service layer connectivity management
CN111885115B (en) Device binding changing method and device
CN111865736B (en) Equipment control method and device
US9225602B2 (en) Dynamic grouping and configuration of access points
CN111885594B (en) Equipment binding method and device
CN109672708B (en) Communication method, device and system
CN108243192B (en) Method and system for identifying application access network
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN112637931A (en) Method and device for establishing network connection
CN112437153A (en) Equipment linkage processing method and device
KR20170007425A (en) Near field discovery method, user equipment, and storage medium
CN112637221B (en) Equipment control method and device
EP3857368A1 (en) Advanced resource link binding management
WO2022151420A1 (en) Method, apparatus, and system for transmitting data packet
CN113259918A (en) Equipment binding method and system
CN113132986B (en) Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium
CN107466018B (en) Data transmission method of terminal equipment and terminal equipment
CN113132157B (en) Equipment configuration method and device, storage medium and electronic device
CN114125883B (en) Network access method and device of intelligent equipment, electronic equipment and storage medium
CN109495918B (en) Data transmission method and device
CN108307683A (en) The means of communication, micro-base station, micro-base station controller, terminal and system
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant