CN111970158A - Edge access processing system, method, device and equipment - Google Patents
Edge access processing system, method, device and equipment Download PDFInfo
- Publication number
- CN111970158A CN111970158A CN202010899210.4A CN202010899210A CN111970158A CN 111970158 A CN111970158 A CN 111970158A CN 202010899210 A CN202010899210 A CN 202010899210A CN 111970158 A CN111970158 A CN 111970158A
- Authority
- CN
- China
- Prior art keywords
- configuration
- nrc
- switch
- information
- database
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims description 50
- 238000000034 method Methods 0.000 title claims description 37
- 230000003068 static effect Effects 0.000 claims description 28
- 238000003672 processing method Methods 0.000 claims description 14
- 230000002688 persistence Effects 0.000 claims description 11
- 230000003993 interaction Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000013499 data model Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The system comprises a global Network Routing Controller (NRC) and at least one regional control system arranged in each region, wherein each regional control system comprises a Network Routing Controller (NRC), a database connected with the NRC and a switch connected with a southward interface of the NRC. The global network routing controller is connected with the NRC northbound interface in each regional control system. The global network routing controller is used for receiving a configuration request comprising non-service resource information and sending the configuration request to NRCs in different regional control systems through a northbound interface, the NRC in each regional control system is used for configuring a connected switch according to the received configuration request, and a database in each regional control system is used for storing configuration information. The system realizes centralized configuration and management of the switch connected with the NRC, reduces the difficulty of configuration adjustment of the switch, and obviously improves the configuration efficiency.
Description
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to a system, a method, a device and equipment for processing edge access.
Background
In a conventional network architecture, a control plane and a data plane of a network are coupled to network devices (e.g., switch devices), and when a network topology is constructed, a network manager needs to allocate the network devices one by one through configuration interfaces of the network devices. For network devices produced by different device manufacturers or different models of the same device manufacturer, the configuration method is different, the technical requirements for network management personnel are higher, the management and configuration tasks of the network devices are heavy, the efficiency is low, and the error rate is higher.
Disclosure of Invention
The embodiment of the application provides a processing system, a method, a device and equipment for edge access, which realize centralized management and configuration of switch equipment in a network topology.
In a first aspect, an embodiment of the present application provides a processing system for edge access, including:
a global network routing controller and at least one regional control system arranged in each region;
each zone control system comprises: a Network Routing Controller (NRC), a database connected with the NRC, and a switch connected with a southbound interface of the NRC;
the global network routing controller is connected with a northbound interface of the NRC in each regional control system;
the global network routing controller is used for receiving a configuration request comprising non-service resource information and sending the configuration request to NRCs in different regional control systems through the northbound interface;
the NRC in each regional control system is used for configuring the connected switch according to the received configuration request;
the database in each regional control system is used for storing configuration information, and the configuration information comprises the non-service resource information.
In a possible implementation, the northbound interface of the NRC in each regional control system is further configured to receive a configuration request including service resource information sent by other devices.
In a possible embodiment, the database in each zone control system is also used to store operational records for the switches.
In one possible embodiment, the NRC in each regional control system comprises an external access layer, a data persistence layer, a logical processing layer, and a southbound protocol layer;
the opposite outer access layer is used for receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC, or static configuration parameters of the NRC are received;
the data persistence layer is used for carrying out data interaction with a database connected with the NRC;
the logic processing layer is used for generating a configuration command executable by the switch according to the configuration information of the switch connected with the NRC in the configuration request; or,
configuring the NRC according to the static configuration parameters of the NRC in the configuration request;
the southbound protocol layer is used for sending the configuration command to the switch.
In a second aspect, an embodiment of the present application provides a method for processing an edge access, which is applied to a network routing controller NRC, where the method includes:
receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC;
storing the configuration information to a database connected with the NRC according to the configuration request;
and configuring the connected switch according to the configuration information.
In one possible implementation, the receiving the configuration request includes:
receiving a configuration request which is sent by a global network routing controller and comprises non-service resource information through a northbound interface, wherein the configuration information comprises the non-service resource information; or,
receiving an input configuration request including service resource information through the northbound interface, where the configuration information includes the service resource information.
In one possible embodiment, the method further comprises:
receiving static configuration parameters for the NRC, the static configuration parameters including at least the following parameters: thread number, queue number, user name and password;
and configuring the NRC according to the static configuration parameters.
In one possible embodiment, the method further comprises:
when detecting that the switch is on line through a southbound interface, acquiring resources from the database to generate a first configuration object;
acquiring real-time configuration information in the switch, and analyzing and generating a second configuration object according to the real-time configuration information;
and comparing whether the first configuration object and the second configuration object are consistent or not, and reconfiguring the switch according to the resources in the database when the first configuration object and the second configuration object are inconsistent.
In one possible embodiment, the method further comprises:
and when the switch is configured, storing the operation record of the switch in the database.
In a third aspect, an embodiment of the present application provides a processing apparatus for edge access, including:
a receiving module, configured to receive a configuration request, where the configuration request includes configuration information of a switch connected to the NRC;
the storage module is used for storing the configuration information to a database connected with the NRC according to the configuration request;
and the processing module is used for configuring the connected switch according to the configuration information.
In a possible implementation manner, the receiving module is specifically configured to:
receiving a configuration request which is sent by a global network routing controller and comprises non-service resource information through a northbound interface, wherein the configuration information comprises the non-service resource information; or,
receiving an input configuration request including service resource information through the northbound interface, where the configuration information includes the service resource information.
In a possible implementation, the receiving module is further configured to receive static configuration parameters for the NRC, where the static configuration parameters include at least the following parameters: thread number, queue number, user name and password;
the processing module is further configured to configure the NRC according to the static configuration parameters.
In a possible embodiment, the apparatus further comprises: the device comprises a detection module and an acquisition module;
when the detection module detects that the switch is on line through a southbound interface, the acquisition module is used for acquiring resources from the database to generate a first configuration object;
the acquisition module is further used for acquiring real-time configuration information in the switch;
the processing module is further used for analyzing and generating a second configuration object according to the real-time configuration information; and comparing whether the first configuration object and the second configuration object are consistent or not, and reconfiguring the switch according to the resources in the database when the first configuration object and the second configuration object are inconsistent.
In a possible implementation manner, when the processing module configures the switch, the storage module is further configured to store an operation record of the switch in the database.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of any of the second aspects.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, including: for storing a computer program which, when executed on a computer, causes the computer to perform the method of any of the second aspects.
The embodiment of the application provides a system, a method, a device and equipment for processing edge access, wherein the system comprises a global network routing controller and at least one regional control system arranged in each region, and each regional control system comprises a Network Routing Controller (NRC), a database connected with the NRC and a switch connected with a southward interface of the NRC. The global network routing controller is connected with the NRC northbound interface in each regional control system. The global network routing controller is used for receiving a configuration request comprising non-service resource information and sending the configuration request to NRCs in different regional control systems through a northbound interface, the NRC in each regional control system is used for configuring a connected switch according to the received configuration request, a database in each regional control system is used for storing configuration information, and the configuration information comprises the non-service resource information. The system realizes centralized configuration and management of the switch connected with the NRC, reduces the difficulty of configuration adjustment of the switch, and obviously improves the configuration efficiency.
Drawings
Fig. 1 is a scene schematic diagram of a processing method for edge access according to an embodiment of the present disclosure;
fig. 2 is a scene schematic diagram of a processing method for edge access according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a processing method for edge access according to an embodiment of the present application;
fig. 4 is a flowchart of a processing method for edge access according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a processing apparatus for edge access according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a processing apparatus for edge access according to an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a network routing controller according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, terms related to embodiments of the present application will be explained.
Software Defined Network (SDN) technology: a network virtualization implementation mode has the core technology that a control plane and a data plane of network equipment are separated, and the programmable control plane is used for carrying out centralized control on the network equipment, so that the flexible management of network flow is realized.
ODL: OpenDayLight, a modular, extensible, scalable, multi-protocol-supporting controller framework developed based on SDN, supports multiple southbound protocol plug-ins, and has strong extensibility of northbound interfaces.
MongoDB: a database based on distributed file storage.
NETCONF protocol: a network management protocol based on extensible markup language XML is mainly used for configuring and managing network equipment.
Secure shell protocol (SSH): an encrypted network transport protocol provides a secure transport environment for network services in an unsecured network by establishing a secure tunnel in the network to enable connection between an SSH client and a server.
The Northbound Interface (Northbound Interface) is an Interface for a manufacturer or an operator to access and manage a network, i.e., an Interface provided upward.
The SouthBound Interface (SouthBound Interface) is an Interface for managing other manufacturer network managers or devices (such as the switching device in the embodiment of the present application), i.e. an Interface provided downward.
Region: regional, physical data center.
AZ: available Zone, Available area, physical area within the same geographical area where the networks are independent of each other.
At present, in a network topology structure composed of a plurality of switch devices, configuration and management of the switch devices mainly depend on a network manager, and the network manager can configure and manage the switch devices (also called edge nodes) in the network topology in a machine-by-machine manual configuration mode, which has huge task load, low efficiency and high error rate. Moreover, after configuration is completed, node information and configuration information of the current node cannot be stored, when the node is abnormal, consistency check cannot be performed, and meanwhile, centralized management cannot be performed on a plurality of switch devices in the network topology.
In order to solve the foregoing problems, embodiments of the present application provide a system, a method, an apparatus, and a device for processing edge access, so as to implement flexible configuration and management of switch devices in a network topology. Specifically, an embodiment of the present application provides a processing system for edge access, where the system includes a network routing controller NRC, and the controller configures and manages switch devices in a network topology through multiple southbound protocols (for example, NETCONF protocol or SSH protocol), so as to improve an automation degree and reduce difficulty in adjusting configuration information. Meanwhile, MongoDB is introduced into the processing system of the embodiment of the application to store the switch equipment information and the configuration information, so that consistency verification of switch equipment configuration can be realized, and normal operation of the switch equipment in network topology is prevented from being influenced by network abnormity. In addition, the processing system provided by the embodiment of the application can adopt the design of a multi-level controller to realize the centralized management of a plurality of switch devices in different areas.
Fig. 1 is a schematic view of a scenario of a processing method for edge access according to an embodiment of the present application, and as shown in fig. 1, the scenario is a regional control system of a certain area, and the system includes a network routing controller NRC, a database connected to the NRC, and at least one switch device (fig. 1 shows 3 switch devices) connected to a southbound interface of the NRC.
The configuration request received by the NRC comprises the following two types: the first is to receive non-service resource information, such as switch information, etc., for performing configuration initialization on a switch device connected to the NRC. And secondly, receiving service resource information, such as network segment configuration information and the like, for adapting to the service. For NRC, whether it is non-traffic resource information or traffic resource information, the NRC stores the information in a database connected to the NRC. And after the NRC finishes information storage, issuing corresponding configuration to the switch equipment connected with the NRC.
In addition, the NRC may receive static configuration information for the NRC for configuration initialization of the NRC. Similarly, the NRC may store the static configuration information for the NRC in a database connected to the NRC.
Fig. 2 is a schematic view of a scenario of a processing method for edge access according to an embodiment of the present application, and as shown in fig. 2, the scenario includes a global network routing controller and at least one area control system configured for each area. Fig. 2 shows two zones (regions), zone a and zone B, respectively, wherein zone a comprises two regional control systems and zone B comprises one regional control system. For any one of the regional control systems, the regional control system includes a network routing controller NRC, a database connected to the NRC, and at least one switch device connected to a southbound interface of the NRC.
The global network routing controller shown in fig. 2 primarily receives a configuration request including non-traffic resource information as the only entry to the global switch management. The registration and deletion of the switch are both handled by the global network routing controller, which, after receiving the registration and deletion requests, persists the data in a database (such as the global database shown in fig. 2) connected to the global network routing controller, and then sends a kafka message to the NRC in the zone control system of each zone. In addition to the configuration request of the non-service resource, the global network routing controller may also receive the configuration request including the service resource information, which is not limited in this embodiment of the present application.
It should be noted that, the NRC provided in the embodiment of the present application is a network routing controller based on SDN technology.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 3 is a flowchart of a processing method for edge access according to an embodiment of the present application, where the processing method for edge access according to the embodiment is applicable to the NRC shown in fig. 1 or the NRC AZ shown in fig. 2, as shown in fig. 3, the processing method includes the following steps:
The NRC in the embodiment of the present application provides a northbound interface service, and may support a restful api interface and a kafka message queue interface, so that a network manager may conveniently adjust and optimally configure a switch connected to the NRC. In particular, the NRC may receive the configuration request through a northbound interface. The configuration information of the switch connected with the NRC in the configuration request comprises service resource information or non-service resource information. The service resource information comprises network segment configuration information. The non-service resource information comprises switch information, and the switch information comprises basic information such as management IP, management port, AZ information and the like of the switch.
In one possible implementation, receiving the configuration request includes: and receiving a configuration request which is sent by the global network routing controller and comprises non-service resource information through a northbound interface, wherein the configuration information comprises the non-service resource information. Exemplarily, as shown in fig. 3, NRC AZ in AZ1 of zone a receives, through a northbound interface, a configuration request including non-service resource information sent by NRC Global (Global network routing controller) through a kafka message queue interface.
In another possible implementation, receiving the configuration request includes: and receiving an input configuration request comprising service resource information through a northbound interface, wherein the configuration information comprises the service resource information. Exemplarily, as shown in fig. 3, NRC AZ in AZ1 of area a directly receives a configuration request including service resource information sent by another device (user side) through a northbound interface.
And 102, storing the configuration information into a database connected with the NRC according to the configuration request.
The NRC in the embodiments of the present application also provides persistent storage services, including functions of initializing a database connected to the NRC, creating or deleting collections, adding/deleting/querying documents, and the like. Specifically, the NRC is connected to the database, and after receiving the configuration request, first stores the configuration information in the configuration request to the database connected to the NRC. In addition, the database connected to the NRC is used to store records of the user's operations on the switch.
Alternatively, the database connected to the NRC may be a database based on distributed file storage, such as MONGODB.
The embodiment of the application introduces the database to store the resource information of the switch, and can realize centralized management of resources and consistency check of configuration.
And 103, configuring the connected switches according to the configuration information.
The NRC in the embodiment of the present application further provides a configuration generation service, a configuration delivery service, and a static configuration loading service. The configuration generation service mainly combines and generates a bottom-layer basic configuration set according to service resources, such as interface, Vrf and other specific routing configurations in the switch. The configuration issuing service can use SSH protocol or NETCONF protocol to perform configuration issuing. The static configuration loading service mainly adjusts the running state of the controller, and the adjusted parameters comprise the thread number, the queue number, the user name, the password and the like of the NRC.
In a possible implementation manner, the configuration information includes service resource information or non-service resource information, and step 103 specifically includes: and converting the configuration information in the received configuration request into a configuration command executable by the switch, and issuing the configuration command executable by the switch to the switch connected with the NRC through the southbound interface.
The NRC in the embodiment of the present application further provides a switch offline operation service, including functions such as consistency check after the switch is online, switch offline notification, and the like, and mainly senses a connection state of the switch connected to the NRC through a southbound interface of the NRC.
The method for processing edge access provided by the embodiment of the application is applied to NRC, and configures one or more switches connected with NRC by receiving a configuration request comprising configuration information of the switches connected with NRC, storing the configuration information into a database connected with NRC according to the configuration request, and generating a configuration command executable by the switches according to the configuration information. The processing method realizes centralized configuration and management of the switch connected with the NRC, reduces the difficulty of configuration adjustment of the switch and obviously improves the configuration efficiency.
Optionally, on the basis of the foregoing embodiment, the method for processing edge access further includes the following steps: and receiving static configuration parameters of the NRC, and configuring the NRC according to the static configuration parameters. Wherein, the static configuration parameters of NRC at least comprise the following parameters: number of threads, number of queues, user name and password, etc.
Optionally, on the basis of the foregoing embodiment, the method for processing edge access further includes the following steps: when the switch is configured, the operation record of the switch is stored in the database. I.e. when the NRC issues the actual configuration (i.e. the switch executable configuration commands) to the switch, the NRC needs to store the actual configuration in a database connected to the NRC.
Optionally, on the basis of the foregoing embodiment, the processing method for edge access further includes a consistency check method for the switch. The consistency check scheme is described in detail below with reference to fig. 4.
Fig. 4 is a flowchart of a processing method for edge access according to an embodiment of the present disclosure, and as shown in fig. 4, the processing method according to the embodiment of the present disclosure includes the following steps:
The NRC of the embodiment of the present application provides a data model and a common class definition service, including a configuration definition class of a switch, a datastoreore processing class, and the like. Specifically, when the NRC detects that the switch is online through the southbound interface, all resources of the switch are acquired from the database, and the first configuration object is generated according to all the acquired resources.
Specifically, the NRC obtains the real-time configuration information from the switch in a file form, and generates the second configuration object by parsing according to the real-time configuration information.
In this embodiment, the first configuration object and the second configuration object are java classes, such as Vrf class and Bgp class, which abstract the switch configuration, except that the first configuration object is abstracted from the switch configuration information stored in the database, and the second configuration object is abstracted from the current configuration information of the switch.
It can be understood that, in the actual operation process, there are various factors that may cause the configuration information on the switch to be changed under the condition that the NRC is not aware, for example, the switch is abnormal due to power failure and restart of the switch and irregular operation, and once the configuration information issued to the switch in advance is lost or tampered, the subsequent configuration will also be failed to be issued, which affects the normal operation of the switch. In order to avoid the above situation, the NRC according to the embodiment of the present application needs to obtain the configuration information of the switch from the database and the switch, respectively, and perform the configuration object comparison.
The first configuration object and the second configuration object are inconsistent including a lack, redundancy, or error of the configuration objects. Illustratively, the first configuration object includes 5 configuration records and the second configuration object includes 6 configuration records, each of which includes a target object and a next hop object. As can be seen, the current configuration of the switch is inconsistent with the switch configuration pre-stored in the database, and the switch needs to be reconfigured according to the first configuration object. Illustratively, the first configuration object and the second configuration object each include 5 configuration records, however, the next hop object in 1 corresponding configuration record in the first configuration object and the second configuration object is different, which indicates that the configuration information of the current switch may be tampered, and it is necessary to adjust the corresponding configuration of the current switch according to the next hop object of the configuration record of the first configuration object.
Optionally, in some embodiments, when it is determined that the first configuration object and the second configuration object are not consistent, an alarm or a prompt message may be further sent to a terminal of a network manager, so that the network manager reconfigures the switch through the NRC.
Optionally, in some embodiments, a detection cycle for performing consistency check may be further set for NRC, so as to implement periodic inspection, timely troubleshoot the switch failure, reduce difficulty in configuration adjustment, and improve stability of the regional control system.
The method for processing edge access provided by the embodiment of the application is applied to NRC, when the south interface detects that a switch is online, the resources of the switch are obtained from a database to generate a first configuration object, meanwhile, real-time configuration information in the switch is obtained, the real-time configuration information is analyzed to generate a second configuration object, and the switch is reconfigured according to the resources in the database when the first configuration object and the second configuration object are not consistent through comparison. The consistency check of the online switch in the area control system is realized in the processing process, when the configuration of the switch is found to be abnormal, the configuration information in the switch is timely adjusted, and the configuration flexibility is high.
In the embodiment of the present application, functional modules of the processing apparatus (i.e., NRC) may be divided according to the method embodiments, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a form of hardware or a form of a software functional module. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. The following description will be given by taking an example in which each functional module is divided by using a corresponding function.
Fig. 5 is a schematic structural diagram of a processing device for edge access according to an embodiment of the present disclosure. As shown in fig. 5, the edge access processing apparatus 300 of the present embodiment includes:
a receiving module 301, configured to receive a configuration request, where the configuration request includes configuration information of a switch connected to the NRC;
a storage module 302, configured to store the configuration information to a database connected to the NRC according to the configuration request;
a processing module 303, configured to configure the connected switch according to the configuration information.
In a possible implementation manner, the receiving module 301 is specifically configured to:
receiving a configuration request which is sent by a global network routing controller and comprises non-service resource information through a northbound interface, wherein the configuration information comprises the non-service resource information; or,
receiving an input configuration request including service resource information through the northbound interface, where the configuration information includes the service resource information.
In a possible implementation, the receiving module 301 is further configured to receive static configuration parameters for the NRC, where the static configuration parameters include at least the following parameters: thread number, queue number, user name and password;
the processing module 303 is further configured to configure the NRC according to the static configuration parameter.
Fig. 6 is a schematic structural diagram of a processing device for edge access according to an embodiment of the present disclosure. On the basis of the embodiment shown in fig. 5, as shown in fig. 6, the processing apparatus 300 for edge access of the present embodiment further includes: a detection module 304 and an acquisition module 305;
when the detecting module 304 detects that the switch is online through a southbound interface, the obtaining module 305 is configured to obtain a resource from the database to generate a first configuration object;
the obtaining module 305 is further configured to obtain real-time configuration information in the switch;
the processing module 303 is further configured to generate a second configuration object according to the real-time configuration information; and comparing whether the first configuration object and the second configuration object are consistent or not, and reconfiguring the switch according to the resources in the database when the first configuration object and the second configuration object are inconsistent.
In a possible implementation manner, when the processing module 303 configures the switch, the storage module 302 is further configured to store an operation record of the switch in the database.
The edge access processing apparatus provided in the embodiment of the present application is configured to execute each step in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 400 of the present embodiment includes:
at least one processor 401 (only one processor is shown in FIG. 7); and
a memory 402 communicatively coupled to the at least one processor; wherein,
the memory 402 stores instructions executable by the at least one processor 401 to enable the electronic device 400 to perform the steps of any of the preceding method embodiments when the instructions are executed by the at least one processor 401.
Optionally, the memory 402 may be separate or integrated with the processor 401.
When the memory 402 is a separate device from the processor 401, the electronic device 400 further comprises: a bus 403 for connecting the memory 402 and the processor 401.
The present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the technical solution in any of the foregoing method embodiments.
The present application further provides a chip, comprising: the system comprises a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the technical scheme in the method embodiment.
The present application further provides a processing system for edge access, as shown in fig. 2, the processing system includes: the global network routing controller and at least one regional control system provided for each region, for example, the block diagram of region 1 in fig. 2 corresponds to one regional control system.
Each zone control system comprises: a network routing controller NRC, a database connected to the NRC, and a switch connected to the southbound interface of the NRC.
The global network routing controller is connected to the northbound interface of the NRC in each regional control system.
The global network routing controller is used for receiving a configuration request comprising non-service resource information and sending the configuration request to NRCs in different regional control systems through a northbound interface.
The NRC in each zone control system is used to configure the connected switches according to the received configuration request.
The database in each regional control system is used for storing configuration information, and the configuration information comprises non-service resource information.
In a possible implementation manner, the global network routing controller centrally sends a configuration request including non-service resource information to the NRC in the regional control system of each region through the kafka message queue interface, so that unified registration and management of the multi-region and multi-region switches can be realized, and centralized management and configuration of the system to the edge nodes are improved.
In one possible implementation, the northbound interface of the NRC in each regional control system is also used to receive configuration requests including traffic resource information sent by other devices.
In one possible embodiment, the database in each zone control system is also used to store operational records for the switches.
In one possible implementation, the NRC in each zone control system is a network routing controller based on SDN technology. Fig. 8 is a schematic diagram of a network routing controller according to an embodiment of the present application, and as shown in fig. 8, an NRC according to an embodiment of the present application includes the following four parts:
the system comprises an external access layer, a data persistence layer, a logic processing layer and a southbound protocol layer.
And the external access layer is used for receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC, or static configuration parameters of the NRC are received.
Specifically, the external access layer is provided with a restful api interface and a kafka message queue interface, which belong to a northbound interface. The restful api interface can be used as a management interface, and a network manager can adjust and optimize information of the switch in the area control system by calling the management interface. The kafka message queue interface may receive a configuration request that includes either traffic resource information or non-traffic resource information.
And the data persistence layer is used for carrying out data interaction with a database connected with the NRC.
Specifically, the Data Persistence layer includes a Data (Data) module, a Persistence (Persistence) module, and a Consistency (Consistency) module.
The Data module mainly provides Data models and public class definition services, including a configuration definition class of a switch, a DataStore processing class and the like.
The Persistence module mainly provides persistent storage services including initializing MongoDB, creating/deleting collections, adding/deleting/querying documents, etc.
The Consistency module mainly provides Consistency check service, obtains a temporary configuration object by obtaining switch real-time configuration and analyzing and processing, then obtains the temporary configuration object by analyzing the persistently stored resources, and finally compares the temporary configuration object with the persistently stored resources and judges whether the temporary configuration object is consistent.
The logic processing layer is used for generating a configuration command executable by the switch according to the configuration information of the switch connected with the NRC in the configuration request; or, according to the static configuration parameters of the NRC in the configuration request, configuring the NRC;
specifically, the data persistence layer includes a first configuration (Conf) module, a second configuration (Config) module, and a Service module.
The Conf module mainly provides configuration generation and configuration issuing services. The configuration generation is divided into a generator layer and a rule layer, the generator layer combines and generates a bottom-layer basic configuration set according to service resources, and the rule layer is a minimum set of the bottom-layer basic configuration, such as specific configurations of interface, Vrf and the like in a switch. The configuration and delivery are divided into an ssh layer and an xml layer, the ssh layer uses an ssh protocol to perform configuration and delivery, and the xml layer uses a netconf protocol to perform configuration and delivery.
The Config module mainly provides static configuration loading service, and adjusts the running state of the whole controller by adding static configuration parameters, wherein the parameters comprise thread number, queue number, user name/password and the like.
The Service module mainly provides resource processing logic Service, calls a generator layer combined configuration set in the conf module according to the Service logic, and then calls a ssh layer or an xml layer in the conf module to perform configuration and issue.
And the southbound protocol layer is used for sending the configuration command to the switch.
Specifically, the southbound protocol layer comprises ssh protocol and netconf protocol, and also provides a southbound (south) interface module. The southbound interface module mainly provides switch on-line and off-line operation services, and comprises functions of consistency check, switch off-line notification and the like after the switch is on-line.
Through the module design, the NRC can realize the function of configuration issuing based on the southward ssh protocol and the netconf protocol, so that the automatic management and configuration of the switch connected with the NRC are improved, and the difficulty of configuration adjustment is reduced.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.
Claims (11)
1. A system for processing edge access, comprising:
a global network routing controller and at least one regional control system arranged in each region;
each zone control system comprises: a Network Routing Controller (NRC), a database connected with the NRC, and a switch connected with a southbound interface of the NRC;
the global network routing controller is connected with a northbound interface of the NRC in each regional control system;
the global network routing controller is used for receiving a configuration request comprising non-service resource information and sending the configuration request to NRCs in different regional control systems through the northbound interface;
the NRC in each regional control system is used for configuring the connected switch according to the received configuration request;
the database in each regional control system is used for storing configuration information, and the configuration information comprises the non-service resource information.
2. The system of claim 1, wherein the northbound interface of the NRC in each regional control system is further configured to receive configuration requests including traffic resource information sent by other devices.
3. The system of claim 1, wherein the database in each zone control system is further configured to store operational records for switches.
4. A system according to any of claims 1 to 3, wherein the NRC in each regional control system comprises an external access layer, a data persistence layer, a logical processing layer and a southbound protocol layer;
the opposite outer access layer is used for receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC, or static configuration parameters of the NRC are received;
the data persistence layer is used for carrying out data interaction with a database connected with the NRC;
the logic processing layer is used for generating a configuration command executable by the switch according to the configuration information of the switch connected with the NRC in the configuration request; or,
configuring the NRC according to the static configuration parameters of the NRC in the configuration request;
the southbound protocol layer is used for sending the configuration command to the switch.
5. A processing method for edge access is applied to a Network Routing Controller (NRC), and comprises the following steps:
receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC;
storing the configuration information to a database connected with the NRC according to the configuration request;
and configuring the connected switch according to the configuration information.
6. The method of claim 5, wherein receiving the configuration request comprises:
receiving a configuration request which is sent by a global network routing controller and comprises non-service resource information through a northbound interface, wherein the configuration information comprises the non-service resource information;
or,
receiving an input configuration request including service resource information through the northbound interface, where the configuration information includes the service resource information.
7. The method of claim 5 or 6, further comprising:
receiving static configuration parameters for the NRC, the static configuration parameters including at least the following parameters: thread number, queue number, user name and password;
and configuring the NRC according to the static configuration parameters.
8. The method of claim 5 or 6, further comprising:
when detecting that the switch is on line through a southbound interface, acquiring resources from the database to generate a first configuration object;
acquiring real-time configuration information in the switch, and analyzing and generating a second configuration object according to the real-time configuration information;
and comparing whether the first configuration object and the second configuration object are consistent or not, and reconfiguring the switch according to the resources in the database when the first configuration object and the second configuration object are inconsistent.
9. The method of claim 5, further comprising:
and when the switch is configured, storing the operation record of the switch in the database.
10. An apparatus for processing edge access, comprising:
a receiving module, configured to receive a configuration request, where the configuration request includes configuration information of a switch connected to the NRC;
the storage module is used for storing the configuration information to a database connected with the NRC according to the configuration request;
and the processing module is used for configuring the connected switch according to the configuration information.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of any of claims 5 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010899210.4A CN111970158B (en) | 2020-08-31 | 2020-08-31 | Processing system, method, device and equipment for edge access |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010899210.4A CN111970158B (en) | 2020-08-31 | 2020-08-31 | Processing system, method, device and equipment for edge access |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111970158A true CN111970158A (en) | 2020-11-20 |
CN111970158B CN111970158B (en) | 2023-05-30 |
Family
ID=73400183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010899210.4A Active CN111970158B (en) | 2020-08-31 | 2020-08-31 | Processing system, method, device and equipment for edge access |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111970158B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764785A (en) * | 2020-12-24 | 2021-05-07 | 江苏云涌电子科技股份有限公司 | Method for automatically upgrading multi-stage controller |
CN117472049A (en) * | 2023-10-25 | 2024-01-30 | 山东大学 | Control method and system for movement device, storage medium and movement device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936857A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | A kind of connection management method of mixed cloud, SDN controllers and mixing cloud system |
CN109218099A (en) * | 2018-09-20 | 2019-01-15 | 犀思云(苏州)云计算有限公司 | A kind of cloud exchange network platform based on SDN/NFV |
CN109257222A (en) * | 2018-09-27 | 2019-01-22 | 中国联合网络通信有限公司广东省分公司 | A kind of metropolitan area network framework based on arranging service device |
CN111327452A (en) * | 2018-12-17 | 2020-06-23 | 瞻博网络公司 | Network device configuration using message bus |
-
2020
- 2020-08-31 CN CN202010899210.4A patent/CN111970158B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936857A (en) * | 2015-12-29 | 2017-07-07 | 中国电信股份有限公司 | A kind of connection management method of mixed cloud, SDN controllers and mixing cloud system |
CN109218099A (en) * | 2018-09-20 | 2019-01-15 | 犀思云(苏州)云计算有限公司 | A kind of cloud exchange network platform based on SDN/NFV |
CN109257222A (en) * | 2018-09-27 | 2019-01-22 | 中国联合网络通信有限公司广东省分公司 | A kind of metropolitan area network framework based on arranging service device |
CN111327452A (en) * | 2018-12-17 | 2020-06-23 | 瞻博网络公司 | Network device configuration using message bus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764785A (en) * | 2020-12-24 | 2021-05-07 | 江苏云涌电子科技股份有限公司 | Method for automatically upgrading multi-stage controller |
CN112764785B (en) * | 2020-12-24 | 2021-10-29 | 江苏云涌电子科技股份有限公司 | Method for automatically upgrading multi-stage controller |
CN117472049A (en) * | 2023-10-25 | 2024-01-30 | 山东大学 | Control method and system for movement device, storage medium and movement device |
CN117472049B (en) * | 2023-10-25 | 2024-05-07 | 山东大学 | Control method and system for movement device, storage medium and movement device |
Also Published As
Publication number | Publication date |
---|---|
CN111970158B (en) | 2023-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11924068B2 (en) | Provisioning a service | |
CN110890976B (en) | Dynamic intention guarantee method and device in computer network and storage medium | |
WO2020253347A1 (en) | Container cluster management method, device and system | |
US20220058042A1 (en) | Intent-based telemetry collection service | |
WO2017181876A1 (en) | Device state and resource information monitoring method, related device, and system | |
US9838253B2 (en) | Object-oriented network virtualization | |
US8639793B2 (en) | Disaster recovery and automatic relocation of cloud services | |
US11281476B2 (en) | Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers | |
CN108449350B (en) | Multi-protocol arranging method and device | |
CN110011869B (en) | Controller apparatus, method, and computer-readable storage medium | |
EP2098028A1 (en) | Method for logical deployment, undeployment and monitoring of a target ip network | |
CN111970158B (en) | Processing system, method, device and equipment for edge access | |
CN110134518A (en) | A kind of method and system improving big data cluster multinode high application availability | |
WO2020001409A1 (en) | Virtual network function (vnf) deployment method and apparatus | |
CN108347339A (en) | A kind of service restoration method and device | |
CN115622892A (en) | Topology based graphical user interface for network management system | |
US9565130B2 (en) | Cloud-based resource availability calculation of a network environment | |
CN115878259A (en) | Protecting instances of resources of a container orchestration platform from inadvertent deletion | |
CN113312059A (en) | Service processing system and method and cloud native system | |
US9973569B2 (en) | System, method and computing apparatus to manage process in cloud infrastructure | |
US10284428B2 (en) | Graphical policy interface for network control systems | |
CN110417568B (en) | NFV strategy negotiation method and system | |
US20230094033A1 (en) | Decentralized software upgrade image distribution for network device upgrades | |
EP4161016A1 (en) | Storing configuration data changes to perform root cause analysis for errors in a network of managed network devices | |
US20240154862A1 (en) | Pre-provisioning server hardware for deployment on an edge network |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |