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

Data operating method and device

A data operation and data technology, applied in the computer field, can solve problems such as write operation request processing failure, data operation failure, data connection mismatch, etc., to achieve the effect of avoiding data operation failure and saving database resources

Active Publication Date: 2015-03-04
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, if the number of actual data connections is more than the preset data connection value, and the clients who establish these data connections all send the same operation request (such as: write operation request, the write operation request only corresponds to the main library in the database) , the redundant data connection exceeding the preset data connection value will be established on the slave library of the database, which will cause the processing of the write operation request established on the database slave library to fail (the database slave library only processes read operation requests)
It can be seen that in the prior art, the data connection between the client and the database is prone to mismatch, and when the data connection does not match, not only the data operation fails, but also the database resources are wasted

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 operating method and device
  • Data operating method and device
  • Data operating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] Exemplary embodiments of the present disclosure will be described in more detail below 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 may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0068] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0069] figure 1 For the data operation method according to one embodiment of the present invention, applied to the data operation device (also called middleware) coupled between the client and the database, the method may include steps:

[0070] S101: Receive a first data connection request sent by the cli...

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 operating method and a data operating device. The data operating method is applied to a data operating device which is coupled between a client and a database so as to achieve data operation. The data operating method comprises the following steps: receiving a first data connection request sent by the client; establishing first data connection between the data operating device and the client; through the first data connection, receiving an operating request sent by the client; according to the operating request, establishing second data connection between the data operating device and the corresponding database; sending the operating request to the database through the second data connection. Through the data operating method, a data operating failure caused by unmatching of the data connections between the client and the database can be avoided, and database resources are saved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data operation method and device. Background technique [0002] With the development of information technology, users can use the client to access the corresponding database (such as MySQL database, Oracle database, etc.) through the network to obtain the required data. Usually, middleware (a data transfer device) is set between the database and the client to manage the connection interaction between the database and a large number of clients, and provide data services for each client, that is, the connection between the client and the database through Middleware for data connection. The process of establishing a data connection is: the client first connects with the middleware, and then the middleware establishes a data connection on the database. [0003] At present, in order to avoid the processing pressure of the database when multiple clients perform a large nu...

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): H04L29/06H04L29/08G06F17/30
CPCG06F16/252H04L67/562G06F16/00
Inventor 朱超王超陈非
Owner BEIJING QIHOO TECH CO LTD