Invention Grant
- Patent Title: Method and apparatus for operating database
-
Application No.: US16455394Application Date: 2019-06-27
-
Publication No.: US11640474B2Publication Date: 2023-05-02
- Inventor: Hao Song , Baohua Lai
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Seed IP Law Group LLP
- Priority: CN201810895459.0 20180808
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/62 ; G06F21/33 ; G06F21/60
Abstract:
Enclosed are a method and apparatus for operating a database. The method includes: performing, in response to determining a user indicated by a user identifier having a permission to operate on data targeted by a database operation statement, a digital signature on the database operation statement using a user private key to obtain signature information, generating transaction information according to the database operation statement, the signature information and the user identifier, and storing the generated transaction information into a local transaction information buffer pool; and selecting, in response to competing for a transaction information block recording permission using a preset consensus algorithm, transaction information in the local transaction information buffer pool to generate a block, parsing and executing a database operation statement in each piece of selected transaction information, concatenating the generated block to a local blockchain, and broadcasting the generated block to other database servers.
Public/Granted literature
- US20200050782A1 METHOD AND APPARATUS FOR OPERATING DATABASE Public/Granted day:2020-02-13
Information query