WO2013000231A1 - Batch service processing method and device - Google Patents

Batch service processing method and device Download PDF

Info

Publication number
WO2013000231A1
WO2013000231A1 PCT/CN2011/082220 CN2011082220W WO2013000231A1 WO 2013000231 A1 WO2013000231 A1 WO 2013000231A1 CN 2011082220 W CN2011082220 W CN 2011082220W WO 2013000231 A1 WO2013000231 A1 WO 2013000231A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource configuration
service
request
resource
management module
Prior art date
Application number
PCT/CN2011/082220
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 WO2013000231A1 publication Critical patent/WO2013000231A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Definitions

  • the present invention relates to the field of automatic switched optical network technologies, and in particular, to a method and apparatus for batch service processing. Background technique
  • the automatic switching optical network is an optical transmission network that implements automatic switching and connection control through a control plane, that is, an optical transmission system such as an SDH (Synchronous Digital Hierarchy) and an OTN (Optical Transport Network). And an optical optical transmission network using optical fiber as a physical transmission medium.
  • an optical transmission system such as an SDH (Synchronous Digital Hierarchy) and an OTN (Optical Transport Network).
  • an optical optical transmission network using optical fiber as a physical transmission medium.
  • the structure of the automatic switched optical network system can be divided into functions according to functions: transmission plane, control plane, and management plane.
  • the control plane is the core of the automatic switched optical network.
  • the control plane is distributed.
  • Each node of the automatic switched optical network system can independently initiate signaling to perform service establishment, service deletion, and service recovery.
  • the biggest advantage of the automatic switched optical network is the intelligent selection of paths and the recovery of services at the time of failure. Path selection and service recovery can greatly reduce the cost and complexity of maintaining an automated switched optical network.
  • the main purpose of the present invention is to provide a method and an apparatus for processing a batch service, which can shorten the processing time of a batch processing service in an automatic switched optical network, and improve the efficiency of a node processing a batch service.
  • the embodiment of the present invention provides a method for processing a batch service, where the method includes: when the resource management module is in an idle state, combining the service requests that are added to the resource operation buffer, and sending the merged service request to the resource management module. So that the resource management module performs resource allocation according to the service request;
  • the resource configuration request that is added to the resource configuration buffer is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
  • the method further includes: setting the resource management module state to a busy state;
  • the method further includes: setting the resource configuration module state to a busy state.
  • the method further includes: receiving a resource configuration response sent by the resource configuration module; and setting the resource configuration module state to an idle state.
  • the service request is a service establishment request, a service recovery request, or a service deletion request;
  • the resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion.
  • the embodiment of the invention further provides a device for processing bulk services, including a call management module, a resource management module and a resource configuration module;
  • the call management module is configured to: when the resource management module is in an idle state, merge the service requests that are added to the resource operation buffer, and send the merged service request to the resource management module, so that the resource management module is configured according to the The service request performs resource allocation; generates a resource configuration request according to the service response fed back by the resource management module, and adds the resource configuration request to the resource configuration buffer; and when the resource configuration module is in an idle state, the resource to be added to the resource configuration buffer
  • the configuration request is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
  • the call management module is further configured to: after the merged service request is sent to the resource management module, set the resource management module state to a busy state; and set the resource according to the service response fed back by the resource management module.
  • the management module status is set to idle.
  • the call management module is further configured to set the resource configuration module state to a busy state after the merged resource configuration request is sent to the resource configuration module.
  • the call management module is further configured to receive a resource configuration response sent by the resource configuration module; and set the resource configuration module state to an idle state.
  • the service request is a service establishment request, a service recovery request, or a service deletion request;
  • the resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion.
  • the method and device for batch service processing provided by the embodiment of the present invention combines multiple service requests and sends them to the resource management module for resource allocation, and combines multiple resource configuration requests and sends them to the resource configuration module for resource configuration.
  • the batch processing time is shortened, and the batch processing efficiency is improved.
  • FIG. 1 is a flow chart of an embodiment of a method for batch service processing according to the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a device for batch service processing according to the present invention. detailed description
  • Step S101 When a resource management module is in an idle state, merge service requests that are added to a resource operation buffer, and merge the services. The request is sent to the resource management module, so that the resource management module performs resource allocation according to the service request;
  • Step S102 Generate a resource configuration request according to the service response fed back by the resource management module, and add the resource configuration request to the resource configuration buffer.
  • Step S103 When the resource configuration module is in an idle state, the resource configuration request that is added to the resource configuration buffer is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
  • the method for processing the batch service is performed by combining the multiple service requests and sending the information to the resource management module, and combining the multiple resource configuration requests and then sending the information to the resource configuration module, thereby shortening the time of the batch service processing and improving the service processing. s efficiency.
  • the step S101 may further include the following processing: setting the resource management module state to a busy state. At this point, the resource management module is busy. If the call management module receives the service request, the call management module only needs to add the received service request to the resource operation buffer.
  • the following processing may be further included: setting the resource management module state to an idle state according to the service response fed back by the resource management module.
  • the resource management module is idle. If there is a service request in the resource operation buffer and there is only one service request, the service request is directly sent to the resource management module. If there are multiple service requests, multiple The business request is merged and then sent to the resource management module. After receiving the service request, the resource management module performs corresponding resource allocation, and then the resource allocation result is ringed as a service. The form should be fed back to the call management module.
  • the resource management module performs the corresponding resource allocation according to the service request, which is a prior art, and is not described here.
  • the service request is a service establishment request, a service recovery request, or a service deletion request. That is, if there are multiple service requests in the resource operation buffer, the multiple service requests may be of the same type or different types, such as service establishment requests, service deletion requests, or service recovery requests. It may also be a service establishment request and a service deletion request, or a service establishment request and a service recovery request, or a service deletion request and a service recovery request, or a service establishment request, a service deletion request, and a service recovery request.
  • the above-mentioned combination of multiple service requests may be combined according to a preset rule, and merged like a type of service request; or may be a combination of different types of service requests.
  • the resource management module receives the merged service request, the merged service response is fed back to the call management module.
  • the step S103 may further include the following: setting the resource configuration module state to a busy state. At this time, the resource configuration module is busy. If the call management module receives the service response sent by the resource management module, the call management module only needs to generate a corresponding resource configuration request according to the service response, and adds the resource configuration request to the resource. Configure the operation buffer.
  • the call management module is a single stripe regardless of whether the received service response is a single strip or a merged one.
  • the resource management module receives a merged service request, and the merged service request is formed by combining three service requests, and the resource management module allocates resources for the corresponding three services, and allocates resources of three services.
  • the assignment result is fed back to the call management module in the form of a consolidated business response.
  • the call management module After receiving the merged service response, the call management module generates three corresponding resource configuration requests.
  • the method for performing the batch service processing after the setting the resource configuration module state to the busy state, the method further includes: receiving a resource configuration response sent by the resource configuration module; and setting the resource configuration module state to an idle state.
  • the resource configuration module is idle.
  • the call management module directly sends the resource configuration request to the resource configuration module. For resource configuration requests, multiple resource configuration requests are merged and then sent to the resource configuration module. After receiving the resource configuration request, the resource configuration module performs corresponding resource configuration, and then feeds the resource configuration result to the call management module in the form of a resource configuration response.
  • the configuration of the resource configuration module according to the resource configuration request is a prior art, and details are not described herein.
  • the resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion. That is, if there are multiple resource configuration requests in the resource configuration buffer, the multiple resource configuration requests may be of the same type or different types, such as resource configuration requests established by the service, or resource configurations of the service deletion.
  • the foregoing may combine multiple resource configuration requests according to a preset rule, for example, may be the same type of resource configuration request for merging; or may be different types of resource configuration requests for merging.
  • the resource management module receives the merged resource configuration request, the merged resource configuration response is fed back to the call management module.
  • the method for batch service processing provided by the present invention can be applied to an automatic switched optical network, and the multiple resource requests are combined and sent to the resource management module for resource allocation, and more The resource configuration request is combined and sent to the resource configuration module for resource configuration, which shortens the time for the node to process the batch service in the automatic switched optical network, and improves the efficiency of the node processing the batch service.
  • an embodiment of an apparatus 100 for batch service processing of the present invention which includes a call management module 110, a resource management module 120, and a resource configuration module 130.
  • the call management module 110 is configured to: when the resource management module 120 is in an idle state, merge the service requests that are added to the resource operation buffer, and send the merged service request to the resource management module 120, so that the resource management module
  • the resource allocation is performed according to the service request, and the resource configuration request is generated according to the service response fed back by the resource management module 120, and the resource configuration request is added to the resource configuration buffer; and when the resource configuration module 130 is in an idle state, the resource configuration module is added to the resource configuration buffer.
  • the resource configuration request is merged, and the merged resource configuration request is sent to the resource configuration module 130, so that the resource configuration module 130 performs resource configuration according to the resource configuration request.
  • the plurality of service requests are combined and sent to the resource management module 120, and the plurality of resource configuration requests are combined and sent to the resource configuration module 130, thereby shortening the time for batch service processing, and Improve the efficiency of business processing.
  • the call management module 110 may be further configured to set the state of the resource management module 120 to a busy state after the merged service request is sent to the resource management module 120. At this time, the resource management module 120 is busy. If the call management module 120 receives the service request, the call management module 120 only needs to add the received service request to the resource operation buffer.
  • the call management module 110 may be further configured to set the state of the resource management module 120 to an idle state according to the service response fed back by the resource management module 120. At this time, the resource management module 120 is idle. If there is a service request in the resource operation buffer and there is only one service request, the service request is directly sent to the resource management module 120. If there are multiple service requests, The plurality of service requests are merged and then sent to the resource management module 120. Resource management module 120 receives After the service request, the corresponding resource allocation is performed, and then the resource allocation result is fed back to the call management module in the form of a service response. The resource management module 120 performs the corresponding resource allocation according to the service request, which is a prior art, and details are not described herein again.
  • the service request is a service establishment request, a service recovery request, or a service deletion request. That is, if there are multiple service requests in the resource operation buffer, the multiple service requests may be of the same type or different types, such as service establishment requests, service deletion requests, or service recovery requests. It may also be a service establishment request and a service deletion request, or a service establishment request and a service recovery request, or a service deletion request and a service recovery request, or a service establishment request, a service deletion request, and a service recovery request.
  • the combination of multiple service requests may be combined according to a preset rule, for example, may be the same type of service request for merging; or may be different types of service requests for merging.
  • the resource management module 120 receives the merged service request, the corresponding feedback to the call management module 110 is a combined service response.
  • the call management module 120 may further be configured to set the state of the resource configuration module 130 to be busy after transmitting the merged resource configuration request to the resource configuration module 130. status. At this time, the resource configuration module 130 is busy. If the call management module 110 receives the service response sent by the resource management module 120, the call management module 110 only needs to generate a corresponding resource configuration request according to the service response, and configure the resource. Request to join the resource configuration operation buffer.
  • the call management module 110 is a single strip or a merged one, and the corresponding resource configuration request is a single strip.
  • the resource management module 110 is a single strip or a merged one, and the corresponding resource configuration request is a single strip.
  • the call management module 110 receives a merged service request, and the merged service request is formed by combining three service requests, and the resource management module 120 allocates resources for the corresponding three services, and three The resource allocation result of the service is fed back to the call management module 110 in the form of a combined service response. After receiving the merged service response, the call management module 110 generates three corresponding resource configuration requests.
  • the call management module 110 may further be configured to receive a resource configuration response sent by the resource configuration module 130; and set the state of the resource configuration module 130 to be based on the resource configuration response. Idle state. At this time, the resource configuration module 130 is idle. If there is a resource configuration request in the resource configuration operation buffer and there is only one resource configuration request, the call management module 110 directly sends the resource configuration request to the resource configuration module 130. If there are multiple resource configuration requests, multiple resource configuration requests are merged and then sent to the resource configuration module 130. After receiving the resource configuration request, the resource configuration module 130 performs corresponding resource configuration, and then feeds back the resource configuration result to the call management module 110 in the form of a resource configuration response.
  • the configuration of the resource configuration module 130 according to the resource configuration request is a prior art, and details are not described herein again.
  • the resource configuration request is a resource configuration request established by a service, a resource configuration request for service recovery, or a resource configuration request for service deletion. That is, if there are multiple resource configuration requests in the resource configuration buffer, the multiple resource configuration requests may be of the same type or different types, such as resource configuration requests established by the service, or resource configurations of the service deletion.
  • the merging of the multiple resource configuration requests may be performed according to the preset rules, for example, may be the same type of resource configuration request for merging; or may be different types of resource configuration requests for merging.
  • the resource management module 120 receives the merged resource configuration request, the corresponding response to the call management module 110 is a combined resource configuration response.
  • the apparatus 100 for batch service processing according to the embodiment of the present invention may be disposed on a node in an automatic switched optical network, or may be separately set.
  • the apparatus 100 for batch service processing provided by the present invention is applied to an automatic switched optical network, and the plurality of service requests are combined and sent to the resource management module 120 for resource allocation, and multiple resource configuration requests are combined and sent to the resource configuration.
  • the module 130 performs resource configuration, shortens the time for the node to process the batch service in the automatic switched optical network, and improves the efficiency of the node processing the batch service.
  • the call management module After receiving the first service establishment request, the call management module adds the first service establishment request to the resource operation buffer, sends the first service establishment request to the resource management module, and sets the resource management module to be busy. State
  • the resource management module performs corresponding resource allocation for the corresponding service according to the first service establishment request, and feeds back the resource allocation result to the call management module in a manner of establishing a service response;
  • the call management module may receive a subsequent service establishment request during a service setup response time sent by the resource management module to the service establishment management feedback module.
  • the call management module receives the first service establishment request response, indicating that the resource management module is in an idle state, and sets the resource management module to an idle state. At this time, if the resource operation buffer has a service establishment request, and the service establishment request If the number is 1, the service establishment request is directly sent to the resource management module. If the service establishment request is multiple, the multiple service establishment requests are combined and then sent to the resource management module.
  • the call management module After receiving the first service establishment request response, the call management module generates a corresponding first resource configuration request according to the first service establishment request response, and adds the first resource configuration request. Enter the resource configuration buffer, and send the first resource configuration request to the resource configuration module, and set the resource configuration module to be busy;
  • the resource configuration module performs corresponding resource configuration according to the first resource configuration request, and feeds the resource configuration result to the call management module in the form of a resource configuration response.
  • the call management module generates service establishment success information according to the resource configuration response, and feeds back to the service requesting device.
  • the call management module sends a first resource configuration request to the resource configuration module, and receives a service response that is subsequently fed back by the resource management module to the first resource configuration response time fed back by the receiving resource configuration module, according to the service response of the subsequent feedback.
  • a corresponding resource configuration request is generated, and the generated resource configuration request is added to the resource configuration buffer.
  • the call management module receives the first resource configuration response. At this time, it indicates that the resource configuration module is in an idle state, and the resource configuration module is set to an idle state. If there is a resource configuration request in the resource configuration buffer, and the resource configuration request is one, the resource configuration request is sent to the resource configuration module; if the resource configuration request is multiple, multiple resource configuration requests are performed. Merging, and then sending the merged resource configuration request to the resource configuration module; the resource configuration module performs corresponding resource configuration according to the resource configuration request, and feeds the configuration result to the call management module in a manner of resource configuration response;
  • the call management module generates a corresponding service establishment success information according to the resource configuration response, and feeds back to the service requesting device.
  • the call management module sends the service establishment request to the resource management module for resource allocation. If there are multiple service establishment requests, multiple service establishment requests are combined before being sent. Similarly, as long as there is a resource configuration request for the service establishment in the resource configuration buffer, and the resource configuration module is idle, the call management module sends the resource configuration request established by the service to the resource configuration module for resource configuration. If there are multiple services established The resource configuration request merges the resource configuration requests established by the plurality of services before sending.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a batch service processing method and device. The method is: when a resource management module is idle, merging service requests added to a resource operation buffer area, and sending a service request after merging to the resource management module; generating a resource configuration request according to a service response fed back by the resource management module, and adding the resource configuration request to a resource configuration buffer area; and when a resource configuration module is in an idle state, merging resource configuration requests added to the resource configuration buffer area, and sending a resource configuration request after merging to the resource configuration module. In the batch service processing method and device provided in the present invention, multiple service requests are merged and then sent to the resource management module for resource allocation, and multiple resource configuration requests are merged and then sent to the resource configuration module for resource configuration, so that the batch service processing time is shortened and the batch service processing efficiency is improved.

Description

批量业务处理的方法和装置 技术领域  Method and device for batch business processing
本发明涉及自动交换光网络技术领域, 尤其涉及一种批量业务处理的 方法和装置。 背景技术  The present invention relates to the field of automatic switched optical network technologies, and in particular, to a method and apparatus for batch service processing. Background technique
自动交换光网络是一种通过控制平面实现自动交换和连接控制的光传 送网, 即由 SDH ( Synchronous Digital Hierarchy, 同步数字体系)和 OTN ( Optical Transport Network, 光传送网)等光传输***构成, 并以光纤为物 理传送媒介的智能光传送网。  The automatic switching optical network is an optical transmission network that implements automatic switching and connection control through a control plane, that is, an optical transmission system such as an SDH (Synchronous Digital Hierarchy) and an OTN (Optical Transport Network). And an optical optical transmission network using optical fiber as a physical transmission medium.
自动交换光网络***结构按功能可划分为: 传送平面、 控制平面、 管 理平面。 其中, 控制平面是自动交换光网络的核心。 控制平面是分布式的, 自动交换光网络***的每个节点都可以独立发起信令, 进行业务建立、 业 务删除以及业务恢复的过程。 自动交换光网络的最大优势就是可以进行路 径的智能选择和故障时业务的恢复。 路径选择和业务恢复可以大大降低维 护自动交换光网络成本和复杂度。  The structure of the automatic switched optical network system can be divided into functions according to functions: transmission plane, control plane, and management plane. Among them, the control plane is the core of the automatic switched optical network. The control plane is distributed. Each node of the automatic switched optical network system can independently initiate signaling to perform service establishment, service deletion, and service recovery. The biggest advantage of the automatic switched optical network is the intelligent selection of paths and the recovery of services at the time of failure. Path selection and service recovery can greatly reduce the cost and complexity of maintaining an automated switched optical network.
进行自动交换光网络的业务恢复时, 业务恢复的速度是最关键的性能 指标。 但是, 目前自动交换光网络中业务恢复是一条一条地恢复, 在业务 量大的情况下, 业务恢复时间很长, 业务恢复的效率低下。 发明内容  When performing service recovery of an automatically switched optical network, the speed of service recovery is the most critical performance indicator. However, the service recovery in the automatic switched optical network is restored one by one. In the case of a large amount of traffic, the service recovery time is long and the service recovery efficiency is low. Summary of the invention
本发明的主要目的在于提供一种批量业务处理的方法和装置, 能够缩 短自动交换光网络中节点处理批量业务时间, 提高节点处理批量业务的效 率。 本发明实施例提出一种批量业务处理的方法, 该方法包括: 当资源管理模块处于空闲状态, 将加入资源操作緩沖区的业务请求进 行合并, 将合并后的业务请求发送给所述资源管理模块, 以使所述资源管 理模块根据业务请求进行资源分配; The main purpose of the present invention is to provide a method and an apparatus for processing a batch service, which can shorten the processing time of a batch processing service in an automatic switched optical network, and improve the efficiency of a node processing a batch service. The embodiment of the present invention provides a method for processing a batch service, where the method includes: when the resource management module is in an idle state, combining the service requests that are added to the resource operation buffer, and sending the merged service request to the resource management module. So that the resource management module performs resource allocation according to the service request;
根据所述资源管理模块反馈的业务响应, 生成资源配置请求, 并将资 源配置请求加入资源配置緩沖区;  Generating a resource configuration request according to the service response fed back by the resource management module, and adding a resource configuration request to the resource configuration buffer;
当资源配置模块处于空闲状态, 将加入资源配置緩沖区的资源配置请 求进行合并, 将合并后的资源配置请求发送给所述资源配置模块, 以使所 述资源配置模块根据资源配置请求进行资源配置。  When the resource configuration module is in an idle state, the resource configuration request that is added to the resource configuration buffer is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request. .
优选地, 所述将合并后的业务请求发送给资源管理模块之后还包括: 将所述资源管理模块状态设置为忙碌状态;  Preferably, after the sending the merged service request to the resource management module, the method further includes: setting the resource management module state to a busy state;
所述根据资源管理模块反馈的业务响应, 生成资源配置请求之前还包 括: 根据所述资源管理模块反馈的业务响应, 将所述资源管理模块状态设 置为空闲状态。  The generating, before the generating the resource configuration request, according to the service response fed back by the resource management module, the method further includes: setting the resource management module state to an idle state according to the service response fed back by the resource management module.
优选地, 所述将合并后的资源配置请求发送给资源配置模块之后还包 括: 将所述资源配置模块状态设置为忙碌状态。  Preferably, after the sending the merged resource configuration request to the resource configuration module, the method further includes: setting the resource configuration module state to a busy state.
优选地, 所述将资源配置模块状态设置为忙碌状态之后还包括: 接收 所述资源配置模块发送的资源配置响应; 将所述资源配置模块状态设置为 空闲状态。  Preferably, after the setting the resource configuration module state to the busy state, the method further includes: receiving a resource configuration response sent by the resource configuration module; and setting the resource configuration module state to an idle state.
优选地, 所述业务请求为业务建立请求、 业务恢复请求或业务删除请 求;  Preferably, the service request is a service establishment request, a service recovery request, or a service deletion request;
所述资源配置请求为业务建立的资源配置请求、 业务恢复的资源配置 请求或业务删除的资源配置请求。  The resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion.
本发明实施例还提出一种批量业务处理的装置, 包括呼叫管理模块、 资源管理模块和资源配置模块; 所述呼叫管理模块, 设置为当资源管理模块处于空闲状态, 将加入资 源操作緩沖区的业务请求进行合并, 将合并后的业务请求发送给所述资源 管理模块, 以使所述资源管理模块根据业务请求进行资源分配; 根据资源 管理模块反馈的业务响应, 生成资源配置请求, 并将所述资源配置请求加 入资源配置緩沖区; 以及当资源配置模块处于空闲状态, 将加入资源配置 緩沖区的资源配置请求进行合并, 将合并后的资源配置请求发送给所述资 源配置模块, 以使所述资源配置模块根据资源配置请求进行资源配置。 The embodiment of the invention further provides a device for processing bulk services, including a call management module, a resource management module and a resource configuration module; The call management module is configured to: when the resource management module is in an idle state, merge the service requests that are added to the resource operation buffer, and send the merged service request to the resource management module, so that the resource management module is configured according to the The service request performs resource allocation; generates a resource configuration request according to the service response fed back by the resource management module, and adds the resource configuration request to the resource configuration buffer; and when the resource configuration module is in an idle state, the resource to be added to the resource configuration buffer The configuration request is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
优选地, 所述呼叫管理模块, 还设置为在将合并后的业务请求发送给 资源管理模块之后, 将所述资源管理模块状态设置为忙碌状态; 以及根据 资源管理模块反馈的业务响应 , 将资源管理模块状态设置为空闲状态。  Preferably, the call management module is further configured to: after the merged service request is sent to the resource management module, set the resource management module state to a busy state; and set the resource according to the service response fed back by the resource management module. The management module status is set to idle.
优选地, 所述呼叫管理模块, 还设置为在将合并后的资源配置请求发 送给资源配置模块之后, 将所述资源配置模块状态设置为忙碌状态。  Preferably, the call management module is further configured to set the resource configuration module state to a busy state after the merged resource configuration request is sent to the resource configuration module.
优选地, 所述呼叫管理模块, 还设置为接收资源配置模块发送的资源 配置响应; 以及将所述资源配置模块状态设置为空闲状态。  Preferably, the call management module is further configured to receive a resource configuration response sent by the resource configuration module; and set the resource configuration module state to an idle state.
优选地, 所述业务请求为业务建立请求、 业务恢复请求或业务删除请 求;  Preferably, the service request is a service establishment request, a service recovery request, or a service deletion request;
所述资源配置请求为业务建立的资源配置请求、 业务恢复的资源配置 请求或业务删除的资源配置请求。  The resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion.
本发明实施例所提供的批量业务处理的方法和装置, 通过将多个业务 请求合并后发送给资源管理模块进行资源分配, 以及将多条资源配置请求 合并后发送给资源配置模块进行资源配置, 缩短了批量业务处理时间, 提 高了批量业务处理效率。 附图说明  The method and device for batch service processing provided by the embodiment of the present invention combines multiple service requests and sends them to the resource management module for resource allocation, and combines multiple resource configuration requests and sends them to the resource configuration module for resource configuration. The batch processing time is shortened, and the batch processing efficiency is improved. DRAWINGS
图 1是本发明的批量业务处理的方法一实施例的流程图;  1 is a flow chart of an embodiment of a method for batch service processing according to the present invention;
图 2是本发明的批量业务处理的装置一实施例的结构示意图。 具体实施方式 2 is a schematic structural diagram of an embodiment of a device for batch service processing according to the present invention. detailed description
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。  It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参见图 1 , 提出本发明的一种批量业务处理的方法一实施例, 其包括: 步驟 S101、 当资源管理模块处于空闲状态, 将加入资源操作緩沖区的 业务请求进行合并, 将合并后的业务请求发送给资源管理模块, 以使资源 管理模块根据业务请求进行资源分配;  Referring to FIG. 1 , an embodiment of a method for batch service processing according to the present invention is provided. The method includes: Step S101: When a resource management module is in an idle state, merge service requests that are added to a resource operation buffer, and merge the services. The request is sent to the resource management module, so that the resource management module performs resource allocation according to the service request;
步驟 S102、 根据资源管理模块反馈的业务响应, 生成资源配置请求, 并将资源配置请求加入资源配置緩沖区;  Step S102: Generate a resource configuration request according to the service response fed back by the resource management module, and add the resource configuration request to the resource configuration buffer.
步驟 S103、 当资源配置模块处于空闲状态, 将加入资源配置緩沖区的 资源配置请求进行合并, 将合并后的资源配置请求发送给资源配置模块, 以使资源配置模块根据资源配置请求进行资源配置。  Step S103: When the resource configuration module is in an idle state, the resource configuration request that is added to the resource configuration buffer is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
上述批量业务处理的方法实施例, 通过将多条业务请求合并后发送给 资源管理模块, 以及将多条资源配置请求合并后发送给资源配置模块, 缩 短了批量业务处理的时间, 提高了业务处理的效率。  The method for processing the batch service is performed by combining the multiple service requests and sending the information to the resource management module, and combining the multiple resource configuration requests and then sending the information to the resource configuration module, thereby shortening the time of the batch service processing and improving the service processing. s efficiency.
进一步地, 上述批量业务处理的方法实施例中, 所述步驟 S101之后还 可以包括如下处理: 将资源管理模块状态设置为忙碌状态。 此时表明资源 管理模块忙碌, 若此时呼叫管理模块接收到业务请求, 则呼叫管理模块只 需将收到的业务请求加入到资源操作緩沖区。  Further, in the method embodiment of the batch service processing, the step S101 may further include the following processing: setting the resource management module state to a busy state. At this point, the resource management module is busy. If the call management module receives the service request, the call management module only needs to add the received service request to the resource operation buffer.
本实施例中, 在生成资源配置请求之前还可以包括如下处理: 根据资 源管理模块反馈的业务响应, 将资源管理模块状态设置为空闲状态。 此时 表明资源管理模块空闲, 若此时资源操作緩沖区中存在业务请求, 且只有 1 条业务请求, 则直接将该业务请求发送给资源管理模块; 若有多条业务请 求, 则将多条业务请求合并, 然后发送给资源管理模块。 资源管理模块收 到业务请求后, 则进行相应的资源分配, 之后再将资源分配结果以业务响 应的形式反馈给呼叫管理模块。 其中资源管理模块根据业务请求进行相应 的资源分配是现有技术, 在此不再赘述。 In this embodiment, before the resource configuration request is generated, the following processing may be further included: setting the resource management module state to an idle state according to the service response fed back by the resource management module. The resource management module is idle. If there is a service request in the resource operation buffer and there is only one service request, the service request is directly sent to the resource management module. If there are multiple service requests, multiple The business request is merged and then sent to the resource management module. After receiving the service request, the resource management module performs corresponding resource allocation, and then the resource allocation result is ringed as a service. The form should be fed back to the call management module. The resource management module performs the corresponding resource allocation according to the service request, which is a prior art, and is not described here.
进一步地, 上述批量业务处理的方法实施例中, 所述业务请求为业务 建立请求、 业务恢复请求或业务删除请求。 即若资源操作緩沖区中存在多 条业务请求, 该多条业务请求可以是同一类型, 也可以不同一类型, 如可 以都是业务建立请求, 或都是业务删除请求, 或都是业务恢复请求; 也可 以是业务建立请求和业务删除请求, 或业务建立请求和业务恢复请求, 或 业务删除请求和业务恢复请求, 或业务建立请求、 业务删除请求和业务恢 复请求。  Further, in the foregoing method for processing a batch service, the service request is a service establishment request, a service recovery request, or a service deletion request. That is, if there are multiple service requests in the resource operation buffer, the multiple service requests may be of the same type or different types, such as service establishment requests, service deletion requests, or service recovery requests. It may also be a service establishment request and a service deletion request, or a service establishment request and a service recovery request, or a service deletion request and a service recovery request, or a service establishment request, a service deletion request, and a service recovery request.
上述所述的将多条业务请求合并可以根据预先设定好的规则进行合 并, 如同类型的业务请求进行合并; 也可以是不同类型的业务请求进行合 并。  The above-mentioned combination of multiple service requests may be combined according to a preset rule, and merged like a type of service request; or may be a combination of different types of service requests.
另外, 资源管理模块若接收合并后的业务请求, 则向呼叫管理模块对 应反馈的是合并式业务响应。  In addition, if the resource management module receives the merged service request, the merged service response is fed back to the call management module.
进一步地, 上述批量业务处理的方法实施例中, 所述步驟 S103之后还 可以包括如下处理: 将资源配置模块状态设置为忙碌状态。 此时表明资源 配置模块忙碌, 若此时呼叫管理模块接收到资源管理模块发送的业务响应, 则呼叫管理模块只需根据所述业务响应生成对应的资源配置请求, 并将资 源配置请求加入到资源配置操作緩沖区中。  Further, in the foregoing method for processing the batch service, the step S103 may further include the following: setting the resource configuration module state to a busy state. At this time, the resource configuration module is busy. If the call management module receives the service response sent by the resource management module, the call management module only needs to generate a corresponding resource configuration request according to the service response, and adds the resource configuration request to the resource. Configure the operation buffer.
本实施例中, 呼叫管理模块不论接收的业务响应是单条式的还是合并 式的, 对应生成的资源配置请求都是单条式的。 例如, 资源管理模块接收 到一合并后的业务请求, 该合并后的业务请求是由 3条业务请求合并形成, 则资源管理模块为对应的 3条业务进行资源分配, 并将 3条业务的资源分 配结果以合并式业务响应的形式反馈给呼叫管理模块。 呼叫管理模块接收 到该合并式业务响应后, 则生成 3条相应的资源配置请求。 进一步地, 上述批量业务处理的方法实施例中, 所述将资源配置模块 状态设置为忙碌状态之后还包括如下处理: 接收资源配置模块发送的资源 配置响应; 将资源配置模块状态设置为空闲状态。 此时表明资源配置模块 空闲, 若此时资源配置操作緩沖区中存在资源配置请求, 且只有 1 条资源 配置请求, 则呼叫管理模块直接将该资源配置请求发送给资源配置模块; 若有多条资源配置请求, 则多条资源配置请求合并, 然后发送给资源配置 模块。 资源配置模块收到资源配置请求后则进行相应的资源配置, 之后再 将资源配置结果以资源配置响应的形式反馈给呼叫管理模块。 其中所述资 源配置模块根据资源配置请求进行资源配置是现有技术, 在此不再赘述。 In this embodiment, the call management module is a single stripe regardless of whether the received service response is a single strip or a merged one. For example, the resource management module receives a merged service request, and the merged service request is formed by combining three service requests, and the resource management module allocates resources for the corresponding three services, and allocates resources of three services. The assignment result is fed back to the call management module in the form of a consolidated business response. After receiving the merged service response, the call management module generates three corresponding resource configuration requests. Further, in the method for performing the batch service processing, after the setting the resource configuration module state to the busy state, the method further includes: receiving a resource configuration response sent by the resource configuration module; and setting the resource configuration module state to an idle state. The resource configuration module is idle. If there is a resource configuration request in the resource configuration operation buffer and there is only one resource configuration request, the call management module directly sends the resource configuration request to the resource configuration module. For resource configuration requests, multiple resource configuration requests are merged and then sent to the resource configuration module. After receiving the resource configuration request, the resource configuration module performs corresponding resource configuration, and then feeds the resource configuration result to the call management module in the form of a resource configuration response. The configuration of the resource configuration module according to the resource configuration request is a prior art, and details are not described herein.
进一步地, 上述批量业务处理的方法实施例中, 所述资源配置请求为 业务建立的资源配置请求、 业务恢复的资源配置请求或业务删除的资源配 置请求。 即若资源配置緩沖区中存在多条资源配置请求, 该多条资源配置 请求可以是同一类型, 也可以不同一类型, 如可以都是业务建立的资源配 置请求, 或都是业务删除的资源配置请求, 或都是业务恢复的资源配置请 求; 也可以是业务建立的资源配置请求和业务删除的资源配置请求, 或业 务建立的资源配置请求和业务恢复的资源配置请求, 或业务删除的资源配 置请求和业务恢复的资源配置请求, 或业务建的资源配置立请求、 业务删 除的资源配置请求和业务恢复的资源配置请求。  Further, in the method for performing the batch service processing, the resource configuration request is a resource configuration request established by the service, a resource configuration request for service recovery, or a resource configuration request for service deletion. That is, if there are multiple resource configuration requests in the resource configuration buffer, the multiple resource configuration requests may be of the same type or different types, such as resource configuration requests established by the service, or resource configurations of the service deletion. The request, or the resource configuration request for the service recovery; or the resource configuration request for the service establishment and the resource configuration request for the service deletion, or the resource configuration request for the service establishment and the resource configuration request for the service recovery, or the resource configuration for the service deletion. Resource configuration request for request and service recovery, or resource configuration request for service establishment, resource configuration request for service deletion, and resource configuration request for service recovery.
上述所述的将多条资源配置请求合并可以根据预先设定好的规则进行 合并, 如可以是同类型的资源配置请求进行合并; 也可以是不同类型的资 源配置请求进行合并。  The foregoing may combine multiple resource configuration requests according to a preset rule, for example, may be the same type of resource configuration request for merging; or may be different types of resource configuration requests for merging.
另外, 资源管理模块若接收合并后的资源配置请求, 则向呼叫管理模 块对应反馈的是合并式资源配置响应。  In addition, if the resource management module receives the merged resource configuration request, the merged resource configuration response is fed back to the call management module.
本发明所提供的批量业务处理的方法, 可以应用于自动交换光网络, 通过将多个业务请求合并后发送给资源管理模块进行资源分配, 以及将多 条资源配置请求合并后发送给资源配置模块进行资源配置, 缩短了自动交 换光网络中节点处理批量业务的时间, 以及提高了节点处理批量业务的效 率。 The method for batch service processing provided by the present invention can be applied to an automatic switched optical network, and the multiple resource requests are combined and sent to the resource management module for resource allocation, and more The resource configuration request is combined and sent to the resource configuration module for resource configuration, which shortens the time for the node to process the batch service in the automatic switched optical network, and improves the efficiency of the node processing the batch service.
参见图 2,提出本发明的批量业务处理的装置 100实施例, 其包括呼叫 管理模块 110、 资源管理模块 120和资源配置模块 130。 其中, 所述呼叫管 理模块 110, 设置为当资源管理模块 120处于空闲状态, 将加入资源操作緩 沖区的业务请求进行合并, 将合并后的业务请求发送给资源管理模块 120, 以使资源管理模块 120根据业务请求进行资源分配;根据资源管理模块 120 反馈的业务响应, 生成资源配置请求, 并将资源配置请求加入资源配置緩 沖区; 以及当资源配置模块 130处于空闲状态, 将加入资源配置緩沖区的 资源配置请求进行合并, 将合并后的资源配置请求发送给资源配置模块 130, 以使资源配置模块 130根据资源配置请求进行资源配置。  Referring to Figure 2, an embodiment of an apparatus 100 for batch service processing of the present invention is presented, which includes a call management module 110, a resource management module 120, and a resource configuration module 130. The call management module 110 is configured to: when the resource management module 120 is in an idle state, merge the service requests that are added to the resource operation buffer, and send the merged service request to the resource management module 120, so that the resource management module The resource allocation is performed according to the service request, and the resource configuration request is generated according to the service response fed back by the resource management module 120, and the resource configuration request is added to the resource configuration buffer; and when the resource configuration module 130 is in an idle state, the resource configuration module is added to the resource configuration buffer. The resource configuration request is merged, and the merged resource configuration request is sent to the resource configuration module 130, so that the resource configuration module 130 performs resource configuration according to the resource configuration request.
上述批量业务处理的装置 100 实施例, 通过将多条业务请求合并后发 送给资源管理模块 120,以及将多条资源配置请求合并后发送给资源配置模 块 130, 缩短了批量业务处理的时间, 以及提高了业务处理的效率。  In the embodiment of the apparatus 100 for batch service processing, the plurality of service requests are combined and sent to the resource management module 120, and the plurality of resource configuration requests are combined and sent to the resource configuration module 130, thereby shortening the time for batch service processing, and Improve the efficiency of business processing.
进一步地, 上述批量业务处理的装置 100 实施例中, 所述呼叫管理模 块 110,还可以设置为在将合并后的业务请求发送给资源管理模块 120之后, 将资源管理模块 120状态设置为忙碌状态, 此时表明资源管理模块 120忙 碌, 若此时呼叫管理模块 120接收到业务请求, 则呼叫管理模块 120只需 将收到的业务请求加入到资源操作緩沖区。  Further, in the embodiment of the device 100 for batch service processing, the call management module 110 may be further configured to set the state of the resource management module 120 to a busy state after the merged service request is sent to the resource management module 120. At this time, the resource management module 120 is busy. If the call management module 120 receives the service request, the call management module 120 only needs to add the received service request to the resource operation buffer.
上述呼叫管理模块 110还可以设置为根据资源管理模块 120反馈的业 务响应, 将资源管理模块 120状态设置为空闲状态。 此时表明资源管理模 块 120空闲, 若此时资源操作緩沖区中存在业务请求, 且只有 1条业务请 求, 则直接将该业务请求发送给资源管理模块 120; 若有多条业务请求, 则 将多条业务请求合并, 然后发送给资源管理模块 120。 资源管理模块 120收 到业务请求后, 则进行相应的资源分配, 之后再将资源分配结果以业务响 应的形式反馈给呼叫管理模块。 其中资源管理模块 120根据业务请求进行 相应的资源分配是现有技术, 在此不再赘述。 The call management module 110 may be further configured to set the state of the resource management module 120 to an idle state according to the service response fed back by the resource management module 120. At this time, the resource management module 120 is idle. If there is a service request in the resource operation buffer and there is only one service request, the service request is directly sent to the resource management module 120. If there are multiple service requests, The plurality of service requests are merged and then sent to the resource management module 120. Resource management module 120 receives After the service request, the corresponding resource allocation is performed, and then the resource allocation result is fed back to the call management module in the form of a service response. The resource management module 120 performs the corresponding resource allocation according to the service request, which is a prior art, and details are not described herein again.
进一步地, 上述批量业务处理的装置 100 实施例中, 所述业务请求为 业务建立请求、 业务恢复请求或业务删除请求。 即若资源操作緩沖区中存 在多条业务请求, 该多条业务请求可以是同一类型, 也可以不同一类型, 如可以都是业务建立请求, 或都是业务删除请求, 或都是业务恢复请求; 也可以是业务建立请求和业务删除请求, 或业务建立请求和业务恢复请求, 或业务删除请求和业务恢复请求, 或业务建立请求、 业务删除请求和业务 恢复请求。  Further, in the embodiment of the device 100 for batch service processing, the service request is a service establishment request, a service recovery request, or a service deletion request. That is, if there are multiple service requests in the resource operation buffer, the multiple service requests may be of the same type or different types, such as service establishment requests, service deletion requests, or service recovery requests. It may also be a service establishment request and a service deletion request, or a service establishment request and a service recovery request, or a service deletion request and a service recovery request, or a service establishment request, a service deletion request, and a service recovery request.
上述所述的将多条业务请求合并可以根据预先设定好的规则进行合 并, 如可以是同类型的业务请求进行合并; 也可以是不同类型的业务请求 进行合并。  The combination of multiple service requests may be combined according to a preset rule, for example, may be the same type of service request for merging; or may be different types of service requests for merging.
另外, 资源管理模块 120若接收合并后的业务请求, 则向呼叫管理模 块 110对应反馈的是合并式业务响应。  In addition, if the resource management module 120 receives the merged service request, the corresponding feedback to the call management module 110 is a combined service response.
进一步地, 上述批量业务处理的装置 100 实施例中, 所述呼叫管理模 块 120, 还可以设置为在将合并后的资源配置请求发送给资源配置模块 130 之后, 将资源配置模块 130状态设置为忙碌状态。 此时表明资源配置模块 130忙碌,若此时呼叫管理模块 110接收到资源管理模块 120发送的业务响 应, 则呼叫管理模块 110只需根据所述业务响应生成对应的资源配置请求, 并将资源配置请求加入到资源配置操作緩沖区中。  Further, in the embodiment of the apparatus 100 for batch service processing, the call management module 120 may further be configured to set the state of the resource configuration module 130 to be busy after transmitting the merged resource configuration request to the resource configuration module 130. status. At this time, the resource configuration module 130 is busy. If the call management module 110 receives the service response sent by the resource management module 120, the call management module 110 only needs to generate a corresponding resource configuration request according to the service response, and configure the resource. Request to join the resource configuration operation buffer.
本实施例中, 呼叫管理模块 110 不论接收的业务响应是单条式的还是 合并式的, 对应生成的资源配置请求都是单条式的。 例如, 资源管理模块 In this embodiment, the call management module 110 is a single strip or a merged one, and the corresponding resource configuration request is a single strip. For example, the resource management module
120接收到一合并后的业务请求,该合并后的业务请求是由 3条业务请求合 并形成, 则资源管理模块 120为对应的 3条业务进行资源分配, 并将 3条 业务的资源分配结果以合并式业务响应的形式反馈给呼叫管理模块 110。呼 叫管理模块 110接收到该合并式业务响应后, 则生成 3条相应的资源配置 请求。 120 receives a merged service request, and the merged service request is formed by combining three service requests, and the resource management module 120 allocates resources for the corresponding three services, and three The resource allocation result of the service is fed back to the call management module 110 in the form of a combined service response. After receiving the merged service response, the call management module 110 generates three corresponding resource configuration requests.
进一步地, 上述批量业务处理的装置 100 实施例中, 所述呼叫管理模 块 110, 还可以设置为接收资源配置模块 130发送的资源配置响应; 以及根 据资源配置响应, 将资源配置模块 130状态设置为空闲状态。 此时表明资 源配置模块 130 空闲, 若此时资源配置操作緩沖区中存在资源配置请求, 且只有 1条资源配置请求, 则呼叫管理模块 110直接将该资源配置请求发 送给资源配置模块 130;若有多条资源配置请求,则多条资源配置请求合并, 然后发送给资源配置模块 130。资源配置模块 130收到资源配置请求后则进 行相应的资源配置, 之后再将资源配置结果以资源配置响应的形式反馈给 呼叫管理模块 110。其中所述资源配置模块 130根据资源配置请求进行资源 配置是现有技术, 在此不再赘述。  Further, in the embodiment of the apparatus 100 for batch service processing, the call management module 110 may further be configured to receive a resource configuration response sent by the resource configuration module 130; and set the state of the resource configuration module 130 to be based on the resource configuration response. Idle state. At this time, the resource configuration module 130 is idle. If there is a resource configuration request in the resource configuration operation buffer and there is only one resource configuration request, the call management module 110 directly sends the resource configuration request to the resource configuration module 130. If there are multiple resource configuration requests, multiple resource configuration requests are merged and then sent to the resource configuration module 130. After receiving the resource configuration request, the resource configuration module 130 performs corresponding resource configuration, and then feeds back the resource configuration result to the call management module 110 in the form of a resource configuration response. The configuration of the resource configuration module 130 according to the resource configuration request is a prior art, and details are not described herein again.
进一步地, 上述批量业务处理的装置 100 实施例中, 所述资源配置请 求为业务建立的资源配置请求、 业务恢复的资源配置请求或业务删除的资 源配置请求。 即若资源配置緩沖区中存在多条资源配置请求, 该多条资源 配置请求可以是同一类型, 也可以不同一类型, 如可以都是业务建立的资 源配置请求, 或都是业务删除的资源配置请求, 或都是业务恢复的资源配 置请求; 也可以是业务建立的资源配置请求和业务删除的资源配置请求, 或业务建立的资源配置请求和业务恢复的资源配置请求, 或业务删除的资 源配置请求和业务恢复的资源配置请求, 或业务建的资源配置立请求、 业 务删除的资源配置请求和业务恢复的资源配置请求。  Further, in the embodiment of the device 100 for batch service processing, the resource configuration request is a resource configuration request established by a service, a resource configuration request for service recovery, or a resource configuration request for service deletion. That is, if there are multiple resource configuration requests in the resource configuration buffer, the multiple resource configuration requests may be of the same type or different types, such as resource configuration requests established by the service, or resource configurations of the service deletion. The request, or the resource configuration request for the service recovery; or the resource configuration request for the service establishment and the resource configuration request for the service deletion, or the resource configuration request for the service establishment and the resource configuration request for the service recovery, or the resource configuration for the service deletion. Resource configuration request for request and service recovery, or resource configuration request for service establishment, resource configuration request for service deletion, and resource configuration request for service recovery.
上述所述的将多条资源配置请求合并可以根据预先设定好的规则进行 合并, 如可以是同类型的资源配置请求进行合并; 也可以是不同类型的资 源配置请求进行合并。 另外, 资源管理模块 120若接收合并后的资源配置请求, 则向呼叫管 理模块 110对应反馈的是合并式资源配置响应。 The merging of the multiple resource configuration requests may be performed according to the preset rules, for example, may be the same type of resource configuration request for merging; or may be different types of resource configuration requests for merging. In addition, if the resource management module 120 receives the merged resource configuration request, the corresponding response to the call management module 110 is a combined resource configuration response.
本发明实施例的批量业务处理的装置 100可以设置在自动交换光网络 中的节点上, 也可以单独设置。  The apparatus 100 for batch service processing according to the embodiment of the present invention may be disposed on a node in an automatic switched optical network, or may be separately set.
本发明所提供的批量业务处理的装置 100,应用于自动交换光网络,通 过将多个业务请求合并后发送给资源管理模块 120进行资源分配, 以及将 多条资源配置请求合并后发送给资源配置模块 130进行资源配置, 缩短了 自动交换光网络中节点处理批量业务的时间, 以及提高了节点处理批量业 务的效率。  The apparatus 100 for batch service processing provided by the present invention is applied to an automatic switched optical network, and the plurality of service requests are combined and sent to the resource management module 120 for resource allocation, and multiple resource configuration requests are combined and sent to the resource configuration. The module 130 performs resource configuration, shortens the time for the node to process the batch service in the automatic switched optical network, and improves the efficiency of the node processing the batch service.
以下以业务建立为例, 对本发明的批量业务处理的方法和装置进行详 细描述, 具体处理如下:  The following describes the method and device for processing bulk services according to the present invention by taking the service establishment as an example. The specific processing is as follows:
①呼叫管理模块收到第 1个业务建立请求后, 将该第 1个业务建立请 求加入到资源操作緩沖区, 将该第 1个业务建立请求发送给资源管理模块, 并设置资源管理模块为忙碌状态;  After receiving the first service establishment request, the call management module adds the first service establishment request to the resource operation buffer, sends the first service establishment request to the resource management module, and sets the resource management module to be busy. State
②资源管理模块根据该第 1 个业务建立请求, 为对应的业务进行相应 的资源分配, 将资源分配结果以业务建立响应的方式向呼叫管理模块反馈; The resource management module performs corresponding resource allocation for the corresponding service according to the first service establishment request, and feeds back the resource allocation result to the call management module in a manner of establishing a service response;
③呼叫管理模块在向资源管理模块发送第 1 个业务建立请求到接收资 源管理模块反馈的业务建立响应时间内, 可以接收后续的业务建立请求。 The call management module may receive a subsequent service establishment request during a service setup response time sent by the resource management module to the service establishment management feedback module.
④呼叫管理模块收到第 1 个业务建立请求响应, 此时表明资源管理模 块处于空闲状态, 设置资源管理模块为空闲状态, 此时若资源操作緩沖区 中存有业务建立请求, 且业务建立请求为 1 条, 则直接将业务建立请求发 送给资源管理模块; 若业务建立请求为多条, 则将多条业务建立请求进行 合并, 然后再发送给资源管理模块。  4 The call management module receives the first service establishment request response, indicating that the resource management module is in an idle state, and sets the resource management module to an idle state. At this time, if the resource operation buffer has a service establishment request, and the service establishment request If the number is 1, the service establishment request is directly sent to the resource management module. If the service establishment request is multiple, the multiple service establishment requests are combined and then sent to the resource management module.
⑤呼叫管理模块接收第 1个业务建立请求响应后, 根据第 1个业务建 立请求响应生成相应的第 1个资源配置请求, 将该第 1个资源配置请求加 入到资源配置緩沖区中, 并将第 1 个资源配置请求发送给资源配置模块, 并设置资源配置模块为忙碌状态; After receiving the first service establishment request response, the call management module generates a corresponding first resource configuration request according to the first service establishment request response, and adds the first resource configuration request. Enter the resource configuration buffer, and send the first resource configuration request to the resource configuration module, and set the resource configuration module to be busy;
⑥资源配置模块根据第 1 个资源配置请求进行相应的资源配置, 将资 源配置结果以资源配置响应的形式反馈给呼叫管理模块。  The resource configuration module performs corresponding resource configuration according to the first resource configuration request, and feeds the resource configuration result to the call management module in the form of a resource configuration response.
⑦呼叫管理模块根据资源配置响应生成业务建立成功信息, 并反馈给 业务请求装置。  The call management module generates service establishment success information according to the resource configuration response, and feeds back to the service requesting device.
⑧呼叫管理模块在向资源配置模块发送第 1 个资源配置请求, 到接收 资源配置模块反馈的第 1 个资源配置响应时间内, 可以接收资源管理模块 后续反馈的业务响应, 根据后续反馈的业务响应生成对应的资源配置请求, 将生成的资源配置请求加入资源配置緩沖区中。  The call management module sends a first resource configuration request to the resource configuration module, and receives a service response that is subsequently fed back by the resource management module to the first resource configuration response time fed back by the receiving resource configuration module, according to the service response of the subsequent feedback. A corresponding resource configuration request is generated, and the generated resource configuration request is added to the resource configuration buffer.
⑨呼叫管理模块接收到第 1 条资源配置响应, 此时, 表明资源配置模 块处于空闲状态, 设置资源配置模块为空闲状态。 若此时资源配置緩沖区 中存有资源配置请求, 且资源配置请求为 1 条, 则将该资源配置请求发送 给资源配置模块; 若资源配置请求为多条, 则将多条资源配置请求进行合 并, 然后将合并后的资源配置请求发送给资源配置模块; 资源配置模块再 根据资源配置请求进行相应的资源配置, 并将配置结果以资源配置响应的 方式反馈给呼叫管理模块;  9 The call management module receives the first resource configuration response. At this time, it indicates that the resource configuration module is in an idle state, and the resource configuration module is set to an idle state. If there is a resource configuration request in the resource configuration buffer, and the resource configuration request is one, the resource configuration request is sent to the resource configuration module; if the resource configuration request is multiple, multiple resource configuration requests are performed. Merging, and then sending the merged resource configuration request to the resource configuration module; the resource configuration module performs corresponding resource configuration according to the resource configuration request, and feeds the configuration result to the call management module in a manner of resource configuration response;
⑩呼叫管理模块在; ^据资源配置响应, 生成相应的业务建立成功信息; 并反馈给业务请求装置。  The call management module generates a corresponding service establishment success information according to the resource configuration response, and feeds back to the service requesting device.
同时在上述业务建立的后续的流程中, 只要资源操作緩沖区中存在业 务建立请求, 且资源管理模块空闲, 则呼叫管理模块将业务建立请求发送 给资源管理模块进行资源分配。 若存在有多条业务建立请求, 在发送之前 将多条业务建立请求进行合并。 同理, 只要资源配置緩沖区中存在业务建 立的资源配置请求, 且资源配置模块空闲, 则呼叫管理模块将业务建立的 资源配置请求发送给资源配置模块进行资源配置。 若存在有多条业务建立 的资源配置请求, 在发送之前将多条业务建立的资源配置请求进行合并。 本发明的业务恢复和业务删除处理流程, 与上述业务建立流程原理一 致, 在此不再赘述。 At the same time, in the subsequent process of the foregoing service establishment, as long as the service establishment request exists in the resource operation buffer, and the resource management module is idle, the call management module sends the service establishment request to the resource management module for resource allocation. If there are multiple service establishment requests, multiple service establishment requests are combined before being sent. Similarly, as long as there is a resource configuration request for the service establishment in the resource configuration buffer, and the resource configuration module is idle, the call management module sends the resource configuration request established by the service to the resource configuration module for resource configuration. If there are multiple services established The resource configuration request merges the resource configuration requests established by the plurality of services before sending. The process of the service recovery and the service deletion process of the present invention is consistent with the principle of the foregoing service establishment process, and details are not described herein again.
应当理解的是, 以上仅为本发明的优选实施例, 不能因此限制本发明 的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流 程变换, 或直接或间接运用在其他相关的技术领域, 均同理包括在本发明 的专利保护范围内。  It should be understood that the above is only a preferred embodiment of the present invention, and thus the scope of the invention is not limited thereby, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种批量业务处理的方法, 其中, 该方法包括:  A method for processing a batch service, wherein the method comprises:
当资源管理模块处于空闲状态, 将加入资源操作緩沖区的业务请求进 行合并, 将合并后的业务请求发送给所述资源管理模块, 以使所述资源管 理模块根据业务请求进行资源分配;  When the resource management module is in an idle state, the service request that is added to the resource operation buffer is merged, and the merged service request is sent to the resource management module, so that the resource management module performs resource allocation according to the service request;
根据所述资源管理模块反馈的业务响应, 生成资源配置请求, 并将所 述资源配置请求加入资源配置緩沖区;  Generating a resource configuration request according to the service response fed back by the resource management module, and adding the resource configuration request to the resource configuration buffer;
当资源配置模块处于空闲状态, 将加入所述资源配置緩沖区的资源配 置请求进行合并, 将合并后的资源配置请求发送给所述资源配置模块, 以 使所述资源配置模块根据资源配置请求进行资源配置。  When the resource configuration module is in an idle state, the resource configuration request that is added to the resource configuration buffer is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs the resource configuration request according to the resource configuration request. Resource configuration.
2、 根据权利要求 1所述批量业务处理的方法, 其中,  2. The method of batch service processing according to claim 1, wherein
所述将合并后的业务请求发送给资源管理模块之后, 该方法还包括: 将所述资源管理模块状态设置为忙碌状态;  After the merging the service request is sent to the resource management module, the method further includes: setting the resource management module status to a busy state;
所述根据资源管理模块反馈的业务响应, 生成资源配置请求之前, 该 方法还包括: 根据所述资源管理模块反馈的业务响应, 将所述资源管理模 块状态设置为空闲状态。  Before the generating a resource configuration request according to the service response fed back by the resource management module, the method further includes: setting the resource management module state to an idle state according to the service response fed back by the resource management module.
3、 根据权利要求 2所述批量业务处理的方法, 其中,  3. The method of batch service processing according to claim 2, wherein
所述将合并后的资源配置请求发送给资源配置模块之后, 该方法还包 括: 将所述资源配置模块状态设置为忙碌状态。  After the merging resource configuration request is sent to the resource configuration module, the method further includes: setting the resource configuration module status to a busy state.
4、 根据权利要求 3所述批量业务处理的方法, 其中, 所述将资源配置 模块状态设置为忙碌状态之后, 该方法还包括: 接收所述资源配置模块发 送的资源配置响应; 将所述资源配置模块状态设置为空闲状态。  The method of batch service processing according to claim 3, wherein after the setting of the resource configuration module state to a busy state, the method further comprises: receiving a resource configuration response sent by the resource configuration module; The configuration module status is set to idle.
5、 根据权利要求 1至 4任一项所述批量业务处理的方法, 其中, 所述业务请求为业务建立请求、 业务恢复请求或业务删除请求; 所述资源配置请求为业务建立的资源配置请求、 业务恢复的资源配置 请求或业务删除的资源配置请求。 The method for processing a batch service according to any one of claims 1 to 4, wherein the service request is a service establishment request, a service recovery request, or a service deletion request; and the resource configuration request is a resource configuration request established by the service. , resource configuration for business recovery A resource configuration request for a request or business deletion.
6、 一种批量业务处理的装置, 包括呼叫管理模块、 资源管理模块和资 源配置模块, 其中,  6. A device for processing a batch service, comprising a call management module, a resource management module, and a resource configuration module, wherein
所述呼叫管理模块, 设置为当资源管理模块处于空闲状态, 将加入资 源操作緩沖区的业务请求进行合并, 将合并后的业务请求发送给所述资源 管理模块, 以使所述资源管理模块根据业务请求进行资源分配; 根据所述 资源管理模块反馈的业务响应, 生成资源配置请求, 并将所述资源配置请 求加入资源配置緩沖区; 以及当资源配置模块处于空闲状态, 将加入资源 配置緩沖区的资源配置请求进行合并, 将合并后的资源配置请求发送给所 述资源配置模块, 以使所述资源配置模块根据资源配置请求进行资源配置。  The call management module is configured to: when the resource management module is in an idle state, merge the service requests that are added to the resource operation buffer, and send the merged service request to the resource management module, so that the resource management module is configured according to the The service request performs resource allocation; generates a resource configuration request according to the service response fed back by the resource management module, and adds the resource configuration request to the resource configuration buffer; and when the resource configuration module is in an idle state, the resource configuration buffer is added to the resource configuration buffer. The resource configuration request is merged, and the merged resource configuration request is sent to the resource configuration module, so that the resource configuration module performs resource configuration according to the resource configuration request.
7、 根据权利要求 6所述批量业务处理的装置, 其中,  7. The apparatus for batch service processing according to claim 6, wherein
所述呼叫管理模块, 还设置为在将合并后的业务请求发送给资源管理 模块之后, 将所述资源管理模块状态设置为忙碌状态; 以及根据资源管理 模块反馈的业务响应, 将所述资源管理模块状态设置为空闲状态。  The call management module is further configured to: after the merged service request is sent to the resource management module, set the resource management module state to a busy state; and manage the resource according to the service response fed back by the resource management module. The module status is set to the idle state.
8、 根据权利要求 7所述批量业务处理的装置, 其中,  8. The apparatus for batch service processing according to claim 7, wherein
所述呼叫管理模块, 还设置为在将合并后的资源配置请求发送给资源 配置模块之后, 将所述资源配置模块状态设置为忙碌状态。  The call management module is further configured to: after the merged resource configuration request is sent to the resource configuration module, set the resource configuration module state to a busy state.
9、 根据权利要求 8所述批量业务处理的装置, 其中,  9. The apparatus for batch service processing according to claim 8, wherein
所述呼叫管理模块, 还设置为接收资源配置模块发送的资源配置响应; 以及将所述资源配置模块状态设置为空闲状态。  The call management module is further configured to receive a resource configuration response sent by the resource configuration module; and set the resource configuration module state to an idle state.
10、 根据权利要求 6至 9任一项所述批量业务处理的装置, 其中, 所述业务请求为业务建立请求、 业务恢复请求或业务删除请求; 所述资源配置请求为业务建立的资源配置请求、 业务恢复的资源配置 请求或业务删除的资源配置请求。  The apparatus for processing a batch service according to any one of claims 6 to 9, wherein the service request is a service establishment request, a service recovery request, or a service deletion request; and the resource configuration request is a resource configuration request established by the service. Resource configuration request for service recovery or resource configuration request for service deletion.
PCT/CN2011/082220 2011-06-29 2011-11-15 Batch service processing method and device WO2013000231A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110179736.6A CN102857836B (en) 2011-06-29 2011-06-29 The method and apparatus of batch service treatment
CN201110179736.6 2011-06-29

