Unlock instant, AI-driven research and patent intelligence for your innovation.

Data processing method and device

A data processing and data technology, applied in the computer field, can solve problems such as backlog, response completion, application server unable to receive data processing requests normally, etc.

Active Publication Date: 2020-06-05
WUBA
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, during the waiting period, if the application server receives a large number of data acquisition requests for obtaining the above data, since the process of updating the data in the database has not been completed during this period, all data acquisition requests corresponding to "The operation of obtaining data from the database" needs to be suspended. In this way, a large number of data processing requests will be backlogged on the application server, which may cause the application server to fail to receive other data processing requests normally.
[0007] And, if the backlog of data processing requests on the application server is very large, it will increase the possibility of application server and database downtime
[0008] Moreover, if the backlog of data processing requests on the application server is very large, after the process of updating data in the database is completed, although the application server can continue to perform the "operation of obtaining data from the database", it often cannot complete the operation in a short period of time. Respond to all data processing requests for obtaining the above data, which will cause a large number of data processing request responses to time out

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

[0088] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0089] refer to figure 1 , shows a structural block diagram of a data processing system of the present application, and the system includes: an application server 01 , a database 02 and a distributed cache server 03 .

[0090] The application server 01 is connected to the database 02 by communication, and the application server 01 is connected to the distributed cache server 03 by communication.

[0091] The database 02 is used to store data, and the distributed cache server 03 is used to cache data.

[0092] The application server 01 can be used to obtain data from the database 02 or the distributed cache server 03 according to the request of the external device, and feed back the obtained data to the ...

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 method includes: receiving a data acquisition request carrying a data identifier, searching whether first data corresponding to the data identifier exists in a distributed cache server or not, if not, judging whether the data identifier is locked or not, if yes, judging whether second data corresponding to the data identifier is cached in a local cache of an application server or not, and if yes, responding to the data acquisition request based on the second data. Through the method and the device, the situation that the data corresponding to the data identifier stored in the distributed cache server is different from the data corresponding to the data identifier stored in the database can be avoided; backlog on a large number of data acquisition request application servers can be avoided, and since no large number of data acquisition request application servers are backlog, the application servers can continue to normally receive other data processing requests subsequently, and the possibility of downtime of the application servers and a database can be reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data processing method and device. Background technique [0002] With the rapid development of technology, there are more and more application servers on the network, and the application servers can provide data services for users. [0003] Users can access the application server to obtain data, the application server communicates with the database, and the database is used to store data. When the user needs to obtain data, the application server can obtain data from the database and respond to the user. Furthermore, the application server can use the distributed cache server to cache the data in the database, so that the application server can obtain data from the distributed cache server and respond to the user, and the application server can obtain data from the distributed cache server faster than the application server. The speed at which the server obtains da...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2455
CPCG06F16/24552
Inventor 宋艳垒
Owner WUBA