Ad hoc network configuration method and apparatus, electronic device, and medium
By configuring member devices hierarchically in the self-organizing network, the problem of multiple management device role competition caused by management device failure is solved, and stable self-organizing network management is achieved.
Patent Information
- Application Number
- CN202610279194.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-09
- Publication Date
- 2026-07-10
AI Technical Summary
In ad hoc networks, when a management device fails, multiple management device roles may emerge, leading to a re-election of management devices across the network. This is especially noticeable when network devices belong to different independent branches, resulting in a situation where multiple management devices need to be re-elected after recovery.
The management device sends configuration messages to adjacent member devices, classifying them into different levels. When the management device fails, the first-level member device is managed by the second-level member device, thus avoiding the need to re-elect a management device.
When a management device fails, member devices are managed hierarchically according to the set levels, avoiding the need for re-election caused by multiple management devices existing in the network at the same time, thus ensuring network stability.
Smart Images

Figure CN122373022A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of communication technology, and in particular to ad hoc network configuration methods, devices, electronic equipment and media. Background Technology
[0002] With increasingly intelligent network architectures, self-organizing networks have emerged. In a self-organizing network, one network device acts as the management device, overseeing all other network devices. However, if the management device fails, the entire network will need to compete for and elect a new management device. If the network devices under the current management device belong to different independent branches, multiple management devices will exist. When the original management device recovers, the network will have multiple management devices simultaneously, requiring another round of competition for election. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this manual provides self-organizing network configuration methods, devices, electronic equipment, and media.
[0004] According to a first aspect of the embodiments of this specification, a self-organizing network configuration method is provided, applied to a management device in a self-organizing network, the self-organizing network further comprising a plurality of member devices, the method comprising: determining a first member device among the plurality of member devices that is adjacent to the management device; sending a first setting message to the first member device, the first setting message being used to set the first member device to a first level; receiving first adjacency information sent by the first member device, the first adjacency information being used to indicate the adjacent devices of the first member device; determining a second member device among the plurality of member devices that matches the first adjacency information; and sending a second setting message to the first member device, the second setting message being used to set the second member device to a second level, wherein when a member device of the first level detects a fault in the management device, it includes the member device of the second level in its management.
[0005] According to a second aspect of the embodiments of this specification, a self-organizing network configuration method is provided, applied to member devices in a self-organizing network, the self-organizing network further comprising a management device, the method comprising: when the member device is a first member device, receiving a first configuration message sent by the management device, the first member device being a member device adjacent to the management device; configuring the member device as a first level according to the first configuration message; sending first adjacency information to the management device, the first adjacency information being used to indicate the adjacent devices of the member device; receiving a second configuration message sent by the management device; configuring a second member device indicated by the second configuration message as a second level, the second member device being an adjacent device of the member device; and if a fault is detected in the management device, then managing the member device of the second level.
[0006] According to a third aspect of the embodiments of this specification, a self-organizing network configuration apparatus is provided, applied to a management device in a self-organizing network, the self-organizing network further comprising a plurality of member devices, including: a first determining module, configured to determine a first member device among the plurality of member devices that is adjacent to the management device; a first setting message sending module, configured to send a first setting message to the first member device, the first setting message being configured to set the first member device to a first level; a first adjacency information receiving module, configured to receive first adjacency information sent by the first member device, the first adjacency information being configured to indicate the adjacency devices of the first member device; a second determining module, configured to determine a second member device among the plurality of member devices that matches the first adjacency information; and a second setting message sending module, configured to send a second setting message to the first member device, the second setting message being configured to set the second member device to a second level.
[0007] According to a fourth aspect of the embodiments of this specification, a self-organizing network configuration apparatus is provided, applied to member devices in a self-organizing network, the self-organizing network further comprising a management device, including: a first setting message receiving module, configured to receive a first setting message sent by the management device when the member device is a first member device, wherein the first member device is a member device adjacent to the management device; a first setting module, configured to set the member device to a first level according to the first setting message; a first adjacency information sending module, configured to send first adjacency information to the management device, wherein the first adjacency information is used to indicate the adjacent devices of the member device; a second setting message receiving module, configured to receive a second setting message sent by the management device; a second setting module, configured to set a second member device indicated by the second setting message to a second level, wherein the second member device is an adjacent device of the member device; and a first management module, configured to manage the second level member device if a fault is detected in the management device.
[0008] According to a fifth aspect of the embodiments of this specification, an electronic device is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the self-organizing network configuration method of the first aspect, the second aspect, or any corresponding embodiment thereof.
[0009] According to a sixth aspect of the embodiments of this specification, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a computer to perform the self-organizing network configuration method of the first aspect, the second aspect, or any corresponding embodiment thereof described above.
[0010] The technical solutions provided in the embodiments of this specification may include the following beneficial effects: In the embodiments described in this specification, After a management device malfunctions, member devices can be managed hierarchically according to the set levels without re-electing a management device. This avoids the situation where multiple management devices exist in the network simultaneously after the original management device returns to normal, requiring a re-election.
[0011] 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 specification. Attached Figure Description
[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this specification and, together with the description, serve to explain the principles of this specification.
[0013] Figure 1 This is a schematic diagram of a system architecture illustrated in this specification according to an exemplary embodiment.
[0014] Figure 2 This is a flowchart illustrating a self-organizing network configuration method according to an exemplary embodiment of this specification.
[0015] Figure 3 This is a hardware structure diagram of a computer device containing the self-organizing network configuration device in the embodiments of this specification.
[0016] Figure 4 This is a block diagram illustrating an ad hoc network configuration device according to an exemplary embodiment.
[0017] Figure 5 This specification illustrates a block diagram of another self-organizing network configuration device according to an exemplary embodiment. Detailed Implementation
[0018] 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 specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this specification as detailed in the appended claims.
[0019] The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” as used in this specification 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.
[0020] It should be understood that although the terms first, second, third, etc., may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, 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."
[0021] The embodiments described in this specification will now be described in detail.
[0022] The following combination Figure 1 The system architecture of the self-organizing network configuration method and apparatus applicable to the embodiments of this specification will be described. It should be noted that... Figure 1 The examples shown are merely examples of system architectures that can be applied to the embodiments of this specification, in order to help those skilled in the art understand the technical content of this specification, but do not mean that the embodiments of this specification cannot be used in other devices, systems, environments or scenarios.
[0023] Figure 1 This is a schematic diagram of a system architecture illustrated in this specification according to an exemplary embodiment.
[0024] like Figure 1 As shown, the system architecture may include, for example, an AC (Access Controller), a switch, and an AP (Access Point).
[0025] For example, in this embodiment, the AC, switch, and AP can form a self-organizing network. The self-organizing network can be, for example, a SmartMC network. The AC has the highest priority in the self-organizing network. If an AC exists in the network, the AC will compete to become the management device (Topology master, TM), while the switch and AP become member devices (Topology client, TC).
[0026] After the AC completes startup, the default address for VLAN 1 is automatically obtained, so the AC attempts to obtain an address. If there is no DHCP server in the network (other devices will not provide a DHCP server after a factory reset), the AC will not be able to obtain an address. According to the system configuration, the AC assigns an initial IP address to VLAN 1: 192.168.0.100 / 24, and the AC, acting as a DHCP server, provides addresses in this network segment to other devices. After the AP obtains an address from this address pool, it successfully connects to VLAN 1.
[0027] The self-organizing network configuration method provided in the embodiments of this specification will be described in detail below. For example... Figure 2 As shown, Figure 2 This is a flowchart illustrating a self-organizing network configuration method according to an exemplary embodiment of this specification. The self-organizing network configuration method provided in the embodiments of this specification may include the following steps.
[0028] In step 210, the management device determines the first member device that is adjacent to the management device among multiple member devices.
[0029] According to embodiments of this specification, a member device may send a first Link Layer Discovery Protocol (LLDP) message to a neighboring device.
[0030] For each of the multiple member devices, if the management device receives the first LLDP message sent by that member device, then that member device is determined as the first member device. It is understood that there can be one or more first member devices.
[0031] In step 220, the management device sends a first setting message to the first member device, which is used to set the first member device to the first level.
[0032] In step 230, after the first member device receives the first setting message sent by the management device, it sets itself to the first level according to the first setting message.
[0033] Optionally, the first setup message may include a second LLDP message. The first level identifier can be sent to the first member device via the second LLDP message.
[0034] After receiving the second LLDP message sent by the management device, the first member device can set the member device to the first level according to the first level identifier.
[0035] In step 240, the first member device sends the first adjacency information to the management device. The first adjacency information is used to indicate the adjacent devices of the member device.
[0036] According to an embodiment of this specification, the first member device can discover neighboring devices through LLDP and obtain first adjacency information.
[0037] In step 250, after the management device receives the first adjacency information sent by the first member device, it determines the second member device among the multiple member devices that matches the first adjacency information.
[0038] According to an embodiment of this specification, based on first adjacency information, the management device can determine a second member device among a plurality of member devices that is adjacent to the first member device.
[0039] In step 260, the management device sends a second setting message to the first member device, which is used to set the second member device to the second level.
[0040] In step 270, the first member device sets the second member device indicated by the second setting message to the second level.
[0041] In step 280, if the first member device detects a management device failure, it will be managed as a second-level member device.
[0042] According to embodiments of this specification, in the event of a management device failure, each first member device can manage the corresponding second-level member devices to avoid re-election of a management device. For example, the management device and member devices can detect each other's existence through SmartMC broadcast messages and response messages, respectively. Based on this, in the event of a management device failure, the first member device can periodically send SmartMC broadcast messages to the second-level member devices. Upon receiving the SmartMC broadcast messages, the second-level member devices assume that the management device still exists and will not re-elect a management device. Correspondingly, the response messages sent by the second-level member devices to the management device can be received and processed by the first member device.
[0043] In related technologies, if the network devices under the current management device belong to different independent branches, multiple management device roles will emerge. When the original management device is restored, multiple management devices will coexist on the network, and a new competition for election will begin.
[0044] According to the embodiments of this specification, after a management device fails, the second-level member device can be managed by the first-level member device without re-electing a management device. This avoids the situation where multiple management devices exist in the network at the same time after the original management device recovers, which would require a re-election.
[0045] Optionally, a predetermined time period can be set. Within the predetermined time period after a management device failure, the first member device will be managed by the corresponding second-level member device. After the predetermined time period has expired, each member device can then initiate a re-election of the management device.
[0046] According to the embodiments of this specification, if the first member device detects that the management device has recovered from a fault, it can cancel its management and re-entrust the management device with its management.
[0047] Optionally, in addition to the first and second levels, more levels can be set, such as a third level. For the second member device, if both the management device and the first member device are detected to be faulty, messages sent by the third-level member device are managed. For example, the third-level member device can be a member device in the ad hoc network other than the first and second member devices.
[0048] If a second member device detects that the first member device has recovered from a fault, it cancels its inclusion in the management system and is then included in the management system by the first member device. If a second member device detects that the management device has recovered from a fault, it cancels its inclusion in the management system and is then re-included in the management system.
[0049] Optionally, when the management device detects a change in address, it can instruct member devices to change their IP addresses level by level.
[0050] For example, if the management device detects an address change, it can send an address change message to the first-level member devices. If the first member device receives the address change message from the management device, it re-acquires an IP address based on the message and then sends an address change message to the second-level member devices. If the second member device receives the address change message from the first member device, it re-acquires an IP address based on the message and then sends an address change message to the third-level member devices.
[0051] by Figure 1 Taking the system architecture as an example. When the address of VLAN 1 conflicts with the WAN address, address backoff can be implemented for VLAN 1. This involves modifying the address of VLAN 1 and simultaneously modifying the address pool that provides the address. After the modification, the TC device that previously obtained the address will be unable to communicate with the TM. If the address pool lease is for one day, the next time the TC re-applies for an address, it will be subject to a half-life period before being included in the management system. This will cause the entire network to experience a half-day outage.
[0052] According to the embodiments in this specification, when the management device detects a change in address, it can instruct member devices to change their IP addresses level by level. This avoids the problem of network paralysis caused by member devices failing to detect changes in the management device's address in a timely manner.
[0053] The ad hoc network configuration method is described below with reference to another exemplary embodiment. Based on the foregoing embodiments, the method may include the following steps: Once the network is connected, all TCs obtain IP addresses in the same network segment as the TM and are managed by the TM, thus completing the initial stage of self-organizing the network.
[0054] The TM obtains adjacency information through the LLDP protocol to determine the adjacent TCs and sets them as first-level. LLDP (Link Layer Discovery Protocol) is an open standard protocol used for exchanging connectivity information between network devices. Defined by the IEEE 802.1AB standard, it helps network devices automatically discover and identify their directly connected neighbor devices, as well as network topology information between devices. LLDP supports the TLV (Type-Length-Value) format and can be extended to support additional information types.
[0055] The TM can inform the first-level TC (i.e., the first TC) of its TC level by carrying the TC level in the LLDP message's extensible field. After receiving the LLDP message, the first TC sets itself as the first level, obtains adjacency information through the LLDP protocol, and then informs the TM of the obtained adjacency information through the ad hoc network channel.
[0056] Based on the adjacency information of the first TC, the TM identifies whether the adjacent device of the first TC is a TC under management. If so, the TM sets the device to the second level in the table and informs the first TC.
[0057] The first TC locally stores the second-level TC and informs the second-level TC that it is the second level.
[0058] Other TCs besides the first-level TC and the second-level TC can be third-level TCs, which will be recorded by the second-level TC and informed by the second-level TC that they are third-level.
[0059] If the TM fails, the first-level TC will take over and process all messages. If both the first-level TC and the TM fail, the second-level TC will take over and process all messages. Understandably, if other levels are set up, this process will continue, managing messages sequentially according to their level.
[0060] When any level of TC is managed, elections are not allowed within the ad hoc network for a predetermined period of time, and each TC performs its own function. If the TM and higher-level TCs cannot recover after the predetermined period, the remaining TCs initiate a process to re-elect the TM, or the user can manually initiate the process to re-elect the TM.
[0061] According to the embodiments in this specification, when the TM fails, the TC is temporarily managed by the highest-level TC in the ad hoc network and does not perform TM probe operations, thus avoiding a large-scale network probe traffic surge.
[0062] If the VLAN address and address pool change due to reasons such as LAN and WAN address conflicts, the TC and TM will lose contact. Therefore, the TM can send an LLDP adjacency message to the first-level TC using the saved TC level, informing the TC of the address change through the TLV custom field in the message. Upon receiving this message, the first-level TC initiates an address relearning process and then sends the address change message to the TCs at lower levels, causing them to initiate their own address relearning processes and preventing them from launching probes after losing connection to the TM due to address changes.
[0063] Corresponding to the embodiments of the aforementioned methods, this specification also provides embodiments of the self-organizing network configuration device and the terminals to which it is applied.
[0064] The embodiments of the self-organizing network configuration device described in this specification can be applied to computer devices, such as servers or terminal devices. The device embodiments can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by its processor reading the corresponding computer program instructions from non-volatile memory into memory for execution. From a hardware perspective, such as... Figure 3 The diagram shown is a hardware structure diagram of a computer device containing the self-organizing network configuration device in an embodiment of this specification, except... Figure 3 In addition to the processor 310, memory 330, network interface 320, and non-volatile memory 340 shown, the server or electronic device where the device 331 is located in the embodiment may also include other hardware depending on the actual function of the computer device, which will not be described in detail here.
[0065] like Figure 4 As shown, Figure 4 This specification is a block diagram illustrating an ad hoc network configuration apparatus according to an exemplary embodiment, applied to a management device in an ad hoc network. The apparatus includes: The first determining module 410 is used to determine the first member device that is adjacent to the management device among multiple member devices; The first setting message sending module 420 is used to send a first setting message to the first member device, and the first setting message is used to set the first member device to the first level; The first adjacency information receiving module 430 is used to receive first adjacency information sent by the first member device. The first adjacency information is used to indicate the adjacency devices of the first member device. The second determining module 440 is used to determine a second member device among multiple member devices that matches the first adjacency information; The second setting message sending module 450 is used to send a second setting message to the first member device, which is used to set the second member device to the second level.
[0066] Optionally, the first determining module may specifically be used for: For each of the plurality of member devices, if a first link layer discovery protocol message is received from that member device, then that member device is determined to be the first member device.
[0067] Optionally, the first setting message includes a second link layer discovery protocol message, and the first setting message sending module can specifically be used for: The first-level identifier is sent to the first member device via a second link layer discovery protocol message.
[0068] Optionally, the device may further include: The address change message sending module is used to send address change messages to the first-level member devices when an address change is detected.
[0069] Accordingly, this specification also provides an electronic device including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to determine a first member device among a plurality of member devices that is adjacent to a management device; send a first setting message to the first member device, the first setting message being used to set the first member device to a first level; receive first adjacency information sent by the first member device, the first adjacency information being used to indicate the adjacency devices of the first member device; determine a second member device among a plurality of member devices that matches the first adjacency information; and send a second setting message to the first member device, the second setting message being used to set the second member device to a second level.
[0070] like Figure 5 As shown, Figure 5 This is a block diagram illustrating another self-organizing network configuration apparatus according to an exemplary embodiment, applied to member devices in a self-organizing network, the apparatus comprising: The first setting message receiving module 510 is used to receive a first setting message sent by the management device when the member device is a first member device, wherein the first member device is a member device adjacent to the management device; The first setting module 520 is used to set the member device to the first level according to the first setting message; The first adjacency information sending module 530 is used to send first adjacency information to the management device. The first adjacency information is used to indicate the adjacency devices of the member devices. The second setting message receiving module 540 is used to receive the second setting message sent by the management device; The second setting module 550 is used to set the second member device indicated by the second setting message to the second level, where the second member device is a neighboring device of the member device; The first management module 560 is used to manage second-level member devices if a management device failure is detected.
[0071] Optionally, the device may further include: The second management module is used to manage messages sent by third-level member devices if both the management device and the first member device are detected to be faulty when the member device is the second member device. The third-level member devices are member devices in the ad hoc network other than the first member device and the second member device.
[0072] Optionally, the device may further include: The first link layer discovery protocol message sending module is used to send a first link layer discovery protocol message to the management device when the member device is the first member device.
[0073] Optionally, the first setup message includes a second link layer discovery protocol message, and the device may further include: The second link layer discovery protocol message receiving module is used to receive the second link layer discovery protocol message sent by the management device. The second link layer discovery protocol message includes a first level identifier. The first settings module can be specifically used for: Based on the first level identifier, the member device is set to the first level.
[0074] Optionally, the device may further include: A cancellation module is used to cancel the inclusion in the management if the managed device is detected to have recovered from a fault.
[0075] Optionally, the device may further include: The first change module is used to, when the member device is the first member device, if it receives an address change message sent by the management device, re-acquire an IP address according to the address change message, and send an address change message to the second-level member device.
[0076] Optionally, the device may further include: The second change module is used to, when the member device is the second member device, if it receives an address change message sent by the first member device, re-acquire an IP address according to the address change message, and send an address change message to the third-level member device.
[0077] Accordingly, this specification also provides an electronic device including a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: when a member device is a first member device, receive a first setting message sent by a management device, the first member device being a member device adjacent to the management device; set the member device to a first level according to the first setting message; send first adjacency information to the management device, the first adjacency information being used to indicate the adjacent devices of the member device; receive a second setting message sent by the management device; set a second member device indicated by the second setting message to a second level, the second member device being an adjacent device of the member device; and if a fault is detected in the management device, then manage the member device of the second level.
[0078] According to the embodiments of this specification, after a management device malfunctions, member devices can be hierarchically managed according to the set levels without re-electing a management device. This avoids the situation where multiple management devices exist simultaneously in the network after the original management device recovers, requiring a re-election.
[0079] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0080] 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 modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of the solution in this specification according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0081] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0082] Other embodiments of this specification will readily occur to those skilled in the art upon consideration of the specification and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this specification are indicated by the following claims.
[0083] It should be understood that this specification 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 specification is limited only by the appended claims.
[0084] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. A method for configuring a self-organizing network, characterized in that, A management device applied in a self-organizing network, wherein the self-organizing network also includes multiple member devices, the method comprising: Determine the first member device among the plurality of member devices that is adjacent to the management device; Send a first setting message to the first member device, the first setting message being used to set the first member device to the first level; Receive first adjacency information sent by the first member device, wherein the first adjacency information is used to indicate the adjacent devices of the first member device; Identify the second member device among the plurality of member devices that matches the first adjacency information; A second setting message is sent to the first member device. The second setting message is used to set the second member device to the second level. When the first-level member device detects a fault in the management device, it takes over the management of the second-level member device.
2. The method according to claim 1, characterized in that, The step of determining the first member device adjacent to the management device among the plurality of member devices includes: For each of the plurality of member devices, if a first link layer discovery protocol message is received from that member device, then that member device is determined to be the first member device.
3. The method according to claim 1, characterized in that, The first configuration message includes a second link layer discovery protocol message, and sending the first configuration message to the first member device includes: The first-level identifier is sent to the first member device via a second link layer discovery protocol message.
4. The method according to claim 1, characterized in that, The method further includes: If an address change is detected, an address change message is sent to the first-level member devices.
5. A method for configuring a self-organizing network, characterized in that, The method is applied to member devices in a self-organizing network, which also includes a management device, and includes: When the member device is the first member device, a first setting message sent by the management device is received, wherein the first member device is a member device adjacent to the management device; Based on the first setting message, the member device is set to the first level; The first adjacency information is sent to the management device, and the first adjacency information is used to indicate the adjacent devices of the member device; Receive the second setting message sent by the management device; The second member device indicated by the second setting message is set to the second level, and the second member device is the adjacent device of the member device; If a malfunction is detected in the management device, then the member device of the second level is included in the management.
6. The method according to claim 5, characterized in that, The method further includes: If the management device and the first member device are both detected to be faulty, then messages sent by the third-level member devices are managed. The third-level member devices are the member devices in the ad hoc network other than the first member device and the second member device.
7. The method according to claim 5, characterized in that, The method further includes: If the member device is the first member device, a first link layer discovery protocol message is sent to the management device.
8. The method according to claim 5, characterized in that, The first setup message includes a second link layer discovery protocol message, and the method further includes: Receive a second link layer discovery protocol message sent by the management device, the second link layer discovery protocol message including a first level identifier; Setting the member device to the first level according to the first setting message includes: Based on the first level identifier, the member device is set to the first level.
9. The method according to claim 5, characterized in that, The method further includes: If the management device is detected to have recovered from a fault, then the management is cancelled.
10. The method according to claim 5, characterized in that, The method further includes: If the member device is the first member device, and an address change message is received from the management device, then the IP address is re-acquired according to the address change message, and an address change message is sent to the second-level member device.
11. The method according to claim 5, characterized in that, The method further includes: If the member device is the second member device, and an address change message is received from the first member device, then the IP address is re-acquired according to the address change message, and an address change message is sent to the third-level member device.
12. A self-organizing network configuration device, characterized in that, A management device used in a self-organizing network, wherein the self-organizing network also includes multiple member devices, the device comprising: The first determining module is used to determine the first member device that is adjacent to the management device among the plurality of member devices; The first setting message sending module is used to send a first setting message to the first member device, wherein the first setting message is used to set the first member device to the first level; The first adjacency information receiving module is used to receive the first adjacency information sent by the first member device, wherein the first adjacency information is used to indicate the adjacency devices of the first member device. The second determining module is used to determine the second member device among the plurality of member devices that matches the first adjacency information; The second setting message sending module is used to send a second setting message to the first member device, wherein the second setting message is used to set the second member device to the second level.
13. A self-organizing network configuration device, characterized in that, A device for use in member devices of a self-organizing network, wherein the self-organizing network also includes a management device, the device comprising: The first setting message receiving module is used to receive a first setting message sent by the management device when the member device is a first member device, wherein the first member device is a member device adjacent to the management device; The first setting module is used to set the member device to the first level according to the first setting message; The first adjacency information sending module is used to send first adjacency information to the management device, wherein the first adjacency information is used to indicate the adjacent devices of the member device; The second setting message receiving module is used to receive the second setting message sent by the management device; The second setting module is used to set the second member device indicated by the second setting message to the second level, wherein the second member device is a neighboring device of the member device; The first management module is used to manage the second-level member devices if a fault is detected in the management device.
14. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store processor-executable instructions; The processor is configured to execute the self-organizing network configuration method according to any one of claims 1 to 11.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the self-organizing network configuration method according to any one of claims 1 to 11.