Supercharge Your Innovation With Domain-Expert AI Agents!

File processing method and device, electronic equipment and computer readable medium

A file processing and file technology, applied in the fields of electronic equipment and computer-readable media, file processing methods, and devices, can solve problems such as low efficiency of file reading and writing processing, and achieve the effect of reducing changes

Pending Publication Date: 2022-04-12
CCB FINTECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present application provides a file processing method, device, electronic equipment, and computer-readable medium, which can solve the problem of reading and writing files when multiple existing processes frequently read and write the same file. inefficiency

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
  • File processing method and device, electronic equipment and computer readable medium
  • File processing method and device, electronic equipment and computer readable medium
  • File processing method and device, electronic equipment and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. The acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.

[0062] figure 1 is a schematic diagram of the main flow of the file processing method according to the first embodiment of the present application, such as figure 1 As shown, the file processin...

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 file processing method and device, electronic equipment and a computer readable medium, and relates to the technical field of automatic programming, and a specific implementation mode comprises the steps that a file processing request is received, and a corresponding file descriptor is obtained; calling a constructor to generate a polling instance based on the file descriptor; calling a polling instance to register a file descriptor, and further generating a polling object; and processing the corresponding file based on the polling object. By generating the polling object, each process can edit the state of the polling object at the same time, so that multiplexing of file operation can be realized based on the state of the file descriptor, one process can monitor a plurality of file descriptors, and each process can open the file at the same time and read and write in sequence at the same time; and the change of business codes is reduced.

Description

technical field [0001] The present application relates to the technical field of automatic programming, in particular to a file processing method, device, electronic equipment and computer readable medium. Background technique [0002] On the server side of software development, there will be frequent alternating reading and writing of files between processes. In real software development, the go language read and write file operations are blocking. When multiple processes frequently read and write the same file, one process opens a file for writing, and other processes cannot do so until the process closes the file. File read and write operations, resulting in inefficient file read and write processing. [0003] During the process of implementing this application, the inventors found that at least the following problems existed in the prior art: [0004] When multiple processes frequently read and write to the same file, the read and write processing of the file is ineffi...

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): G06F8/30
Inventor 徐强
Owner CCB FINTECH CO LTD
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