Method and apparatus for data processing, server and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsFuye WANG, Xiaobing MAO, Zenghui LIU
Life of this patent
Estimating the term…
Abstract
A method includes that: a user event to be processed is received; the user event to be processed is stored into an event queue corresponding to an event attribute of the user event to be processed, user events with different event attributes corresponding to different event queues; the user event is read from the event queue through multiple processes and is processed; and the processed user event is deleted from the event queue.
Claims20
A method for data processing, comprising:
- receiving a user event to be processed;
- storing the user event to be processed into an event queue corresponding to an event attribute of the user event to be processed, wherein user events with different event attributes correspond to different event queues;
- reading the user event from the event queue through multiple processes and processing the user event;
- and
- deleting the processed user event from the event queue.
An apparatus for data processing, comprising:
- a network interface, configured to receive a user event to be processed;
- a memory, configured to store the user event to be processed into an event queue corresponding to an event attribute of the user event to be processed, wherein user events with different event attributes correspond to different event queues;
- and
- a processing component, connected to the network interface and the memory, configured to read the user event from the event queue through multiple processes and process the user event;
- and delete the processed user event from the event queue.
A non-transitory computer-readable storage medium, storing instructions that, when executed by a processor of a server, cause the server to implement:
- receiving a user event to be processed;
- storing the user event to be processed into an event queue corresponding to an event attribute of the user event to be processed, wherein user events with different event attributes correspond to different event queues;
- reading the user event from the event queue through multiple processes and processing the user event;
- and
- deleting the processed user event from the event queue.
Dependencies are inferred from the claim text.