Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method and device

A data processing device and data processing technology, applied in the field of data processing, can solve problems such as retry, uncommitted database transaction, and no solution provided.

Inactive Publication Date: 2020-03-31
JINGDONG TECH HLDG CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] If the message is timed out, the database transaction will not be submitted for a long time, and the corresponding database connection will be occupied and cannot be released; when the business system has a large number of visits, it will eventually cause the user's business request to have no datab

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

[0063] In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described clearly and completely in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

[0064] figure 1 A data processing method provided in an embodiment of this application includes steps S11 to S14 as follows:

[0065] S11. Obtain the message to be sent and business data; wherein the message to be sent is generated according to the business data;

[0066] Specifically, the device for executing the above method may be a database in a payment scenario, and t...

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 relates to a data processing method and a device. The method comprises the steps of obtaining a to-be-sent message and service data; wherein the to-be-sent message is generated accordingto the service data; generating task information; wherein the task information comprises a to-be-sent message; establishing an execution strategy for associating the first operation with the second operation; and respectively executing the first operation and the second operation. By means of the method, a message sending system can be independent from a sender system and other service systems, and the problem that due to message sending timeout, database affairs are not submitted for a long time, and corresponding database connection is occupied accordingly and cannot be released can be avoided; when the page view of the service system is large, the occupied database cannot be released, so that the service request has no database connection availability, the system availability of the system level is reduced, and the operation of the user level fails; therefore, the database of the service system can be released in time, and the availability of the system is guaranteed.

Description

Technical field [0001] This application relates to the field of data processing technology, and in particular to a data processing method and device. Background technique [0002] In practical applications, the message sender usually performs the operations of writing to the database and sending the message, and the message receiver processes the message after receiving the message; when performing the above operations, it is necessary to ensure that the message is consistent between the sender and the receiver. That is, both parties send and receive the message correctly, and process the business logic according to the message. [0003] In order to ensure the consistency of the message, the message sender must succeed in both writing to the database and sending the message. The message receiver must ensure that the business runs correctly after receiving the message, and the message must not be lost. The message receiver must be able to receive the message. The party can only con...

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): G06F16/23G06F11/00
CPCG06F11/004G06F2201/80G06F16/2365
Inventor 贺鹏
Owner JINGDONG TECH HLDG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products