CN109921940A - System and method based on the offline layout processing of SDWAN Scene realization network service - Google Patents

System and method based on the offline layout processing of SDWAN Scene realization network service Download PDF

Info

Publication number
CN109921940A
CN109921940A CN201910202769.4A CN201910202769A CN109921940A CN 109921940 A CN109921940 A CN 109921940A CN 201910202769 A CN201910202769 A CN 201910202769A CN 109921940 A CN109921940 A CN 109921940A
Authority
CN
China
Prior art keywords
offline
cpe device
layout
sdwan
data library
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
Application number
CN201910202769.4A
Other languages
Chinese (zh)
Other versions
CN109921940B (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.)
CERTUSNET CORP
Original Assignee
CERTUSNET CORP
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 CERTUSNET CORP filed Critical CERTUSNET CORP
Priority to CN201910202769.4A priority Critical patent/CN109921940B/en
Publication of CN109921940A publication Critical patent/CN109921940A/en
Application granted granted Critical
Publication of CN109921940B publication Critical patent/CN109921940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of systems based on the offline layout processing of SDWAN Scene realization network service, including offline orchestration layer, are connected respectively with north orientation application layer and MD-SAL layers;The offline orchestration layer includes: offline cradle, is connected with the cpe device, for dispatching online cpe device, and configuration distributing is carried out to it, the processing that configuration synchronizes, abnormality processing and exception information report;Database framework is connected with the offline cradle and cpe device, information, status information and other ephemeral datas when for storing configuration information, the operation of all cpe devices.The invention further relates to a kind of methods for realizing the offline layout processing of the network service based on SDWAN scene.Using the system and method for the invention, layout can be made to stablize, shield dependence of the network application to cpe device presence, accomplish to be pre-configured with, the function of online layout;By database manipulation, realizes the seamless replacement of cpe device, configure the function of re-issuing.

Description

