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

Method and device for realizing hot plugging in recovery mode

A recovery mode, hot-swap technology, applied in instruments, electrical digital data processing, etc., can solve the problems that external devices cannot be processed in time, do not support hot-swap of external devices, etc., to increase costs and respond quickly. Effect

Inactive Publication Date: 2017-06-13
AUTOCHIPS
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the system is running in the recovery mode, in order to reduce the load on the system, the storage module and the mount management module provided by the system that run in the normal mode are not loaded, so that the external devices cannot be processed in time when hot swapping, so The existing recovery mode does not support hot plugging of external devices

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
  • Method and device for realizing hot plugging in recovery mode
  • Method and device for realizing hot plugging in recovery mode
  • Method and device for realizing hot plugging in recovery mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0032] Such as image 3 As shown, an implementation manner in which the device 10 mounts the device node according to the event information is as follows:

[0033] S31: When the event information is the creation of a device file, determine whether the newly created device node name is consistent with the stored device node name;

[0034] The device 10 judges whether the newly created device node name is consistent with the stored device node name, that is, the device 10 judges whether the newly created device node name is consistent with the device node name specified in the configuration file. If the newly created device node name is inconsistent with the stored device node name, go to step S32; if the newly created device node name is consistent with the stored device node name, go to step S33.

[0035] S32: If the newly created device node name is inconsistent with the stored device node name, update the stored device node name according to the newly created device node na...

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 method and device for realizing hot plugging in a recovery mode. The method comprises the steps that whether or not an event of creating or deleting a file in a directory of a device node occurs is monitored; when the occurrence of the event of creating or deleting the file is monitored, whether or not the device node file is a block device file is judged and event information and file information of the corresponding device node are recorded; the device node is mounted or unloaded according to the event information. In this way, the hot plugging of a block device can be achieved in the recovery mode, and the cost is not increased.

Description

technical field [0001] The invention relates to the technical field of equipment hot swapping, in particular to a method and equipment for realizing hot swapping in recovery mode. Background technique [0002] At present, recovery mode refers to an operation mode provided by the system (such as Android system or linux system). In the recovery mode, the system runs with the least resources to provide users with modification or upgrade of the system, such as erasing user data, Upgrade a different partition (Image partition mirror). The user can copy the partition image to be upgraded to an external storage device, such as an SD memory card (Security Digital card, SD card) or a U disk (Universal SerialBus (USB) flash disk), and insert the external device into the corresponding physical interface of the device or The recovery program is able to recognize the device and read the data to upgrade when the slot is installed. [0003] When the system is running in the recovery mode...

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): G06F13/40
CPCG06F13/4081
Inventor 林江红
Owner AUTOCHIPS