Publications (1)

Publication Number Publication Date
WO2013000231A1 true WO2013000231A1 (en) 2013-01-03

Family

ID=47403962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082220 WO2013000231A1 (en) 2011-06-29 2011-11-15 Batch service processing method and device

Country Status (2)

Country Link
CN (1) CN102857836B (en)
WO (1) WO2013000231A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209682B (en) * 2016-07-08 2019-04-30 北京百度网讯科技有限公司 Business scheduling method, device and system
CN108093022B (en) * 2017-10-23 2020-09-18 沈阳美行科技有限公司 Request sharing device and method for online map
CN118354371A (en) * 2019-04-01 2024-07-16 华为技术有限公司 Network configuration method, device and system based on intention

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859355A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method for processing batch service
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A recovery method for multicast service connection in automatic switching optical network
CN101192956A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A computing method for multicast tree of automatic switching optical network multicast service
CN101389149A (en) * 2008-10-28 2009-03-18 中讯邮电咨询设计院 Batch processing method applied in ASON
CN101572837A (en) * 2009-06-18 2009-11-04 烽火通信科技股份有限公司 Method for updating route information for ASON batch path computation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568245C (en) * 2007-10-30 2009-12-09 金蝶软件(中国)有限公司 The persistence processing method of Work stream data, device and Workflow system
CN101604437A (en) * 2009-07-22 2009-12-16 阿里巴巴集团控股有限公司 Account is real time processing system and account batch real-time processing method in batches
US20110066676A1 (en) * 2009-09-14 2011-03-17 Vadim Kleyzit Method and system for reducing web page download time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859355A (en) * 2005-12-28 2006-11-08 华为技术有限公司 Method for processing batch service
CN101192959A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A recovery method for multicast service connection in automatic switching optical network
CN101192956A (en) * 2006-11-28 2008-06-04 中兴通讯股份有限公司 A computing method for multicast tree of automatic switching optical network multicast service
CN101389149A (en) * 2008-10-28 2009-03-18 中讯邮电咨询设计院 Batch processing method applied in ASON
CN101572837A (en) * 2009-06-18 2009-11-04 烽火通信科技股份有限公司 Method for updating route information for ASON batch path computation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform

Also Published As

Publication number Publication date
CN102857836A (en) 2013-01-02
CN102857836B (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US11082262B2 (en) Flow entry generating method and apparatus
CN110557724B (en) Data transmission method of multicast service and related equipment
US8738802B2 (en) Forwarding traffic flow in intelligent resilient framework system
WO2015143610A1 (en) Service implementation method for nfv system, and communications unit
JP6636142B2 (en) Scale-out association method and apparatus and system
WO2017148446A1 (en) Network resource scheduling method, device and system, and network node
CN103067291A (en) Method and device of up-down link correlation
US11736403B2 (en) Systems and methods for enhanced autonegotiation
WO2013000231A1 (en) Batch service processing method and device
WO2019196844A1 (en) Ason service model implementation method, apparatus and device, and storage medium
CN106648801A (en) Automatic node adding and deleting method for Hadoop cluster
CN102612165B (en) Method and device for releasing resource
EP2892196A1 (en) Method, network node and system for implementing point-to-miltipoint multicast
CN104734823A (en) Communication system, communication terminal, transfer tables and handshake communication method
WO2010069246A1 (en) Route establishment method and device for a connection
WO2012106961A1 (en) Method and system for establishing service bearer
WO2018036521A1 (en) Resource adjustment method, apparatus, and system
WO2016110063A1 (en) Network control method and device
CN108235259B (en) Method and device for realizing multicast service of packet transport network and communication system
WO2011003260A1 (en) Method and device for service transfer in automatically switched optical network
WO2021249478A1 (en) Resource deployment method and device, management and control system and computer storage medium
WO2018054209A1 (en) Method, device and system for processing transport multi-protocol packet segmented layer (tms)
EP2953299A1 (en) Protection switching method, system and node
WO2016206470A1 (en) Automatically switched optical network resource control method, apparatus and computer readable storage medium
CN109150747B (en) Method and device for changing service bandwidth and computer readable 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: 11868473

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

Country of ref document: EP

Kind code of ref document: A1