CN109246161B - Scheduling method and device of controller and computer readable storage medium - Google Patents

Scheduling method and device of controller and computer readable storage medium Download PDF

Info

Publication number
CN109246161B
CN109246161B CN201710554181.6A CN201710554181A CN109246161B CN 109246161 B CN109246161 B CN 109246161B CN 201710554181 A CN201710554181 A CN 201710554181A CN 109246161 B CN109246161 B CN 109246161B
Authority
CN
China
Prior art keywords
controller
service
model
interface
scheduling
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
CN201710554181.6A
Other languages
Chinese (zh)
Other versions
CN109246161A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201710554181.6A priority Critical patent/CN109246161B/en
Publication of CN109246161A publication Critical patent/CN109246161A/en
Application granted granted Critical
Publication of CN109246161B publication Critical patent/CN109246161B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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

Abstract

The invention discloses a scheduling method and a scheduling device of a controller, and relates to the technical field of communication. The method comprises the following steps: calling a service interface to map the received service into a corresponding service model; selecting a controller model according to the matching degree of the controller function and the service requirement and/or the controller load condition; converting the business requirements of the business model into processing logic of the controller model; and calling a controller interface to map the controller model into a corresponding controller, and scheduling the controller to process the service according to the processing logic. The method and the device can improve the compatibility of different controllers.

Description

Scheduling method and device of controller and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a scheduling method and apparatus for a controller, and a computer-readable storage medium.
Background
With the increasing scale of cloud resource pools, a situation that multi-vendor SDN (Software Defined Network) controllers coexist often occurs. Therefore, the cloud management platform needs to have the capability of uniformly managing the SDN controllers of multiple vendors and the capability of deploying services in a cross-regional, cross-resource pool, cross-vendor and cross-type cloud network, that is, the compatibility of the SDN controllers of different vendors is realized.
In the prior art, a single manufacturer sealing scheme is adopted mostly, and upper-layer services are customized and developed aiming at interfaces of SDN controllers of different manufacturers.
Disclosure of Invention
The inventors of the present invention have found that the following problems exist in the above prior art: the lack of access to multiple controllers results in poor compatibility with the controllers provided by multiple vendors. The present inventors have devised a solution to at least one of the above-mentioned problems.
One object of the present invention is to provide a scheduling solution for a controller.
According to an embodiment of the present invention, there is provided a scheduling method of a controller, including: calling a service interface to map the received service into a corresponding service model; selecting a controller model according to the matching degree of the controller function and the service requirement and/or the controller load condition; processing logic to convert the business requirements of the business model into the controller model; and calling a controller interface to map the controller model into a corresponding controller, and scheduling the controller to process the service according to the processing logic.
Optionally, the service model is established according to service requirements and corresponds to services one by one; the controller model is established according to the functions of the controller and corresponds to the controllers one by one.
Optionally, the service interface and the controller interface are generated according to the service model and the controller model, respectively.
Optionally, the traffic is received from an external system through a northbound interface service provided by the traffic interface.
Optionally, the communication between the controller interface and the controller is implemented by a southbound communication protocol stack.
According to another embodiment of the present invention, there is provided a scheduling apparatus of a controller, including: the service interface is used for mapping the received service into a corresponding service model; the logic conversion module is used for selecting a controller model according to the matching degree of the functions of the controller and the service requirements and/or the load condition of the controller and converting the service requirements of the service model into the processing logic of the controller model; and the controller interface is used for mapping the controller model to a corresponding controller and scheduling the controller to process the service according to the processing logic.
Optionally, the service model is established according to service requirements and corresponds to services one by one; the controller model is established according to the functions of the controller and corresponds to the controllers one by one.
Optionally, the service interface and the controller interface are generated according to the service model and the controller model, respectively.
Optionally, the service interface is further configured to provide a northbound interface service, and receive a service from an external system.
Optionally, the controller interface is further configured to enable communication with the controller through a southbound communication protocol stack.
According to another embodiment of the present invention, there is provided a scheduling apparatus of a controller, including a module for executing the scheduling method of the controller according to any one of the above embodiments.
According to still another embodiment of the present invention, there is provided a scheduling apparatus of a controller, including: the controller includes a memory and a processor coupled to the memory, wherein the processor is configured to execute the scheduling method of the controller according to any of the above embodiments based on instructions stored in the memory device.
According to still another embodiment of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the scheduling method of the controller described in any one of the above embodiments.
One advantage of the present invention is that a unified service interface and controller interface are provided to convert specific upper layer services and manufacturer controllers into corresponding service models and controller models, determine a controller model suitable for executing upper layer services, and schedule the corresponding controller for processing, thereby having the capability of accessing different manufacturer controllers simultaneously and improving compatibility.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
The invention will be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 shows a flow chart of an embodiment of a scheduling method of a controller of the present invention.
Fig. 2 is a block diagram showing an embodiment of a scheduling apparatus of a controller of the present invention.
Fig. 3 shows a schematic diagram of an embodiment of the scheduling means of the controller of the present invention.
Fig. 4 is a block diagram showing another embodiment of the data delay processing apparatus of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 shows a flow chart of an embodiment of a scheduling method of a controller of the present invention.
As shown in fig. 1, in step 110, a service interface is called to map the received service to a corresponding service model. For example, the northbound interface service provided through the traffic interface receives traffic from an external system.
In one embodiment, according to the service requirement, a service model corresponding to the service issued by the external system is established. The service-oriented interface can generally adopt REST protocol, YAML language can be used for defining REST model, and YAML can be adopted as service modeling language. And generating a business interface according to the business model by utilizing an automatic code generation tool.
In step 120, a controller model is selected based on how well the controller functions match the traffic demands and/or the controller load conditions. The corresponding controller model can also be selected according to the controller ID number specified by the service.
In one embodiment, controller models are built that correspond one-to-one to controllers provided by various vendors based on controller functionality. The controller-oriented interface may employ the RESTCONF protocol, and a YANG language may be used to define the RESTCONF or NETCONF models, and thus YANG may be employed as the controller modeling language.
In step 130, the business requirements of the business model are converted into the processing logic of the controller model. For example, logical conversion between a business model and a controller model can be achieved using MapStruct.
In step 140, a controller interface is invoked to map the controller model to the corresponding controller, and the controller is scheduled to process the service according to the processing logic. For example, the controller interface may be generated by an automatic code generation tool according to a controller model.
In one embodiment, universal southbound protocol plug-ins such as REST, REST con f, NETCONF, etc. may be provided to enable communication with various vendor controllers.
In the embodiment, different services and different controllers are respectively converted into corresponding models, and the services are received and the controllers are called through the unified interface, so that various controllers of different manufacturers can be supported, and the compatibility is improved.
Fig. 2 is a block diagram showing an embodiment of a scheduling apparatus of a controller of the present invention.
As shown in fig. 2, the apparatus includes a service interface 21, a logic conversion module 22, and a controller interface 23.
The service interface 21 maps the received service to a corresponding service model; the logic conversion module 22 selects a controller model according to the matching degree of the controller function and the service requirement and/or the controller load condition, and converts the service requirement of the service model into the processing logic of the controller model; the controller interface 23 maps the controller model to the corresponding controller, and schedules the controller to process traffic according to the processing logic.
In one embodiment, as shown in fig. 3, the scheduling device of the controller uses YAML as a modeling language of the business model, and establishes the business models 1-N according to the requirements of N businesses received from the cloud software service system (e.g., the cloud business system, the orchestration system, or the cloud management platform) through the northbound interface 33. Swagger is used as a code generation tool 31 to generate service interfaces according to the service models 1-N.
The scheduling device of the controller adopts YANG as the modeling language of the controller model, and establishes the controller model 1-M according to the functions of the controllers 1-M of various manufacturers. Using YangTools as a code generation tool 32, a controller interface is generated according to the controller model 1-M, and a corresponding controller is called through a southbound communication protocol stack 34.
In the above embodiment, when the external system initiates the call to the underlying controller, it is not necessary to initiate the call to the controller of a specific manufacturer, but only to initiate the call to the uniform service interface.
Fig. 4 is a block diagram showing another embodiment of the data delay processing apparatus of the present invention.
As shown in fig. 4, the apparatus 40 of this embodiment includes: a memory 41 and a processor 42 coupled to the memory 41, the processor 42 being configured to execute the scheduling method of the controller in any one of the embodiments of the present invention based on instructions stored in the memory 41.
The memory 41 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), a database, and other programs.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
So far, the scheduling method, apparatus, and computer-readable storage medium of the controller according to the present invention have been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and system of the present invention may be implemented in a number of ways. For example, the methods and systems of the present invention may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (13)

