WO2016177135A1 - Resource management method, device, and control terminal - Google Patents

Resource management method, device, and control terminal Download PDF

Info

Publication number
WO2016177135A1
WO2016177135A1 PCT/CN2016/076653 CN2016076653W WO2016177135A1 WO 2016177135 A1 WO2016177135 A1 WO 2016177135A1 CN 2016076653 W CN2016076653 W CN 2016076653W WO 2016177135 A1 WO2016177135 A1 WO 2016177135A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing
forwarding device
resource
information
resource information
Prior art date
Application number
PCT/CN2016/076653
Other languages
French (fr)
Chinese (zh)
Inventor
焦琳
冯冲
戴娴娴
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016177135A1 publication Critical patent/WO2016177135A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present invention relates to the field of communications, and in particular to a resource management method, apparatus, and control terminal.
  • 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.
  • 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 system does not provide a clear component for resource management.
  • the device resource information cannot be immediately known; when the control terminal initiates the query actively, The device can only query the resource information based on the service, and lacks the unified management and control of the resource.
  • the device resource changes the device only reports the event notification based on the service to the external control terminal.
  • the lack of a resource negotiation mechanism between the control terminal and the device when the device resources change, the consistency of the resource data of the control terminal and the device cannot be guaranteed. Therefore, it can be seen that there is a problem in the related art that the control terminal cannot uniformly manage resources in the device.
  • the present invention provides a resource management method, device, and control terminal, so as to solve at least the problem that the control terminal cannot uniformly manage resources in the device in the related art.
  • a resource management method including: initiating a control connection to a route forwarding device; after initiating the control connection, acquiring at least an identifier of the route forwarding device and the route forwarding device Resource information, where the resource information includes: an identifier of one or more resources of the routing forwarding device, attribute information of each of the one or more resources; at least according to the identifier of the routing forwarding device Managing resource information of the routing forwarding device.
  • obtaining at least one of the identifier of the routing and forwarding device and the resource information of the routing and forwarding device where the at least one of the following: the capability of the routing and forwarding device is obtained, the identifier of the routing and forwarding device is obtained, and the The resource information of the routing and forwarding device; when the capability is exchanged with the routing and forwarding device, the identifier of the routing forwarding device is obtained; and the user name of the controlling terminal is used according to the identifier of the routing forwarding device to establish a communication connection with the routing forwarding device.
  • the query request for querying the resource information of the routing and forwarding device is initiated to the routing and forwarding device; and the resource information returned by the routing and forwarding device according to the query request is received.
  • the method further includes: acquiring a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes;
  • the management of the routing and forwarding device resource information includes: updating the resource information of the routing forwarding device according to the resource change sequence.
  • updating the resource information of the routing forwarding device according to the resource change sequence includes: comparing the resource change sequence with a locally stored resource change sequence that is received last time; when the comparison result is the When the resource change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated; when the comparison result is the resource change sequence and the locally saved last received When the obtained resource change sequence is inconsistent, the resource information of the route forwarding device is updated.
  • the updating the resource information of the routing and forwarding device includes: sending, when the resource change sequence is continuous, a query request for changing resources to the routing forwarding device; and storing, by the routing forwarding device, the return request according to the query request.
  • the updated resource information is used to check whether the deleted aging sequence stored in the local storage is consistent with the aging sequence corresponding to the resource change sequence, and the resource information of the routing forwarding device is updated according to the viewing result.
  • the updating the resource information of the routing and forwarding device according to the viewing result includes: sending, when the locally stored deletion aging sequence and the deletion aging sequence corresponding to the resource change sequence are inconsistent, all resources are sent to the routing forwarding device. Querying the request; updating the resource information that is sent by the routing and forwarding device according to the total resource query request; and when the locally stored deletion aging sequence and the deletion aging sequence corresponding to the resource change sequence are consistent, forwarding the route to the route
  • the device sends a latest change resource query request; and the update stores the resource information sent by the route forwarding device according to the latest change resource query request.
  • the method further includes: deleting the identifier of the obtained routing forwarding device after determining that the routing forwarding device restarts the broken link And the resource information of the routing and forwarding device; and/or, after determining that the routing forwarding device does not restart the link, re-initiating a control connection to the routing forwarding device; after re-initiating the control connection,
  • the routing and forwarding device sends a change resource query request; receives the resource change information returned by the route forwarding device according to the change resource query request; and updates the resource information of the route forwarding device according to the resource change information.
  • a resource management apparatus including: a first initiating module configured to initiate a control connection to a routing forwarding device; and a first obtaining module configured to, after initiating the controlling connection, at least Acquiring the identifier of the routing forwarding device and the resource information of the routing forwarding device, where the resource information includes: an identifier of one or more resources of the routing forwarding device, each of the one or more resources Attribute information of resources; management And a module, configured to manage resource information of the routing forwarding device according to at least an identifier of the routing forwarding device.
  • the first obtaining module includes at least one of the following: a first acquiring unit, configured to acquire an identifier of the routing forwarding device and the routing forwarding device when performing capability exchange with the routing forwarding device And the second obtaining unit is configured to acquire the identifier of the routing forwarding device when performing the capability exchange with the routing forwarding device, and the establishing unit is configured to use the user name of the controlling terminal according to the identifier of the routing forwarding device.
  • Establishing a communication connection with the routing and forwarding device the initiating unit is configured to initiate a query request for querying the resource information of the routing forwarding device to the routing forwarding device after the communication connection is established; and the receiving unit is configured to receive The routing forwarding device returns the resource information according to the query request.
  • the device further includes: a second acquiring module, configured to acquire a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes;
  • the management module includes: an updating unit, configured to update resource information of the routing forwarding device according to the resource change sequence.
  • the updating unit includes: a comparing subunit, configured to compare the resource change sequence with a locally saved last received resource change sequence; and processing the subunit, when the comparison result is the resource When the change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated; when the comparison result is the resource change sequence and the locally saved last received When the resource change sequence is inconsistent, the resource information of the route forwarding device is updated.
  • the processing subunit when the resource information of the routing and forwarding device is updated, includes: sending a secondary subunit, and configured to send a query for changing resources to the routing and forwarding device when the resource change sequence is continuous a storage sub-unit, configured to store the updated resource information returned by the routing forwarding device according to the query request; and to view the sub-subunit, configured to view the local storage deletion when the resource change sequence is discontinuous Whether the aging sequence and the deletion aging sequence corresponding to the resource change sequence are consistent; updating the secondary subunit, and setting the resource information of the routing forwarding device to be updated according to the viewing result.
  • the updating the sub-sub-unit includes: when the locally-erased deletion aging sequence is inconsistent with the deletion aging sequence corresponding to the resource change sequence, sending all resource query requests to the routing forwarding device; The resource information sent by the routing and forwarding device according to the all resource query request; when the locally stored deletion aging sequence is consistent with the deletion aging sequence corresponding to the resource change sequence, the latest change resource query is sent to the routing and forwarding device. And updating the resource information sent by the routing forwarding device according to the latest change resource query request.
  • the device further includes: a deleting module, configured to: after determining that the routing forwarding device restarts the broken link, deleting the obtained identifier of the routing forwarding device and resource information of the routing forwarding device; and/or
  • the second initiating module is configured to re-initiate a control connection to the routing forwarding device after determining that the routing forwarding device does not restart the disconnection;
  • the sending module is configured to: after re-initiating the control connection, to the The routing and forwarding device sends a change resource query request
  • the receiving module is configured to receive the resource change information returned by the routing and forwarding device according to the change resource query request
  • the update module is configured to: the routing and forwarding device according to the resource change information The resource information is updated.
  • control terminal comprising the apparatus of any of the above.
  • the control connection is initiated to the routing and forwarding device; after the initiating the control connection, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: An identifier of one or more resources of the routing and forwarding device, attribute information of each of the one or more resources, and management of resource information of the routing and forwarding device according to at least the identifier of the routing and forwarding device,
  • the control terminal can uniformly manage the resources in the device cannot be realized in the related art, and the effect of the unified management of the resources in the device by the control terminal is achieved.
  • 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 management method according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a resource management apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a first obtaining module 34 in a resource management apparatus according to an embodiment of the present invention
  • FIG. 5 is a block diagram 1 of a preferred structure of a resource management apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an update unit 54 in a resource management apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a processing subunit 64 in a resource management apparatus according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 2 of a preferred structure of a resource management apparatus according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a control terminal according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of successful capability exchange according to Embodiment 1 of the present invention.
  • FIG. 12 is a flowchart of acquiring an agent ID and resource information of a routing/forwarding system device by a control terminal according to Embodiment 2 of the present invention
  • FIG. 13 is a flowchart of acquiring resource information of a routing/forwarding system device by a control terminal according to Embodiment 3 of the present invention.
  • FIG. 2 is a flowchart of a resource management method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 initiating a control connection to the routing and forwarding device
  • step S204 after the foregoing control connection is initiated, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, and the one or more resources. Attribute information for each resource in ;
  • Step S206 The resource information of the routing and forwarding device is managed according to at least the identifier of the routing and forwarding device.
  • the executor of the foregoing process may be a control terminal (for example, an I2RS control terminal), and the attribute information may include detailed information of a resource.
  • the control terminal can obtain at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, and after obtaining the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the identifier of the device can be forwarded according to the obtained route.
  • Unified management of resource information of routing and forwarding devices Therefore, the problem that the control terminal can not uniformly manage the resources in the device cannot be realized in the related art, and the effect of the unified management of the resources in the device by the control terminal is achieved.
  • the method when obtaining at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the method may be configured to obtain a routing and forwarding device, for example, when the capability is exchanged with the routing and forwarding device.
  • the identity and routing information of the routing device The information of the routing and forwarding device can be directly obtained, and the information of the routing and forwarding device can be obtained, and the resource information of the routing and forwarding device can be obtained according to the identifier of the obtained routing forwarding device.
  • the identifier of the routing and forwarding device is obtained; the user name of the controlling terminal is used to establish a communication connection according to the identifier of the routing forwarding device; and the routing connection device is initiated after the communication connection is established.
  • the manner of obtaining the identifier and resource information of the routing and forwarding device is only two examples. The identifier and resource information of the routing and forwarding device can also be obtained by other methods. I will not list them here.
  • the method further includes: acquiring a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes; at least according to the route
  • the identifier of the forwarding device manages the resource information of the routing and forwarding device, and includes: updating the resource information of the routing and forwarding device according to the resource change sequence.
  • updating the resource information of the routing and forwarding device according to the resource change sequence includes: comparing the resource change sequence with the locally received resource change sequence received last time; when the comparison result is a resource change When the sequence is consistent with the last received resource change sequence stored locally, the resource information of the route forwarding device is not updated; when the comparison result is that the resource change sequence is inconsistent with the locally received last changed resource change sequence, the update is updated.
  • Resource information of the routing and forwarding device The resource information of the routing and forwarding device is updated according to the obtained resource change sequence, and the update manner may also be various. The following describes how to update according to the obtained resource change sequence:
  • updating the resource information of the routing forwarding device includes: sending a query request for changing resources to the routing forwarding device when the resource change sequence is continuous; storing the updated information returned by the routing forwarding device according to the query request If the resource change sequence is not continuous, check whether the deleted aging sequence and the aging sequence corresponding to the resource change sequence are consistent. The resource information of the route forwarding device is updated according to the viewing result.
  • the routing forwarding device when the resource information of the routing and forwarding device is updated according to the viewing result, the following scheme may be adopted: when the local aging deletion aging sequence and the resource aging sequence corresponding to the aging sequence are inconsistent, the routing forwarding device is used. Sending all resource query requests; updating the resource information sent by the storage routing device according to all resource query requests; and sending the latest change resource query request to the route forwarding device when the locally deleted deletion aging sequence and the resource aging sequence corresponding to the deletion aging sequence are consistent Update the resource information sent by the storage routing and forwarding device according to the latest change resource query request.
  • the interaction when the control terminal and the routing forwarding device perform interaction, the interaction may be performed on the basis that the control terminal and the routing forwarding device establish a communication connection. It should be noted that the communication connection may be broken, and the broken link is divided into a restart broken link and an unrestarted broken link. The following describes the operation performed on the control terminal and the routing and forwarding device after the broken link occurs. .
  • the method after obtaining the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the method further includes: deleting the identifier of the obtained routing forwarding device and routing forwarding after determining that the routing forwarding device restarts the broken link.
  • the resource information of the device and/or, after determining that the routing forwarding device does not restart the broken link, re-initiating the control connection to the routing forwarding device; after re-initiating the control connection, sending the change resource query request to the routing forwarding device; receiving the routing forwarding
  • the device changes the resource information returned by the resource query request according to the change resource query information, and updates the resource information of the route forwarding device according to the resource change information.
  • 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 management device is provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • 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 management apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first initiating module 32, a first obtaining module 34, and a management module 36. The apparatus will be described below.
  • the first initiating module 32 is configured to initiate a control connection to the routing and forwarding device.
  • the first obtaining module 34 is connected to the first initiating module 32, and is configured to acquire at least the identifier and route of the routing and forwarding device after initiating the control connection. Forwarding the resource information of the device, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, attribute information of each of the one or more resources; and a management module 36 connected to the first acquiring module 34, set to The resource information of the routing forwarding device is managed according to at least the identifier of the routing forwarding device.
  • the first obtaining module 34 includes a first acquiring unit 42, and/or the first acquiring module.
  • 34 includes a second obtaining unit 44, an establishing unit 46, an initiating unit 48, and a receiving unit 410, which will be described below.
  • the first obtaining unit 42 is configured to acquire the identifier of the routing and forwarding device and the resource information of the routing and forwarding device when performing the capability exchange with the routing and forwarding device.
  • the second obtaining unit 44 is configured to perform the capability exchange with the routing and forwarding device. Obtaining an identifier of the routing and forwarding device; the establishing unit 46 is connected to the second obtaining unit 44, configured to establish a communication connection by using the user name of the controlling terminal and the routing forwarding device according to the identifier of the routing forwarding device; and the initiating unit 48 is connected to the foregoing establishment.
  • the unit 46 is configured to initiate a query request for querying the resource information of the routing and forwarding device to the routing and forwarding device after the communication connection is established.
  • the receiving unit 410 is connected to the initiating unit 48, and is configured to receive the routing forwarding device according to the query request. Resource information.
  • FIG. 5 is a block diagram of a preferred structure of a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a second acquisition module 52 in addition to all the modules shown in FIG.
  • the management module 36 includes an update unit 54, which is described below.
  • the second obtaining module 52 is connected to the first initiating module 32 and the management module 36, and is configured to acquire a resource change sequence of the routing and forwarding device, where the resource change sequence is used to indicate information that the resource of the routing and forwarding device changes;
  • the management module 36 includes an updating unit 54 configured to update the resource information of the routing and forwarding device according to the resource change sequence.
  • FIG. 6 is a structural block diagram of an update unit 54 in a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 6, the update unit 54 includes a comparison subunit 62 and a processing subunit 64. The update unit 54 is described below. .
  • the comparison sub-unit 62 is arranged to compare the resource change sequence with the locally stored last received resource change sequence; the processing sub-unit 64 is connected to the comparison sub-unit 62, and is set to when the comparison result is a resource change sequence and local When the saved last received resource change sequence is consistent, the resource information of the route forwarding device is not updated; when the comparison result is that the resource change sequence is inconsistent with the locally saved last changed resource change sequence, the route forwarding device is updated. Resource information.
  • FIG. 7 is a structural block diagram of a processing sub-unit 64 in a resource management apparatus according to an embodiment of the present invention.
  • the processing sub-unit 64 includes a transmitting sub-subunit 72 and a storing sub-sub-unit 74, and/or Processing sub-unit 64 includes a view sub-unit 76 and an update sub-unit 78, which are described below.
  • the sending sub-sub-unit 72 is configured to, when updating the resource information of the routing and forwarding device, send a query request for changing the resource to the routing and forwarding device when the resource change sequence is continuous; the storage sub-sub-unit 74 is connected to the sending sub-sub-unit 72 Set to store the updated resource information returned by the routing and forwarding device according to the query request; view the secondary sub-unit 76, and set to delete the aging of the local storage when the resource change sequence is not continuous when the resource information of the routing and forwarding device is updated.
  • the updating sub-sub-unit 78 is connected to the foregoing viewing sub-sub-unit 76, and is configured to update the resource information of the routing forwarding device according to the viewing result.
  • the updating the sub-sub-unit 78 includes: when the locally-deleted aging sequence and the aging sequence corresponding to the resource change sequence are inconsistent, sending all resource query requests to the route forwarding device; updating the storage route forwarding device according to all resource queries The resource information to be sent is sent; when the deletion aging sequence and the aging sequence corresponding to the resource change sequence are consistent, the latest change resource query request is sent to the route forwarding device; and the resource sent by the storage route forwarding device according to the latest change resource query request is updated. information.
  • FIG. 8 is a block diagram of a preferred structure of a resource management apparatus according to an embodiment of the present invention.
  • the apparatus includes a deletion module 82 in addition to all the modules shown in FIG. 3, and/or includes The second initiating module 84, the transmitting module 86, the receiving module 88, and the updating module 810 are described below.
  • the deleting module 82 is connected to the first obtaining module 34, and is configured to delete the identifier of the obtained routing forwarding device and the resource information of the routing forwarding device after determining that the routing forwarding device restarts the broken link; and/or, the second initiating module 84 Connected to the first obtaining module 34, configured to re-initiate a control connection to the routing and forwarding device after determining that the routing forwarding device has not restarted the broken link; the sending module 86 is connected to the second initiating module 84, and is set to be re-established.
  • the change resource query request is sent to the routing and forwarding device; the receiving module 88 is connected to the sending module 86, and configured to receive the resource change information returned by the routing and forwarding device according to the change resource query request; the update module 810, the connection The receiving module 88 is configured to update the resource information of the routing and forwarding device according to the resource change information.
  • control terminal 92 includes the resource management device 94 of any of the above.
  • the present invention will be described below by taking the above control terminal as an I2RS control terminal as an example.
  • a resource management and negotiation mechanism and method for an I2RS control terminal are provided, and an identifier of an identifier of an I2RS proxy agent (character type) is proposed, and is combined with a routing/forwarding system device (corresponding to the foregoing routing)
  • the forwarding device indicates the concept of the Resource ID (string type), so that the control terminal can quickly locate and directly manage the resources.
  • the resource change sequence Revision 64-bit integer
  • the deletion aging are also proposed. Sequence Aged ID concept (64-bit integer), and gives a resource consistency negotiation method between the control terminal and the routing/forwarding system device, so that the I2RS control terminal and the routing/forwarding system device can be efficiently maintained. Consistency of resources.
  • the I2RS control terminal provides a good guarantee for the overall and efficient control of the routing/forwarding system equipment.
  • the embodiment of the present invention provides a resource management and negotiation mechanism and method for an I2RS control terminal, including:
  • Step 1 The I2RS control terminal initiates a control connection to the routing/forwarding system device (Agent).
  • Step 2 The routing/relay system device (Agent) supports the resource capability, and sends the resource change sequence Revision and each resource identifier ResourceID as the resource capability (corresponding to the resource information described above) and the unique identifier of the agent to the I2RS control terminal. Complete local capacity exchange to establish a communication connection with the control terminal;
  • the agent can only send its unique identifier Agent ID to the control terminal during the communication connection establishment phase, without carrying the resource capability.
  • Step 3 The I2RS control terminal receives the capability information of the routing/forwarding system device (Agent), and completes the local energy. Force exchange, and the resource management component of the I2RS control terminal maps and stores the identification agent ID and resource information (resource ID and revision) of the routing/forwarding system device;
  • the I2RS control terminal when the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system device (Agent), the I2RS control terminal completes the local capability exchange, and the resource management component of the I2RS control terminal controls the routing/forwarding system device. Identify the Agent ID for storage and complete the establishment of the communication connection;
  • the I2RS control terminal initiates a resource information query request to the Agent, after the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system (Agent), and completes the communication connection establishment;
  • the routing/forwarding system device responds to the resource information query request of the I2RS control terminal, and collects
  • the resource information that satisfies the condition includes a resource identifier Resource ID, a current change sequence of the resource, and a detailed information of the resource (corresponding to the attribute information described above), and the foregoing information is sent to the control terminal;
  • the control terminal When the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system device (Agent), and completes the communication connection establishment, the control terminal receives the resource information that the Agent responds, and is routed/forwarded by the resource management component.
  • the identifier of the system device and the resource information are mapped and stored.
  • Step 4 The routing/relay system device (Agent) sets the local resource deletion aging time (hold time), and reports the changed resources to the I2RS control terminal in real time;
  • the routing/relay system device (Agent) locally adds resources and reports resource additions, and the reporting information includes but is not limited to: resource identifier Resource id, resource current change sequence Revision, resource detail information, etc., and the I2RS control terminal immediately responds to the resource addition.
  • the resource management component maps and stores the identification agent ID and resource information of the routing/forwarding system device;
  • the routing/relay system device can perform resource update and report resource update locally, and the report information includes but is not limited to: resource identifier Resource id, resource current change sequence Revision, resource change detailed information, etc., the I2RS control terminal Immediately responding to the resource update, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information;
  • the routing/forwarding device can perform resource deletion locally, and only the resource change sequence to be deleted is updated, and the resource aging sequence aged ID is set. After the resource reaches the aging hold time (hold time), the route is / Forwarding system device (Agent) to perform real deletion locally;
  • the routing/forwarding system (Agent) locally performs the resource deletion identification and simultaneously reports the resource deletion.
  • the reporting information includes but is not limited to: the resource identifier Resource ID, the resource current change sequence Revision, and the I2RS control terminal immediately responds to the resource deletion, and
  • the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information.
  • Step 5 The I2RS control terminal may send a query request to the routing/forwarding system device (Agent) periodically or as needed, and query the specific resource information of the routing/forwarding system device;
  • Agent the routing/forwarding system device
  • the I2RS control terminal can immediately initiate an inquiry request to the agent to query all resource information of the agent, and the resource management component maps and stores the identification agent ID and resource information of the routing/forwarding system device;
  • the I2RS control terminal receives the resource change notification sent by the agent, and the resource management component of the I2RS control terminal compares the corresponding resource change sequence, and if not, does not respond to the change; if the resource change sequence is continuous, the I2RS control terminal optionally Sending a query request for changing the resource to the agent, and the resource management component maps and stores the identifier of the routing/forwarding system device and the updated resource information;
  • the I2RS control terminal receives the resource change notification sent by the agent, and finds that the resource change sequence is not continuous, and checks whether the deleted aging sequence is consistent. If the aged ID is inconsistent, the deletion notification is lost, and the I2RS control terminal sends all resources to the agent. Querying the request, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information; if the aged ID is consistent, the deletion notification is not lost, and the I2RS control terminal sends the resource query to the agent. The request only queries the latest change information, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information.
  • Step 6 After the routing/relay system device (Agent) restarts the broken link, the resources of the routing/forwarding system device are not retained, and the resources of the corresponding agent acquired by the I2RS control terminal are also deleted. After the communication connection is re-established, the I2RS control is performed. The terminal re-establishes the chain with the Agent, repeats from the beginning of the step, and renegotiates all resources.
  • Agent routing/relay system device
  • Step 7 After the routing/relay system device (Agent) is not restarted, the resources of the routing/forwarding system device are still reserved, and the resources of the corresponding agent acquired by the I2RS control terminal are also retained. After the communication connection is re-established, the I2RS control is performed. The terminal and the agent re-establish the chain, and repeat from the first step. The I2RS control terminal only needs to send the query of the changed resource to the agent, and the fast consistency negotiation of the resource is performed.
  • the external network control terminal (Client) establishes a connection with the routing/forwarding system device (Agent), and takes the NETCONF-based I2RS connection as an example.
  • the routing/forwarding system device (Agent) sends a hello report to the control terminal (Client).
  • the information carried in the text includes the route identifier (Agent) ID, the current resource change sequence Revision, the connection session number Session ID, and the resource ID of the device.
  • FIG. 10 is a flowchart of successful capability exchange according to Embodiment 1 of the present invention, and the process includes the following steps:
  • step S1002 the network control terminal (Client) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
  • step S1004 the routing/forwarding system device (Agent) generates a session ID and a revision ID.
  • Step S1006 The routing/forwarding system device (Agent) sends a hello message to the network control terminal (Client).
  • the routing/forwarding system device (Agent) identifies the agent ID and the current resource change. Sequence Revision, connection session number Session ID, and resource ID of the device;
  • Step S1008 The route between the routing/forwarding system device (Agent) and the control terminal (Client) is successfully established, and the resource management module of the control terminal maps and stores the agent ID and the resource information.
  • the specific manner in which the resource management module of the control terminal maps and stores the Agent ID and the resource information may be designed and implemented by the control terminal according to its own needs.
  • FIG. 11 is a flowchart of a capability exchange failure according to the first embodiment of the present invention. As shown in FIG. 11, the process includes the following steps:
  • Step S1102 The network control terminal (Client) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
  • Step S1104 The routing/forwarding system device (Agent) generates a Session ID and a Revision ID.
  • step S1106 the routing/forwarding system device (Agent) fails to negotiate with the controlling terminal (Client), and sends a response packet with a connection establishment failure to the control terminal.
  • the external network control terminal establishes a connection with the routing/forwarding system device (Agent), and takes the NETCONF-based I2RS connection as an example.
  • the routing/forwarding system device sends a hello report to the control terminal (Client).
  • the information carried in the text includes only the routing and forwarding system device (Agent) identification agent ID and the connection session number.
  • the I2RS control terminal initiates a request to query the resource information of the agent device, including the resource change sequence and resources. details.
  • FIG. 12 is a flowchart of acquiring an agent ID and resource information of a routing/forwarding system device by a control terminal according to Embodiment 2 of the present invention, where the process includes the following steps:
  • step S1202 the network control terminal (Client) (the same control terminal as above) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
  • step S1204 the routing/forwarding system device (Agent) generates a session ID.
  • Step S1206 The routing/forwarding system device (Agent) sends a hello message to the network control terminal (Client), and in addition to the existing information specified by the NETCONF protocol, a routing/forwarding system device (Agent) identifier Agent ID is also included;
  • Step S1208 The routing/relay system device (Agent) and the control terminal (Client) are successfully established, and the resource management module of the control terminal maps and stores the Agent ID.
  • the specific manner in which the resource management module of the control terminal maps and stores the Agent ID may be designed and implemented by the control terminal according to its own needs.
  • Step S1210 The control terminal (Client) sends a resource query request to the routing/forwarding system device (Agent);
  • the resource information query request packet sent by the client can be as follows:
  • Step S1212 The routing/forwarding system (Agent) sends a resource response packet to the control terminal (Client), where the packet includes information including the current resource change sequence Revision, the resource identifier of the device, and the device resource. information;
  • the response message of the Agent can be as follows:
  • Step S1214 The resource management module of the control terminal maps and stores the Agent ID and the resource information.
  • the specific manner in which the resource management module of the control terminal maps and stores the Agent ID and the resource information may be designed and implemented by the control terminal according to its own needs.
  • FIG. 13 is a flowchart of acquiring resource information of a routing/forwarding system device by a control terminal according to Embodiment 3 of the present invention, where the process includes the following steps:
  • Step S1302 The routing/relay system device (Agent) resource is updated, and the resource change notification is sent to the control terminal (Client);
  • the routing/relay system device updates the resource change sequence revision, and the resource change notification message sent to the control terminal carries the latest revision and the detailed information of the resource.
  • Step S1304 The resource management module of the control terminal (Client) completes resource mapping and management, and keeps the local resource and the routing/forwarding system device (Agent) resources consistent.
  • Step S1306 optionally, the control terminal (Client) initiates a change resource detailed information query to the routing/forwarding system device (Agent);
  • the control terminal checks the resource update sequence revision, and if the revision is not continuous, initiates resource information query to the routing/forwarding system device (Agent);
  • the resource information query initiated by the control terminal may be a one-time query of all resource information on the routing/forwarding system (Agent), or may be multiple queries.
  • Step S1308 The routing/forwarding system device (Agent) sends a resource information message to the control terminal.
  • Step S1310 The control terminal receives the resource information that the routing/forwarding system device (Agent) responds, and controls the resource management module of the terminal to complete mapping and storage of related resources.
  • Agent routing/forwarding system device
  • 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 embodiment of 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:
  • At least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, where the one or more resources are included. Attribute information for each resource;
  • the resource information of the routing and forwarding device is managed according to at least the identifier of the routing forwarding device.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive and a read only memory (Read-Only).
  • Memory referred to as ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
  • the resource management mechanism and method for the I2RS control terminal provided in the embodiment of the present invention can implement the management terminal to manage the obtained network device resource information, and provide a resource consistency negotiation method between the control terminal and the network device.
  • the network control terminal implements an overall and efficient control function of the device resources.
  • 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 management method, device, and control terminal provided by the embodiments of the present invention have the following beneficial effects: the problem that the control terminal cannot uniformly manage the resources in the device cannot be realized, and the problem is achieved. The effect of the unified management of the resources in the device by the control terminal is realized.

Abstract

Provided are a resource management method, device, and control terminal. The resource management method comprises: initiating a control connection to a routing forwarding device; upon the initiation of the control connection, at least acquiring the identifier of the routing forwarding device and the resource information of the routing forwarding device, the resource information comprising: the identifiers of one or more resources of the routing forwarding devices, and the attribute information of each resource of the one or more resources; managing the resource information of the routing forwarding device at least according to the identifiers of the routing forwarding device. The present invention addresses the problem in the prior art of the lack of uniform management by control terminals for resources in devices, thereby enabling control terminals to uniformly manage the resources in devices.

Description

资源管理方法、装置及控制终端Resource management method, device and control terminal 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种资源管理方法、装置及控制终端。The present invention relates to the field of communications, and in particular to a resource management method, apparatus, and control terminal.
背景技术Background technique
互联网工程任务组(Internet Engineering Task Force,简称为IETF)提出了开放路由系统接口(Interface to the Routing System,简称为I2RS)的概念,希望通过在控制平面开放路由系统的接口来解决传统网络设备向交换数据网络(Switched Data Network,简称为SDN)有序演进的问题。The Internet Engineering Task Force (IETF) 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. An orderly evolution of the Switched Data Network (SDN).
图1是根据本发明实施例的I2RS系统的架构图,其核心思想是在目前传统网络设备的路由及转发系统基础上开放新的接口与外部控制终端通信,外部控制终端(Client)通过获知各个网络设备的资源、路由配置、流量统计等信息学习到全网拓扑结构图,进而动态地下发路由状态、策略等到各个设备上去。由此可以看出,I2RS延用了传统网络设备中正在使用的路由、转发等结构与功能,并在此基础上进行功能的扩展与丰富,为网络设备的可编程性奠定了基础,为用户创新提供有力保证。1 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. It can be seen that 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.
但是,与传统配置管理思想相同,I2RS架构体系尚未提供明确的实现资源管理的组件,对于I2RS系统的控制终端,在与设备建立通信后,不能立即获知设备资源信息;控制终端主动发起查询时,也仅能基于业务查询资源信息,缺乏途径对资源的统一管控;设备资源发生变化时,设备仅向外部控制终端上报基于业务的事件通知。同时,由于控制终端与设备之间缺乏资源协商机制,从而在设备资源发生变化时,无法保证控制终端的资源数据与设备的一致性。由此可知,在相关技术中存在着无法实现控制终端对设备中的资源进行统一管理的问题。However, the same as the traditional configuration management concept, the I2RS architecture system does not provide a clear component for resource management. For the control terminal of the I2RS system, after establishing communication with the device, the device resource information cannot be immediately known; when the control terminal initiates the query actively, The device can only query the resource information based on the service, and lacks the unified management and control of the resource. When the device resource changes, the device only reports the event notification based on the service to the external control terminal. At the same time, due to the lack of a resource negotiation mechanism between the control terminal and the device, when the device resources change, the consistency of the resource data of the control terminal and the device cannot be guaranteed. Therefore, it can be seen that there is a problem in the related art that the control terminal cannot uniformly manage resources in the device.
针对相关技术中存在的无法实现控制终端对设备中的资源进行统一管理的问题,目前尚未提出有效的解决方案。An effective solution has not been proposed for the problem that the control terminal cannot uniformly manage the resources in the device in the related art.
发明内容Summary of the invention
本发明提供了一种资源管理方法、装置及控制终端,以至少解决相关技术中存在的无法实现控制终端对设备中的资源进行统一管理的问题。The present invention provides a resource management method, device, and control terminal, so as to solve at least the problem that the control terminal cannot uniformly manage resources in the device in the related art.
根据本发明的一个方面,提供了一种资源管理方法,包括:发起对路由转发设备的控制连接;在发起所述控制连接之后,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息,其中,所述资源信息包括:所述路由转发设备的一个或多个资源的标识,所述一个或多个资源中的每个资源的属性信息;至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息。 According to an aspect of the present invention, a resource management method is provided, including: initiating a control connection to a route forwarding device; after initiating the control connection, acquiring at least an identifier of the route forwarding device and the route forwarding device Resource information, where the resource information includes: an identifier of one or more resources of the routing forwarding device, attribute information of each of the one or more resources; at least according to the identifier of the routing forwarding device Managing resource information of the routing forwarding device.
可选地,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息包括以下至少之一:与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识和所述路由转发设备的资源信息;与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识;根据所述路由转发设备的标识使用控制终端的用户名称和所述路由转发设备建立通讯连接;在通讯连接建立后向所述路由转发设备发起用于查询所述路由转发设备的所述资源信息的查询请求;接收所述路由转发设备根据所述查询请求返回的所述资源信息。Optionally, obtaining at least one of the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, where the at least one of the following: the capability of the routing and forwarding device is obtained, the identifier of the routing and forwarding device is obtained, and the The resource information of the routing and forwarding device; when the capability is exchanged with the routing and forwarding device, the identifier of the routing forwarding device is obtained; and the user name of the controlling terminal is used according to the identifier of the routing forwarding device to establish a communication connection with the routing forwarding device. After the communication connection is established, the query request for querying the resource information of the routing and forwarding device is initiated to the routing and forwarding device; and the resource information returned by the routing and forwarding device according to the query request is received.
可选地,在发起所述控制连接之后,还包括:获取所述路由转发设备的资源变更序列,其中,所述资源变更序列用于指示所述路由转发设备的资源发生变化的信息;至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息包括:根据所述资源变更序列对所述路由转发设备的资源信息进行更新。Optionally, after the initiating the control connection, the method further includes: acquiring a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes; The management of the routing and forwarding device resource information includes: updating the resource information of the routing forwarding device according to the resource change sequence.
可选地,根据所述资源变更序列对所述路由转发设备的资源信息进行更新包括:将所述资源变更序列与本地保存的上次接收到的资源变更序列进行对比;当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列一致时,不对所述路由转发设备的资源信息进行更新;当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列不一致时,更新所述路由转发设备的资源信息。Optionally, updating the resource information of the routing forwarding device according to the resource change sequence includes: comparing the resource change sequence with a locally stored resource change sequence that is received last time; when the comparison result is the When the resource change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated; when the comparison result is the resource change sequence and the locally saved last received When the obtained resource change sequence is inconsistent, the resource information of the route forwarding device is updated.
可选地,更新所述路由转发设备的资源信息包括:当所述资源变更序列连续时,向所述路由转发设备发送变更资源的查询请求;存储所述路由转发设备根据所述查询请求返回的更新后的资源信息;当所述资源变更序列不连续时,查看本地存储的删除老化序列和所述资源变更序列对应的删除老化序列是否一致;根据查看结果更新所述路由转发设备的资源信息。Optionally, the updating the resource information of the routing and forwarding device includes: sending, when the resource change sequence is continuous, a query request for changing resources to the routing forwarding device; and storing, by the routing forwarding device, the return request according to the query request The updated resource information is used to check whether the deleted aging sequence stored in the local storage is consistent with the aging sequence corresponding to the resource change sequence, and the resource information of the routing forwarding device is updated according to the viewing result.
可选地,根据查看结果更新所述路由转发设备的资源信息包括:当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列不一致时,向所述路由转发设备发送全部资源查询请求;更新存储所述路由转发设备根据所述全部资源查询请求发送的资源信息;当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列一致时,向所述路由转发设备发送最新变更资源查询请求;更新存储所述路由转发设备根据所述最新变更资源查询请求发送的资源信息。Optionally, the updating the resource information of the routing and forwarding device according to the viewing result includes: sending, when the locally stored deletion aging sequence and the deletion aging sequence corresponding to the resource change sequence are inconsistent, all resources are sent to the routing forwarding device. Querying the request; updating the resource information that is sent by the routing and forwarding device according to the total resource query request; and when the locally stored deletion aging sequence and the deletion aging sequence corresponding to the resource change sequence are consistent, forwarding the route to the route The device sends a latest change resource query request; and the update stores the resource information sent by the route forwarding device according to the latest change resource query request.
可选地,在至少获取所述路由转发设备的标识和所述路由转发设备的资源信息之后,还包括:当确定所述路由转发设备重启断链后,删除获取的所述路由转发设备的标识和所述路由转发设备的资源信息;和/或,当确定所述路由转发设备未重启断链后,重新发起对所述路由转发设备的控制连接;在重新发起所述控制连接之后,向所述路由转发设备发送变更资源查询请求;接收所述路由转发设备根据所述变更资源查询请求返回的资源变更信息;根据所述资源变更信息对所述路由转发设备的资源信息进行更新。Optionally, after the at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, the method further includes: deleting the identifier of the obtained routing forwarding device after determining that the routing forwarding device restarts the broken link And the resource information of the routing and forwarding device; and/or, after determining that the routing forwarding device does not restart the link, re-initiating a control connection to the routing forwarding device; after re-initiating the control connection, The routing and forwarding device sends a change resource query request; receives the resource change information returned by the route forwarding device according to the change resource query request; and updates the resource information of the route forwarding device according to the resource change information.
根据本发明的另一方面,提供了一种资源管理装置,包括:第一发起模块,设置为发起对路由转发设备的控制连接;第一获取模块,设置为在发起所述控制连接之后,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息,其中,所述资源信息包括:所述路由转发设备的一个或多个资源的标识,所述一个或多个资源中的每个资源的属性信息;管理 模块,设置为至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息。According to another aspect of the present invention, a resource management apparatus is provided, including: a first initiating module configured to initiate a control connection to a routing forwarding device; and a first obtaining module configured to, after initiating the controlling connection, at least Acquiring the identifier of the routing forwarding device and the resource information of the routing forwarding device, where the resource information includes: an identifier of one or more resources of the routing forwarding device, each of the one or more resources Attribute information of resources; management And a module, configured to manage resource information of the routing forwarding device according to at least an identifier of the routing forwarding device.
可选地,所述第一获取模块包括以下至少之一:第一获取单元,设置为在与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识和所述路由转发设备的资源信息;第二获取单元,设置为在与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识;建立单元,设置为根据所述路由转发设备的标识使用控制终端的用户名称和所述路由转发设备建立通讯连接;发起单元,设置为在通讯连接建立后向所述路由转发设备发起用于查询所述路由转发设备的所述资源信息的查询请求;接收单元,设置为接收所述路由转发设备根据所述查询请求返回的所述资源信息。Optionally, the first obtaining module includes at least one of the following: a first acquiring unit, configured to acquire an identifier of the routing forwarding device and the routing forwarding device when performing capability exchange with the routing forwarding device And the second obtaining unit is configured to acquire the identifier of the routing forwarding device when performing the capability exchange with the routing forwarding device, and the establishing unit is configured to use the user name of the controlling terminal according to the identifier of the routing forwarding device. Establishing a communication connection with the routing and forwarding device; the initiating unit is configured to initiate a query request for querying the resource information of the routing forwarding device to the routing forwarding device after the communication connection is established; and the receiving unit is configured to receive The routing forwarding device returns the resource information according to the query request.
可选地,所述装置还包括:第二获取模块,设置为获取所述路由转发设备的资源变更序列,其中,所述资源变更序列用于指示所述路由转发设备的资源发生变化的信息;所述管理模块包括:更新单元,设置为根据所述资源变更序列对所述路由转发设备的资源信息进行更新。Optionally, the device further includes: a second acquiring module, configured to acquire a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes; The management module includes: an updating unit, configured to update resource information of the routing forwarding device according to the resource change sequence.
可选地,所述更新单元包括:对比子单元,设置为将所述资源变更序列与本地保存的上次接收到的资源变更序列进行对比;处理子单元,设置为当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列一致时,不对所述路由转发设备的资源信息进行更新;当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列不一致时,更新所述路由转发设备的资源信息。Optionally, the updating unit includes: a comparing subunit, configured to compare the resource change sequence with a locally saved last received resource change sequence; and processing the subunit, when the comparison result is the resource When the change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated; when the comparison result is the resource change sequence and the locally saved last received When the resource change sequence is inconsistent, the resource information of the route forwarding device is updated.
可选地,在更新所述路由转发设备的资源信息时,所述处理子单元包括:发送次子单元,设置为当所述资源变更序列连续时,向所述路由转发设备发送变更资源的查询请求;存储次子单元,设置为存储所述路由转发设备根据所述查询请求返回的更新后的资源信息;查看次子单元,设置为当所述资源变更序列不连续时,查看本地存储的删除老化序列和所述资源变更序列对应的删除老化序列是否一致;更新次子单元,设置为根据查看结果更新所述路由转发设备的资源信息。Optionally, when the resource information of the routing and forwarding device is updated, the processing subunit includes: sending a secondary subunit, and configured to send a query for changing resources to the routing and forwarding device when the resource change sequence is continuous a storage sub-unit, configured to store the updated resource information returned by the routing forwarding device according to the query request; and to view the sub-subunit, configured to view the local storage deletion when the resource change sequence is discontinuous Whether the aging sequence and the deletion aging sequence corresponding to the resource change sequence are consistent; updating the secondary subunit, and setting the resource information of the routing forwarding device to be updated according to the viewing result.
可选地,所述更新次子单元包括:当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列不一致时,向所述路由转发设备发送全部资源查询请求;更新存储所述路由转发设备根据所述全部资源查询请求发送的资源信息;当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列一致时,向所述路由转发设备发送最新变更资源查询请求;更新存储所述路由转发设备根据所述最新变更资源查询请求发送的资源信息。Optionally, the updating the sub-sub-unit includes: when the locally-erased deletion aging sequence is inconsistent with the deletion aging sequence corresponding to the resource change sequence, sending all resource query requests to the routing forwarding device; The resource information sent by the routing and forwarding device according to the all resource query request; when the locally stored deletion aging sequence is consistent with the deletion aging sequence corresponding to the resource change sequence, the latest change resource query is sent to the routing and forwarding device. And updating the resource information sent by the routing forwarding device according to the latest change resource query request.
可选地,所述装置还包括:删除模块,设置为当确定所述路由转发设备重启断链后,删除获取的所述路由转发设备的标识和所述路由转发设备的资源信息;和/或,第二发起模块,设置为当确定所述路由转发设备未重启断链后,重新发起对所述路由转发设备的控制连接;发送模块,设置为在重新发起所述控制连接之后,向所述路由转发设备发送变更资源查询请求;接收模块,设置为接收所述路由转发设备根据所述变更资源查询请求返回的资源变更信息;更新模块,设置为根据所述资源变更信息对所述路由转发设备的资源信息进行更新。Optionally, the device further includes: a deleting module, configured to: after determining that the routing forwarding device restarts the broken link, deleting the obtained identifier of the routing forwarding device and resource information of the routing forwarding device; and/or The second initiating module is configured to re-initiate a control connection to the routing forwarding device after determining that the routing forwarding device does not restart the disconnection; the sending module is configured to: after re-initiating the control connection, to the The routing and forwarding device sends a change resource query request, and the receiving module is configured to receive the resource change information returned by the routing and forwarding device according to the change resource query request, and the update module is configured to: the routing and forwarding device according to the resource change information The resource information is updated.
根据本发明的另一方面,提供了一种控制终端,包括上述任意一项所述的装置。 According to another aspect of the present invention, there is provided a control terminal comprising the apparatus of any of the above.
通过本发明,采用发起对路由转发设备的控制连接;在发起所述控制连接之后,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息,其中,所述资源信息包括:所述路由转发设备的一个或多个资源的标识,所述一个或多个资源中的每个资源的属性信息;至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息,解决了相关技术中存在的无法实现控制终端对设备中的资源进行统一管理的问题,进而达到了实现控制终端对设备中的资源进行统一管理的效果。According to the present invention, the control connection is initiated to the routing and forwarding device; after the initiating the control connection, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: An identifier of one or more resources of the routing and forwarding device, attribute information of each of the one or more resources, and management of resource information of the routing and forwarding device according to at least the identifier of the routing and forwarding device, The problem that the control terminal can uniformly manage the resources in the device cannot be realized in the related art, and the effect of the unified management of the resources in the device by the control terminal is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的I2RS系统的架构图;1 is an architectural diagram of an I2RS system in accordance with an embodiment of the present invention;
图2是根据本发明实施例的资源管理方法的流程图;2 is a flowchart of a resource management method according to an embodiment of the present invention;
图3是根据本发明实施例的资源管理装置的结构框图;3 is a structural block diagram of a resource management apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的资源管理装置中第一获取模块34的结构框图;FIG. 4 is a structural block diagram of a first obtaining module 34 in a resource management apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的资源管理装置的优选结构框图一;FIG. 5 is a block diagram 1 of a preferred structure of a resource management apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的资源管理装置中更新单元54的结构框图;FIG. 6 is a structural block diagram of an update unit 54 in a resource management apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的资源管理装置中处理子单元64的结构框图;FIG. 7 is a structural block diagram of a processing subunit 64 in a resource management apparatus according to an embodiment of the present invention;
图8是根据本发明实施例的资源管理装置的优选结构框图二;8 is a block diagram 2 of a preferred structure of a resource management apparatus according to an embodiment of the present invention;
图9是根据本发明实施例的控制终端的结构框图;9 is a structural block diagram of a control terminal according to an embodiment of the present invention;
图10是根据本发明实施例一的能力交换成功的流程图;FIG. 10 is a flowchart of successful capability exchange according to Embodiment 1 of the present invention; FIG.
图11是根据本发明实施例一的能力交换失败的流程图;11 is a flowchart of capability exchange failure according to Embodiment 1 of the present invention;
图12是根据本发明实施例二的控制终端获取路由/转发系统设备的Agent ID以及资源信息的流程图;12 is a flowchart of acquiring an agent ID and resource information of a routing/forwarding system device by a control terminal according to Embodiment 2 of the present invention;
图13是根据本发明实施例三的控制终端获取路由/转发系统设备的资源信息的流程图。FIG. 13 is a flowchart of acquiring resource information of a routing/forwarding system device by a control terminal according to Embodiment 3 of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种资源管理方法,图2是根据本发明实施例的资源管理方法的流程图,如图2所示,该流程包括如下步骤:A resource management method is provided in this embodiment. FIG. 2 is a flowchart of a resource management method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,发起对路由转发设备的控制连接;Step S202, initiating a control connection to the routing and forwarding device;
步骤S204,在发起上述控制连接之后,至少获取路由转发设备的标识和路由转发设备的资源信息,其中,上述资源信息包括:路由转发设备的一个或多个资源的标识,上述一个或多个资源中的每个资源的属性信息;In step S204, after the foregoing control connection is initiated, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, and the one or more resources. Attribute information for each resource in ;
步骤S206,至少根据上述路由转发设备的标识管理路由转发设备的资源信息。Step S206: The resource information of the routing and forwarding device is managed according to at least the identifier of the routing and forwarding device.
其中,上述流程的执行者可以是控制终端(例如,I2RS控制终端),上述属性信息可以包括资源的详细信息。通过上述步骤,控制终端可以至少获取路由转发设备的标识和路由转发设备的资源信息,并且在获取了上述路由转发设备的标识和路由转发设备的资源信息后,可以根据获取的路由转发设备的标识统一管理路由转发设备的资源信息。从而解决了相关技术中存在的无法实现控制终端对设备中的资源进行统一管理的问题,进而达到了实现控制终端对设备中的资源进行统一管理的效果。The executor of the foregoing process may be a control terminal (for example, an I2RS control terminal), and the attribute information may include detailed information of a resource. After the foregoing steps, the control terminal can obtain at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, and after obtaining the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the identifier of the device can be forwarded according to the obtained route. Unified management of resource information of routing and forwarding devices. Therefore, the problem that the control terminal can not uniformly manage the resources in the device cannot be realized in the related art, and the effect of the unified management of the resources in the device by the control terminal is achieved.
在一个可选的实施例中,在至少获取路由转发设备的标识和路由转发设备的资源信息时,可以有多种获取方式,例如,可以在与路由转发设备进行能力交换时,获取路由转发设备的标识和路由转发设备的资源信息。其中,在进行能力交换时,可以直接获取路由转发设备的标识和资源信息,也可以只获取路由转发设备的标识,再依据获取的路由转发设备的标识去获取路由转发设备的资源信息。例如,与路由转发设备进行能力交换时,获取路由转发设备的标识;根据该路由转发设备的标识使用上述控制终端的用户名称和路由转发设备建立通讯连接;在通讯连接建立后向路由转发设备发起用于查询该路由转发设备的资源信息的查询请求;接收该路由转发设备根据上述查询请求返回的资源信息。上述的获取路由转发设备的标识和资源信息的方式仅仅是两种示例,还可以利用其他的方式获取路由转发设备的标识和资源信息。在此不一一列举。In an optional embodiment, when obtaining at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the method may be configured to obtain a routing and forwarding device, for example, when the capability is exchanged with the routing and forwarding device. The identity and routing information of the routing device. The information of the routing and forwarding device can be directly obtained, and the information of the routing and forwarding device can be obtained, and the resource information of the routing and forwarding device can be obtained according to the identifier of the obtained routing forwarding device. For example, when the capability is exchanged with the routing and forwarding device, the identifier of the routing and forwarding device is obtained; the user name of the controlling terminal is used to establish a communication connection according to the identifier of the routing forwarding device; and the routing connection device is initiated after the communication connection is established. a query request for querying resource information of the routing forwarding device; receiving resource information returned by the routing forwarding device according to the query request. The manner of obtaining the identifier and resource information of the routing and forwarding device is only two examples. The identifier and resource information of the routing and forwarding device can also be obtained by other methods. I will not list them here.
在一个可选的实施例中,在发起上述控制连接之后,还包括:获取路由转发设备的资源变更序列,其中,该资源变更序列用于指示路由转发设备的资源发生变化的信息;至少根据路由转发设备的标识管理路由转发设备的资源信息包括:根据资源变更序列对路由转发设备的资源信息进行更新。In an optional embodiment, after the initiating the foregoing control connection, the method further includes: acquiring a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes; at least according to the route The identifier of the forwarding device manages the resource information of the routing and forwarding device, and includes: updating the resource information of the routing and forwarding device according to the resource change sequence.
在一个可选的实施例中,根据上述资源变更序列对路由转发设备的资源信息进行更新包括:将资源变更序列与本地保存的上次接收到的资源变更序列进行对比;当对比结果为资源变更序列与本地保存的上次接收到的资源变更序列一致时,不对该路由转发设备的资源信息进行更新;当对比结果为资源变更序列与本地保存的上次接收到的资源变更序列不一致时,更新路由转发设备的资源信息。其中,在更新路由转发设备的资源信息时,是根据获取的资源变更序列进行更新的,并且,更新的方式也可以有多种,下面对如何根据获取的资源变更序列进行更新进行说明: In an optional embodiment, updating the resource information of the routing and forwarding device according to the resource change sequence includes: comparing the resource change sequence with the locally received resource change sequence received last time; when the comparison result is a resource change When the sequence is consistent with the last received resource change sequence stored locally, the resource information of the route forwarding device is not updated; when the comparison result is that the resource change sequence is inconsistent with the locally received last changed resource change sequence, the update is updated. Resource information of the routing and forwarding device. The resource information of the routing and forwarding device is updated according to the obtained resource change sequence, and the update manner may also be various. The following describes how to update according to the obtained resource change sequence:
在一个可选地实施例中,更新上述路由转发设备的资源信息包括:当资源变更序列连续时,向路由转发设备发送变更资源的查询请求;存储路由转发设备根据该查询请求返回的更新后的资源信息;当资源变更序列不连续时,查看本地存储的删除老化序列和资源变更序列对应的删除老化序列是否一致;根据查看结果更新路由转发设备的资源信息。In an optional embodiment, updating the resource information of the routing forwarding device includes: sending a query request for changing resources to the routing forwarding device when the resource change sequence is continuous; storing the updated information returned by the routing forwarding device according to the query request If the resource change sequence is not continuous, check whether the deleted aging sequence and the aging sequence corresponding to the resource change sequence are consistent. The resource information of the route forwarding device is updated according to the viewing result.
在一个可选地实施例中,在根据查看结果更新路由转发设备的资源信息时,可以采用如下方案:当本地存储的删除老化序列和资源变更序列对应的删除老化序列不一致时,向路由转发设备发送全部资源查询请求;更新存储路由转发设备根据全部资源查询请求发送的资源信息;当本地存储的删除老化序列和资源变更序列对应的删除老化序列一致时,向路由转发设备发送最新变更资源查询请求;更新存储路由转发设备根据最新变更资源查询请求发送的资源信息。In an optional embodiment, when the resource information of the routing and forwarding device is updated according to the viewing result, the following scheme may be adopted: when the local aging deletion aging sequence and the resource aging sequence corresponding to the aging sequence are inconsistent, the routing forwarding device is used. Sending all resource query requests; updating the resource information sent by the storage routing device according to all resource query requests; and sending the latest change resource query request to the route forwarding device when the locally deleted deletion aging sequence and the resource aging sequence corresponding to the deletion aging sequence are consistent Update the resource information sent by the storage routing and forwarding device according to the latest change resource query request.
在上述实施例中,控制终端和路由转发设备之间在进行交互时,可以是在控制终端和路由转发设备建立了通讯连接的基础上进行的交互。需要说明的是,该通讯连接可能会发生断链,并且,断链分为重启断链和未重启断链,下面针对当发生断链后,控制终端和路由转发设备上的执行的操作进行说明。在一个可选的实施例中,在至少获取路由转发设备的标识和路由转发设备的资源信息之后,还包括:当确定路由转发设备重启断链后,删除获取的路由转发设备的标识和路由转发设备的资源信息;和/或,当确定路由转发设备未重启断链后,重新发起对路由转发设备的控制连接;在重新发起控制连接之后,向路由转发设备发送变更资源查询请求;接收路由转发设备根据变更资源查询请求返回的资源变更信息;根据资源变更信息对路由转发设备的资源信息进行更新。In the foregoing embodiment, when the control terminal and the routing forwarding device perform interaction, the interaction may be performed on the basis that the control terminal and the routing forwarding device establish a communication connection. It should be noted that the communication connection may be broken, and the broken link is divided into a restart broken link and an unrestarted broken link. The following describes the operation performed on the control terminal and the routing and forwarding device after the broken link occurs. . In an optional embodiment, after obtaining the identifier of the routing and forwarding device and the resource information of the routing and forwarding device, the method further includes: deleting the identifier of the obtained routing forwarding device and routing forwarding after determining that the routing forwarding device restarts the broken link. The resource information of the device; and/or, after determining that the routing forwarding device does not restart the broken link, re-initiating the control connection to the routing forwarding device; after re-initiating the control connection, sending the change resource query request to the routing forwarding device; receiving the routing forwarding The device changes the resource information returned by the resource query request according to the change resource query information, and updates the resource information of the route forwarding device according to the resource change information.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that 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. Based on such understanding, 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.
在本实施例中还提供了一种资源管理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a resource management device is provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although 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.
图3是根据本发明实施例的资源管理装置的结构框图,如图3所示,该装置包括第一发起模块32、第一获取模块34和管理模块36,下面对该装置进行说明。FIG. 3 is a structural block diagram of a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first initiating module 32, a first obtaining module 34, and a management module 36. The apparatus will be described below.
第一发起模块32,设置为发起对路由转发设备的控制连接;第一获取模块34,连接至上述第一发起模块32,设置为在发起上述控制连接之后,至少获取路由转发设备的标识和路由转发设备的资源信息,其中,该资源信息包括:路由转发设备的一个或多个资源的标识,一个或多个资源中的每个资源的属性信息;管理模块36,连接至上述第一获取模块34,设置为 至少根据路由转发设备的标识管理路由转发设备的资源信息。The first initiating module 32 is configured to initiate a control connection to the routing and forwarding device. The first obtaining module 34 is connected to the first initiating module 32, and is configured to acquire at least the identifier and route of the routing and forwarding device after initiating the control connection. Forwarding the resource information of the device, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, attribute information of each of the one or more resources; and a management module 36 connected to the first acquiring module 34, set to The resource information of the routing forwarding device is managed according to at least the identifier of the routing forwarding device.
图4是根据本发明实施例的资源管理装置中第一获取模块34的结构框图,如图4所示,该第一获取模块34包括第一获取单元42,和/或,该第一获取模块34包括第二获取单元44、建立单元46、发起单元48和接收单元410,下面对该第一获取模块34进行说明。4 is a structural block diagram of a first obtaining module 34 in a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 4, the first obtaining module 34 includes a first acquiring unit 42, and/or the first acquiring module. 34 includes a second obtaining unit 44, an establishing unit 46, an initiating unit 48, and a receiving unit 410, which will be described below.
第一获取单元42,设置为在与路由转发设备进行能力交换时,获取路由转发设备的标识和路由转发设备的资源信息;第二获取单元44,设置为在与路由转发设备进行能力交换时,获取路由转发设备的标识;建立单元46,连接至上述第二获取单元44,设置为根据路由转发设备的标识使用控制终端的用户名称和路由转发设备建立通讯连接;发起单元48,连接至上述建立单元46,设置为在通讯连接建立后向路由转发设备发起用于查询路由转发设备的资源信息的查询请求;接收单元410,连接至上述发起单元48,设置为接收路由转发设备根据查询请求返回的资源信息。The first obtaining unit 42 is configured to acquire the identifier of the routing and forwarding device and the resource information of the routing and forwarding device when performing the capability exchange with the routing and forwarding device. The second obtaining unit 44 is configured to perform the capability exchange with the routing and forwarding device. Obtaining an identifier of the routing and forwarding device; the establishing unit 46 is connected to the second obtaining unit 44, configured to establish a communication connection by using the user name of the controlling terminal and the routing forwarding device according to the identifier of the routing forwarding device; and the initiating unit 48 is connected to the foregoing establishment. The unit 46 is configured to initiate a query request for querying the resource information of the routing and forwarding device to the routing and forwarding device after the communication connection is established. The receiving unit 410 is connected to the initiating unit 48, and is configured to receive the routing forwarding device according to the query request. Resource information.
图5是根据本发明实施例的资源管理装置的优选结构框图一,如图5所示,该装置除包括图3所示的所有模块外,还包括第二获取模块52,在图5中,管理模块36包括更新单元54,下面对该装置进行说明。5 is a block diagram of a preferred structure of a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a second acquisition module 52 in addition to all the modules shown in FIG. The management module 36 includes an update unit 54, which is described below.
第二获取模块52,连接至上述第一发起模块32和管理模块36,设置为获取路由转发设备的资源变更序列,其中,该资源变更序列用于指示路由转发设备的资源发生变化的信息;上述的管理模块36包括:更新单元54,设置为根据资源变更序列对路由转发设备的资源信息进行更新。The second obtaining module 52 is connected to the first initiating module 32 and the management module 36, and is configured to acquire a resource change sequence of the routing and forwarding device, where the resource change sequence is used to indicate information that the resource of the routing and forwarding device changes; The management module 36 includes an updating unit 54 configured to update the resource information of the routing and forwarding device according to the resource change sequence.
图6是根据本发明实施例的资源管理装置中更新单元54的结构框图,如图6所示,该更新单元54包括对比子单元62和处理子单元64,下面对该更新单元54进行说明。FIG. 6 is a structural block diagram of an update unit 54 in a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 6, the update unit 54 includes a comparison subunit 62 and a processing subunit 64. The update unit 54 is described below. .
对比子单元62,设置为将资源变更序列与本地保存的上次接收到的资源变更序列进行对比;处理子单元64,连接至上述对比子单元62,设置为当对比结果为资源变更序列与本地保存的上次接收到的资源变更序列一致时,不对路由转发设备的资源信息进行更新;当对比结果为资源变更序列与本地保存的上次接收到的资源变更序列不一致时,更新路由转发设备的资源信息。The comparison sub-unit 62 is arranged to compare the resource change sequence with the locally stored last received resource change sequence; the processing sub-unit 64 is connected to the comparison sub-unit 62, and is set to when the comparison result is a resource change sequence and local When the saved last received resource change sequence is consistent, the resource information of the route forwarding device is not updated; when the comparison result is that the resource change sequence is inconsistent with the locally saved last changed resource change sequence, the route forwarding device is updated. Resource information.
图7是根据本发明实施例的资源管理装置中处理子单元64的结构框图,如图7所示,该处理子单元64包括发送次子单元72和存储次子单元74,和/或,该处理子单元64包括查看次子单元76和更新次子单元78,下面对该处理子单元64进行说明。7 is a structural block diagram of a processing sub-unit 64 in a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 7, the processing sub-unit 64 includes a transmitting sub-subunit 72 and a storing sub-sub-unit 74, and/or Processing sub-unit 64 includes a view sub-unit 76 and an update sub-unit 78, which are described below.
发送次子单元72,设置为在更新路由转发设备的资源信息时,当资源变更序列连续时,向路由转发设备发送变更资源的查询请求;存储次子单元74,连接至上述发送次子单元72,设置为存储路由转发设备根据查询请求返回的更新后的资源信息;查看次子单元76,设置为在更新路由转发设备的资源信息时,当资源变更序列不连续时,查看本地存储的删除老化序列和资源变更序列对应的删除老化序列是否一致;更新次子单元78,连接至上述查看次子单元76,设置为根据查看结果更新路由转发设备的资源信息。 The sending sub-sub-unit 72 is configured to, when updating the resource information of the routing and forwarding device, send a query request for changing the resource to the routing and forwarding device when the resource change sequence is continuous; the storage sub-sub-unit 74 is connected to the sending sub-sub-unit 72 Set to store the updated resource information returned by the routing and forwarding device according to the query request; view the secondary sub-unit 76, and set to delete the aging of the local storage when the resource change sequence is not continuous when the resource information of the routing and forwarding device is updated. Whether the sequence and the resource aging sequence correspond to the deletion aging sequence are consistent; the updating sub-sub-unit 78 is connected to the foregoing viewing sub-sub-unit 76, and is configured to update the resource information of the routing forwarding device according to the viewing result.
可选地,上述更新次子单元78包括:当本地存储的删除老化序列和资源变更序列对应的删除老化序列不一致时,向路由转发设备发送全部资源查询请求;更新存储路由转发设备根据全部资源查询请求发送的资源信息;当本地存储的删除老化序列和资源变更序列对应的删除老化序列一致时,向路由转发设备发送最新变更资源查询请求;更新存储路由转发设备根据最新变更资源查询请求发送的资源信息。Optionally, the updating the sub-sub-unit 78 includes: when the locally-deleted aging sequence and the aging sequence corresponding to the resource change sequence are inconsistent, sending all resource query requests to the route forwarding device; updating the storage route forwarding device according to all resource queries The resource information to be sent is sent; when the deletion aging sequence and the aging sequence corresponding to the resource change sequence are consistent, the latest change resource query request is sent to the route forwarding device; and the resource sent by the storage route forwarding device according to the latest change resource query request is updated. information.
图8是根据本发明实施例的资源管理装置的优选结构框图二,如图8所示,该装置除包括图3所示的所有模块外,还包括删除模块82,和/或,还包括第二发起模块84、发送模块86、接收模块88和更新模块810,下面对该装置进行说明。FIG. 8 is a block diagram of a preferred structure of a resource management apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes a deletion module 82 in addition to all the modules shown in FIG. 3, and/or includes The second initiating module 84, the transmitting module 86, the receiving module 88, and the updating module 810 are described below.
删除模块82,连接至上述第一获取模块34,设置为当确定路由转发设备重启断链后,删除获取的路由转发设备的标识和路由转发设备的资源信息;和/或,第二发起模块84,连接至上述第一获取模块34,设置为当确定路由转发设备未重启断链后,重新发起对路由转发设备的控制连接;发送模块86,连接至上述第二发起模块84,设置为在重新发起上述控制连接之后,向路由转发设备发送变更资源查询请求;接收模块88,连接至上述发送模块86,设置为接收路由转发设备根据上述变更资源查询请求返回的资源变更信息;更新模块810,连接至上述接收模块88,设置为根据上述资源变更信息对路由转发设备的资源信息进行更新。The deleting module 82 is connected to the first obtaining module 34, and is configured to delete the identifier of the obtained routing forwarding device and the resource information of the routing forwarding device after determining that the routing forwarding device restarts the broken link; and/or, the second initiating module 84 Connected to the first obtaining module 34, configured to re-initiate a control connection to the routing and forwarding device after determining that the routing forwarding device has not restarted the broken link; the sending module 86 is connected to the second initiating module 84, and is set to be re-established. After the foregoing control connection is initiated, the change resource query request is sent to the routing and forwarding device; the receiving module 88 is connected to the sending module 86, and configured to receive the resource change information returned by the routing and forwarding device according to the change resource query request; the update module 810, the connection The receiving module 88 is configured to update the resource information of the routing and forwarding device according to the resource change information.
图9是根据本发明实施例的控制终端的结构框图,如图9所示,该控制终端92包括上述任一项的资源管理装置94。9 is a block diagram showing the structure of a control terminal according to an embodiment of the present invention. As shown in FIG. 9, the control terminal 92 includes the resource management device 94 of any of the above.
下面以上述控制终端为I2RS控制终端为例,对本发明进行说明。The present invention will be described below by taking the above control terminal as an I2RS control terminal as an example.
本发明实施例中提供了一种I2RS控制终端的资源管理及协商机制和方法,提出I2RS代理agent的标识符Agent ID概念(字符串类型),并结合路由/转发系统设备(对应于上述的路由转发设备)资源标识Resource ID的概念(字符串类型),使得控制终端可以对资源进行快速定位和直接管理;同时本发明实施例中还提出资源的变化序列Revision(64位整型)和删除老化序列Aged ID概念(64位整型),并给出一种控制终端与路由/转发系统设备之间的资源一致性协商方法,从而使I2RS控制终端和路由/转发系统设备之间能够高效地保持资源的一致性。综上所述,为I2RS控制终端整体且高效管控路由/转发系统设备提供良好保障。In the embodiment of the present invention, a resource management and negotiation mechanism and method for an I2RS control terminal are provided, and an identifier of an identifier of an I2RS proxy agent (character type) is proposed, and is combined with a routing/forwarding system device (corresponding to the foregoing routing) The forwarding device) indicates the concept of the Resource ID (string type), so that the control terminal can quickly locate and directly manage the resources. In the embodiment of the present invention, the resource change sequence Revision (64-bit integer) and the deletion aging are also proposed. Sequence Aged ID concept (64-bit integer), and gives a resource consistency negotiation method between the control terminal and the routing/forwarding system device, so that the I2RS control terminal and the routing/forwarding system device can be efficiently maintained. Consistency of resources. In summary, the I2RS control terminal provides a good guarantee for the overall and efficient control of the routing/forwarding system equipment.
本发明实施例中提供了一种I2RS控制终端的资源管理及协商机制和方法,包括:The embodiment of the present invention provides a resource management and negotiation mechanism and method for an I2RS control terminal, including:
步骤一:I2RS控制终端向路由/转发系统设备(Agent)发起控制连接。Step 1: The I2RS control terminal initiates a control connection to the routing/forwarding system device (Agent).
步骤二:路由/转发系统设备(Agent)支持资源能力,将资源变更序列Revision和各资源标识ResourceID作为资源能力(对应于上述的资源信息)以及本Agent的唯一标识Agent ID发送给I2RS控制终端,完成本地的能力交换,从而与控制终端建立通讯连接;Step 2: The routing/relay system device (Agent) supports the resource capability, and sends the resource change sequence Revision and each resource identifier ResourceID as the resource capability (corresponding to the resource information described above) and the unique identifier of the agent to the I2RS control terminal. Complete local capacity exchange to establish a communication connection with the control terminal;
其中,Agent在通讯连接建立阶段,可以仅将其唯一标识Agent ID发送给控制终端,而不携带资源能力。The agent can only send its unique identifier Agent ID to the control terminal during the communication connection establishment phase, without carrying the resource capability.
步骤三:I2RS控制终端接收到路由/转发系统设备(Agent)的能力信息,完成本地的能 力交换,并由I2RS控制终端的资源管理组件对路由/转发系统设备的标识Agent ID和资源信息(resource ID及revision)进行映射和存储;Step 3: The I2RS control terminal receives the capability information of the routing/forwarding system device (Agent), and completes the local energy. Force exchange, and the resource management component of the I2RS control terminal maps and stores the identification agent ID and resource information (resource ID and revision) of the routing/forwarding system device;
其中,当I2RS控制终端接收到路由/转发系统设备(Agent)的能力信息中缺少资源能力信息,I2RS控制终端完成本地的能力交换,并由I2RS控制终端的资源管理组件对路由/转发系统设备的标识Agent ID进行存储,完成通讯连接建立;Wherein, when the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system device (Agent), the I2RS control terminal completes the local capability exchange, and the resource management component of the I2RS control terminal controls the routing/forwarding system device. Identify the Agent ID for storage and complete the establishment of the communication connection;
其中,当I2RS控制终端接收到路由/转发系统设备(Agent)的能力信息中缺少资源能力信息,且完成通讯连接建立后,该I2RS控制终端向Agent发起资源信息查询请求;The I2RS control terminal initiates a resource information query request to the Agent, after the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system (Agent), and completes the communication connection establishment;
当I2RS控制终端接收到路由/转发系统设备(Agent)的能力信息中缺少资源能力信息,且完成通讯连接建立后,该路由/转发系统设备(Agent)响应I2RS控制终端的资源信息查询请求,搜集满足条件的资源信息,包括资源标识Resource ID、资源的当前变更序列Revision及资源的详细信息(对应于上述的属性信息),并将上述信息发送给控制终端;When the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system device (Agent), and completes the communication connection establishment, the routing/forwarding system device (Agent) responds to the resource information query request of the I2RS control terminal, and collects The resource information that satisfies the condition includes a resource identifier Resource ID, a current change sequence of the resource, and a detailed information of the resource (corresponding to the attribute information described above), and the foregoing information is sent to the control terminal;
当I2RS控制终端接收到路由/转发系统设备(Agent)的能力信息中缺少资源能力信息,且完成通讯连接建立后,该控制终端接收到Agent回应的资源信息,并由资源管理组件对路由/转发系统设备的标识Agent ID和资源信息进行映射和存储。When the I2RS control terminal receives the resource capability information in the capability information of the routing/forwarding system device (Agent), and completes the communication connection establishment, the control terminal receives the resource information that the Agent responds, and is routed/forwarded by the resource management component. The identifier of the system device and the resource information are mapped and stored.
步骤四:路由/转发系统设备(Agent)设置本地的资源删除老化保持时间(hold time),并实时上报变化资源给I2RS控制终端;Step 4: The routing/relay system device (Agent) sets the local resource deletion aging time (hold time), and reports the changed resources to the I2RS control terminal in real time;
其中,路由/转发系统设备(Agent)本地进行资源添加,并上报资源添加,上报信息包括但不限于:资源标识Resource id、资源当前变更序列Revision、资源详细信息等,I2RS控制终端立即响应资源添加,并由资源管理组件对路由/转发系统设备的标识Agent ID和资源信息进行映射和存储;The routing/relay system device (Agent) locally adds resources and reports resource additions, and the reporting information includes but is not limited to: resource identifier Resource id, resource current change sequence Revision, resource detail information, etc., and the I2RS control terminal immediately responds to the resource addition. And the resource management component maps and stores the identification agent ID and resource information of the routing/forwarding system device;
其中,路由/转发系统设备(Agent)本地可以进行资源更新,并上报资源更新,上报信息包括但不限于:资源标识Resource id、资源当前变更序列Revision、资源变更后详细信息等,该I2RS控制终端立即响应资源更新,并由资源管理组件对路由/转发系统设备的标识Agent ID和更新后的资源信息进行映射和存储;The routing/relay system device (Agent) can perform resource update and report resource update locally, and the report information includes but is not limited to: resource identifier Resource id, resource current change sequence Revision, resource change detailed information, etc., the I2RS control terminal Immediately responding to the resource update, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information;
其中,路由/转发系统设备(Agent)本地可以进行资源删除,仅将待删除的资源变更序列进行更新,并设置资源老化序列aged ID,待该资源达到老化保持时间(hold time),则在路由/转发系统设备(Agent)本地进行真正的删除;The routing/forwarding device (Agent) can perform resource deletion locally, and only the resource change sequence to be deleted is updated, and the resource aging sequence aged ID is set. After the resource reaches the aging hold time (hold time), the route is / Forwarding system device (Agent) to perform real deletion locally;
其中,路由/转发系统设备(Agent)本地进行资源删除标识的同时,同时上报资源删除,上报信息包括但不限于:资源标识Resource ID、资源当前变更序列Revision,I2RS控制终端立即响应资源删除,并由资源管理组件对路由/转发系统设备的标识Agent ID和更新后的资源信息进行映射和存储。The routing/forwarding system (Agent) locally performs the resource deletion identification and simultaneously reports the resource deletion. The reporting information includes but is not limited to: the resource identifier Resource ID, the resource current change sequence Revision, and the I2RS control terminal immediately responds to the resource deletion, and The resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information.
步骤五:I2RS控制终端可定期或根据需要向路由/转发系统设备(Agent)发送查询请求,查询路由/转发系统设备的具体资源信息; Step 5: The I2RS control terminal may send a query request to the routing/forwarding system device (Agent) periodically or as needed, and query the specific resource information of the routing/forwarding system device;
在通讯连接建立后,I2RS控制终端可立即向Agent发起查询请求,查询Agent的所有资源信息,并由资源管理组件对路由/转发系统设备的标识Agent ID和资源信息进行映射和存储;After the communication connection is established, the I2RS control terminal can immediately initiate an inquiry request to the agent to query all resource information of the agent, and the resource management component maps and stores the identification agent ID and resource information of the routing/forwarding system device;
I2RS控制终端接收到Agent发送的资源变更通知,I2RS控制终端的资源管理组件对相应的资源变更序列进行比对,若一致则不响应变化;若资源变更序列连续,则I2RS控制终端可选地,向Agent发送变更资源的查询请求,并由资源管理组件对路由/转发系统设备的标识Agent ID和更新后的资源信息进行映射和存储;The I2RS control terminal receives the resource change notification sent by the agent, and the resource management component of the I2RS control terminal compares the corresponding resource change sequence, and if not, does not respond to the change; if the resource change sequence is continuous, the I2RS control terminal optionally Sending a query request for changing the resource to the agent, and the resource management component maps and stores the identifier of the routing/forwarding system device and the updated resource information;
I2RS控制终端接收到Agent发送的资源变更通知,发现资源变更序列Revision不连续,查看删除老化序列aged ID是否一致,如果aged ID不一致,则说明删除通知有丢失,则I2RS控制终端向Agent发送全部资源查询请求,并由资源管理组件对路由/转发系统设备的标识Agent ID和更新后的资源信息进行映射和存储;如果aged ID一致,则说明删除通知没有丢失,则I2RS控制终端向Agent发送资源查询请求,仅查询最新变更信息,并由资源管理组件对路由/转发系统设备的标识Agent ID和更新后的资源信息进行映射和存储。The I2RS control terminal receives the resource change notification sent by the agent, and finds that the resource change sequence is not continuous, and checks whether the deleted aging sequence is consistent. If the aged ID is inconsistent, the deletion notification is lost, and the I2RS control terminal sends all resources to the agent. Querying the request, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information; if the aged ID is consistent, the deletion notification is not lost, and the I2RS control terminal sends the resource query to the agent. The request only queries the latest change information, and the resource management component maps and stores the identification agent ID of the routing/forwarding system device and the updated resource information.
步骤六:路由/转发系统设备(Agent)重启断链后,路由/转发系统设备的资源不保留,且I2RS控制终端获取的对应Agent的资源也全部删除,两者重新建立通讯连接后,I2RS控制终端与Agent重新建链,从步骤一开始重复,并重新协商所有资源。Step 6: After the routing/relay system device (Agent) restarts the broken link, the resources of the routing/forwarding system device are not retained, and the resources of the corresponding agent acquired by the I2RS control terminal are also deleted. After the communication connection is re-established, the I2RS control is performed. The terminal re-establishes the chain with the Agent, repeats from the beginning of the step, and renegotiates all resources.
步骤七:路由/转发系统设备(Agent)未重启断链后,路由/转发系统设备的资源仍然保留,且I2RS控制终端获取的对应Agent的资源也保留,两者重新建立通讯连接后,I2RS控制终端与Agent重新建链,从步骤一开始重复,I2RS控制终端仅需向Agent发送变更资源的查询,进行资源的快速一致性协商。Step 7: After the routing/relay system device (Agent) is not restarted, the resources of the routing/forwarding system device are still reserved, and the resources of the corresponding agent acquired by the I2RS control terminal are also retained. After the communication connection is re-established, the I2RS control is performed. The terminal and the agent re-establish the chain, and repeat from the first step. The I2RS control terminal only needs to send the query of the changed resource to the agent, and the fast consistency negotiation of the resource is performed.
下面分别介绍本发明在不同使用场景下的三个实施例。Three embodiments of the present invention in different usage scenarios are respectively described below.
实施例一 Embodiment 1
外部网络控制终端(Client)与路由/转发系统设备(Agent)建立连接,以基于NETCONF的I2RS连接为例,能力交换时,路由/转发系统设备(Agent)向控制终端(Client)发送的hello报文中携带的信息包括路由/转发系统设备(Agent)标识Agent ID、当前资源变更序列Revision、连接会话号Session ID及设备的资源标识Resource ID。如图10所示,图10是根据本发明实施例一的能力交换成功的流程图,该流程包括以下步骤:The external network control terminal (Client) establishes a connection with the routing/forwarding system device (Agent), and takes the NETCONF-based I2RS connection as an example. When the capability is exchanged, the routing/forwarding system device (Agent) sends a hello report to the control terminal (Client). The information carried in the text includes the route identifier (Agent) ID, the current resource change sequence Revision, the connection session number Session ID, and the resource ID of the device. As shown in FIG. 10, FIG. 10 is a flowchart of successful capability exchange according to Embodiment 1 of the present invention, and the process includes the following steps:
步骤S1002,网络控制终端(Client)携带自身能力信息,向路由/转发系统设备发起NETCONF建链请求。In step S1002, the network control terminal (Client) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
步骤S1004,路由/转发系统设备(Agent)生成Session ID、Revision ID。In step S1004, the routing/forwarding system device (Agent) generates a session ID and a revision ID.
步骤S1006,路由/转发系统设备(Agent)向网络控制终端(Client)发送hello报文,除NETCONF协议规定的既有信息外,还附带路由/转发系统设备(Agent)标识Agent ID、当前资源变更序列Revision、连接会话号Session ID及设备的资源标识Resource ID;Step S1006: The routing/forwarding system device (Agent) sends a hello message to the network control terminal (Client). In addition to the existing information specified by the NETCONF protocol, the routing/forwarding system device (Agent) identifies the agent ID and the current resource change. Sequence Revision, connection session number Session ID, and resource ID of the device;
Figure PCTCN2016076653-appb-000001
Figure PCTCN2016076653-appb-000001
Figure PCTCN2016076653-appb-000002
Figure PCTCN2016076653-appb-000002
步骤S1008,路由/转发系统设备(Agent)与控制终端(Client)会话建立成功,控制终端的资源管理模块对Agent ID以及资源信息进行映射存储;Step S1008: The route between the routing/forwarding system device (Agent) and the control terminal (Client) is successfully established, and the resource management module of the control terminal maps and stores the agent ID and the resource information.
其中,控制终端的资源管理模块对Agent ID以及资源信息进行映射存储的具体方式可由控制终端根据自身需要进行设计实现。 The specific manner in which the resource management module of the control terminal maps and stores the Agent ID and the resource information may be designed and implemented by the control terminal according to its own needs.
图11是根据本发明实施例一的能力交换失败的流程图,如图11所示,该流程包括如下步骤:FIG. 11 is a flowchart of a capability exchange failure according to the first embodiment of the present invention. As shown in FIG. 11, the process includes the following steps:
步骤S1102,网络控制终端(Client)携带自身能力信息,向路由/转发系统设备发起NETCONF建链请求。Step S1102: The network control terminal (Client) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
步骤S1104,路由/转发系统设备(Agent)生成Session ID、Revision ID。Step S1104: The routing/forwarding system device (Agent) generates a Session ID and a Revision ID.
步骤S1106,路由/转发系统设备(Agent)与控制终端能力(Client)协商失败,向该控制终端发送连接建立失败的回应报文。In step S1106, the routing/forwarding system device (Agent) fails to negotiate with the controlling terminal (Client), and sends a response packet with a connection establishment failure to the control terminal.
实施例二 Embodiment 2
外部网络控制终端(Client)与路由/转发系统设备(Agent)建立连接,以基于NETCONF的I2RS连接为例,能力交换时,路由/转发系统设备(Agent)向控制终端(Client)发送的hello报文中携带的信息仅包括路由/转发系统设备(Agent)标识Agent ID和连接会话号Session ID,I2RS控制终端与Agent建立连接后,主动发起请求查询Agent设备的资源信息,包括资源变更序列及资源详细信息。如图12所示,图12是根据本发明实施例二的控制终端获取路由/转发系统设备的Agent ID以及资源信息的流程图,该流程包括以下步骤:The external network control terminal (Client) establishes a connection with the routing/forwarding system device (Agent), and takes the NETCONF-based I2RS connection as an example. When the capability is exchanged, the routing/forwarding system device (Agent) sends a hello report to the control terminal (Client). The information carried in the text includes only the routing and forwarding system device (Agent) identification agent ID and the connection session number. The I2RS control terminal initiates a request to query the resource information of the agent device, including the resource change sequence and resources. details. As shown in FIG. 12, FIG. 12 is a flowchart of acquiring an agent ID and resource information of a routing/forwarding system device by a control terminal according to Embodiment 2 of the present invention, where the process includes the following steps:
步骤S1202,网络控制终端(Client)(同上述的控制终端)携带自身能力信息,向路由/转发系统设备发起NETCONF建链请求。In step S1202, the network control terminal (Client) (the same control terminal as above) carries its own capability information, and initiates a NETCONF link establishment request to the routing/forwarding system device.
步骤S1204,路由/转发系统设备(Agent)生成session ID。In step S1204, the routing/forwarding system device (Agent) generates a session ID.
步骤S1206,路由/转发系统设备(Agent)向网络控制终端(Client)发送hello报文,除NETCONF协议规定的既有信息外,还附带路由/转发系统设备(Agent)标识Agent ID;Step S1206: The routing/forwarding system device (Agent) sends a hello message to the network control terminal (Client), and in addition to the existing information specified by the NETCONF protocol, a routing/forwarding system device (Agent) identifier Agent ID is also included;
Figure PCTCN2016076653-appb-000003
Figure PCTCN2016076653-appb-000003
步骤S1208,路由/转发系统设备(Agent)与控制终端(Client)会话建立成功,控制终端的资源管理模块对Agent ID进行映射存储;Step S1208: The routing/relay system device (Agent) and the control terminal (Client) are successfully established, and the resource management module of the control terminal maps and stores the Agent ID.
其中,控制终端的资源管理模块对Agent ID进行映射存储的具体方式可由控制终端根据自身需要进行设计实现。The specific manner in which the resource management module of the control terminal maps and stores the Agent ID may be designed and implemented by the control terminal according to its own needs.
步骤S1210,控制终端(Client)向路由/转发系统设备(Agent)发送资源查询请求;Step S1210: The control terminal (Client) sends a resource query request to the routing/forwarding system device (Agent);
其中,Client发送的资源信息查询请求报文可如下:The resource information query request packet sent by the client can be as follows:
Figure PCTCN2016076653-appb-000005
Figure PCTCN2016076653-appb-000005
步骤S1212,路由/转发系统设备(Agent)向控制终端(Client)发送资源响应报文,报文包含信息包括当前资源变更序列Revision、设备的资源标识Resource ID及设备资源的详细 信息;Step S1212: The routing/forwarding system (Agent) sends a resource response packet to the control terminal (Client), where the packet includes information including the current resource change sequence Revision, the resource identifier of the device, and the device resource. information;
Agent的回应报文可如下:The response message of the Agent can be as follows:
Figure PCTCN2016076653-appb-000006
Figure PCTCN2016076653-appb-000006
步骤S1214,控制终端的资源管理模块对Agent ID以及资源信息进行映射存储;Step S1214: The resource management module of the control terminal maps and stores the Agent ID and the resource information.
其中,控制终端的资源管理模块对Agent ID及资源信息进行映射存储的具体方式可由控制终端根据自身需要进行设计实现。The specific manner in which the resource management module of the control terminal maps and stores the Agent ID and the resource information may be designed and implemented by the control terminal according to its own needs.
实施例三Embodiment 3
外部网络控制终端(Client)与路由/转发系统设备(Agent)建立连接成功后,路由/转发系统设备(Agent)资源发生变更主动通知控制终端(Client),由控制终端对变更资源进行更新 存储。如图13所示,图13是根据本发明实施例三的控制终端获取路由/转发系统设备的资源信息的流程图,该流程包括以下步骤:After the external network control terminal (Client) establishes a connection with the routing/forwarding system device (Agent), the routing/forwarding system device (Agent) resource changes actively to notify the controlling terminal (Client), and the control terminal updates the changed resource. storage. As shown in FIG. 13, FIG. 13 is a flowchart of acquiring resource information of a routing/forwarding system device by a control terminal according to Embodiment 3 of the present invention, where the process includes the following steps:
步骤S1302,路由/转发系统设备(Agent)资源发生更新,向控制终端(Client)发送资源变更通知;Step S1302: The routing/relay system device (Agent) resource is updated, and the resource change notification is sent to the control terminal (Client);
路由/转发系统设备(Agent)更新资源变更序列revision,发送给控制终端的资源变更通知报文中携带最新revision及资源的详细信息。The routing/relay system device (Agent) updates the resource change sequence revision, and the resource change notification message sent to the control terminal carries the latest revision and the detailed information of the resource.
步骤S1304,控制终端(Client)的资源管理模块完成资源映射和管理,将本地资源与路由/转发系统设备(Agent)资源保持一致。Step S1304: The resource management module of the control terminal (Client) completes resource mapping and management, and keeps the local resource and the routing/forwarding system device (Agent) resources consistent.
步骤S1306,可选地,控制终端(Client)向路由/转发系统设备(Agent)发起变更资源详细信息查询;Step S1306, optionally, the control terminal (Client) initiates a change resource detailed information query to the routing/forwarding system device (Agent);
其中,控制终端检查资源更新序列revision,若revision不连续,则向路由/转发系统设备(Agent)发起资源信息查询;The control terminal checks the resource update sequence revision, and if the revision is not continuous, initiates resource information query to the routing/forwarding system device (Agent);
控制终端发起的资源信息查询可以是一次性查询路由/转发系统设备(Agent)上的全部资源信息,也可以是分多次查询。The resource information query initiated by the control terminal may be a one-time query of all resource information on the routing/forwarding system (Agent), or may be multiple queries.
步骤S1308,路由/转发系统设备(Agent)向控制终端发送资源信息报文。Step S1308: The routing/forwarding system device (Agent) sends a resource information message to the control terminal.
步骤S1310,控制终端收到路由/转发系统设备(Agent)回应的资源信息,控制终端的资源管理模块完成对相关资源的映射和存储。Step S1310: The control terminal receives the resource information that the routing/forwarding system device (Agent) responds, and controls the resource management module of the terminal to complete mapping and storage of related resources.
SDN网络控制终端与路由/转发系统设备之间的连接不限于NETCONF,可以是RESTCONF或其他连接方式,本发明实施例不受SDN网络控制终端与路由/转发系统设备之间的连接方式的影响。The 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 embodiment of the present invention is not affected by the connection manner between the SDN network control terminal and the routing/forwarding system device.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, 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. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,路由/转发系统设备;S1, routing/forwarding system equipment;
S2,在发起上述控制连接之后,至少获取路由转发设备的标识和路由转发设备的资源信息,其中,上述资源信息包括:路由转发设备的一个或多个资源的标识,上述一个或多个资源中的每个资源的属性信息;S2. After the foregoing control connection is initiated, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, where the one or more resources are included. Attribute information for each resource;
S3,至少根据上述路由转发设备的标识管理路由转发设备的资源信息。S3. The resource information of the routing and forwarding device is managed according to at least the identifier of the routing forwarding device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only  Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive and a read only memory (Read-Only). Memory, referred to as ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本发明实施例中提供的I2RS控制终端的资源管理机制和方法,能够实现控制终端对获得的网络设备资源信息进行管理,并提供了一种控制终端与网络设备之间的资源一致性协商方法,进而实现网络控制终端对设备资源整体且高效的管控功能。The resource management mechanism and method for the I2RS control terminal provided in the embodiment of the present invention can implement the management terminal to manage the obtained network device resource information, and provide a resource consistency negotiation method between the control terminal and the network device. In turn, the network control terminal implements an overall and efficient control function of the device resources.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various 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. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种资源管理方法、装置及控制终端具有以下有益效果:解决了相关技术中存在的无法实现控制终端对设备中的资源进行统一管理的问题,进而达到了实现控制终端对设备中的资源进行统一管理的效果。 As described above, the resource management method, device, and control terminal provided by the embodiments of the present invention have the following beneficial effects: the problem that the control terminal cannot uniformly manage the resources in the device cannot be realized, and the problem is achieved. The effect of the unified management of the resources in the device by the control terminal is realized.

