Patents by Inventor Fusheng HAN
Fusheng HAN has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).
-
Publication number: 20240143456Abstract: Implementations of this specification provide methods and apparatuses for replaying logs. One method includes: classifying a plurality of logs to be replayed into log queues, sending the log queues to a global replay queue, allocating one or more replay threads to the log queues based on rankings of the log queues in the global replay queue, wherein the one or more replay threads are configured to replay one or more current log queues of the log queues, and in response to identifying an error of a current log queue of the one or more current log queues in a replay process, allocating a replay thread of the one or more replay threads allocated to the current log queue to a log queue that immediately follows the current log queue in the global replay queue.Type: ApplicationFiled: October 26, 2023Publication date: May 2, 2024Applicant: Beijing Oceanbase Technology Co., Ltd.Inventors: Yingying Yao, Hao Liu, Fusheng HAN
-
Publication number: 20240134840Abstract: This specification discloses example distributed table lock application methods and apparatuses, storage media, and electronic devices. In an example method, a master node receives a data processing request and determines a data table that to-be-processed data corresponding to the data processing request are located in. The master node generates a table lock for the data table; performs a lock operation on the data table and generates lock status information corresponding to the data table; writes the lock status information into a local log of the master node and synchronizes the log to a slave node such that the slave node stores the log. After the master node restarts, determines whether the master node stores the log; and in response to that the master node stores the log, restores the lock operation on the data table based on the lock status information recorded in the log.Type: ApplicationFiled: October 24, 2023Publication date: April 25, 2024Applicant: Beijing Oceanbase Technology Co., Ltd.Inventors: Fanyu Kong, Xiaofei Cui, Fusheng HAN, Ting Cao
-
Publication number: 20240137407Abstract: Lease transfer between master and slave replicas is described. A master replicator determines that an initial master replica lease takes effect. On determining that a master replica transfer needs to be performed, sending a transfer preparation message to a target replicator prior to expiration of a current master replica lease. The target replicator locally starts and calculates a new master replica lease and returns a readiness response to the master replicator. The master replicator sends a lease extension message to remaining slave replicators to extend local corresponding leases. After receiving lease extension success responses of a majority of the slave replicators, the master replicator terminates the local master replica lease of the master replicator in advance, and sends a transfer confirmation message to the target replicator. The target replicator validates the new master replica lease to make the target replicator a new master replicator.Type: ApplicationFiled: October 18, 2023Publication date: April 25, 2024Applicant: Beijing OceanBase Technology Co., Ltd.Inventors: Xuwang Teng, Jinliang Xiao, Fanyu Kong, Hao Liu, Bin Jade, Fusheng HAN
-
Publication number: 20240104089Abstract: Methods, systems, electronic devices and computer-readable media for database transaction processing are provided. In an example, after determining to perform primary-secondary switching of a copy, a first server records a context of a database transaction that is currently being executed, sends the context to a second server, and switches a primary copy stored in the first server to a secondary copy. The second server switches a secondary copy stored in the second server to a primary copy, and continues execution of the database transaction based on the context after completing the switching.Type: ApplicationFiled: November 28, 2023Publication date: March 28, 2024Applicant: Beijing OceanBase Technology Co., Ltd.Inventors: Jinliang Xiao, Shanyan Gao, Fusheng Han
-
Patent number: 11429599Abstract: Embodiments of the present specification provide a method for updating a database by using a two-phase commit distributed transaction. The method is applied to a coordinator, and includes: sending a first-phase prepare request message to each participant to end a current transaction, the current transaction being configured to update a target database record; and after receiving write lock advance release requests sent by all participants, returning a write lock advance release response to each participant to instruct each participant to unlock a target database record of the participant, the write lock advance release requests being sent by the participants after the participants successfully write a log of an update operation of the current transaction to a log buffer.Type: GrantFiled: June 23, 2021Date of Patent: August 30, 2022Assignee: Beijing OceanBase Technology Co., Ltd.Inventors: Fusheng Han, Jinliang Xiao, Shanyan Gao, Chuanhui Yang, Yixin Luo
-
Publication number: 20220004542Abstract: Embodiments of the present specification provide a method for updating a database by using a two-phase commit distributed transaction. The method is applied to a coordinator, and includes: sending a first-phase prepare request message to each participant to end a current transaction, the current transaction being configured to update a target database record; and after receiving write lock advance release requests sent by all participants, returning a write lock advance release response to each participant to instruct each participant to unlock a target database record of the participant, the write lock advance release requests being sent 1w the participants after the participants successfully write a log of an update operation of the current transaction to a log buffer.Type: ApplicationFiled: June 23, 2021Publication date: January 6, 2022Inventors: Fusheng HAN, Jinliang XIAO, Shanyan GAO, Chuanhui YANG, Yixin LUO
-
Publication number: 20210390114Abstract: A data modification request for modifying data in a primary database is received at the primary database. Based on the data modification request, second data in the primary database is modified to first data. Based on the data modification request, a first log and a second log are generated, where the first log is a simplified log including the first data and the second log is a complete log including the second data. Persistence processing is performed on the first log. A modification result that corresponds to the data modification request is returned.Type: ApplicationFiled: August 26, 2021Publication date: December 16, 2021Applicant: Beijing OceanBase Technology Co., Ltd.Inventors: Zhenkun Yang, Fusheng Han
-
Patent number: 11132379Abstract: A data modification request for modifying data in a primary database is received at the primary database. Based on the data modification request, second data in the primary database is modified to first data. Based on the data modification request, a first log and a second log are generated, where the first log is a simplified log including the first data and the second log is a complete log including the second data. Persistence processing is performed on the first log. A modification result that corresponds to the data modification request is returned.Type: GrantFiled: December 20, 2019Date of Patent: September 28, 2021Assignee: ANT FINANCIAL (HANG ZHOU) NETWORK TECHNOLOGY CO., LTD.Inventors: Zhenkun Yang, Fusheng Han
-
Patent number: 11106695Abstract: A data modification request for modifying data in a primary database is received at the primary database. Based on the data modification request, second data in the primary database is modified to first data. Based on the data modification request, a first log and a second log are generated, where the first log is a simplified log including the first data and the second log is a complete log including the second data. Persistence processing is performed on the first log. A modification result that corresponds to the data modification request is returned.Type: GrantFiled: January 4, 2019Date of Patent: August 31, 2021Assignee: ANT FINANCIAL (HANG ZHOU) NETWORK TECHNOLOGY CO., LTD.Inventors: Zhenkun Yang, Fusheng Han
-
Publication number: 20200125581Abstract: A data modification request for modifying data in a primary database is received at the primary database. Based on the data modification request, second data in the primary database is modified to first data. Based on the data modification request, a first log and a second log are generated, where the first log is a simplified log including the first data and the second log is a complete log including the second data. Persistence processing is performed on the first log. A modification result that corresponds to the data modification request is returned.Type: ApplicationFiled: December 20, 2019Publication date: April 23, 2020Applicant: Alibaba Group Holding LimitedInventors: Zhenkun Yang, Fusheng Han
-
Publication number: 20190155817Abstract: A data modification request for modifying data in a primary database is received at the primary database. Based on the data modification request, second data in the primary database is modified to first data. Based on the data modification request, a first log and a second log are generated, where the first log is a simplified log including the first data and the second log is a complete log including the second data. Persistence processing is performed on the first log. A modification result that corresponds to the data modification request is returned.Type: ApplicationFiled: January 4, 2019Publication date: May 23, 2019Applicant: Alibaba Group Holding LimitedInventors: Zhenkun Yang, Fusheng HAN