CN1790263A - Mobile memory device and its icon changing method - Google Patents

Mobile memory device and its icon changing method Download PDF

Info

Publication number
CN1790263A
CN1790263A CN 200410077498 CN200410077498A CN1790263A CN 1790263 A CN1790263 A CN 1790263A CN 200410077498 CN200410077498 CN 200410077498 CN 200410077498 A CN200410077498 A CN 200410077498A CN 1790263 A CN1790263 A CN 1790263A
Authority
CN
China
Prior art keywords
icon
storage device
movable storage
program
host computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200410077498
Other languages
Chinese (zh)
Other versions
CN1790263B (en
Inventor
刘宇峰
向锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY
Netac Technology Co Ltd
Original Assignee
LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY filed Critical LANGKE SCIENCE AND TECHNOLOGY Co Ltd SHENZHEN CITY
Priority to CN 200410077498 priority Critical patent/CN1790263B/en
Publication of CN1790263A publication Critical patent/CN1790263A/en
Application granted granted Critical
Publication of CN1790263B publication Critical patent/CN1790263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a mobile storage equipment of mark self-changing, which is characterized by the following: building self-execution program according to its root catalog; depositing the mark file under the route; supplying power for the mobile storage equipment; modifying the relative button value of host system register graph as image file deposit path pattern through self-execution program; setting mark for mobile storage equipment display. The invention is easy to identify on the operational table, which solves the problem of simple mark and difficult identification and operation.

Description

Movable storage device and icon changing method thereof
Technical field
The present invention is about the mobile storage field, particularly about the demonstration and the change of drive icon.
Background technology
Development along with technology, the kind of consumption electronic products increases gradually, as personal digital camera, digital camera head, USB interface network interface card, movable storage device, MP3 player etc., the individual is more and more to the demand of computer plug-in device, the external interface that computer provides is also more and more, and former PC only provides single USB interface, is increased to two USB interface gradually, four USB interface also have the trend that continues increase.
Another aspect, development along with memory technology, the capacity of hard disk also more and more adds, from 1G, 10G, tens G, until G up to a hundred, still have the trend that continues increase, the hard disk of PC is along with the increase subregion of capacity also increases gradually, under this situation, after External memory equipment inserts computer, if it is single that operating system is distributed to the icon kind of movable storage device, particularly after inserting a plurality of movable storage devices, because of the icon of different movable storage devices identical, there is not significant difference, the user is easy to the drive that will show in the operating system platform and gets wrong with the actual memory device that inserts in use, produces maloperation.
In view of this, the movable storage device that provides a kind of icon independently to change is necessary in fact.
Summary of the invention
In order to solve the unicity problem of existing movable storage device, bring the be difficult to identification of operation, thereby be easy to cause the error of data manipulation, the movable storage device and the method that provide a kind of icon independently to change picture because of drive icon display in host computer system.
The movable storage device that icon provided by the invention can independently change, its root directory is created the program that automatically performs down, described movable storage device has been deposited icon file under set path, the described program that automatically performs is when movable storage device inserts host computer system, initiatively revise the relevant key assignments of host computer system registration table, replace with the path of depositing of icon file, and refresh host operating system.。
A kind of movable storage device icon changing method may further comprise the steps: application software is installed in host side, this application program is provided with the window that receives operation system information; Receive the message that mobile device inserts through described window,, judge whether this equipment is the movable storage device of application software correspondence, sure in this way conclusion by the mode of the private information that reads; The relevant key assignments of then revising the registration table of host operating system is the path of depositing of setting icon; And refresh operation system.
Compared with prior art, movable storage device provided by the invention, its icon in host computer system can be selected or change by the user, mode by the setting individual icon, make movable storage device more easy to identify on the operating platform of host computer system, more convenient use, more personalized.
Description of drawings
Fig. 1 is the process flow diagram of movable storage device icon display of the present invention.
Embodiment
The movable storage device that icon provided by the invention can independently change, the user can define the icon of movable storage device in the host computer system platform voluntarily.By the mode of setting individual icon, as cartoon figure, animal figures, make this movable storage device of flash disk more easy to identify on the operating platform of host computer system, more convenient use more has personalized sex character.
The marker method of the icon of movable storage device provided by the invention is mainly by the installation one application program realization in host side, for example the Windows OS series of Microsoft.By the application program of this resident Windows system, this application program has a window that can receive the Windows system information.
On the Windows of Microsoft operating system, when operating system detects new movable storage device, or other storage medium, during insertion, operating system can send the message that a mobile device inserts to the window of each application program, the application program of the resident Windows system that the present invention realizes can detect this message too, application program is after receiving this message, just can obtain the equipment handle of corresponding access device, and can carry out the physics read-write to equipment, by reading the private information that the device data that defines the address obtains equipment.By the private information that reads, judge whether this equipment is the movable storage device of software correspondence, if the movable storage device of software correspondence, then call the path of depositing of related setting icon, on system tray, show corresponding icon, described icon can be defined voluntarily by the user, so that the convenience of identification.
The method of user definition movable storage device icon realizes by the way of revising windows registry, KEY_LOCAL_MACHINE on the Windows operating system SOFTWARE Microsoft Windows CurrentVersion Explorer content under this key assignments of DriveIcons be to come some corresponding drive characteristics values with drive, if some characteristic is arranged such as the C dish, then can under this key assignments, find this corresponding key assignments of C, and under this corresponding key assignments of C, also have some to define the key assignments of characteristic, just defined the acquiescence label value of disk such as DefaultLabel, DefaultIcon has then defined the default icon of disk, and the content of this key assignments is the path of depositing of icon file.The application program that the present invention realizes can be when receiving the message that movable storage device inserts and being judged to be corresponding movable storage device, creating or revise corresponding key assignments in registration table is user-defined icon, realize the change of drive icon, and after change, call the API of this system of SHChangeNotify and come instant updating system, change is come into force.Application program with the deletion of the corresponding key assignments in the registration table, has also been used the situation of the icon of software definition to prevent the user under the identical situation of the drive that is assigned to when inserting other movable storage device when receiving that movable storage device removes.
The sign process of the icon of movable storage device can realize that the technical scheme of relevant operation automatically is referring to the patented claim of number of patent application 03146090.9 by automatic running technology.
By under the root directory of movable storage device, creating the Autorun.inf file, and insert [AUTORUN] Icon=<Icon file path therein 〉, wherein<and Icon file path〉be the path of the icon file of movable storage device, when movable storage device inserts host computer system, be installed in the program start that automatically performs in the memory device.
In automatically performing running program running process, can eject a dialog box points out the user to select the icon that shows, and set a time restriction, for example 3 seconds, if in the time restriction that limits, the user does not select, and then uses the icon set of preserving before or uses default icon (first situation about using).Certainly, also can open dialog box, change and preserve, select by the user and needn't only after movable storage device inserts main frame, eject dialog box by the mode that the user clicks the small icon that occurs on the system tray to the change of icon.
See also the icon change process flow diagram of movable storage device shown in Figure 1, at first, movable storage device powers on 10, just movable storage device is inserted host computer system; That secondly, preserves in the movable storage device automatically performs program run 20; Then, automatically perform program and be used for being implemented in system tray place demonstration one acquiescence or user-defined small icon by Shell_NotifyIcon () function call; Then, revise registration table key assignments 40, just the content of DefaultIcon key assignments is changed to the path of the icon file of user's appointment, the icon under this path can be the icon that default icon or user select; At last, automatically perform routine call function S HChangeNotify () refresh operation system window, new icon manifests.
See also Fig. 1 again, implementation according to autorun, this automatically performs program also can be by copying to another working procedure a certain position in the host computer system, step 22 as shown in Figure 1, abbreviate the operation of second working procedure as, by the operation of second working procedure, revise the DefaultIcon key assignments in the registration table then.The detailed operational process of second working procedure is described below.
After second working procedure starts, at first determine memory device 24, promptly be which memory device has started oneself (how starting this working procedure), the process of searching is to show to realize by reading memory device I IR, obtaining after to be which disk startup own, also just obtain simultaneously the drive and the handle of this dish, at this moment program is at first passed through the path of the icon file in Shell_NotifyIcon () the function call movable storage device, show a small icon at the system tray place, the icon that this icon can be default icon or selected by the user, and icon file still leaves in the movable storage device, can can pop-up window after the user by clicking this icon, change icon; And then program is changed the icon of movable storage device by the method for revising registration table; Final program calls SHChangeNotify () function and refreshes the Windows window, and new icon is manifested.
After finishing these operations, second working procedure is in sleep state always, up to the message of receiving that flash disk removes.Receive remove message after, the content of the second running modification registration table removes the icon setting of corresponding drive, and then the small icon of coming removal system pallet place by Shell_NotifyIcon (), final program is closed oneself, has finished whole flow process.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; to some improvements and modifications that the present invention did, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (4)

1. movable storage device, its root directory is created the program that automatically performs down, it is characterized in that, described movable storage device has been deposited icon file under set path, the described program that automatically performs is when movable storage device inserts host computer system, initiatively revise the relevant key assignments of host computer system registration table, replace with the path of depositing of icon file, and refresh host operating system.
2. mobile storage as claimed in claim 1 is established, it is characterized in that, the described program that automatically performs will be duplicated self or second executive routine to this domain of main frame when movable storage device inserts host computer system, and by reproducer or second executive routine is selected or the change movable storage device at the middle icon of main frame.
3. mobile storage as claimed in claim 2 is established, it is characterized in that, the described reproducer or second executive routine after receiving the message that movable storage device removes, the content of the second running modification registration table, remove the icon setting of corresponding drive, and close oneself.
4. movable storage device icon changing method may further comprise the steps:
Application software is installed in host side, this application program is provided with the window that receives operation system information;
Receive the message that mobile device inserts through described window,, judge whether this equipment is the movable storage device of application software correspondence, sure in this way conclusion by the mode of the private information that reads; Then
The relevant key assignments of revising the registration table of host operating system is the path of depositing of setting icon; And refresh operation system.
CN 200410077498 2004-12-13 2004-12-13 Mobile memory device and its icon changing method Active CN1790263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410077498 CN1790263B (en) 2004-12-13 2004-12-13 Mobile memory device and its icon changing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410077498 CN1790263B (en) 2004-12-13 2004-12-13 Mobile memory device and its icon changing method

Publications (2)

Publication Number Publication Date
CN1790263A true CN1790263A (en) 2006-06-21
CN1790263B CN1790263B (en) 2010-05-26

Family

ID=36788157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410077498 Active CN1790263B (en) 2004-12-13 2004-12-13 Mobile memory device and its icon changing method

Country Status (1)

Country Link
CN (1) CN1790263B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114212B (en) * 2006-07-25 2010-06-02 佳能株式会社 Information processing equipment and method
US7966039B2 (en) 2007-02-02 2011-06-21 Microsoft Corporation Bidirectional dynamic offloading of tasks between a host and a mobile device
CN101706724B (en) * 2009-09-29 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Icon generation method and icon processing device
CN103677716A (en) * 2013-12-13 2014-03-26 广州金山网络科技有限公司 Disk signature display method and device
CN111198830A (en) * 2019-11-22 2020-05-26 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN114327729A (en) * 2021-12-30 2022-04-12 珠海豹趣科技有限公司 Stable system icon replacement method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334569C (en) * 2002-09-24 2007-08-29 联想(北京)有限公司 Memory card identification method and marking equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114212B (en) * 2006-07-25 2010-06-02 佳能株式会社 Information processing equipment and method
US7966039B2 (en) 2007-02-02 2011-06-21 Microsoft Corporation Bidirectional dynamic offloading of tasks between a host and a mobile device
US8112116B2 (en) 2007-02-02 2012-02-07 Microsoft Corporation Bidirectional dynamic offloading of tasks between a host and a mobile device
CN101601028B (en) * 2007-02-02 2012-04-25 微软公司 Bidirectional dynamic offloading of tasks between a host and a mobile device
CN101706724B (en) * 2009-09-29 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Icon generation method and icon processing device
CN103677716A (en) * 2013-12-13 2014-03-26 广州金山网络科技有限公司 Disk signature display method and device
CN111198830A (en) * 2019-11-22 2020-05-26 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN111198830B (en) * 2019-11-22 2021-08-10 广州视源电子科技股份有限公司 Identification method and device of mobile storage equipment, electronic equipment and storage medium
CN114327729A (en) * 2021-12-30 2022-04-12 珠海豹趣科技有限公司 Stable system icon replacement method and device

Also Published As

Publication number Publication date
CN1790263B (en) 2010-05-26

Similar Documents

Publication Publication Date Title
US6862617B1 (en) System and method for synchronizing objects between two devices
JP4211101B2 (en) Information processing apparatus and method, and recording medium
US8868628B2 (en) Sharing computer data among computers
CN1947099B (en) Data processing device and method for data exchanging by computer
CN104679540A (en) Computer system and computer system starting method
JP2007305134A (en) Method and device for simplifying visual depiction of graph
US20070294703A1 (en) System and Method for Migration of Information From a Legacy to a Replacement Information Handling System
CN108345477A (en) A kind of double-mirror shares the design method and device of conf partitioned files
TW201220047A (en) Method for performing automatic boundary alignment and related non-volatile memory device
CN1790263B (en) Mobile memory device and its icon changing method
CN107908340A (en) Method, mobile terminal and the device with store function of factory reset
CN108287735A (en) A kind of method, apparatus and server obtaining UEFI OS startup items
JPH11154137A (en) Individual work environment setting system
CN102122248A (en) Method for managing wire clip software of communication equipment
CN101873217A (en) Ethernet power supply equipment restart control method and device thereof
CN106371879A (en) Method and system for shielding non-deletable application of mobile terminal
CN106055372A (en) Method and device for uninstalling application
US20050125566A1 (en) Storage capacity indicator for removable mass storage device
CN101986662A (en) Widget instance operation method and system
CN109960535A (en) A kind of server parameter acquisition methods and device
CN104008004A (en) Process protection method and electronic device
US20080004857A1 (en) Restoring base configuration on software testing computer
CN105159551B (en) A kind of information processing method and electronic equipment
CN106815167A (en) System O&M method and USB device
CN101187882A (en) Computer system for supporting multi-operation system and method for supporting multi-operation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant