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

A data writing method and device

A data writing and data technology, applied in the field of data security, can solve the problem that data cannot be written normally

Active Publication Date: 2020-08-28
BEIJING VRV SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above technical problems, the embodiment of the present invention provides a data method and device to solve the problem in the prior art that data cannot be written normally when the disk cannot be locked. The technical solution is as follows:

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, 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.

[0044] see figure 1 , figure 1 It is an implementation flow chart of a data writing method provided by the embodiment of the present application. A drive device corresponding to the driver program is created in advance at the kernel layer of the operating system, and the drive device is used to realize the application of the operating system. layer communication, the method comprising:

[0045] Step S101, judging whether the application layer i...

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 writing method and device. The method comprises the steps that whether or not a WriteFile interface function is called to write data into a driving device by an application layer is judged; if yes, parameters in the WriteFile interface function are acquired, wherein the parameters at least comprise identification of the driving device, the data and device objects of a disk; a dispatch function is established, wherein parameters of the dispatch function at least comprise the data and the device objects of the disk; the dispatch function is sent to a driving program corresponding to the identification, so that the driving program writes the data into the disk according to the device objects of the disk. According to the technical scheme, the driving program of a core layer finally writes the data into the disk, and the Windows has no limitation on disk locking when the data is written from the core layer to the disk, so that even if the dick cannot be locked, the data can be still written into the disk by adopting the data writing method.

Description

technical field [0001] The invention relates to the technical field of data security, in particular to a data writing method and device. Background technique [0002] At present, in XP and previous operating systems, when data needs to be written to the disk, the application program of the application layer calls the CreateFile function to open the disk, and then writes the data to the corresponding disk by calling the WriteFile function. [0003] However, in Vista and possible future operating systems, Microsoft restricts applications from directly accessing the disk based on data security considerations. Specifically, when an application calls the WriteFile function to write data, the operating system will return "Permission Not enough to write" error message. The current traditional way to solve this problem is to lock the disk before writing data to the disk, and then write data. [0004] During the research of the prior art, the inventor found that when the system is ...

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 Patents(China)
IPC IPC(8): G06F3/06G06F9/54
CPCG06F3/0604G06F3/0655G06F3/0676G06F9/545
Inventor 杨兵
Owner BEIJING VRV SOFTWARE CO LTD