WO2013000135A1 - Locking method and system for distributed messages - Google Patents

Locking method and system for distributed messages Download PDF

Info

Publication number
WO2013000135A1
WO2013000135A1 PCT/CN2011/076570 CN2011076570W WO2013000135A1 WO 2013000135 A1 WO2013000135 A1 WO 2013000135A1 CN 2011076570 W CN2011076570 W CN 2011076570W WO 2013000135 A1 WO2013000135 A1 WO 2013000135A1
Authority
WO
WIPO (PCT)
Prior art keywords
distributed
message
locking
lock
distributed node
Prior art date
Application number
PCT/CN2011/076570
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 中兴通讯股份有限公司
Priority to PCT/CN2011/076570 priority Critical patent/WO2013000135A1/en
Publication of WO2013000135A1 publication Critical patent/WO2013000135A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for locking a distributed message. Background technique
  • the network equipment management software bears the heavy responsibility of the operation and maintenance of the network communication equipment. It has high requirements on data reliability and data consistency. Once the data is inconsistent, it will cause serious consequences such as business interruption.
  • Network device management software has multiple types of operational user interfaces, such as: GUI (Graphical User Interface) client (multi-user), northbound interface, and southbound interface.
  • GUI Graphic User Interface
  • client multi-user
  • northbound interface northbound interface
  • southbound interface In this multi-user, multi-interface concurrent operation mode, a certain mechanism is required to ensure data consistency caused by concurrent access operations; and, when distributed deployment of network device management software, it is required to cooperate on different hosts. Module to ensure data consistency.
  • each distributed service module applies for locking to a lock management arbiter, and solves the distributed reliability problem by using a heartbeat mechanism between distributed nodes, but the solution is more invasive to the service module, when added
  • the related modules not only need to be explicitly locked, but also because the locking modules are relatively scattered, which is not conducive to management and analysis of the locked scenario.
  • the main object of the present invention is to provide a method and system for locking distributed messages, which are mutually exclusive and locked in cooperation with different modules to avoid data inconsistency.
  • a method for locking a distributed message which has a message locking template stored in a unified manner, and the method further includes:
  • all relevant distributed nodes are Message locking template, locking for distributed messages.
  • the method further includes:
  • the message locking template is obtained as a basis for determining the lock.
  • the distributed node receives the lock request, and the process of locking the distributed message includes:
  • the distributed node queries all distributed nodes to the distributed system and issues a lock request to all distributed nodes, and the distributed node that receives the lock request locks the related distributed messages.
  • the method further includes:
  • the message scheduling center of each distributed node listens to other distributed node states; and/or, during the locking process, the message scheduling center of the distributed node performs a lock determination on each message to be scheduled, and according to a predefined scheduling policy Process related distributed messages.
  • the method further includes:
  • an unlock request is initiated to the distributed node that initiates the lock, and the distributed nodes are notified to unlock according to this; after the unlocking is successful, each distributed node schedules the message according to the normal logic.
  • a locking system for a distributed message comprising a message locking template maintenance unit, a message locking template acquiring unit, and a locking execution unit;
  • the message locking template maintenance unit is configured to uniformly store a message locking template
  • the message locking template acquiring unit is configured to acquire a message locking template when the distributed nodes are started, as a judgment basis for locking;
  • the lock execution unit is configured to control all distributed nodes to lock the distributed message according to the message locking template when performing operations requiring multi-service module assistance.
  • the distributed node is further configured to:
  • the message locking template is obtained as a basis for determining the lock.
  • the distributed node will receive a lock request when the operation of the multi-service module is required, and the lock execution unit is configured to:
  • the distributed node is controlled to query all distributed nodes to the distributed system, and issues a lock request to all distributed nodes, and triggers the distributed node that receives the lock request to lock the related distributed message.
  • the distributed node is further configured to:
  • Each of the messages to be scheduled is locked and judged, and related distributed messages are processed according to a predefined scheduling policy.
  • the distributed node is further configured to:
  • the unlock request is received, and the distributed nodes are notified to unlock according to this; after the unlocking is successful, each distributed node schedules the message according to the normal logic.
  • the distributed message locking technology of the present invention can perform distributed locking on associated user operations (ie, based on messages), so as to implement mutual exclusion and locking of different modules, thereby ensuring data consistency;
  • the locking mechanism of the message avoids the intrusive impact on the business module.
  • FIG. 1 is a schematic diagram of acquiring a lock template by each distributed node according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of initiating a lock according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of initiating unlocking according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a locking process of a distributed message according to an embodiment of the present invention.
  • FIG. 5 is a diagram of a locking system of a distributed message according to an embodiment of the present invention. detailed description
  • each distributed node can access the database to obtain the locking information in the message locking template.
  • the message locking template can contain at least one of the following information:
  • Lock ID used to uniquely identify the lock use
  • the message scheduling policy indicates that the policy for processing a message in the case of locking may include at least one of the following policies:
  • Waiting used to indicate waiting during the lock, until it is unlocked, can be scheduled
  • Direct scheduling used to indicate that processing can still be performed during locking
  • Step 2 When each distributed node starts, each distributed node obtains the message-locked template from the central database.
  • the message dispatching center in the distributed node dispatches the message to each service module, the obtained message locking template is used as the locking judgment basis, as shown in FIG.
  • Step 3 When performing operations that require multi-service module assistance, the message dispatching center in the distributed node will receive a lock request (indicating the lock ID), and the message dispatching center queries the distributed environment management server in the distributed system. All distributed nodes, and issue a lock request to all distributed nodes, the distributed nodes that receive the lock request will lock the related distributed messages, as shown in Figure 2.
  • each distributed node needs to monitor other distributed node states: If a new distributed node joins, the distributed node that initiates the lock notifies the newly added distributed node to lock;
  • Step 4 During the locking period, the message dispatching center of the distributed node needs to lock the message to be scheduled:
  • the related distributed message is processed according to the predefined scheduling policy.
  • Step 5 After the operation of the multi-service module assistance is completed, an unlock request (indicating a lock ID) is initiated to the message dispatching center in the distributed node that initiates the lock, and the message dispatching center notifies each distributed node to unlock. After the unlocking is successful, each distributed node schedules messages according to normal logic, as shown in Figure 3.
  • Figure 1 depicts the process by which each distributed node acquires a locked template.
  • distributed nodes include:
  • the message dispatching center (E2) is responsible for message scheduling for the service processing module (E3) in the distributed node, processing the service processing module (E3) to apply for locking or unlocking, and monitoring the status of each distributed node to the service processing module. (E3) providing lock status information;
  • the service processing module (E3) which is responsible for processing the message, can initiate an application for locking or unlocking to the message dispatching center (E2), and can monitor the locked state. After each distributed node is started, execute S1: Read the lock template information to obtain the lock information in the message lock template.
  • Figure 2 depicts the process by which a distributed node initiates a lock, including the following steps:
  • S1 lock The service processing module (E3) initiates a lock request to the message dispatch center (E2);
  • S1.1 lock state the service processing module (E3) starts to monitor the lock state from the message dispatch center (E2);
  • the message dispatching center (E2) manages all distributed node information in the system to the distributed node management (E1);
  • S2.1 node status The message scheduling center (E2) starts to monitor the status of each distributed node; S3 notifies the lock: The message dispatch center (E2) sends a lock request to the message dispatch center (E2) in other distributed nodes. After receiving the lock request, the message dispatching center (E2) of each distributed node enters the locked state;
  • S4 scheduling message During the locking period, the message scheduling center of the distributed node needs to lock the message to be scheduled.
  • Figure 3 depicts the process by which a distributed node initiates an unlock, including the following steps:
  • the service processing module (E3) initiates an unlock request to the message dispatching center (E2);
  • the service processing module (E3) monitors the lock status from the message dispatch center (E2);
  • the message dispatching center (E2) manages all distributed node information in the system to the distributed node management (E1);
  • the message scheduling center (E2) monitors the status of each distributed node
  • the S3 notification is unlocked:
  • the message dispatching center (E2) sends an unlock request to the message dispatching center (E2) in the other distributed nodes. After receiving the unlocking request, the message dispatching center (E2) of each distributed node unlocks to enter the unadded Lock state
  • S4 scheduling message During the unlocked period, the message scheduling center of the distributed node is normally scheduled to cancel Interest.
  • NodeA There are three distributed nodes in the distributed operation of the network management software: NodeA, NodeB, and NodeC.
  • the expansion module is deployed on the NodeA.
  • Module 1 and module 2 are deployed on the NodeB and the NodeC. It is required that module 1 and module 2 prohibit execution of messages M1, M2.
  • Step 1 Define a message lock template, which includes:
  • the message locking template can be stored in a database, and the specific content can be as shown in Table 1:
  • the second step: NodeA, NodeB, and NodeC respectively obtain the above message locking template from the central database.
  • Step 3 Before the expansion module on the NodeA performs the expansion, apply for locking, and the message scheduling center in the NodeA initiates the locking request (expansion lock).
  • the message scheduling center queries all the distributed environment servers in the distributed system. Distributed nodes: NodeA, NodeB, and NodeC, and send a lock request to the NodeB and NodeC. The NodeB and NodeC that receive the lock request will be directed to the phase. The closed distributed message is locked.
  • the fourth step During the lock period, if the message scheduling center of the NodeB receives the message M1 that needs to be scheduled to the module 1, the lock determination is performed:
  • the corresponding lock ID is found in the message locking template: expansion lock; because the found expansion lock is in the locked state, the message M1 is discarded according to the predefined scheduling policy and an error is prompted. .
  • Step 5 After the expansion is completed, the expansion module in the NodeA initiates an unlock request to the message dispatching center in the distributed node, and the message dispatching center notifies the NodeB and the NodeC to unlock. After the unlocking is successful, each distributed node schedules messages according to normal logic.
  • the operation of the present invention for locking a distributed message may represent a process as shown in FIG. 4, and the process includes the following steps:
  • Step 410 Unified storage of the message locking template.
  • Step 420 When each distributed node starts, obtain a message locking template, and determine the basis for locking.
  • Step 430 When performing operations requiring multi-service module assistance, all distributed nodes lock the distributed messages according to the message locking template.
  • step 410 is a storage operation performed in advance, and does not need to be repeated every time the lock is performed.
  • Step 420 is a pre-acquisition operation that does not need to be repeated each time the lock is performed; of course, if the message lock template sends a change, it needs to be re-acquired to implement the update.
  • FIG. 5 is a diagram of a locking system for a distributed message according to an embodiment of the present invention.
  • the system includes a connected message locking template maintenance unit, a message locking template acquiring unit, and a locking execution unit.
  • the message locking template maintenance unit may be a central database or other
  • the function entity is set independently or set in the distributed node; the message lock template acquisition unit and the lock execution unit can be set in the distributed node.
  • the message locking template maintenance unit can uniformly store the message locking template.
  • the message locking template obtaining unit can acquire the message locking template when the distributed nodes are started, as the basis for determining the locking.
  • the lock execution unit can control all distributed nodes to lock the distributed message according to the message locking template when performing operations requiring multi-service module assistance.
  • the method of locking the distributed message of the present invention can perform distributed locking on the associated user operation (ie, based on the message), so as to achieve mutual exclusion between different modules. Locked to ensure data consistency; At the same time, based on the message locking mechanism, the intrusive impact on the business module is avoided.