1. A scheduling method of a controller comprises the following steps:
calling a service interface to map the received service into a corresponding service model, and establishing different service models according to different service requirements;
selecting a controller model according to the matching degree of the controller function and the service requirement of the service model and/or the controller load condition, and establishing different controller models according to different controller functions;
processing logic to convert the business requirements of the business model into the controller model;
and calling a controller interface to map the controller model into a corresponding controller, and scheduling the controller to process the service according to the processing logic.
2. The scheduling method of claim 1,
the service model is established according to service requirements and corresponds to the services one by one;
the controller model is established according to the functions of the controller and corresponds to the controllers one by one.
3. The scheduling method of claim 1, wherein the traffic interface and the controller interface are generated from the traffic model and the controller model, respectively.
4. A scheduling method according to any one of claims 1-3, wherein the traffic is received from an external system through a northbound interface service provided by the traffic interface.
5. The scheduling method of any one of claims 1-3, wherein scheduling the controller comprises:
and realizing the communication between the controller interface and the controller through a southbound communication protocol stack.
6. A scheduling apparatus of a controller, comprising:
the service interface is used for mapping the received service into a corresponding service model, and different service models are established according to different service requirements;
the logic conversion module is used for selecting a controller model according to the matching degree of the controller function and the service requirement of the service model and/or the controller load condition, different controller models are established according to different controller functions, and the service requirement of the service model is converted into the processing logic of the controller model;
and the controller interface is used for mapping the controller model to a corresponding controller and scheduling the controller to process the service according to the processing logic.
7. The scheduling apparatus of claim 6,
the service model is established according to service requirements and corresponds to the services one by one;
the controller model is established according to the functions of the controller and corresponds to the controllers one by one.
8. The scheduling apparatus of claim 6, wherein the traffic interface and the controller interface are generated from the traffic model and the controller model, respectively.
9. A scheduling device according to any one of claims 6-8 wherein the traffic interface is further adapted to provide a northbound interface service, receiving traffic from an external system.
10. The scheduling apparatus of any of claims 6-8,
the controller interface is also used for realizing the communication with the controller through a southbound communication protocol stack.
11. A scheduling apparatus of a controller, comprising means for performing the scheduling method of the controller according to any one of claims 1 to 5.
12. A scheduling apparatus of a controller, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the scheduling method of the controller of any of claims 1-5 based on instructions stored in the memory device.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the scheduling method of the controller according to any one of claims 1 to 5.
CN201710554181.6A 2017-07-10 2017-07-10 Scheduling method and device of controller and computer readable storage medium Active CN109246161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710554181.6A CN109246161B (en) 2017-07-10 2017-07-10 Scheduling method and device of controller and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710554181.6A CN109246161B (en) 2017-07-10 2017-07-10 Scheduling method and device of controller and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109246161A CN109246161A (en) 2019-01-18
CN109246161B true CN109246161B (en) 2021-08-17

Family

