CN111970158B - Processing system, method, device and equipment for edge access - Google Patents

Processing system, method, device and equipment for edge access Download PDF

Info

Publication number
CN111970158B
CN111970158B CN202010899210.4A CN202010899210A CN111970158B CN 111970158 B CN111970158 B CN 111970158B CN 202010899210 A CN202010899210 A CN 202010899210A CN 111970158 B CN111970158 B CN 111970158B
Authority
CN
China
Prior art keywords
configuration
nrc
switch
control system
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.)
Active
Application number
CN202010899210.4A
Other languages
Chinese (zh)
Other versions
CN111970158A (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010899210.4A priority Critical patent/CN111970158B/en
Publication of CN111970158A publication Critical patent/CN111970158A/en
Application granted granted Critical
Publication of CN111970158B publication Critical patent/CN111970158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration

Abstract

The application provides a processing system, a processing method, a processing device and processing equipment for 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 southbound interface of the NRC. The global network routing controller is connected with the NRC northbound interface in each regional control system. The global network route controller is used for receiving a configuration request comprising non-business resource information and sending the configuration request to NRCs in different regional control systems through a northbound interface, the NRCs in each regional control system are used for configuring a connected switch according to the received configuration request, and a database in each regional control system is used for storing the 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 remarkably improves the configuration efficiency.

Description

Processing system, method, device and equipment for edge access
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to a processing system, a method, a device and equipment for edge access.
Background
Under the traditional network architecture, a control plane and a data plane of a network are coupled to network equipment (such as switch equipment), and when a network topology structure is constructed, network management personnel are required to allocate machine by machine through configuration interfaces of the network equipment. For network equipment produced by different equipment manufacturers or with different models of the same equipment manufacturer, the configuration method is different, the technical requirements for network management staff are higher, the management and configuration tasks of the network equipment 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 network topology.
In a first aspect, an embodiment of the present application provides a processing system for edge access, including:
the system comprises a global network route controller and at least one regional control system arranged in each region;
each regional control system comprises: a network routing controller NRC, a database connected to the NRC, and a switch connected to 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 route controller is used for receiving a configuration request comprising non-business resource information and sending the configuration request to NRC in different area 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-business resource information.
In a possible implementation manner, 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 one possible implementation, the database in each zone control system is further used to store an operation record for the switch.
In one possible implementation, the NRC in each regional control system includes a foreign access layer, a data persistence layer, a logic processing layer, and a southbound protocol layer;
the external access layer is configured to receive a configuration request, where the configuration request includes configuration information of a switch connected to the NRC, or receives a static configuration parameter of the NRC;
The data persistence layer is used for carrying out data interaction with the 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 alternatively, the process may be performed,
configuring the NRC according to the static configuration parameters of the NRC in the configuration request;
the southbound protocol layer is configured to send the configuration command to a switch.
In a second aspect, an embodiment of the present application provides a method for processing edge access, 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;
according to the configuration request, storing the configuration information into a database connected with the NRC;
and configuring the connected switch according to the configuration information.
In one possible implementation, the receiving the configuration request includes:
receiving a configuration request comprising non-business resource information sent by a global network routing controller through a northbound interface, wherein the configuration information comprises the non-business resource information; or alternatively, the process may be performed,
And receiving an input configuration request comprising service resource information through the northbound interface, wherein the configuration information comprises 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 the switch is detected to be online 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;
comparing whether the first configuration object and the second configuration object are consistent, 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 an 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 comprising non-business resource information sent by a global network routing controller through a northbound interface, wherein the configuration information comprises the non-business resource information; or alternatively, the process may be performed,
and receiving an input configuration request comprising service resource information through the northbound interface, wherein the configuration information comprises the service resource information.
In a possible implementation manner, the receiving module is further configured to receive a static configuration parameter for the NRC, where the static configuration parameter includes 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 parameter.
In one possible embodiment, the apparatus further comprises: the detection module and the acquisition module are used for detecting the detection state of the object;
The detection module is used for acquiring resources from the database to generate a first configuration object when detecting that the switch is on line through a southbound interface;
the acquisition module is further used for acquiring real-time configuration information in the switch;
the processing module is further used for generating a second configuration object according to the real-time configuration information; comparing whether the first configuration object and the second configuration object are consistent, 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, the storage module is further configured to store an operation record of the switch in the database when the processing module configures the switch.
In a fourth aspect, embodiments of the present application provide an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of any one of the second aspects.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium comprising: 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 processing system, a method, a device and equipment for 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 southbound interface of the NRC. The global network routing controller is connected with the NRC northbound interface in each regional control system. The global network route controller is used for receiving a configuration request comprising non-business resource information and sending the configuration request to NRCs in different regional control systems through a northbound interface, the NRCs in each regional control system are 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, wherein the configuration information comprises the non-business 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 remarkably improves the configuration efficiency.
Drawings
Fig. 1 is a schematic view of a scenario of a processing method of edge access provided in an embodiment of the present application;
fig. 2 is a schematic view of a scenario of a processing method of edge access according to an embodiment of the present application;
fig. 3 is a flowchart of a processing method of edge access according to an embodiment of the present application;
fig. 4 is a flowchart of a processing method of edge access according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an edge access processing device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an edge access processing device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a network routing controller according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms first, second, third and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example.
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 the embodiments of the present application will be explained.
Software defined networking (software defined network, SDN) technology: the core technology of the network virtualization implementation method is that the control plane and the data plane of the network equipment are separated, and the network equipment is controlled in a centralized way through a programmable control plane, so that the flexible management of network traffic is realized.
ODL: openDayLight, a modularized, extensible and upgradeable controller framework based on SDN development, supports various southbound protocol plug-ins, and has strong northbound interface expandability.
MongoDB: a database based on distributed file storage.
Netcon protocol: a network management protocol based on extensible markup language XML is mainly used for configuring and managing network equipment.
Secure shell protocol (secure shell protocol, SSH): an encrypted network transport protocol provides a secure transport environment for network services in an unsecure 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 operator to access and manage the network, i.e. an interface provided upwards.
The southbound interface (SouthBound Interface) is an interface that manages other vendor network management or equipment (e.g., switching equipment in the embodiments of the present application), i.e., interfaces provided downwards.
Region: regional, physical data center.
AZ: available Zone, and mutually independent physical zones in the same region.
Currently, 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 the disadvantages of huge task amount, low efficiency and high error rate. Moreover, after configuration is completed, node information and configuration information of the current node cannot be stored, and when abnormality occurs in the node, consistency verification 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 above problems, embodiments of the present application provide a processing system, a method, an apparatus, and a device for edge access, which implement flexible configuration and management of switch devices in a network topology. Specifically, the embodiment of the application provides a processing system for edge access, which comprises a network routing controller NRC, wherein the controller configures and manages switch equipment in network topology through various southbound protocols (such as NETCONF protocol or SSH protocol), thereby improving the degree of automation and reducing the difficulty of adjusting configuration information. Meanwhile, the processing system of the embodiment of the application also introduces MongoDB to store the switch equipment information and the configuration information, so that consistency verification of the switch equipment configuration can be realized, and normal operation of the switch equipment in the network topology is prevented from being influenced by network abnormality. In addition, the processing system provided by the embodiment of the application can adopt the design of a multi-stage controller to realize centralized management of a plurality of switch devices in different areas.
Fig. 1 is a schematic view of a scenario of an edge access processing method provided in an embodiment of the present application, where, as shown in fig. 1, the scenario is an area control system of an 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.
Wherein the configuration request received by the NRC includes two kinds of: first, non-service resource information, such as switch information, is received for initializing the configuration of 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, the NRC stores information in a database connected to NRC, regardless of non-service resource information or service resource information. After the NRC finishes storing the information, the corresponding configuration is issued 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. Likewise, the NRC will store static configuration information for the NRC into a database connected to the NRC.
Fig. 2 is a schematic view of a scenario of an edge access processing method provided in an embodiment of the present application, where, as shown in fig. 2, the scenario includes a global network routing controller and at least one regional control system set by each region. Fig. 2 shows two zones (regions), zone a and zone B, respectively, wherein zone a comprises two zone control systems and zone B comprises one zone control system. For any one zone control system, the zone 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 mainly receives a configuration request including non-service resource information, which is the only entry managed by the global switch. The registration and deletion of the switch are handled by the global network routing controller, which, after receiving the registration and deletion request, persists the data into a database (global database as shown in fig. 2) connected to the global network routing controller and then sends the kafka message to the NRCs in the zone control systems of the respective zones. 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 any way in the embodiments of the present application.
It should be noted that, the NRC provided in the embodiments of the present application is a network routing controller based on SDN technology.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 3 is a flowchart of a processing method of edge access provided in the embodiment of the present application, where the processing method of edge access provided in the embodiment may be applied to NRC shown in fig. 1, or NRC AZ shown in fig. 2, as shown in fig. 3, and the processing method includes the following steps:
Step 101, a configuration request is received, wherein the configuration request comprises configuration information of a switch connected with the NRC.
The NRC in the embodiment of the application provides northbound interface service, can support a restful api interface and a kafka message queue interface, and is convenient for network management personnel to adjust and optimally configure a switch connected with the NRC. Specifically, the NRC may receive a configuration request through the northbound interface. Wherein the configuration information of the switch connected with the NRC in the configuration request comprises service resource information or non-service resource information. Wherein the service resource information includes network segment configuration information. The non-business 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 comprising non-business resource information sent by the global network routing controller through the northbound interface, wherein the configuration information comprises the non-business resource information. Illustratively, as shown in fig. 3, NRC AZ in AZ1 of zone a receives a configuration request including non-service resource information, which is sent by NRC Global (Global network routing controller) through a kafka message queue interface, through a northbound interface.
In another possible implementation, receiving the configuration request includes: and receiving an input configuration request comprising service resource information through the northbound interface, wherein the configuration information comprises the service resource information. As shown in fig. 3, the NRC AZ in AZ1 of the region a directly receives a configuration request including service resource information sent by other devices (clients) through a northbound interface.
And 102, storing configuration information into a database connected with the NRC according to the configuration request.
The NRC in the embodiment of the present application also provides a persistent storage service including functions of initializing a database connected to the NRC, creating or deleting a collection, adding/deleting/querying a document, and the like. Specifically, the NRC is connected to the database, and after receiving the configuration request, the NRC first stores configuration information in the configuration request to the database connected to the NRC. In addition, a database connected to the NRC is used to store a record of the operation of the exchange by the user.
Alternatively, the database connected to the NRC may be a database based on a distributed file store, such as a monodb.
According to the embodiment of the application, the database is introduced to store the resource information of the switch, so that centralized management of resources and consistency verification of configuration can be realized.
And 103, configuring the connected switch according to the configuration information.
The NRC in the embodiment of the present application also provides a configuration generation, configuration issuing service, and static configuration loading service. Wherein the configuration generation service combines and generates an underlying basic configuration set, such as specific routing configurations of interfaces interface, vrf in the switch, primarily from the traffic resources. The configuration issuing service may use SSH protocol or netcon f protocol for configuration issuing. The static configuration loading service mainly adjusts the running state of the controller, and the adjusted parameters comprise the number of threads, the number of queues, the user name, the password and the like of the NRC.
In one possible implementation, 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 a southbound interface.
The NRC in the embodiment of the present application further provides an on-line and off-line operation service of the switch, including functions of consistency check after the switch is on-line, switch off-line notification, and the like, and mainly senses a connection state of the switch connected with the NRC through a southbound interface of the NRC.
The processing method of edge access, provided by the embodiment of the application, is applied to NRC, and is used for configuring one or more switches connected with NRC by receiving a configuration request comprising configuration information of the switch connected with NRC, storing the configuration information to a database connected with NRC according to the configuration request, and generating a configuration command executable by the switch 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 remarkably 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 a static configuration parameter of the NRC, and configuring the NRC according to the static configuration parameter. Wherein, the static configuration parameters of the NRC at least comprise the following parameters: thread number, queue number, 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 configuring the switch, the operation record of the switch is stored in a database. I.e. when the NRC issues an actual configuration (i.e. a configuration command executable by the switch) 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 method for processing edge access further includes a method for checking consistency of 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 provided in the embodiment of the present application, and as shown in fig. 4, the processing method provided in the embodiment of the present application includes the following steps:
step 201, when detecting that the switch is on line through the southbound interface, acquiring resources from a database to generate a first configuration object.
The NRC of the embodiments of the present application provides a data model and common class definition services, including configuration definition classes of switches, dataStore processing classes, and the like. Specifically, when the NRC detects that the switch is on-line through the southbound interface, all resources of the switch are acquired from the database, and a first configuration object is generated according to all the acquired resources.
Step 202, acquiring real-time configuration information in the switch, and generating a second configuration object according to the real-time configuration information.
Specifically, the NRC obtains real-time configuration information from the switch in the form of a file, and parses and generates a second configuration object according to the real-time configuration information.
In the embodiment of the application, the first configuration object and the second configuration object are java classes, such as Vrf class, bgp class and the like, abstracted from the switch configuration, and only 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 cause the configuration information on the switch to be changed under the condition that the NRC does not sense, for example, the switch is restarted when power is off, abnormal operation occurs to the switch due to irregular operation, and once the configuration information issued to the switch in advance is lost or tampered, the subsequent configuration will also be issued to fail, so that the normal operation of the switch is affected. In order to avoid the above situation, the NRC in the embodiment of the present application needs to obtain the configuration information of the switch from the database and the switch, respectively, to perform configuration object comparison.
Step 203, comparing whether the first configuration object and the second configuration object are consistent, and reconfiguring the switch according to the resources in the database when the first configuration object and the second configuration object are inconsistent.
The first configuration object and the second configuration object being inconsistent includes a missing, redundant, or erroneous configuration object. Illustratively, the first configuration object includes 5 configuration records, the second configuration object includes 6 configuration records, each configuration record including a target object and a next hop object. It can be seen that 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. For example, the first configuration object and the second configuration object each include 5 configuration records, however, the next-hop object in the corresponding 1 configuration records 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 the corresponding configuration of the current switch needs to be adjusted according to the next-hop object in the corresponding 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 inconsistent, an alarm or alert message may also be sent to the terminal of the network manager, so that the network manager reconfigures the switch through the NRC.
Optionally, in some embodiments, a detection period for performing consistency check may be set for NRC, so as to implement periodic inspection, timely inspect the fault of the switch, reduce difficulty of configuration adjustment, and improve stability of the regional control system.
The processing method for edge access, provided by the embodiment of the invention, is applied to NRC, when the switch is detected to be on line through a southbound interface, the resources of the switch are obtained from a database, a first configuration object is generated, meanwhile, the real-time configuration information in the switch is obtained, the real-time configuration information is analyzed, a second configuration object is generated, the first configuration object and the second configuration object are compared, and when the first configuration object and the second configuration object are inconsistent, the switch is reconfigured according to the resources in the database. The processing process realizes consistency verification of the online switch in the regional control system, and when the switch configuration is abnormal, configuration information in the switch is timely adjusted, so that the configuration flexibility is high.
The embodiment of the present application may divide functional modules of a processing apparatus (i.e., NRC) according to the above embodiment of the method, 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 modules described above may be implemented either in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation. The following description will be given by taking an example of dividing each function module into corresponding functions.
Fig. 5 is a schematic structural diagram of an edge access processing device according to an embodiment of the present application. As shown in fig. 5, the processing apparatus 300 for edge access 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;
and the processing module 303 is 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 comprising non-business resource information sent by a global network routing controller through a northbound interface, wherein the configuration information comprises the non-business resource information; or alternatively, the process may be performed,
and receiving an input configuration request comprising service resource information through the northbound interface, wherein the configuration information comprises the service resource information.
In a possible implementation manner, the receiving module 301 is further configured to receive a static configuration parameter for the NRC, where the static configuration parameter includes 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 an edge access processing device according to an embodiment of the present application. On the basis of the embodiment shown in fig. 5, as shown in fig. 6, the processing apparatus 300 for edge access in this embodiment further includes: a detection module 304 and an acquisition module 305;
when the detection module 304 detects that the switch is on-line through a southbound interface, the acquisition module 305 is configured to acquire resources from the database to generate a first configuration object;
The acquiring module 305 is further configured to acquire real-time configuration information in the switch;
the processing module 303 is further configured to parse and generate a second configuration object according to the real-time configuration information; comparing whether the first configuration object and the second configuration object are consistent, 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, the storage module 302 is further configured to store an operation record of the switch in the database when the processing module 303 configures the switch.
The processing device for edge access provided in this embodiment of the present application is configured to execute each step in any of the foregoing method embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 7 is a schematic 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 liquid crystal display device comprises a liquid crystal display device,
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 method embodiments described above.
Alternatively, the memory 402 may be separate or integrated with the processor 401.
When the memory 402 is a device separate from the processor 401, the electronic apparatus 400 further includes: a bus 403 for connecting the memory 402 and the processor 401.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor are configured to implement the technical solution in any of the foregoing method embodiments.
The application also 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 embodiment of the method.
The present application further provides a processing system for edge access, as shown in fig. 2, where the processing system includes: the global network route controller and at least one zone control system provided for each zone, for example, the block diagram of zone 1 in fig. 2 corresponds to one zone control system.
Each regional control system comprises: the network route 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 with a northbound interface of the NRC in each regional control system.
The global network route controller is used for receiving a configuration request comprising non-business resource information and sending the configuration request to NRC in different area control systems through a northbound interface.
The NRC in each zone control system is configured to configure the connected switches according to the received configuration request.
The database in each zone control system is configured to store configuration information including non-business resource information.
In one possible implementation manner, the global network routing controller centrally sends configuration requests including non-service resource information to NRCs in the regional control systems of various regions through the kafka message queue interface, so that unified registration and management of the multi-region switch 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 further configured to receive a configuration request including service resource information sent by another device.
In one possible implementation, the database in each zone control system is also used to store an operational record of the switch.
In one possible implementation, the NRC in each regional control system is a network routing controller based on SDN technology. Fig. 8 is a schematic diagram of a network routing controller provided in an embodiment of the present application, and as shown in fig. 8, an NRC in an embodiment of the present application includes the following four parts:
the device comprises an external access layer, a data persistence layer, a logic processing layer and a southbound protocol layer.
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 receives static configuration parameters of the NRC.
Specifically, the external access layer is provided with a restful api interface and a kafka message queue interface, and the interfaces belong to northbound interfaces. The restful api interface can be used as a management interface, and a network manager adjusts and optimizes information of a switch in the regional control system by calling the management interface. The kafka message queue interface may receive a configuration request including traffic resource information or non-traffic resource information.
And the data persistence layer is used for carrying out data interaction with the 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 a Data model and a public class definition service, including a configuration definition class of a switch, a DataStore processing class and the like.
The Persistence module mainly provides a persistent storage service including initializing mongo db, creating/deleting a collection, adding/deleting/querying a document, and the like.
The Consistency module mainly provides Consistency check service, obtains a temporary configuration object by acquiring real-time configuration of the switch and analyzing and processing the temporary configuration object, analyzes the persistently stored resources to obtain the temporary configuration object, and compares the temporary configuration object with the temporary configuration object and judges whether the temporary configuration object and the temporary configuration object are 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 configuring the NRC according to the static configuration parameters of the NRC in the configuration request;
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 components are a generator layer and a rule layer, the generator layer combines and generates the underlying basic configuration set according to the service resources, and the rule layer is the minimum set of the underlying basic configuration, such as specific configuration interface, vrf in the switch. The configuration issuing is divided into an ssh layer and an xml layer, wherein the ssh layer uses an ssh protocol to perform configuration issuing, and the xml layer uses a netconf protocol to perform configuration issuing.
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 a resource processing logic Service, and invokes a generator layer combination configuration set in the conf module according to Service logic, and then invokes a ssh layer or an xml layer in the conf module for configuration issuing.
And the southbound protocol layer is used for sending configuration commands to the switch.
Specifically, the southbound protocol layer includes ssh protocol and netconf protocol, and also provides southbound (south) interface module. The south interface module mainly provides the switch on-line and off-line operation service, and comprises the functions of consistency check, switch off-line notification and the like after the switch is on-line.
Through the above module design, the NRC can realize the function of performing configuration issuing based on the southbound ssh protocol and the netconf protocol, thereby improving the automatic management and configuration of the switch connected with the NRC and reducing the difficulty of configuration adjustment.
It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. 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 for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings 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 nonvolatile 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 disk. 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). 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 for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A processing system for edge access, comprising:
the system comprises a global network route controller and at least one regional control system arranged in each region;
each regional control system comprises: the network routing controller NRC, a database connected with the NRC and a switch connected with a southbound interface of the NRC, wherein the database is based on distributed file storage;
the global network routing controller is connected with a northbound interface of the NRC in each regional control system;
the global network route controller is used for receiving a configuration request comprising non-business resource information and sending the configuration request to NRC in different area 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-business 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 service 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 an operational record of the switch.
4. A system according to any one of claims 1 to 3, wherein the NRC in each regional control system comprises an external access layer, a data persistence layer, a logic processing layer and a southbound protocol layer;
the external access layer is configured to receive a configuration request, where the configuration request includes configuration information of a switch connected to the NRC, or receives a static configuration parameter of the NRC;
the data persistence layer is used for carrying out data interaction with the 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 alternatively, the process may be performed,
configuring the NRC according to the static configuration parameters of the NRC in the configuration request;
the southbound protocol layer is configured to send the configuration command to a switch.
5. An edge access processing method, characterized in that, a network routing controller NRC applied to an edge access processing system, the edge access processing system includes a global network routing controller and at least one regional control system set by each region, and each regional control system includes: the network routing controller NRC, a database connected to the NRC, and a switch connected to a southbound interface of the NRC, the global network routing controller being connected to a northbound interface of the NRC in each regional control system, the global network routing controller being configured to receive a configuration request including non-traffic resource information and transmit the configuration request to the NRC in a different regional control system through the northbound interface, the method comprising:
receiving a configuration request, wherein the configuration request comprises configuration information of a switch connected with the NRC;
According to the configuration request, storing the configuration information into a database connected with the NRC, wherein the database is based on distributed file storage;
configuring the connected switch according to the configuration information;
the receiving a configuration request includes:
and receiving a configuration request comprising non-business resource information sent by the global network routing controller through the northbound interface, wherein the configuration information comprises the non-business resource information.
6. The method of claim 5, wherein receiving a configuration request further comprises:
and receiving an input configuration request comprising service resource information through the northbound interface, wherein the configuration information comprises the service resource information.
7. The method according to claim 5 or 6, characterized in that 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.
8. The method according to claim 5 or 6, characterized in that the method further comprises:
When the switch is detected to be online 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;
comparing whether the first configuration object and the second configuration object are consistent, 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, wherein the method further comprises:
and when the switch is configured, storing an operation record of the switch in the database.
10. An edge access processing device, characterized in that the device is a network routing controller NRC of an edge access processing system, the edge access processing system includes a global network routing controller and at least one regional control system set by each region, and each regional control system includes: the network routing controller NRC, a database connected to the NRC, and a switch connected to a southbound interface of the NRC, the global network routing controller being connected to a northbound interface of the NRC in each regional control system, the global network routing controller being configured to receive a configuration request including non-service resource information and transmit the configuration request to the NRC in a different regional control system through the northbound interface, the apparatus 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, wherein the database is a database stored based on a distributed file;
the processing module is used for configuring the connected switch according to the configuration information;
the receiving module is specifically configured to receive, through the northbound interface, a configuration request including non-service resource information sent by the global network routing controller, where the configuration information includes the non-service resource information.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of any one of claims 5 to 9.
CN202010899210.4A 2020-08-31 2020-08-31 Processing system, method, device and equipment for edge access Active CN111970158B (en)

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 CN111970158A (en) 2020-11-20
CN111970158B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111970158A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN110890976B (en) Dynamic intention guarantee method and device in computer network and storage medium
US11924068B2 (en) Provisioning a service
US20220058042A1 (en) Intent-based telemetry collection service
EP3402131A1 (en) Resource configuration method, virtualized network function manager and network element management system
US11281476B2 (en) Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers
US20150081878A1 (en) Describing datacenter rack information in management system
EP2098028A1 (en) Method for logical deployment, undeployment and monitoring of a target ip network
US20180295029A1 (en) Managing groups of servers
CN110011869B (en) Controller apparatus, method, and computer-readable storage medium
US20240007347A1 (en) Method and system for configuring bmc ip addresses of bare metal servers, medium and device
CN111970158B (en) Processing system, method, device and equipment for edge access
CN108347339B (en) Service recovery method and device
WO2020001409A1 (en) Virtual network function (vnf) deployment method and apparatus
CN110134518A (en) A kind of method and system improving big data cluster multinode high application availability
US11765014B2 (en) Intent-based distributed alarm service
KR102486236B1 (en) Apparatus and method for network function virtualization in wireless communication system
US9973569B2 (en) System, method and computing apparatus to manage process in cloud infrastructure
CN111813621A (en) Data processing method, device, equipment and medium based on Flume data middlebox
CN110417568B (en) NFV strategy negotiation method and system
CN116915837B (en) Communication method and communication system based on software defined network
EP4161016A1 (en) Storing configuration data changes to perform root cause analysis for errors in a network of managed network devices
EP4224810A1 (en) Methods for profile based management of infrastructure of a cloud used for ran applications
US20230254727A1 (en) Methods for profile based management of infrastructure of a cloud used for ran applications
US20230300019A1 (en) Dynamic customization of network controller data path based on controller internal state awareness
WO2022187531A1 (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