Data writing method and device and data reading method and device

A data writing and data reading technology, which is applied in the field of communication, can solve the problems of slow real-time response of the database, inability to obtain the primary key of business data, and affecting the performance of the computer system, etc.

Inactive Publication Date: 2018-10-23
DATANG MOBILE COMM EQUIP CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, computer systems are usually deployed with a multi-application server-single database server architecture. A single database server is naturally under great pressure, especially when business pressure suddenly increases and application servers have high concurrency, which seriously affects the computer system. performance
[0004] The traditional database primary key management is a part of the database manage...

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 writing method and device and data reading method and device
  • Data writing method and device and data reading method and device
  • Data writing method and device and data reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0095] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0096] The embodiment of the present invention can be applied in a distributed system, and can also be applied in a non-distributed system.

[0097] Wherein, a distributed system may include multiple application servers and a database server, and a non-distributed system may include an application server and a database server.

[0098] Such as figure 1 As shown, 101 is a host, 102 is a plurality of slaves, 103 is a database serve...

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

Embodiments of the invention provide a data writing method and device and a data reading method and device. The data writing method comprises the following steps of: when an application process in a target server is started or restarted, obtaining main key configuration information from a database, wherein the main key configuration information at least comprises corresponding relationship among data table identifiers of one or more data tables in the database and/or a target server identifier and real-time main key information; storing the main key configuration information in the target server; obtaining business data to be written into a target data table; determining target main key information corresponding to the business data from the main key configuration information, wherein thetarget main key information at least comprises a target data table identifier and/or the target server business and a business data sequence of the business data; and writing the business data into the target data table by adoption of the target main key information, so as to distinguish the main key information, optimize a composition structure of the main key information, enhancing the timeliness of obtaining the main key information and enhancing the persistent business data writing performance.

Description

technical field [0001] The present invention relates to the communication field, in particular to a data writing method, a data writing device, a data reading method, and a data reading device. Background technique [0002] With the development of science and technology, computer systems are becoming more and more complex, and the business pressure that needs to be loaded is increasing. The real-time requirements for computer systems to process business data are also increasing. [0003] At present, computer systems are usually deployed with a multi-application server-single database server architecture. A single database server is naturally under great pressure, especially when business pressure suddenly increases and application servers have high concurrency, which seriously affects the computer system. performance. [0004] The traditional database primary key management is a part of the database management system. Due to the performance of the computer system, especiall...

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
Inventor 杨云杰张璇
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products