CN109787804B - Method, equipment and system for managing service resources - Google Patents

Method, equipment and system for managing service resources Download PDF

Info

Publication number
CN109787804B
CN109787804B CN201711132997.6A CN201711132997A CN109787804B CN 109787804 B CN109787804 B CN 109787804B CN 201711132997 A CN201711132997 A CN 201711132997A CN 109787804 B CN109787804 B CN 109787804B
Authority
CN
China
Prior art keywords
service
resource
forwarding device
sdn controller
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
CN201711132997.6A
Other languages
Chinese (zh)
Other versions
CN109787804A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201711132997.6A priority Critical patent/CN109787804B/en
Publication of CN109787804A publication Critical patent/CN109787804A/en
Application granted granted Critical
Publication of CN109787804B publication Critical patent/CN109787804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a resource management method applied to an SDN (software defined network). in the method, forwarding equipment in the SDN acquires available resources for deploying a service according to the recorded resource occupation condition of the service when the service is deployed; the forwarding equipment deploys the service according to the available resource for deploying the service, and updates and records the resource occupation condition of the service; the forwarding device reports the updated resource occupation condition of the service to an SDN controller in the SDN, and the SDN controller may acquire available resources for deploying the service according to the updated resource occupation condition of the service when deploying the service to the forwarding device, and deploy the service according to the available resources. Therefore, the conflict between the resources occupied by the SDN controller to deploy the service and the resources occupied by the forwarding device to deploy the service can be reduced.

Description