Abstract

The present invention discloses a locking method and system for distributed messages, in both of which locking templates for the messages can be saved unifiedly, and when carrying out operations needing coordination of multiple service modules, all the correlative distributed nodes perform locking on the distributed messages according to the locking templates for the messages. The distributed messages locking technology of the present invention can perform distributed locking on correlative user operations (i.e. based on messages), so as to implement coordination among different modules to execute operation-exclusive locking, and consequently guarantee the consistency of the data; at the same time, the message-based locking mechanism can avoid the locking-invasive impact on the service modules.

Description

一种分布式消息的加锁方法和系统 技术领域  Method and system for locking distributed message
本发明涉及通信领域, 具体涉及一种分布式消息的加锁方法和系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method and system for locking a distributed message. Background technique
网络设备管理软件承担网络通信设备运营和维护的重任, 对数据可靠 性、 数据一致性要求很高, 一旦数据出现不一致等问题, 会引发业务中断 等严重后果。 网络设备管理软件有多类操作用户接口, 比如: GUI (图形用 户接口)客户端 (多用户)、 北向接口、 南向接口。 在这种多用户、 多接口 并发操作模式下, 需要有某种机制能够保证并发访问操作所引发的数据一 致性; 并且, 在网络设备管理软件分布式部署时, 需要协同运行在不同主 机上的模块以保证数据一致性。  The network equipment management software bears the heavy responsibility of the operation and maintenance of the network communication equipment. It has high requirements on data reliability and data consistency. Once the data is inconsistent, it will cause serious consequences such as business interruption. Network device management software has multiple types of operational user interfaces, such as: GUI (Graphical User Interface) client (multi-user), northbound interface, and southbound interface. In this multi-user, multi-interface concurrent operation mode, a certain mechanism is required to ensure data consistency caused by concurrent access operations; and, when distributed deployment of network device management software, it is required to cooperate on different hosts. Module to ensure data consistency.
目前的解决方案是各分布式业务模块向一个锁管理仲裁者申请加锁, 并用分布式节点间的心跳机制解决分布式可靠性问题, 但该方案对业务模 块的侵入性比较大, 当新增一种协作多业务模块处理场景时, 相关模块不 仅需要显式加锁, 而且因加锁模块比较分散, 不利于管理和分析加锁场景。 发明内容  The current solution is that each distributed service module applies for locking to a lock management arbiter, and solves the distributed reliability problem by using a heartbeat mechanism between distributed nodes, but the solution is more invasive to the service module, when added When a cooperative multi-service module processes a scenario, the related modules not only need to be explicitly locked, but also because the locking modules are relatively scattered, which is not conducive to management and analysis of the locked scenario. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种分布式消息的加锁方法和 系统, 以协同不同模块进行操作互斥加锁, 避免数据不一致性。  In view of this, the main object of the present invention is to provide a method and system for locking distributed messages, which are mutually exclusive and locked in cooperation with different modules to avoid data inconsistency.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种分布式消息的加锁方法, 统一存储有消息加锁模版, 该方法还包 括:  A method for locking a distributed message, which has a message locking template stored in a unified manner, and the method further includes:
进行需要多业务模块协助的操作时, 相关的所有分布式节点根据所述 消息加锁模版, 针对分布式消息进行加锁。 When performing operations that require multi-service module assistance, all relevant distributed nodes are Message locking template, locking for distributed messages.
其中, 该方法还包括:  The method further includes:
各分布式节点启动时, 获取所述消息加锁模版, 作为加锁判断依据。 其中, 进行需要多业务模块协助的操作时, 所述分布式节点将收到加 锁请求, 所述针对分布式消息进行加锁的过程包括:  When each distributed node is started, the message locking template is obtained as a basis for determining the lock. The distributed node receives the lock request, and the process of locking the distributed message includes:
所述分布式节点向分布式系统查询所有分布式节点, 并向所有分布式 节点发出加锁请求, 收到加锁请求的分布式节点针对相关的分布式消息进 行加锁。  The distributed node queries all distributed nodes to the distributed system and issues a lock request to all distributed nodes, and the distributed node that receives the lock request locks the related distributed messages.
其中, 该方法还包括:  The method further includes:
各分布式节点的消息调度中心监听其他分布式节点状态; 和 /或, 在加锁期间, 分布式节点的消息调度中心对每条待调度的消息进行加 锁判断, 并根据预定义的调度策略处理相关的分布式消息。  The message scheduling center of each distributed node listens to other distributed node states; and/or, during the locking process, the message scheduling center of the distributed node performs a lock determination on each message to be scheduled, and according to a predefined scheduling policy Process related distributed messages.
其中, 该方法还包括:  The method further includes:
当需要多业务模块协助的操作结束后, 向发起加锁的分布式节点发起 解锁请求, 据此通知各分布式节点解锁; 解锁成功后, 各分布式节点按照 正常逻辑调度消息。  After the operation of the multi-service module assistance is completed, an unlock request is initiated to the distributed node that initiates the lock, and the distributed nodes are notified to unlock according to this; after the unlocking is successful, each distributed node schedules the message according to the normal logic.
一种分布式消息的加锁系统, 该系统包括消息加锁模版维护单元、 消 息加锁模版获取单元、 加锁执行单元; 其中,  A locking system for a distributed message, the system comprising a message locking template maintenance unit, a message locking template acquiring unit, and a locking execution unit; wherein
所述消息加锁模版维护单元, 用于统一存储消息加锁模版;  The message locking template maintenance unit is configured to uniformly store a message locking template;
所述消息加锁模版获取单元, 用于在各分布式节点启动时, 获取消息 加锁模版, 作为加锁判断依据;  The message locking template acquiring unit is configured to acquire a message locking template when the distributed nodes are started, as a judgment basis for locking;
所述加锁执行单元, 用于在进行需要多业务模块协助的操作时, 控制 所有分布式节点根据所述消息加锁模版, 针对分布式消息进行加锁。  The lock execution unit is configured to control all distributed nodes to lock the distributed message according to the message locking template when performing operations requiring multi-service module assistance.
其中, 所述分布式节点还用于:  The distributed node is further configured to:
在启动时, 获取所述消息加锁模版, 作为加锁判断依据。 其中, 进行需要多业务模块协助的操作时, 所述分布式节点将收到加 锁请求, 所述加锁执行单元针对分布式消息进行加锁时, 用于: At startup, the message locking template is obtained as a basis for determining the lock. The distributed node will receive a lock request when the operation of the multi-service module is required, and the lock execution unit is configured to:
控制所述分布式节点向分布式系统查询所有分布式节点, 并向所有分 布式节点发出加锁请求, 触发收到加锁请求的分布式节点针对相关的分布 式消息进行加锁。  The distributed node is controlled to query all distributed nodes to the distributed system, and issues a lock request to all distributed nodes, and triggers the distributed node that receives the lock request to lock the related distributed message.
其中, 所述分布式节点还用于:  The distributed node is further configured to:
监听其他分布式节点状态; 和 /或,  Listen to other distributed node states; and / or,
对每条待调度的消息进行加锁判断, 并根据预定义的调度策略处理相 关的分布式消息。  Each of the messages to be scheduled is locked and judged, and related distributed messages are processed according to a predefined scheduling policy.
其中, 所述分布式节点还用于:  The distributed node is further configured to:
当需要多业务模块协助的操作结束后, 接收解锁请求, 据此通知各分 布式节点解锁; 解锁成功后, 各分布式节点按照正常逻辑调度消息。  After the operation of the multi-service module assistance is completed, the unlock request is received, and the distributed nodes are notified to unlock according to this; after the unlocking is successful, each distributed node schedules the message according to the normal logic.
本发明的分布式消息的加锁技术, 能够对相关联的用户操作 (即基于 消息)进行分布式加锁, 以实现协同不同模块进行操作互斥加锁, 从而保 证数据一致性; 同时, 基于消息的加锁机制, 避免了对业务模块的加锁侵 入性影响。 附图说明  The distributed message locking technology of the present invention can perform distributed locking on associated user operations (ie, based on messages), so as to implement mutual exclusion and locking of different modules, thereby ensuring data consistency; The locking mechanism of the message avoids the intrusive impact on the business module. DRAWINGS
图 1为本发明实施例的各分布式节点获取加锁模版的原理图; 图 2为本发明实施例的发起加锁的原理图;  1 is a schematic diagram of acquiring a lock template by each distributed node according to an embodiment of the present invention; FIG. 2 is a schematic diagram of initiating a lock according to an embodiment of the present invention;
图 3为本发明实施例的发起解锁的原理图;  FIG. 3 is a schematic diagram of initiating unlocking according to an embodiment of the present invention; FIG.
图 4为本发明实施例的分布式消息的加锁流程简图;  4 is a schematic diagram of a locking process of a distributed message according to an embodiment of the present invention;
图 5为本发明实施例的分布式消息的加锁系统图。 具体实施方式  FIG. 5 is a diagram of a locking system of a distributed message according to an embodiment of the present invention. detailed description
在对分布式消息进行加锁时, 可以进行如下处理: 第一步: 在一个中心数据库中存储消息加锁模版, 各分布式节点可以 访问该数据库以获取消息加锁模版中的加锁信息。 When locking a distributed message, you can do the following: The first step: storing a message locking template in a central database, each distributed node can access the database to obtain the locking information in the message locking template.
消息加锁模版中可以包含以下信息中至少之一:  The message locking template can contain at least one of the following information:
锁 ID, 用于唯一标示锁用途;  Lock ID, used to uniquely identify the lock use;
业务模块 ID, 进行消息处理的业务模块的唯一标示; 所述业务模块能 够处理消息, 在对某个锁加锁时, 需要定义所负责的消息 ID的处理策略; 消息 ID, 是消息的唯一标示, 该消息为业务模块需处理的消息; 消息调度策略, 表示在加锁情况下, 对某条消息的处理策略, 可以包 括以下策略中至少之一:  a service module ID, a unique identifier of a service module that performs message processing; the service module is capable of processing a message, and when a lock is locked, a processing policy of the responsible message ID needs to be defined; the message ID is a unique identifier of the message The message is a message to be processed by the service module. The message scheduling policy indicates that the policy for processing a message in the case of locking may include at least one of the following policies:
丟弃并提示出错, 用于指示操作在当前时刻被禁止, 以保证数据一致 性;  Discard and prompt an error to indicate that the operation is forbidden at the current time to ensure data consistency;
等待, 用于指示在加锁期间等待, 直至解锁后才可被调度;  Waiting, used to indicate waiting during the lock, until it is unlocked, can be scheduled;
直接调度, 用于指示加锁期间仍然可以进行处理;  Direct scheduling, used to indicate that processing can still be performed during locking;
其他自定义策略, 例如: 不在加锁模版信息中列入的消息 ID和模块不 受加锁影响。  Other custom policies, such as: Message IDs and modules not included in the lock template information are not affected by the lock.
第二步: 各分布式节点启动时, 每个分布式节点从中心数据库获取消 息加锁模版。 在分布式节点内的消息调度中心将消息分派给各业务模块时, 将所获取的消息加锁模版作为加锁判断依据, 如图 1所示。  Step 2: When each distributed node starts, each distributed node obtains the message-locked template from the central database. When the message dispatching center in the distributed node dispatches the message to each service module, the obtained message locking template is used as the locking judgment basis, as shown in FIG.
第三步: 当进行需要多业务模块协助的操作时, 分布式节点内的消息 调度中心将收到加锁请求(指明锁 ID ), 消息调度中心向分布式系统中的分 布式环境管理服务器查询所有分布式节点, 并向所有分布式节点发出加锁 请求, 收到加锁请求的分布式节点将针对相关的分布式消息进行加锁, 如 图 2所示。  Step 3: When performing operations that require multi-service module assistance, the message dispatching center in the distributed node will receive a lock request (indicating the lock ID), and the message dispatching center queries the distributed environment management server in the distributed system. All distributed nodes, and issue a lock request to all distributed nodes, the distributed nodes that receive the lock request will lock the related distributed messages, as shown in Figure 2.
需要说明的是, 各分布式节点的消息调度中心需监听其他分布式节点 状态: 如果有新分布式节点加入, 则由发起加锁的分布式节点通知新加入的 分布式节点加锁; It should be noted that the message scheduling center of each distributed node needs to monitor other distributed node states: If a new distributed node joins, the distributed node that initiates the lock notifies the newly added distributed node to lock;
如果有分布式节点加锁失效, 那么当该分布式节点重新启动后, 则由 发起加锁的分布式节点通知该分布式节点加锁;  If there is a distributed node locking failure, when the distributed node is restarted, the distributed node that initiates the locking notifies the distributed node to lock;
非发起加锁的分布式节点如果监听到发起加锁的分布式节点加锁失 效, 则解除本分布式节点的加锁;  If the distributed node that does not initiate the locking fails to detect the failure of the distributed node that initiates the locking, the locking of the distributed node is cancelled;
再此期间, 发起加锁的分布式节点可查询加锁状态, 以处理异常情况。 第四步: 在加锁期间, 分布式节点的消息调度中心需要对每条待调度 的消息进行加锁判断:  In the meantime, the distributed node that initiated the lock can query the lock status to handle the abnormal situation. Step 4: During the locking period, the message dispatching center of the distributed node needs to lock the message to be scheduled:
得到处理消息的业务模块 ID;  Get the service module ID of the processed message;
根据业务模块 ID+消息 ID, 从消息加锁模版中查找对应的锁 ID;  Find the corresponding lock ID from the message locking template according to the service module ID+message ID;
如果查找到的锁 ID对应的锁处于加锁状态, 则根据预定义的调度策略 处理相关的分布式消息。  If the lock corresponding to the found lock ID is in the locked state, the related distributed message is processed according to the predefined scheduling policy.
第五步: 当需要多业务模块协助的操作结束后, 向发起加锁的分布式 节点内的消息调度中心发起解锁请求 (指明锁 ID ), 由消息调度中心通知各 分布式节点解锁。 解锁成功后, 各分布式节点按照正常逻辑调度消息, 如 图 3所示。  Step 5: After the operation of the multi-service module assistance is completed, an unlock request (indicating a lock ID) is initiated to the message dispatching center in the distributed node that initiates the lock, and the message dispatching center notifies each distributed node to unlock. After the unlocking is successful, each distributed node schedules messages according to normal logic, as shown in Figure 3.
具体而言, 图 1描述了各分布式节点获取加锁模版的过程。 其中, 分布式节点包括:  Specifically, Figure 1 depicts the process by which each distributed node acquires a locked template. Among them, distributed nodes include:
分布式节点管理(E1 ), 负责提供各分布式节点状态信息;  Distributed node management (E1), responsible for providing status information of each distributed node;
消息调度中心(E2 ), 负责本分布式节点内针对业务处理模块(E3 )的 消息调度, 处理业务处理模块(E3 ) 申请加锁或解锁的请求, 监听各分布 式节点状态、 向业务处理模块(E3 )提供加锁状态信息;  The message dispatching center (E2) is responsible for message scheduling for the service processing module (E3) in the distributed node, processing the service processing module (E3) to apply for locking or unlocking, and monitoring the status of each distributed node to the service processing module. (E3) providing lock status information;
业务处理模块(E3 ), 负责处理消息, 可向消息调度中心(E2 )发起加 锁或解锁的申请, 并可监听加锁状态。 各分布式节点启动后, 执行 S1: 读取锁模版信息, 以获取消息加锁模 版中的加锁信息。 The service processing module (E3), which is responsible for processing the message, can initiate an application for locking or unlocking to the message dispatching center (E2), and can monitor the locked state. After each distributed node is started, execute S1: Read the lock template information to obtain the lock information in the message lock template.
图 2描述了分布式节点发起加锁的过程, 包括以下步骤:  Figure 2 depicts the process by which a distributed node initiates a lock, including the following steps:
S1加锁: 业务处理模块(E3) 向消息调度中心 (E2)发起加锁请求; S1.1加锁状态: 业务处理模块(E3)开始从消息调度中心 (E2)监听 加锁状态;  S1 lock: The service processing module (E3) initiates a lock request to the message dispatch center (E2); S1.1 lock state: the service processing module (E3) starts to monitor the lock state from the message dispatch center (E2);
S2查询分布式节点: 消息调度中心(E2)向分布式节点管理(E1 )查 询系统中所有的分布式节点信息;  S2 queries the distributed node: The message dispatching center (E2) manages all distributed node information in the system to the distributed node management (E1);
S2.1节点状态: 消息调度中心 (E2)开始监听各分布式节点的状态; S3通知加锁: 消息调度中心 (E2) 向其他分布式节点内的消息调度中 心 (E2)发送加锁请求, 各分布式节点的消息调度中心 (E2)接收到加锁 请求后, 进入加锁状态;  S2.1 node status: The message scheduling center (E2) starts to monitor the status of each distributed node; S3 notifies the lock: The message dispatch center (E2) sends a lock request to the message dispatch center (E2) in other distributed nodes. After receiving the lock request, the message dispatching center (E2) of each distributed node enters the locked state;
S4调度消息: 在加锁期间, 分布式节点的消息调度中心需要对每条待 调度消息进行加锁判断。  S4 scheduling message: During the locking period, the message scheduling center of the distributed node needs to lock the message to be scheduled.
图 3描述了分布式节点发起解锁的过程, 包括以下步骤:  Figure 3 depicts the process by which a distributed node initiates an unlock, including the following steps:
S1解锁: 业务处理模块(E3) 向消息调度中心 (E2)发起解锁请求; S1 unlocking: The service processing module (E3) initiates an unlock request to the message dispatching center (E2);
S1.1加锁状态: 业务处理模块(E3)从消息调度中心 (E2)监听加锁 状态; S1.1 lock status: The service processing module (E3) monitors the lock status from the message dispatch center (E2);
S2查询分布式节点: 消息调度中心(E2)向分布式节点管理(E1 )查 询系统中所有的分布式节点信息;  S2 queries the distributed node: The message dispatching center (E2) manages all distributed node information in the system to the distributed node management (E1);
S2.1节点状态: 消息调度中心 (E2)监听各分布式节点状态;  S2.1 node status: The message scheduling center (E2) monitors the status of each distributed node;
S3通知解锁: 消息调度中心 (E2) 向其他分布式节点内的消息调度中 心 (E2)发送解锁请求, 各分布式节点的消息调度中心 (E2)接收到解锁 请求后, 进行解锁以进入未加锁状态;  The S3 notification is unlocked: The message dispatching center (E2) sends an unlock request to the message dispatching center (E2) in the other distributed nodes. After receiving the unlocking request, the message dispatching center (E2) of each distributed node unlocks to enter the unadded Lock state
S4调度消息: 在未加锁期间, 分布式节点的消息调度中心正常调度消 息。 S4 scheduling message: During the unlocked period, the message scheduling center of the distributed node is normally scheduled to cancel Interest.
下面以具体的应用实例对本发明做进一步描述。  The invention will be further described below with specific application examples.
殳设网络管理软件分布式运行时,有三个分布式节点: NodeA, NodeB、 NodeC,其中 NodeA上部署了扩容模块, NodeB、 NodeC上都部署了模块 1、 模块 2,且扩容模块执行扩容期间,需要模块 1和模块 2禁止执行消息 Ml、 M2。  There are three distributed nodes in the distributed operation of the network management software: NodeA, NodeB, and NodeC. The expansion module is deployed on the NodeA. Module 1 and module 2 are deployed on the NodeB and the NodeC. It is required that module 1 and module 2 prohibit execution of messages M1, M2.
在对分布式消息进行加锁时, 可以进行如下处理:  When locking a distributed message, you can do the following:
第一步: 定义消息加锁模版, 其中包括:  Step 1: Define a message lock template, which includes:
锁 ID;  Lock ID
业务模块 ID;  Business module ID;
消息 ID;  Message ID;
调度策略;  Scheduling strategy;
所述消息加锁模版可以存储在数据库中, 具体的内容可如表 1所示:  The message locking template can be stored in a database, and the specific content can be as shown in Table 1:
Figure imgf000008_0001
Figure imgf000008_0001
表 1  Table 1
第二步: NodeA、 NodeB、 NodeC分别从中心数据库中获取上述消息加 锁模版。  The second step: NodeA, NodeB, and NodeC respectively obtain the above message locking template from the central database.
第三步: NodeA上的扩容模块执行扩容前, 申请加锁, 由 NodeA内的 消息调度中心发起加锁请求(扩容锁), 消息调度中心向分布式系统中的分 布式环境管理 务器查询所有分布式节点: NodeA、 NodeB、 NodeC, 并向 NodeB、 NodeC发出加锁请求, 收到加锁请求的 NodeB、 NodeC将针对相 关的分布式消息进行加锁。 Step 3: Before the expansion module on the NodeA performs the expansion, apply for locking, and the message scheduling center in the NodeA initiates the locking request (expansion lock). The message scheduling center queries all the distributed environment servers in the distributed system. Distributed nodes: NodeA, NodeB, and NodeC, and send a lock request to the NodeB and NodeC. The NodeB and NodeC that receive the lock request will be directed to the phase. The closed distributed message is locked.
第四步: 在加锁期间, 假如 NodeB的消息调度中心收到需要调度到模 块 1的消息 Ml , 则进行加锁判断:  The fourth step: During the lock period, if the message scheduling center of the NodeB receives the message M1 that needs to be scheduled to the module 1, the lock determination is performed:
得到处理消息的业务模块 ID: 模块 1 ;  Get the business module ID of the processed message: module 1;
才艮据模块 1和 M 1 , 在消息加锁模版中查找对应的锁 ID: 扩容锁; 因查找到的扩容锁处于加锁状态, 则根据预定义的调度策略, 丟弃消 息 Ml并提示出错。  According to the modules 1 and M 1 , the corresponding lock ID is found in the message locking template: expansion lock; because the found expansion lock is in the locked state, the message M1 is discarded according to the predefined scheduling policy and an error is prompted. .
第五步: 当扩容结束后, 由 NodeA中的扩容模块向分布式节点内的消 息调度中心发起解锁请求,由消息调度中心通知 NodeB和 NodeC进行解锁。 解锁成功后, 各分布式节点按照正常逻辑调度消息。  Step 5: After the expansion is completed, the expansion module in the NodeA initiates an unlock request to the message dispatching center in the distributed node, and the message dispatching center notifies the NodeB and the NodeC to unlock. After the unlocking is successful, each distributed node schedules messages according to normal logic.
结合以上技术描述可知, 本发明针对分布式消息进行加锁的操作思路 可以表示如图 4所示的流程, 该流程包括以下步骤:  According to the foregoing technical description, the operation of the present invention for locking a distributed message may represent a process as shown in FIG. 4, and the process includes the following steps:
步骤 410: 统一存储消息加锁模版。  Step 410: Unified storage of the message locking template.
步骤 420: 各分布式节点启动时, 获取消息加锁模版, 作为加锁判断依 据。  Step 420: When each distributed node starts, obtain a message locking template, and determine the basis for locking.
步骤 430: 进行需要多业务模块协助的操作时, 所有分布式节点根据所 述消息加锁模版, 针对分布式消息进行加锁。  Step 430: When performing operations requiring multi-service module assistance, all distributed nodes lock the distributed messages according to the message locking template.
需要说明的是, 步骤 410是预先进行的存储操作, 不需要在每次进行 加锁时都重复进行。 步骤 420是预先进行的获取操作, 不需要在每次进行 加锁时都重复进行; 当然, 如果消息加锁模版发送了变化, 则需要重新获 取以实现更新。  It should be noted that step 410 is a storage operation performed in advance, and does not need to be repeated every time the lock is performed. Step 420 is a pre-acquisition operation that does not need to be repeated each time the lock is performed; of course, if the message lock template sends a change, it needs to be re-acquired to implement the update.
为了保证上述的技术描述和操作思路能够顺利实现, 可以进行如图 5 所示的设置。 参见图 5 , 图 5为本发明实施例的分布式消息的加锁系统图, 该系统包括相连的消息加锁模版维护单元、 消息加锁模版获取单元、 加锁 执行单元。 所述消息加锁模版维护单元可以是中心数据库, 也可以是其它 独立设置或是设置于分布式节点中的功能实体; 消息加锁模版获取单元和 加锁执行单元则可以设置于分布式节点中。 In order to ensure that the above technical description and operation ideas can be smoothly implemented, the settings shown in Figure 5 can be performed. Referring to FIG. 5, FIG. 5 is a diagram of a locking system for a distributed message according to an embodiment of the present invention. The system includes a connected message locking template maintenance unit, a message locking template acquiring unit, and a locking execution unit. The message locking template maintenance unit may be a central database or other The function entity is set independently or set in the distributed node; the message lock template acquisition unit and the lock execution unit can be set in the distributed node.
在实际应用时, 消息加锁模版维护单元能够统一存储消息加锁模版。 消息加锁模版获取单元能够在各分布式节点启动时, 获取消息加锁模版, 作为加锁判断依据。 加锁执行单元能够在进行需要多业务模块协助的操作 时, 控制所有分布式节点根据所述消息加锁模版, 针对分布式消息进行加 锁。  In practical applications, the message locking template maintenance unit can uniformly store the message locking template. The message locking template obtaining unit can acquire the message locking template when the distributed nodes are started, as the basis for determining the locking. The lock execution unit can control all distributed nodes to lock the distributed message according to the message locking template when performing operations requiring multi-service module assistance.
综上所述可见, 无论是方法还是系统, 本发明的分布式消息的加锁技 术, 能够对相关联的用户操作 (即基于消息)进行分布式加锁, 以实现协 同不同模块进行操作互斥加锁, 从而保证数据一致性; 同时, 基于消息的 加锁机制 , 避免了对业务模块的加锁侵入性影响。  In summary, the method of locking the distributed message of the present invention can perform distributed locking on the associated user operation (ie, based on the message), so as to achieve mutual exclusion between different modules. Locked to ensure data consistency; At the same time, based on the message locking mechanism, the intrusive impact on the business module is avoided.
以上仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本 发明的保护范围之内。  The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the scope of the present invention. Inside.