Claims (15)

  1. 一种资源管理方法,包括:A resource management method, including:
    发起对路由转发设备的控制连接;Initiating a control connection to the routing and forwarding device;
    在发起所述控制连接之后,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息,其中,所述资源信息包括:所述路由转发设备的一个或多个资源的标识,所述一个或多个资源中的每个资源的属性信息;After the control connection is initiated, at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device are obtained, where the resource information includes: an identifier of one or more resources of the routing and forwarding device, where Attribute information of each of the one or more resources;
    至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息。And managing resource information of the routing forwarding device according to at least the identifier of the routing forwarding device.
  2. 根据权利要求1所述的方法,其中,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息包括以下至少之一:The method according to claim 1, wherein the at least acquiring the identifier of the routing forwarding device and the resource information of the routing forwarding device comprises at least one of the following:
    与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识和所述路由转发设备的资源信息;Acquiring the identifier of the routing forwarding device and the resource information of the routing forwarding device when performing the capability exchange with the routing forwarding device;
    与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识;根据所述路由转发设备的标识使用控制终端的用户名称和所述路由转发设备建立通讯连接;在通讯连接建立后向所述路由转发设备发起用于查询所述路由转发设备的所述资源信息的查询请求;接收所述路由转发设备根据所述查询请求返回的所述资源信息。Acquiring the identifier of the routing and forwarding device when the capability is exchanged with the routing and forwarding device; establishing a communication connection with the routing forwarding device by using the user name of the controlling terminal according to the identifier of the routing forwarding device; The routing and forwarding device initiates a query request for querying the resource information of the routing and forwarding device, and receives the resource information returned by the routing and forwarding device according to the query request.
  3. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    在发起所述控制连接之后,还包括:获取所述路由转发设备的资源变更序列,其中,所述资源变更序列用于指示所述路由转发设备的资源发生变化的信息;After the initiating the control connection, the method further includes: acquiring a resource change sequence of the route forwarding device, where the resource change sequence is used to indicate information that the resource of the route forwarding device changes;
    至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息包括:根据所述资源变更序列对所述路由转发设备的资源信息进行更新。The managing the resource information of the routing and forwarding device according to the identifier of the routing and forwarding device includes: updating the resource information of the routing and forwarding device according to the resource change sequence.
  4. 根据权利要求3所述的方法,其中,根据所述资源变更序列对所述路由转发设备的资源信息进行更新包括:The method of claim 3, wherein updating the resource information of the routing forwarding device according to the resource change sequence comprises:
    将所述资源变更序列与本地保存的上次接收到的资源变更序列进行对比;Comparing the resource change sequence with a locally stored last changed resource change sequence;
    当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列一致时,不对所述路由转发设备的资源信息进行更新;When the comparison result is that the resource change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated;
    当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列不一致时,更新所述路由转发设备的资源信息。When the comparison result is that the resource change sequence is inconsistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is updated.
  5. 根据权利要求4所述的方法,其中,更新所述路由转发设备的资源信息包括:The method of claim 4, wherein updating resource information of the routing forwarding device comprises:
    当所述资源变更序列连续时,向所述路由转发设备发送变更资源的查询请求;存储所述路由转发设备根据所述查询请求返回的更新后的资源信息;When the resource change sequence is continuous, sending a query request for changing resources to the route forwarding device; storing updated resource information returned by the route forwarding device according to the query request;
    当所述资源变更序列不连续时,查看本地存储的删除老化序列和所述资源变更序列 对应的删除老化序列是否一致;根据查看结果更新所述路由转发设备的资源信息。Viewing the locally stored deletion aging sequence and the resource change sequence when the resource change sequence is discontinuous Whether the corresponding aging sequence is consistent; the resource information of the routing forwarding device is updated according to the viewing result.
  6. 根据权利要求5所述的方法,其中,根据查看结果更新所述路由转发设备的资源信息包括:The method of claim 5, wherein updating the resource information of the routing and forwarding device according to the viewing result comprises:
    当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列不一致时,向所述路由转发设备发送全部资源查询请求;更新存储所述路由转发设备根据所述全部资源查询请求发送的资源信息;When the locally-erased aging sequence is inconsistent with the aging sequence corresponding to the resource change sequence, all the resource query requests are sent to the routing and forwarding device; and the update and storage of the route forwarding device is sent according to the all resource query request. Resource information;
    当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列一致时,向所述路由转发设备发送最新变更资源查询请求;更新存储所述路由转发设备根据所述最新变更资源查询请求发送的资源信息。And sending, to the routing and forwarding device, a latest change resource query request, where the locally stored deletion aging sequence is consistent with the deletion aging sequence corresponding to the resource change sequence; and updating and storing the route forwarding device according to the latest change resource query The resource information requested to be sent.
  7. 根据权利要求1所述的方法,其中,在至少获取所述路由转发设备的标识和所述路由转发设备的资源信息之后,还包括:The method of claim 1, further comprising: after acquiring at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device,
    当确定所述路由转发设备重启断链后,删除获取的所述路由转发设备的标识和所述路由转发设备的资源信息;和/或,Deleting the obtained identifier of the routing forwarding device and the resource information of the routing forwarding device after determining that the routing forwarding device restarts the broken link; and/or,
    当确定所述路由转发设备未重启断链后,重新发起对所述路由转发设备的控制连接;在重新发起所述控制连接之后,向所述路由转发设备发送变更资源查询请求;接收所述路由转发设备根据所述变更资源查询请求返回的资源变更信息;根据所述资源变更信息对所述路由转发设备的资源信息进行更新。After determining that the routing forwarding device does not restart the broken link, re-initiating a control connection to the routing forwarding device; after re-initiating the control connection, sending a change resource query request to the routing forwarding device; receiving the route And forwarding, by the forwarding device, the resource change information returned by the resource query request, and updating the resource information of the route forwarding device according to the resource change information.
  8. 一种资源管理装置,包括:A resource management device comprising:
    第一发起模块,设置为发起对路由转发设备的控制连接;a first initiating module, configured to initiate a control connection to the routing forwarding device;
    第一获取模块,设置为在发起所述控制连接之后,至少获取所述路由转发设备的标识和所述路由转发设备的资源信息,其中,所述资源信息包括:所述路由转发设备的一个或多个资源的标识,所述一个或多个资源中的每个资源的属性信息;The first obtaining module is configured to acquire at least the identifier of the routing and forwarding device and the resource information of the routing and forwarding device after the initiating the control connection, where the resource information includes: one of the routing and forwarding devices An identifier of the plurality of resources, attribute information of each of the one or more resources;
    管理模块,设置为至少根据所述路由转发设备的标识管理所述路由转发设备的资源信息。The management module is configured to manage resource information of the routing forwarding device according to at least the identifier of the routing forwarding device.
  9. 根据权利要求8所述的装置,其中,所述第一获取模块包括以下至少之一:The apparatus of claim 8, wherein the first acquisition module comprises at least one of:
    第一获取单元,设置为在与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识和所述路由转发设备的资源信息;a first acquiring unit, configured to acquire an identifier of the routing forwarding device and resource information of the routing forwarding device when performing capability exchange with the routing forwarding device;
    第二获取单元,设置为在与所述路由转发设备进行能力交换时,获取所述路由转发设备的标识;建立单元,设置为根据所述路由转发设备的标识使用控制终端的用户名称和所述路由转发设备建立通讯连接;发起单元,设置为在通讯连接建立后向所述路由转发设备发起用于查询所述路由转发设备的所述资源信息的查询请求;接收单元,设置为接收所述路由转发设备根据所述查询请求返回的所述资源信息。 a second acquiring unit, configured to acquire an identifier of the routing forwarding device when performing capability exchange with the routing forwarding device, and an establishing unit, configured to use a user name of the controlling terminal according to the identifier of the routing forwarding device, and the The routing and forwarding device establishes a communication connection; the initiating unit is configured to initiate a query request for querying the resource information of the routing and forwarding device to the routing and forwarding device after the communication connection is established; and the receiving unit is configured to receive the route The forwarding device returns the resource information according to the query request.
  10. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    还包括:第二获取模块,设置为获取所述路由转发设备的资源变更序列,其中,所述资源变更序列用于指示所述路由转发设备的资源发生变化的信息;The method further includes: a second obtaining module, configured to acquire a resource change sequence of the routing and forwarding device, where the resource change sequence is used to indicate information that the resource of the routing forwarding device changes;
    所述管理模块包括:更新单元,设置为根据所述资源变更序列对所述路由转发设备的资源信息进行更新。The management module includes: an updating unit, configured to update resource information of the routing forwarding device according to the resource change sequence.
  11. 根据权利要求10所述的装置,其中,所述更新单元包括:The apparatus of claim 10 wherein said updating unit comprises:
    对比子单元,设置为将所述资源变更序列与本地保存的上次接收到的资源变更序列进行对比;a comparison subunit, configured to compare the resource change sequence with a locally stored last changed resource change sequence;
    处理子单元,设置为当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列一致时,不对所述路由转发设备的资源信息进行更新;当对比结果为所述资源变更序列与所述本地保存的上次接收到的资源变更序列不一致时,更新所述路由转发设备的资源信息。The processing subunit is configured to: when the comparison result is that the resource change sequence is consistent with the locally saved last received resource change sequence, the resource information of the route forwarding device is not updated; when the comparison result is the When the resource change sequence does not coincide with the locally stored last changed resource change sequence, the resource information of the route forwarding device is updated.
  12. 根据权利要求11所述的装置,其中,在更新所述路由转发设备的资源信息时,所述处理子单元包括:The apparatus according to claim 11, wherein when the resource information of the routing and forwarding device is updated, the processing subunit comprises:
    发送次子单元,设置为当所述资源变更序列连续时,向所述路由转发设备发送变更资源的查询请求;存储次子单元,设置为存储所述路由转发设备根据所述查询请求返回的更新后的资源信息;Sending a secondary subunit, configured to send a query request for changing resources to the routing forwarding device when the resource change sequence is continuous; storing a secondary subunit, configured to store an update returned by the routing forwarding device according to the query request Post resource information;
    查看次子单元,设置为当所述资源变更序列不连续时,查看本地存储的删除老化序列和所述资源变更序列对应的删除老化序列是否一致;更新次子单元,设置为根据查看结果更新所述路由转发设备的资源信息。The sub-unit is configured to check whether the deleted aging sequence stored locally and the deleted aging sequence corresponding to the resource change sequence are consistent when the resource change sequence is discontinuous; and the sub-unit is updated, and the setting is updated according to the viewing result. The resource information of the routing and forwarding device.
  13. 根据权利要求12所述的装置,其中,所述更新次子单元包括:The apparatus of claim 12 wherein said updating the sub-unit comprises:
    当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列不一致时,向所述路由转发设备发送全部资源查询请求;更新存储所述路由转发设备根据所述全部资源查询请求发送的资源信息;When the locally-erased aging sequence is inconsistent with the aging sequence corresponding to the resource change sequence, all the resource query requests are sent to the routing and forwarding device; and the update and storage of the route forwarding device is sent according to the all resource query request. Resource information;
    当所述本地存储的删除老化序列和所述资源变更序列对应的删除老化序列一致时,向所述路由转发设备发送最新变更资源查询请求;更新存储所述路由转发设备根据所述最新变更资源查询请求发送的资源信息。And sending, to the routing and forwarding device, a latest change resource query request, where the locally stored deletion aging sequence is consistent with the deletion aging sequence corresponding to the resource change sequence; and updating and storing the route forwarding device according to the latest change resource query The resource information requested to be sent.
  14. 根据权利要求8所述的装置,其中,还包括:The apparatus of claim 8 further comprising:
    删除模块,设置为当确定所述路由转发设备重启断链后,删除获取的所述路由转发设备的标识和所述路由转发设备的资源信息;和/或,The deleting module is configured to: after determining that the routing forwarding device restarts the broken link, deleting the obtained identifier of the routing forwarding device and resource information of the routing forwarding device; and/or,
    第二发起模块,设置为当确定所述路由转发设备未重启断链后,重新发起对所述路由转发设备的控制连接;发送模块,设置为在重新发起所述控制连接之后,向所述路由 转发设备发送变更资源查询请求;接收模块,设置为接收所述路由转发设备根据所述变更资源查询请求返回的资源变更信息;更新模块,设置为根据所述资源变更信息对所述路由转发设备的资源信息进行更新。a second initiating module, configured to re-initiate a control connection to the routing forwarding device after determining that the routing forwarding device does not restart the broken link; and the sending module is configured to: after re-initiating the control connection, to the routing The forwarding device sends a change resource query request, and the receiving module is configured to receive the resource change information returned by the routing and forwarding device according to the change resource query request, and the update module is configured to: according to the resource change information, the route forwarding device Resource information is updated.
  15. 一种控制终端,包括权利要求8至14中任意一项所述的装置。 A control terminal comprising the apparatus of any one of claims 8 to 14.
