Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SEQUENCE GENERATION METHOD AND APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2020/224091
Kind Code:
A1
Abstract:
A sequence generation method and apparatus, a computer device, and a storage medium, the method comprising: receiving a sequence generation request sent by a client terminal, and acquiring data to be stored from the sequence generation request (S1); on the basis of a preset calculation method, converting the data to be stored into a target field of a preset length (S2); acquiring a real-time pressure value of a database server (S3); on the basis of the real-time pressure value, determining a number N of initial caches and allocating N initial caches, the initial caches comprising a random initial value, and N being a positive integer (S4); on the basis of the length of each random initial value, dividing the target field into M data segments, the data segments corresponding to the initial caches, and M being a positive integer (S5); performing a bitwise calculation on each data segment and the random initial value in the initial cache corresponding to the data segment to obtain M calculation results, and splicing together the M calculation results to obtain a target sequence (S6). The present method enables the generated main key to save storage space during the process of generating the main key of a data table, improving the query performance of the database.

Inventors:
ZHU PENGCHENG (CN)
WANG PEI (CN)
Application Number:
PCT/CN2019/101928
Publication Date:
November 12, 2020
Filing Date:
August 22, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PING AN TECH SHENZHEN CO LTD (CN)
International Classes:
G06F16/22; G06F16/2453; G06F16/2455; G06F16/28
Foreign References:
CN103020144A2013-04-03
CN101140592A2008-03-12
CN106980488A2017-07-25
CN109327444A2019-02-12
US20120158774A12012-06-21
US20190012144A12019-01-10
Attorney, Agent or Firm:
SHENZHEN ZHONGDING INTELLECTUAL PROPERTY AGENCY (CN)
Download PDF: