Data storage method and terminal

The invention provides a data storage method and a terminal. The data storage method comprises steps of receiving a data storage request, wherein the data storage request carries a target user identifier and user data, performing operation on a target user identifier according to a preset mapping al...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LAI ZHENGSHENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a data storage method and a terminal. The data storage method comprises steps of receiving a data storage request, wherein the data storage request carries a target user identifier and user data, performing operation on a target user identifier according to a preset mapping algorithm, inquiring a target unloading node corresponding to a target user identifier according to an operation result, wherein the target unloading node corresponds to a plurality of user identifiers, inquiring a target storage node corresponding to the target unloading node in a storage mapping table, wherein an one-to-one correspondence relation or a several-for-one correspondence relation between the unloading node and the storage unloading node is recorded in the storage mapping table, and storing the user data carried by the data storage request in a storage position corresponding to the target user identifier in the target storage node. Through the embodiment, the invention avoids the generation of a large ma