Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

7 results about "Two-phase commit protocol" patented technology

In transaction processing, databases, and computer networking, the two-phase commit protocol (2PC) is a type of atomic commitment protocol (ACP). It is a distributed algorithm that coordinates all the processes that participate in a distributed atomic transaction on whether to commit or abort (roll back) the transaction (it is a specialized type of consensus protocol). The protocol achieves its goal even in many cases of temporary system failure (involving either process, network node, communication, etc. failures), and is thus widely used. However, it is not resilient to all possible failure configurations, and in rare cases, manual intervention is needed to remedy an outcome. To accommodate recovery from failure (automatic in most cases) the protocol's participants use logging of the protocol's states. Log records, which are typically slow to generate but survive failures, are used by the protocol's recovery procedures. Many protocol variants exist that primarily differ in logging strategies and recovery mechanisms. Though usually intended to be used infrequently, recovery procedures compose a substantial portion of the protocol, due to many possible failure scenarios to be considered and supported by the protocol.

System, method, and computer program for enhanced two-phase commit protocol with participant interdependencies

ActiveUS12717775B1EngineeringCommit
As described herein, a system, method, and computer program are provided for enhanced two-phase commit protocol with participant interdependencies. In use, a two-phase commit protocol for a distributed transaction involving multiple participants is initiated. A prepare request from a coordinator is received at a first participant. A confirmation message indicating completion of a preparation stage is sent from the first participant to other participants. The confirmation message from the first participant is received at a second participant. In response to receiving the confirmation message, transaction-related data is retrieved by the second participant from the first participant using a transaction identifier. A preparation stage is completed by the second participant using the retrieved transaction-related data. A vote indicating readiness to commit the transaction is sent from the second participant to the coordinator.
Owner:AMDOCS DEV LTD

A multi-resource coordination oriented distributed reservation system and method

The application discloses a kind of distributed reservation systems and methods for multi-resource cooperation, comprising: transaction manager, at least two resource managers, lock manager, transaction log module and workflow controller;Transaction manager coordinates each resource manager through two-phase commit 2PC protocol, realizes the atomicity execution of cross-node shadow and summary table update;Lock manager adopts read-write lock separation mechanism to resolve concurrent conflict, and handles deadlock problem through timeout detection and active unlocking strategy;Transaction log module is based on prewrite log mechanism Complete record shadow and summary table linkage operation details, provide reliable support for fault recovery and transaction rollback;Workflow controller encapsulates distributed call details, realizes service survival real-time detection and automatic reconnection function.The application has high expansibility, strong consistency, high concurrent adaptation capability and perfect exception fault-tolerant mechanism, and can be widely applied to travel service scene of multi-node deployment.
Owner:JIANGSU DAMENG DATABASE CO LTD

Distributed reasoning task arrangement method based on semantic driving

The invention discloses a distributed reasoning task arrangement method based on semantic driving. The method comprises the following steps: constructing a domain ontology model and establishing semantic mapping; analyzing task requirements; executing data source retrieval of multi-level semantic fusion; generating an execution path based on multi-objective collaborative optimization; tasks are distributed, and transmission overhead is reduced by adopting model differential updating; and performing adaptive migration and network partition fault tolerance based on a check point and a two-stage commit protocol. According to the method, the technical problems of heterogeneous data semantic gaps, static scheduling and dynamic environment conflicts and state loss caused by coarse-grained fault tolerance are solved, efficient distributed reasoning of data immobility and calculation flow is achieved, and the method is suitable for the multi-source heterogeneous data fields of marine science, meteorological monitoring, industrial Internet of Things and the like.
Owner:SUZHOU ABYSS MATRIX TECHNOLOGY CO LTD

Database distributed version synchronization and intelligent compression method

The invention discloses a database distributed version synchronization and intelligent compression method and system, and relates to the technical field of distributed databases. The method comprises the following steps: a database fragment management mechanism in a distributed environment divides a database into a plurality of fragments, and each fragment independently maintains a versioned storage manager; a cross-node version coordination mechanism ensures the consistency of global version numbers; according to a multi-copy synchronization mechanism, the consistency of multiple copies is ensured by adopting a two-stage submission protocol; an intelligent copy selection algorithm; a distributed garbage recycling mechanism; the version compression mechanism is used for analyzing historical version data and storing the historical version data by adopting increment; intelligently combining strategies, and determining a compression strategy according to the data access frequency. According to the method, the problem of consistency of data version synchronization in a distributed environment is solved, and meanwhile, storage space occupation is reduced through intelligent compression.
Owner:YUZHOU JINCHENGGUOLV EQUIP CO LTD

An operation and maintenance task workflow arrangement system in a distributed graph database

The application relates to a distributed graph database operation and maintenance task workflow arrangement system, wherein the system comprises: a workflow arrangement layer for recursively analyzing a user-input workflow specification to generate an executable DAG operation and maintenance task graph; a task management layer for adopting a two-phase commit protocol to ensure the atomic consistency of operation and maintenance tasks in the DAG operation and maintenance task graph in volatile memory and persistent storage, and based on the atomic consistency, performing fault recovery on uncompleted operation and maintenance tasks from the persistent storage in the case of memory data loss; and a conditional task execution layer for creating a secure isolation sandbox for the execution of operation and maintenance tasks in the DAG operation and maintenance task graph, and in the execution process of a current operation and maintenance task, evaluating a task execution result based on a dynamically updated conditional function to determine an execution path of a subsequent operation and maintenance task. Through the application, the problem of how to improve the workflow efficiency of operation and maintenance tasks in a graph database is solved.
Owner:杭州悦数科技有限公司

Data synchronization method and device based on block chain, and electronic equipment

The invention discloses a block chain-based data synchronization method and device, and an electronic device, and relates to the technical field of block chains, the data synchronization method comprises the following steps: obtaining historical total data of a host system and a plurality of current incremental transaction data, and adopting a preset storage strategy to store a plurality of incremental transaction data; storing the historical total data and all incremental transaction data to a block chain; a preset verification strategy is adopted to verify each incremental transaction data to obtain a verification result, and the preset verification strategy is constructed based on the smart contract and the two-stage submission protocol; and when the verification result indicates that any distributed node fails to execute the local transaction, triggering a rollback instruction to control all the distributed nodes and the host system to roll back the local transaction so as to complete data synchronization. According to the method and the device, the technical problem of relatively low data synchronization accuracy in a scene of mixed data of a host and a distributed architecture in related technologies is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

A method and system for multimodal synchronization between MySQL and Hango database

This invention provides a method and system for multimodal synchronization between MySQL and Highgo databases, belonging to the field of database synchronization technology. The invention includes: real-time parsing of MySQL binary logs and distributing them to multi-threaded processing based on table name hashes; converting field types through a dynamic type mapping rule base and generating Highgo-compatible SQL; and employing a two-phase commit protocol to ensure cross-database transaction consistency. It solves the problems of data consistency assurance, performance optimization, and data type compatibility in real-time synchronization of heterogeneous databases.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD