CN115834373A - Network unit configuration method, device and storage medium - Google Patents

Network unit configuration method, device and storage medium Download PDF

Info

Publication number
CN115834373A
CN115834373A CN202211476719.3A CN202211476719A CN115834373A CN 115834373 A CN115834373 A CN 115834373A CN 202211476719 A CN202211476719 A CN 202211476719A CN 115834373 A CN115834373 A CN 115834373A
Authority
CN
China
Prior art keywords
virtual domain
network
configuration
network unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211476719.3A
Other languages
Chinese (zh)
Inventor
张志豪
邓依林
刘雪晴
鄂婉云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN202211476719.3A priority Critical patent/CN115834373A/en
Publication of CN115834373A publication Critical patent/CN115834373A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network unit configuration method, a device and a storage medium, wherein the method comprises the following steps: receiving request information sent by a first network unit, and searching corresponding virtual domain identification data based on the request information; sending virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units; the first network unit and the plurality of second network units belong to the same network system; and sending the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain. The configuration efficiency of the server to the network unit in the FTTR environment is improved.

Description

Network unit configuration method, device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of optical network communication, in particular to a network unit configuration method, a network unit configuration device and a storage medium.
Background
With The popularization of Fiber To The Home (FTTR) networking framework, more and more Home Gateway Units (HGUs) will enter thousands of households, and a large number of HGU devices bring great test To management. In the FTTR environment, one user may place multiple HGUs of the same type at home for increased bandwidth usage. In The related art, if The HGU is configured by one server in The same scheme as in a Fiber To The Home (FTTH) environment, the redundancy is very complicated, and The HGU configuration efficiency of The server is low.
Disclosure of Invention
The network unit configuration method, the network unit configuration device and the storage medium provided by the embodiment of the invention can improve the configuration efficiency of a server to an HGU in an FTTR environment.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a network unit configuration method, which is applied to a server and comprises the following steps:
receiving request information sent by a first network unit, and searching corresponding virtual domain identification data based on the request information;
sending the virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units; the first network element and the plurality of second network elements belong to the same network system;
and sending the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain.
In the foregoing solution, the receiving request information sent by a first network element, 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 validity detection result of the first network element based on the request identification information;
if the legality detection result represents that the first network unit requests legality, feeding back detection legality information to the first network unit;
and receiving second request information sent by the first network unit, and searching the corresponding virtual domain identifier, the virtual domain public key and the virtual domain private key based on authentication information carried in the second request information.
In the above solution, after receiving the second request information sent by the first network element and searching 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:
constructing a mapping relation between the first network unit and the virtual domain identifier, and storing the mapping relation in a mapping relation library; the mapping relation library stores a plurality of mapping relations between a plurality of first network elements and a plurality of virtual domain identifications.
In the foregoing solution, the sending the acquired multiple pieces of configuration information to the first network element includes:
receiving a configuration data packet sent by an automatic configuration end; the configuration data packet comprises: the virtual domain identifier and the plurality of configuration information;
and determining the first network unit in the mapping relation library through the virtual domain identifier, and sending the plurality of configuration information to the first network unit based on the predetermined protocol.
In the foregoing solution, the sending the virtual domain identification data to the first network element includes:
and sending the virtual domain identifier, the virtual domain public key and the virtual domain private key to the first network unit.
In the above scheme, the method further comprises:
after the second network units complete registration, determining label information corresponding to the second network units respectively based on a user instruction;
and packaging the virtual domain identifier, the virtual domain private key and the label information to form second virtual domain identifier data respectively corresponding to the plurality of second network units, and respectively sending the corresponding second virtual domain identifier data to the plurality of second network units.
The embodiment of the invention also provides a network unit configuration method, which is applied to the first network unit and comprises the following steps:
sending request information to a server, and receiving virtual domain identification data fed back by the server in response to the request information;
constructing a virtual domain based on the virtual domain identification data, and receiving virtual domain private keys respectively sent by a plurality of second network units in a network of the virtual domain;
if the virtual domain private key is matched with the virtual domain identification data, adding the plurality of second network units into the virtual domain to realize communication with the plurality of second network units;
and receiving a plurality of configuration information sent by the server based on a predetermined protocol to complete the configuration of the network unit in the virtual domain.
In the foregoing solution, the sending request information to a server and receiving virtual domain identifier data fed back by the server in response to the request information includes:
sending first request information to the server, and receiving detection legal information fed back by the server in response to the first request information; the first request information carries request identification information;
responding to the detection legal information, and sending second request information to the server, wherein the second request information carries authentication information;
receiving a virtual domain identifier, a virtual domain public key and a virtual domain private key which are fed back by the server in response to the second request information;
if the virtual domain private key matches the virtual domain identification data, adding the plurality of second network elements to the virtual domain, including:
and if the virtual domain private key is matched with the virtual domain public key, adding the plurality of second network units into the virtual domain.
In the foregoing solution, the receiving, based on a predetermined protocol, a plurality of configuration information sent by the server to complete configuration of a network element in the virtual domain includes:
receiving a plurality of configuration information sent by the server based on the predetermined protocol, and classifying the plurality of configuration information according to a predetermined rule to obtain a plurality of configuration categories;
configuring first configuration information belonging to the backbone network category in the plurality of configuration information locally;
the plurality of second configuration information is respectively sent to the corresponding second network units according to the corresponding relation between the plurality of configuration categories and the plurality of label information; the plurality of label information are the label information uploaded by the plurality of second network units; the second configuration information is configuration information except the first configuration information in the configuration information.
The embodiment of the present invention further provides a network element configuration method, which is applied to a second network element, where the second network element belongs to multiple second network elements, and the method includes:
sending 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 is matched with the virtual domain identification data of the first network unit, adding the virtual domain to realize communication with the first network unit;
receiving 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 element based on a predetermined protocol.
In the above solution, before sending the virtual domain private key in the received second virtual domain identification data to the first network element in the current virtual domain, the method further includes:
receiving the second virtual domain identification data sent by the server, where the second virtual domain identification data includes: a virtual domain identifier, a virtual domain private key and label information;
after the virtual domain private key is matched with the virtual domain identification data of the first network element, the virtual domain is added, communication with the first network element is realized, and before local configuration is completed by receiving second configuration information sent by the first network element, the method further includes:
and uploading the label information to the first network unit.
The embodiment of the invention also provides a network unit configuration device, which is applied to a server and comprises the following steps:
the first receiving and searching unit is used for receiving the request information sent by the first network unit and searching the 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, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with multiple second network units; the first network element and the plurality of second network elements belong to the same network system;
the first sending unit is further configured to send the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit completes configuration of the network unit in the virtual domain.
The embodiment of the present invention further provides a network unit configuration device, which is applied to a first network unit, and includes:
a second sending unit, configured to send request information to a server, and receive virtual domain identification data fed back by the server in response to the request information;
the construction unit is used for constructing a virtual domain based on the virtual domain identification data and receiving virtual domain private keys respectively sent by a plurality of second network units in a network of the virtual domain;
the matching unit is used for adding the plurality of second network units into the virtual domain to realize communication with the plurality of second network units if the virtual domain private key is matched with the virtual domain identification data;
and the second receiving unit is used for receiving a plurality of configuration information sent by the server based on a predetermined protocol so as to complete the configuration of the network unit in the virtual domain.
An embodiment of the present invention further provides a network element configuration device, which is applied to a second network element, where the second network element belongs to multiple second network elements, and the network element configuration device 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;
the network communication unit is used for adding the virtual domain after the virtual domain private key is matched with the virtual domain identification data of the first network unit, and realizing communication with the first network unit;
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 element based on a predetermined protocol.
The embodiment of the present invention further provides a network element configuration apparatus, which includes a first memory and a first processor, where the first memory stores a computer program that can be executed on the first processor, and the first processor implements the steps in the method on the server side when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a first processor, implements the steps in the method on the server side.
The embodiment of the invention also provides a network unit configuration device, which comprises a second memory and a second processor, wherein the second memory stores a computer program capable of running on the second processor, and the second processor executes the program to realize the steps of the method at the side of the first network unit.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by the second processor, implements the steps in the method on the first network element side.
The embodiment of the present invention further provides a network element configuration apparatus, which includes a third memory and a third processor, where the third memory stores a computer program that can be run on the third processor, and the third processor implements the steps in the method on the second network element side when executing the program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a third processor, implements the steps in the method on the second network element side.
In the embodiment of the invention, request information sent by a first network unit is received, and corresponding virtual domain identification data is searched based on the request information; sending virtual domain identification data to a first network unit, so that the first network unit can construct a virtual domain based on the virtual domain identification data and establish communication with a plurality of second network units; the first network unit and the plurality of second network units belong to the same network system; and sending the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain. In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
Drawings
Fig. 1 is an alternative flow chart of a network element configuration method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an optional effect of the network element configuration method according to an embodiment of the present invention;
fig. 3 is an alternative flow chart of a network element configuration method according to an embodiment of the present invention;
fig. 4 is an alternative flowchart of a network element configuration method according to an embodiment of the present invention;
fig. 5 is an interaction diagram of a network element configuration method according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a network element configuration device according to an embodiment of the present invention;
fig. 7 is a first diagram illustrating a hardware entity of the network element configuration apparatus according to an embodiment of the present invention;
fig. 8 is a second schematic structural diagram of a network element configuration device according to an embodiment of the present invention;
fig. 9 is a hardware entity diagram of a network element configuration apparatus according to an embodiment of the present invention;
fig. 10 is a third schematic structural diagram of a network unit configuration device according to an embodiment of the present invention;
fig. 11 is a hardware entity diagram of a network element configuration apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention are further elaborated with reference to the drawings and the embodiments, which are not to be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
The following description will be added if similar descriptions of "first/second" appear in the invention document, and in the following description, reference is made to the term "first \ second \ third" merely to distinguish similar objects and not to represent a particular ordering for the objects, and it is to be understood that "first \ second \ third" may be interchanged under certain circumstances or the order of precedence so that embodiments of the invention described herein can be practiced in other than the order illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Referring to fig. 1, a schematic flow chart of an alternative method for configuring a network element according to an embodiment of the present invention will be described with reference to the steps shown in fig. 1.
S101, receiving request information sent by a first network unit, and searching corresponding virtual domain identification data based on the request information.
In the embodiment of the 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.
In the 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.
In an embodiment of the present invention, the server may include an Optical Line Terminal (OLT). The first network element may comprise: a Home Gateway Unit (HGU). The first Network Unit may also be other Optical Network devices such as an Optical Network Unit (ONU).
In the embodiment of the present invention, the request information sent by the first network element carries the request identifier. And after confirming that the request of the first network unit is legal according to the request identifier, the server authenticates the first network unit to determine the corresponding virtual domain identifier data.
In this embodiment of the present invention, the completion of the registration by the first network unit may refer to the completion of a registration process of a single fiber bidirectional system (PON technology, PON) system by the first network unit. Exemplary, may include: the first network unit sends a registration request frame to the OLT. And after receiving the registration request frame, the OLT processes the registration request frame 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.
Wherein the virtual domain identification data may include: the first network unit corresponds to the virtual domain identifier, the virtual domain public key and the virtual domain private key of the virtual domain.
S102, virtual domain identification data are sent to the first network unit, so that the first network unit can construct a virtual domain based on the virtual domain identification data and establish communication with a plurality of second network units.
In the embodiment of the invention, the server sends the virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units. Wherein the first network element and the plurality of second network elements belong to the same network system.
In the embodiment of the invention, the server receives the virtual domain identification data and then creates the virtual domain in a certain range according to the virtual domain identification data.
In the embodiment of the invention, the server sends the virtual domain identifier, the virtual domain public key and the virtual domain private key to the first network unit.
In the embodiment of the invention, after the plurality of second network units complete registration, the server respectively sends the corresponding second virtual domain identification data to the plurality of second network units based on the user instruction, so that the plurality of second network units add the virtual domain according to the second virtual domain identification data to realize communication with the first network unit. The first network element may communicate with the second network element based on a Virtual Remote Control Protocol (VRCP).
In the embodiment of the present invention, the first network unit and the plurality of second network units may belong to a network system in the same home, or may belong to a network system in a certain area.
In this 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 second network unit completing the registration refers to the second network unit completing the registration process of the PON system.
In this embodiment of the present invention, the second virtual domain identification data may include: label information corresponding to the second network element, the virtual domain identifier and the virtual domain private key. The second network unit can match the virtual domain public key of the virtual domain constructed by the current first network unit through the virtual domain private key, and if the matching is successful, the first network unit adds the second network unit into the virtual domain, so that the communication between the first network unit and the plurality of second network units is realized. S103, sending the acquired configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain.
In the embodiment of the invention, the server sends the acquired plurality of configuration information to the first network unit based on the predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain.
In the embodiment of the invention, because the first network unit and the plurality of second network units belong to the same virtual domain, communication can be carried out between the network units. After receiving the configuration information, the first network element may send the configuration information corresponding to each second network element to the corresponding second network element, so as to complete the configuration of all network elements in the virtual domain.
In this embodiment of the present invention, the Server may receive a plurality of Configuration information of the virtual domain corresponding to the first network element, where the Configuration information is sent by an Auto-Configuration Server (ACS).
The configuration information may include backbone network service configuration information, connection network service configuration information, and edge network service configuration information. Illustratively, the respective configuration information may include: channel on/off status, channel priority, channel bandwidth allocation, etc.
For example, referring to fig. 2, after the main HGU completes registration on the OLT, the OLT sends the virtual domain identifier, the virtual domain public key, and the virtual domain private key to the main HGU. After other slave HGUs complete registration on the OLT, corresponding virtual domain identifications and virtual domain private keys are distributed. Each slave HGU is also tagged with a role (living room HGU, bedroom HGU, study HGU, corridor HGU). The slave HGU needs to use a private key to match the public key of the current virtual domain, and the matched virtual domain can be automatically added into the master HGU. When the main HGU is on line with the ACS server through the TR-069 protocol, a plurality of configuration information sent by the OLT can be received at any time. The OLT issues a plurality of configuration information to the main HGU, and the main HGU divides the plurality of configuration information into several types, including a backbone network service, a connection network service and an edge network service. The main HGU synchronizes a plurality of configuration information to each slave HGU in the domain through the virtual domain, the main network service configuration information is synchronously issued to the living room HGU, the connection network service configuration information is issued to the corridor HGU, and the edge network service is issued to the bedroom HGU, the study HGU and the like. The configuration result of each slave HGU is also fed back to the master HGU through the virtual domain. And after the master HGU summarizes the configuration result fed back by the slave HGU, reporting the configuration result to the OLT.
Wherein the predetermined protocol may be a TR-069 protocol. TR-069 defines a mechanism for safe automatic configuration and management, realizes the fault diagnosis function of providing configuration and dynamic service for remote terminal equipment, managing software and firmware mirror images, monitoring state and performance, saves a large amount of manpower and material resources and operation and maintenance cost for terminal management of an operator, and can enable the operator to really realize zero-contact service configuration. In the embodiment of the invention, the TR-069 protocol is configured on the first network unit and is mainly used for the first network unit to acquire a plurality of configuration information from the ACS server through the server.
In the embodiment of the invention, request information sent by a first network unit is received, and corresponding virtual domain identification data is searched based on the request information; sending virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units; the first network unit and the plurality of second network units belong to the same network system; and sending the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain. In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
S101 shown in fig. 1 can also be realized by S105 to S108, and will be described with reference to the respective steps.
S104, 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.
In the embodiment of the invention, a server receives first request information sent by a first network unit after the first network unit completes registration; the first request information carries request identification information.
The request identification information may be a virtual domain Identity identification number (ID) corresponding to the first network element.
S105, determining the validity detection result of the first network unit based on the request identification information.
In the embodiment of the invention, the server determines the validity detection result of the first network unit based on the request identification information.
In the embodiment of the invention, the server locally stores the virtual domain identifications, accounts and passwords, the virtual domain private keys, the virtual domain public keys and other basic attributes corresponding to a plurality of virtual domains.
In the embodiment of the invention, the server analyzes the first request information to obtain the request identification information. The server searches a table of mapping relations between a plurality of virtual domains and corresponding virtual domain identifiers stored in the server by using the request identifier information as an index, so as to judge whether the first request information of the first network unit is legal or not. When the request identification information is searched in the mapping relation table of the created virtual domain, judging that the first request information is legal; in the case where the request identification information is not searched in the mapping relationship table in which the virtual domain has been created, it is determined that the first request information is illegal.
And S106, if the legality detection result represents that the first network unit requests legality, feeding back detection legality information to the first network unit.
In the embodiment of the invention, if the legality detection result represents that the first network unit requests legality, the server feeds back the detection legality information to the first network unit.
S107, receiving second request information sent by the first network unit, and searching the corresponding virtual domain identifier, the virtual domain public key and the virtual domain private key based on authentication information carried in the second request information.
In the embodiment of the invention, the server receives the second request information sent by the first network unit, and finds the corresponding virtual domain identifier, the virtual domain public key and the virtual domain private key based on the authentication information carried in the second request information.
In the embodiment of the invention, the first network unit sends the second request information carrying the account and the password of the virtual domain to be accessed to the server. The server analyzes the second request information, obtains the account and the password, takes the account and the password as indexes, and searches in a table storing the corresponding relation between the created virtual domain and the account and the password to obtain an authentication result. And searching the account and the password in the corresponding relation table in which the account and the password of the created virtual domain are stored, wherein the authentication result is that the authentication is successful, and sending the virtual domain identifier, the virtual domain private key and the virtual domain public key corresponding to the virtual domain to the first network unit.
In the embodiment of the invention, a server constructs the mapping relation between a first network unit and a virtual domain identifier, and stores the mapping relation in a mapping relation library; the mapping relation library stores a plurality of mapping relations between the plurality of first network elements and the plurality of virtual domain identifications.
In the embodiment of the invention, the server sends the virtual domain identifier, the virtual domain private key and the virtual domain public key to the first network unit, so that the first network unit can construct the virtual domain, the communication among all network units in the virtual domain is realized, and when the server needs to configure the network units in the virtual domain, the server only needs to send the configuration information to the first network unit, thereby saving the configuration time and improving the efficiency.
The implementation of S108 to S109 may also be included between S102 to S103 shown in fig. 1, and will be described with reference to each step.
And S108, after the plurality of second network units are registered, determining label information corresponding to the plurality of second network units respectively based on the user instruction.
In the embodiment of the invention, after the registration of the plurality of second network units is completed, the server determines the label information corresponding to each of the plurality of second network units based on the user instruction.
In this embodiment of the present invention, a user configures, at a server, tag information corresponding to each of a plurality of second network elements, where the tag information may include: a living room network unit, a bedroom network unit, a study room network unit and a corridor network unit.
S109, the virtual domain identifier, the virtual domain private key and the label information are packaged to form second virtual domain identifier data corresponding to the plurality of second network units respectively, and the corresponding second virtual domain identifier data are sent to the plurality of second network units respectively.
In the embodiment of the invention, the server packages the virtual domain identifier, the virtual domain private key and the label information based on the user instruction to form second virtual domain identifier data respectively corresponding to a plurality of second network units, and respectively sends the corresponding second virtual domain identifier data to the plurality of second network units.
In the embodiment of the invention, the server sends the private key of the virtual domain corresponding to the virtual domain to the second network unit, so that the second network unit can join the corresponding virtual domain to realize the communication with the first network unit.
S103 shown in fig. 1 can also be realized by S110 to S111, and will be described with reference to each step.
S110, receiving a configuration data packet sent by an automatic configuration end; the configuration data packet includes: a virtual domain identification and a plurality of configuration information.
In the embodiment of the invention, a server receives a configuration data packet sent by an automatic configuration end; the configuration data packet includes: a virtual domain identification and a plurality of configuration information.
S111, determining a first network unit in the mapping relation library through the virtual domain identifier, and sending a plurality of configuration information to the first network unit based on a predetermined protocol.
In the embodiment of the invention, the server determines the first network unit in the mapping relation library through the virtual domain identifier and sends a plurality of pieces of configuration information to the first network unit based on the preset protocol.
In the embodiment of the invention, the server can search the first network unit corresponding to each configuration data packet through the constructed mapping relation library, so that accurate configuration is realized.
In some embodiments, referring to fig. 3, fig. 3 is an optional flowchart of a network element configuration method according to an embodiment of the present invention, and the description is given with reference to each step.
S201, sending request information to a server, and receiving virtual domain identification data fed back by the server responding to the request information.
In the embodiment of the invention, the first network unit sends request information to the server and receives virtual domain identification data fed back by the server responding to the request information.
In the embodiment of the 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 responds to the detection legal information and sends second request information to the server, wherein the second request information carries authentication information; and the first network unit receives the virtual domain identifier, the virtual domain public key and the virtual domain private key which are fed back by the server in response to the second request information.
S202, a virtual domain is constructed based on the virtual domain identification data, and virtual domain private keys respectively sent by a plurality of second network units are received in a network of the virtual domain.
In the embodiment of the invention, the first network unit constructs the virtual domain based on the virtual domain identification data, and receives the virtual domain private keys respectively sent by the plurality of second network units in the network of the virtual domain.
In the embodiment of the present invention, after the first network element constructs the virtual domain, the second network element may send the virtual domain private key issued by the server to the first network element in the current corresponding virtual domain.
S203, if the private key of the virtual domain is matched with the identification data of the virtual domain, adding a plurality of second network units into the virtual domain to realize communication with the plurality of second network units.
In the embodiment of the invention, if the private key of the virtual domain is matched with the identification data of the virtual domain, the first network unit adds the second network units into the virtual domain to realize the communication with the second network units.
In the embodiment of the invention, if the virtual domain private key is matched with the virtual domain public key, the first network unit adds the second network units into the virtual domain to realize communication with the second network units.
S204, a plurality of configuration information sent by the server is received based on a predetermined protocol, so as to complete the configuration of the network unit in the virtual domain.
In the embodiment of the invention, the first network unit receives a plurality of configuration information sent by the server based on a predetermined protocol so as to complete the configuration of the network unit in the virtual domain.
In the embodiment of the invention, a first network unit receives a plurality of configuration information sent by a server based on a predetermined protocol, and classifies the plurality of configuration information according to a predetermined rule to obtain a plurality of configuration categories; the first network unit locally configures first configuration information belonging to the backbone network category in the plurality of configuration information; the first network unit sends the plurality of second configuration information to the corresponding second network units respectively according to the corresponding relation between the plurality of configuration categories and the plurality of label information; the plurality of label information is the label information uploaded by the plurality of second network units; the plurality of second configuration information is configuration information other than the first configuration information in the plurality of configuration information.
In this embodiment of the present invention, the plurality of configuration categories may include: a backbone network traffic configuration class, a connection network traffic configuration class, and an edge network traffic configuration class. The plurality of tag information of the plurality of second network elements may include: bedroom network element, study room network element, corridor network element. The first network unit may send the configuration information corresponding to the connection network service configuration type to the bedroom network unit, and send the configuration information corresponding to the edge network service configuration type to the study room network unit and the corridor network unit.
In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
In some embodiments, referring to fig. 4, fig. 4 is an optional flowchart of a network element configuration method according to an embodiment of the present invention, and the description is made in conjunction with the steps.
S301, the received private key of the virtual domain in the second virtual domain identification data is sent to the first network unit in the current virtual domain.
In the embodiment of the invention, the second network unit sends the private key of the virtual domain in the second virtual domain identification data to the first network unit in the current virtual domain.
In this embodiment of the present invention, receiving second virtual domain identification data sent by a server, where the second virtual domain identification data includes: a virtual domain identification, a virtual domain private key, and label information.
S302, after the private key of the virtual domain is matched with the identification data of the virtual domain of the first network unit, the private key of the virtual domain is added into the virtual domain to realize the communication with the first network unit.
In the embodiment of the invention, the second network unit is added into the virtual domain after the private key of the virtual domain is matched with the virtual domain identification data of the first network unit, so as to realize the communication with the first network unit.
In this embodiment of the present invention, the second virtual domain identification data includes: a virtual domain identification, a virtual domain private key, and label information. And the second network unit uploads the label information to the first network unit after receiving the second virtual domain identification data.
S303, receiving the second configuration information sent by the first network element to complete local configuration.
In the embodiment of the present invention, the second network unit receives the second configuration information sent by the first network unit to complete the local configuration. The second configuration information is sent by the server to the first network element based on a predetermined protocol.
In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
In some embodiments, referring to fig. 5, fig. 5 is an interaction schematic diagram of a network element configuration method provided in an embodiment of the present invention, which is described with reference to steps.
S401, the server receives the request information sent by the first network unit, and searches the corresponding virtual domain identification data based on the request information.
In the embodiment of the present invention, the implementation process of S401 may refer to S101, which is not described herein.
S402, the server sends virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units.
In the embodiment of the present invention, the implementation process of S402 may refer to S102, which is not described herein.
S403, the server sends the acquired multiple pieces of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain.
In the embodiment of the present invention, reference may be made to S103 in the implementation process of S403, which is not described herein.
Referring to fig. 6, fig. 6 is a first schematic structural diagram of a network unit configuration device according to an embodiment of the present invention.
The embodiment of the present invention further provides a network element configuration apparatus 700, which is applied to a server, and includes: a first reception look-up unit 703 and a first transmission unit 704.
A first receiving and searching unit 703, 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 704, configured to send the virtual domain identification data to the first network unit based on a predetermined protocol, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with multiple second network units; the first network element and the plurality of second network elements belong to the same network system;
the first sending unit 704 is further configured to send the obtained multiple pieces of configuration information to the first network unit based on a predetermined protocol, so that the first network unit completes configuration of the network unit in the virtual domain.
In this embodiment of the present invention, a first receiving and searching unit 703 in a network unit configuration apparatus 700 is configured to receive first request information sent by a first network unit after the first network unit completes registration; the first request information carries request identification information; determining a validity detection result of the first network element based on the request identification information; if the legality detection result represents that the first network unit requests legality, the legality detection information is fed back to the first network unit; and receiving second request information sent by the first network unit, and searching the corresponding virtual domain identifier, the virtual domain public key and the virtual domain private key based on authentication information carried in the second request information.
In this embodiment of the present invention, the network element configuring apparatus 700 is configured to construct a mapping relationship between the first network element and the virtual domain identifier, and store the mapping relationship in a mapping relationship library; the mapping relation library stores a plurality of mapping relations between a plurality of first network elements and a plurality of virtual domain identifications.
In this embodiment of the present invention, the first sending unit 704 in the network element configuration apparatus 700 is configured to receive a configuration data packet sent by an automatic configuration end; the configuration data packet comprises: the virtual domain identifier and the plurality of configuration information; and determining the first network unit in the mapping relation library through the virtual domain identifier, and sending the plurality of configuration information to the first network unit based on a predetermined protocol.
In this embodiment of the present invention, the first sending unit 704 in the network unit configuration apparatus 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.
In this embodiment of the present invention, the first sending unit 704 in the network element configuring apparatus 700 is configured to determine, based on the user instruction, tag information corresponding to a plurality of second network elements after the plurality of second network elements complete registration; and packaging the virtual domain identifier, the virtual domain private key and the label information to form second virtual domain identifier data respectively corresponding to the plurality of second network units, and respectively sending the corresponding second virtual domain identifier data to the plurality of second network units.
In the embodiment of the present invention, the first receiving and searching unit 703 is configured to receive request information sent by the first network unit, and search for corresponding virtual domain identification data based on the request information; a first sending unit 704, configured to send the virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with multiple second network units; the first sending unit 704 is further configured to send the obtained multiple pieces of configuration information to the first network unit based on a predetermined protocol, so that the first network unit completes configuration of the network unit in the virtual domain. In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
It should be noted that, in the embodiment of the present invention, if the network element configuration method is implemented in the form of a software functional module and is sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a network element configuration apparatus (which may be a personal computer or the like) to perform all or part of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above-mentioned method.
Correspondingly, an embodiment of the present invention provides a network element configuration apparatus, including a first memory 702 and a first processor 701, where the first memory 702 stores a computer program operable on the first processor 701, and the first processor 701 implements the steps in the above method when executing the computer program.
Here, it should be noted that: the above description of the storage medium and apparatus embodiments is similar to the description of the method embodiments above, with similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention.
It should be noted that fig. 7 is a schematic diagram of a hardware entity of a network element configuration apparatus according to an embodiment of the present invention, as shown in fig. 7, the hardware entity of the network element configuration apparatus 700 includes: a first processor 701 and a first memory 702, wherein;
the first processor 701 generally controls the overall operation of the network element configuration apparatus 700.
The first Memory 702 is configured to store instructions and applications executable by the first processor 701, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the first processor 701 and modules in the network unit configuration apparatus 700, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Referring to fig. 8, fig. 8 is a schematic structural diagram of a network unit configuration device according to an embodiment of the present invention.
An embodiment of the present invention further provides a network unit configuration apparatus 800, applied to a first network unit, including: a second sending unit 803, a building unit 804, a matching unit 805 and a second receiving unit 806.
A second sending unit 803, configured to send request information to a server, and receive virtual domain identification data fed back by the server in response to the request information;
a constructing unit 804, configured to construct a virtual domain based on the virtual domain identification data, and receive, in a network of the virtual domain, virtual domain private keys respectively sent by multiple second network units;
a matching unit 805, configured to add the plurality of second network units to the virtual domain to implement communication with the plurality of second network units if the virtual domain private key matches the virtual domain identification data;
a second receiving unit 806, configured to receive, based on a predetermined protocol, a plurality of configuration information sent by the server, so as to complete configuration of the network element in the virtual domain.
In this embodiment of the present invention, the second sending unit 803 in the network element configuring apparatus 800 is configured to send a first request message to the server, and receive a detection legal message fed back by the server in response to the first request message; the first request information carries request identification information; responding to the detection legal information, and sending second request information to the server, wherein the second request information carries authentication information; and receiving the virtual domain identifier, the virtual domain public key and the virtual domain private key which are fed back by the server in response to the second request information.
In this embodiment of the present invention, the matching unit 805 in the network unit configuring apparatus 800 is configured to add the plurality of second network units to the virtual domain if the virtual domain private key is matched with the virtual domain public key.
In this embodiment of the present invention, the second receiving unit 803 in the network element configuration apparatus 800 is configured to receive, based on a predetermined protocol, multiple pieces of configuration information sent by the server, and classify the multiple pieces of configuration information according to a predetermined rule to obtain multiple configuration categories; configuring a first configuration information belonging to a backbone network category in the plurality of configuration information locally; respectively sending the plurality of second configuration information to corresponding second network units according to the corresponding relation between the plurality of configuration categories and the plurality of label information; the plurality of label information are the label information uploaded by the plurality of second network units; the second configuration information is configuration information except the first configuration information in the configuration information.
In this embodiment of the present invention, the second sending unit 803 is configured to send request information to a server, and receive virtual domain identifier data fed back by the server in response to the request information; a constructing unit 804, configured to construct a virtual domain based on the virtual domain identification data, and receive, in the virtual domain network, virtual domain private keys respectively sent by multiple second network units; a matching unit 805, configured to add the plurality of second network units to the virtual domain to implement communication with the plurality of second network units if the virtual domain private key matches the virtual domain identification data; a second receiving unit 806, configured to receive multiple pieces of configuration information sent by the server, so as to complete configuration of the network element in the virtual domain. In the scheme, the server feeds back the virtual domain identification data to the first network unit to enable the first network unit to construct the virtual domain, so that a plurality of second network units in the same network system are added into the virtual domain, when the server needs to send configuration information to the network units in the network system, only the first network unit in the virtual domain needs to send a plurality of configuration information, so that the first network unit completes the configuration of all the network units in the virtual domain, the time is saved, and the configuration efficiency of the server to the network units in the FTTR environment is improved.
Correspondingly, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above-mentioned method.
Correspondingly, the embodiment of the present invention provides a network element configuration apparatus, which includes a second memory 802 and a second processor 801, where the second memory 802 stores a computer program that can be executed on the second processor 801, and the second processor 801 implements the steps in the above method when executing the computer program.
Here, it should be noted that: the above description of the storage medium and apparatus embodiments is similar to the description of the method embodiments above, with similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention.
It should be noted that fig. 9 is a second schematic diagram of a hardware entity of a network element configuration apparatus according to an embodiment of the present invention, as shown in fig. 9, the hardware entity of the network element configuration apparatus 800 includes: a second processor 801 and a second memory 802, wherein;
the second processor 801 generally controls the overall operation of the network element configuration apparatus 800.
The second Memory 802 is configured to store instructions and applications executable by the second processor 801, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the second processor 801 and the network unit configuration apparatus 800, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Referring to fig. 10, fig. 10 is a schematic structural diagram of a network unit configuration device according to an embodiment of the present invention.
An embodiment of the present invention provides a network element configuration apparatus 900, which is applied to a second network element, where the second network element belongs to multiple second network elements, and the apparatus includes: a third transmitting unit 903, a network communication unit 904 and a third receiving unit 905.
A third sending unit 903, 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 904, configured to join the virtual domain after the virtual domain private key is matched with the virtual domain identification data of the first network unit, so as to implement communication with the first network unit;
a third receiving unit 905, 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 element based on a predetermined protocol.
In this embodiment of the present invention, a third receiving unit 9055 in the network element configuration apparatus 900 is configured to receive the second virtual domain identifier data sent by the server, where the second virtual domain identifier data includes: a virtual domain identifier, a virtual domain private key and label information; and uploading the label information to the first network unit.
Correspondingly, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above-mentioned method.
Correspondingly, an embodiment of the present invention provides a network element configuration apparatus, which includes a third memory 902 and a third processor 901, where the third memory 902 stores a computer program that is executable on the third processor 901, and the third processor 901 implements the steps in the foregoing method when executing the program.
Here, it should be noted that: the above description of the storage medium and apparatus embodiments, similar to the description of the method embodiments above, have similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention.
It should be noted that fig. 11 is a third schematic diagram of a hardware entity of a network element configuration apparatus according to an embodiment of the present invention, as shown in fig. 11, the hardware entity of the network element configuration apparatus 900 includes: a third processor 901 and a third memory 902, wherein;
the third processor 901 generally controls the overall operation of the network element configuration apparatus 900.
The third Memory 902 is configured to store instructions and applications executable by the third processor 901, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the third processor 901 and the network unit configuration apparatus 900, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a Read Only Memory (ROM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention or portions thereof contributing to the related art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (20)

1. A network element configuration method is applied to a server and comprises the following steps:
receiving request information sent by a first network unit, and searching corresponding virtual domain identification data based on the request information;
sending the virtual domain identification data to the first network unit, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with a plurality of second network units; the first network element and the plurality of second network elements belong to the same network system;
and sending the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit can complete the configuration of the network unit in the virtual domain.
2. The network element configuration method according to claim 1, wherein the receiving request information sent by the first network element and finding the corresponding virtual domain identification data based on the request information comprises:
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 validity detection result of the first network element based on the request identification information;
if the legality detection result represents that the first network unit requests legality, feeding back detection legality information to the first network unit;
and receiving second request information sent by the first network unit, and searching the corresponding virtual domain identifier, the virtual domain public key and the virtual domain private key based on authentication information carried in the second request information.
3. The method according to claim 2, wherein after receiving the second request message sent by the first network unit and finding the corresponding virtual domain identifier, the virtual domain public key, and the virtual domain private key based on the authentication information carried in the second request message, the method further comprises:
constructing a mapping relation between the first network unit and the virtual domain identifier, and storing the mapping relation in a mapping relation library; the mapping relation library stores a plurality of mapping relations between a plurality of first network elements and a plurality of virtual domain identifications.
4. The network element configuration method of claim 3, wherein the sending the obtained plurality of configuration information to the first network element based on the predetermined protocol comprises:
receiving a configuration data packet sent by an automatic configuration end; the configuration data packet comprises: the virtual domain identifier and the plurality of configuration information;
and determining the first network unit in the mapping relation library through the virtual domain identifier, and sending the plurality of configuration information to the first network unit based on the predetermined protocol.
5. The network element configuration method of claim 2, wherein the sending the virtual domain identification data to the first network element comprises:
and sending the virtual domain identifier, the virtual domain public key and the virtual domain private key to the first network unit.
6. The network element configuration method of claim 1, wherein the method further comprises:
after the second network units complete registration, determining label information corresponding to the second network units respectively based on a user instruction;
and packaging the virtual domain identifier, the virtual domain private key and the label information to form second virtual domain identifier data respectively corresponding to the plurality of second network units, and respectively sending the corresponding second virtual domain identifier data to the plurality of second network units.
7. A network element configuration method, applied to a first network element, comprising:
sending request information to a server, and receiving virtual domain identification data fed back by the server in response to the request information;
constructing a virtual domain based on the virtual domain identification data, and receiving virtual domain private keys respectively sent by a plurality of second network units in a network of the virtual domain;
if the virtual domain private key is matched with the virtual domain identification data, adding the plurality of second network units into the virtual domain to realize communication with the plurality of second network units;
and receiving a plurality of configuration information sent by the server based on a predetermined protocol to complete the configuration of the network unit in the virtual domain.
8. The network element configuration method according to claim 7, wherein the sending request information to the server and receiving the virtual domain identification data fed back by the server in response to the request information comprises:
sending first request information to the server, and receiving detection legal information fed back by the server in response to the first request information; the first request information carries request identification information;
responding to the detection legal information, and sending second request information to the server, wherein the second request information carries authentication information;
receiving a virtual domain identifier, a virtual domain public key and a virtual domain private key which are fed back by the server in response to the second request information;
if the virtual domain private key matches the virtual domain identification data, adding the plurality of second network elements to the virtual domain, including:
and if the virtual domain private key is matched with the virtual domain public key, adding the plurality of second network units into the virtual domain.
9. The method according to claim 8, wherein the receiving a plurality of configuration information sent by the server based on a predetermined protocol to complete the configuration of the network element in the virtual domain comprises:
receiving a plurality of configuration information sent by the server based on the predetermined protocol, and classifying the plurality of configuration information according to a predetermined rule to obtain a plurality of configuration categories;
configuring a first configuration information belonging to a backbone network category in the plurality of configuration information locally;
respectively sending the plurality of second configuration information to corresponding second network units according to the corresponding relation between the plurality of configuration categories and the plurality of label information; the plurality of label information are the label information uploaded by the plurality of second network units; the second configuration information is configuration information except the first configuration information in the configuration information.
10. A network element configuration method, applied to a second network element belonging to a plurality of second network elements, comprising:
sending 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 is matched with the virtual domain identification data of the first network unit, adding the virtual domain private key into the virtual domain to realize communication with the first network unit;
receiving 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 element based on a predetermined protocol.
11. The network element configuration method of claim 10, wherein the sending the virtual domain private key in the received second virtual domain identification data to the first network element in the current virtual domain further comprises:
receiving the second virtual domain identification data sent by the server, where the second virtual domain identification data includes: a virtual domain identifier, a virtual domain private key and label information;
after the virtual domain private key is matched with the virtual domain identification data of the first network element, the virtual domain is added, communication with the first network element is realized, and before local configuration is completed by receiving second configuration information sent by the first network element, the method further includes:
and uploading the label information to the first network unit.
12. A network element configuration device, applied to a server, comprising:
the first receiving and searching unit is used for receiving the request information sent by the first network unit and searching the 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, so that the first network unit constructs a virtual domain based on the virtual domain identification data and establishes communication with multiple second network units; the first network element and the plurality of second network elements belong to the same network system;
the first sending unit is further configured to send the acquired plurality of configuration information to the first network unit based on a predetermined protocol, so that the first network unit completes configuration of the network unit in the virtual domain.
13. A network element configuration apparatus, applied to a first network element, comprising:
a second sending unit, configured to send request information to a server, and receive virtual domain identification data fed back by the server in response to the request information;
the construction unit is used for constructing a virtual domain based on the virtual domain identification data and receiving virtual domain private keys respectively sent by a plurality of second network units in a network of the virtual domain;
the matching unit is used for adding the plurality of second network units into the virtual domain to realize communication with the plurality of second network units if the virtual domain private key is matched with the virtual domain identification data;
and the second receiving unit is used for receiving a plurality of configuration information sent by the server based on a predetermined protocol so as to complete the configuration of the network unit in the virtual domain.
14. A network element configuration apparatus, applied to a second network element belonging to a plurality of second network elements, comprising:
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;
the network communication unit is used for adding the virtual domain after the virtual domain private key is matched with the virtual domain identification data of the first network unit, and realizing communication with the first network unit;
a third receiving unit, 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 element based on a predetermined protocol.
15. A network element configuration device comprising a first memory and a first processor, the first memory storing a computer program operable on the first processor, the first processor implementing the steps of the method of any one of claims 1 to 6 when executing the program.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a first processor, carries out the steps of the method of any one of claims 1 to 6.
17. A network element configuration device comprising a second memory and a second processor, the second memory storing a computer program operable on the second processor, the second processor implementing the steps of the method according to any one of claims 7 to 9 when executing the program.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a second processor, carries out the steps of the method of any one of claims 7 to 9.
19. A network element configuration device comprising a third memory storing a computer program operable on a third processor and a third processor executing the program to perform the steps of the method according to claim 10 or 11.
20. A computer-readable storage medium, on which a computer program is stored which, when being executed by a third processor, carries out the steps of the method as set forth in claim 10 or 11.
CN202211476719.3A 2022-11-23 2022-11-23 Network unit configuration method, device and storage medium Pending CN115834373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211476719.3A CN115834373A (en) 2022-11-23 2022-11-23 Network unit configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211476719.3A CN115834373A (en) 2022-11-23 2022-11-23 Network unit configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN115834373A true CN115834373A (en) 2023-03-21

Family

ID=85530748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211476719.3A Pending CN115834373A (en) 2022-11-23 2022-11-23 Network unit configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115834373A (en)

Similar Documents

Publication Publication Date Title
KR20210032133A (en) Method for iot terminal to autonomically accessing wireless lan network and system there of
US8873969B2 (en) Method for ONU registration in a passive optical network
US8521863B2 (en) Method and device for operating resource on shared network element
CN105307058A (en) Service configuration data processing method and device
CN109412844B (en) Method, device, equipment and storage medium for realizing management entity
CN114501469A (en) Method, device and system for configuring network slice
US10542486B1 (en) Method and system for multi-map controller discovery and resolution
CN114024845B (en) Method and system for opening service
CN104125568A (en) Wireless access point safe authentication method and system
CN113518407A (en) WiFi network distribution method and system for intelligent equipment, electronic equipment and medium
EP2916616A2 (en) M2m gateway device and applying method thereof
CN112422518A (en) Network access method, device and storage medium
CN102170421A (en) Method and system for realizing mixed authentication
CN112929387B (en) Broadband network multiple authentication and encryption method applied to intelligent community
WO2012100497A1 (en) Method and system for configuring white list in coaxial ethernet system
CN111614476A (en) Equipment configuration method, system and device
CN115834373A (en) Network unit configuration method, device and storage medium
EP3550793B1 (en) Network apparatus and control method thereof
US20100146105A1 (en) Broadband service delivery
WO2023236497A1 (en) Authentication method and apparatus, storage medium, and electronic device
CN113872789A (en) Method for opening ONU service, electronic equipment and storage medium
CN112738281B (en) Service calling system
JP2000330943A (en) Security system
EP4344275A1 (en) Associating unclaimed communications nodes
EP4344269A1 (en) Associating unclaimed communications nodes in mesh networks

Legal Events

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