Network element configuration method, device and storage medium
By building a virtual domain in the FTTR environment and sending configuration information, the server's inefficient configuration of home gateway unit (HGU) is solved, and efficient network unit configuration is achieved.
Patent Information
- Application Number
- CN202211476719.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-11-23
AI Technical Summary
In the FTTR environment, the server in the prior art has low configuration efficiency for the home gateway unit (HGU), resulting in complicated management.
By receiving request information from the network unit, searching for virtual domain identification data, building a virtual domain and establishing communication with multiple network units, and sending configuration information based on a predetermined protocol to complete the configuration of the network unit.
Improves the server's configuration efficiency of network units in the FTTR environment and saves configuration time.
Smart Images

Figure CN115834373B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of optical network communication, and in particular, to a method, apparatus, and storage medium for configuring network units. Background Art
[0002] With the popularization of the Fiber To The Room (FTTR) networking framework, more and more Home Gateway Units (HGUs) will enter thousands of households. A large number of HGU devices pose a great challenge to management. In the FTTR environment, a user will place multiple HGUs of the same type at home to improve bandwidth utilization. In the related art, if the server configures the HGUs one by one using the same scheme as in the Fiber To The Home (FTTH) environment, it will be very redundant and complicated, resulting in low configuration efficiency of the server for the HGUs. Summary of the Invention
[0003] A method, apparatus, and storage medium for configuring network units provided by embodiments of the present invention can improve the configuration efficiency of the server for HGUs in the FTTR environment.
[0004] The technical solution of the present invention is implemented as follows:
[0005] Embodiments of the present invention provide a method for configuring network units, which is applied to a server and includes:
[0006] Receiving request information sent by a first network unit, and finding corresponding virtual domain identification data based on the request information;
[0007] Sending the virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network units; the first network unit and the multiple second network units belong to the same network system;
[0008] Sending multiple obtained configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of network units within the virtual domain.
[0009] In the above solution, the receiving request information sent by a first network unit and finding corresponding virtual domain identification data based on the request information includes:
[0010] Receiving first request information sent by the first network unit after the first network unit completes registration; the first request information carries request identification information;
[0011] Determine the legality detection result of the first network unit based on the request identification information;
[0012] If the legality detection result indicates that the request of the first network unit is legal, feedback the detection legal information to the first network unit;
[0013] Receive the second request information sent by the first network unit, and find the corresponding virtual domain identifier, virtual domain public key, and virtual domain private key based on the authentication information carried in the second request information.
[0014] In the above solution, after receiving the second request information sent by the first network unit and finding the corresponding virtual domain identifier, virtual domain public key, and virtual domain private key based on the authentication information carried in the second request information, the method further includes:
[0015] Construct a mapping relationship between the first network unit and the virtual domain identifier, and store the mapping relationship in a mapping relationship library; multiple mapping relationships between multiple first network units and multiple virtual domain identifiers are stored in the mapping relationship library.
[0016] In the above solution, the sending the obtained multiple configuration information to the first network unit includes:
[0017] Receive a configuration data packet sent by an automatic configuration end; the configuration data packet includes: the virtual domain identifier and the multiple configuration information;
[0018] Determine the first network unit in the mapping relationship library through the virtual domain identifier, and send the multiple configuration information to the first network unit based on the predetermined protocol.
[0019] In the above solution, the sending the virtual domain identifier data to the first network unit includes:
[0020] Send the virtual domain identifier, the virtual domain public key, and the virtual domain private key to the first network unit.
[0021] In the above solution, the method further includes:
[0022] After the multiple second network units complete registration, determine the respective label information corresponding to the multiple second network units based on a user instruction;
[0023] Package the virtual domain identifier, the virtual domain private key, and the label information to form the respective second virtual domain identifier data corresponding to the multiple second network units, and send the corresponding second virtual domain identifier data to the multiple second network units respectively.
[0024] An embodiment of the present invention also provides a network unit configuration method, which is applied to a first network unit and includes:
[0025] Send a request message to the server and receive virtual domain identification data fed back by the server in response to the request message;
[0026] Construct a virtual domain based on the virtual domain identification data, and receive virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain;
[0027] If the virtual domain private key matches the virtual domain identification data, add the multiple second network units to the virtual domain to implement communication with the multiple second network units;
[0028] Receive multiple configuration messages sent by the server based on a predetermined protocol to complete the configuration of network units within the virtual domain.
[0029] In the above solution, the sending a request message to the server and receiving virtual domain identification data fed back by the server in response to the request message includes:
[0030] Send a first request message to the server and receive detection legal information fed back by the server in response to the first request message; the first request message carries request identification information;
[0031] In response to the detection legal information, send a second request message to the server, and the second request message carries authentication information;
[0032] Receive the virtual domain identification, virtual domain public key, and virtual domain private key fed back by the server in response to the second request message;
[0033] The if the virtual domain private key matches the virtual domain identification data, adding the multiple second network units to the virtual domain includes:
[0034] If the virtual domain private key matches the virtual domain public key, add the multiple second network units to the virtual domain.
[0035] In the above solution, the receiving multiple configuration messages sent by the server based on a predetermined protocol to complete the configuration of network units within the virtual domain includes:
[0036] Receive multiple configuration messages sent by the server based on the predetermined protocol, and classify the multiple configuration messages according to a predetermined rule to obtain multiple configuration categories;
[0037] Configure the first configuration messages belonging to the backbone network category among the multiple configuration messages locally;
[0038] Send multiple pieces of second configuration information to corresponding second network units respectively according to the correspondence between the multiple configuration categories and multiple tag information; the multiple tag information is the tag information uploaded by the multiple second network units; the multiple second configuration information is the configuration information other than the first configuration information among the multiple configuration information.
[0039] An embodiment of the present invention further provides a network unit configuration method, which is applied to a second network unit. The second network unit belongs to multiple second network units and includes:
[0040] Send the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain;
[0041] After the virtual domain private key matches the virtual domain identification data of the first network unit, join the virtual domain to implement communication with the first network unit;
[0042] Receive the second configuration information sent by the first network unit to complete local configuration; the second configuration information is sent by the server to the first network unit based on a predetermined protocol.
[0043] In the above solution, before sending the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain, the method further includes:
[0044] Receive the second virtual domain identification data sent by the server. The second virtual domain identification data includes: virtual domain identification, virtual domain private key, and tag information;
[0045] After joining the virtual domain to implement communication with the first network unit after the virtual domain private key matches the virtual domain identification data of the first network unit, and before receiving the second configuration information sent by the first network unit to complete local configuration, the method further includes:
[0046] Upload the tag information to the first network unit.
[0047] An embodiment of the present invention further provides a network unit configuration device, which is applied to a server and includes:
[0048] A first receiving and searching unit, configured to receive a request message sent by a first network unit and find corresponding virtual domain identification data based on the request message;
[0049] A first sending unit, configured to send the virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network units; the first network unit and the multiple second network units belong to the same network system;
[0050] The first sending unit is further configured to send the obtained multiple configuration information to the first network unit based on a predetermined protocol, so that the first network unit completes the configuration of the network units within the virtual domain.
[0051] An embodiment of the present invention further provides a network unit configuration device, which is applied to a first network unit and includes:
[0052] A second sending unit, configured to send a request message to a server and receive virtual domain identification data fed back by the server in response to the request message;
[0053] A construction unit, configured to construct a virtual domain based on the virtual domain identification data, and receive virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain;
[0054] A matching unit, configured to, if the virtual domain private key matches the virtual domain identification data, add the multiple second network units to the virtual domain to implement communication with the multiple second network units;
[0055] A second receiving unit, configured to receive multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of the network units within the virtual domain.
[0056] An embodiment of the present invention further provides a network unit configuration device, which is applied to a second network unit. The second network unit belongs to multiple second network units and includes:
[0057] A third sending unit, configured to send the virtual domain private key in the received second virtual domain identification data to a first network unit in the current virtual domain;
[0058] A network communication unit, configured to join the virtual domain after the virtual domain private key matches the virtual domain identification data of the first network unit to implement communication with the first network unit;
[0059] The third receiving unit is further configured to receive second configuration information sent by the first network unit to complete local configuration; the second configuration information is sent by the server to the first network unit based on a predetermined protocol.
[0060] An embodiment of the present invention further provides a network unit configuration device, including a first memory and a first processor. The first memory stores a computer program that can run on the first processor, and when the first processor executes the program, the steps in the method on the server side are implemented.
[0061] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a first processor, the steps in the method on the server side are implemented.
[0062] An embodiment of the present invention further provides a network unit configuration device, including a second memory and a second processor. The second memory stores a computer program that can run on the second processor. When the second processor executes the program, the steps in the method on the first network unit side are implemented.
[0063] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a second processor, the steps in the method on the first network unit side are implemented.
[0064] An embodiment of the present invention further provides a network unit configuration device, including a third memory and a third processor. The third memory stores a computer program that can run on the third processor. When the third processor executes the program, the steps in the method on the second network unit side are implemented.
[0065] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a third processor, the steps in the method on the second network unit side are implemented.
[0066] In an embodiment of the present invention, request information sent by a first network unit is received, and corresponding virtual domain identification data is found based on the request information; the virtual domain identification data is sent to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network units; the first network unit and the multiple second network units belong to the same network system; multiple obtained configuration information is sent to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of network units within the virtual domain. Since in this solution, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct a virtual domain, and then enables multiple second network units in the same network system to join the virtual domain. When the server needs to send configuration information to the network units in this network system, it only needs to send multiple configuration information to the first network unit in the virtual domain to enable the first network unit to complete the configuration of all network units within the virtual domain, saving time and thus improving the configuration efficiency of the server for network units in the FTTR environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 It is an optional flowchart of the network unit configuration method provided by an embodiment of the present invention;
[0068] Figure 2An optional effect schematic diagram of the network element configuration method provided by an embodiment of the present invention;
[0069] Figure 3 An optional flowchart of the network element configuration method provided by an embodiment of the present invention;
[0070] Figure 4 An optional flowchart of the network element configuration method provided by an embodiment of the present invention;
[0071] Figure 5 An interaction schematic diagram of the network element configuration method provided by an embodiment of the present invention;
[0072] Figure 6 A structural schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 1 ;
[0073] Figure 7 A hardware entity schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 1 ;
[0074] Figure 8 A structural schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 2 ;
[0075] Figure 9 A hardware entity schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 2 ;
[0076] Figure 10 A structural schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 3 ;
[0077] Figure 11 A hardware entity schematic diagram of the network element configuration device provided by an embodiment of the present invention Figure 3 . Detailed implementation manners
[0078] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be further elaborated in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be construed as limiting the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0079] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.
[0080] If similar descriptions such as "first / second" appear in the invention document, the following description shall be added. In the following description, the terms "first / second / third" involved are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.
[0081] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this invention belongs. The terms used herein are for the purpose of describing embodiments of the present invention only and are not intended to limit the present invention.
[0082] Embodiments of the present invention provide a method for configuring a network unit. Please refer to Figure 1 , which is an optional flowchart of the method for configuring a network unit provided by the embodiments of the present invention, and will be described in conjunction with Figure 1 the steps shown.
[0083] S101. Receive request information sent by a first network unit, and find corresponding virtual domain identification data based on the request information.
[0084] In an embodiment of the present invention, the server receives the request information sent by the first network unit, and finds the corresponding virtual domain identification data based on the request information.
[0085] In an embodiment of the present disclosure, the server may receive the request information sent by the first network unit after the first network unit completes registration.
[0086] In an embodiment of the present invention, the server may include a passive optical device connected to an optical line terminal (OLT). The first network unit may include: a Home Gateway Unit (HGU). The first network unit may also be other optical network devices such as an Optical Network Unit (ONU).
[0087] In an embodiment of the present invention, the request information sent by the first network unit carries a request identifier. After the server confirms that the request of the first network unit is legal according to the request identifier, the first network unit is authenticated to determine the corresponding virtual domain identification data.
[0088] In an embodiment of the present invention, the completion of registration by the first network unit may refer to the first network unit completing the registration process of a single-fiber bidirectional system (PON technology, PON) system. Exemplarily, it may include: the first network unit sending a registration request frame to the OLT. After receiving the registration request frame, the OLT processes it and sends a registration authorization frame and a registration frame to the first network unit. Then, after receiving the registration authorization frame and the registration frame, the first network unit feeds back a registration confirmation frame to the OLT to finally complete the registration.
[0089] Among them, the virtual domain identification data may include: the virtual domain identification of the virtual domain corresponding to the first network unit, the virtual domain public key, and the virtual domain private key.
[0090] S102. Send virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network units.
[0091] In an embodiment of the present invention, the server sends virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network units. Among them, the first network unit and multiple second network units belong to the same network system.
[0092] In an embodiment of the present invention, after receiving the virtual domain identification data, the server creates a virtual domain within a certain range according to the virtual domain identification data.
[0093] In an embodiment of the present invention, the server sends the virtual domain identification, the virtual domain public key, and the virtual domain private key to the first network unit.
[0094] In an embodiment of the present invention, after multiple second network units complete registration, the server sends corresponding second virtual domain identification data to the multiple second network units respectively based on a user instruction for the multiple second network units to join the virtual domain according to the second virtual domain identification data and realize communication with the first network unit. Among them, the first network unit and the second network unit may communicate based on the Virtual Remote Control Protocol (VRCP).
[0095] In an embodiment of the present invention, the first network unit and multiple second network units may belong to the network system in the same family or the network system within a certain area.
[0096] In an embodiment of the present invention, the second network unit may also be a Home Gateway Unit (HGU). The second network unit may also be other optical network devices such as an Optical Network Unit (ONU). Wherein, the completion of the registration of the second network unit refers to the completion of the registration process of the second network unit in the PON system.
[0097] In an embodiment of the present invention, the second virtual domain identification data may include: label information corresponding to the second network unit, a virtual domain identifier, and a virtual domain private key. The second network unit may match the virtual domain private key with the virtual domain public key of the virtual domain constructed by the current first network unit. If the match is successful, the first network unit adds the second network unit to the virtual domain, thereby realizing communication between the first network unit and multiple second network units. S103. Send the obtained multiple configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of the network units within the virtual domain.
[0098] In an embodiment of the present invention, the server sends the obtained multiple configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of the network units within the virtual domain.
[0099] In an embodiment of the present invention, since the first network unit and multiple second network units belong to the same virtual domain, communication can be carried out between each network unit. After receiving the multiple configuration information, the first network unit may send the configuration information corresponding to each second network unit to the corresponding second network unit to complete the configuration of all network units within the virtual domain.
[0100] In an embodiment of the present invention, the server may receive multiple configuration information of the virtual domain corresponding to the first network unit sent by an Auto-Configuration Server (ACS).
[0101] Among them, the multiple configuration information may include backbone network service configuration information, connection network service configuration information, and edge network service configuration information. Exemplarily, each configuration information may include: channel open / close status, channel priority, channel bandwidth allocation, etc.
[0102] Exemplarily, in combination with Figure 2After the main HGU completes registration on the OLT, the OLT sends the virtual domain identifier, virtual domain public key, and virtual domain private key to the main HGU. After other slave HGUs complete registration on the OLT, corresponding virtual domain identifiers and virtual domain private keys will be assigned to them. Each slave HGU will also be tagged with a role label (living room HGU, bedroom HGU, study HGU, corridor HGU). The slave HGU needs to use the private key to match the current virtual domain public key, and those that pass the match can automatically join the virtual domain of the main HGU. When the main HGU goes online on the ACS server through the TR-069 protocol, it can receive multiple configuration information sent by the OLT at any time. The OLT sends multiple configuration information to the main HGU, and the main HGU divides the multiple configuration information into several categories, including backbone network services, connection network services, and edge network services. The main HGU synchronizes the multiple configuration information to each slave HGU in the domain through the virtual domain. The backbone network service configuration information is synchronously sent to the living room HGU, the connection network service configuration information is sent to the corridor HGU, and the edge network service is sent to the bedroom HGU, study HGU, etc. The configuration results of each slave HGU will also be fed back to the main HGU through the virtual domain. After the main HGU aggregates the configuration results fed back by the slave HGUs, it reports them to the OLT.
[0103] Among them, the predetermined protocol can be the TR-069 protocol. TR-069 defines a mechanism for secure automatic configuration and management, which realizes functions such as providing configuration and dynamic services to remote terminal devices, managing their software and firmware images, and monitoring status and performance for fault diagnosis. It saves a large amount of manpower, material resources, and operation and maintenance costs for the operator's terminal management, and enables the operator to truly achieve zero-touch service configuration. In the embodiment of the present invention, the TR-069 protocol is configured on the first network unit, mainly used for the first network unit to obtain multiple configuration information from the ACS server through the server.
[0104] In the embodiment of the present invention, the request information sent by the first network unit is received, and the corresponding virtual domain identifier data is found based on the request information; the virtual domain identifier data is sent to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identifier data and establish communication with multiple second network units; the first network unit and the multiple second network units belong to the same network system; multiple obtained configuration information is sent to the first network unit based on the predetermined protocol for the first network unit to complete the configuration of the network units within the virtual domain. Since the server feeds back the virtual domain identifier data to the first network unit in this solution, enabling the first network unit to construct a virtual domain, and then enabling multiple second network units in the same network system to join the virtual domain. When the server needs to send configuration information to the network units in this network system, it only needs to send multiple configuration information to the first network unit in the virtual domain, enabling the first network unit to complete the configuration of all network units within the virtual domain, saving time, and thus improving the configuration efficiency of the server for the network units in the FTTR environment.
[0105] Figure 1 The shown S101 can also be implemented through S105 to S108, and will be described in combination with each step.
[0106] S104. After the first network unit completes registration, receive the first request information sent by the first network unit; the first request information carries request identification information.
[0107] In an embodiment of the present invention, after the first network unit completes registration, the server receives the first request information sent by the first network unit; the first request information carries request identification information.
[0108] Among them, the request identification information may be the virtual domain identity number (ID, Identity) corresponding to the first network unit.
[0109] S105. Determine the legality detection result of the first network unit based on the request identification information.
[0110] In an embodiment of the present invention, the server determines the legality detection result of the first network unit based on the request identification information.
[0111] In an embodiment of the present invention, the server locally stores basic attributes such as virtual domain identifiers, accounts and passwords, virtual domain private keys, and virtual domain public keys corresponding to multiple virtual domains.
[0112] In an embodiment of the present invention, the server parses the first request information to obtain the request identification information. The server uses the request identification information as an index to search the table of the mapping relationship between the multiple virtual domains it stores and the corresponding virtual domain identifiers, so as to determine whether the first request information of the first network unit is legal. When the request identification information is found in the mapping relationship table of the created virtual domain, it is determined that the first request information is legal; when the request identification information is not found in the mapping relationship table of the created virtual domain, it is determined that the first request information is illegal.
[0113] S106. If the legality detection result indicates that the request of the first network unit is legal, then feedback the detection legal information to the first network unit.
[0114] In an embodiment of the present invention, if the legality detection result indicates that the request of the first network unit is legal, then the server feeds back the detection legal information to the first network unit.
[0115] S107. Receive the second request information sent by the first network unit, and find the corresponding virtual domain identifier, virtual domain public key, and virtual domain private key based on the authentication information carried in the second request information.
[0116] In an embodiment of the present invention, the server receives second request information sent by a first network unit, and finds the corresponding virtual domain identifier, virtual domain public key, and virtual domain private key based on the authentication information carried in the second request information.
[0117] In an embodiment of the present invention, the first network unit sends second request information carrying the account and password of the virtual domain to be accessed to the server. The server parses the second request information to obtain the account and password, uses the account and password as an index, and searches in a table storing the correspondence between the created virtual domains and the accounts and passwords to obtain an authentication result. If the account and password are found in the table storing the correspondence between the accounts and passwords of the created virtual domains, the authentication result is successful authentication, and the virtual domain identifier, virtual domain private key, and virtual domain public key corresponding to the virtual domain are sent to the first network unit.
[0118] In an embodiment of the present invention, the server constructs a mapping relationship between the first network unit and the virtual domain identifier, and stores the mapping relationship in a mapping relationship library; the mapping relationship library stores multiple mapping relationships between multiple first network units and multiple virtual domain identifiers.
[0119] In an embodiment of the present invention, the server sends the virtual domain identifier, virtual domain private key, and virtual domain public key to the first network unit for the first network unit to construct a virtual domain and realize communication between each network unit in the virtual domain. When the server needs to configure the network units in the virtual domain, it only needs to send configuration information to the first network unit, saving configuration time and improving efficiency.
[0120] Figure 1 What is shown between S102 and S103 may also be implemented including S108 to S109, and will be described in combination with each step.
[0121] S108. After multiple second network units complete registration, determine the label information corresponding to each of the multiple second network units based on a user instruction.
[0122] In an embodiment of the present invention, after multiple second network units complete registration, the server determines the label information corresponding to each of the multiple second network units based on a user instruction.
[0123] In an embodiment of the present invention, the user configures the respective corresponding label information for multiple second network units in the server, where the label information may include: living room network unit, bedroom network unit, study network unit, and corridor network unit.
[0124] S109. Pack the virtual domain identifier, virtual domain private key, and label information to form second virtual domain identifier data corresponding to each of the multiple second network units, and send the corresponding second virtual domain identifier data to each of the multiple second network units.
[0125] In an embodiment of the present invention, the server packs the virtual domain identifier, the virtual domain private key, and the tag information based on a user instruction to form second virtual domain identifier data corresponding to multiple second network units, and sends the corresponding second virtual domain identifier data to the multiple second network units respectively.
[0126] In an embodiment of the present invention, the server sends the virtual domain private key of the corresponding virtual domain to the second network unit for the second network unit to join the corresponding virtual domain and realize communication with the first network unit.
[0127] Figure 1 The shown S103 can also be implemented through S110 to S111, and will be described in combination with each step.
[0128] S110. Receive a configuration data packet sent by an automatic configuration end; the configuration data packet includes: a virtual domain identifier and multiple configuration information.
[0129] In an embodiment of the present invention, the server receives a configuration data packet sent by an automatic configuration end; the configuration data packet includes: a virtual domain identifier and multiple configuration information.
[0130] S111. Determine the first network unit in the mapping relationship library through the virtual domain identifier, and send multiple configuration information to the first network unit based on a predetermined protocol.
[0131] In an embodiment of the present invention, the server determines the first network unit in the mapping relationship library through the virtual domain identifier, and sends multiple configuration information to the first network unit based on a predetermined protocol.
[0132] In an embodiment of the present invention, through the constructed mapping relationship library, the server can further find the first network unit corresponding to each configuration data packet to achieve precise configuration.
[0133] In some embodiments, refer to Figure 3 , Figure 3 which is an optional process schematic diagram of the network unit configuration method provided by an embodiment of the present invention, and will be described in combination with each step.
[0134] S201. Send a request message to the server and receive the virtual domain identifier data feedback by the server in response to the request message.
[0135] In an embodiment of the present invention, the first network unit sends a request message to the server and receives the virtual domain identifier data feedback by the server in response to the request message.
[0136] In an embodiment of the present invention, a first network unit sends first request information to a server and receives detection legal information fed back by the server in response to the first request information; the first request information carries request identification information; the first network unit sends second request information to the server in response to the detection legal information, and the second request information carries authentication information; the first network unit receives a virtual domain identifier, a virtual domain public key, and a virtual domain private key fed back by the server in response to the second request information.
[0137] S202. Construct a virtual domain based on the virtual domain identifier data, and receive virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain.
[0138] In an embodiment of the present invention, a first network unit constructs a virtual domain based on the virtual domain identifier data, and receives virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain.
[0139] In an embodiment of the present invention, after the first network unit constructs the virtual domain, the second network unit may send the virtual domain private key sent by the server to the first network unit within the currently corresponding virtual domain.
[0140] S203. If the virtual domain private key matches the virtual domain identifier data, add multiple second network units to the virtual domain to implement communication with the multiple second network units.
[0141] In an embodiment of the present invention, if the virtual domain private key matches the virtual domain identifier data, the first network unit adds multiple second network units to the virtual domain to implement communication with the multiple second network units.
[0142] In an embodiment of the present invention, if the virtual domain private key matches the virtual domain public key, the first network unit adds multiple second network units to the virtual domain to implement communication with the multiple second network units.
[0143] S204. Receive multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of the network units within the virtual domain.
[0144] In an embodiment of the present invention, a first network unit receives multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of the network units within the virtual domain.
[0145] In an embodiment of the present invention, a first network unit receives multiple configuration information sent by a server based on a predetermined protocol, and classifies the multiple configuration information according to a predetermined rule to obtain multiple configuration categories; the first network unit configures the first configuration information belonging to the backbone network category among the multiple configuration information locally; the first network unit sends the multiple second configuration information to corresponding second network units respectively according to the corresponding relationship between the multiple configuration categories and the multiple tag information; the multiple tag information is the tag information uploaded by the multiple second network units; the multiple second configuration information is the configuration information other than the first configuration information among the multiple configuration information.
[0146] In an embodiment of the present invention, the multiple configuration categories may include: backbone network service configuration category, connection network service configuration category, and edge network service configuration category. The multiple tag information of the multiple second network units may include: bedroom network unit, study network unit, corridor network unit. The first network unit may send the configuration information corresponding to the connection network service configuration category to the bedroom network unit, and send the configuration information corresponding to the edge network service configuration category to the study network unit and the corridor network unit.
[0147] Since the server feeds back virtual domain identification data to the first network unit in this solution, enabling the first network unit to construct a virtual domain, and further enabling multiple second network units in the same network system to join the virtual domain. When the server needs to send configuration information to the network units in the network system, it only needs to send multiple configuration information to the first network unit in the virtual domain, enabling the first network unit to complete the configuration of all network units in the virtual domain, saving time, and thus improving the configuration efficiency of the server for the network units in the FTTR environment.
[0148] In some embodiments, refer to Figure 4 , Figure 4 which is an optional flowchart of the network unit configuration method provided by the embodiment of the present invention, and will be described in combination with each step.
[0149] S301. Send the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain.
[0150] In an embodiment of the present invention, a second network unit sends the virtual domain private key in the second virtual domain identification data to the first network unit in the current virtual domain.
[0151] In an embodiment of the present invention, receive the second virtual domain identification data sent by the server, and the second virtual domain identification data includes: virtual domain identification, virtual domain private key, and tag information.
[0152] S302. After the virtual domain private key matches the virtual domain identification data of the first network element, join the virtual domain to implement communication with the first network element.
[0153] In the embodiment of the present invention, after the virtual domain private key of the second network element matches the virtual domain identification data of the first network element, the second network element joins the virtual domain to implement communication with the first network element.
[0154] In the embodiment of the present invention, the second virtual domain identification data includes: a virtual domain identifier, a virtual domain private key, and label information. After receiving the second virtual domain identification data, the second network element uploads the label information to the first network element.
[0155] S303. Receive the second configuration information sent by the first network element to complete local configuration.
[0156] In the embodiment of the present invention, the second network element receives the second configuration information sent by the first network element to complete local configuration. The second configuration information is sent by the server to the first network element based on a predetermined protocol.
[0157] Since in this solution, the server feeds back the virtual domain identification data to the first network element, enabling the first network element to construct a virtual domain, and further enabling multiple second network elements in the same network system to join the virtual domain. When the server needs to send configuration information to the network elements in this network system, it only needs to send multiple configuration information to the first network element in the virtual domain, enabling the first network element to complete the configuration of all network elements within the virtual domain, saving time and thus improving the configuration efficiency of the server for the network elements in the FTTR environment.
[0158] In some embodiments, refer to Figure 5 , Figure 5 which is the interaction schematic diagram of the network element configuration method provided by the embodiment of the present invention, and will be described in combination with each step.
[0159] S401. The server receives the request information sent by the first network element and finds the corresponding virtual domain identification data based on the request information.
[0160] In the embodiment of the present invention, the implementation process of S401 can refer to S101 and will not be elaborated here one by one.
[0161] S402. The server sends the virtual domain identification data to the first network element for the first network element to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network elements.
[0162] In the embodiment of the present invention, the implementation process of S402 can refer to S102 and will not be elaborated here one by one.
[0163] S403. The server sends the obtained multiple configuration information to the first network element based on a predetermined protocol for the first network element to complete the configuration of the network elements within the virtual domain.
[0164] In the embodiments of the present invention, the implementation process of S403 can refer to S103, which will not be elaborated here one by one.
[0165] See Figure 6 , Figure 6 which is the structural schematic of the network element configuration device provided by the embodiments of the present invention. Figure 1 .
[0166] The embodiments of the present invention further provide a network element configuration device 700, which is applied to a server and includes: a first receiving and searching unit 703 and a first sending unit 704.
[0167] The first receiving and searching unit 703 is configured to receive the request information sent by the first network element and find the corresponding virtual domain identification data based on the request information.
[0168] The first sending unit 704 is configured to send the virtual domain identification data to the first network element based on a predetermined protocol for the first network element to construct a virtual domain based on the virtual domain identification data and establish communication with multiple second network elements; the first network element and the multiple second network elements belong to the same network system.
[0169] The first sending unit 704 is further configured to send the obtained multiple configuration information to the first network element based on a predetermined protocol for the first network element to complete the configuration of the network elements within the virtual domain.
[0170] In the embodiments of the present invention, the first receiving and searching unit 703 in the network element configuration device 700 is configured to receive the first request information sent by the first network element after the first network element completes registration; the first request information carries request identification information; determine the legality detection result of the first network element based on the request identification information; if the legality detection result indicates that the request of the first network element is legal, feedback the detection legal information to the first network element; receive the second request information sent by the first network element and find the corresponding virtual domain identification, virtual domain public key and virtual domain private key based on the authentication information carried in the second request information.
[0171] In the embodiments of the present invention, the network element configuration device 700 is configured to construct the mapping relationship between the first network element and the virtual domain identification and store the mapping relationship in the mapping relationship library; the mapping relationship library stores multiple mapping relationships between multiple first network elements and multiple virtual domain identifications.
[0172] In an embodiment of the present invention, the first sending unit 704 in the network unit configuration device 700 is configured to receive a configuration data packet sent by an automatic configuration end; the configuration data packet includes: the virtual domain identifier and the multiple configuration information; determine the first network unit in the mapping relationship library through the virtual domain identifier, and send the multiple configuration information to the first network unit based on a predetermined protocol.
[0173] In an embodiment of the present invention, the first sending unit 704 in the network unit configuration device 700 is configured to send the virtual domain identifier, the virtual domain public key, and the virtual domain private key to the first network unit.
[0174] In an embodiment of the present invention, the first sending unit 704 in the network unit configuration device 700 is configured to determine, after multiple second network units complete registration, the label information corresponding to each of the multiple second network units based on the user instruction; package the virtual domain identifier, the virtual domain private key, and the label information to form the second virtual domain identifier data corresponding to each of the multiple second network units, and send the corresponding second virtual domain identifier data to each of the multiple second network units.
[0175] In an embodiment of the present invention, the first receiving and searching unit 703 is configured to receive a request message sent by the first network unit and find the corresponding virtual domain identifier data based on the request message; the first sending unit 704 is configured to send the virtual domain identifier data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identifier data and establish communication with multiple second network units; the first sending unit 704 is further configured to send the obtained multiple configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of network units within the virtual domain. Since in this solution, the server feeds back the virtual domain identifier data to the first network unit to enable the first network unit to construct a virtual domain, and further enables multiple second network units in the same network system to join the virtual domain. When the server needs to send configuration information to network units in this network system, it only needs to send the multiple configuration information to the first network unit in the virtual domain to enable the first network unit to complete the configuration of all network units within the virtual domain, saving time and thus improving the configuration efficiency of the server for network units in the FTTR environment.
[0176] It should be noted that in the embodiments of the present invention, if the above network unit configuration method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a network unit configuration device (which can be a personal computer, etc.) to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0177] Correspondingly, the embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method are implemented.
[0178] Correspondingly, the embodiments of the present invention provide a network unit configuration device, including a first memory 702 and a first processor 701. The first memory 702 stores a computer program that can run on the first processor 701. When the first processor 701 executes the program, the steps in the above method are implemented.
[0179] It should be pointed out here that: the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present invention, please refer to the descriptions of the method embodiments of the present invention for understanding.
[0180] It should be noted that Figure 7 is a schematic diagram of a hardware entity of the network unit configuration device provided by the embodiments of the present invention Figure 1 As Figure 7 shown, the hardware entity of the network unit configuration device 700 includes: a first processor 701 and a first memory 702, where;
[0181] The first processor 701 generally controls the overall operation of the network unit configuration device 700.
[0182] The first memory 702 is configured to store instructions and applications executable by the first processor 701, and can also cache data to be processed or already processed by the first processor 701 and each module in the network unit configuration device 700 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by a flash memory (FLASH) or a random access memory (Random Access Memory, RAM).
[0183] See Figure 8 , Figure 8 which is the structural schematic diagram of the network unit configuration device provided by the embodiment of the present invention Figure 2 .
[0184] The embodiment of the present invention further provides a network unit configuration device 800, which is applied to the first network unit and includes: a second sending unit 803, a building unit 804, a matching unit 805, and a second receiving unit 806.
[0185] The second sending unit 803 is configured to send a request message to the server and receive the virtual domain identification data fed back by the server in response to the request message;
[0186] The building unit 804 is configured to build a virtual domain based on the virtual domain identification data, and receive virtual domain private keys respectively sent by a plurality of second network units within the network of the virtual domain;
[0187] The matching unit 805 is configured to add the plurality of second network units to the virtual domain and realize communication with the plurality of second network units if the virtual domain private key matches the virtual domain identification data;
[0188] The second receiving unit 806 is configured to receive a plurality of configuration messages sent by the server based on a predetermined protocol to complete the configuration of the network units within the virtual domain.
[0189] In the embodiment of the present invention, the second sending unit 803 in the network unit configuration device 800 is configured to send a first request message to the server and receive the detection legal information fed back by the server in response to the first request message; the first request message carries request identification information; in response to the detection legal information, send a second request message to the server, and the second request message carries authentication information; receive the virtual domain identification, virtual domain public key, and virtual domain private key fed back by the server in response to the second request message.
[0190] In the embodiment of the present invention, the matching unit 805 in the network unit configuration device 800 is configured to add the plurality of second network units to the virtual domain if the virtual domain private key matches the virtual domain public key.
[0191] In an embodiment of the present invention, a second receiving unit 803 in a network unit configuration device 800 is configured to receive multiple configuration information sent by the server based on a predetermined protocol, classify the multiple configuration information according to a predetermined rule to obtain multiple configuration categories; configure the first configuration information belonging to the backbone network category among the multiple configuration information locally; and send multiple second configuration information to corresponding second network units respectively according to the correspondence between the multiple configuration categories and multiple tag information; the multiple tag information is tag information uploaded by the multiple second network units; and the multiple second configuration information is the configuration information other than the first configuration information among the multiple configuration information.
[0192] In an embodiment of the present invention, a second sending unit 803 is configured to send a request message to the server and receive virtual domain identification data fed back by the server in response to the request message; a construction unit 804 is configured to construct a virtual domain based on the virtual domain identification data and receive virtual domain private keys respectively sent by multiple second network units within the virtual domain network; a matching unit 805 is configured to, if the virtual domain private key matches the virtual domain identification data, add the multiple second network units to the virtual domain to implement communication with the multiple second network units; and a second receiving unit 806 is configured to receive multiple configuration information sent by the server to complete the configuration of network units within the virtual domain. Since the server feeds back virtual domain identification data to the first network unit in this solution, enabling the first network unit to construct a virtual domain, and further enabling multiple second network units in the same network system to join the virtual domain. When the server needs to send configuration information to network units in this network system, it only needs to send multiple configuration information to the first network unit in the virtual domain, enabling the first network unit to complete the configuration of all network units within the virtual domain, saving time and thereby improving the configuration efficiency of the server for network units in the FTTR environment.
[0193] Correspondingly, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are implemented.
[0194] Correspondingly, an embodiment of the present invention provides a network unit configuration device, including a second memory 802 and a second processor 801. The second memory 802 stores a computer program that can run on the second processor 801, and when the second processor 801 executes the program, the steps in the above method are implemented.
[0195] It should be noted here that the descriptions of the above storage medium and device embodiments are similar to those of the above method embodiments and have similar beneficial effects to the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present invention, please refer to the descriptions of the method embodiments of the present invention for understanding.
[0196] It should be noted that Figure 9 is a schematic diagram of a hardware entity of a network unit configuration device provided by an embodiment of the present invention Figure 2 , such as Figure 9 shown, the hardware entity of the network unit configuration device 800 includes: a second processor 801 and a second memory 802, wherein;
[0197] The second processor 801 generally controls the overall operation of the network unit configuration device 800.
[0198] The second memory 802 is configured to store instructions and applications executable by the second processor 801, and can also cache data to be processed or already processed by the second processor 801 and each module in the network unit configuration device 800 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0199] See Figure 10 , Figure 10 is a schematic structural diagram of a network unit configuration device provided by an embodiment of the present invention Figure 3 .
[0200] An embodiment of the present invention provides a network unit configuration device 900, which is applied to a second network unit, and the second network unit belongs to multiple second network units, including: a third sending unit 903, a network communication unit 904, and a third receiving unit 905.
[0201] The third sending unit 903 is configured to send the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain;
[0202] The network communication unit 904 is configured to join the virtual domain after the virtual domain private key matches the virtual domain identification data of the first network unit, so as to implement communication with the first network unit;
[0203] The third receiving unit 905 is configured to receive the second configuration information sent by the first network unit to complete local configuration; the second configuration information is sent by the server to the first network unit based on a predetermined protocol.
[0204] In an embodiment of the present invention, a third receiving unit 9055 in a network element configuration device 900 is configured to receive the second virtual domain identification data sent by a server, where the second virtual domain identification data includes: a virtual domain identifier, a virtual domain private key, and tag information; and upload the tag information to the first network element.
[0205] Correspondingly, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method are implemented.
[0206] Correspondingly, an embodiment of the present invention provides a network element configuration device, including a third memory 902 and a third processor 901. The third memory 902 stores a computer program that can run on the third processor 901. When the third processor 901 executes the program, the steps in the above method are implemented.
[0207] It should be noted here that the descriptions of the above storage medium and device embodiments are similar to those of the above method embodiments and have similar beneficial effects to the method embodiments. For technical details not disclosed in the storage medium and device embodiments of the present invention, please refer to the descriptions of the method embodiments of the present invention for understanding.
[0208] It should be noted that Figure 11 is a schematic diagram of a hardware entity of a network element configuration device provided in an embodiment of the present invention Figure 3 , as Figure 11 shown, the hardware entity of the network element configuration device 900 includes: a third processor 901 and a third memory 902, where;
[0209] The third processor 901 generally controls the overall operation of the network element configuration device 900.
[0210] The third memory 902 is configured to store instructions and applications executable by the third processor 901, and can also cache data to be processed or already processed by the third processor 901 and each module in the network element configuration device 900 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0211] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the magnitude of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention. The serial numbers of the embodiments of the present invention above are only for description and do not represent the advantages and disadvantages of the embodiments.
[0212] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, the element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0213] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling or communication connection between the components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0214] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0215] In addition, each functional unit in the embodiments of the present invention can be all integrated in one processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit; the above integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0216] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including those of the above method embodiments; and the foregoing storage medium includes: various media that can store program codes, such as a removable storage device, a read-only memory (ROM), a magnetic disk, or an optical disc.
[0217] Alternatively, if the above integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence or the part that contributes to the related art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. And the foregoing storage medium includes: various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disc.
[0218] As described above, the above are only the implementation manners of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A network unit configuration method, characterized in that, Applied to a server, including: Receiving request information sent by a first network unit, and finding corresponding virtual domain identification data based on the request information; Sending the virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and add multiple second network units to the virtual domain, so as to establish communication with the multiple second network units; the first network unit and the multiple second network units belong to the same network system; Sending multiple obtained configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of network units within the virtual domain.
2. The network element configuration method according to claim 1, wherein The step of receiving request information sent by the first network unit and finding corresponding virtual domain identification data based on the request information includes: Receiving first request information sent by the first network unit after the first network unit completes registration; the first request information carries request identification information; Determining a legality detection result of the first network unit based on the request identification information; If the legality detection result indicates that the request of the first network unit is legal, then feedbacking legal detection information to the first network unit; Receiving second request information sent by the first network unit, and finding corresponding virtual domain identification, virtual domain public key and virtual domain private key based on authentication information carried in the second request information.
3. The network element configuration method according to claim 2, wherein After receiving the second request information sent by the first network unit and finding corresponding virtual domain identification, virtual domain public key and virtual domain private key based on authentication information carried in the second request information, the method further includes: Constructing a mapping relationship between the first network unit and the virtual domain identification, and storing the mapping relationship in a mapping relationship library; the mapping relationship library stores multiple mapping relationships between multiple first network units and multiple virtual domain identifications.
4. The network element configuration method according to claim 3, wherein The step of sending multiple obtained configuration information to the first network unit based on a predetermined protocol includes: Receiving a configuration data packet sent by an automatic configuration end; the configuration data packet includes: the virtual domain identification and the multiple configuration information; Determining the first network unit in the mapping relationship library through the virtual domain identification, and sending the multiple configuration information to the first network unit based on the predetermined protocol.
5. The network element configuration method according to claim 2, wherein The step of sending the virtual domain identification data to the first network unit includes: Sending the virtual domain identification, the virtual domain public key and the virtual domain private key to the first network unit.
6. The network element configuration method according to claim 1, wherein The method further includes: After the multiple second network units complete registration, determining label information corresponding to each of the multiple second network units based on a user instruction; Packing the virtual domain identification, the virtual domain private key and the label information to form second virtual domain identification data corresponding to each of the multiple second network units, and sending the corresponding second virtual domain identification data to each of the multiple second network units.
7. A network element configuration method, characterized in that Applied to a first network unit, including: Sending request information to a server, and receiving virtual domain identification data feedback by the server in response to the request information; Construct a virtual domain based on the virtual domain identification data, and receive virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain; If the virtual domain private key matches the virtual domain identification data, add the multiple second network units to the virtual domain to implement communication with the multiple second network units; Receive multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of network units within the virtual domain.
8. The network element configuration method according to claim 7, wherein The sending a request message to the server and receiving virtual domain identification data fed back by the server in response to the request message includes: Send a first request message to the server and receive detection legal information fed back by the server in response to the first request message; the first request message carries request identification information; In response to the detection legal information, send a second request message to the server, and the second request message carries authentication information; Receive the virtual domain identification, virtual domain public key and virtual domain private key fed back by the server in response to the second request message; The if the virtual domain private key matches the virtual domain identification data, adding the multiple second network units to the virtual domain includes: If the virtual domain private key matches the virtual domain public key, add the multiple second network units to the virtual domain.
9. The network element configuration method according to claim 8, characterized in that, The receiving multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of network units within the virtual domain includes: Receive multiple configuration information sent by the server based on the predetermined protocol, and classify the multiple configuration information according to a predetermined rule to obtain multiple configuration categories; Configure the first configuration information belonging to the backbone network category among the multiple configuration information locally; Send multiple second configuration information to corresponding second network units respectively according to the corresponding relationship between the multiple configuration categories and multiple tag information; the multiple tag information is tag information uploaded by the multiple second network units; the multiple second configuration information is the configuration information other than the first configuration information among the multiple configuration information.
10. A method for configuring a network element, characterized in that, Applied to a second network unit, the second network unit belongs to multiple second network units, and includes: Send the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain; After the virtual domain private key matches the virtual domain identification data of the first network unit, join the virtual domain to implement communication with the first network unit; Receive the second configuration information sent by the first network unit to complete local configuration; the second configuration information is sent by the server to the first network unit based on a predetermined protocol.
11. The network element configuration method according to claim 10, wherein Before the sending the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain, the method further includes: Receive the second virtual domain identification data sent by the server, and the second virtual domain identification data includes: virtual domain identification, virtual domain private key and tag information; After matching the virtual domain private key with the virtual domain identification data of the first network unit and joining the virtual domain to communicate with the first network unit, before receiving the second configuration information sent by the first network unit to complete local configuration, the method further includes: Uploading the tag information to the first network unit.
12. A network unit configuration device, characterized in that, Applied to a server, it includes: A first receiving and searching unit, configured to receive request information sent by a first network unit and search for corresponding virtual domain identification data based on the request information; A first sending unit, configured to send the virtual domain identification data to the first network unit for the first network unit to construct a virtual domain based on the virtual domain identification data and add multiple second network units to the virtual domain to establish communication with the multiple second network units; the first network unit and the multiple second network units belong to the same network system; The first sending unit is further configured to send the obtained multiple configuration information to the first network unit based on a predetermined protocol for the first network unit to complete the configuration of the network units within the virtual domain.
13. A network unit configuration device, characterized in that, Applied to a first network unit, it includes: A second sending unit, configured to send request information to a server and receive the virtual domain identification data fed back by the server in response to the request information; A constructing unit, configured to construct a virtual domain based on the virtual domain identification data and receive virtual domain private keys respectively sent by multiple second network units within the network of the virtual domain; A matching unit, configured to, if the virtual domain private key matches the virtual domain identification data, add the multiple second network units to the virtual domain to establish communication with the multiple second network units; A second receiving unit, configured to receive the multiple configuration information sent by the server based on a predetermined protocol to complete the configuration of the network units within the virtual domain.
14. A network element configuration device, characterized in that, Applied to a second network unit, the second network unit belongs to the multiple second network units, and it includes: A third sending unit, configured to send the virtual domain private key in the received second virtual domain identification data to the first network unit in the current virtual domain; A network communication unit, configured to join the virtual domain to establish communication with the first network unit after the virtual domain private key matches the virtual domain identification data of the first network unit; A third receiving unit, configured to receive the second configuration information sent by the first network unit to complete local configuration; the second configuration information is sent by the server to the first network unit based on a predetermined protocol.
15. A network element configuration device, characterized in that, It includes a first memory and a first processor, the first memory stores a computer program that can run on the first processor, and when the first processor executes the program, it implements the steps in the method according to any one of claims 1 to 6.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the first processor, it implements the steps in the method according to any one of claims 1 to 6.
17. A network element configuration device, characterized in that, It includes a second memory and a second processor, the second memory stores a computer program that can run on the second processor, and when the second processor executes the program, it implements the steps in the method according to any one of claims 7 to 9.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a second processor, it implements the steps in the method according to any one of claims 7 to 9.
19. A network unit configuration device, characterized in that, It includes a third memory and a third processor. The third memory stores a computer program that can run on the third processor. When the third processor executes the program, it implements the steps in the method according to claim 10 or 11.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a third processor, it implements the steps in the method according to claim 10 or 11.
Citation Information
Patent Citations
Method and device for managing optical network unit, electronic equipment and storage medium
CN113141550A
Management method, system and device, electronic equipment and storage medium
CN113423029A