Method, equipment and system for managing service resources
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, equipment and a system for managing service resources.
Background
Software Defined Networking (SDN) is an emerging network architecture that is based on a separation of the control plane and the management plane, and the control plane is directly programmable. The control plane, which is a collection of externally accessible computing devices that abstract the underlying network to be accessible to upper layer applications and services, may be treated as a logical or virtual entity by the upper layers.
In the process that the SDN gradually replaces the traditional single device control manner, the SDN network and the traditional network exist at the same time, some forwarding devices, such as forwarding devices at the network boundary, are controlled by both the traditional control plane and the SDN control plane at the same time, and the same service is deployed through the two control planes, so that the resource sharing and resource use conflict problems may occur.
Disclosure of Invention
The embodiment of the application provides a resource management method, forwarding equipment, a Software Defined Network (SDN) controller, a network system and a storage medium, which can reduce the problem of resource use conflict generated during service deployment.
In a first aspect, an embodiment of the present application provides a forwarding device, where the forwarding device communicates with an SDN controller, and the forwarding device includes a management configuration module, a resource coordination module, and a controller adapter. The management configuration module is used for acquiring the available resource condition from the resource coordination module when the service is deployed and receiving the available resource condition of the service returned by the resource coordination module; the resource coordination module is used for providing an available resource condition for the management configuration module according to the resource occupation condition of the service recorded on the forwarding equipment, receiving the resource occupation condition of the service returned by the management configuration module, and notifying the controller adapter of the resource occupation condition of the service; the controller adapter is configured to report the resource occupation condition of the service acquired from the resource coordination module to the SDN controller.
The forwarding device notifies the SDN controller of the resource occupation situation generated by deploying the service on the forwarding device, and in this case, when the SDN controller needs to deploy the service on the forwarding device, the SDN controller can obtain the available resource of the service according to the occupation situation of the service resource reported by the forwarding device to deploy, and select the resource without conflict to deploy the service, so that the problem of conflict between the service deployment of the forwarding device and the resource occupation generated by the SDN deployment of the service can be reduced, and the efficiency of service deployment is correspondingly improved.
In a possible implementation manner, the management configuration module may further perform configuration of the service according to an available resource condition provided by the resource coordination module, and notify the resource coordination module of a resource occupation condition generated by the management configuration module configuring the service; the resource coordination module records the resource occupation situation generated by the management configuration module configuring the service after receiving the resource occupation situation generated by the management configuration module configuring the service notified by the management configuration module, and feeds back the resource occupation situation which is recorded and generated by the management configuration module configuring the service to the management configuration module; and then, the management configuration module deploys services according to the feedback of the resource coordination module.
In a possible implementation manner, the controller adapter may be further configured to receive the SDN controller feedback message, where the feedback message indicates that the SDN controller has recorded resource occupation of the service reported by the controller adapter.
In a possible implementation manner, the controller adapter may be further configured to receive a deployment request of the service sent by the SDN controller, and send a resource occupation request to the resource coordination module according to the deployment request of the service; correspondingly, the resource coordination module is further configured to perform resource conflict check according to the resource occupation request, and notify the controller adapter to deploy the service when no conflict is determined.
On the basis of the above method for notifying the resource occupation situation, the forwarding device further combines a conflict check method and deploys the service without conflict, so that the problem of resource usage conflict when the notification delay occurs in the resource occupation situation notification method can be solved, the reliability of solving the problem of resource conflict is increased, and the problem of resource usage conflict is further avoided.
In a possible implementation manner, the controller adapter may be further configured to receive a deployment request of the service sent by the SDN controller, and send a resource occupation request to the resource coordination module according to the deployment request of the service; correspondingly, the resource coordination module is further configured to perform resource conflict check according to the resource occupation request, and in a case that a conflict is determined, notify, through the controller adapter, that resources in the resource occupation request are occupied by the SDN controller, notify, through the controller adapter, that the SDN controller deploys other available resources of the service, notify, after allocating other available resources to the service, the SDN controller, or select other available resources to deploy the service and notify the SDN controller.
On the basis of the resource occupation condition notification mode, the forwarding device further combines a conflict checking mode, and under the condition that a conflict occurs, notifies the SDN controller after other available resources are automatically allocated to the service, or selects other available resources to deploy the service and notifies the SDN controller; on one hand, the problem of resource use conflict caused by a resource occupation condition notification mode under the condition of notification delay can be further solved, the reliability of solving the problem of resource conflict is improved, and the problem of resource use conflict is further avoided.
In a second aspect, embodiments of the present application provide a forwarding device,
the forwarding device is in communication with the SDN controller and comprises a management configuration module, a resource coordination module and a controller adapter; the controller adapter is used for receiving a service deployment request sent by the SDN controller and sending a resource occupation request to the resource coordination module according to the service deployment request; the resource coordination module is used for determining whether resources required by the SDN controller for deploying the service conflict with resource occupation generated by the management configuration module for deploying the service according to the resource occupation request and notifying a resource conflict check result to the controller adapter; the controller adapter is further configured to perform service deployment corresponding to the service deployment request according to a resource conflict check result sent by the resource coordination module.
When the SDN side initiates service deployment, the forwarding equipment performs conflict check according to the recorded resource occupation condition, so that the conflict problem generated in the resource use process is avoided. The conflict check mode has the advantage of higher reliability in solving the problem of resource usage conflict compared with the resource occupation situation notification mode, and the resource occupation situation recorded in the SDN controller is not updated timely due to the fact that the resource occupation situation notification mode may have a notification delay situation, so that the resource conflict occurs under the specific situation.
In a possible implementation manner, the resource coordination module may be further configured to receive a request for acquiring an available resource condition, which is sent by the management configuration module when the service is deployed; providing an available resource condition for the management configuration module, receiving a resource occupation condition generated by configuring the service returned by the management configuration module, and recording the resource occupation condition generated by deploying the service by the management configuration module; the resource coordination module is further configured to determine whether resources required by the SDN controller to deploy the service conflict with resource occupation generated by the management configuration module configuring the service according to the recorded resource occupation generated by the management configuration module configuring the service.
In a possible implementation manner, the controller adapter is further configured to report, to the SDN controller, a resource occupation situation generated by the service configured by the management configuration module, which is acquired from the resource coordination module.
By reporting the resource occupation condition of the service deployed by the forwarding device to the SDN controller, the SDN can timely acquire the updated resource occupation condition of the service on the forwarding device, so that the SDN controller is further ensured to select available resources, namely, non-conflicted resources for deployment when the SDN controller deploys the service, the possibility of conflict of resource use is reduced or even eliminated, and the service deployment efficiency of the SDN controller is improved.
In a possible implementation manner, the deploying, by the controller adapter, the service corresponding to the service deployment request according to the resource conflict check result sent by the resource coordination module includes: and when the resource conflict check result indicates no conflict, the controller adapter deploys the service according to a service deployment request sent by the SDN controller.
In a possible implementation manner, the controller adapter is further configured to record resources occupied by the SDN controller to deploy the service, and notify the management configuration module and the SDN controller of the resources occupied by the SDN controller to deploy the service.
The forwarding device updates the resource occupation condition of the service on the forwarding device by recording the resource occupied by the SDN controller deploying the service in time, so that the resource use condition can be accurate and timely, and the possibility of resource use conflict can be minimized.
In one possible implementation manner, the resource coordination module further includes: upon determining that a conflict occurs with resource occupancy resulting from deployment of the service by the management configuration module, notifying, by the controller adapter, that resources in the resource occupancy request are occupied by the SDN controller, notifying, by the controller adapter, other available resources for deployment of the service by the SDN controller, notifying the SDN controller after allocating the other available resources for the service, or selecting the other available resources to deploy the service and notifying the SDN controller.
On the basis of the resource occupation condition notification mode, the forwarding device further combines a conflict checking mode, and under the condition that a conflict occurs, notifies the SDN controller after other available resources are automatically allocated to the service, or selects other available resources to deploy the service and notifies the SDN controller; on one hand, the problem of resource use conflict caused by a resource occupation condition notification mode under the condition of notification delay can be further solved, the reliability of solving the problem of resource conflict is improved, and the problem of resource use conflict is further avoided.
In a third aspect, an embodiment of the present application provides a forwarding device, where the forwarding device communicates with an SDN controller, and the forwarding device includes a management configuration module, a resource coordination module, and a controller adapter. The controller adapter is used for receiving a request for acquiring an available resource condition sent by the SDN controller during service deployment, and sending the request for acquiring the available resource condition to the resource coordination module; the resource coordination module is configured to return an available resource condition to the SDN controller through the controller adapter according to the request for acquiring the available resource condition, receive a service deployment request sent by the controller adapter according to the available resource condition, record a resource occupation condition generated when the SDN controller deploys the service, receive a request for acquiring the available resource condition sent by the management configuration module when the service is deployed, return an available resource condition to the management configuration module according to the recorded resource occupation condition of the service, receive a resource occupation condition generated when the management configuration module configures the service, and record a resource occupation condition generated when the management configuration module configures the service.
In a possible implementation manner, the resource coordination module is further configured to notify the controller adapter of a resource occupation situation generated by the service configured by the management configuration module.
The forwarding device records the resources occupied by the forwarding device when deploying the service, simultaneously records the resources occupied by the SDN controller when deploying the service, and respectively feeds back the available resource conditions according to the resource occupation record conditions of the service when the forwarding device or the SDN controller deploys the service, so that the problem of resource occupation conflict generated when the forwarding device or the SDN controller deploys the service is reduced.
In a fourth aspect, an embodiment of the present invention provides a Software Defined Network (SDN) controller, where the SDN controller is in communication with a forwarding device, and includes a service deployment module, a resource conflict processing module, and a sending module. Wherein: the service deployment module is used for inquiring the resource conflict processing module to acquire the resource occupation condition generated by the service deployment of the forwarding equipment when the service is deployed on the forwarding equipment, acquiring available resources according to the inquiry result, and determining the resources required by the service deployment according to the available resources; the sending module is configured to send a service deployment request to the forwarding device, where the service deployment request carries information of resources required for deploying the service.
In a possible implementation manner, the resource conflict processing module is further configured to receive a resource occupation situation generated by the forwarding device deployment service sent by the forwarding device, and record the resource occupation situation generated by the forwarding device deployment service.
When service deployment is initiated on an SDN side, the resource occupation situation generated when the forwarding device deploys the service is obtained by pre-inquiring the resource conflict processing module, specifically, the resource occupation situation can be inquired in the record of the SDN controller, the resource usage situation of the service can also be directly inquired from the forwarding device, available resources are obtained according to the inquiry result, and then the resources required for deploying the service are determined according to the available resources, so that conflicts between the resources occupied when the SDN deploys the service and the resources occupied when the forwarding device deploys the service can be reduced or avoided.
In a possible implementation manner, the resource conflict processing module is further configured to receive an announcement message sent by the forwarding device when it is determined that a resource occupied by the SDN controller to deploy the service conflicts with a resource occupied by the forwarding device to deploy the service, where the announcement message is used to inform the SDN controller of: and the resources in the resource occupation request are occupied, other available resources of the service are deployed, other available resources are allocated to the service, or the forwarding equipment selects other available resources to deploy the service.
In a possible implementation manner, when the notification message received by the SDN controller from the forwarding device is that the resource in the resource occupation request is already occupied or another available resource for deploying the service, the SDN controller reselects another available resource to allocate the service, and performs deployment of the service.
In a fifth aspect, an embodiment of the present application provides a resource management method applied in a Software Defined Network (SDN), where the SDN includes an SDN controller and a forwarding device, and the method is performed by the forwarding device, and the method includes: the forwarding equipment acquires available resources for deploying the service according to the recorded resource occupation condition of the service when deploying the service; the forwarding equipment deploys the service according to the available resource for deploying the service, and updates and records the resource occupation condition of the service; the forwarding device reports the updated resource occupation condition of the service to the SDN controller, where the updated resource occupation condition of the service is used for the SDN controller to obtain available resources for deploying the service when deploying the service to the forwarding device.
The forwarding device notifies the SDN controller of the resource occupation situation generated by deploying the service on the forwarding device, and in this case, when the SDN controller needs to deploy the service on the forwarding device, the SDN controller can obtain the available resource of the service according to the occupation situation of the service resource reported by the forwarding device to deploy, and select the resource without conflict to deploy the service, so that the problem of conflict between the service deployment of the forwarding device and the resource occupation generated by the SDN deployment of the service can be reduced, and the efficiency of service deployment is correspondingly improved.
In a possible implementation manner, the forwarding device receives a service deployment request sent by the SDN controller to the forwarding device to deploy the service, where the service deployment request carries resource information required for deploying the service, checks whether a resource required for deploying the service by the SDN controller conflicts with a resource occupation generated by the forwarding device deploying the service according to the updated resource occupation condition of the service, and deploys the service corresponding to the service deployment request according to a resource conflict check result.
On the basis of the above resource occupation situation notification mode, the forwarding device further combines a conflict check mode and deploys the service according to the conflict check result, so that the resource usage conflict problem occurring in the resource occupation situation notification mode under the condition of notification delay can be solved, the reliability of solving the resource conflict problem is increased, and the resource usage conflict problem is further avoided.
In a possible implementation manner, the deploying, by the forwarding device, the service according to the conflict check result specifically includes: in the case that resource usage does not conflict, the service is deployed according to the service deployment request of the SDN controller, and specific processing in the case of resource usage conflicts may refer to the above embodiment, which is not repeated herein.
In a sixth aspect, an embodiment of the present application provides a resource management method applied in a software defined network SDN, where the SDN includes an SDN controller and a forwarding device, and the method is performed by the forwarding device. The method comprises the following steps: the forwarding device records the resource situation occupied by the deployment service and notifies the SDN controller of the recorded resource situation occupied by the deployment service; the forwarding device receives a service deployment request for deploying the service sent to the forwarding device by the SDN controller, the service deployment request carries resource information required for deploying the service, whether the resource required for deploying the service by the SDN controller conflicts with the resource occupation generated by deploying the service by the forwarding device is checked according to the recorded resource occupation situation occupied by deploying the service, and the service corresponding to the service deployment request is deployed according to the resource conflict checking result.
In a possible implementation manner, the deploying, by the forwarding device, the service according to the conflict check result specifically includes: in the case that resource usage does not conflict, the service is deployed according to the service deployment request of the SDN controller, and specific processing in the case of resource usage conflicts may refer to the above embodiment, which is not repeated herein.
When the SDN side initiates service deployment, the forwarding equipment performs conflict check according to the recorded resource occupation condition, so that the conflict problem generated in the resource use process is avoided. The conflict check mode has the advantage of higher reliability in solving the problem of resource usage conflict compared with the resource occupation situation notification mode, and the resource occupation situation recorded in the SDN controller is not updated timely due to the fact that the resource occupation situation notification mode may have a notification delay situation, so that the resource conflict occurs under the specific situation.
In a seventh aspect, an embodiment of the present application provides a resource management method applied in a Software Defined Network (SDN), where the SDN includes an SDN controller and a forwarding device, the method is performed by the SDN controller, and the method includes: when deploying a service to the forwarding device, the SDN controller acquires a resource occupation situation generated when the forwarding device deploys the service, acquires available resources according to the resource occupation situation generated when the forwarding device deploys the service, and determines resources required for deploying the service according to the available resources; the SDN controller sends a service deployment request to the forwarding equipment, wherein the service deployment request carries information of resources required by the service deployment.
In a possible implementation manner, the SDN controller receives a resource occupation situation generated by the forwarding device deployment service sent by the forwarding device, and records the resource occupation situation generated by the forwarding device deployment service.
In a possible implementation manner, the obtaining available resources according to a resource occupation situation generated by the forwarding device deploying the service includes: and the SDN controller acquires other available resources except the resources occupied by the service deployed by the forwarding equipment according to the resource occupation condition generated by the service deployed by the forwarding equipment to deploy the service.
When service deployment is initiated on an SDN side, the resource occupation situation generated when the forwarding device deploys the service is obtained by pre-inquiring the resource conflict processing module, specifically, the resource occupation situation can be inquired in the record of the SDN controller, the resource usage situation of the service can also be directly inquired from the forwarding device, available resources are obtained according to the inquiry result, and then the resources required for deploying the service are determined according to the available resources, so that conflicts between the resources occupied when the SDN deploys the service and the resources occupied when the forwarding device deploys the service can be reduced or avoided.
In an eighth aspect, an embodiment of the present application provides a resource management system, where the system includes an SDN controller and a forwarding device; the SDN controller is used for sending a service deployment request to the forwarding equipment, wherein the service deployment request carries resource information required by the service deployment; the forwarding device is used for recording the resource situation occupied by the service deployed by the forwarding device, notifying the SDN controller of the recorded resource situation occupied by the service deployed by the forwarding device, receiving the service deployment request sent by the SDN controller, checking whether the resource required by the service deployed by the SDN controller conflicts with the resource occupation generated by the service deployed by the forwarding device according to the recorded resource situation occupied by the service deployed by the forwarding device, and deploying the service corresponding to the service deployment request according to the resource conflict checking result.
When the SDN side initiates service deployment, the forwarding equipment performs conflict check according to the recorded resource occupation condition, so that the conflict problem generated in the resource use process is avoided. The conflict check mode has the advantage of higher reliability in solving the problem of resource usage conflict compared with the resource occupation situation notification mode, and the resource occupation situation recorded in the SDN controller is not updated timely due to the fact that the resource occupation situation notification mode may have a notification delay situation, so that the resource conflict occurs under the specific situation.
In a possible implementation manner, the SDN controller is further configured to receive a resource situation, sent by the forwarding device, of the forwarding device deploying the service, record the resource situation of the forwarding device deploying the service, acquire a resource occupation situation, generated when the forwarding device deploys the service, of the forwarding device deploying the service, acquire available resources according to the resource occupation situation, generated when the forwarding device deploys the service, and determine to deploy the resources required by the service according to the available resources.
In one possible implementation manner, the acquiring, by the SDN controller, a resource occupation situation generated by the forwarding device deploying the service includes: and the SDN controller acquires other available resources except the resources occupied by the service deployed by the forwarding equipment according to the resource occupation condition generated by the service deployed by the forwarding equipment to deploy the service.
In a possible implementation manner, the deploying, by the forwarding device, the service according to the conflict check result specifically includes: in the case that resource usage does not conflict, the service is deployed according to the service deployment request of the SDN controller, and specific processing in the case of resource usage conflicts may refer to the above embodiment, which is not repeated herein.
In a ninth aspect, the present application provides a computer-readable storage medium, in which program codes are stored, and the program codes are used for instructing to execute the method in the fifth aspect or any possible implementation manner of the fifth aspect.
In a tenth aspect, embodiments of the present application provide a computer-readable storage medium having program codes stored therein, where the program codes are used to instruct a method in any possible implementation manner of the sixth aspect or the sixth aspect to be performed.
In an eleventh aspect, the present application provides a computer-readable storage medium, where a program code is stored, and the program code is used to instruct execution of the method in any possible implementation manner of the seventh aspect or the seventh aspect.
The effects of the above embodiments of the computer-readable storage medium can refer to the description of the corresponding places above and the description of the relevant parts in the specification, and are not repeated here.
Drawings
Fig. 1 is a schematic diagram of a resource management system for hybrid networking of a conventional network and an SDN network according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a forwarding device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another forwarding device according to an embodiment of the present invention;
fig. 4 is a flowchart of a resource management method according to an embodiment of the present invention;
FIG. 5 is a flowchart of another resource management method according to an embodiment of the present invention;
FIG. 6 is a flowchart of another resource management method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another forwarding device according to an embodiment of the present invention;
fig. 8 is an internal interaction diagram of a forwarding device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an SDN controller according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another SDN controller according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The network architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
The embodiment of the invention can be applied to a resource management system of a traditional network and Software Defined Network (SDN) hybrid network. As shown in fig. 1, fig. 1 is a schematic diagram of a resource management system for hybrid networking of a conventional network and an SDN network, where the resource management system includes an SDN controller and at least one forwarding device. The forwarding device can establish a communication connection with the SDN controller and access into the SDN network. A forwarding device that is accessed into an SDN network may have both the functionality of a forwarding device in a legacy network and the functionality of a border forwarding device in an SDN network.
Specifically, the functions of the forwarding device in the conventional network include a local management plane function. And the local management plane function controls the forwarding equipment to carry out service configuration, service deployment and the like through a local command line. The functions of the boundary forwarding device in the SDN network provided by the forwarding device include a management plane function of remote control. The management plane function of the remote control can communicate with the remote SDN controller, and control the forwarding device to perform service deployment according to the command of the SDN controller. The above-mentioned local management plane function and remote control management plane function can be implemented in the management plane layer of the forwarding device.
In addition to the management plane, the forwarding device also has a control plane as well as a forwarding plane. The control plane is responsible for managing resources of the forwarding equipment, and the forwarding plane is responsible for forwarding the data packet. In order to solve the problem of conflict between the local management plane function and the remote control management plane function during resource use, the embodiment of the invention adds the resource coordination function. The resource coordination function may be located at a control plane of the forwarding device. The resource coordination function may include recording resource occupation, providing available resource conditions or resource occupation conditions, and the like. The resource coordination function may also include resource conflict checking when resource occupancy is requested. The conflict problem in resource use is solved by providing the available resource condition, or providing the resource occupation condition, or checking the resource conflict, etc.
The forwarding device may be a physical Switch, a physical Router, or a virtual Switch (vSwitch) embedded in a physical server and based on a software virtualization technology, a virtual Router (vruter), or the like.
Fig. 2 shows a schematic diagram of a possible hardware structure of a forwarding device according to an embodiment of the present invention. As shown in fig. 2, the forwarding device 200 includes: a main control board 210, an interface board 230, a switch board 220 and an interface board 240. The main control board 210 is used to complete functions of system management, device maintenance, protocol processing, and the like. The switch network board 220 is used to complete data exchange between interface boards (interface boards are also called line cards or service boards). The interface boards 230 and 240 are used to provide various service interfaces (e.g., ethernet interfaces, POS interfaces, etc.) and implement packet forwarding. The main control board 210, the interface boards 230 and 240, and the switch board 220 are interconnected via a system bus. The central processor 231 on the interface board 230 is used for controlling and managing the interface board and communicating with the central processor 211 on the main control board 210. The central processing unit 211 on the main control board 210 is further configured to communicate with an SDN controller, and process a message sent by the SDN controller to the forwarding device 200.
The functions of the management plane and the control plane in the forwarding device may be implemented by the main control board 210, and the functions of the forwarding plane may be implemented by the interface board 230 or the interface board 240.
It should be understood that the forwarding device 200 of this embodiment may correspond to the forwarding device in the following embodiments corresponding to fig. 4 to fig. 6, and the main control board 210, the interface board 230, and/or 240 in the forwarding device 200 may implement the functions of the forwarding device in the embodiments corresponding to fig. 4 to fig. 6 and/or various steps, specific steps, and functions implemented in the forwarding device in the following embodiments, please refer to the detailed description in the following embodiments.
It should be noted that there may be one or more main control boards, and when there are more main control boards, the main control boards may include a main control board and a standby main control board. The interface board may have one or more blocks, and the stronger the data processing capability of the forwarding device, the more interface boards are provided. There may also be one or more physical interface cards on an interface board. The exchange network board may not have one or more blocks, and when there are more blocks, the load sharing redundancy backup can be realized together. For example, in the case of a box type device, there may be no switching network board, and the main control board and the interface board are integrated. In addition, under the centralized forwarding architecture, the forwarding device does not need to exchange a network board, and the interface board undertakes the processing function of the service data of the whole system. Under the distributed forwarding architecture, the forwarding device can have at least one switching network board, and data exchange among a plurality of interface boards is realized through the switching network board, so that high-capacity data exchange and processing capacity are provided. Alternatively, the forwarding device 200 may have a form of only one board card, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on the one board card, at this time, the central processing unit on the interface board and the central processing unit on the main control board may be combined into one central processing unit on the one board card to perform the function after the two are stacked, and the data switching and processing capability of the device in this form is low (for example, network devices such as a low-end switch or a router). Which architecture is specifically adopted depends on the specific networking deployment scenario, and is not limited herein.
It should be noted that the structure of the forwarding device shown in fig. 2 is only one implementation manner of the forwarding device, and the forwarding device may also be implemented based on a hardware mechanism of the computer shown in fig. 3. In this embodiment, the functions or operational steps of the forwarding device may be performed by one or more processors in the forwarding device or server executing program code in memory. In this embodiment, the forwarding device 300 includes: a transceiver 310, a processor 320, a random access memory 340, a read only memory 350, and a bus 360.
The processor 320 is coupled to the transceiver 310, the random access memory 340 and the read only memory 350 through the bus 360.
Processor 320 may be one or more general purpose Central Processing Units (CPUs), microprocessors, Application Specific Integrated Circuits (ASICs), or a combination of the foregoing CPUs, microprocessors, and ASICs, or one or more integrated circuits configured to control the execution of programs in accordance with the teachings of the present application. It should be noted that the one or more processors, microprocessors, or ASICs may be configured to perform the steps and functions associated with the present application by being distributed and cooperating to form a processor group. The steps and functions can be specifically described in the following embodiments.
Bus 360 may include a path that transfers information between the above components.
The transceiver 310 is configured to communicate with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc., and in an embodiment of the present invention, the transceiver 310 may be configured to communicate with an SDN controller.
Random access memory 340 may be loaded with application code implementing the forwarding device in the embodiments described in fig. 4-6 and controlled for execution by processor 320.
When the forwarding device 300 needs to be operated, the forwarding device 300 is booted to enter a normal operation state by starting a basic input/output system solidified in the read only memory 350 or a bootloader bootstrap system in the embedded system. After forwarding device 300 enters a normal operating state, processor 320 runs applications and an operating system in random access memory 340, causing the forwarding device to perform the functions in the embodiments shown in fig. 4-6.
Wherein interaction with the SDN controller is performed by the transceiver 310 under the control of the processor 320, and internal processing of the forwarding device 300 (e.g., obtaining available resources, service configuration, service deployment, logging resource occupancy, conflict checking, etc.) is performed by the processor 320. The resource occupancy that occurs during the operation of the forwarding device may be recorded in random access memory 340.
In addition to the above conventional manners such as executing program code instructions on a memory by a processor, the above embodiments may also be based on a virtual forwarding device implemented by a physical server in combination with a network function virtualization NFV technology, where the virtual forwarding device is a virtual router or a switch. Through reading the application, a person skilled in the art can combine NFV technology to virtually create multiple forwarding devices with the above functions on a physical server. And will not be described in detail herein.
The following describes the resource coordination function of the forwarding device in different ways in detail through specific embodiments.
Fig. 4 is a flowchart of a resource management method according to an embodiment of the present application. In this embodiment, the forwarding device solves the resource usage conflict problem through the resource occupation condition notification. The forwarding device may record an occupation situation of a service deployment on a resource, and notify the occupation situation of the service deployment locally generated by the forwarding device on the resource to the SDN controller, so that the SDN controller determines an available resource according to the occupation situation of the service deployment locally generated by the forwarding device on the resource, thereby avoiding a resource conflict between the service deployment initiated by the SDN side and the service deployment locally generated by the forwarding device. As shown in fig. 4, the method includes:
s401, when the forwarding device locally generates a service deployment requirement, the forwarding device acquires available resources for deploying the service.
In a specific embodiment, the service deployment requirement locally generated by the forwarding device may be generated in a command line manner. For example, a management configuration module in the forwarding device generates a service deployment requirement, and a resource coordination module in the forwarding device obtains an available resource situation of the forwarding device according to the service deployment requirement. For example, the forwarding device may record the resources occupied by the forwarding device for deploying each service by using a table entry (such as a service resource occupancy table) or other recording manners, and then obtain the resource occupancy of the service related to the service deployment requirement according to the recording condition. In a specific example, the service resource occupation table may include a service identifier and a resource occupied by a service corresponding to the identifier.
In a specific embodiment, for example, when a Virtual Local Area Network (VLAN) service is deployed, in a scenario where a VLAN is configured based on an interface, generally, for the same physical port, a configurable range of VLAN IDs is 1 to 4096, and both an SDN controller and a forwarding device may configure and deploy the VLAN service based on the range. When the forwarding device needs to deploy the service, the forwarding device needs to confirm the available VLAN ID resource on the forwarding device according to the previously recorded resource occupation record of the VLAN service, and then deploy the VLAN service within the available VLAN ID range.
S402, the forwarding device configures the service according to the acquired available resources, and records the resource occupation condition generated by the service and deploys the service according to the configuration of the service.
In a specific embodiment, after the forwarding device obtains an available resource, for example, the available VLAN ID resource in the above example, the forwarding device performs configuration of the VLAN service according to the available VLAN ID resource, and records a resource occupation situation generated by the service, so as to perform deployment of the VLAN service. Specifically, as described in the above example, the service resource occupation table may be recorded to update the occupation situation of the service resource.
S403, the forwarding device reports the resource occupation situation generated by the service to the SDN controller.
In a specific embodiment, the forwarding device may report the updated service resource occupation condition to the SDN controller through a controller adapter on the forwarding device, so that the SDN controller may refer to the resource occupation condition of the service reported by the forwarding device when deploying the service on the forwarding device, and select an available resource to deploy the service, thereby reducing or avoiding a resource conflict problem.
And S404, after receiving the resource occupation condition reported by the forwarding equipment, the SDN controller records the resource occupation condition generated by the service.
In a specific embodiment, the SDN controller may also maintain and record a resource occupation situation of a service on a forwarding device controlled and managed by the SDN controller, for example, in a form of an entry, where the entry includes an identifier of the forwarding device, a service identifier, and a service resource occupation situation. And after receiving the resource occupation condition reported by the forwarding equipment, the SDN controller updates the resource occupation condition of the service into the table.
It may be understood that, in another implementation manner, step S403 may also be performed after querying the forwarding device about the resource occupation condition of the service when the SDN controller deploys the service.
S405, the SDN controller returns a response acknowledgement to the forwarding device.
The response confirmation is to increase reliability, and the procedure of response confirmation may not be performed in a network that does not require high reliability.
S406, when the SDN side needs to perform service deployment on the forwarding device, the SDN controller obtains an available resource for deploying the service.
When the SDN controller also needs to deploy the service on the forwarding device, the history of the resource occupation condition of the service on the forwarding device may be queried, and an available resource may be selected to deploy the service, so that the problem of resource conflict may be reduced or avoided. The query mode can query local records, and also can send a query request to the forwarding device to query the occupation condition of the service resource, and the available resource of the service is deployed according to the query result.
And S407, the SDN controller initiates a service deployment request for deploying the service to the forwarding device according to the acquired available resources.
After acquiring the available resources of the service on the forwarding device according to the information acquired in step S406, the SDN controller initiates a service deployment request for deploying the service to the forwarding device by using the available resources of the service. In a specific embodiment, after sending the service deployment request, or receiving a resource condition, returned by the forwarding device, occupied by deploying the service, or after receiving that the forwarding device has completed deploying the service, the SDN controller may further update a resource occupation record of the service.
And S408, after receiving the service deployment request sent by the SDN controller, the forwarding device deploys the service according to the request and records the resource occupation condition of the service.
After receiving a service deployment request sent by an SDN controller, the forwarding device deploys a service according to the request, records the resource occupation condition of the service, and updates the service resource occupation condition locally recorded by the forwarding device.
S409, after recording the resource occupation of the service, the forwarding device also reports the resource occupation of the service to the SDN controller for recording, which is the same as step S403-S405, and is not described here again.
It should be noted that, in this embodiment, the interaction between the forwarding device and the SDN controller may use an existing Protocol, for example, an open flow Protocol (english: OpenFlow), a Network Configuration Protocol (Network Configuration, Network), a Border Gateway Protocol (BGP), a Path Computation Element Communication Protocol (PCEP), or a Routing System Interface (I2 RS), to perform signaling or data interaction.
Moreover, it should be noted that steps S401 to S405 are processes for executing service deployment locally generated by the forwarding device, and steps S406 to S409 are processes for executing service deployment initiated by the SDN side, and these two processes may be executed independently without restriction on execution order.
In the embodiment, the occupation situation of the service deployment on the resources is recorded, and the occupation situation of the service deployment locally generated by the forwarding device on the resources is also notified to the SDN controller, so that the SDN controller can determine the available resources and perform service deployment according to the available resources, thereby reducing the problem of resource use conflict.
In another embodiment of the present invention, a conflict check is performed at the forwarding device to solve the resource usage conflict problem. Fig. 5 shows a specific implementation of the method, and fig. 5 is a flowchart of a resource management method according to another embodiment of the present invention. The method comprises the following steps:
s501, the SDN controller sends a service deployment request for deploying the service to the forwarding device.
The service deployment request can carry a service identifier for deploying the service, resource information required for deploying the service, and a request for deploying the service when the request is expressed. For example, taking the above VLAN service as an example, when the SDN controller deploys the VLAN service on the forwarding device, the VLAN service identifier may be carried in the VLAN service deployment request, and a VLAN ID required for deploying the VLAN service is carried in the VLAN service deployment request.
S502, the forwarding device checks the resource conflict.
After receiving the service deployment request, the forwarding device checks whether resource conflict occurs when the service is deployed. The forwarding device may query whether the resource required for the current service deployment is occupied in the historical resource occupation situation, so as to determine whether a resource conflict occurs.
S503, the forwarding device reports the resource conflict check result to the SDN controller.
It should be noted that the reporting procedure is to increase reliability, and the step may not be executed under the condition that the requirement for reliability is not high.
S504, the forwarding device executes the service deployment corresponding to the service deployment request according to the resource conflict check result.
The concrete implementation of the service deployment corresponding to the service deployment request is executed according to the resource conflict check result, as in step S504a or S504 b.
S504a, when the resource conflict check result indicates no conflict, the forwarding device deploys the service according to the service deployment request sent by the SDN controller, and records a resource situation occupied by deploying the service.
S504b, when the resource conflict check result indicates a conflict, the forwarding device notifies the SDN controller that resources in the resource occupation request are occupied and other available resources of the service, or allocates resources for deploying the service from other available resources and notifies the SDN controller, in another embodiment, the forwarding device may also reject the service deployment request of the SDN controller in case of no available resources.
In the case of resource conflict, the notification sent to the SDN controller in step S504b may also be combined in step S503.
The embodiment shown in fig. 5 describes in detail a processing procedure of initiating service deployment by an SDN side in a collision check mode, and the processing procedure of service deployment locally generated by a forwarding device may be implemented similar to steps S401 to S402 in the embodiment shown in fig. 4, which is not described herein again.
In the embodiment, the occupation situation of the resources by the service deployment is recorded, when the forwarding device deploys the locally generated service, the forwarding device selects the available resources according to the recorded occupation situation of the resources, and when the service deployment is initiated on the SDN side, the forwarding device performs the conflict check according to the recorded occupation situation of the resources, so that the conflict problem generated in the resource use process is avoided. The conflict check mode has the advantage of higher reliability in solving the problem of resource usage conflict compared with the resource occupation situation notification mode, and the resource occupation situation recorded in the SDN controller is not updated timely due to the fact that the resource occupation situation notification mode may have a notification delay situation, so that the resource conflict occurs under the specific situation.
In another embodiment of the present invention, a resource usage conflict problem can be solved by combining the resource occupancy notification and the conflict check. Fig. 6 shows a specific implementation of the method, and fig. 6 is a flowchart of a resource management method according to another embodiment of the present invention.
In the method, S601-S605 are processing procedures of the forwarding device to deploy locally generated services. In the process, the forwarding device records the resource occupation situation generated by the service deployment, and reports the recorded resource occupation situation to the SDN controller for recording. The specific implementation of the process is similar to steps S401 to S405 in the embodiment shown in fig. 4, and is not described here again.
And S606, when the SDN side needs to perform service deployment on the forwarding equipment, the SDN controller acquires available resources of the forwarding equipment.
The SDN controller may query a history of resource occupation of the service reported by the forwarding device, so as to determine available resources of the service on the forwarding device.
And S607, the SDN controller initiates a service deployment request to the forwarding equipment according to the acquired available resources.
The service deployment request carries resource information required for deploying the service, which may specifically refer to step S501.
S608 to S610 are processes of performing conflict check by the forwarding device after receiving a request for deploying a service sent by the SDN controller, and specific implementation of the processes may refer to steps S502 to S504 in the embodiment shown in fig. 5, which is not described herein again.
Due to the resource occupation condition notification mode, the SDN controller can acquire available resources, so that conflict-free resources can be selected when the SDN controller sends a service deployment request, the problem of resource conflict is solved, the processing efficiency of the system is further considered, on the basis, a conflict check mode is further combined, the problem of resource use conflict occurring in the resource occupation condition notification mode under the condition of notification delay is solved, the reliability of solving the problem of resource conflict is improved, and the problem of resource use conflict is further avoided.
Specific implementations of the forwarding device and the SDN controller in fig. 3-6 are described in detail below with reference to the accompanying drawings.
As shown in fig. 7, fig. 7 is a schematic structural diagram of a forwarding device according to an embodiment of the present invention. The forwarding device includes a management configuration module 701, a resource coordination module 702, and a controller adapter 703. The management configuration module 701, the resource coordination module 702, and the controller adapter 703 may exist in the form of components, and may interact with each other through component messages.
The management configuration module 701 and the controller adapter 703 are located on a management plane of the forwarding device, and the management configuration module is configured to implement a local management plane function in the management plane. The controller adapter 703 is used to implement management plane functions for remote control in the management plane. The management configuration module 701 implements local management plane functions in the form of a command line. The controller adapter 703 may communicate with an SDN controller in the SDN network using existing control channel protocols to perform management plane functions controlled by the SDN controller. Currently common control channel protocols, for example, may include: an open flow (OpenFlow) Protocol, a Path computing Communication Protocol (PCEP), a Border Gateway Protocol (BGP), a Routing System Interface (I2 RS), and the like.
The resource coordination module 702 is located on a control plane of the forwarding device, and is a module added in the embodiment of the present invention for implementing a resource coordination function of the forwarding device.
The following describes in detail the corresponding functions and interaction relationships of the modules in the forwarding device by taking an embodiment of solving the resource usage conflict problem in a manner of combining the resource occupation notification and the conflict check as an example. As shown in fig. 8, fig. 8 is an internal interaction diagram of a forwarding device according to an embodiment of the present invention.
8a, when the management configuration module 701 needs to deploy a service through a command line, the management configuration module first requests an available resource condition from the resource coordination module 702.
8b, the resource coordination module 702 provides the management configuration module 701 with the available resource status.
The above 8a-8b are internal interactive implementations of the situation that the forwarding device obtains the available resources, and specific implementations of related functions may refer to step S601 in the embodiment of the method shown in fig. 6 and step S401 in the embodiment of the method shown in fig. 4, which are not described herein again.
8c, the management configuration module 701 configures the service according to the acquired available resources, and notifies the resource coordination module 702 to record the resource occupation situation generated by the service according to the configuration of the service.
8d, after the resource coordination module 702 records the resource occupation situation generated by the service, it feeds back the resource occupation situation of the recorded service to the management configuration module 701, and indicates that the management configuration module 701 can perform service deployment.
8e, the management configuration module 701 deploys the service.
The above 8c-8e are internal interaction implementation in the service deployment process performed by the forwarding device according to the available resource condition, and specific implementation of related functions may refer to step S602 in the method embodiment shown in fig. 6 and step S402 in the method embodiment shown in fig. 4, which is not described herein again.
8f, after the resource coordination module 702 records, the resource occupation condition of the service is notified to the controller adapter 703, and is reported to an SDN controller in the SDN network through the controller adapter 703.
8g, after receiving the response acknowledgement returned by the SDN controller, the controller adapter 703 returns a response acknowledgement to the resource coordination module 702.
The above process is an interaction relationship inside the forwarding device in the process of executing service deployment locally generated by the forwarding device, and an internal exchange relationship in the process of executing service deployment initiated by the SDN side by the forwarding device is introduced below.
8h, the controller adapter 703 requests the resource coordination module 702 for an available resource condition when receiving a service deployment request from the SDN controller.
8i, the resource coordination module 702 performs resource conflict check and sends the result of the resource conflict check to the controller adapter 703.
8j, the controller adapter 703 deploys the service corresponding to the service deployment request according to the resource conflict check result.
The above 8i-8j are internal interaction implementation in the process of performing resource conflict processing by the forwarding device, and specific implementation of related functions may refer to steps S608-S610 in the method embodiment shown in fig. 6 (i.e., S502-S504 in the method embodiment shown in fig. 5), which is not described herein again.
It should be noted that the module division shown in fig. 7 and the interaction relationship between the modules shown in fig. 8 are only examples, and in a specific implementation, the modules inside the forwarding device may be merged or subdivided according to related functions based on the method embodiments shown in fig. 4 to fig. 6. In addition, the embodiment shown in fig. 8 is an embodiment combining resource occupation notification and conflict check, and other embodiments may omit related functions or interactions according to the description in the method embodiment section. For example, for the embodiment adopting the resource occupation notification manner, the service deployment may be performed by directly requesting the service deployment without executing 8i and 8 j. For embodiments that employ a collision check approach, then 8f and 8g may not be performed.
In the embodiment of the invention, not only the forwarding device is improved, but also the SDN controller on the SDN network side is improved in the embodiment of adopting the resource occupation condition notification mode. As shown in fig. 9, fig. 9 is a schematic structural diagram of an SDN controller according to an embodiment of the present invention, where the SDN controller includes a resource conflict processing module 901, a service deployment module 902, and a sending module 903.
The resource conflict processing module 901 is configured to receive a resource occupation situation, which is sent by a forwarding device and generated by the forwarding device deploying service, and record the resource occupation situation generated by the forwarding device deploying service. The specific implementation of this function may refer to steps S404, S409, and S604 in the embodiment shown in fig. 4, which are not described herein again.
The service deployment module 902 is configured to, when deploying a service to a forwarding device, query the resource conflict processing module 901 to obtain a resource occupation situation generated by deploying the service by the forwarding device, obtain an available resource according to a query result, and determine a resource required by the service deployment according to the available resource. The specific implementation of this function can refer to steps S406-S407 and S604-706 in the embodiment shown in fig. 4, which are not described herein again.
A sending module 903, configured to send a service deployment request to the forwarding device. The service deployment request carries information of resources required by the service to be deployed at this time. For specific implementation of this function, reference may be made to step S407 in the embodiment shown in fig. 4, step S501 in the embodiment shown in fig. 5, or step S607 in the embodiment shown in fig. 6, which is not described herein again.
SDN controllers may also be implemented based on the hardware mechanism of a computer. As shown in fig. 10, fig. 10 is a schematic diagram of a possible structure of an SDN controller 1000 according to an embodiment of the present invention. In this embodiment, the functions or operational steps of the SDN controller are implemented by one or more processors in a general purpose computer or server by executing program code in memory. Under this embodiment, the SDN controller 1000 includes: a transceiver 1010, a processor 1020, a random access memory 1040, a read only memory 1050, and a bus 1060.
The processor 1020 is coupled to the transceiver 1010, the random access memory 1040 and the read only memory 1050 via the bus 1060.
The processor 1020 may be a general purpose Central Processing Unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits configured to control the execution of programs in accordance with the inventive arrangements.
Bus 1060 may include a path for communicating information between the aforementioned components.
The transceiver 1010 is configured to communicate with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc., in an embodiment of the present invention, the transceiver 1010 may be configured to communicate with a forwarding device.
Random access memory 1040 may be loaded with application code implementing an SDN controller in the embodiments described in fig. 4-6 and controlled for execution by processor 1020.
When the SDN controller 1000 needs to be operated, the SDN controller 1000 is booted to enter a normal operation state by starting a basic input/output system solidified in the rom 1050 or a bootloader boot system in an embedded system. After the SDN controller 1000 enters the normal operation state, the processor 1020 runs the application and the operating system in the random access memory 1040, so that the SDN controller performs the functions in the embodiments shown in fig. 4 to 6.
Wherein interaction with the forwarding device is performed by the transceiver 1010 under control of the processor 1020, and internal processing of the SDN controller (e.g., acquiring available resources, logging resource occupancy, etc.) is performed by the processor 1020. The resource occupancy may be recorded in read-only memory 1050 or random access memory 1040.
In addition to the above conventional manners such as executing program code instructions on a memory by a processor, the above embodiments may also be based on a virtual SDN controller implemented by a physical server in combination with a network function virtualization NFV technology, where the virtual SDN controller may be a virtual network device or a server. Through reading the application, a person skilled in the art can combine NFV technology to virtually create multiple PE devices with the above functions on a physical server. And will not be described in detail herein.
It should be understood that the devices and modules disclosed in the embodiments of the present application may be implemented in other ways. For example, the above-described embodiment of the apparatus is merely illustrative, for example, the division of the modules is only a logical functional division, and an actual implementation may have another division, for example, a plurality of modules, units, or components may be combined or may be integrated into another system, for example, the function of the SDN controller implemented by the controller adapter in the above-described embodiment to deploy a service when the forwarding device deploys the service may also be incorporated into the management configuration module. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The modules described as separate components may be physically separated or may be physically located in the same physical component. The components shown as modules may be physical units, or may also be software modules or logical units, which may be located in one place or may be distributed over a plurality of network units. All of them can be selected according to actual needs to realize the purpose of the solution of the embodiment. In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit or a storage unit, or may be located in different processing units or storage units. The integrated module can be realized in a form of hardware, or in a form of hardware plus a software functional unit. The integrated unit implemented in the form of a software functional unit may be stored in one or more computer readable storage media. The software functional unit is stored in one or more storage media and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present invention.
An embodiment of the present invention further provides a computer storage medium, configured to store computer software instructions for the forwarding device, where the computer software instructions include a program designed to perform the functions of the forwarding device in the foregoing method embodiment.
Another computer storage medium for storing computer software instructions for the SDN controller is provided in an embodiment of the present invention, and includes a program designed to execute the SDN controller in the above method embodiment.
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), 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 storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. A forwarding device in communication with a software defined network, SDN, controller, characterized by:
the forwarding equipment comprises a management configuration module, a resource coordination module and a controller adapter;
the management configuration module is used for acquiring the available resource condition from the resource coordination module when the service is deployed;
the resource coordination module is configured to provide an available resource situation of the service to the management configuration module according to the resource occupation situation of the service recorded on the forwarding device, receive the resource occupation situation of the service returned by the management configuration module, and notify the controller adapter of the resource occupation situation of the service;
the controller adapter is configured to report a resource occupation situation of the service acquired from the resource coordination module to the SDN controller;
the controller adapter is further configured to receive a deployment request of the service sent by the SDN controller, and send a resource occupation request to the resource coordination module according to the deployment request of the service;
and the resource coordination module is further used for performing resource conflict check according to the resource occupation request and notifying the controller adapter to deploy the service under the condition of determining no conflict.
2. The forwarding device of claim 1, wherein the management configuration module is further configured to configure the service according to an available resource condition provided by the resource coordination module, and notify the resource coordination module of a resource occupation condition generated by the management configuration module configuring the service;
the resource coordination module is further configured to record a resource occupation situation generated when the management configuration module configures the service after receiving the resource occupation situation generated when the management configuration module notified by the management configuration module configures the service, and feed back the resource occupation situation which is recorded and generated when the management configuration module configures the service to the management configuration module;
the management configuration module is further configured to perform service deployment according to the feedback of the resource coordination module.
3. The forwarding device of claim 2, wherein the controller adapter is further configured to receive the SDN controller feedback message indicating that the SDN controller has logged resource occupancy for the traffic reported by the controller adapter.
4. The forwarding device of any one of claims 1-3, wherein the controller adapter is further configured to receive a deployment request of the service sent by the SDN controller, and send a resource occupation request to the resource coordination module according to the deployment request of the service;
the resource coordination module is further configured to perform resource conflict check according to the resource occupation request, notify, through the controller adapter, that resources in the resource occupation request of the SDN controller are occupied if a resource conflict is determined, notify, through the controller adapter, that the SDN controller deploys other available resources of the service, notify, after allocating other available resources to the service, the SDN controller, or select other available resources to deploy the service and notify the SDN controller.
5. A forwarding device in communication with a software defined network, SDN, controller, characterized by:
the forwarding equipment comprises a management configuration module, a resource coordination module and a controller adapter;
the controller adapter is configured to receive a service deployment request sent by the SDN controller, and send a resource occupation request to the resource coordination module according to the service deployment request;
the resource coordination module is configured to determine, according to the resource occupation request, whether a resource required by the SDN controller to deploy a service conflicts with a resource occupation generated by the management configuration module to deploy the service, and notify the controller adapter of a resource conflict check result;
the controller adapter is further configured to perform service deployment corresponding to the service deployment request according to a resource conflict check result sent by the resource coordination module;
the deploying, by the controller adapter, of the service corresponding to the service deployment request according to the resource conflict check result sent by the resource coordination module includes:
and when the resource conflict check result indicates no conflict, the controller adapter deploys the service according to a service deployment request sent by the SDN controller.
6. The forwarding device of claim 5, wherein the resource coordination module is further to:
receiving a request for acquiring the available resource condition sent by the management configuration module when the service is deployed;
providing an available resource condition for the management configuration module, receiving a resource occupation condition generated by configuring the service returned by the management configuration module, and recording the resource occupation condition generated by deploying the service by the management configuration module;
the resource coordination module is further configured to determine whether resources required by the SDN controller to deploy the service conflict with resource occupation generated by the management configuration module configuring the service according to the recorded resource occupation generated by the management configuration module configuring the service.
7. The forwarding device of claim 6, wherein the resource coordination module is further configured to notify the controller adapter of a resource occupancy resulting from the configuration of the service by the management configuration module;
the controller adapter is further configured to report, to the SDN controller, a resource occupation situation generated by the service configured by the management configuration module, which is acquired from the resource coordination module.
8. The forwarding device of claim 5 wherein the controller adapter is further configured to record resources occupied by the SDN controller to deploy the service and notify the management configuration module and the SDN controller of the resources occupied by the SDN controller to deploy the service.
9. The forwarding device of any of claims 5-7, wherein the resource coordination module is further to:
notifying, by the controller adapter, the SDN controller that resources in the resource occupancy request are occupied if it is determined that a conflict occurs with resource occupancy resulting from deployment of the service by the management configuration module;
notifying, by the controller adapter, other available resources of the SDN controller for deploying the service in the event of a determination that there is a conflict with a resource occupancy resulting from deployment of the service by the management configuration module;
notifying the SDN controller after allocating other available resources for the service if it is determined that a conflict occurs with resource occupation generated by deployment of the service by the management configuration module; or
And in the case of determining that conflict occurs in the resource occupation generated by the service deployment by the management configuration module, selecting other available resources to deploy the service and notifying the SDN controller.
10. A software defined network, SDN, controller in communication with a forwarding device, the SDN controller comprising a service deployment module, a resource conflict handling module, and a sending module;
the service deployment module is used for inquiring the resource conflict processing module to acquire the resource occupation condition generated by the forwarding equipment deploying the service when deploying the service to the forwarding equipment, acquiring available resources according to the inquiry result, and determining the resources required by deploying the service according to the available resources;
the sending module is configured to send a service deployment request to the forwarding device, where the service deployment request carries information of a resource required for deploying the service;
the resource conflict processing module is further configured to receive a resource occupation situation generated by the forwarding device deployment service sent by the forwarding device, and record the resource occupation situation generated by the forwarding device deployment service;
the acquiring available resources according to the query result comprises:
and the SDN controller acquires other available resources except the resources occupied by the forwarding equipment for deploying the service according to the query result to deploy the service.
11. A resource management method applied in a software defined network, SDN, the SDN comprising an SDN controller and a forwarding device, the method comprising:
the forwarding equipment acquires available resources for deploying the service according to the recorded resource occupation condition of the service when deploying the service;
the forwarding equipment deploys the service according to the available resource for deploying the service, and updates and records the resource occupation condition of the service;
the forwarding device reports the updated resource occupation condition of the service to the SDN controller, wherein the updated resource occupation condition of the service is used for the SDN controller to obtain available resources for deploying the service when the SDN controller deploys the service to the forwarding device;
the forwarding device receives a service deployment request for deploying the service, which is sent by the SDN controller, wherein the service deployment request carries resource information required for deploying the service, the forwarding device checks whether resources required for deploying the service by the SDN controller conflict with resource occupation generated by the forwarding device for deploying the service according to the updated resource occupation condition of the service, and deploys the service corresponding to the service deployment request according to a resource conflict check result.
12. A resource management method applied in a software defined network, SDN, the SDN comprising an SDN controller and a forwarding device, the method comprising:
the forwarding device records the resource situation occupied by the deployment service and notifies the SDN controller of the recorded resource situation occupied by the deployment service;
the forwarding device receives a service deployment request for deploying the service sent to the forwarding device by the SDN controller, the service deployment request carries resource information required for deploying the service, whether the resource required for deploying the service by the SDN controller conflicts with the resource occupation generated by deploying the service by the forwarding device is checked according to the recorded resource occupation situation occupied by deploying the service, and the service corresponding to the service deployment request is deployed according to the resource conflict checking result;
and when the resource conflict check result indicates no conflict, the forwarding device deploys the service according to a service deployment request sent by the SDN controller.
13. The method of claim 12, wherein the deploying the service corresponding to the service deployment request according to the result of the resource conflict check comprises:
the forwarding device notifies that the resources in the SDN controller resource occupation request are occupied when determining that the resources required by the SDN controller to deploy the service conflict with the resource occupation generated by the forwarding device to deploy the service;
the forwarding device notifies the SDN controller of deploying other available resources of the service when determining that the resources required by the SDN controller for deploying the service conflict with the resource occupation generated by the forwarding device for deploying the service;
the forwarding device notifies the SDN controller after allocating other available resources to the SDN controller when determining that resources required by the SDN controller to deploy the service conflict with resource occupation generated by the forwarding device to deploy the service; or
And the forwarding device selects other available resources to deploy the service and notifies the SDN controller when determining that the resources required by the SDN controller to deploy the service conflict with the resource occupation generated by the forwarding device to deploy the service.
14. A resource management method applied in a software defined network, SDN, the SDN comprising an SDN controller and a forwarding device, the method comprising:
when deploying a service to the forwarding device, the SDN controller acquires a resource occupation situation generated when the forwarding device deploys the service, acquires available resources according to the resource occupation situation generated when the forwarding device deploys the service, and determines resources required for deploying the service according to the available resources;
the SDN controller sends a service deployment request to the forwarding equipment, wherein the service deployment request carries information of resources required by the service deployment;
the SDN controller receives a resource occupation situation generated by the forwarding device deployment service sent by the forwarding device and records the resource occupation situation generated by the forwarding device deployment service;
the obtaining available resources according to the resource occupation situation generated by the forwarding device deploying the service includes:
and the SDN controller acquires other available resources except the resources occupied by the service deployed by the forwarding equipment according to the resource occupation condition generated by the service deployed by the forwarding equipment to deploy the service.
15. A resource management system, said system comprising a software defined network, SDN, controller and a forwarding device, characterized by:
the SDN controller is used for sending a service deployment request to the forwarding equipment, wherein the service deployment request carries resource information required by the service deployment;
the forwarding device is used for recording the resource situation occupied by the service deployed by the forwarding device, notifying the SDN controller of the recorded resource situation occupied by the service deployed by the forwarding device, receiving the service deployment request sent by the SDN controller, checking whether the resource required by the service deployed by the SDN controller conflicts with the resource occupation generated by the service deployed by the forwarding device according to the recorded resource situation occupied by the service deployed by the forwarding device, and deploying the service corresponding to the service deployment request according to the resource conflict checking result.
CN201711132997.6A 2017-11-15 2017-11-15 Method, equipment and system for managing service resources Active CN109787804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711132997.6A CN109787804B (en) 2017-11-15 2017-11-15 Method, equipment and system for managing service resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711132997.6A CN109787804B (en) 2017-11-15 2017-11-15 Method, equipment and system for managing service resources

