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 the problems of increasing the database transmission burden, prone to congestion, data retransmission, etc., and achieve the effect of reducing the network transmission burden and reducing the transmission burden.

Active Publication Date: 2015-04-29
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing data processing scheme, on the one hand, when there is a problem in the transmission of response data from the database to the application, for example: the network is interrupted, the database needs to re-send the response data, which will increase the burden of network transmission, and Will increase the transmission burden of the database
On the other hand, since a large amount of response data is returned to the application at one time, the application is prone to congestion when receiving data. Once congestion occurs, data packet loss is likely to occur. In addition, the application will also generate error messages. This results in retransmission of data, increasing network transmission burden and operational burden on application and database systems

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 1

[0018] refer to figure 1 , shows a schematic flowchart of steps of a data processing method according to Embodiment 1 of the present invention.

[0019] The data processing method of the present embodiment includes the following steps:

[0020] Step S100: Intercept the response returned by the database to the application to the service request sent by the application, and receive response data corresponding to the response.

[0021] Among them, the service request is any service request that the application can send to the database, for example: a request to obtain a user number, a request to obtain the remaining traffic value of a package, etc. Preferably, the service request is a request corresponding to a large amount of response data.

[0022] It should be noted that in this embodiment, the middleware set between the application and the database may intercept the response of the service request sent by the database to the application, or it may be intercepted by any othe...

Embodiment 2

[0031] refer to figure 2 , shows a schematic flowchart of steps of a data processing method according to Embodiment 2 of the present invention.

[0032] The data processing method of the present embodiment includes the following steps:

[0033] Step S102: The middleware intercepts the response returned by the database to the application to the service request sent by the application, and receives the response data corresponding to the response.

[0034] Wherein, in this embodiment, the middleware intercepts the response returned by the database to the application to the service request sent by the application, and the middleware receives the response data corresponding to the response. The middleware is set between the application and the database. The so-called "between" is not the "between" in the physical sense, but because the middleware intercepts the data sent between the application and the database, so it is called "set between the application and the database". Mid...

Embodiment 3

[0048] refer to image 3 , shows a schematic flowchart of steps of a data processing method according to Embodiment 3 of the present invention.

[0049] The data processing method of this embodiment specifically includes the following steps:

[0050] Step S202: The middleware intercepts the response returned by the database to the application to the service request sent by the application, and receives response data corresponding to the response.

[0051] Wherein, the middleware in this embodiment is set between the application and the database.

[0052] Step S204: While receiving the response data corresponding to the response, the middleware judges whether the data volume of the received response data reaches the set data volume, if yes, then execute step S206, if not, then repeat step S204 until The data size of the received response data has reached the set data size.

[0053] It should be noted that the set data volume can be a certain set value, or the data volume set...

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 provides a data processing method and device. The method comprises intercepting service request responses which are returned to applications and sent to the applications, and receiving response data corresponding to the responses; determining whether the received response data volume reaches the set data volume when the corresponding response data of the responses are received; sending the set data volume of the response data to the applications if the data volume reaches the set data volume, and continuing to receive remaining response data corresponding to the responses. By means of the method and the device, transmission loads and network transmission loads of the database can be reduced during data processing.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data processing method and device. Background technique [0002] At present, in the relational database system and the non-distributed database system, the architecture of direct connection between the application and the database is mainly adopted. When a database system with this architecture processes a business request, the application directly sends the business request to the database, and the database needs to obtain all the response data corresponding to the business request, and then return the response data to the application at one time. [0003] In the existing data processing scheme, on the one hand, when there is a problem in the transmission of response data from the database to the application, for example: the network is interrupted, the database needs to re-send the response data, which will increase the burden of network transmission, and It ...

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): G06F17/30
CPCG06F16/71G06F16/739
Inventor 朱超陈非王超
Owner BEIJING QIHOO TECH 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