A method and device for data processing
A data and current data technology, applied in the field of communication network, can solve the problems of serious consumption of Slave resources, weak data anti-pollution ability, simultaneous data pollution, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The embodiment of the present invention provides a data storage method, the execution subject of the method may be the master device Master, such as figure 1 As shown, the method includes:
[0046] Step 101, the main device receives the input data, updates the current data serial number of the main controller, and saves the data for the first time;
[0047] For example, the data required for login input by the user is received, and the current data serial number is updated according to SN'=SN+1, wherein SN is the current data serial number, and SN' is the updated data serial number. That is, the master device does not receive a new set of data, and adds 1 to the current data sequence number. Here "a set" means at least one piece of data that can be used for login.
[0048] For example, the data may be a login ID (Identity, identity identification), password, nickname, grade, age, gender, remarks, etc. required to log in to a certain game.
[0049] Optionally, the fir...
Embodiment 2
[0078] An embodiment of the present invention provides a data processing method, such as image 3 As shown, the method includes:
[0079] Step 301, the master device receives the input data, updates the current data serial number of the master device, and saves the data for the first time;
[0080] For example, the data required for login input by the user is received, and the current data serial number is updated according to SN'=SN+1, wherein SN is the current data serial number, and SN' is the updated data serial number. That is, the master device does not receive a new set of data, and adds 1 to the current data sequence number. Here "a set" means at least one piece of data that can be used for login.
[0081] For example, the data may be a login ID (Identity, identity identification), password, nickname, grade, age, gender, remarks, etc. required to log in to a certain game.
[0082] Optionally, the first saving refers to saving the data in a third-party database MYSQL...
Embodiment 3
[0110] An embodiment of the present invention provides a device for data storage, which can be a master device, such as Figure 5 As shown, the device includes: a receiving module 501, a saving module 502, and a synchronization module 503;
[0111] The receiving module 501 is used to receive the input data and update the current data serial number of the main controller;
[0112] Optionally, receive the data required for login input by the user, and update the current data serial number according to SN'=SN+1, where SN is the current data serial number, and SN' is the updated data serial number. That is, the master controller does not receive a new set of data, and performs the operation of adding 1 to the current data serial number. Here "a set" means at least one piece of data that can be used for login.
[0113] For example, the data may be a login ID (Identity, identity identification), password, nickname, grade, age, gender, remarks, etc. required to log in to a certain ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


