Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data read-write method and device and electronic equipment

A data reading, writing and database technology, applied in the software field, can solve the problems of low development efficiency, poor versatility, bloated business programs, etc., and achieve the effects of good versatility, simplified code, and improved business development efficiency.

Active Publication Date: 2021-07-27
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF26 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a data reading and writing method, device and electronic equipment to alleviate the technical problems of low development efficiency, bloated business procedures and poor versatility of existing data reading and writing methods

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 read-write method and device and electronic equipment
  • Data read-write method and device and electronic equipment
  • Data read-write method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] At present, when developers deal with data reading and writing tasks, they directly add data reading and writing codes to business program codes, which will cause problems such as difficult iterative reuse and low development efficiency.

[0026] Based on this, the embodiments of the present invention provide a data reading and writing method, device and electronic equipment, so as to alleviate the technical problems of poor versatility and low development efficiency of existing data reading and writing methods.

...

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 read-write method and device and electronic equipment. The data read-write method comprises the following steps: acquiring a data read-write request initiated by a general data read-write interface of a service program calling RPC module; determining a general data read-write model based on the data read-write request; analyzing the general data read-write model to obtain a data read-write instruction; and executing corresponding data read-write operation on a to-be-read-write database according to the data read-write instruction to obtain a data read-write operation result, and returning the data read-write operation result to a service program. According to the method, the data read-write task and the service program are decoupled, a service program code is simplified, the service program can initiate the data read-write request only by calling the general data read-write interface of the RPC module, data read-write operation can be carried out on a database of any database type, template codes suitable for data reading and writing of different databases do not need to be developed according to different development language specifications, and the universality is good.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a data reading and writing method, device and electronic equipment. Background technique [0002] In the field of software development, processing tasks of reading and writing business data are often encountered. [0003] In the prior art, when a developer handles the task of reading and writing data, he generally directly adds the code for reading and writing data in the business code. In this way, the user performs data operations (including adding, deleting, etc.) , modification and query data operations), the corresponding business program will be called, and then the business program will directly interact with the database in the bound storage layer to complete the corresponding data operation. In the above method of data reading and writing, there are the following defects: due to the variety of database types (for example, MySQL, Hive, etc.), it is necessary to introduc...

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): G06F8/30G06F8/41
CPCG06F8/30G06F8/427Y02D10/00
Inventor 李宇彬吴剑飞刘柏李仁杰范长杰
Owner NETEASE (HANGZHOU) NETWORK 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