CN111404738B - Flow table and configuration hot modification method of network controller - Google Patents

Flow table and configuration hot modification method of network controller Download PDF

Info

Publication number
CN111404738B
CN111404738B CN202010162925.1A CN202010162925A CN111404738B CN 111404738 B CN111404738 B CN 111404738B CN 202010162925 A CN202010162925 A CN 202010162925A CN 111404738 B CN111404738 B CN 111404738B
Authority
CN
China
Prior art keywords
application
template
service
gateway
network controller
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
CN202010162925.1A
Other languages
Chinese (zh)
Other versions
CN111404738A (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 Group Trade Union Shanghai Committee
China Telecom Corp Ltd Shanghai Branch
Original Assignee
China Telecom Group Trade Union Shanghai Committee
China Telecom Corp Ltd Shanghai Branch
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 Group Trade Union Shanghai Committee, China Telecom Corp Ltd Shanghai Branch filed Critical China Telecom Group Trade Union Shanghai Committee
Priority to CN202010162925.1A priority Critical patent/CN111404738B/en
Publication of CN111404738A publication Critical patent/CN111404738A/en
Application granted granted Critical
Publication of CN111404738B publication Critical patent/CN111404738B/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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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/0889Techniques to speed-up the configuration process
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a flow table and a configuration hot modification method of a network controller, wherein a software defined network controller is provided, the software defined network controller is connected with at least one gateway, the software defined network controller comprises an application layer and a control layer, the control layer is provided with at least one template, a plurality of applications are arranged in the application layer, and each application comprises at least one service; the thermal modification method comprises the following steps: step S1, a software defined network controller determines an application corresponding to a service according to the service required to be issued by a gateway; step S2, starting an application, and calling a template corresponding to a service by the application; and step S3, the application performs data filling on the called template to form a setting file, and the control layer issues the setting file to the corresponding gateway. The invention has the beneficial effects that: the development difficulty of the application in the application layer is reduced, the development time is shortened, and then the online risk of the application is reduced, namely, the safe and rapid online of the application is realized.

Description

Flow table and configuration hot modification method of network controller
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for hot modifying a flow table and configuration of a network controller.
Background
The software defined network (SDN, software Defined Network) is a novel network innovation architecture, openFlow (an online communication protocol) is a core technology of the software defined network, and can separate a control plane and a data plane of network equipment, so that a flexible virtual network is created, flexible control of network traffic is further realized, and the network becomes more intelligent.
In the process of modifying the flow table and the configuration issued by the gateway by the currently mainstream SDN controller, modification of the SDN controller is involved, so that when the version of the SDN controller is online, the SDN gateway must be migrated, so that the SDN gateway is connected to other controllers (if the SDN controller is not migrated, the controllers and the gateway are disconnected within a period of time, so that thermal modification of the flow table and the configuration cannot be realized), however, migrating the SDN gateway consumes a great deal of resources, and the modification process of the flow table and the configuration issued by the gateway is too complicated.
In order to solve the above problems, the prior art adopts: firstly judging whether the modified time exceeds a preset time threshold, if not, disconnecting the controller from the gateway; if yes, the gateway is connected to other controllers capable of providing services.
However, the above solution is not optimized for the problem of disconnection of the controller from the gateway during the modification of the flow table and configuration issued by the SDN controller, and is complex and consumes a lot of resources.
Disclosure of Invention
In view of the foregoing problems in the prior art, a method for hot modification of a flow table and configuration of a network controller is now provided that aims to shorten development time.
The specific technical scheme is as follows:
a flow table and configuration hot modifying method of network controller, wherein, a software defined network controller is provided, the software defined network controller connects at least one gateway, the software defined network controller includes application layer and control layer, the control layer sets up at least one template, there are multiple applications in the application layer, and include at least one business with each application;
the thermal modification method comprises the following steps:
step S1, a software defined network controller determines an application corresponding to a service according to the service required to be issued by a gateway;
step S2, starting an application, and calling a template corresponding to a service by the application;
and step S3, the application performs data filling on the called template to form a setting file, and the control layer issues the setting file to the corresponding gateway.
Preferably, the thermal modification method is that a template modification interface is arranged in the control layer, and an operator adds and/or modifies the template according to the service through the template modification interface.
Preferably, the thermal modification method, wherein step S1 further includes:
when the software defined network controller is connected with the gateway, the software defined network controller acquires the service required by the gateway.
Preferably, the thermal modification method, wherein step S2 specifically includes the following steps:
step S21, starting an application, and searching a template corresponding to the service in the controller;
step S22, judging whether the application searches a template corresponding to the service;
if yes, the application calls the template;
if not, a first instruction is sent to the operator, the operator is prompted to add the template according to the service, and then the calling template is applied.
Preferably, the thermal modification method, wherein step S2 specifically includes the following steps:
step S23, starting an application, and searching a template corresponding to the service in the controller;
step S24, judging whether the template meets the service requirement;
if yes, the application calls the template;
if not, a second instruction is sent to the operator, the operator is prompted to modify the template according to the service requirement, and then the application calls the template.
Preferably, the thermal modification method, wherein step S22 further includes: and saving the added template to a control layer.
Preferably, the thermal modification method, wherein step S24 further includes: and saving the modified template to a control layer.
Preferably, the method of thermal modification, wherein the templates comprise a plurality of flow table templates and a plurality of configuration templates, each flow table template being associated with a configuration template corresponding to a flow table template.
Preferably, the thermal modification method, wherein step S3 specifically includes the following steps:
step S31, the application fills the data of the flow table template according to the flow table requirement in the service issued by the application to form a flow table file; and
the application fills data in the configuration template according to the configuration requirement in the service issued by the application to form a configuration file;
in step S32, the control layer issues the flow table file and the configuration file to the corresponding gateway.
Preferably, the method of thermal modification, wherein the gateway is a software defined network gateway.
The technical scheme has the following advantages or beneficial effects: the development difficulty of the application in the application layer is reduced, the development time is shortened, and then the online risk of the application is reduced, namely, the safe and rapid online of the application is realized.
Drawings
Embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The drawings, however, are for illustration and description only and are not intended as a definition of the limits of the invention.
FIG. 1 is a flow chart of an embodiment of a method for hot-modifying a flow table and configuration of a network controller according to the present invention;
FIG. 2 is a flowchart I of step S2 of an embodiment of a method for hot modifying a flow table and configuration of a network controller according to the present invention;
FIG. 3 is a second flowchart of step S2 of an embodiment of a method for hot modifying a flow table and configuration of a network controller according to the present invention;
fig. 4 is a flowchart of step S3 of an embodiment of a method for hot modifying a flow table and configuration of a network controller according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention is further described below with reference to the drawings and specific examples, which are not intended to be limiting.
The invention includes a flow table of network controller and hot modifying method of configuration, wherein, a software defined network controller is provided, the software defined network controller connects at least one gateway, the software defined network controller includes application layer and control layer, the control layer sets up at least one template, there are multiple applications in the application layer, and include at least one business with each application;
as shown in fig. 1, the thermal modification method includes the steps of:
step S1, a software defined network controller determines an application corresponding to a service according to the service required to be issued by a gateway;
step S2, starting an application, and calling a template corresponding to a service by the application;
and step S3, the application performs data filling on the called template to form a setting file, and the control layer issues the setting file to the corresponding gateway.
In the above embodiment, a plurality of templates are set on the control layer, each template is further set with a plurality of templates, the software defined network controller determines an application corresponding to the service according to the service required to be issued by the gateway, then the application searches the control layer for a corresponding template under each corresponding template, and the application performs data filling on each searched template to form a setting file, and then the control layer issues the setting file to the corresponding gateway.
In other words, in this embodiment, multiple templates are set in the control layer, and multiple templates in each template are provided for application selection in the application layer, so that development difficulty of applications in the application layer is reduced, development time is shortened, and further, online risks of the applications are reduced, and safe and rapid online of the applications is realized.
Further, in the above embodiment, the application layer is a module of the software defined network controller for processing application logic, and an application in the application layer may transfer flow table information and configuration information in a service to a corresponding flow table module and configuration module in the control layer, respectively.
The control layer is used for managing a plurality of flow table modules and a plurality of configuration modules, a template modification interface is arranged in the control layer, and the template modification interface is provided for corresponding applications to add or modify the flow table templates and the configuration templates according to the application requirements, so that the application in the application layer sends flow table information and configuration information in the service to the gateway through the control layer;
the embodiment of the invention directly realizes the addition and modification of the flow table template and the configuration template by calling the template modification interface, thereby meeting the requirements of different applications, and the gateway is not required to be migrated to other network controllers, thereby ensuring that a control layer and the gateway maintain a long connection state and improving the management control capability of the gateway.
Further, in the above embodiment, a template modification interface is provided in the control layer, through which an operator adds and/or modifies a template according to a service.
The software defined network controller in the above embodiment determines an application corresponding to the service in the application layer according to the service to be issued by the gateway, and starts the application, so that the application can call a template corresponding to the service in the control layer;
when the application cannot call the template corresponding to the service in the control layer, an operator can add a new template by calling a template modification interface arranged in the control layer, or modify an original template in the control layer, and store the added or modified template in the control layer. Therefore, the template modification interface is only required to be called to perform the addition or modification operation on the corresponding template, and the gateway is not required to be migrated to other network controllers, so that the control layer and the gateway are ensured to maintain a long connection state, the connection is not interrupted, and the cost is reduced.
Further, in the above embodiment, step S1 further includes:
when the software defined network controller is connected with the gateway, the software defined network controller acquires the service required by the gateway.
In the above embodiment, when the software defined network controller is connected to the gateway, the software defined network controller confirms the service required by the gateway, and then obtains the corresponding application in the application layer according to the service, where the service may be the content required to be issued by the gateway.
Further, as a preferred embodiment, as shown in fig. 2, step S2 specifically includes the following steps:
step S21, starting an application, and searching a template corresponding to the service in the controller;
step S22, judging whether the application searches a template corresponding to the service;
if yes, the application calls the template;
if not, a first instruction is sent to an operator, the operator is prompted to add the template according to the service, and then the calling template is applied.
When the application does not find the template corresponding to the service in the control layer, a first instruction for adding the template can be issued to the operator at the moment to prompt the operator, so that the operator can call the template modification interface in the control layer after seeing the first instruction, and the template corresponding to the service is added to be provided for the application to call. Therefore, the gateway does not need to be migrated to other network controllers, so that the control layer and the gateway are ensured to maintain a long connection state, the connection is not interrupted, and the cost is reduced.
Further, in the above preferred embodiment, step S22 further includes: and saving the added template to a control layer. Thereby facilitating application invocation.
Further, as a preferred embodiment, as shown in fig. 3, step S2 specifically includes the following steps:
step S23, starting an application, and searching a template corresponding to the service in the controller;
step S24, judging whether the template meets the service requirement;
if yes, the application calls the template;
if not, a second instruction is sent to the operator, the operator is prompted to modify the template according to the service requirement, and then the application calls the template.
When the application finds that the templates in the control layer do not meet the service requirement, a second instruction for modifying the templates can be issued to the operator at the moment to prompt the operator, so that the operator can call the template modification interface in the control layer after seeing the second instruction, modify the templates according to the service requirement until the modified templates meet the service requirement, and provide the modified templates for the application to call. Therefore, the gateway does not need to be migrated to other network controllers, so that the control layer and the gateway are ensured to maintain a long connection state, the connection is not interrupted, and the cost is reduced.
Further, in the above preferred embodiment, step S24 further includes: and saving the modified template to a control layer. Thereby facilitating application invocation.
Further, in the above embodiment, the templates include a plurality of flow table templates and a plurality of configuration templates, each flow table template being set in association with the configuration template corresponding to the flow table template.
Further, in the above embodiment, as shown in fig. 4, step S3 specifically includes the following steps:
step S31, the application fills the data of the flow table template according to the flow table requirement in the service issued by the application to form a flow table file; and
the application fills data in the configuration template according to the configuration requirement in the service issued by the application to form a configuration file;
in step S32, the control layer issues the flow table file and the configuration file to the corresponding gateway.
Further, as a preferred embodiment, taking an example that the templates include a plurality of flow table templates and a plurality of configuration templates;
firstly, a software defined network controller determines an application corresponding to a service according to the service required to be issued by a gateway;
secondly, starting an application, which is applied to the controller to search the flow table template and the configuration template corresponding to the service respectively, and calling the searched flow table template and the searched configuration template by the application;
then, the application fills data in the flow table template according to the flow table requirement in the service issued by the application to form a flow table file; and
the application fills data in the configuration template according to the configuration requirement in the service issued by the application to form a configuration file;
and finally, the control layer issues the flow table file and the configuration file to the corresponding gateway.
Further, in the above embodiment, the gateway is a software defined network gateway.
The software defined network gateway is connected with the software defined network controller through a control layer of the software defined network controller and is used for sending the service and receiving a setting file issued by the control layer.
Further, as a preferred embodiment, the software-defined network gateway may be a home gateway, where the home gateway forwards traffic according to a flow table file issued by the software-defined network controller, and when the received flow table file cannot be matched (i.e., the home gateway cannot process a data packet corresponding to the flow table file), the home gateway will send a packet corresponding to the flow table file to the software-defined network controller, and then the software-defined network controller executes the above-mentioned thermal modification method, so that the software-defined network controller issues a corresponding flow table file and a configuration file to the corresponding home gateway, and the home gateway stores the flow table file and the configuration file locally and works according to the flow table file and the configuration file.
The foregoing description is only illustrative of the preferred embodiments of the present invention and is not to be construed as limiting the scope of the invention, and it will be appreciated by those skilled in the art that equivalent substitutions and obvious variations may be made using the description and illustrations of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A method for hot modifying a flow table and configuration of a network controller, characterized in that a software defined network controller is provided, the software defined network controller is connected with at least one gateway, the software defined network controller comprises an application layer and a control layer, the control layer is provided with at least one template, a plurality of applications are arranged in the application layer, and each application comprises at least one service;
the thermal modification method comprises the following steps:
step S1, when the software defined network controller is connected with a gateway, the software defined network controller acquires a service required by the gateway, and the software defined network controller determines an application corresponding to the service according to the service required to be issued by the gateway;
step S2, starting the application, and calling the template corresponding to the service by the application;
step S3, the application performs data filling on the invoked template to form a setting file, and the control layer issues the setting file to the corresponding gateway;
the templates include a plurality of flow table templates and a plurality of configuration templates, each of the flow table templates being associated with a configuration template corresponding to the flow table template;
the step S3 specifically comprises the following steps:
step S31, the application fills the data of the flow table template according to the flow table requirement in the service issued by the application to form a flow table file; and
the application fills data into the configuration template according to the configuration requirement in the service issued by the application to form a configuration file;
and step S32, the control layer issues the flow table file and the configuration file to the corresponding gateway.
2. Thermal modification method according to claim 1, characterized in that a template modification interface is provided in the control layer, through which the operator adds and/or modifies the templates according to the service.
3. The thermal modification method according to claim 1, wherein the step S1 further comprises:
and when the software defined network controller is connected with the gateway, the software defined network controller acquires the service required by the gateway.
4. The thermal modification method according to claim 2, wherein the step S2 specifically includes the steps of:
step S21, starting the application, wherein the application searches a template corresponding to the service in the controller;
step S22, judging whether the application searches a template corresponding to the service;
if yes, the application calls the template;
if not, a first instruction is sent to the operator, the operator is prompted to increase the template according to the service, and then the application calls the template.
5. The thermal modification method according to claim 2, wherein the step S2 specifically includes the steps of:
step S23, starting the application, wherein the application searches a template corresponding to the service in the controller;
step S24, judging whether the template meets the service requirement;
if yes, the application calls the template;
if not, a second instruction is sent to the operator, the operator is prompted to modify the template according to the service requirement, and then the application calls the template.
6. The thermal modification method according to claim 4, wherein the step S22 further includes: and storing the added template into the control layer.
7. The thermal modification method of claim 5, wherein the step S24 further comprises: and storing the modified template into the control layer.
8. The thermal modification method of claim 1, wherein the gateway is a software defined network gateway.
CN202010162925.1A 2020-03-10 2020-03-10 Flow table and configuration hot modification method of network controller Active CN111404738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010162925.1A CN111404738B (en) 2020-03-10 2020-03-10 Flow table and configuration hot modification method of network controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010162925.1A CN111404738B (en) 2020-03-10 2020-03-10 Flow table and configuration hot modification method of network controller

Publications (2)

Publication Number Publication Date
CN111404738A CN111404738A (en) 2020-07-10
CN111404738B true CN111404738B (en) 2023-05-30

Family

ID=71432319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010162925.1A Active CN111404738B (en) 2020-03-10 2020-03-10 Flow table and configuration hot modification method of network controller

Country Status (1)

Country Link
CN (1) CN111404738B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118174B (en) * 2020-07-30 2023-04-18 中国人民解放军海军工程大学 Software defined data gateway

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10103939B2 (en) * 2010-07-06 2018-10-16 Nicira, Inc. Network control apparatus and method for populating logical datapath sets
CN107211013A (en) * 2015-01-28 2017-09-26 诺基亚通信公司 Software definition director of networking
US9961001B2 (en) * 2015-03-17 2018-05-01 Telefonaktiebolaget L M Ericsson (Publ) System and method for categorizing packet flows in a network
CN108432208B (en) * 2016-12-15 2020-02-21 华为技术有限公司 Service arranging method, device and server
CN108809797B (en) * 2018-07-26 2020-09-08 哈尔滨工业大学(威海) VPN control device, software-defined VPN implementation system and method
CN110380900B (en) * 2019-07-12 2022-03-08 中国电信集团工会上海市委员会 Network configuration system based on SDN

Also Published As

Publication number Publication date
CN111404738A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109542457B (en) Distributed application distribution and deployment system and method for edge computing network
WO2019157885A1 (en) Communication method and device under centralized unit-distributed unit architecture
KR100575496B1 (en) Method, communication network and service access interface for communication in an open system interconnection environment
WO2018153346A1 (en) Network slice selection method and device
CN103491653A (en) WiFi and 3G coexisting method based on Android intelligent terminal
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
JP2015537277A (en) Service processing method and apparatus
CN109600769B (en) Communication method and device
CN109462844A (en) A kind of system and method that list WiFi chip runs multi-platform SDK
US9451433B2 (en) Device and method of driving multi-PDP data communication for mobile broadband device
CN111404738B (en) Flow table and configuration hot modification method of network controller
CN101529807B (en) A method and system for realizing universal interfaces in the network management system
CN106937265B (en) Ship communication method and device
WO2023066046A1 (en) Contract management method, apparatus and system
US8229414B1 (en) Release of temporarily allocated number triggered by voice disconnect at mobile switching center
US20120320877A1 (en) Method, System and Base Station Subsystem for Realizing Handover in Local Switch
CN102025576A (en) Home automation system and control method thereof
WO2021036621A1 (en) Information interaction method and related device
CN113448744A (en) Application program selection method and device
CN102333287B (en) Information transmission method, device and system
CN101820615A (en) Management method and system of personal identification number under multi-application of universal integrated circuit card
CN101626312B (en) Method for realizing management plane of permanent connection and soft permanent connection transplantation
CN113132269A (en) System, method and computer readable storage medium for resource slice management
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof
CN114501595B (en) 5G networking engineering management system

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