PCT/CN2016/076653 2015-07-10 2016-03-17 Resource management method, device, and control terminal WO2016177135A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510408512.6 2015-07-10
CN201510408512.6A CN106341252A (en) 2015-07-10 2015-07-10 Resource management method and device and control terminal

Publications (1)

Publication Number Publication Date
WO2016177135A1 true WO2016177135A1 (en) 2016-11-10

Family

ID=57218133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076653 WO2016177135A1 (en) 2015-07-10 2016-03-17 Resource management method, device, and control terminal

Country Status (2)

Country Link
CN (1) CN106341252A (en)
WO (1) WO2016177135A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255937B (en) * 2017-12-08 2020-09-29 未鲲(上海)科技服务有限公司 SDN-based resource cleaning method and device, storage medium and computer equipment
CN115733786A (en) * 2021-08-27 2023-03-03 中兴通讯股份有限公司 Routing and cloud resource registration method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155134A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Path computation and network topological method, structure, system, entity and router
CN103338150A (en) * 2013-07-19 2013-10-02 中国人民解放军信息工程大学 Method and device for establishing information communication network system structure, as well as server and router
US20140371880A1 (en) * 2013-06-17 2014-12-18 Kt Corporation Methods for changing an authority of control for a controller in environment having multiple controllers

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941993A (en) * 2005-10-01 2007-04-04 华为技术有限公司 Method for controlling mobile-terminal text
CN102791044B (en) * 2012-07-27 2014-12-24 上海顶竹通讯技术有限公司 Interconnecting device between private-network switch and mobile core network and interconnecting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155134A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Path computation and network topological method, structure, system, entity and router
US20140371880A1 (en) * 2013-06-17 2014-12-18 Kt Corporation Methods for changing an authority of control for a controller in environment having multiple controllers
CN103338150A (en) * 2013-07-19 2013-10-02 中国人民解放军信息工程大学 Method and device for establishing information communication network system structure, as well as server and router

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ATLAS, A. ET AL.: "An Architecture for the Interface to the Routing System", DRAFT-ATLAS-I2RS-ARCHITECTURE-00, 28 June 2013 (2013-06-28) *
BITAR, N. ET AL.: "Interface to the Routing System (12RS) tor Service Chaining: Use Cases and Requirements", DRAFT-BITAR-I2RS-SERVICE-CHAINING-00, 15 July 2013 (2013-07-15) *
LI, X. ET AL.: "I2RS MPLS LSPs Use Case", DRAFTS-LI-MPLS-LSPS-USE-CASE-00, 14 November 2014 (2014-11-14) *

