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

File access method, electronic equipment and readable storage medium

An electronic device and file technology, applied in file system, file access structure, file/folder operation, etc., can solve the problem that multiple electronic devices cannot be accessed successfully

Active Publication Date: 2022-01-14
HONOR DEVICE CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for accessing files, an electronic device and a readable storage medium, which can solve the problem in the related art that multiple electronic devices cannot successfully access files on the same electronic device in different access modes at the same time

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 access method, electronic equipment and readable storage medium
  • File access method, electronic equipment and readable storage medium
  • File access method, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manner of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0106] It should be understood that the "plurality" mentioned in this application means two or more. In the description of this application, unless otherwise specified, " / " means or means, for example, A / B can mean A or B; "and / or" in this article is just a description of the relationship between associated objects, It means that there can be three kinds of relationships, for example, A and / or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in order to clearly describe the technical solution of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can under...

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 access method, electronic equipment and a readable storage medium, and belongs to the technical field of terminals. The method comprises the following steps: receiving a read-write operation of a second electronic device on a file based on a temporary modification file, wherein the temporary modification file comprises to-be-modified and / or modified contents in the file; receiving an access request of third electronic equipment to the file, wherein the access request carries indication information of the access mode and the first file piece information; Under the condition that the indication information indicates the read-only mode, if the temporary modification file comprises the first file piece indicated by the first file piece information and the first file piece is modified, reading the first file piece from the temporary modification file; and sending the read first file piece to the third electronic equipment. According to the method, access operations such as read-write and reading are carried out based on the temporarily modified file, a read-write lock mechanism does not need to be added, and access of multiple pieces of electronic equipment to the file at the same time is achieved.

Description

technical field [0001] The present application relates to the technical field of terminals, in particular to a method for accessing files, electronic equipment and a readable storage medium. Background technique [0002] In the scenario where multiple electronic devices access files, when electronic device A is modifying a file on electronic device B, if another electronic device C reads the file, it will read an intermediate state of the file. If the electronic device C needs to perform a verification operation on the read file, since the read file is not an original complete file, it will be confirmed as an illegal file, thus causing the operation to fail. [0003] In related technologies, in order to avoid the above problems, a read-write lock mechanism is generally used in the process of reading and writing files, that is, when electronic device A modifies a file on electronic device B, electronic device B locks the file through the read-write lock mechanism. This file ...

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): G06F16/13G06F16/16
CPCG06F16/137G06F16/16G06F16/162
Inventor 李子祺
Owner HONOR DEVICE 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