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

14 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.

Block chain fragment security extension method of trusted state synchronization chain

The invention discloses a block chain fragment security expansion method of a trusted state synchronization chain, which realizes state consistency verification between fragments by constructing a Layer1 state synchronization chain, and adopts an unbiased random leader rotation mechanism based on a preorder block signature and an efficient two-stage submission protocol. Three rounds of communication of traditional BFT consensus are compressed into two rounds of parallel processing under a state fragmentation architecture, and a dynamic fragmentation recombination strategy and a state difference synchronization technology are combined, so that the core problems of throughput bottleneck, cross-fragmentation transaction atomicity, attack risk prediction by a leader, reduction of recombination efficiency and the like in a block chain fragmentation system are systematically solved; the parallel transaction processing is realized, the consensus time delay is reduced by 30%, the cross-fragment transaction verification efficiency is improved by 60%, the system throughput is linearly expanded along with the fragment number, and the system security is enhanced through a pledge economic model and a malicious node detection mechanism.
Owner:GUANGZHOU UNIVERSITY

Distributed system transaction processing method and device based on two-stage commit protocol, equipment and medium

The invention discloses a distributed system transaction processing method and device based on a two-stage commit protocol, equipment and a medium, and relates to the technical field of distributed computing, and the method comprises the steps: obtaining transaction data sent by a coordinator before a preparation stage; sending a first response message to the coordinator and the participants based on the transaction data, so as to send an operation instruction to each participant according to the first response message; receiving a second response message sent by each participant, and storing a target number of copy data based on each second response message; if the operation instruction is not received in the target time period, processing the transaction data based on the copy data; and obtaining a corresponding processing result, and synchronizing the processing result to the target participant so as to optimize the two-stage submission protocol. By sharing the transaction state information among the participants, the participants can still complete transaction submission or rollback under the condition that the coordinator loses efficacy in the system, so that the occurrence of indefinite blockage is avoided.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

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

Label structure adaptive reconstruction system

The invention provides a label structure adaptive reconstruction system, and aims to solve the problem of label system adaptation caused by data source structure change in existing data label management. The system comprises a data receiving interface, a structure cache module, a structure difference detection module, an adaptation strategy decision module, a label updating execution module, an approval and rollback module and a system synchronization module. Through standardized data acquisition, field path extraction and structure signature generation and comparison, the system efficiently identifies data structure differences, and formulates a label adaptation strategy based on three difference types of addition, deletion and type change. The strategy is synchronized to an external system through transactional updating and a two-stage submission protocol, and the consistency of a label system and a data structure is ensured. The system supports historical version tracing and rollback, data management continuity and stability are improved, data application efficiency is remarkably improved, and the method is suitable for scenes such as databases, the Internet of Things and industrial control.
Owner:GUANGDONG XINXIANPAI MODERN AGRICULTURAL GROUP 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

Controller remote configuration method and device, equipment and storage medium

The invention provides a controller remote configuration method, device and equipment and a storage medium, and the method comprises the steps: collecting configuration intention data of an edge controller in a distributed system, and constructing a configuration intention network of a directed weighted graph structure according to the configuration intention data; according to the configuration intention network, performing conflict detection and influence evaluation on a configuration request of an edge controller to obtain a conflict feature vector; conflict coordination is carried out according to the conflict feature vectors through target compatibility analysis and a game negotiation mechanism, and a coordinated and consistent configuration scheme is obtained; and carrying out transactional deployment on the coordinated and consistent configuration scheme by adopting a two-stage submission protocol to obtain an edge controller configuration result. By establishing the configuration intention network and the conflict coordination mechanism, the conflict problem of the configuration decision of the multi-edge controller is effectively solved, and the stable operation of the system is ensured.
Owner:GUANGZHOU PROTECTWELL ELECTRONICS TECH

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:杭州悦数科技有限公司

A Cross-Slice Transaction Concurrency Processing Method

The present invention discloses a method for concurrent processing of cross-shard transactions. The method can process cross-shard transactions through one-way communication without the help of a "coordinator". Through one-way communication between nodes, cross-region transactions are processed with the minimum communication overhead. While ensuring transaction consistency, this method avoids the problem of excessive delay in cross-shard transactions caused by multiple rounds of communication required by the traditional two-phase commit protocol. This method utilizes a fine-grained transaction rearrangement mechanism to optimize the execution efficiency of cross-shard transactions under transaction conflicts. By changing the order in which transactions obtain locks, the concurrency of in-block transaction execution is increased. At the same time, it can utilize the advantage of bandwidth to transmit data in parallel, ensuring that cross-shard transactions can obtain execution data preferentially as much as possible and reducing their blocking time.
Owner:EAST CHINA NORMAL UNIV

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

Supporting two-stage communication protocol

The blockchain system is capable of participating in distributed transactions using a two-stage commit protocol ("2PC"). In a 2PC, a computer system, such as a DBMS or blockchain system, submits transactions that change data (e.g., database, world state) using two stages. To participate in a distributed transaction using a 2PC, a blockchain system performs a "staged transaction". The staged transaction passes through a 2PC stage. In the preparation stage, the new value of the world state record is temporarily stored in the stage record as a stage value. In a second stage, if a distributed transaction is to be submitted, a world stage record is set to a stage value.
Owner:ORACLE INT CORP

Supporting two phase commit protocol in blockchain system

A blockchain system is enabled to participate in distributed transactions that uses a two-phase commit protocol (“2PC”). In a 2PC, a computer system, such as a DBMS or blockchain system, commits a transaction that changes data (e.g. database, world state) using two phases. To participate in a distributed transaction using 2PC, a blockchain system executes a “staged transaction”. A staged transaction transitions through the 2PC phases. In the prepare phase, the new values for world state records are staged in staging records as staged values. In the second phase, if the distributed transaction is to be committed, the world staging records are set to the staged values.
Owner:ORACLE INT CORP

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