WO2016177134A1 - Procédé et dispositif de traitement de ressources - Google Patents
Procédé et dispositif de traitement de ressources Download PDFInfo
- Publication number
- WO2016177134A1 WO2016177134A1 PCT/CN2016/076652 CN2016076652W WO2016177134A1 WO 2016177134 A1 WO2016177134 A1 WO 2016177134A1 CN 2016076652 W CN2016076652 W CN 2016076652W WO 2016177134 A1 WO2016177134 A1 WO 2016177134A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- information
- control terminal
- reporting
- deleted
- 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.)
- Ceased
Links
Images
Definitions
- the present invention relates to the field of communications, and in particular to a resource processing method and apparatus.
- the Internet Engineering Task Force proposes the concept of the Interface to the Routing System (I2RS). It is hoped that the traditional network equipment can be solved by the interface of the open routing system on the control plane. The problem of orderly evolution of SDN.
- I2RS is an architectural diagram of an I2RS system according to an embodiment of the present invention.
- the core idea is to open a new interface to communicate with an external control terminal based on the routing and forwarding system of the conventional network device, and the external control terminal (Client) knows each The resources, routing configuration, and traffic statistics of the network device learn the topology map of the entire network, and then dynamically send routing status and policies to each device.
- I2RS extends the structure and functions of routing and forwarding used in traditional network equipment, and expands and enriches the functions on the basis of this, laying a foundation for the programmability of network equipment. Innovation provides a strong guarantee.
- the I2RS architecture does not provide a clear component for resource management, and the I2RS proxy agent (ie, the routing and forwarding device) lacks a unified management mechanism for resource changes, when device resources change frequently, or When the device multi-service resources are concurrently changed, the I2RS agent and the control terminal are filled with a large number of resource change notification messages, and the communication efficiency between the I2RS agent and the I2RS control terminal (ie, the control terminal) is low, and the I2RS control terminal processes The burden of resource changes is heavier.
- the present invention provides a resource processing method and apparatus, so as to at least solve the problem that the communication efficiency between the routing forwarding device and the control terminal existing in the related art is low, and the control terminal handles the resource change in the routing forwarding device.
- a resource processing method including: managing resource information of a routing and forwarding device, where the resource information includes at least: an identifier of one or more resources of the routing forwarding device, The attribute information of each of the one or more resources; the resource change information of the routing and forwarding device is reported to the control terminal according to the managed resource information, where the resource change information is used by the control terminal to update the location The resource information of the routing and forwarding device.
- the reporting the resource change information of the routing and forwarding device to the control terminal according to the managed resource information includes: receiving the resource change information reported by the service module where the one or more resources are located; Resource The change information is reported to the control terminal.
- the reporting the received resource change information to the control terminal includes: allocating a resource change sequence, where the resource change sequence is used to describe the resource change information; and the allocated resource change sequence is reported Give the control terminal.
- reporting the received resource change information to the control terminal includes: sending the received resource change information to the control terminal in batches.
- the reporting the received resource change information to the control terminal includes: starting a resource reporting timer at a first moment of receiving the resource change information; and after reaching a cycle time of the resource reporting timer The resource change information received in the period of the resource reporting timer is reported to the control terminal.
- the method further includes: receiving a resource deletion notification reported by the service module where the one or more resources are located; and sending, by the resource deletion notification, information about the resource to be deleted The control terminal, wherein the information of the resource to be deleted is used by the control terminal to update resource information of the route forwarding device.
- the sending, by the resource deletion notification, the information of the resource to be deleted to the control terminal includes: marking, according to the resource deletion notification, the resource to be deleted, and starting a resource reporting timer; After the period of the resource reporting timer is expired, the information about the to-be-deleted resource is encapsulated according to a predetermined format; and the information of the encapsulated resource to be deleted is sent to the control terminal.
- the method further includes: enabling the resource aging timer, where the time of the resource aging timer is greater than the period of the resource reporting timer; and the encapsulated resource to be deleted is After the information is sent to the control terminal, the method further includes deleting the marked resource to be deleted after the time of the resource aging timer is reached.
- the sending, by the resource deletion notification, the information of the resource to be deleted to the control terminal includes: updating the resource change sequence according to the resource deletion notification, where the updated resource change sequence is used to describe the to-be-supplied The information of the deleted resource; the updated resource change sequence is encapsulated according to a predetermined format; and the encapsulated updated resource change sequence is sent to the control terminal.
- a resource processing apparatus including: a management module, configured to manage resource information of a routing and forwarding device, wherein the resource information includes at least one or more of the routing and forwarding device An identifier of the resource, the attribute information of each of the one or more resources; the reporting module is configured to report the resource change information of the routing forwarding device to the control terminal according to the managed resource information, where The resource change information is used by the control terminal to update resource information of the route forwarding device.
- the reporting module includes: a receiving unit, configured to receive the resource change information reported by the service module where the one or more resources are located; and the reporting unit is configured to report the received resource change information to The control terminal.
- the reporting unit includes: an allocation subunit, configured to allocate a resource change sequence, where the resource change sequence is used to describe the resource change information; and the first reporting subunit is configured to be allocated The resource change sequence is reported to the control terminal.
- the reporting unit includes: a sending subunit, configured to send the received resource change information to the control terminal in batches.
- the reporting unit includes: activating a sub-unit, configured to start a resource reporting timer at a first moment of receiving the resource change information; and the second reporting sub-unit is configured to reach the resource reporting timer After the cycle time, the resource change information received in the period of the resource reporting timer is reported to the control terminal.
- the device further includes: a receiving module, configured to receive a resource deletion notification reported by the service module where the one or more resources are located; and a sending module configured to: according to the resource deletion notification, the resource to be deleted The information is sent to the control terminal, where the information of the resource to be deleted is used by the control terminal to update resource information of the route forwarding device.
- a receiving module configured to receive a resource deletion notification reported by the service module where the one or more resources are located
- a sending module configured to: according to the resource deletion notification, the resource to be deleted The information is sent to the control terminal, where the information of the resource to be deleted is used by the control terminal to update resource information of the route forwarding device.
- the sending module includes: a processing unit, configured to mark the to-be-deleted resource according to the resource deletion notification, and enable a resource reporting timer; the first encapsulating unit is configured to: when the resource reporting timing is reached After the cycle time of the device, the information about the to-be-deleted resource is encapsulated according to a predetermined format.
- the first sending unit is configured to send the information of the encapsulated resource to be deleted to the control terminal.
- the processing unit is further configured to: enable resource aging timing, where the time of the resource aging timer is greater than the period of the resource reporting timer; the device further includes: deleting the module, and setting After the time of the resource aging timer, the marked resource to be deleted is deleted.
- the sending module includes: an updating unit, configured to update the resource change sequence according to the resource deletion notification, where the updated resource change sequence is used to describe the information of the resource to be deleted; And configured to encapsulate the updated resource change sequence according to a predetermined format; and the second sending unit is configured to send the encapsulated updated resource change sequence to the control terminal.
- the resource information of the routing and forwarding device is used by the present invention, wherein the resource information includes at least: an identifier of one or more resources of the routing and forwarding device, and an attribute of each of the one or more resources.
- the resource change information of the routing and forwarding device is reported to the control terminal according to the resource information, wherein the resource change information is used by the control terminal to update resource information of the routing and forwarding device, and the related technology is solved.
- the communication between the routing and forwarding device and the control terminal is low, and the control terminal handles the problem of heavy resource change in the routing and forwarding device, thereby improving the communication efficiency between the routing and forwarding device and the control terminal, and reducing the control.
- the terminal handles the effect of the burden of resource changes in the routing and forwarding device.
- FIG. 1 is an architectural diagram of an I2RS system in accordance with an embodiment of the present invention
- FIG. 2 is a flowchart of a resource processing method according to an embodiment of the present invention.
- FIG. 3 is a structural block diagram of a resource processing apparatus according to an embodiment of the present invention.
- FIG. 4 is a structural block diagram of a reporting module 34 in a resource processing apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram 1 of a reporting unit 44 in a resource processing apparatus according to an embodiment of the present invention.
- FIG. 6 is a second structural block diagram of a reporting unit 44 in a resource processing apparatus according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram 3 of a reporting unit 44 in a resource processing apparatus according to an embodiment of the present invention.
- FIG. 8 is a block diagram 1 of a preferred structure of a resource processing apparatus according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram 1 of a transmitting module 84 in a resource processing apparatus according to an embodiment of the present invention.
- FIG. 10 is a second structural block diagram of a resource processing apparatus according to an embodiment of the present invention.
- FIG. 11 is a block diagram 2 of a structure of a transmitting module 84 in a resource processing apparatus according to an embodiment of the present invention
- FIG. 12 is a structural diagram of an I2RS system with an agent resource management mechanism added according to an embodiment of the present invention.
- FIG. 13 is a flowchart of resource management according to Embodiment 1 of the present invention.
- FIG. 14 is a flowchart of resource management according to Embodiment 2 of the present invention.
- FIG. 15 is a flowchart of resource management according to Embodiment 3 of the present invention.
- FIG. 2 is a flowchart of a resource processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
- Step S202 managing resource information of the routing and forwarding device, where the resource information includes at least: an identifier of one or more resources of the routing and forwarding device, and attribute information of each of the one or more resources;
- step S204 the resource change information of the routing and forwarding device is reported to the control terminal according to the managed resource information, where the resource change information is used to control the terminal to update the resource information of the routing and forwarding device.
- the resource management device may be used as an example.
- the resource management device may be used as an example.
- the location of the resource management device may be multiple, for example, it may be independent of route forwarding.
- the device and the device that controls the terminal can also be set in the route forwarding device.
- the communication efficiency between the routing and forwarding device and the control terminal existing in the related art is low, and the problem that the control terminal handles the resource change in the routing and forwarding device is heavy, thereby improving the relationship between the routing and forwarding device and the control terminal.
- Communication efficiency reduces the effect of controlling the terminal to handle the burden of resource changes in the routing and forwarding device.
- the resource change information of the routing and forwarding device is reported to the control terminal according to the managed resource information, including: receiving the resource change information reported by the service module where the one or more resources are located; and changing the received resource The information is reported to the control terminal. That is, when the resource of the routing and forwarding device is changed, the resource management device may first obtain the resource change information of the routing and forwarding device, and then the resource management device may report the obtained resource change information to the control terminal, so that the control terminal according to the resource Change information for resource synchronization.
- the reporting of the received resource change information to the control terminal includes: assigning a resource change sequence, wherein the resource change sequence is used to describe the resource change information; and the allocated resource change sequence is reported to the control terminal. That is, the resource change sequence is used to describe the resource change information, and when the resource change sequence is transmitted, the occupied resources are few, so that the resource change information of the route forwarding device can be notified to the control terminal in a timely manner.
- reporting the received resource change information to the control terminal may include: transmitting the received resource change information to the control terminal in batches.
- the transmission may be performed by means of batch transmission.
- the size of the resource change information sent each time may be the same, or may be different, and the size of the resource change sent each time is freely set. .
- the reporting the received resource change information to the control terminal includes: starting the resource reporting timer at the first moment of receiving the resource change information; and after reaching the cycle time of the resource reporting timer, The resource change information received in the period of the resource reporting timer is reported to the control terminal. That is to say, when the resource management device just feels that the resource mode in the routing and forwarding device changes, the timer can be started, and all the resource change information acquired in the cycle time of the timer is waited until the timer expires. Reported to the control terminal. In the case of reporting all the control terminals, the above-mentioned batch reporting may be used, or the above-mentioned resource change sequence may be used for reporting. Of course, other methods can also be used for reporting, which are not listed here.
- the method further includes: receiving a resource deletion notification reported by the service module where the one or more resources are located; and deleting the notification to be deleted according to the resource deletion notification
- the information is sent to the control terminal, where the information about the resource to be deleted is used to control the terminal to update the resource information of the routing and forwarding device.
- the sending, by the resource deletion notification, the information of the resource to be deleted to the control terminal includes: marking the resource to be deleted according to the resource deletion notification, and enabling the resource reporting timer; After the cycle time of the timer, the information of the resource to be deleted is encapsulated according to a predetermined format; and the information of the encapsulated resource to be deleted is sent to the control terminal.
- the information about the to-be-deleted resource is encapsulated into a NETCONF notification message, and then reported to the control terminal.
- the information of the resource to be deleted can also be encapsulated into other forms.
- the method when the resource reporting timer is enabled, the method further includes: enabling the resource aging timer, wherein the aging time of the resource is greater than the period of the resource reporting timer; and the encapsulated to be deleted After the information of the resource is sent to the control terminal, the method further includes: deleting the marked resource to be deleted after the time of the resource aging timer is reached.
- the sending, by the resource deletion notification, the information of the resource to be deleted to the control terminal includes: updating the resource change sequence according to the resource deletion notification, where the updated resource change sequence is used to describe the to-be-deleted The information of the resource; the updated resource change sequence is encapsulated according to a predetermined format; and the encapsulated updated resource change sequence is sent to the control terminal.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- a resource processing device is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 3 is a structural block diagram of a resource processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a management module 32 and a reporting module 34. The apparatus will be described below.
- the management module 32 is configured to manage the resource information of the routing and forwarding device, where the resource information includes at least: an identifier of one or more resources of the routing and forwarding device, and attribute information of each of the one or more resources;
- the module 34 is connected to the management module 32, and is configured to report the resource change information of the routing and forwarding device to the control terminal according to the managed resource information, where the resource change information is used to control the terminal to update the resource information of the routing and forwarding device.
- FIG. 4 is a structural block diagram of a reporting module 34 in a resource processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the reporting module 34 includes a receiving unit 42 and a reporting unit 44. The reporting module 34 is described below.
- the receiving unit 42 is configured to receive the resource change information reported by the service module where the one or more resources are located.
- the reporting unit 44 is connected to the receiving unit 42 and configured to report the received resource change information to the control terminal.
- FIG. 5 is a block diagram showing the structure of the reporting unit 44 in the resource processing apparatus according to the embodiment of the present invention. As shown in FIG. 5, the reporting unit 44 includes an allocation subunit 52 and a first reporting subunit 54, and the reporting unit is below. 44 for explanation.
- the allocation sub-unit 52 is configured to allocate a resource change sequence, wherein the resource change sequence is used to describe resource change information; the first report sub-unit 54 is connected to the distribution sub-unit 52, and is configured to report the allocated resource change sequence to Control terminal.
- FIG. 6 is a block diagram showing the structure of the reporting unit 44 in the resource processing apparatus according to the embodiment of the present invention. As shown in FIG. 6, the reporting unit 44 includes a transmitting subunit 62, and the reporting unit 44 is described below.
- the transmitting subunit 62 is configured to send the received resource change information to the control terminal in batches.
- FIG. 7 is a structural block diagram 3 of a reporting unit 44 in a resource processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the reporting unit 44 includes activating subunit 72 and a second reporting subunit 74, and the reporting unit is below. 44 for explanation.
- the activation sub-unit 72 is configured to start the resource reporting timer at the first time when the resource change information is received.
- the second reporting sub-unit 74 is connected to the activation sub-unit 72, and is set to be after the cycle time of the resource reporting timer is reached. The resource change information received in the period of the resource reporting timer is reported to the control terminal.
- FIG. 8 is a block diagram of a preferred structure of a resource processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes a receiving module 82 and a transmitting module 84, in addition to all the modules shown in FIG. The device is described.
- the receiving module 82 is connected to the management module 32, and is configured to receive a resource deletion notification reported by the service module where the one or more resources are located.
- the sending module 84 is connected to the receiving module 82, and is configured to be deleted according to the resource deletion notification.
- the information of the resource is sent to the control terminal, where the information of the resource to be deleted is used to control the terminal to update the resource information of the routing and forwarding device.
- FIG. 9 is a structural block diagram of a transmitting module 84 in a resource processing apparatus according to an embodiment of the present invention.
- the transmitting module 84 includes a processing unit 92, a first encapsulating unit 94, and a first transmitting unit 96.
- the transmitting module 84 is described as follows:
- the processing unit 92 is configured to mark the resource to be deleted according to the resource deletion notification, and enable the resource reporting timer.
- the first encapsulating unit 94 is connected to the processing unit 92, and is configured to: after the cycle time of the resource reporting timer is reached, The information about the resource to be deleted is encapsulated in a predetermined format.
- the first sending unit 96 is connected to the first encapsulating unit 94, and is configured to send the information of the encapsulated resource to be deleted to the control terminal.
- the processing unit 92 is further configured to: enable resource aging timing, where the time of the resource aging timer is greater than the period of the resource reporting timer;
- FIG. 10 is a block diagram of a preferred structure of the resource processing apparatus according to the embodiment of the present invention.
- the device includes a deletion module 102 in addition to all the modules shown in FIG. 9, and the device is described below:
- the deleting module 102 is connected to the sending module 84, and is configured to delete the marked resource to be deleted after the time of the resource aging timer is reached.
- FIG. 11 is a block diagram 2 of a structure of a transmitting module 84 in a resource processing apparatus according to an embodiment of the present invention.
- the transmitting module 84 includes an updating unit 112, a second encapsulating unit 114, and a second sending unit 116.
- the transmitting module 84 is described as follows:
- the updating unit 112 is configured to update the resource change sequence according to the resource deletion notification, wherein the updated resource change sequence is used to describe the information of the resource to be deleted; the second encapsulating unit 114 is connected to the update unit 112, and is set to be The updated resource change sequence is encapsulated in a predetermined format; the second sending unit 116 is connected to the second encapsulating unit 114, and is configured to send the encapsulated updated resource change sequence to the control terminal.
- the concept of the I2RS Agent resource management module is proposed, and the information model of the resource management and the generation/update rule of the resource change sequence Revision are given.
- the I2RS agent resource management module uniformly manages the routing/forwarding device resources and directly performs resource change communication with the I2RS control terminal, thereby improving communication efficiency between the I2RS agent and the I2RS control terminal, and reducing the processing load of the I2RS control terminal.
- the generation/update rules of the I2RS Agent resource change sequence Revision are as follows:
- the resource change sequence Revision is defined as a 64-bit integer
- the resource management module of the agent and the routing/forwarding device service complete the initial synchronization of resources, and initialize the resource change sequence Revision to 0;
- the agent resource management module After receiving the notification of the change of the service resource of the routing/forwarding device, the agent resource management module starts the resource reporting timer, and associates and updates the storage change resource.
- the agent resource management module associates and updates the storage change resource after receiving the routing/transfer device service resource change notification.
- the resource reporting timer expires, and the resource change sequence is incremented (revision++), and the changed resource is reported to the control terminal according to the resource management model format, and the timer is reset;
- the I2RS agent and the control terminal are disconnected, but the routing/forwarding device is not restarted, and the resource change sequence and the resource reporting timer are not reset.
- the model of I2RS Agent resource management is defined as follows:
- a resource management mechanism and an implementation method of an I2RS agent are provided, and the method includes the following steps:
- Step 1 The I2RS control terminal (the same control terminal as above) establishes an I2RS connection with the routing/forwarding device (same with the above-mentioned routing and forwarding device);
- Step 2 After the I2RS connection between the I2RS control terminal and the routing/forwarding device is established, the resource management module (same resource management module) of the I2RS agent synchronizes with each service resource of the routing/forwarding device;
- Step 3 The resources of the routing/forwarding device are changed and reported to the I2RS Agent resource management module.
- the manner in which the routing/forwarding device resource change generating module reports the resource change notification (same as the above-mentioned resource change information) to the I2RS agent resource management module may adopt different manners, such as asynchronous messages, according to the routing/forwarding device requirements.
- Step 4 The I2RS Agent resource management module updates and stores the perceived change resources
- the I2RS Agent resource management module senses the resource change from the first time (that is, the resource management module receives the resource).
- the resource reporting timer is enabled at the first moment of the change information.
- Step 5 The I2RS Agent resource management module notifies the I2RS control terminal of the perceived change resource
- the I2RS agent resource management module triggers sending a change resource notification to the I2RS control terminal and resets the resource reporting timer when the enabled resource reporting timer expires;
- the I2RS agent resource management module may send all the changed resource information in the timing period to the I2RS control terminal at one time;
- the I2RS agent resource management module uniformly allocates a change sequence revision for the resources changed in the period, and the change sequence is uniformly reported to the I2RS control terminal;
- the I2RS Agent resource management module sends too many changed resource contents to the I2RS control terminal at one time, it can also be sent in batches.
- Step 6 The I2RS control terminal performs update storage management on the received change resources.
- FIG. 12 is a schematic diagram of an I2RS system architecture in which an agent resource management mechanism is added according to an embodiment of the present invention.
- the methods in the following embodiments may be applied to the architecture diagram shown in FIG. 12, and the following describes the different usage scenarios of the present invention. The following three embodiments.
- the external network control terminal (the same as the above-mentioned control terminal) establishes a connection with the routing/forwarding system device (Agent), taking the NETCONF-based I2RS connection as an example. After the connection is established and the capability exchange is completed, the routing/forwarding device side has A new tunnel interface resource is added, and the I2RS agent reports the changed resource to the I2RS control terminal.
- FIG. 13 is a flowchart of resource management according to the first embodiment of the present invention. As shown in FIG. 13, the process includes the following steps:
- Step S1302 After the I2RS connection is established between the I2RS agent and the control terminal, the I2RS agent resource management module performs resource synchronization with each service module, temporarily has no vxlan tunnel interface resource, and completes initialization of the resource change sequence revision;
- Step S1304 A new tunnel interface vxlan1 resource is added to the routing/forwarding device, and the service module reports the newly added vxlan1 tunnel interface resource to the I2RS agent resource management module.
- the service module of the routing/forwarding device does not pay attention to the resource reporting timer, and reports the resource to the I2RS Agent resource management module as soon as the resource is changed.
- Step S1306 The I2RS agent resource management module receives the service resource change notification, maps and stores the changed resource information according to the resource id, and starts the resource report timer.
- the resource reporting timer needs to be started only when the I2RS agent resource management module receives the service resource change for the first time.
- the I2RS agent resource management module needs to mark the changed resource that is received but not reported to the I2RS control terminal, and is used to identify the resource as a change resource;
- Step S1308 The resource reporting timer expires, and the I2RS agent resource management module updates the resource change sequence revision, and the changed resource is encapsulated into a NETCONF notification message according to the resource module model to be reported to the I2RS control terminal.
- the resource change flag of the reported resource needs to be updated and marked as reported.
- the information about the newly added vxlan tunnel interface reported by the I2RS agent resource management module to the control terminal can be as follows:
- Step S1310 The I2RS network control terminal receives the I2RS Agent resource change notification, and the control terminal updates the local resource information.
- the external network control terminal establishes a connection with the routing/forwarding system (Agent).
- the NETCONF-based I2RS connection is used as an example.
- the tunnel interface resource is changed on the routing/forwarding device side.
- the agent reports the change resource to the I2RS control terminal.
- FIG. 14 is a flowchart of resource management according to the second embodiment of the present invention. As shown in FIG. 14, the process includes the following steps:
- Step S1402 After the I2RS connection is established between the I2RS agent and the control terminal, the I2RS agent resource management module performs resource synchronization with each service module.
- the vxlan tunnel interface is used as an example.
- the synchronized resources include: interface resource id, interface name, maximum rate, and management status. , operation status and other information, and complete the initialization of the resource change sequence revision;
- Step S1404 The routing/relay device side has a new tunnel interface vxlan1 and vxlan2 resources, and the service module reports the newly added vxlan2 and vxlan3 tunnel interface resources to the I2RS Agent resource management module.
- the service module of the routing/forwarding device may not report the resource reporting timer, and the resource management module is immediately reported to the I2RS agent resource management module.
- Step S1406 The I2RS agent resource management module receives the service resource change notification, maps and stores the changed resource information according to the resource id, and starts the resource report timer.
- the resource reporting timer needs to be started only when the I2RS agent resource management module receives the service resource change for the first time.
- the I2RS agent resource management module needs to mark the changed resource that is received but not reported to the I2RS control terminal, and is used to identify the resource as a change resource;
- Step S1408 The resource reporting timer time has not expired, and the oper-state of the vxlan2 tunnel interface is changed from down to up, and the service module reports the vxlan2 tunnel interface resource to the I2RS agent resource management module.
- Step S1410 The I2RS agent resource management module receives the service resource change notification, and updates and stores the changed resource information according to the resource id.
- Step S1412 The resource reporting timer expires, and the I2RS agent resource management module updates the resource change sequence revision, and the changed resource is encapsulated into a NETCONF notification message according to the resource module model to be reported to the I2RS control terminal.
- the resource change flag is updated and the report is reported as being reported.
- the vxlan tunnel interface information reported by the I2RS agent resource management module to the control terminal can be as follows:
- Step S1414 The I2RS network control terminal receives the I2RS Agent resource change notification, and the control terminal updates the local resource information.
- FIG. 15 is a flowchart of resource management according to Embodiment 3 of the present invention, such as As shown in Figure 15, the process includes the following steps:
- Step S1502 After the I2RS connection is established between the I2RS agent and the control terminal, the I2RS agent resource management module performs resource synchronization with each service module.
- the vxlan tunnel interface is used as an example.
- the synchronized resources include: interface resource id, interface name, maximum rate, and management status. , operation status and other information, and complete the initialization of the resource change sequence revision;
- Step S1504 The tunnel interface vxlan3 resource is deleted on the routing/forwarding device side, and the service module deletes the vxlan3 tunnel interface resource to the I2RS agent resource management module.
- the service module of the routing/forwarding device does not pay attention to the resource reporting timer, and reports the resource to the I2RS Agent resource management module as soon as the resource is changed.
- Step S1506 The I2RS agent resource management module receives the vxlan tunnel interface resource deletion notification, and maps the changed resource information according to the resource id. At this time, the I2RS agent resource management module does not delete the corresponding resource, but marks the resource as Delete the resource, enable the resource aging timer, and start the resource reporting timer.
- the aging time of the resource is greater than the time for reporting the resource.
- the resource reporting timer needs to be started only when the I2RS agent resource management module receives the service resource change for the first time.
- Step S1508 The resource reporting timer expires, the I2RS agent resource management module updates the resource change sequence revision, and the changed resource is encapsulated into a NETCONF notification message according to the resource module model to be reported to the I2RS control terminal.
- the resource change flag of the reported resource needs to be updated and marked as reported.
- the information of the deleted vxlan tunnel interface reported by the I2RS agent resource management module to the control terminal is as follows:
- Step S1510 The aging time of the vxlan3 tunnel interface resource to be deleted is reached, and the I2RS agent resource management module actually deletes the resource;
- Step S1512 The I2RS network control terminal receives the I2RS Agent resource deletion notification, and the control terminal updates the local resource information.
- connection between the SDN network control terminal and the routing/forwarding system device is not limited to NETCONF, and may be RESTCONF or other connection mode.
- the present invention is not affected by the connection manner between the SDN network control terminal and the routing/forwarding system device.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- Embodiments of the present invention also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the resource information of the routing and forwarding device is managed, where the resource information includes at least: an identifier of one or more resources of the routing and forwarding device, and attribute information of each of the one or more resources;
- the resource change notification of the routing and forwarding device is reported to the control terminal according to the managed resource information, where the resource change notification is used to control the terminal to update the resource information of the routing and forwarding device.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- the resource management mechanism and implementation method of the I2RS agent provided by the embodiment of the present invention can implement unified management of the service resources by the I2RS agent, thereby improving communication efficiency between the I2RS agent and the control terminal, and reducing the processing load of the I2RS control terminal.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the resource processing method and apparatus provided by the embodiments of the present invention have the following beneficial effects: the communication efficiency between the routing forwarding device and the control terminal existing in the related art is low, and the control terminal processes the routing forwarding device.
- the problem of heavy burden of resource change further improves the communication efficiency between the routing and forwarding device and the control terminal, and reduces the effect of controlling the terminal to handle the resource change in the routing and forwarding device.
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
La présente invention concerne un procédé et un dispositif de traitement de ressources. Le procédé de traitement de ressources comprend les étapes consistant à : gérer les informations de ressources d'un dispositif de transfert de routage, les informations de ressource comprenant au moins : les identifiants d'une ou de plusieurs ressources du dispositif de transfert de routage et les informations d'attribut de chaque ressource de la ou des ressources ; signaler, selon les informations de ressources gérées, des informations de changement de ressources du dispositif de transfert de routage à un terminal de commande, les informations de changement de ressources étant utilisées par le terminal de commande pour mettre à jour les informations de ressources du dispositif de transfert de routage. La présente invention résout le problème en l'état de la technique d'une faible efficacité de communication entre les dispositifs de transfert de routage et les terminaux de commande en l'état de la technique et d'une forte charge sur les terminaux de commande lors du traitement des changements de ressources des dispositifs de transfert de routage, ce qui permet d'améliorer l'efficacité de communication entre dispositifs de transfert de routage et terminaux de commande et d'abaisser la charge sur les terminaux de commande dans le traitement des changements de ressources des dispositifs de transfert de routage.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510408469.3 | 2015-07-10 | ||
| CN201510408469.3A CN106341353B (zh) | 2015-07-10 | 2015-07-10 | 资源处理方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016177134A1 true WO2016177134A1 (fr) | 2016-11-10 |
Family
ID=57218166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/076652 Ceased WO2016177134A1 (fr) | 2015-07-10 | 2016-03-17 | Procédé et dispositif de traitement de ressources |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106341353B (fr) |
| WO (1) | WO2016177134A1 (fr) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107508765B (zh) * | 2017-08-15 | 2020-02-21 | 华为技术有限公司 | 一种消息处理方法及设备 |
| CN110365719B (zh) * | 2018-03-26 | 2021-10-01 | 华为技术有限公司 | 一种数据处理的方法以及相关设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101150789A (zh) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | 一种基站资源管理的方法 |
| CN102685811A (zh) * | 2011-03-14 | 2012-09-19 | 中兴通讯股份有限公司 | 一种网络共享场景下小区资源状态信息的传递方法和系统 |
| CN102904762A (zh) * | 2012-11-12 | 2013-01-30 | 山东中创软件工程股份有限公司 | 资源节点的监控方法及装置 |
| WO2013176466A1 (fr) * | 2012-05-21 | 2013-11-28 | 엘지전자 주식회사 | Procédé permettant de partager des informations de ressource sans fil dans un système de communication sans fil multicellulaire et appareil correspondant |
-
2015
- 2015-07-10 CN CN201510408469.3A patent/CN106341353B/zh active Active
-
2016
- 2016-03-17 WO PCT/CN2016/076652 patent/WO2016177134A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101150789A (zh) * | 2006-09-21 | 2008-03-26 | 中兴通讯股份有限公司 | 一种基站资源管理的方法 |
| CN102685811A (zh) * | 2011-03-14 | 2012-09-19 | 中兴通讯股份有限公司 | 一种网络共享场景下小区资源状态信息的传递方法和系统 |
| WO2013176466A1 (fr) * | 2012-05-21 | 2013-11-28 | 엘지전자 주식회사 | Procédé permettant de partager des informations de ressource sans fil dans un système de communication sans fil multicellulaire et appareil correspondant |
| CN102904762A (zh) * | 2012-11-12 | 2013-01-30 | 山东中创软件工程股份有限公司 | 资源节点的监控方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106341353A (zh) | 2017-01-18 |
| CN106341353B (zh) | 2020-02-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3609161B1 (fr) | Procédé et appareil de création de tranche de réseau, et système de communication | |
| CN111224821B (zh) | 安全服务部署系统、方法及装置 | |
| CN105323136B (zh) | 信息的处理方法及装置 | |
| CN109600246B (zh) | 网络切片管理方法及其装置 | |
| CN106936857B (zh) | 一种混合云的连接管理方法、sdn控制器及混合云系统 | |
| EP3133794B1 (fr) | Système réseau de virtualisation de fonction réseau | |
| CN118354371A (zh) | 一种基于意图的网络配置方法、装置及系统 | |
| EP3200393A1 (fr) | Procédé et dispositif de gestion de fonctions de réseau virtuel | |
| WO2017113231A1 (fr) | Procédé, dispositif et système de transmission de paquet | |
| WO2018134684A1 (fr) | Procédé d'attribution de ressources et orchestrateur pour le découpage en tranches de réseau dans un réseau d'accès radio | |
| CN107005586B (zh) | 一种管理虚拟网络功能的方法和装置 | |
| CN106031116A (zh) | 一种ns与vnf的关联方法、装置及系统 | |
| CN106953848B (zh) | 一种基于ForCES的软件定义网络实现方法 | |
| EP4142242A1 (fr) | Procédé, dispositif, et système de déploiement d'une tranche de réseau | |
| JP7611817B2 (ja) | ネットワーク機能に必要なリソースの配備方法、装置、記憶媒体および電子装置 | |
| CN117499995A (zh) | 基站算力编排方法、装置、电子设备及存储介质 | |
| WO2016173194A1 (fr) | Procédé, dispositif et système de mise à jour pour des informations concernant des ressources | |
| WO2020191684A1 (fr) | Procédé et dispositif destinés à gérer des priorités de règles de qos, et support d'informations | |
| EP3197207A1 (fr) | Procédé de gestion de ressources applicatives et d'un noeud enregistré dans la m2m | |
| CN102833158B (zh) | 网络数据发送方法和装置、网络数据系统 | |
| WO2016177134A1 (fr) | Procédé et dispositif de traitement de ressources | |
| WO2024016803A1 (fr) | Procédé et appareil d'appel de puissance de calcul de station de base reposant sur l'apprentissage fédéré, dispositif et support | |
| WO2017220021A1 (fr) | Procédé et appareil de traitement de messages courts | |
| WO2020036098A1 (fr) | Dispositif de communication et procédé de communication | |
| CN114675960B (zh) | 计算资源调配方法、装置及非易失性存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16789128 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16789128 Country of ref document: EP Kind code of ref document: A1 |