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: 20240143456
    Abstract: 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: Application
    Filed: October 26, 2023
    Publication date: May 2, 2024
    Applicant: Beijing Oceanbase Technology Co., Ltd.
    Inventors: Yingying Yao, Hao Liu, Fusheng HAN
  • Publication number: 20240134840
    Abstract: 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: Application
    Filed: October 24, 2023
    Publication date: April 25, 2024
    Applicant: Beijing Oceanbase Technology Co., Ltd.
    Inventors: Fanyu Kong, Xiaofei Cui, Fusheng HAN, Ting Cao
  • Publication number: 20240137407
    Abstract: 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: Application
    Filed: October 18, 2023
    Publication date: April 25, 2024
    Applicant: Beijing OceanBase Technology Co., Ltd.
    Inventors: Xuwang Teng, Jinliang Xiao, Fanyu Kong, Hao Liu, Bin Jade, Fusheng HAN
  • Publication number: 20240104089
    Abstract: 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: Application
    Filed: November 28, 2023
    Publication date: March 28, 2024
    Applicant: Beijing OceanBase Technology Co., Ltd.
    Inventors: Jinliang Xiao, Shanyan Gao, Fusheng Han
  • Patent number: 11429599
    Abstract: 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: Grant
    Filed: June 23, 2021
    Date of Patent: August 30, 2022
    Assignee: Beijing OceanBase Technology Co., Ltd.
    Inventors: Fusheng Han, Jinliang Xiao, Shanyan Gao, Chuanhui Yang, Yixin Luo
  • Publication number: 20220004542
    Abstract: 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: Application
    Filed: June 23, 2021
    Publication date: January 6, 2022
    Inventors: Fusheng HAN, Jinliang XIAO, Shanyan GAO, Chuanhui YANG, Yixin LUO
  • Publication number: 20210390114
    Abstract: 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: Application
    Filed: August 26, 2021
    Publication date: December 16, 2021
    Applicant: Beijing OceanBase Technology Co., Ltd.
    Inventors: Zhenkun Yang, Fusheng Han
  • Patent number: 11132379
    Abstract: 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: Grant
    Filed: December 20, 2019
    Date of Patent: September 28, 2021
    Assignee: ANT FINANCIAL (HANG ZHOU) NETWORK TECHNOLOGY CO., LTD.
    Inventors: Zhenkun Yang, Fusheng Han
  • Patent number: 11106695
    Abstract: 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: Grant
    Filed: January 4, 2019
    Date of Patent: August 31, 2021
    Assignee: ANT FINANCIAL (HANG ZHOU) NETWORK TECHNOLOGY CO., LTD.
    Inventors: Zhenkun Yang, Fusheng Han
  • Publication number: 20200125581
    Abstract: 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: Application
    Filed: December 20, 2019
    Publication date: April 23, 2020
    Applicant: Alibaba Group Holding Limited
    Inventors: Zhenkun Yang, Fusheng Han
  • Publication number: 20190155817
    Abstract: 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: Application
    Filed: January 4, 2019
    Publication date: May 23, 2019
    Applicant: Alibaba Group Holding Limited
    Inventors: Zhenkun Yang, Fusheng HAN