# US 2019/0245919 A1 · Method and apparatus for information processing, server and computer readable medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0245919 A1
- Document ID: US20190245919A1
- Status: Published application
- Kind: A1
- Application number: 16/016,313
- Filed: 2018-06-22
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Beijing Elex Technology Co., Ltd.
- Applicants: Beijing Elex Technology Co., Ltd.
- Inventors: Yuanqiang Huang
- Web page: https://patentgrep.com/patent/US20190245919A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/178: Techniques for file synchronisation in file systems
- G06F 16/183: {Provision of network file services by network file servers, e.g. by using NFS, CIFS (network file access protocols H04L67/1097)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The embodiments of the present disclosure relate to information processing technology and provide a method and an apparatus for information processing, a server and a computer readable medium, capable of further improving the stability of data storage. In the method, in response to a data modification request from a client, a server modifies a first target data specified by the data modification request to obtain a second target data; writes the second target data into a log file in a specified scheme; and synchronizes the log file to a database at a network side. The embodiments of the present disclosure are applicable in a process for data stability management in a device memory.

## Claims

### Claim 1

A method for information processing, performed by a server, comprising:
modifying, in response to a data modification request from a client, a first target data specified by the data modification request to obtain a second target data;
writing the second target data into a log file in a specified scheme; and
synchronizing the log file to a database at a network side.

### Claim 2 (depends on 1)

The method of claim 1, wherein said writing the second target data into the log file in the specified scheme comprises:
writing the second target data into the log file directly when the log file is empty; or
appending the second target data to an end of content stored in the log file when the log file is not empty.

### Claim 3 (depends on 1)

The method of claim 1, wherein said synchronizing the log file to the database at the network side comprises:
extracting a third target data to be synchronized from the log file;
synchronizing the third target data to the database at the network side; and
deleting the third target data from the log file.

### Claim 4 (depends on 1)

The method of claim 1, further comprising, subsequent to writing the second target data into the log file in the specified scheme:
returning operation success prompt information to the client.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
reading the log file from a local memory when the server is activated; and
updating data in the database at the network side based on content stored in the log file.

### Claim 6

An apparatus for information processing, in a server, comprising:
a modifying unit configured to modify, in response to a data modification request from a client, a first target data specified by the data modification request to obtain a second target data;
a writing unit configured to write the second target data into a log file in a specified scheme; and
a synchronizing unit configured to synchronize the log file to a database at a network side.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the writing unit is configured to:
write the second target data into the log file directly when the log file is empty; or
append the second target data to an end of content stored in the log file when the log file is not empty.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the synchronizing unit comprises:
an extracting module configured to extract a third target data to be synchronized from the log file;
a synchronizing module configured to synchronize the third target data to the database at the network side; and
a deleting module configured to delete the third target data from the log file.

### Claim 9 (depends on 6)

The apparatus of claim 6, further comprising:
a returning unit configured to return operation success prompt information to the client.

### Claim 10 (depends on 6)

The apparatus of claim 6, further comprising:
a reading unit configured to read the log file from a local memory when the server is activated; and
an updating unit configured to update data in the database at the network side based on content stored in the log file.

### Claim 11 (depends on 1)

A server, comprising a processor, a memory, a communication interface and a bus, wherein the memory stores computer executable instructions, the processor is connected to the memory via the bus, and when the server is operating, the processor executes the computer executable instructions stored in the memory to cause the server to perform the method according to claim 1.
