Network access method and device, and storage medium
By using beacon frames in a mesh network to automatically identify and access target sub-network nodes, the high hardware cost problem caused by manual operation and WPS button presses in existing technologies is solved, and automated network access without manual operation is achieved.
Patent Information
- Application Number
- CN202280004118.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-16
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-05-16
AI Technical Summary
In existing Mesh networks, router onboarding requires manual operation and the addition of a WPS button, resulting in high hardware costs.
The main network node sends beacon frames carrying the identifier of the target sub-network node and receives network access requests from the target sub-network node, automatically completing the network access process and avoiding manual intervention and WPS button presses.
It simplifies the network access process, reduces hardware costs, and enables an automated network access process that requires no manual intervention.
Smart Images

Figure CN115606250B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The technical solution of the present disclosure relates to the field of communication technology, and particularly relates to a network access method and device, and a storage medium. BACKGROUND
[0002] Mesh network is a networking mode in which multiple routers are configured with the same SSID (Service Set Identifier) to expand the WiFi coverage range. Different from the traditional wireless relay, the Mesh network is a networking mode that can automatically network, automatically synchronize configuration, automatically complete topology update, and guide wireless terminal access.
[0003] Generally, when a user wants to access a new router in an existing Mesh network, the WPS method is used. At this time, the WPS button is needed on both the networked router and the target router to be networked, and then the WPS buttons of the networked router and the target router to be networked are pressed at the same time to complete the network access. However, when the above method is used to complete the network access operation, manual operation of two routers is needed, and the WPS button needs to be added to both the networked router and the target router to be networked, which has a high hardware cost. SUMMARY
[0004] Therefore, the present disclosure provides a network access method and device, and a storage medium.
[0005] According to a first aspect of the present disclosure, a network access method applied to a master network node of a Mesh network, and a network access method applied to a target sub-network node to be added to the Mesh network are provided.
[0006] The network access method applied to the master network node of the Mesh network includes:
[0007] sending a beacon frame, the beacon frame carrying a node identifier of a target sub-network node to be notified of network access;
[0008] receiving a network access request sent by the target sub-network node, the network access request being sent by the target sub-network node when it is determined that the node identifier carried in the beacon frame matches its own node identifier;
[0009] performing network access processing of the target sub-network node according to the network access request.
[0010] According to any one of the embodiments provided by the present disclosure, before the beacon frame is sent, the method further includes:
[0011] In response to receiving the indication of adding the sub-network node into the network, a plurality of first beacon frames respectively transmitted by the plurality of sub-network nodes are scanned to obtain node identifiers of the plurality of sub-network nodes carried in the first beacon frames;
[0012] The node identifiers respectively corresponding to the plurality of sub-network nodes are transmitted to a client;
[0013] The node identifier of the target sub-network node selected from the plurality of sub-network nodes is received from the client;
[0014] The node identifier of the target sub-network node is added to the beacon frame.
[0015] According to any one of the embodiments provided in the present disclosure, after receiving the node identifier of the target sub-network node sent by the client, the method further comprises:
[0016] The node identifier of the target sub-network node is added to an identification whitelist.
[0017] According to any one of the embodiments provided in the present disclosure, the network access request is received, and the network access processing of the target sub-network node is performed, including:
[0018] The node identifier of the target sub-network node carried in the network access request is parsed and obtained;
[0019] In response to the node identifier of the target sub-network node matching the node identifiers included in an identification whitelist, the target sub-network node is allowed to access the Mesh network, and the identification whitelist stores the node identifiers allowed to access the Mesh network.
[0020] According to any one of the embodiments provided in the present disclosure, the node identifier is mac address information.
[0021] The network access method applied to the target sub-network node to be added to the Mesh network comprises:
[0022] The beacon frame sent by the master network node of the Mesh network is received;
[0023] The beacon frame is parsed to obtain the node identifier carried in the beacon frame;
[0024] In a case where the node identifier carried in the beacon frame matches the node identifier of the target sub-network node, a network access request is sent to the master network node.
[0025] According to any one of the embodiments provided in the present disclosure, before receiving the beacon frame sent by the master network node of the Mesh network, the method further comprises:
[0026] sending a first beacon frame, the first beacon frame carrying a node identifier of the target sub-network node.
[0027] According to a second aspect of the present disclosure, a network access apparatus applied to a master network node of a Mesh network and a network access apparatus applied to a target sub-network node to be added to the Mesh network are provided.
[0028] The network access apparatus applied to the master network node of the Mesh network comprises:
[0029] a beacon frame sending module configured to send a beacon frame, the beacon frame carrying a node identifier of a target sub-network node to be notified to join the network;
[0030] a request receiving module configured to receive a network access request sent by the target sub-network node, the network access request being sent by the target sub-network node in a case where the target sub-network node determines that the node identifier carried in the beacon frame matches a node identifier of the target sub-network node;
[0031] a network access processing module configured to perform network access processing of the target sub-network node according to the network access request.
[0032] The network access apparatus applied to the target sub-network node to be added to the Mesh network comprises:
[0033] a beacon frame receiving module configured to receive a beacon frame sent by a master network node of the Mesh network;
[0034] a beacon frame analyzing module configured to analyze the beacon frame to obtain a node identifier carried in the beacon frame;
[0035] a request sending module configured to send a network access request to the master network node in a case where the target sub-network node determines that the node identifier carried in the beacon frame matches a node identifier of the target sub-network node.
[0036] According to a third aspect of the present disclosure, a computer readable storage medium is provided, the machine readable storage medium storing machine readable instructions, the machine readable instructions, when invoked and executed by a processor, causing the processor to implement the network access method of any embodiment of the present disclosure.
[0037] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising
[0038] a processor;
[0039] a memory for storing processor executable instructions;
[0040] The processor is configured to execute the network access method of any embodiment of the present disclosure.
[0041] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0042] The network access method, apparatus, and storage medium provided in this disclosure transmit a beacon frame carrying the node identifier of a target sub-network node to be notified to join the network, and receive a network access request sent by the target sub-network node. The network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier. Then, based on the network access request, the target sub-network node performs network access processing. This eliminates the need for manual intervention, simplifying the network access process. Furthermore, it eliminates the need to add WPS buttons to the main network node and the target sub-network node, reducing hardware costs.
[0043] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0044] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0045] Figure 1 This is a flowchart illustrating a network access method according to an exemplary embodiment of the present disclosure;
[0046] Figure 2 This is a flowchart illustrating another network access method according to an exemplary embodiment of the present disclosure;
[0047] Figure 3 This is a flowchart illustrating another network access method according to an exemplary embodiment of the present disclosure;
[0048] Figure 4 This is a schematic diagram of the structure of a network access device according to an exemplary embodiment of the present disclosure;
[0049] Figure 5 This is a schematic diagram of the structure of another network access device according to an exemplary embodiment of the present disclosure;
[0050] Figure 6 This is a schematic diagram of the structure of another network access device according to an exemplary embodiment of the present disclosure;
[0051] Figure 7 This is a schematic diagram of the structure of another network access device according to an exemplary embodiment of the present disclosure;
[0052] Figure 8This is a schematic diagram of the structure of another network access device according to an exemplary embodiment of the present disclosure;
[0053] Figure 9 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0054] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0055] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0056] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0057] The network access method of this disclosure embodiment will now be described in detail with reference to the accompanying drawings.
[0058] Figure 1 This disclosure is a flowchart illustrating a network access method according to an exemplary embodiment, the method being applied to a master network node in a mesh network. In this embodiment, the master network node refers to a node that has joined the mesh network and is used to announce mesh network information by sending beacon frames. Figure 1 As shown, the exemplary embodiment method may include the following steps:
[0059] In step 100, a beacon frame is sent, which carries the node identifier of the target sub-network node to be notified to join the network.
[0060] A beacon frame is a management frame that is periodically sent in a wireless local area network (WLAN). It is typically used to announce the existence of the WLAN and contains information about the network. In this example, the beacon frame is periodically sent by the master network node of the mesh network. The target sub-network node to be notified to join the network is a network node that has not yet joined the mesh network, such as a router that has not yet joined the mesh network.
[0061] In this embodiment, the beacon frame sent by the master network node can carry the node identifier of the target sub-network node to be notified to join the network. That is, if a target sub-network node is to be notified to join the Mesh network, the node identifier of that node can be carried in the beacon frame sent by the master network node.
[0062] In step 102, a network access request sent by the target sub-network node is received. The network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier.
[0063] As described in step 100, the target sub-network node also periodically sends a first beacon frame, which may carry the target sub-network node's own node identifier. In an optional example, the node identifier may be MAC (Media Access Control) address information. Alternatively, the node identifier may be SN (Serial Number) information.
[0064] When the target sub-network node receives a beacon frame sent by the master network node, it can match the node identifier carried in the beacon frame with its own node identifier. When the target sub-network node determines that the node identifier carried in the beacon frame sent by the master network node matches its own node identifier, it can send a network access request to the master network node. In this step, the master network node receives the aforementioned network access request sent by the target sub-network node.
[0065] In step 104, the network access request is used to perform the network access process for the target sub-network node.
[0066] The network access request carries the node identifier of the target sub-network node.
[0067] The network access processing in this step refers to the process by which the master network node determines whether to allow the target sub-network node to join the Mesh network based on the received network access request.
[0068] In an optional example, the master network node can store an identifier whitelist, where the node identifiers in the whitelist are the node identifiers of each sub-network node allowed to join the Mesh network. When the master network node receives the network access request, it can first parse and obtain the node identifier of the target sub-network node carried in the network access request. Then, it can match the node identifier of the target sub-network node with the node identifiers in the identifier whitelist. If a match is found (e.g., the node identifier of the target sub-network node is found to be in the identifier whitelist), the target sub-network node is allowed to access the Mesh network. The master network node then synchronizes its own network configuration to the target sub-network node, thus successfully joining the Mesh network.
[0069] Otherwise, if the node identifier of the target sub-network node is not in the identifier whitelist, the master network node may reject the network access request of the target sub-network node.
[0070] The network access method provided in this embodiment sends a beacon frame carrying the node identifier of a target sub-network node to be notified for network access, and receives a network access request sent by the target sub-network node. This network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier. Then, based on the network access request, the target sub-network node performs network access processing. The entire network access process requires no manual intervention, simplifying the network access operation. Furthermore, it eliminates the need to add WPS buttons to the main network node and the target sub-network node, reducing hardware costs.
[0071] Figure 2 This is a flowchart illustrating another network access method according to an exemplary embodiment of the present disclosure, the method being applied to a target sub-network node to be joined to a Mesh network. Figure 2 As shown, the exemplary embodiment method may include the following steps:
[0072] In step 200, a beacon frame sent by the master network node of the Mesh network is received.
[0073] In this step, the target sub-network node can receive beacon frames sent by the main network node of the Mesh network, as described above. Figure 1 In the embodiment shown, the beacon frame sent by the master network node may carry the node identifier of the sub-network node to be notified to join the network.
[0074] This can involve multiple sub-network nodes, such as sub-network node N1, sub-network node N2, and sub-network node N3. These sub-network nodes N1 to N3 can all receive the beacon frames sent by the main network node. Assuming the network node to be notified to join the network is "sub-network node N2," then the beacon frames sent by the main network node only need to carry the node identifier of sub-network node N2. Furthermore, in this embodiment, the sub-network node N2 to be notified to join the network is referred to as the "target sub-network node."
[0075] In step 202, the beacon frame is parsed to obtain the node identifier carried in the beacon frame.
[0076] Similarly, each sub-network node can parse the beacon frame it receives and obtain the node identifier carried in the beacon frame. For example, in the example above, sub-network node N1 can also parse the beacon frame sent by the main network node and obtain the node identifier "the node identifier of sub-network node N2" carried in the beacon frame.
[0077] In step 204, if it is determined that the node identifier carried in the beacon frame matches its own node identifier, a network access request is sent to the main network node.
[0078] In an optional example, the primary network node can be a gateway, and the secondary network node can be a router. In this step, when a secondary network node determines that the node identifier carried in the beacon frame matches its own node identifier, it can send a network access request to the primary network node.
[0079] For example, in the above example, sub-network node N2 compares the node identifier in the beacon frame with its own node identifier. If the two node identifiers are the same, it can confirm that it is the target sub-network node that the main network node wants to notify to join the network. Sub-network node N2 can then send a network access request to the main network node to request joining the Mesh network.
[0080] When sub-network node N1 compares the node identifier in the beacon frame with its own node identifier, and finds that the two node identifiers are different, it can confirm that the main network node has not notified it to join the network, and sub-network node N1 will not send a network access request to the main network node.
[0081] The network access method provided in this disclosure involves a target sub-network node receiving a beacon frame sent by the main network node of the Mesh network, parsing the beacon frame, and obtaining the node identifier carried in the beacon frame. Further, if it is determined that the node identifier carried in the beacon frame matches its own node identifier, it sends a network access request to the main network node. The entire network access process requires no manual intervention, simplifying the network entry procedure. Furthermore, it eliminates the need to add WPS buttons to the main network node and the target sub-network node, reducing hardware costs.
[0082] Figure 3 This is a flowchart illustrating another network access method according to an exemplary embodiment of the present disclosure. The method describes the interactive network access process performed by a main network node and a target sub-network node. Steps identical to those in the foregoing embodiments will be briefly described in this embodiment; however, for specific details, please refer to any of the foregoing embodiments. Figure 3 As shown, the method in this embodiment may include the following processes:
[0083] In step 300, the main network node receives an instruction from the client for the sub-network node to join the network.
[0084] In this embodiment, the client can be a router management app or a router management web page. Users can operate on this client to view and select which routers they want to add to the Mesh network.
[0085] In this step, it is assumed that the client-side interface has an option to trigger "Sub-network Node Joining the Network." The user can click this option to trigger the client to send an instruction to the main network node to allow a sub-network node to join the network. This instruction notifies the main network node that the user wants to add a sub-network node to the Mesh network.
[0086] In step 302, the master network node scans and obtains first beacon frames sent by multiple sub-network nodes respectively, and the first beacon frames carry the node identifiers of the sub-network nodes.
[0087] Each sub-network node can add its own MAC address information or SN (Serial Number) information as identification information to its periodically sent first beacon frame before the main network node receives the instruction to add a sub-network node to the network. The node identifier is used to uniquely identify the sub-network node.
[0088] In an optional example, the target sub-network node to be joined to the Mesh network may send the first beacon frame before receiving the beacon frame sent by the master network node of the Mesh network. The first beacon frame carries the node identifier of the target sub-network node.
[0089] In addition to carrying the node identifier of the sub-network node, the first beacon frame may also carry the status information of the sub-network node. This status information is used to characterize whether the sub-network node supports Mesh technology and whether it has joined a Mesh network.
[0090] The master network node can obtain the status information and node identifier of each sub-network node by scanning the first beacon frames sent by multiple sub-network nodes. Furthermore, based on the status information of each sub-network node, it can filter out sub-network nodes that support Mesh technology but have not yet joined the Mesh network.
[0091] For example, the master network node can scan and obtain the first beacon frames sent by four sub-network nodes, namely "Supports Mesh technology, not joined Mesh network, N1", "Does not support Mesh technology, not joined Mesh network, N2", "Supports Mesh technology, joined Mesh network, N3", and "Supports Mesh technology, not joined Mesh network, N4". The first and second bits of the first beacon frame represent the status information of the sub-network node, and the third bit represents the node identifier of the sub-network node. Furthermore, the master network node can, based on the status information of the four sub-network nodes, filter out the sub-network nodes that sent beacon frames with the values "Supports Mesh technology, not joined Mesh network, N1" and "Supports Mesh technology, not joined Mesh network, N4", and then send the node identifiers N1 and N4 of these filtered sub-network nodes to the client in subsequent steps.
[0092] It should be noted that the descriptions of the number of first beacon frames sent by the sub-network nodes and the specific information in the first beacon frames in the above examples are merely illustrative and are intended to enable those skilled in the art to better understand the network access method of this step. In actual applications, it is not limited to this.
[0093] In step 304, the master network node sends the node identifiers corresponding to the multiple sub-network nodes to the client.
[0094] For example, the master network node can send the node identifiers corresponding to multiple sub-network nodes to the client. The client can then display these sub-network nodes as a list for the user to view and select which sub-network nodes to add to the Mesh network.
[0095] In step 306, the main network node receives the node identifier of the target sub-network node sent by the client, and the target sub-network node is selected from the plurality of sub-network nodes.
[0096] For example, after viewing the list of sub-network nodes above, a user can select at least one sub-network node as the target sub-network node to be notified to join the network.
[0097] In step 308, the master network node adds the node identifier of the target sub-network node to the beacon frame and adds the node identifier of the target sub-network node to the identifier whitelist.
[0098] Continuing with the example above, after the primary network node sends the node identifiers N1 and N4 of the sub-network nodes to the client, it can receive the node identifier N4 sent by the client. The sub-network node with node identifier N4 is the target sub-network node. Then, the primary network node can add the node identifier N4 of the target sub-network node to the beacon frame. Therefore, when the primary network node sends a beacon frame next time, the beacon frame will carry the node identifier N4 of the target sub-network node.
[0099] In addition, the master network node can add the node identifier of the target sub-network node to the identifier whitelist.
[0100] In step 310, the master network node sends a beacon frame, which carries the node identifier of the target sub-network node to be notified to join the network.
[0101] In step 312, after receiving the beacon frame from the main network node, the target sub-network node obtains the node identifier carried in the frame and compares the node identifier with its own node identifier.
[0102] In step 314, if the target sub-network node determines that the node identifier carried in the beacon frame matches its own node identifier, it sends a network access request to the main network node.
[0103] The network access request includes the node identifier of the target sub-network node.
[0104] In step 316, when the master network node receives a network access request, it compares the node identifier carried in the request with the node identifier in the identifier whitelist. If the node identifier in the request is in the identifier whitelist, it is allowed to join the Mesh network.
[0105] In step 318, the master network node sends network configuration information to the target sub-network node.
[0106] The target sub-network node joins the Mesh network based on this configuration information.
[0107] The network access method in this embodiment matches the node identifier of the target sub-network node with the node identifiers in the identifier whitelist. Only when a match is found is the target sub-network node allowed to access the Mesh network. This further filters out unexpected sub-network nodes from accessing the Mesh network using the identifier whitelist. This avoids the problem of other sub-network nodes supporting WPS button functionality accessing the Mesh network before the target sub-network node accesses it, thus preventing password leakage security risks.
[0108] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should know that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps may be performed in other orders or simultaneously.
[0109] Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by this disclosure.
[0110] Corresponding to the aforementioned application function implementation method embodiments, this disclosure also provides embodiments of application function implementation apparatus and corresponding terminals.
[0111] Figure 4 This is a schematic diagram of a network access device in an exemplary embodiment of the present disclosure. The device is applied to the main network node of a Mesh network, such as... Figure 4 As shown, the network access device may include:
[0112] The beacon frame sending module 41 is configured to send beacon frames, which carry: the node identifier of the target sub-network node to be notified to join the network;
[0113] The request receiving module 42 is configured to receive a network access request sent by the target sub-network node, wherein the network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier.
[0114] The network access processing module 43 is configured to perform network access processing on the target sub-network node according to the network access request.
[0115] Optional, such as Figure 5 As shown, the network access device may further include:
[0116] The first beacon frame acquisition module 51 is configured to, in response to receiving an instruction to add a sub-network node to the network, scan and acquire first beacon frames sent by multiple sub-network nodes respectively, wherein the first beacon frame carries: the node identifier of the sub-network node;
[0117] The node identifier sending module 52 is configured to send the node identifiers corresponding to the plurality of sub-network nodes to the client.
[0118] The node identifier receiving module 53 is configured to receive the node identifier of the target sub-network node sent by the client, wherein the target sub-network node is selected from the plurality of sub-network nodes;
[0119] The first node identifier adding module 54 is configured to add the node identifier of the target sub-network node to the beacon frame.
[0120] Optional, such as Figure 6 As shown, the network access device may further include:
[0121] The second node identifier adding module 61 is configured to add the node identifier of the target sub-network node to the identifier whitelist.
[0122] Optionally, the network access processing module 43 is further configured to parse and obtain the node identifier of the target sub-network node carried in the network access request; and in response to the node identifier of the target sub-network node matching with the node identifiers included in the identifier whitelist, allow the target sub-network node to access the Mesh network, wherein the identifier whitelist stores the identifiers of each node allowed to access the Mesh network.
[0123] Optionally, the node identifier is MAC address information.
[0124] Figure 7 This is a schematic diagram of another network access device in an exemplary embodiment of this disclosure. The device is applied to a target sub-network node to be joined to the Mesh network, such as... Figure 7 As shown, the network access device may include:
[0125] The beacon frame receiving module 71 is configured to receive beacon frames sent by the master network node of the Mesh network;
[0126] The beacon frame parsing module 72 is configured to parse the beacon frame and obtain the node identifier carried in the beacon frame;
[0127] The request sending module 73 is configured to send a network access request to the main network node if it determines that the node identifier carried in the beacon frame matches its own node identifier.
[0128] Optional, such as Figure 8 The network access device may further include:
[0129] The first beacon frame sending module 81 is configured to send a first beacon frame, which carries the node identifier of the target sub-network node.
[0130] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0131] Accordingly, this disclosure provides an electronic device. It includes: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute a network access method according to any embodiment of this disclosure.
[0132] Figure 9 This is a schematic diagram illustrating the structure of an electronic device 900 according to an exemplary embodiment. For example, the electronic device 900 may be a user device, specifically a gateway, router, mobile phone, computer, tablet device, etc.
[0133] Reference Figure 9 The electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0134] Processing component 902 typically controls the overall operation of electronic device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0135] Memory 904 is configured to store various types of data to support the operation of device 900. Examples of this data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0136] Power supply component 906 provides power to various components of electronic device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900.
[0137] Multimedia component 908 includes a screen that provides an output interface between the aforementioned electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0138] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0139] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0140] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of electronic device 900. For example, sensor assembly 914 can detect the on / off state of electronic device 900, the relative positioning of components such as the display and keypad of electronic device 900, changes in position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration / deceleration of electronic device 900, and temperature changes of electronic device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0141] Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. Electronic device 900 can access wireless networks based on communication standards, such as WiFi, 4G or 5G, 4G LTE, 5G NR, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the aforementioned communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0142] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0143] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 904 including instructions, which, when executed by a processor 920 of an electronic device 900, enables the electronic device 900 to perform the network access method of any embodiment of this disclosure.
[0144] The non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0145] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0146] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A network access method, the method being applied to the main network node of a Mesh network, the method comprising: Send a beacon frame, the beacon frame carrying: the node identifier of the target sub-network node to be notified to join the network; Receive a network access request sent by the target sub-network node, wherein the network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier; Based on the network access request, perform the network access processing for the target sub-network node; Before sending the beacon frame, the method further includes: In response to receiving an instruction to add a sub-network node to the network, the system scans and acquires first beacon frames sent by multiple sub-network nodes respectively. The first beacon frame carries: the node identifier and status information of the sub-network node; the status information is used to characterize whether the sub-network node supports Mesh technology and whether the sub-network node has joined the Mesh network. Based on the status information of each sub-network node, filter out sub-network nodes that support Mesh technology but have not yet joined the Mesh network, and send the node identifiers corresponding to the filtered sub-network nodes to the client. The system receives the node identifier of the target sub-network node sent by the client, and selects and determines the target sub-network node from the filtered sub-network nodes. Add the node identifier of the target sub-network node to the beacon frame.
2. The method according to claim 1, wherein, After receiving the node identifier of the target sub-network node sent by the client, the method further includes: Add the node identifier of the target sub-network node to the identifier whitelist.
3. The method according to claim 1, wherein, The step of performing network access processing on the target sub-network node according to the network access request includes: Parse and obtain the node identifier of the target sub-network node carried in the network access request; In response to a match between the node identifier of the target sub-network node and the node identifiers included in the identifier whitelist, the target sub-network node is allowed to access the Mesh network. The identifier whitelist stores the identifiers of each node that is allowed to access the Mesh network.
4. The method according to any one of claims 1 to 3, wherein, The node is identified by its MAC address information.
5. A network access method, the method being applied to a target sub-network node to be joined to a Mesh network, the method comprising: Receive beacon frames sent by the master network node of the Mesh network; Parse the beacon frame to obtain the node identifier carried in the beacon frame; If the node identifier carried in the beacon frame matches its own node identifier, a network access request is sent to the main network node. Before receiving the beacon frame sent by the master network node of the Mesh network, the method further includes: A first beacon frame is sent, carrying the node identifier and status information of the target sub-network node, so that the main network node can filter sub-network nodes that support Mesh technology and have not yet joined the Mesh network based on the status information of the sub-network nodes in the first beacon frame; and filter sub-network nodes that support Mesh technology and have not yet joined the Mesh network based on the status information of each sub-network node, and send the node identifiers corresponding to the multiple filtered sub-network nodes to the client. The status information is used to characterize whether the sub-network node supports Mesh technology and whether the sub-network node has joined the Mesh network.
6. A network access device, the device being applied to the main network node of a Mesh network, the device comprising: The beacon frame sending module is configured to send beacon frames, which carry: the node identifier of the target sub-network node to be notified to join the network; The request receiving module is configured to receive a network access request sent by the target sub-network node, wherein the network access request is sent by the target sub-network node after determining that the node identifier carried in the beacon frame matches its own node identifier; The network access processing module is configured to perform network access processing on the target sub-network node according to the network access request; The first beacon frame acquisition module is configured to, in response to receiving an instruction to add a sub-network node to the network, scan and acquire first beacon frames sent by multiple sub-network nodes respectively. The first beacon frame carries: the node identifier and status information of the sub-network node. The status information is used to characterize whether the sub-network node supports Mesh technology and whether the sub-network node has joined the Mesh network; The node identifier sending module is configured to filter sub-network nodes that support Mesh technology but have not yet joined the Mesh network based on the status information of each sub-network node, and send the node identifiers corresponding to the filtered sub-network nodes to the client. The node identifier receiving module is configured to receive the node identifier of the target sub-network node sent by the client, wherein the target sub-network node is selected from the multiple filtered sub-network nodes; The first node identifier adding module is configured to add the node identifier of the target sub-network node to the beacon frame.
7. The apparatus according to claim 6, wherein, The device further includes: The second node identifier adding module is used to add the node identifier of the target sub-network node to the identifier whitelist.
8. The apparatus according to claim 6, wherein, The network access processing module is also configured to parse and obtain the node identifier of the target sub-network node carried in the network access request; In response to the node identifier of the target sub-network node matching the node identifier included in the identifier whitelist, the target sub-network node is allowed to access the Mesh network. The identifier whitelist stores the identifiers of each node that are allowed to access the Mesh network.
9. The apparatus according to any one of claims 6 to 8, wherein, The node is identified by its MAC address information.
10. A network access device, the device being applied to a target sub-network node to be joined to a Mesh network, the device comprising: The beacon frame receiving module is configured to receive beacon frames sent by the master network node of the Mesh network; The beacon frame parsing module is configured to parse the beacon frame and obtain the node identifier carried in the beacon frame; The request sending module is configured to send a network access request to the main network node when it is determined that the node identifier carried in the beacon frame matches its own node identifier. The first beacon frame sending module is used to send a first beacon frame, which carries the node identifier and status information of the target sub-network node. This allows the main network node to filter sub-network nodes that support Mesh technology but have not yet joined the Mesh network based on the status information of the sub-network nodes in the first beacon frame. The module also filters sub-network nodes that support Mesh technology but have not yet joined the Mesh network based on the status information of each sub-network node, and sends the node identifiers corresponding to the selected sub-network nodes to the client. The status information is used to characterize whether the sub-network node supports Mesh technology and whether the sub-network node has joined the Mesh network.
11. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method of any one of claims 1 to 4 or the method of claim 5.
12. An electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the network access method according to any one of claims 1 to 4, or the network access method according to claim 5.
Citation Information
Patent Citations
Network access method and device of equipment, equipment and storage medium
CN109963352A
Method for adding node to wireless MESH network
CN111479283A
Method and device for accessing network by node, electronic equipment and storage medium
CN113727416A