Search International and National Patent Collections

1. (WO2017152526) EXTERNAL DEVICE AUTOMATIC MOUNTING AND NOTIFICATION CONTROL METHOD AND SYSTEM

Pub. No.:    WO/2017/152526    International Application No.:    PCT/CN2016/084854
Publication Date: Fri Sep 15 01:59:59 CEST 2017 International Filing Date: Sun Jun 05 01:59:59 CEST 2016
IPC: G06F 9/44
Applicants: SHENZHEN TCL DIGITAL TECHNOLOGY LTD.
深圳TCL数字技术有限公司
Inventors: CHEN, Wei
陈伟
Title: EXTERNAL DEVICE AUTOMATIC MOUNTING AND NOTIFICATION CONTROL METHOD AND SYSTEM
Abstract:
An external device automatic mounting and notification control method and system. The method comprises: detecting whether plug-in and plug-out of an external device exists currently (S10); when the hot plug-in and plug-out of the external device is detected, parsing a plug-in and plug-out environment variable, and creating or deleting a corresponding file and a path in a sysfs file system according to parsing result (S20); creating or deleting a device node corresponding to the external device under a preset path (S30); and sending the plug-in and plug-out information of the external device to each application program in an application list subscribing for information (S40). When an external device is automatically mounted in an embedded system, application programs to which information of the external device is mounted need to be obtained if the mounting information notification is to be implemented; the demands of the embedded system are satisfied, resources of a CPU are saved, and the memory usage is reduced, thereby improving user experience.