Claims

权利要求书 Claim
1、 一种分布式消息的加锁方法, 统一存储有消息加锁模版, 该方法还 包括:  A method for locking a distributed message, which has a message locking template stored in a unified manner, and the method further comprises:
进行需要多业务模块协助的操作时, 相关的所有分布式节点根据所述 消息加锁模版, 针对分布式消息进行加锁。  When an operation requiring multi-service module assistance is performed, all related distributed nodes lock the distributed message according to the message locking template.
2、 根据权利要求 1所述的方法, 其中, 该方法还包括:  2. The method according to claim 1, wherein the method further comprises:
各分布式节点启动时, 获取所述消息加锁模版, 作为加锁判断依据。 When each distributed node is started, the message locking template is obtained as a basis for determining the lock.
3、 根据权利要求 1所述的方法, 其中, 进行需要多业务模块协助的操 作时, 所述分布式节点将收到加锁请求, 所述针对分布式消息进行加锁的 过程包括: 3. The method according to claim 1, wherein, when performing an operation requiring assistance from a multi-service module, the distributed node receives a lock request, and the process of locking the distributed message includes:
所述分布式节点向分布式系统查询所有分布式节点, 并向所有分布式 节点发出加锁请求, 收到加锁请求的分布式节点针对相关的分布式消息进 行加锁。  The distributed node queries all distributed nodes to the distributed system and issues a lock request to all distributed nodes, and the distributed node that receives the lock request locks the related distributed messages.
4、 根据权利要求 1所述的方法, 其中, 该方法还包括:  4. The method according to claim 1, wherein the method further comprises:
各分布式节点的消息调度中心监听其他分布式节点状态; 和 /或, 在加锁期间, 分布式节点的消息调度中心对每条待调度的消息进行加 锁判断, 并根据预定义的调度策略处理相关的分布式消息。  The message scheduling center of each distributed node listens to other distributed node states; and/or, during the locking process, the message scheduling center of the distributed node performs a lock determination on each message to be scheduled, and according to a predefined scheduling policy Process related distributed messages.
5、 根据权利要求 1至 4任一项所述的方法, 其中, 该方法还包括: 当需要多业务模块协助的操作结束后, 向发起加锁的分布式节点发起 解锁请求, 据此通知各分布式节点解锁; 解锁成功后, 各分布式节点按照 正常逻辑调度消息。  The method according to any one of claims 1 to 4, wherein the method further comprises: after the operation requiring the assistance of the multi-service module ends, initiating an unlock request to the distributed node that initiates the locking, according to which The distributed nodes are unlocked; after the unlocking is successful, each distributed node schedules messages according to normal logic.
6、 一种分布式消息的加锁系统, 该系统包括消息加锁模版维护单元、 消息加锁模版获取单元、 加锁执行单元; 其中,  6. A locking system for a distributed message, the system comprising a message locking template maintenance unit, a message locking template acquiring unit, and a locking execution unit; wherein
所述消息加锁模版维护单元, 用于统一存储消息加锁模版;  The message locking template maintenance unit is configured to uniformly store a message locking template;
所述消息加锁模版获取单元, 用于在各分布式节点启动时, 获取消息 加锁模版, 作为加锁判断依据; The message locking template acquiring unit is configured to acquire a message when each distributed node starts Locking the template, as the basis for determining the lock;
所述加锁执行单元, 用于在进行需要多业务模块协助的操作时, 控制 所有分布式节点根据所述消息加锁模版, 针对分布式消息进行加锁。  The lock execution unit is configured to control all distributed nodes to lock the distributed message according to the message locking template when performing operations requiring multi-service module assistance.
7、 根据权利要求 6所述的系统, 其中, 所述分布式节点还用于: 在启动时, 获取所述消息加锁模版, 作为加锁判断依据。  The system according to claim 6, wherein the distributed node is further configured to: acquire the message locking template at the time of startup, as a locking determination basis.
8、 根据权利要求 6所述的系统, 其中, 进行需要多业务模块协助的操 作时, 所述分布式节点将收到加锁请求, 所述加锁执行单元针对分布式消 息进行加锁时, 用于:  8. The system according to claim 6, wherein, when an operation requiring multi-service module assistance is performed, the distributed node receives a lock request, and when the lock execution unit locks a distributed message, Used for:
控制所述分布式节点向分布式系统查询所有分布式节点, 并向所有分 布式节点发出加锁请求, 触发收到加锁请求的分布式节点针对相关的分布 式消息进行加锁。  The distributed node is controlled to query all distributed nodes to the distributed system, and issues a lock request to all distributed nodes, and triggers the distributed node that receives the lock request to lock the related distributed message.
9、 根据权利要求 6所述的系统, 其中, 所述分布式节点还用于: 监听其他分布式节点状态; 和 /或,  9. The system according to claim 6, wherein the distributed node is further configured to: monitor other distributed node states; and/or,
对每条待调度的消息进行加锁判断, 并根据预定义的调度策略处理相 关的分布式消息。  Each of the messages to be scheduled is locked and judged, and related distributed messages are processed according to a predefined scheduling policy.
10、 根据权利要求 6至 9任一项所述的系统, 其中, 所述分布式节点 还用于:  10. The system according to any one of claims 6 to 9, wherein the distributed node is further configured to:
当需要多业务模块协助的操作结束后, 接收解锁请求, 据此通知各分 布式节点解锁; 解锁成功后, 各分布式节点按照正常逻辑调度消息。  After the operation of the multi-service module assistance is completed, the unlock request is received, and the distributed nodes are notified to unlock according to this; after the unlocking is successful, each distributed node schedules the message according to the normal logic.
PCT/CN2011/076570 2011-06-29 2011-06-29 Locking method and system for distributed messages WO2013000135A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076570 WO2013000135A1 (en) 2011-06-29 2011-06-29 Locking method and system for distributed messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076570 WO2013000135A1 (en) 2011-06-29 2011-06-29 Locking method and system for distributed messages

