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

A method and apparatus for mount management of a storage device

A storage device and mounting technology, applied in the computer field, can solve problems such as storage device access failures, and achieve the effect of avoiding access failures

Active Publication Date: 2018-12-25
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the hardware of the storage device is damaged or the file system is damaged, the storage device will be remounted as read-only, but the application cannot know in time that the storage device has been remounted as read-only, so it will continue to read and write to the storage device , which in turn will cause the application to fail to access the storage device because the storage device is currently in a read-only state

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 method and apparatus for mount management of a storage device
  • A method and apparatus for mount management of a storage device
  • A method and apparatus for mount management of a storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In the Linux operating system, mounting refers to attaching a storage device to an existing directory, and by accessing the directory, files in the storage device can be accessed. For some other types of operating systems, mounts have a similar meaning.

[0029] When the hardware of the storage device in the terminal is damaged or the file system is damaged, the storage device will be remounted as read-only. In order to notify applications in the terminal that the storage device is remounted as a read-only state in a timely manner, so as to avoid errors in read and write operations caused by these applications continuing to perform read and write operations on the storage device, the embodiment of the present application provides a storage device Device mounting management method and device.

[0030] Wherein, the storage device in the terminal may include built-in storage and / or external storage.

[0031] The embodiments of the present application are applicable to va...

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

A method and apparatus for mount management of a storage device are disclosed. The method comprises: the operating system kernel detects the file system state of the directory mounted by the storage device, when it is judged that the storage device is remounted as read-only according to the detection result, the following steps are executed: a first notification message is sent to an application frame layer, and the application frame layer notifies the application program to stop accessing the storage device which is remounted as read-only according to the first notification message.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a storage device mounting management method and device. Background technique [0002] Storage devices in mobile devices are divided into built-in storage and external storage. The built-in storage refers to the storage space of the mobile device when it leaves the factory, which can be used for system firmware and software installation. The external storage is usually a pluggable memory card, such as an SD card. [0003] In the Linux operating system, all devices are regarded as files, and the resources of the entire device are integrated into a file directory. If you need to access the files in the storage device, you need to mount the storage device as a file partition to an existing directory, and then access the files in the storage device by accessing the directory. [0004] After storage devices are mounted to existing directories, applications in mobile devices...

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): G06F9/4401
CPCG06F9/4411
Inventor 王鹏程
Owner QINGDAO HISENSE MOBILE COMM TECH 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