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

Data processing method and device

A data processing and database technology, applied in the field of communication, can solve problems such as incompatible codes

Inactive Publication Date: 2018-02-06
ZTE CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a data processing method and device to at least solve the problem in the related art that the separation of reading and writing of the database can only be realized on the specific database software and software version number, and cannot be compatible with the code of the original business

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

[0029] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0030] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

[0031] In this embodiment, a data processing method is provided, figure 1 is a flowchart of a data processing method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0032] Step S102, creating a connection interface for accessing the database, and creating a cursor interface for accessing the cursor according to the connection interface;

[0033] Step S104, identifying the op...

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 the steps that a connecting interface used for accessing a database is created, and a cursor interface used for accessing a cursor is created according to the connecting interface; an operation indicated by structural query language (SQL) is identified in the connecting interface or the cursor interface, wherein the SQL is used for indicating a data read operation and / or write operation; data processing is conducted in the database according to the identification result. Accordingly, the problems that in the related prior art, read and write separation of the database can only be achieved on specific database software and the software version number, and codes of original services are incompatible are solved,and then the effects that operation of read and write classification among databases of all kinds of types and versions is achieved, and the original codes are compatible are achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a data processing method and device. Background technique [0002] With the development of the Internet, the number of visits to various websites is also increasing, which intensifies the read and write operations on the database. In order to reduce the pressure of reading and writing the database, the database will be separated from reading and writing to reduce the pressure on the database. Read-write separation is to cluster the database and then separate the database. Some databases can only perform write operations, and some databases can only perform read operations. For example, the cluster of MySQL (a relational database management system) database puts the write operation into On the master database, the read operation is placed on the slave database. There can be many slave databases, and the read operation is much higher than the write operation, so that the pressure...

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/30
CPCG06F16/27G06F16/2433G06F16/25G06F16/284
Inventor 陈传亮
Owner ZTE CORP