Data processing method and device

A data processing and data technology, applied in the computer field, can solve problems such as message queue crashes, and achieve the effect of alleviating storage pressure and avoiding crashes

Inactive Publication Date: 2016-08-10
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under normal circumstances, the number of failed tasks is relatively small, but when the database fails and data writing operations cannot be performed, a large amount of task failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0014] According to one aspect of the present invention, a data processing method is provided. figure 1 A schematic flowchart of a data processing method 100 according to an embodiment of the present invention is shown.

[0015] Such as figure 1 As shown, the data processing method 100 includes the following steps.

[0016] In step S110, the task failure data in the message queue is consumed by a specific thread...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data processing method and device. The data processing method comprises following steps of consuming task failure data in a message queue by a specific thread, wherein the task failure data is used for indicating failure tasks related to data operations in a database; and writing at least part of the consumed task failure data in a log file system. According to the data processing method and device, the task failure data is transferred from the message queue to the log file system, therefore, the task failure data will not be stored in the message queue for a long time, and the storage pressure of the message queue can be effectively mitigated.

Description

Technical field [0001] The invention relates to the field of computer technology, in particular to a data processing method and device. Background technique [0002] With the rapid development of computer technology, there are more and more data to be managed in many application fields, such as user information data, system log data, and so on. Usually use a database to manage these data. When a certain task is completed by operating on the data in the database, task failure data will be generated if the operation fails. For example, if it is desired to increase the experience value for a certain user, the user's experience value data stored in the database needs to be updated. When updating the user's experience value data, if the update operation fails due to some reasons, that is, the task of increasing the experience value fails, a record about the failure of the task to increase the experience value for the user can be generated, which is the above task Failed data. Usua...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F9/54
CPCG06F9/546G06F16/1815G06F16/219
Inventor 郭军
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products