Patent ID: 9734020
Date: 2017-08-15
CPC Classifications: G06F,H04L

Claim:
1. A data configuration method, comprising: receiving a data configuration operation request, wherein the data configuration operation request comprises data to be operated; allocating an operation serial number to the data configuration operation request; and recording the allocated operation serial number in a mapping relationship according to the data configuration operation request, wherein the mapping relationship comprises the data to be operated, a creation operation serial number, and a deletion operation serial number, such that a direct rollback operation to anyone of previous data is implemented when a rollback operation serial number is requested, wherein the rollback operation serial number is anyone of the recorded operation serial numbers in the mapping relationship; wherein: when the data configuration operation request is a data insert request, and the data to be operated is inserted data, the recording the allocated operation serial number in a mapping relationship comprises: recording the creation operation serial number corresponding to the inserted data in the mapping relationship by using the allocated operation serial number, and keeping a deletion operation serial number corresponding to the inserted data empty; when the data configuration operation request is a data delete request, the data to be operated is deleted data, the recording the allocated operation serial number in a mapping relationship comprises: recording a deletion operation serial number corresponding to the deleted data in the mapping relationship by using the allocated operation serial number, and remaining a creation operation serial number corresponding to the deleted data unchanged; when the data configuration operation request is a data update request, the data to be operated comprises updated data and original data, the recording the allocated operation serial number in a mapping relationship comprises: recording a creation operation serial number corresponding to the updated data in the mapping relationship by using the allocated operation serial number, keeping a deletion operation serial number corresponding to the updated data empty, updating a deletion operation serial number corresponding to the original data in a mapping relationship by using the allocated operation serial number, and remaining a creation operation serial number corresponding to the original data unchanged.