Publications (1)

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

Family

ID=47423375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076570 WO2013000135A1 (en) 2011-06-29 2011-06-29 Locking method and system for distributed messages

Country Status (1)

Country Link
WO (1) WO2013000135A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522829A (en) * 2020-04-14 2020-08-11 深圳市启迪网络科技有限公司 Method for realizing distributed lock on block chain
CN112039970A (en) * 2020-08-25 2020-12-04 北京思特奇信息技术股份有限公司 Distributed business lock service method, server, system and storage medium
CN113204575A (en) * 2021-05-28 2021-08-03 的卢技术有限公司 Distributed flow processing solution method and system based on cloud platform
CN115113994A (en) * 2021-08-30 2022-09-27 腾讯科技(深圳)有限公司 Request processing method and device, computing equipment and storage medium
CN117520362A (en) * 2024-01-04 2024-02-06 北京佳讯飞鸿电气股份有限公司 Data management system, method, equipment and storage medium based on distributed lock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289143A1 (en) * 2004-06-23 2005-12-29 Exanet Ltd. Method for managing lock resources in a distributed storage system
CN1719775A (en) * 2005-06-10 2006-01-11 浙江大学 Method for solving post-problem of dynamic key in pattern design coordinate conference
CN1980236A (en) * 2005-12-09 2007-06-13 英业达股份有限公司 Distribution-type data dynamic program agent method
US20100023521A1 (en) * 2008-07-28 2010-01-28 International Business Machines Corporation System and method for managing locks across distributed computing nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289143A1 (en) * 2004-06-23 2005-12-29 Exanet Ltd. Method for managing lock resources in a distributed storage system
CN1719775A (en) * 2005-06-10 2006-01-11 浙江大学 Method for solving post-problem of dynamic key in pattern design coordinate conference
CN1980236A (en) * 2005-12-09 2007-06-13 英业达股份有限公司 Distribution-type data dynamic program agent method
US20100023521A1 (en) * 2008-07-28 2010-01-28 International Business Machines Corporation System and method for managing locks across distributed computing nodes

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522829A (en) * 2020-04-14 2020-08-11 深圳市启迪网络科技有限公司 Method for realizing distributed lock on block chain
CN111522829B (en) * 2020-04-14 2023-11-28 深圳市启迪网络科技有限公司 Method for realizing distributed lock on block chain
CN112039970A (en) * 2020-08-25 2020-12-04 北京思特奇信息技术股份有限公司 Distributed business lock service method, server, system and storage medium
CN112039970B (en) * 2020-08-25 2023-04-18 北京思特奇信息技术股份有限公司 Distributed business lock service method, server, system and storage medium
CN113204575A (en) * 2021-05-28 2021-08-03 的卢技术有限公司 Distributed flow processing solution method and system based on cloud platform
CN113204575B (en) * 2021-05-28 2023-08-01 西藏宁算科技集团有限公司 Distributed flow processing solution method and system based on cloud platform
CN115113994A (en) * 2021-08-30 2022-09-27 腾讯科技(深圳)有限公司 Request processing method and device, computing equipment and storage medium
CN115113994B (en) * 2021-08-30 2023-06-20 腾讯科技(深圳)有限公司 Request processing method, device, computing equipment and storage medium
CN117520362A (en) * 2024-01-04 2024-02-06 北京佳讯飞鸿电气股份有限公司 Data management system, method, equipment and storage medium based on distributed lock

