Method, device, system, electronic device and medium for network node access to network

Through communication between connected network nodes and non-connected network nodes, detection requests and response messages are used to carry device identifiers to automatically realize network access, which solves the problem of cumbersome operations in the existing technology and simplifies the intelligent device network nodes. The access process also reduces the difficulty of assembly.

CN117596712BActive Publication Date: 2024-10-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410080292.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2024-10-29
Estimated Expiration
2044-01-19

AI Technical Summary

Technical Problem

In the existing technology, the process of connecting smart device network nodes to the network requires the simultaneous operation of nodes that are connected to the network and nodes that are not connected to the network. Especially when the nodes are located far away, the operation is cumbersome and difficult, and the assembly process cannot be simplified.

Method used

Through communication between nodes that are connected to the network and nodes that are not connected to the network, the detection request and response messages are used to carry the device identification, and the target network node is automatically determined and accessed to the network, avoiding the need to operate two nodes at the same time.

Benefits of technology

It simplifies the process of connecting smart device network nodes to the network, reduces the difficulty of assembly, and allows nodes that are not connected to the network to be installed without first connecting to the network. It is suitable for situations where the nodes are located far away.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117596712B_ABST
    Figure CN117596712B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of network technology, and in particular to a method, device, system, electronic device and medium for a network node to access a network. The method includes: determining the device identifier of a target network node to be connected to the network; in response to receiving a first probe request message sent by a second network node that has not accessed the network, sending a first probe response message carrying the device identifier of the target network node to the second network node, so that the second network node can access the network when the device identifier carried in the first probe response message is consistent with its own device identifier. This makes it unnecessary for network nodes that have not accessed the network to first access the network and then be installed, reducing the difficulty of assembling and entering the network and simplifying the assembly operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network technology, and in particular to a method, device, system, electronic device and medium for a network node to access a network. Background Art

[0002] With the advancement of science and technology and the continuous development of computer technology, smart devices such as smartphones and smart TVs have been widely popularized and applied. Among them, the connection between smart devices and the network is a necessary condition for smart devices to realize various intelligent needs. Therefore, higher requirements are put forward for smart devices to access the network. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, system, electronic device and medium for a network node to access a network.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for a network node to access a network is provided, which is applied to a first network node that has accessed the network, and the method includes:

[0005] Determine a device identifier of a target network node to be connected to the network;

[0006] In response to receiving a first probe request message sent by a second network node that is not connected to the network, a first probe response message carrying the device identifier of the target network node is sent to the second network node, so that the second network node can access the network when the device identifier carried in the first probe response message is consistent with its own device identifier.

[0007] According to a second aspect of an embodiment of the present disclosure, a method for a network node to access a network is provided, which is applied to a second network node that has not accessed the network, and the method includes:

[0008] Sending a first probe request message;

[0009] receiving a first probe response message carrying a device identifier of a target network node to be connected to the network and sent by the first network node that has connected to the network based on the first probe request message;

[0010] If the device identifier carried in the first detection response message is consistent with its own device identifier, then access to the network.

[0011] According to a third aspect of an embodiment of the present disclosure, a device for a network node to access a network is provided, which is applied to a first network node that has accessed the network, and the device includes:

[0012] A first determining module is configured to determine a device identifier of a target network node to be connected to the network;

[0013] The first sending module is configured to send a first detection response message carrying the device identifier of the target network node to the second network node in response to receiving a first detection request message sent by the second network node that is not connected to the network, so that the second network node can access the network when the device identifier carried in the first detection response message is consistent with its own device identifier.

[0014] According to a fourth aspect of an embodiment of the present disclosure, a device for a network node to access a network is provided, which is applied to a second network node that has not accessed the network, and the device includes:

[0015] A third sending module is configured to send a first detection request message;

[0016] A second receiving module is configured to receive a first detection response message carrying a device identifier of a target network node to be connected to the network and sent by a first network node that has connected to the network based on the first detection request message;

[0017] The network access module is configured to access the network if the device identifier carried in the first detection response message is consistent with its own device identifier.

[0018] According to a fifth aspect of an embodiment of the present disclosure, a system for a network node to access a network is provided, including:

[0019] A first network node that has accessed a network, used to execute the method for a network node to access a network as described in any one of the first aspects of the embodiments of the present disclosure;

[0020] A second network node that is not connected to the network is used to execute the method for a network node to access the network as described in any one of the second aspects of the embodiments of the present disclosure.

[0021] According to a sixth aspect of an embodiment of the present disclosure, there is provided a first electronic device, including:

[0022] a first processor;

[0023] a first memory for storing processor executable instructions;

[0024] The first processor is configured to implement the steps of the method for a network node to access a network as described in any one of the first aspects of the embodiments of the present disclosure when executing the executable instructions.

[0025] According to a seventh aspect of an embodiment of the present disclosure, a second electronic device is provided, including:

[0026] A second processor;

[0027] a second memory for storing processor executable instructions;

[0028] The second processor is configured to implement the steps of the method for a network node to access a network as described in any one of the second aspects of the embodiments of the present disclosure when executing the executable instructions.

[0029] According to an eighth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for a network node to access a network provided by the first aspect of the embodiment of the present disclosure or the second aspect of the embodiment of the present disclosure are implemented.

[0030] By adopting the above technical solution, network nodes that are not connected to the network can be connected to the network through communication between the first network node and the second network node. There is no need to operate the first network node and the second network node at the same time. For the scenario where the first network node and the second network node are assembled at far distances and it is not convenient to operate them at the same time, the network nodes that are not connected to the network do not need to be connected to the network before installation, thereby reducing the difficulty of assembly and network access and simplifying the assembly operation.

[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0033] Figure 1 The invention is a block diagram of a system for a network node to access a network according to an exemplary embodiment.

[0034] Figure 2 The present invention is a flowchart of a method for a network node to access a network according to an exemplary embodiment.

[0035] Figure 3 The present invention is a flowchart of another method for a network node to access a network according to an exemplary embodiment.

[0036] Figure 4 The invention is an interaction diagram showing a method for a network node to access a network according to an exemplary embodiment.

[0037] Figure 5 The diagram is a schematic diagram showing a device identification of a candidate node displayed on a management interface according to an exemplary embodiment.

[0038] Figure 6 The present invention is a block diagram showing a device for a network node to access a network according to an exemplary embodiment.

[0039] Figure 7The invention is a block diagram showing another device for a network node to access a network according to an exemplary embodiment.

[0040] Figure 8 It is a block diagram of a first electronic device according to an exemplary embodiment.

[0041] Fig. 9 is a block diagram of a second electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0043] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0044] In some wireless local area networks, such as wireless mesh networks, multiple nodes are included (each node can be a gateway, a router, etc.), and each node is connected to each other. In the related art, there are usually two ways for network nodes to access the network. The first way is: the network node that has been connected to the network and the network node that has not been connected to the network perform the WPS button operation at the same time to achieve WPS connection. Among them, WPS is Wi-Fi protected setup. The second way is: the network node that has not been connected to the network is connected to the network node that has been connected to the network through a wired connection, and accesses the network through a wired method. Both of the above methods require the user to operate the network node that has not been connected to the network and the network node that has been connected to the network at the same time. However, when the network node that has not been connected to the network and the network node that has been connected to the network are far apart, the user needs to first place the network node that has not been connected to the network near the network node that has been connected to the network to complete the operation of accessing the network, and then move the network node that has not been connected to the network to the installation location for installation. In this way, the operation is more cumbersome.

[0045] In view of this, the present disclosure provides a method, device, system, electronic device and medium for a network node to access a network. A network node that has not accessed a network does not need to access the network before installation, thereby reducing the difficulty of assembly and simplifying the assembly operation.

[0046] Before describing in detail the method for a network node to access a network provided by the present disclosure, first, a system for a network node to access a network is described.

[0047] Figure 1 FIG. 1 is a block diagram of a system for a network node to access a network according to an exemplary embodiment. Figure 1 As shown, the system may include a first network node 10 that has accessed the network and a second network node 20 that has not accessed the network, and the first network node 10 and the second network node 20 are in communication connection. The first network node 10 is used to execute a method for network node access to the network applied to the first network node that has accessed the network. The second network node 20 is used to execute a method for network node access to the network applied to the second network node that has not accessed the network. The method for network node access to the network applied to the first network node that has accessed the network and the method for network node access to the network applied to the second network node that has not accessed the network will be described below.

[0048] Figure 2 is a flowchart of a method for a network node to access a network according to an exemplary embodiment. The method is applied to Figure 1 The first network node 10 shown has been connected to the network. Figure 2 As shown, the method may include the following steps.

[0049] In step S21, the device identification of the target network node to be accessed is determined.

[0050] In step S22, in response to receiving a first detection request message sent by a second network node that has not accessed the network, a first detection response message carrying a device identifier of a target network node is sent to the second network node, so that the second network node can access the network when the device identifier carried in the first detection response message is consistent with its own device identifier.

[0051] In the present disclosure, a network may be a local area network, which includes but is not limited to a Mesh network or a wireless network with multiple devices connected to a central point. Taking the Mesh network as an example, the Mesh network includes multiple network nodes that have been connected to the Mesh network. The first network node refers to any preset network node that has been connected to the Mesh network, and the second network node is a network node that has not been connected to the Mesh network. In addition, the first network node can determine whether the second network node can access the Mesh network, and after determining the node that can access the Mesh network, control the node to access the network, thereby providing network services.

[0052] For example, the first network node may be a gateway, router, or wireless access point AP (Access Point) that has been connected to the network. The second network node may also be a gateway, router, or wireless access point AP that has been connected to the network. In the case where the network node is a router, the device identifier of the target network node may be the LAN MAC of the router, that is, the physical address of the port on the end of the router connected to the computer.

[0053] It should be understood that there may be multiple second network nodes, and each of the second network nodes may communicate with the first network node through a separate communication channel.

