DATA STORAGE METHOD AND APPARATUS, COMPUTER DEVICE, AND COMPUTER STORAGE MEDIUM

A data storage method and apparatus, a computer device, and a computer storage medium, relating to the technical field of the Internet. According to a physical location of a user, a target storage node closest to the physical location can be determined to store data to be stored, so that users at di...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: YI, Renjie
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A data storage method and apparatus, a computer device, and a computer storage medium, relating to the technical field of the Internet. According to a physical location of a user, a target storage node closest to the physical location can be determined to store data to be stored, so that users at different locations implement distributed storage, data of all the users would not be stored in a storage cluster, and thus, data can be queried quickly, thereby shortening the time of querying the data, and achieving good intelligence. The method comprises: receiving a data storage instruction of a user (101); positioning a terminal of the user on the basis of a terminal identifier to obtain a first physical location of the user (102); determining at least one storage node according to the first physical location, and determining at least one first distance between the at least one storage node and the first physical location (103); extracting a target distance from among the at least one first distance, and determi