Supercharge Your Innovation With Domain-Expert AI Agents!

Data writing and reading method and device

A technology of data writing and data reading, applied in the input/output process of data processing, program control devices, electrical digital data processing, etc., can solve the problems of software crash, difference, data confusion, etc., and achieve the effect of preventing loss

Active Publication Date: 2020-05-05
上海众源网络有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the programming process, technicians generally do not indicate the data type when writing data. As a result, when the computer reads data, technicians often need to manually set the data type of the read data. Different types of situations, resulting in data confusion and even software crashes

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0053] An embodiment of the present invention provides a data writing method, which is applied to a terminal device. The terminal device is used to obtain the data type of target data to be written, and store the target data of a preset data type in a persistent container.

[0054] The following will take the terminal device as an example and describe in detail a data writing method provided by the embodiment of the present invention in combination with specific implementation methods: the terminal device determines the target data type and the target data according to the target data write instruction The target identification information of the data, and according to the target identification information, obtain the writing method name and reading method name of the target identification information, a...

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 embodiment of the invention provides a data writing and reading method and device, and the method comprises the steps: determining the target data type of target data and the target identificationinformation of the target data when a writing instruction for the target data is received; judging whether the target data type of the target data is a preset data type or not; if the target data type of the target data is the preset data type, calling a general data writing method, and transmitting the target data and a writing method name corresponding to the target identification information into a storage space; and if the target data type of the target data is a non-preset data type, converting the target data type into a preset data type, calling a general data writing method, and transmitting the writing method name and the target data of the preset data type into the storage space. According to the embodiment of the invention, the data type is clear during data writing, so that data type setting errors during data reading are prevented.

Description

technical field [0001] The invention relates to the technical field of data reading and writing, in particular to a data writing and reading method and device. Background technique [0002] During the programming process, technicians generally do not indicate the data type when writing data. As a result, when the computer reads data, technicians often need to manually set the data type of the read data. Different types of situations, resulting in data confusion and even software crashes. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a data writing and reading method and device, so as to realize that the data type of the read data is consistent with the data type of the input data. The specific technical scheme is as follows: [0004] In the first aspect of the implementation of the present invention, a data writing method is firstly provided, the method comprising: [0005] When receiving a write instruction for...

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/20G06F9/455G06F3/06
CPCG06F8/20G06F9/45558G06F3/0619G06F3/0604Y02D10/00
Inventor 杨帆
Owner 上海众源网络有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More