[0054] In the present disclosure, a second network node that is not connected to the network can send a first probe request message periodically or in real time. Since each second network node cannot know the communication channel between the first network node used to control its access to the network and the second network node, and thus each second network node cannot send the first probe request message in a specific communication channel to ensure that the first network node can receive the first probe request message, therefore, in one embodiment, each second network node can send the first probe request message in all channels to ensure that the first network node can receive the first probe request message. For example, the first probe request message can be a probe request message probe request 1.

[0055] When receiving the first probe request message, the first network node sends a first probe response message carrying a device identifier of the target network node to the second network node. For example, the first network node may send the first probe response message to each second network node in a point-to-point manner in a unicast manner, so as to establish a communication connection between the first network node and the second network node while reducing interference to other nodes and saving network resources. The first probe response message may be a probe response message probe response 1.

[0056] When the second network node receives the first detection response message, it determines whether the target network node determined in step S21 is the second network node, that is, it determines whether the device identifier carried in the first detection response message is consistent with its own device identifier, and when it is determined that the device identifier carried in the first detection response message is consistent with its own device identifier, it determines itself as the target network node and accesses the network.

[0057] By adopting the above technical solution, network nodes that are not connected to the network can be connected to the network through communication between the first network node and the second network node. There is no need to operate the first network node and the second network node at the same time. For the scenario where the first network node and the second network node are assembled at far distances and it is not convenient to operate them at the same time, the network nodes that are not connected to the network do not need to be connected to the network before installation, thereby reducing the difficulty of assembly and network access and simplifying the assembly operation.

[0058] In one embodiment, determining the device identification of the target network node to be accessed may be: a user inputs the device identification of the network node to a first network node, and the first network node determines the device identification of the network node input by the user as the device identification of the target network node.

[0059] In another embodiment, the first network node scans the second network node that is not connected to the network to obtain a candidate node of the network to be connected, and then determines the device identification of the target network node to be connected. This can be: determining the device identification of the target network node based on the candidate node.

[0060] For example, in this embodiment, the method may further include:

[0061] Sending a second detection request message carrying a second configuration mechanism identifier;

[0062] receiving a second probe response message sent by a second network node that is not connected to the network in response to the second probe request message;

[0063] If the second detection response message carries the first configuration mechanism identifier and the device identifier of the second network node, the second network node is determined to be a candidate node for the network to be accessed.

[0064] Among them, the second probe request message is a message used by the first network node to scan the second network node that is not connected to the network. In order to improve the comprehensiveness of the scan and avoid missed scans, the first network node can send the second probe request message probe request 2 on the full channel. Among them, the second configuration mechanism identifier can be some fields in the custom vendor_ie. Vendor_ie is a data structure used to transmit vendor-specific information in a Wi-Fi network. For example, when the network is a mesh network, vendor_ie can also be recorded as vendor_ie_mesh. Table 1 shows the fields included in vendor_ie and the corresponding descriptions.

[0065] Table 1

[0066]

[0067] The second configuration mechanism identifier may include the first four fields of vendor_ie in Table 1, that is, the second configuration mechanism identifier includes: u_int8_t id field, u_int8_t len ​​field, u_int8_t oui[3] field and u_int8_toui_type field. In the second configuration mechanism identifier, the u_int8_t oui[3] field is the vendor oui identification code of the first network node.

[0068] In addition, in the present disclosure, the second probe request message may also carry the custom vendor_ie of the first network node shown in Table 1. And the device identifier in the custom vendor_ie of the first network node is the device identifier of the first network node.

[0069] When the second network node receives the second probe request message probe request 2, if it can identify the second configuration mechanism identifier from probe request 2, it will feedback the second probe response message probe response 2. When the first network node receives the second probe response message probe response 2, if it is determined that the second probe response message probe response 2 carries the first configuration mechanism identifier and the device identifier of the second network node, that is, carries the custom vendor_ie of the second network node, then the second network node is determined to be a candidate node for the network to be accessed.

[0070] Among them, the first four fields in the custom vendor_ie of the second network node are the first configuration mechanism identifier, the u_int8_t oui[3] field is the vendor oui identification code of the second network node, and the u_int8_t almac[6] field is the device identifier of the second network node.

[0071] It should be understood that if the first network node and the second network node are nodes of the same manufacturer, the contents of the first four fields in the custom vendor_ie of the first network node are respectively the same as the contents of the first four fields in the custom vendor_ie of the second network node.

[0072] In addition, if the second network node fails to successfully identify the second configuration mechanism identifier, the second probe response message probe response 2 fed back does not carry the custom vendor_ie of the second network node, and accordingly, the first network node determines that the second network node is not a candidate node for accessing the network. Wherein, unsuccessful identification may include that the second network node does not support the second configuration mechanism identifier of the first network node or that the second probe request message probe request 2 does not include the second configuration mechanism identifier.

[0073] After the candidate nodes are determined in the above manner, the device identifier of the target network node to be connected to the network is determined from the device identifiers of the candidate nodes.

[0074] For example, after determining a candidate node, the first network node can output the device identifier of the candidate node so that the user can select the device identifier of the network node to be accessed from the device identifiers of the candidate nodes; and determine the device identifier of the network node selected by the user as the device identifier of the target network node to be accessed.