ID=65082757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710554181.6A Active CN109246161B (en) 2017-07-10 2017-07-10 Scheduling method and device of controller and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109246161B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007924A (en) * 2019-03-29 2019-07-12 烽火通信科技股份有限公司 The automated construction method and system of YANG model configuration interface
CN110633079B (en) * 2019-08-30 2023-06-16 微梦创科网络科技(中国)有限公司 Service development method and system based on yaml language
CN111371593B (en) * 2020-02-24 2022-09-16 中移(杭州)信息技术有限公司 Service deployment method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938403A (en) * 2009-06-30 2011-01-05 中国电信股份有限公司 Assurance method of multi-user and multi-service quality of service and service access control point
CN104967533A (en) * 2015-05-26 2015-10-07 国网智能电网研究院 Method and apparatus of adding IEC 61850 configuration interface to SDN controller
CN105227342A (en) * 2014-06-27 2016-01-06 瞻博网络公司 For the graphic data base that the service in network service zone is planned and configured
CN106302153A (en) * 2015-05-11 2017-01-04 中兴通讯股份有限公司 Multiple domain controller, single domain controller, software definition optical network system and method
CN106656846A (en) * 2017-01-17 2017-05-10 大连理工大学 Construction method of coordination layer in software defined network (SDN) architecture

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7856226B2 (en) * 2007-04-17 2010-12-21 Aylus Networks, Inc. Systems and methods for IMS user sessions with dynamic service selection
US9106515B2 (en) * 2012-10-22 2015-08-11 Futurewei Technologies, Inc. System and apparatus of a software-service-defined-network (SSDN)
WO2015131343A1 (en) * 2014-03-05 2015-09-11 华为技术有限公司 Data forwarding control method, system, controller and access device
US9680646B2 (en) * 2015-02-05 2017-06-13 Apple Inc. Relay service for communication between controllers and accessories
US9578050B1 (en) * 2016-01-29 2017-02-21 International Business Machines Corporation Service delivery controller for learning network security services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938403A (en) * 2009-06-30 2011-01-05 中国电信股份有限公司 Assurance method of multi-user and multi-service quality of service and service access control point
CN105227342A (en) * 2014-06-27 2016-01-06 瞻博网络公司 For the graphic data base that the service in network service zone is planned and configured
CN106302153A (en) * 2015-05-11 2017-01-04 中兴通讯股份有限公司 Multiple domain controller, single domain controller, software definition optical network system and method
CN104967533A (en) * 2015-05-26 2015-10-07 国网智能电网研究院 Method and apparatus of adding IEC 61850 configuration interface to SDN controller
CN106656846A (en) * 2017-01-17 2017-05-10 大连理工大学 Construction method of coordination layer in software defined network (SDN) architecture

Also Published As

Publication number Publication date
CN109246161A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
EP3454209A1 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
CN109246161B (en) Scheduling method and device of controller and computer readable storage medium
US10652360B2 (en) Access scheduling method and apparatus for terminal, and computer storage medium
US10996997B2 (en) API-based service command invocation
CN108964968A (en) Service access management method and system under a kind of container cloud environment
US20140156849A1 (en) Map-reduce workflow processing apparatus and method, and storage media storing the same
RU2636112C1 (en) Object of interface management service, function service object and method of control of elements
US20110258620A1 (en) Method and Apparatus for Making a BPM Application Available to Multiple Tenants
CN104113576A (en) Method and device for updating client
CN110058894B (en) Method, apparatus and computer program product for executing applications in a hybrid cloud
US20210303344A1 (en) Task processing method, electronic device, and computer program product
CN107025126B (en) Resource scheduling method, NFVO and system
US20210241132A1 (en) Automatically remediating storage device issues using machine learning techniques
CN103914304B (en) Method for converting different structure type parameters on basis of SAP (service access point) platforms
CN110750295A (en) Information processing method, device, electronic equipment and storage medium
CN110990016B (en) Command acquisition method, device, equipment and page of Linux operating system
CN114185557A (en) Software product deployment method, device, medium and electronic equipment
CN113010263A (en) Method, system, equipment and storage medium for creating virtual machine in cloud platform
CN115934305A (en) Cloud platform management method, server and computer-readable storage medium
CN108388470B (en) Big data task processing method and computer equipment
CN110971665A (en) Management method, system, equipment and storage medium for interfacing multi-type storage
CN109144522B (en) Application deployment method, device, equipment and computer readable storage medium
CN110050291B (en) Aggregation platform, demand owner and methods thereof
CN114285784B (en) Data transmission and pipeline construction method, device, computing equipment and storage medium
CN113722045B (en) Cluster application deployment method and device

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