Publications (2)

Publication Number Publication Date
CN109787804A CN109787804A (en) 2019-05-21
CN109787804B true CN109787804B (en) 2022-04-26

Family

ID=66495341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711132997.6A Active CN109787804B (en) 2017-11-15 2017-11-15 Method, equipment and system for managing service resources

Country Status (1)

Country Link
CN (1) CN109787804B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970621A (en) * 2012-11-23 2013-03-13 中兴通讯股份有限公司 Device and method for intra-network-element transmission resource management
CN106068628A (en) * 2014-03-17 2016-11-02 华为技术有限公司 For management for configuring the strategy of network and/or the apparatus and method of resource
CN106330508A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Resource control method, device and system of OpenFlow protocol

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009871A (en) * 2014-06-06 2014-08-27 中国科学院声学研究所 SDN controller implementation method and SDN controller
US10187318B2 (en) * 2015-04-21 2019-01-22 Ciena Corporation Dynamic bandwidth control systems and methods in software defined networking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970621A (en) * 2012-11-23 2013-03-13 中兴通讯股份有限公司 Device and method for intra-network-element transmission resource management
CN106068628A (en) * 2014-03-17 2016-11-02 华为技术有限公司 For management for configuring the strategy of network and/or the apparatus and method of resource
CN106330508A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Resource control method, device and system of OpenFlow protocol