[0075] In one implementation, the first network node may periodically and actively send a second detection request message carrying a second configuration mechanism identifier.

[0076] In another embodiment, the first network node may send a second detection request message carrying a second configuration mechanism identifier when receiving a node scanning request. Optionally, the first network node sends a second detection request message carrying a second configuration mechanism identifier in response to detecting a node scanning request input by a user through a preset management interface.

[0077] For example, when a certain network node needs to be connected to the network, the user can perform a node scanning operation on the management interface, for example, by clicking a "node scanning" button on the management interface. When the first network node detects that the user clicks the "node scanning" button on the management interface, it sends a second detection request message carrying a second configuration mechanism identifier on the full channel.

[0078] Accordingly, in this embodiment, the first network node may output the device identification of the candidate node to the management interface to display the device identification of the candidate node on the management interface, and then the user selects the device identification of the network node to be connected to the network from the displayed device identifications of the candidate nodes.

[0079] By adopting the above technical solution, the user can complete the operation of the second network node accessing the network through the management interface. In this way, the network access operation can be completed remotely, further reducing the difficulty of assembly and simplifying the assembly operation.

[0080] It should be understood that after determining the device identifier of the target network node in the above manner, the first network node can encapsulate the device identifier of the target network node into the u_int8_talmac[6] field of the custom vendor_ie of the first network node, and then, upon receiving the first detection request message sent by the second network node, send the first detection response message of the custom vendor_ie of the first network node encapsulating the device identifier of the target network node to the second network node. At the same time, the first network node can also trigger the WPS button to wait for WPS interaction with the target network node.

[0081] The specific implementation method of step S22 of sending a first probe response message carrying the device identifier of the target network node to the second network node in response to receiving a first probe request message sent by the second network node that is not connected to the network may be: in response to receiving a first probe request message sent by the second network node that is not connected to the network, determining whether the second network node meets the network access conditions based on the first probe request; if it is determined that the second network node meets the network access conditions, sending a first probe response message carrying the device identifier of the target network node to the second network node.

[0082] For example, in response to receiving a first detection request message sent by a second network node that is not connected to the network, it is determined whether the first detection request message carries a first configuration mechanism identifier; if it is determined that the first detection request message carries the first configuration mechanism identifier, it is determined that the second network node meets the network access conditions.

[0083] When the first network node receives the first detection request message sent by the second network node that is not connected to the network, it determines whether the first detection request message carries the first configuration mechanism identifier, or determines whether the first detection request message carries the custom vendor_ie of the second network node. If so, it determines that the second network node meets the network access conditions. At this time, the first detection response message carrying the device identifier of the target network node is sent to the second network node.

[0084] Figure 3 FIG. 1 is a flowchart of another method for a network node to access a network according to an exemplary embodiment, wherein the method is applied to a second network node that has not accessed the network. Figure 3 As shown, the method may include the following steps.

[0085] In step S31, a first probe request message is sent.

[0086] For example, the second network node that has not accessed the network may send the first probe request message on all channels periodically or in real time to ensure that the first network node can receive the first probe request message.

[0087] In one embodiment, the first probe request message carries a first configuration mechanism identifier, so that the first network node sends a first probe response message carrying a device identifier of a target network node to be accessed to the second network node based on the first configuration mechanism identifier.

[0088] That is to say, when the first network node receives the first probe request message, if it is determined that the first probe request message carries the first configuration mechanism identifier, it sends the first probe response message carrying the device identifier of the target network node to be connected to the network to be accessed to the second network node. If it is determined that the first probe request message does not carry the first configuration mechanism identifier, it is prohibited to send the first probe response message carrying the device identifier of the target network node to be connected to the network to the second network node.

[0089] In step S32, a first probe response message carrying a device identifier of a target network node to be connected to the network and sent by the first network node that has connected to the network based on the first probe request message is received.

[0090] When receiving the first detection request message, the first network node sends a first detection response message carrying a device identifier of the target network node to the second network node. For example, the first network node may send the first detection response message to each second network node in a point-to-point manner in a unicast manner, so as to establish a communication connection between the first network node and the second network node while reducing interference to other nodes and saving network resources.

[0091] In step S33, if the device identifier carried in the first detection response message is consistent with its own device identifier, the network is accessed.

[0092] For example, when the second network node determines that the device identifier of the target network node is consistent with its own device identifier, it indicates that the first network node is adding itself to the network, and the second network node accesses the network according to a preset standard network access process. For example, triggering a WPS button and performing a WPS interaction to achieve connection with the first network node. Among them, the specific implementation method of accessing the network according to the standard network access process is a relatively conventional technology, and this disclosure does not elaborate on it.

[0093] In addition, when it is determined that the device identification of the target network node is inconsistent with the device identification of the second network node, the second network node does not perform any operation.

[0094] By adopting the above technical solution, network nodes that are not connected to the network can be connected to the network through communication between the first network node and the second network node. There is no need to operate the first network node and the second network node at the same time. For the scenario where the first network node and the second network node are assembled at far distances and it is not convenient to operate them at the same time, the network nodes that are not connected to the network do not need to be connected to the network before installation, thereby reducing the difficulty of assembly and network access and simplifying the assembly operation.

[0095] In addition, in the present disclosure, the method may also include: when receiving a second detection request message carrying a second configuration mechanism identifier sent by the first network node, if the second configuration mechanism identifier is successfully identified, sending a second detection response message carrying the first configuration mechanism identifier and its own device identifier, so that the first network node determines the candidate node to be connected to the network based on the second detection response message.

[0096] In this way, it is convenient for the first network node to determine the candidate node of the network to be accessed, and further convenient for the user to determine the device identification of the target network node from the candidate node. The specific implementation method of the first network node determining the candidate node has been described above and will not be repeated here.

[0097] Figure 4 FIG. 1 is an interaction diagram showing a method for a network node to access a network according to an exemplary embodiment. Figure 4 As shown, the method may include the following steps.

[0098] In step S41, when the first network node detects a node scan request input by a user through a preset management interface, the first network node sends a second probe request message proberequest 2 carrying a custom vendor_ie of the first network node in all channels.

[0099] In step S42, the second network node receives the second probe request information probe request 2, and identifies the second configuration mechanism identifier.

[0100] In step S43, when the second network node successfully identifies the second configuration mechanism identifier, the second network node sends a second probe response message probe response 2 carrying the custom vendor_ie of the second network node to the first network node.

[0101] In addition, when the second network node fails to successfully identify the second configuration mechanism identifier, the second network node replies with a second probe response message probe response 2 that does not carry the custom vendor_ie of the second network node.

[0102] In step S44, the first network node identifies the custom vendor_ie of the second network node carried in the received second probe response message probe response 2. If the identification is successful and the u_int8_t almac[6] field is not empty, the second network node is determined to be a candidate node for the network to be accessed, and the candidate node is displayed on the management interface.

[0103] If the second network node feeds back a second probe response message probe response 2 that does not carry the custom vendor_ie of the second network node, it is determined that the second network node is not a candidate node.

[0104] For example, Figure 5 FIG. 1 is a schematic diagram showing a device identification of a candidate node displayed on a management interface according to an exemplary embodiment. Figure 5 As shown, assuming that the determined candidate nodes are Agent1, Agent_n1, ..., Agent_nx, the device identifiers of the candidate nodes displayed on the management interface are respectively: Agent1_almac, Agent_n1_almac, ..., Agent_nx_almac.

[0105] In step S45, the first network node determines the device identification of the candidate node selected by the user on the display interface as the device identification of the target network node, and encapsulates the device identification of the target network node into the custom vendor_ie of the first network node, triggering the WPS button operation.

[0106] In step S46, the second network node periodically sends a first probe request message probe request 1 carrying the custom vendor_ie of the second network node on all channels.

[0107] In step S47, the first network node receives a first probe request message probe request 1.

[0108] In step S48, if the custom vendor_ie of the second network node is identified, the first network node sends a first probe response message probe response1 carrying the custom vendor_ie of the first network node to the second network node, wherein the custom vendor_ie of the first network node encapsulates the device identification of the target network node.

[0109] In step S49, the second network node receives the first probe response message probe response 1, and if it is determined that the device identifier of the target network node is consistent with its own device identifier, it accesses the network according to a preset standard network access procedure.

[0110] The standard network access process may include triggering a WPS button operation, achieving a WPS connection, and performing synchronous configuration with the first network node.

[0111] In this way, through the communication between the first network node and the second network node, the network nodes that are not connected to the network can be connected to the network without operating the first network node and the second network node at the same time. For the scenario where the first network node and the second network node are assembled at far distances and it is not convenient to operate them at the same time, the network nodes that are not connected to the network do not need to be connected to the network before installation, thereby reducing the difficulty of assembly and simplifying the assembly operation.

[0112] Based on the same inventive concept, the present disclosure also provides a device for a network node to access a network, which is applied to a first network node that has accessed a network. Figure 6 1 is a block diagram of a device for a network node to access a network according to an exemplary embodiment, and is applied to a first network node that has accessed a network. Figure 6 As shown, the device for a network node to access a network may include:

[0113] A first determining module 601 is configured to determine a device identifier of a target network node to be connected to the network;

[0114] The first sending module 602 is configured to send a first detection response message carrying the device identifier of the target network node to the second network node in response to receiving a first detection request message sent by the second network node that is not connected to the network, so that the second network node can access the network when the device identifier carried in the first detection response message is consistent with its own device identifier.

[0115] Optionally, the first sending module 602 is configured to:

[0116] In response to receiving a first probe request message sent by a second network node that is not connected to the network, determining whether the second network node meets the network access condition according to the first probe request;

[0117] If it is determined that the second network node meets the network access condition, a first detection response message carrying the device identifier of the target network node is sent to the second network node.

[0118] Optionally, the first sending module 602 is configured to:

[0119] In response to receiving a first probe request message sent by a second network node that is not connected to the network, determining whether the first probe request message carries a first configuration mechanism identifier;

[0120] If it is determined that the first detection request message carries the first configuration mechanism identifier, it is determined that the second network node meets the network access conditions.

