Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method supporting distributed transaction management in text information retrieval service

A distributed transaction and retrieval service technology, applied in the fields of electronic digital data processing, special data processing applications, instruments, etc., can solve problems such as inability to search for documents and data inconsistency

Inactive Publication Date: 2012-10-31
上海引跑信息科技有限公司
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] These two operations must be completed in the same transaction, otherwise it may cause data inconsistency. For example, if operation 1 is executed successfully but operation 2 fails, the system may display that the document upload is successful, but it cannot be searched based on the content of the document to the document

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method supporting distributed transaction management in text information retrieval service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Attached below figure 1 The technical scheme described in the present invention is further described in detail.

[0018] figure 1 The flow chart of managing index resources for distributed transactions, where the functions that the text information index service needs to implement are as follows:

[0019] 1. Create a local transaction. Create a new index directory and generate a unique identifier to identify this transaction.

[0020] 2. Perform indexing operations. Find the index directory according to the unique identifier in the index operation request, and perform a write operation in the index directory. Break down the update operation into a delete followed by an add. Make delete operations persistent. When performing a read operation, its processing flow is as follows:

[0021] i. Perform a read operation on the main index directory.

[0022] ii. Filter out the content of the persistent delete operation in this transaction from the result of the previous ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method supporting the distributed transaction management in the text information retrieval service. By adopting the method, the local transactions of the text information retrieval service can be managed in a distributed transaction management device. In order to achieve the purpose, the designed method achieves XA (eXtended Architect) specification in the text information retrieval service, achieves two-stage protocol committing according to the XA specification, and ensures the ACID (Atomicity, Consistency, Isolation and Durability) characteristics of the local transactions at the same time.

Description

technical field [0001] The invention relates to the field of information retrieval Background technique [0002] The storage and search of information has always been one of the problems that computer technology is committed to solving. With the development of computer technology, more and more applications / services provide full-text retrieval and search functions. In a practical application, the application usually needs to process index data and other data in one transaction. For example, in a content management system, when a user uploads a document, the system may need to perform at least two operations: [0003] 1. Insert a related record into the database [0004] 2. Index the content of the document, so that the content of the document can be searched later [0005] These two operations must be completed in the same transaction, otherwise it may cause data inconsistency. For example, if operation 1 is executed successfully but operation 2 fails, the system may displ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 不公告发明人
Owner 上海引跑信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products