Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

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

Distributed flash memory transaction processing method

The invention discloses a distributed flash memory transaction processing method. The method comprises the following steps: S1, carrying out two-phase commit on a transaction, wherein state log records of the two-phase commit protocol are removed and internalized as flash memory metadata operations in interfaces of the transaction, and the end of the distributed transaction is marked with the final commit of a coordinator; S2, during the process of the transaction, storing a data temporary object as a shadow version, wherein a shadow mapping table is used for storing the address of the shadow version or the state of a page in the transaction processing, metadata of the page is used for recording information of the transaction, a transaction metadata page is used for recording the state of the transaction and a transaction state table is used for recording the address of the transaction metadata page; and S3, when the coordinator or a participant has a fault, scanning a part of the memory, reading the flash memory metadata and restoring an FTL mapping table, the shadow mapping table and the transaction state table so as to determine the state of the transaction during the two-phase commit. The distributed flash memory transaction processing method disclosed by the invention has the following advantages that the logs are decreased and the transaction processing efficiency under the distributed flash memory environment is improved.
Owner:TSINGHUA UNIV

Method for ensuring data consistency under micro-service framework HTTP interaction mode

The invention relates to the technical field of micro-service development, in particular to a method for ensuring the data consistency under a micro-service framework HTTP interaction mode. The methodincludes the steps of calling pre-operations of all auxiliary business service through a main business service, recording all the auxiliary business service in a movement manager, continuing the business if the pre-operations of all the auxiliary business service succeed or the pre-operation of a certain auxiliary business service fails, otherwise, stopping executing the execution business, if the pre-operations of all the auxiliary business service succeed, calling confirming operations of all the auxiliary business server through a collaborator, rolling back all the confirming operations and executing canceling operations of the auxiliary business service if the confirming operations fail, calling the canceling operations of all the auxiliary business service if the pre-operations of part of auxiliary business service fail till canceling succeeds. The problem that a traditional two-stage submitted protocol is poor in performance and not suitable for a micro-service framework is solved, and the three simple semantic operations on the business service can be achieved and called.
Owner:G CLOUD TECH

Transaction processing system and transaction method for Web service

A Web service transaction processing system, which includes three parts: a client, a coordinator, and multiple participants, which are connected to each other through the Internet; among them, the participants and the coordinator are deployed as Web service providers, coordinators, and processors on the Web The platform on which the service runs. The process of Web service transaction processing is actually the process of coordination and interaction between these three parts; the client initiates the transaction, divides the transaction boundary and submits the transaction, the coordinator manages and coordinates the transaction, and the participants provide and participate in the Web service transaction. The client only initiates the transaction, divides the transaction boundary, submits or cancels the transaction, and the main work of the transaction is completed by the interaction between the coordinator and the participants. The invention also discloses a Web service transaction processing method, which utilizes the above transaction processing system, adopts a two-stage submission protocol to ensure the atomicity, consistency and reliability of each transaction, and monitors, configures and manages the transactions. The two-phase commit protocol includes a coordination phase and a transaction phase.
Owner:BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products