[0121] Optionally, the device for the network node to access the network may further include:

[0122] A second sending module is configured to send a second detection request message carrying a second configuration mechanism identifier;

[0123] A first receiving module is configured to receive a second probe response message sent by a second network node that is not connected to the network in response to the second probe request message;

[0124] A second determination module is configured to determine that the second network node is a candidate node to be accessed to the network if the second detection response message carries the first configuration mechanism identifier and the device identifier of the second network node;

[0125] The first determining module 601 is configured to determine the device identification of the target network node to be connected to the network from the device identifications of the candidate nodes.

[0126] Optionally, the first determination module 601 is configured to: output the device identifications of the candidate nodes, so that a user can select the device identification of a target network node to be connected to the network from the device identifications of the candidate nodes.

[0127] Optionally, the second sending module is configured to: in response to detecting a node scanning request input by a user through a preset management interface, send a second detection request message carrying a second configuration mechanism identifier;

[0128] Accordingly, the first determination module 601 is configured to: output the device identification of the candidate node to the management interface, so as to display the device identification of the candidate node on the management interface, so that the user can select the device identification of the target network node to be connected to the network from the displayed device identifications of the candidate nodes.

[0129] Based on the same inventive concept, the present disclosure also provides an apparatus for a network node that is applied to a second network node that has not accessed the network to access the network. Figure 7 FIG. 1 is a block diagram of another device for a network node to access a network according to an exemplary embodiment, and is applied to a second network node that has not accessed the network. Figure 7 As shown, the device for a network node to access a network may include:

[0130] The third sending module 701 is configured to send a first detection request message;

[0131] The second receiving module 702 is configured to receive a first detection response message carrying a device identifier of a target network node to be connected to the network and sent by the first network node that has connected to the network based on the first detection request message;

[0132] The network access module 703 is configured to access the network if the device identifier carried in the first detection response message is consistent with its own device identifier.

[0133] Optionally, the first detection request message carries a first configuration mechanism identifier, so that the first network node sends a first detection response message carrying a device identifier of a target network node to be connected to the network to the second network node based on the first configuration mechanism identifier.

[0134] Optionally, the device for the network node to access the network may further include:

[0135] The fourth sending module is configured to, upon receiving a second detection request message carrying a second configuration mechanism identifier sent by the first network node, send a second detection response message carrying the first configuration mechanism identifier and its own device identifier if the second configuration mechanism identifier is successfully identified, so that the first network node determines a candidate node to be connected to the network based on the second detection response message.

[0136] Regarding the device for network node accessing the network in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0137] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon. When the program instructions are executed by a processor, the steps of the network node access method provided by the present disclosure and applied to a first network node that has accessed the network are implemented.

[0138] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the steps of the network node access method provided by the present disclosure and applied to a second network node that has not accessed the network.

[0139] Figure 8 800 is a block diagram of a first electronic device according to an exemplary embodiment. For example, the first electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0140] Reference Figure 8 , the first electronic device 800 may include one or more of the following components: a first processing component 802 , a first memory 804 , a first power component 806 , a first multimedia component 808 , a first audio component 810 , a first input / output interface 812 , a first sensor component 814 , and a first communication component 816 .

[0141] The first processing component 802 generally controls the overall operation of the first electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to complete all or part of the steps of the method for accessing a network by a network node that has been connected to a network. In addition, the first processing component 802 may include one or more modules to facilitate interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate interaction between the first multimedia component 808 and the first processing component 802.

[0142] The first memory 804 is configured to store various types of data to support the operation of the first electronic device 800. Examples of such data include instructions for any application or method operating on the first electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The first memory 804 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 memory, flash memory, magnetic disk or optical disk.

[0143] The first power supply component 806 provides power to various components of the first electronic device 800. The first power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the first electronic device 800.

[0144] The first multimedia component 808 includes a screen that provides an output interface between the first electronic device 800 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the first multimedia component 808 includes a front camera and / or a rear camera. When the first electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0145] The first audio component 810 is configured to output and / or input audio signals. For example, the first audio component 810 includes a microphone (MIC), and when the first electronic device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 804 or sent via the first communication component 816. In some embodiments, the first audio component 810 also includes a speaker for outputting audio signals.

[0146] The first input / output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0147] The first sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the first electronic device 800. For example, the first sensor assembly 814 can detect the open / closed state of the first electronic device 800, the relative positioning of components, such as the display and keypad of the first electronic device 800, and the first sensor assembly 814 can also detect the position change of the first electronic device 800 or a component of the first electronic device 800, the presence or absence of user contact with the first electronic device 800, the orientation or acceleration / deceleration of the first electronic device 800, and the temperature change of the first electronic device 800. The first sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The first sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the first sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0148] The first communication component 816 is configured to facilitate wired or wireless communication between the first electronic device 800 and other devices. The first electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the first communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the first communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0149] In an exemplary embodiment, the first electronic device 800 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 execute the above-mentioned method of network node accessing a network applied to a first network node that has accessed the network.

[0150] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 804 including instructions, and the above instructions can be executed by a first processor 820 of a first electronic device 800 to complete the above-mentioned method of network node accessing a network applied to a first network node that has accessed a network. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0151] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned network node access method applied to a first network node that has accessed the network when executed by the programmable device.

[0152] Fig. 9 1 is a block diagram of a second electronic device according to an exemplary embodiment. For example, the second electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0153] Reference Fig. 9 The second electronic device 900 may include one or more of the following components: a second processing component 902, a second memory 904, a second power component 906, a second multimedia component 908, a second audio component 910, a second input / output interface 912, a second sensor component 914, and a second communication component 916.

[0154] The second processing component 902 generally controls the overall operation of the second electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The second processing component 902 may include one or more second processors 920 to execute instructions to complete all or part of the steps of the method for accessing a network node to a second network node that is not connected to the network as described above. In addition, the second processing component 902 may include one or more modules to facilitate interaction between the second processing component 902 and other components. For example, the second processing component 902 may include a multimedia module to facilitate interaction between the second multimedia component 908 and the second processing component 902.

[0155] The second memory 904 is configured to store various types of data to support operations on the second electronic device 900. Examples of such data include instructions for any application or method operating on the second electronic device 900, contact data, phone book data, messages, pictures, videos, etc. The second 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 memory, flash memory, magnetic disk or optical disk.

[0156] The second power supply component 906 provides power to various components of the second electronic device 900. The second 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 the second electronic device 900.

[0157] The second multimedia component 908 includes a screen that provides an output interface between the second 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the second multimedia component 908 includes a front camera and / or a rear camera. When the second electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0158] The second audio component 910 is configured to output and / or input audio signals. For example, the second audio component 910 includes a microphone (MIC), and when the second electronic device 900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in the second memory 904 or sent via the second communication component 916. In some embodiments, the second audio component 910 also includes a speaker for outputting an audio signal.

[0159] The second input / output interface 912 provides an interface between the second processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0160] The second sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the second electronic device 900. For example, the second sensor assembly 914 can detect the opening / closing state of the second electronic device 900, the relative positioning of components, such as the display and keypad of the second electronic device 900, and the second sensor assembly 914 can also detect the position change of the second electronic device 900 or a component of the second electronic device 900, the presence or absence of contact between the user and the second electronic device 900, the orientation or acceleration / deceleration of the second electronic device 900, and the temperature change of the second electronic device 900. The second sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The second sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the second sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0161] The second communication component 916 is configured to facilitate wired or wireless communication between the second electronic device 900 and other devices. The second electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the second communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the second communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0162] In an exemplary embodiment, the second 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 execute the above-mentioned method of network node access to a network applied to a second network node that is not connected to the network.

[0163] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a second memory 904 including instructions, and the above instructions can be executed by a second processor 920 of the second electronic device 900 to complete the above-mentioned method of network node accessing a network applied to a second network node that is not connected to the network. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0164] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned method of network node accessing a network applied to a second network node that has not accessed the network when executed by the programmable device.