Also Published As

Publication number Publication date
CN106341252A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN109315004B (en) PDU type setting method and related entity
WO2018161803A1 (en) Method and device for selecting network slices
CN113596191B (en) Data processing method, network element equipment and readable storage medium
WO2019134648A1 (en) Implementation method and device for control plane resource migration, and network function entity
WO2015172362A1 (en) Network function virtualization network system, data processing method and device
US20160080529A1 (en) Method and device for sending requests
CN109417492B (en) Network function NF management method and NF management equipment
WO2019029310A1 (en) Network management method and system
WO2018000202A1 (en) Load migration method, apparatus and system
WO2018219148A1 (en) Method, device and system for managing transmission network slices
US11638138B2 (en) Device-to-device content providing method
JP2019057905A (en) Role-based automatic configuration system and method for ethernet(r) switches
WO2018228165A1 (en) Data transmission method and device
WO2020216038A1 (en) Data management method, lepm, and mepm
WO2017220021A1 (en) Short message processing method and apparatus
US11838969B2 (en) Method for accessing local network, and related device
WO2016177135A1 (en) Resource management method, device, and control terminal
TW200836542A (en) A method of providing a mobility service
WO2016177134A1 (en) Resource processing method and device
CN102821118A (en) Method and system for backing up services in network with heterogeneous nodes
TW201545510A (en) Method of message routing for a distributed computing system
CN108259292B (en) Method and device for establishing tunnel
EP3487147A1 (en) Information synchronization method and device
CN113992732B (en) Terminal management control method, device, server and storage medium
CN117729591A (en) Virtual network group communication method, SMF network element, equipment and storage medium

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: 16789129

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: 16789129

Country of ref document: EP

Kind code of ref document: A1