Also Published As

Publication number Publication date
CN109787804A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN112187545B (en) Network slice deployment method and device
US9999030B2 (en) Resource provisioning method
CN110611926B (en) Alarm method and device
US10616133B2 (en) Resource configuration method and network device thereof
US9584369B2 (en) Methods of representing software defined networking-based multiple layer network topology views
CN110474792B (en) Network configuration method, equipment and system
EP3637687A1 (en) Method for orchestrating software defined network, and sdn controller
CN111698112A (en) Resource management method and device for VNF (virtual network function)
CN110661641B (en) Virtual network function VNF deployment method and device
CN107113193A (en) A kind of method of the processing strategy of determination VNF, apparatus and system
US11140091B2 (en) Openflow protocol-based resource control method and system, and apparatus
CN109874143B (en) Network slice modification method and device
DE102021127325A1 (en) FLEXIBLE HIGH-AVAILABILITY COMPUTING WITH PARALLEL CONFIGURABLE TEXTILES
CN109213567B (en) Method and equipment for managing VNF instantiation
CN101621409B (en) Service control method, service control device and broadband access servers
JP5420477B2 (en) Information service system
CN109787804B (en) Method, equipment and system for managing service resources
CN109933959B (en) License control method and related equipment
CN114124803B (en) Device management method and device, electronic device and storage medium
CN115529276A (en) Data transmission method and related equipment thereof
CN109257201B (en) License sending method and device
CN112306625A (en) Method and related device for deploying virtual machine
WO2022127667A1 (en) Virtual network element-based service configuration method and system, virtual network element, and device
EP4149062A1 (en) Deployment method and apparatus for virtualized network service
CN114666233B (en) Network resource request method and related equipment thereof

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