Similar Documents

Publication Publication Date Title
CN103744809B (en) Vehicle information management system double hot standby method based on VRRP
WO2019061720A1 (en) Data synchronization method and system
US7814360B2 (en) Synchronizing cluster time to a master node with a faster clock
WO2018171565A1 (en) Disaster recovery deployment method, device and system
US9071508B2 (en) Distributed fabric management protocol
WO2014101424A1 (en) Method and system for synchronizing distributed database
US8533525B2 (en) Data management apparatus, monitoring apparatus, replica apparatus, cluster system, control method and computer-readable medium
CN101207517B (en) Method for reliability maintenance of distributed enterprise service bus node
US20090319661A1 (en) Cluster node control apparatus of file server
WO2007003107A1 (en) Method and apparatus for carrying out a predetermined operation in a management device
WO2013000135A1 (en) Locking method and system for distributed messages
WO2015062200A1 (en) Method, apparatus, and system for processing distributed transaction submission faults
CN106790563B (en) Distributed memory system and method
CN108199909A (en) A kind of High Availabitity SiteServer LBS based on consistency Hash
WO2021057514A1 (en) Task scheduling method and apparatus, computer device, and computer readable medium
WO2012139461A1 (en) Data acquisition method, apparatus and system
WO2012083697A1 (en) Method and device for transaction recovery
CN107832159A (en) Manage the method and computer-readable recording medium of distributed lock
CN112929225B (en) Session exception handling method and device, computer equipment and storage medium
CN107276839A (en) A kind of cloud platform from monitoring method and system
WO2012155615A1 (en) Method, system and related apparatus for implementing rfid network management
CN112039970A (en) Distributed business lock service method, server, system and storage medium
WO2013107170A1 (en) Remote network management system and service operation method therefor
US7831686B1 (en) System and method for rapidly ending communication protocol connections in response to node failure
US20130205108A1 (en) Managing reservation-control in a storage system

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

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

Country of ref document: EP

Kind code of ref document: A1