[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for a network node to access a network, characterized in that: Applied to a first network node that has accessed a network, the method comprises: Sending a second detection request message carrying a second configuration mechanism identifier; receiving a second probe response message sent by a second network node that is not connected to the network in response to the second probe request message; If the second detection response message carries the first configuration mechanism identifier and the device identifier of the second network node, the second network node is determined to be a candidate node to be accessed by the network, wherein if the second network node successfully identifies the second configuration mechanism identifier, the second network node sends a second detection response message carrying the first configuration mechanism identifier and the device identifier of the second network node; if the second network node fails to successfully identify the second configuration mechanism identifier, the second network node sends a second detection response message that does not carry the first configuration mechanism identifier and the device identifier of the second network node; Determining a device identifier of a target network node to be connected to the network from the device identifiers of the candidate nodes; In response to receiving a first probe request message sent by a second network node that is not connected to the network, a first probe response message carrying the device identifier of the target network node is sent to the second network node, so that the second network node can access the network when the device identifier carried in the first probe response message is consistent with its own device identifier.

2. The method according to claim 1, characterized in that: The step of sending, in response to receiving a first probe request message sent by a second network node that is not connected to the network, a first probe response message carrying a device identifier of the target network node to the second network node comprises: In response to receiving a first probe request message sent by a second network node that has not accessed the network, determining whether the second network node meets the network access condition according to the first probe request message; If it is determined that the second network node meets the network access condition, a first detection response message carrying the device identifier of the target network node is sent to the second network node.

3. The method according to claim 2, characterized in that In response to receiving a first detection request message sent by a second network node that has not accessed the network, determining whether the second network node meets the network access condition according to the first detection request message includes: In response to receiving a first probe request message sent by a second network node that is not connected to the network, determining whether the first probe request message carries a first configuration mechanism identifier; If it is determined that the first detection request message carries the first configuration mechanism identifier, it is determined that the second network node meets the network access conditions.

4. The method according to claim 1, characterized in that: The determining the device identification of the target network node to be connected to the network from the device identification of the candidate node includes: Outputting the device identification of the candidate node, so that the user can select the device identification of the network node to be connected to the network from the device identifications of the candidate nodes; The device identification of the network node selected by the user is determined as the device identification of the target network node to be connected to the network.

5. The method according to claim 4, characterized in that The sending of the second detection request message carrying the second configuration mechanism identifier includes: In response to detecting a node scan request input by a user through a preset management interface, sending a second detection request message carrying a second configuration mechanism identifier; Accordingly, the outputting the device identification of the candidate node includes: The device identification of the candidate node is output to the management interface so as to display the device identification of the candidate node on the management interface.

6. A method for a network node to access a network, characterized in that: Applied to a second network node that is not connected to the network, the method comprises: Upon receiving a second probe request message carrying a second configuration mechanism identifier sent by a first network node that has accessed the network, if the second configuration mechanism identifier is successfully identified, sending a second probe response message carrying the first configuration mechanism identifier and its own device identifier, so that the first network node determines a candidate node to be connected to the network based on the second probe response message, and the first network node determines the device identifier of the target network node to be connected to the network from the device identifier of the candidate node, and, if the second configuration mechanism identifier is not successfully identified, sending a second probe response message that does not carry the first configuration mechanism identifier and its own device identifier; Sending a first probe request message; receiving a first probe response message carrying a device identifier of a target network node to be connected to the network and sent by the first network node that has connected to the network based on the first probe request message; If the device identifier carried in the first detection response message is consistent with its own device identifier, then access to the network.

7. The method according to claim 6, characterized in that The first detection request message carries a first configuration mechanism identifier, so that the first network node sends a first detection response message carrying a device identifier of a target network node to be connected to the network to the second network node based on the first configuration mechanism identifier.

8. A device for a network node to access a network, characterized in that: Applied to a first network node that has accessed a network, the device comprises: A second sending module is configured to send a second detection request message carrying a second configuration mechanism identifier; A first receiving module is configured to receive a second probe response message sent by a second network node that is not connected to the network in response to the second probe request message; A second determination module is configured to determine that the second network node is a candidate node to be accessed to the network if the second detection response message carries the first configuration mechanism identifier and the device identifier of the second network node, wherein if the second network node successfully identifies the second configuration mechanism identifier, the second network node sends a second detection response message carrying the first configuration mechanism identifier and the device identifier of the second network node; if the second network node fails to successfully identify the second configuration mechanism identifier, the second network node sends a second detection response message that does not carry the first configuration mechanism identifier and the device identifier of the second network node; A first determining module is configured to determine a device identifier of a target network node to be connected to the network from the device identifiers of the candidate nodes; The first sending module is configured to send a first detection response message carrying the device identifier of the target network node to the second network node in response to receiving a first detection request message sent by the second network node that is not connected to the network, so that the second network node can access the network when the device identifier carried in the first detection response message is consistent with its own device identifier.

9. A device for a network node to access a network, characterized in that: Applied to a second network node that is not connected to the network, the device comprises: A fourth sending module is configured to, upon receiving a second detection request message carrying a second configuration mechanism identifier sent by a first network node that has accessed the network, send a second detection response message carrying the first configuration mechanism identifier and its own device identifier if the second configuration mechanism identifier is successfully identified, so that the first network node determines the candidate node to be connected to the network based on the second detection response message, and the first network node determines the device identifier of the target network node to be connected to the network from the device identifier of the candidate node; wherein, upon receiving a second detection request message carrying a second configuration mechanism identifier sent by the first network node that has accessed the network, if the second configuration mechanism identifier is not successfully identified, the second network node sends a second detection response message that does not carry the first configuration mechanism identifier and its own device identifier; A third sending module is configured to send a first detection request message; A second receiving module is configured to receive a first detection response message carrying a device identifier of a target network node to be connected to the network and sent by a first network node that has connected to the network based on the first detection request message; The network access module is configured to access the network if the device identifier carried in the first detection response message is consistent with its own device identifier.

10. A system for a network node to access a network, characterized in that: include: A first network node that has accessed a network, configured to execute the method for a network node to access a network as claimed in any one of claims 1 to 5; A second network node that has not accessed the network is used to execute the method for network node accessing the network as claimed in claim 6 or 7.

11. A first electronic device, characterized in that: include: a first processor; a first memory for storing processor executable instructions; The first processor is configured to implement the steps of the method for a network node to access a network according to any one of claims 1 to 5 when executing the executable instructions.

12. A second electronic device, characterized in that: include: A second processor; a second memory for storing processor executable instructions; The second processor is configured to implement the steps of the method for a network node to access a network as described in claim 6 or 7 when executing the executable instructions.

13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 or any one of claims 6 or 7 are implemented.

Citation Information

Patent Citations

  • Network access method and device of equipment, equipment and storage medium

    CN109963352A

  • Network configuration method, device, equipment and system

    CN113099440A

  • Method, apparatus, device and computer readable medium for connecting to network

    CN113099451A

  • Method and device for network node to access network, electronic equipment and storage medium

    CN113115403A

  • Network configuration method for internet of things device, terminal device, and internet of things device

    WO2022183350A1