System and method based on the offline layout processing of SDWAN Scene realization network service
Technical field
The present invention relates to wide area network fields more particularly to the offline layout field of SDN controller, in particular to one kind to be based on The system and method for the offline layout processing of SDWAN Scene realization network service.
Background technique
The full name of SDN standard is " Software Defined Networking ", i.e. software defined network, is had three big Feature: Network Programmable, forwarding are separated with control and centerized fusion.In its framework, network be divided into application, control and Three layers of forwarding, forwarding device provides programming interface (SB API) for controller, and controller provides programming interface (NB for application API), the behavior of forwarding device can neatly be defined by writing network application.
SDWAN is by a kind of service formed in SDN technical application to wide area network scene, and this service is wide for connecting The enterprise network of wealthy geographic range, branch and data center including enterprise, current application scenarios can be summarized as three Class: enterprise's interconnection, data center's interconnection and the interconnection of cloud net.Under SDWAN scene, cpe device and controller are typically distributed about difference Wide area network among, due to the unstability of network connection, will lead to cpe device and controller can not establish prolonged stabilization Connection, this causes using that can not carry out the reliable layout of long-time to CPE, and the demand of offline layout becomes urgent and necessary.
Summary of the invention
The purpose of the present invention is overcoming the above-mentioned prior art, provide that a kind of to meet high reliability, layout steady Fixed system and method easily to operate based on the offline layout processing of SDWAN Scene realization network service.
To achieve the goals above, the system of the invention based on the offline layout processing of SDWAN Scene realization network service And method is as follows:
The system based on the offline layout processing of SDWAN Scene realization network service, is mainly characterized by, the system Include:
Offline orchestration layer is connected with north orientation application layer and MD-SAL layers respectively;
The offline orchestration layer includes:
Offline cradle is connected with the cpe device, matches for dispatching online cpe device, and to it It sets and issues, configures the processing that synchronous, abnormality processing and exception information report;
Database framework is connected with the offline cradle and cpe device, for storing all cpe devices Information, status information and other ephemeral datas when configuration information, operation.
Preferably, the offline cradle and database framework are together with other cores Bundle of SDN controller Starting.
Preferably, the database framework includes candidate data library and operation data library, the candidate data library is used Network application request data after storing newest conversion, the operation data library are used to store the fortune of current cpe device Row data;Each cpe device corresponds to unique candidate data library and unique operation data library;The candidate data library and fortune Row database respectively corresponds multiple collection of services;The collection of services corresponds to multiple business list items.
Preferably, the collection of services includes Tenant, VPN, BGP and QoS.
The method for realizing the offline layout processing of the network service based on SDWAN scene based on above system, it is main special Point, which is that the method includes network application, carries out offline layout to SDN controller, the method the following steps are included:
(1) network application sends the configuring request of cpe device;
(2) the configuring request information is carried out corresponding format conversion and handed over to database framework processing by controller, is returned Response to the request;
(3) offline cradle receives the online event notice of cpe device, saves the online state of equipment and distributes a job Person's thread carries out layout management to it;
(4) worker thread described in receives the rpc-reply response of prompt mistake, and before all are not submitted Configuration carries out rollback.
Preferably, the step (4) specifically includes the following steps:
(4.1) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, after Continuous step (4.2);Otherwise, continue step (4.3);
(4.2) rollback is carried out to all configurations that do not submit before, while the information of specific format to network is reported to answer With;
(4.3) step (2) are retried with preset times, until cpe device correctly responds.
It is executed preferably, the step (4) further includes the steps that worker thread terminates, the step (4) is specific The following steps are included:
(a4.1) judge whether that the lower limit for receiving cpe device is requested, if it is, the worker thread termination is held Row;Otherwise, continue step (a4.2);
(a4.2) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, after Continuous step (a 4.3);Otherwise, continue step (a4.4);
(a4.3) whether the rpc-reply response that the judgement worker thread receives prompts configuration error, if so, Then the worker thread, which terminates, executes;Otherwise, rollback is carried out to all configurations that do not submit before, while reported specific The information of format is to network application;
(a4.4) step (2) are retried, whether the number for judging that time-out retries has reached maximum value, if it is, described Worker thread, which terminates, to be executed;Otherwise, continue to retry step (2), until cpe device correctly responds.
Preferably, the method further includes that offline cradle passes through Master-Worker threading model to online Cpe device carries out the step of layout management, specifically includes the following steps:
(1-1) starts Master thread, and screening has the candidate data library of configuration information, and determines that online its is corresponding Cpe device;
(1-2) person of sharing out the work thread carries out layout management to the cpe device.
Preferably, the method and step (1-1) the following steps are included:
(1-1.1) establishes the databases mirror image pre-established, establishes worker thread pond, and carry out thread resources Initialize installation;
(1-1.2) polling data library mirror image;
(1-1.3) judges whether candidate data library has configuration information, if it is, continuing step (1-1.4);Otherwise, after Continuous step (1-1.2);
(1-1.4) judges whether its corresponding cpe device is online, if it is, the person's of sharing out the work thread compiles it Comb reason;Otherwise, continue step (1-1.2).
Preferably, the step (1-2) the following steps are included:
(1-2.1) is obtained and is lockked the session of cpe device;
(1-2.2) successively calls corresponding service code to carry out issuing behaviour by fully synchronized mode according to work flow Make, judges whether rpc-reply response is correct, if it is, carrying out next rpc request;Otherwise, into abnormality processing stream Journey;
Business list item is transferred to operation data library from candidate data library by (1-2.3), discharges the session lock of cpe device, knot Beam worker thread.
Using the system and method for the invention based on the offline layout processing of SDWAN Scene realization network service, offline The function that layout is realized is not only to carry out stablizing layout to it when cpe device is offline, and needs to realize to cpe device Configuration issues in advance, the function of online layout, while the seamless replacement that additional realization configures cpe device.Shielding network is answered With the dependence to cpe device presence, so that accomplishing to issue the pre- of configuration when cpe device is offline, waiting facilities are online It synchronizes afterwards and issues all configurations.By using offline arranging system, following technical effect can achieve: stablizing layout: shielding Dependence of the network application to cpe device presence, accomplishes to be pre-configured with, the function of online layout;Configuration re-issues: passing through Database manipulation realizes the seamless replacement of cpe device, configures the function of re-issuing;It is smooth to expand: using Development of Modular Mode, increase business only need to add the service code of response, change business dependence, elastic increase business, smooth upgrade Business;High reliability: offline cradle and database framework separately design, the strong dependence between business, increase and are The reliability of system.
Detailed description of the invention
Fig. 1 is the SDN controller of the system of the invention based on the offline layout processing of SDWAN Scene realization network service Structural schematic diagram.
Fig. 2 is the database framework of the system of the invention based on the offline layout processing of SDWAN Scene realization network service Structural schematic diagram.
Fig. 3 is the method for the offline layout processing of the network service of realization of the invention based on SDWAN scene to controller Carry out the flow diagram of offline layout.
Fig. 4 is the offline layout of the method for the offline layout processing of the network service of realization of the invention based on SDWAN scene The flow diagram of frame.
Specific embodiment
It is further to carry out combined with specific embodiments below in order to more clearly describe technology contents of the invention Description.
Of the invention is somebody's turn to do the system based on the offline layout processing of SDWAN Scene realization network service, including:
Offline orchestration layer is connected with north orientation application layer and MD-SAL layers respectively;
The offline orchestration layer includes:
Offline cradle is connected with the cpe device, matches for dispatching online cpe device, and to it It sets and issues, configures the processing that synchronous, abnormality processing and exception information report;
Database framework is connected with the offline cradle and cpe device, for storing all cpe devices Information, status information and other ephemeral datas when configuration information, operation.
As the preferred embodiment of the present invention, the offline cradle and database framework and SDN controller Other cores Bundle starts together.
As the preferred embodiment of the present invention, the database framework includes candidate data library and operation data library, The candidate data library is for storing the network application request data after newest conversion, and the operation data library is for depositing Put the operation data of current cpe device;Each cpe device corresponds to unique candidate data library and unique operation data library;Institute The candidate data library and operation data library stated respectively correspond multiple collection of services;The collection of services corresponds to multiple traffic tables ?.
As the preferred embodiment of the present invention, the collection of services includes Tenant, VPN, BGP and QoS.
The method for realizing the offline layout processing of the network service based on SDWAN scene based on above system, it is main special Point, which is that the method includes network application, carries out offline layout to SDN controller, the method the following steps are included:
(1) network application sends the configuring request of cpe device;
(2) the configuring request information is carried out corresponding format conversion and handed over to database framework processing by controller, is returned Response to the request;
(3) offline cradle receives the online event notice of cpe device, saves the online state of equipment and distributes a job Person's thread carries out layout management to it;
(4) worker thread described in receives the rpc-reply response of prompt mistake, and before all are not submitted Configuration carries out rollback;
(4.1) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, after Continuous step (4.2);Otherwise, continue step (4.3);
(4.2) rollback is carried out to all configurations that do not submit before, while the information of specific format to network is reported to answer With;
(4.3) step (2) are retried with preset times, until cpe device correctly responds;
(a4.1) judge whether that the lower limit for receiving cpe device is requested, if it is, the worker thread termination is held Row;Otherwise, continue step (a4.2);
(a4.2) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, after Continuous step (a 4.3);Otherwise, continue step (a4.4);
(a4.3) whether the rpc-reply response that the judgement worker thread receives prompts configuration error, if so, Then the worker thread, which terminates, executes;Otherwise, rollback is carried out to all configurations that do not submit before, while reported specific The information of format is to network application;
(a4.4) step (2) are retried, whether the number for judging that time-out retries has reached maximum value, if it is, described Worker thread, which terminates, to be executed;Otherwise, continue to retry step (2), until cpe device correctly responds.
Preferably, the method further includes that offline cradle passes through Master-Worker threading model to online CPE Equipment carries out the step of layout management, specifically includes the following steps:
(1-1) starts Master thread, and screening has the candidate data library of configuration information, and determines that online its is corresponding Cpe device;
(1-1.1) establishes the databases mirror image pre-established, establishes worker thread pond, and carry out thread resources Initialize installation;
(1-1.2) polling data library mirror image;
(1-1.3) judges whether candidate data library has configuration information, if it is, continuing step (1-1.4);Otherwise, after Continuous step (1-1.2);
(1-1.4) judges whether its corresponding cpe device is online, if it is, the person's of sharing out the work thread compiles it Comb reason;Otherwise, continue step (1-1.2);
(1-2) person of sharing out the work thread carries out layout management to the cpe device;
(1-2.1) is obtained and is lockked the session of cpe device;
(1-2.2) successively calls corresponding service code to carry out issuing behaviour by fully synchronized mode according to work flow Make, judges whether rpc-reply response is correct, if it is, carrying out next rpc request;Otherwise, into abnormality processing stream Journey;
Business list item is transferred to operation data library from candidate data library by (1-2.3), discharges the session lock of cpe device, knot Beam worker thread.
In a specific embodiment of the invention, the present invention makes full use of the architecture of SDN controller, in north orientation application layer And offline orchestration layer is added between MD-SAL layers, as shown in Figure 1.SDN controller is using OSGi framework agreement come management module Life cycle, OSGi are the software architectures based on plug-in type, include OSGi framework and plug-in unit.This plug-in unit is referred to as Bundle, Bundle dynamically can be loaded and be unloaded, dynamic update, and by using OSGi, Java application can be realized Good modularization.OSGi framework agreement provides the Java framework of a general safety, deployment that Bundle is served by, Extension all relies on the frame.OF Arrange Framework in Fig. 1 is offline orchestration layer, NB (Consumer) API For north orientation application layer, MD-SAL is MD-SAL layers.
In claims of the present invention and specification, cpe device is client gateway equipment;Candidate database is Candidate data library;Running database is runtime data library;SDWAN scene refers to that SDN technology is applied to one kind of wide area network Scene;MD-SAL layers are the service abstraction layers based on model-driven, are a hierarchical structures of controller;Rpc-reply response Refer to the response of remote procedure call;Worker thread refers to worker thread;Master-Worker threading model is a kind of Threading model, Master thread represent listener thread, and Worker thread represents worker thread, and Master thread can be with Multiple Worker threads are enabled simultaneously to complete specific arranging service work;The session of cpe device represents session, represents A connection between controller and cpe device.
In specification and Figure of description of the invention, APPS refers to network application;NB (Consumer) API refers to that north orientation connects Mouthful, generally use HTTP Restful style;OF Arrange Framework refers to offline cradle;DB Framework refers to Database framework;MD-SAL refers to the service abstraction layer based on model-driven;Distributed CORE refers to distributed kernel;SB (Providers&Protocols) API Guide to interface, adoptable south orientation agreement include SNMP, Netconf, BGP-LS etc.; Net Element (CPE) refers to network element, client gateway equipment.CPE-DB1 refers to the corresponding database of specific cpe device, including Candidate and Running database;DB1-Coll1 refers to the corresponding business list item of certain database;Collection-Doc1 Refer to that the corresponding specific business datum of specific transactions list item, business datum exist in the form of document.APP refers to network application; Controller refers to controller;Request is north orientation request, generallys use HTTP Restful interface;Response is north orientation The response of request;Online refers to that equipment is online;Rpc is remote procedure call;Rpc-reply is the response of remote procedure call.
Offline orchestration layer is mainly made of offline cradle and database framework two parts, they are as SDN controller Bundle exist, start with other cores Bundle of controller.Offline cradle utilizes Master-Worker line Each online cpe device of journey module scheduling carries out configuration distributing to it, configures synchronous, abnormality processing and exception information It reports;Database framework is responsible for storing the configuration information of all cpe devices, and information when operation, status information and others are faced When data.
Database framework is made of following three levels, as shown in Figure 2
Each cpe device uniquely corresponds to a Candidate and Running database, for example the type of cpe device is VCPE, SN (sequence number) are CERTUSNET2GW0001, then its unique corresponding database-name are as follows: Candidate- VCPE-CERTUSNET2GW0001 and Running-VCPE-CERTUSNET2GW0001;
Multiple collection of services are corresponded in each database (such as Candidate-VCPE-CERTUSNET2GW0001), Under SDWAN scene, at least there are the collection of services such as Tenant, VPN, BGP and QoS.
Each collection of services corresponds to multiple business list items, by taking Tenant business as an example, may deposit on the same cpe device A business list item under Tenant collection of services is shown as in multiple vrf, each vrf.
The data of network application request, can be stored into Candidate database after conversion, it should be noted is that, The data before covering are submitted in the repetition of identical services, so that is stored in Candidate database is newest match forever Confidence breath.
After cpe device is online, offline cradle can successively issue configuration according to specific work flow, under each business After sending out successfully, the business datum of the business can be all transferred in Running database from Candidate database.Running What database was stored is the operation data of current cpe device.When necessary, it needs after equipment is online, the operation of active synchronization equipment When data into Running database, this work is completed by offline cradle.
From Candidate to Running, issuing in advance to cpe device configuration, online layout are realized.
It can not restore if there is hardware fault unfortunately has occurred in a cpe device, or be shared between more cpe devices Configuration, the solution of offline arranging system is that Running database is transferred to Candidate database, later by offline Cradle re-issues configuration.It is worth noting that, cpe device must be in down status always during data transfer To guarantee data consistency.
From Running to Candidate, the seamless replacement and configuration realized to cpe device configuration is shared.
When SDN controller starts, offline cradle Bundle and database framework Bundle is loaded, at this point, network is answered With that can carry out offline layout to controller, detailed process is as shown in Figure 3:
1, network application sends the configuring request of cpe device by NB api interface, such as issues the tunnel VxLAN;
2, after controller receives request, database framework processing is given after its solicited message is carried out corresponding format conversion Afterwards, the response to the request is returned immediately;
3, after cpe device is online, offline cradle receives online event notice, saves the online state of equipment and distributes one A Worker thread carries out layout management to it.For the process of layout by the way of fully synchronized, i.e. Worker thread passes through SB API sends a rpc and requests to cpe device, after cpe device response, retransmits next rpc request;
If 4, Worker thread receives the rpc-reply response of a prompt mistake, before all can not submitted Configuration carries out rollback, while reporting the information of a specific format to network application;
If 5, Worker thread does not receive rpc-reply response yet in time-out time, which will be carried out specific Number retries, until cpe device correctly responds;
6, in a case where, Worker thread will be terminated and be executed:
A, the number that time-out retries has reached maximum value;
B, the offline event of equipment is received;
C, the rpc-reply of response prompts configuration error.
The core of offline cradle is to use Master-Worker threading model to realize to each online CPE The layout management of equipment is realized shown in schematic diagram 4.
When offline cradle starts with SDN controller, Master thread can be started first, workflow is as follows:
1, a memory mirror of database is established, and is in due course and refreshes this part of mirror image.Establish memory mirror Purpose is to avoid database read operation too much, reduces unnecessary communication delay, improves the working efficiency of Master thread;
2, Worker thread pool is established, and carries out the Initialize installation of thread resources;
3, polling data library mirror image filters out all Candidate databases of configuration information;
4, there is the Candidate database of configuration information for each, judge whether its corresponding cpe device is online. If online, one Worker thread of distribution carries out layout management to it;
5, the operation for constantly carrying out 3-4, until controller stops Master thread.
Worker thread is only responsible for handling the layout management of corresponding cpe device in its complete life cycle, other Cpe device is by other corresponding Worker thread managements.Its workflow is as follows:
1, the session of cpe device is obtained, and its session is lockked.The purpose of latching is not allow other composers Configuration is issued to it, guarantees the data consistency between cpe device and offline arranging system;
2, corresponding service code is successively called to carry out issuing operation according to work flow.Action type has Insert, Delete and Update issues process by the way of fully synchronized, i.e. the corresponding rpc-reply response of a rpc request, After confirming that rpc-reply response is correct, next rpc request is just carried out.If rpc-reply returns to mistake, enter exception Manage process;
3, after the completion of sending down service, business list item is transferred to Running database from Candidate database;
4, the session lock for discharging cpe device, terminates Worker thread.
Abnormality processing specifically includes that the offline exception of CPE, and time-out is abnormal, abnormal interruption and arrangement abnormalities.Process flow is such as Under:
A, the offline exception of CPE.Thread resources recycling is carried out immediately, and related data is restored, and Worker thread is terminated;
B, time-out is abnormal.Abnormal time-out is usually when time-out exception occurs, to need as caused by the unstability of network communication Business is issued again, the number retried is defaulted as 4, if reaching the maximum times retried does not still receive rpc- Reply response then actively closes session, and Resource recovery restores data, terminates Worker thread;
C, abnormal interruption.When sending down service need data be not yet ready at that time, abnormal interruption will be triggered, handle Process is then to be immediately finished Worker thread, and notify Master thread does not have to comprehend the CPE at a certain time interval to set Standby layout demand;
D, arrangement abnormalities.Caused by cpe device, error message returns in rpc-reply message body, and type of error such as draws With resource that is mistake or being not present.Process flow is to seal current business datum up for safekeeping immediately, is reported to network application specific The alarm of format, notice Master thread mask close session to the layout demand of the cpe device, and data collection terminates Worker thread.Network application needs to carry out the processing of next step after receiving alarm, this has had exceeded model of the invention It encloses, repeats no more.
When arranging service, necessarily refer to the dependence between business, the parsing of dependence be related to business can it is correct under Hair.For the service code of each business when generating, which the business for needing that it is specified to directly rely on has, these relationships constitute one A complete dependency chain.Worker thread is in issuing service, it is necessary in strict accordance with the sequential organization business of dependency chain.
When offline arranging system starting, need actively to go to read the dependence of business in each service code.Business it Between dependence have: Self, Import, Export and Unknown.Self represents business itself, and Import, which is represented, to be relied on, Export representative is relied on and (does not have to the relationship temporarily), and Unknown represents unknown relation.
One dependency chain matrix example to letter is as follows:
The dependency chain matrix indicates: B2 relies on B1, and B3 relies on B2, and B4 relies on B3, and B5 relies on B4, and B6 relies on B5.Finally give birth to At dependency chain are as follows: B1 <-B2 <-B3 <-B4 <-B5 <-B6.Worker thread is in arranging service, it is necessary to first layout B1 business, Secondly layout B2 business, B3 business, B4 business, B5 business, last layout B6 business.
Consequence caused by Circular dependency is very serious, will lead to Worker thread ceaselessly those of in layout Circular dependency Business and can not exit.When writing service code, usually since portfolio is big, dependence is complicated and leads to Circular dependency Occur.Offline arranging system is when generating dependency chain, it is necessary to have the ability to detect the appearance of Circular dependency.
One direct circulation dependency chain matrix to letter is as follows:
The dependency chain matrix indicates: B2 relies on B1 and B3, and B3 relies on B2, and B4 relies on B3, and B5 relies on B4, and B6 relies on B5.
One Circular dependency occurs: B2 <-B3 <-B2.
Another is as follows to the indirect cyclic process dependence matrix of letter:
The dependency chain matrix indicates: B1 relies on B5, and B2 relies on B1, and B3 relies on B2, and B4 relies on B3, and B5 relies on B4, and B6 is relied on B5。
Another Circular dependency occurs: B5 <-B1 <-B2 <-B3 <-B4 <-B5.
The algorithm of detection is extremely simple, when calculating the dependence of single business, if the business chain and quilt of its dependence Occur identical business in the business chain of dependence, then determines Circular dependency occur.
In the example that direct circulation relies on, the dependence of B3 is calculated, relies on B2, while being relied on by B2;Indirect In the example of Circular dependency, the dependence of B1 is calculated, relies on B5, while being relied on indirectly by B5.
Using the system and method for the invention based on the offline layout processing of SDWAN Scene realization network service, offline The function that layout is realized is not only to carry out stablizing layout to it when cpe device is offline, and needs to realize to cpe device Configuration issues in advance, the function of online layout, while the seamless replacement that additional realization configures cpe device.Shielding network is answered With the dependence to cpe device presence, so that accomplishing to issue the pre- of configuration when cpe device is offline, waiting facilities are online It synchronizes afterwards and issues all configurations.By using offline arranging system, following technical effect can achieve: stablizing layout: shielding Dependence of the network application to cpe device presence, accomplishes to be pre-configured with, the function of online layout;Configuration re-issues: passing through Database manipulation realizes the seamless replacement of cpe device, configures the function of re-issuing;It is smooth to expand: using Development of Modular Mode, increase business only need to add the service code of response, change business dependence, elastic increase business, smooth upgrade Business;High reliability: offline cradle and database framework separately design, the strong dependence between business, increase and are The reliability of system.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative And not restrictive.

Claims (10)

1. a kind of system based on the offline layout processing of SDWAN Scene realization network service, which is characterized in that the system packet It includes:
Offline orchestration layer is connected with north orientation application layer and MD-SAL layers respectively;
The offline orchestration layer includes:
Offline cradle is connected with the cpe device, configures down for dispatching online cpe device, and to it Hair, the processing that configuration synchronizes, abnormality processing and exception information report;
Database framework is connected with the offline cradle and cpe device, for storing the configuration of all cpe devices Information, status information and other ephemeral datas when information, operation.
2. the system according to claim 1 based on the offline layout processing of SDWAN Scene realization network service, feature exist In the offline cradle and database framework start together with other cores Bundle of SDN controller.
3. the system according to claim 1 based on the offline layout processing of SDWAN Scene realization network service, feature exist In the database framework includes candidate data library and operation data library, and the candidate data library is newest for storing Network application request data after conversion, the operation data library are used to store the operation data of current cpe device;Each Cpe device corresponds to unique candidate data library and unique operation data library;The candidate data library and operation data library point Multiple collection of services are not corresponded to;The collection of services corresponds to multiple business list items.
4. the system according to claim 3 based on the offline layout processing of SDWAN Scene realization network service, feature exist In the collection of services includes Tenant, VPN, BGP and QoS.
5. a kind of side for realizing the offline layout processing of the network service based on SDWAN scene based on system described in claim 1 Method, which is characterized in that the method includes network application to the offline layout of SDN controller progress, specifically includes the following steps:
(1) network application sends the configuring request of cpe device;
(2) the configuring request information is carried out corresponding format conversion and handed over to database framework processing by controller, is returned to this The response of request;
(3) offline cradle receives the online event notice of cpe device, saves the online state of equipment and distributes worker's line Journey carries out layout management to it;
(4) worker thread described in receives the rpc-reply response of prompt mistake, and to all configurations that do not submit before Carry out rollback.
6. the method for the offline layout processing of network service of the realization according to claim 5 based on SDWAN scene, feature Be, the step (4) specifically includes the following steps:
(4.1) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, continuing to walk Suddenly (4.2);Otherwise, continue step (4.3);
(4.2) rollback is carried out to all configurations that do not submit before, while reports the information of specific format to network application;
(4.3) step (2) are retried with preset times, until cpe device correctly responds.
7. the method for the offline layout processing of network service of the realization according to claim 6 based on SDWAN scene, feature It is, the step (4) further includes the steps that worker thread terminates and execute that the step (4) specifically includes following step It is rapid:
(a4.1) judge whether that the lower limit for receiving cpe device is requested, executed if it is, the worker thread terminates;It is no Then, continue step (a4.2);
(a4.2) whether the judgement worker thread receives the rpc-reply response of prompt mistake, if it is, continuing to walk Suddenly (a 4.3);Otherwise, continue step (a4.4);
(a4.3) whether the rpc-reply response that the judgement worker thread receives prompts configuration error, if it is, institute The worker thread stated, which terminates, to be executed;Otherwise, rollback is carried out to all configurations that do not submit before, while reports specific format Information to network application;
(a4.4) step (2) are retried, whether the number for judging that time-out retries has reached maximum value, if it is, the work Person's Thread Termination executes;Otherwise, continue to retry step (2), until cpe device correctly responds.
8. the method for the offline layout processing of network service of the realization according to claim 5 based on SDWAN scene, feature It is, the method further includes that offline cradle compiles online cpe device by Master-Worker threading model The step of comb is managed, specifically includes the following steps:
(1-1) starts Master thread, and screening has the candidate data library of configuration information, and determines that its online corresponding CPE is set It is standby;
(1-2) person of sharing out the work thread carries out layout management to the cpe device.
9. the method for the offline layout processing of network service of the realization according to claim 8 based on SDWAN scene, feature Be, the method and step (1-1) the following steps are included:
(1-1.1) establishes the databases mirror image pre-established, establishes worker thread pond, and carry out the initial of thread resources Change setting;
(1-1.2) polling data library mirror image;
(1-1.3) judges whether candidate data library has configuration information, if it is, continuing step (1-1.4);Otherwise, continue to walk Suddenly (1-1.2);
(1-1.4) judges whether its corresponding cpe device is online, if it is, the person's of sharing out the work thread carries out layout pipe to it Reason;Otherwise, continue step (1-1.2).
10. the method for the offline layout processing of network service of the realization according to claim 8 based on SDWAN scene, special Sign is, the step (1-2) the following steps are included:
(1-2.1) is obtained and is lockked the session of cpe device;
(1-2.2) successively calls corresponding service code to carry out issuing operation by fully synchronized mode according to work flow, Judge whether rpc-reply response is correct, if it is, carrying out next rpc request;Otherwise, into abnormality processing process;
Business list item is transferred to operation data library from candidate data library by (1-2.3), is discharged the session lock of cpe device, is terminated work Author's thread.
CN201910202769.4A 2019-03-18 2019-03-18 System and method for realizing off-line arrangement processing of network service based on SDWAN scene Active CN109921940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910202769.4A CN109921940B (en) 2019-03-18 2019-03-18 System and method for realizing off-line arrangement processing of network service based on SDWAN scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910202769.4A CN109921940B (en) 2019-03-18 2019-03-18 System and method for realizing off-line arrangement processing of network service based on SDWAN scene

Publications (2)

Publication Number Publication Date
CN109921940A true CN109921940A (en) 2019-06-21
CN109921940B CN109921940B (en) 2021-12-17

Family

ID=66965294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910202769.4A Active CN109921940B (en) 2019-03-18 2019-03-18 System and method for realizing off-line arrangement processing of network service based on SDWAN scene

Country Status (1)

Country Link
CN (1) CN109921940B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141416A (en) * 2021-05-12 2021-07-20 广州诚为信息技术有限公司 SDWAN's enterprise operation management platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394770A (en) * 2011-10-26 2012-03-28 迈普通信技术股份有限公司 Off-line configuration method for network equipment based on simple network management protocol (SNMP)
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
US20150188772A1 (en) * 2013-12-27 2015-07-02 Iosif Gasparakis Hybrid sdn controller
CN106068628A (en) * 2014-03-17 2016-11-02 华为技术有限公司 For management for configuring the strategy of network and/or the apparatus and method of resource
US20180219762A1 (en) * 2017-02-02 2018-08-02 Fujitsu Limited Seamless service function chaining across domains
CN108718244A (en) * 2017-12-20 2018-10-30 北京时代民芯科技有限公司 A kind of frame of reference and method for multi-service fusion

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394770A (en) * 2011-10-26 2012-03-28 迈普通信技术股份有限公司 Off-line configuration method for network equipment based on simple network management protocol (SNMP)
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
US20150188772A1 (en) * 2013-12-27 2015-07-02 Iosif Gasparakis Hybrid sdn controller
CN106068628A (en) * 2014-03-17 2016-11-02 华为技术有限公司 For management for configuring the strategy of network and/or the apparatus and method of resource
US20180219762A1 (en) * 2017-02-02 2018-08-02 Fujitsu Limited Seamless service function chaining across domains
CN108718244A (en) * 2017-12-20 2018-10-30 北京时代民芯科技有限公司 A kind of frame of reference and method for multi-service fusion

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭晓军: "重构广域网关键技术", 《电信科学》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141416A (en) * 2021-05-12 2021-07-20 广州诚为信息技术有限公司 SDWAN's enterprise operation management platform

Also Published As

Publication number Publication date
CN109921940B (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN106502769B (en) Distributed transaction processing method, apparatus and system
US8788565B2 (en) Dynamic and distributed queueing and processing system
US8380833B2 (en) Method of configuring devices in a telecommunications network
CN111506412A (en) Distributed asynchronous task construction and scheduling system and method based on Airflow
US20090063650A1 (en) Managing Collections of Appliances
US20090064192A1 (en) Managing Collections of Appliances
CN108255592A (en) A kind of Quartz clusters timing task processing system and method
JP2005524147A (en) Distributed application server and method for implementing distributed functions
CN113067850B (en) Cluster arrangement system under multi-cloud scene
US6226694B1 (en) Achieving consistency and synchronization among multiple data stores that cooperate within a single system in the absence of transaction monitoring
CN109743399B (en) Internal and external network data transmission method and system for multi-task scheduling of physical examination center
CN109117259A (en) Method for scheduling task, platform, device and computer readable storage medium
CN112333065A (en) Automatic opening method and device for IPRAN Ethernet private line
CN109558239A (en) A kind of method for scheduling task, device, system, computer equipment and storage medium
CN114942845A (en) Cross-cluster resource scheduling method and device
WO2022007908A1 (en) Method for service collaboration between network element devices, and network element device
EP1096751B1 (en) Method and apparatus for reaching agreement between nodes in a distributed system
Kang et al. Implementation of virtual network function allocation with diversity and redundancy in kubernetes
CN110944067A (en) Load balancing method and server
CN108199889A (en) Creation method, device, server and the storage medium of service chaining
CN110740047B (en) Network slice management arrangement system
CN109921940A (en) System and method based on the offline layout processing of SDWAN Scene realization network service
CN108471373A (en) A kind of resource bid, VNF examples creation method and device
US7124415B1 (en) Use of transaction agents to perform distributed transactions
CN107273196A (en) Bioinformatics high-performance calculation job scheduling and system administration external member

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