CN101634951A - Function extension system for portable executive program and method thereof - Google Patents

Function extension system for portable executive program and method thereof Download PDF

Info

Publication number
CN101634951A
CN101634951A CN200810134219A CN200810134219A CN101634951A CN 101634951 A CN101634951 A CN 101634951A CN 200810134219 A CN200810134219 A CN 200810134219A CN 200810134219 A CN200810134219 A CN 200810134219A CN 101634951 A CN101634951 A CN 101634951A
Authority
CN
China
Prior art keywords
portable
executive program
those
portable executive
portable memory
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.)
Pending
Application number
CN200810134219A
Other languages
Chinese (zh)
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN200810134219A priority Critical patent/CN101634951A/en
Publication of CN101634951A publication Critical patent/CN101634951A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a function extension system for a portable executive program and a method thereof. The system and the method ensure that the portable executive program can be loaded into an extended file by electrically connecting a portable storage device storing the portable executive program and a portable storage device storing an extended file with a compatible format, ensure the technical means that the function of the portable executive program is extended, and can solve the problem that the portable executive program in the portable storage device fails to be functionally extended, thereby achieving the technical effect of ensuring that the function extension of the portable executive program in the portable storage device has the convenience.

Description

Function extension system for portable executive program and method thereof
Technical field
The present invention relates to a kind of function extension system for portable executive program and method thereof, refer in particular to a kind of system and method thereof that is applied to the function expansion of portable executive program in the portable memory device.
Background technology
Universal serial bus structural (Universal Serial Bus, USB), this is the standard that was begun to carry out by 1994 Christian eras, has plug and play (plug and play) function, it does not need to carry out complicated step and just can at any time device be connected and remove, so USB has become one of main flow, most electronic product, especially the peripheral device of computer, for example external connected hand disk, individual digital assistant (PersonalDigital Assistant, PDA), mobile phone, portable memory device ... etc., nearly all can use USB to be connected with computer.
At first, universal serial bus structural (Universal Serial Bus is described earlier, USB) standard, two kinds of devices in the USB standard, have been defined, hub (Hub) and function (Function), function just is meant general USB device, and hub then is the USB device that a plurality of USB devices can be linked up.Also has a kind of USB device, as shown in Figure 1, function 112 and hub 111 have been made up, that is to say, such modular appliance 110 can be connected with other USB devices 130 with other functions 131, and be connected with computer 120 with hub 111, make ownly except the function that offers computer 120 self, can also provide connection other functions thereon to computer 120.And the connection by this modular appliance 110, for the logic connection of computer 120, other USB devices 130 all directly are connected on the computer 120 with modular appliance 120, and just other USB devices 130 are identical by the result that modular appliance 120 connects or directly is connected with computer 120 computer 120 generations with computer 120.
Because the function of plug and play, to use in the portable executive program combined type portable storage device, can reach the versatility of portable executive program, allow the user no longer be confined to must installation procedure can service routine in computer, and cooperate the characteristic of portable memory device, can make portable executive program accomplish the characteristic of plug and play.
Use in the portable executive program combined type portable storage device and developed fast; but; owing to be subject to the capacity of flash memory in the portable memory device; therefore; the portable executive program of institute's combination in the portable memory device; can't be complete as the portable executive program on the corresponding computer platform; usually can develop the portable executive program version that to simplify to meet the flash capacity of portable memory device; the user only can use the portable executive program of simplifying; and can't use complete portable executive program, therefore lost the integrality of portable executive program.
In sum, prior art has existed portable executive program in the portable memory device can't carry out the problem of function expanded function always since the midium or long term as can be known, therefore is necessary to propose improved technological means, solves this problem.
Summary of the invention
Because prior art exists portable executive program in the portable memory device can't carry out the problem of function expanded function, the present invention provides a kind of function extension system for portable executive program and method thereof then, wherein:
Function extension system for portable executive program provided by the present invention is applicable to that more than one portable memory device is serially connected with the computer executable platform with operating system, and it comprises: above extendfile and portable executive program; Portable executive program also comprises: detecting module, comparing module, insmod and load-on module.
Wherein, an above extendfile is stored in the portable memory device; Portable executive program, be stored in portable memory device one of them, and when portable executive program is loaded into the computer executable platform and carries out, start, this portable executive program also comprises following modules:
Detecting module is in order to link up with this operating system, in order to obtain the order of connection of portable memory device.
Comparing module, according to the order of connection of portable memory device, whether the extendfile of comparing successively in the portable memory device is compatible format with portable executive program.
Insmod, when comparison extendfile and portable executive program are compatible format, then be written into extendfile.
Load-on module is loaded in the portable executive program and carries out in order to will be written into extendfile, with the function of expansion portable executive program.
Portable executive program method for developing functions provided by the present invention is applicable to that more than one portable memory device is serially connected with the computer executable platform with operating system, and it comprises the following step:
Set up an above extendfile in portable memory device; And, store portable executive program in portable memory device one of them, and startup when portable executive program is loaded into the computer executable platform and carries out also comprises execution the following step:
At first, link up, in order to obtain the order of connection of portable memory device with operating system; Then, according to the order of connection of portable memory device, whether the extendfile of comparing successively in the portable memory device is compatible format with portable executive program; Then, when comparison extendfile and portable executive program are compatible format, then be written into extendfile; At last, be loaded in the portable executive program and carry out in order to will be written into this extendfile, with the function of expansion portable executive program.
System and method for provided by the present invention as above, and the difference between the prior art is that the present invention is by interconnecting between the mancarried device, and be written into the portable executive program that is stored in the mancarried device at the computer executable platform, and be written into the extendfile that is stored in the mancarried device with the portable executive program compatible format, make portable executive program can expand the technique effect of portable executive program function, can't carry out the problem of function expanded function with portable executive program in the solution portable memory device by the extendfile mode.
By above-mentioned technological means, the present invention can reach the technique effect that makes portable executive program function expansion convenience in the portable memory device.
Description of drawings
The USB entity connection diagram that Fig. 1 carries for prior art.
Fig. 2 is the block scheme of function extension system for portable executive program first embodiment of the present invention.
Fig. 3 is the block scheme of function extension system for portable executive program second embodiment of the present invention.
Fig. 4 is a portable executive program method for developing functions process flow diagram of the present invention.
Fig. 5 is portable executive program function expansion synoptic diagram of the present invention.
Fig. 6 is the setting data backup synoptic diagram of portable executive program of the present invention.
Embodiment
Below describe conjunction with figs. formula and embodiment in detail embodiments of the present invention, with this to the present invention how the application technology means implementation procedure that solves technical matters and reach technique effect can fully understand and implement according to this.
At first, the hardware structure of portable executive program function expansion of the present invention is described, and simultaneously with reference to figure 2 and shown in Figure 3, first portable memory device 20 can electrically connect by first hub 21 and computer executable platform 30, and first portable memory device 20 can pass through first hub 21 and second portable memory device 40, second portable memory device 40 can electrically connect with remaining portable memory device by second hub 41 again, makes it constantly be connected in series portable memory device by hub.
Wherein, second portable memory device 40 also can not comprise second hub 41 among Fig. 3, is general portable memory device, makes second portable memory device 40 no longer be connected in series other portable memory device.
Computer executable platform 30 is by first hub 21 and second hub 41, and the action that can read, write the data information that is stored in first portable memory device 20 or second portable memory device 40 reaches the function of exchanges data.
Electric connection between the first above-mentioned portable memory device 20, computer executable platform 30 and second portable memory device 40, can adopt general row bus port (Universal Serial BusPort, USB Port) realized, but do not limited to the present invention with this.
At this moment, when serial connection first portable memory device 20 and second portable memory device 40, and be electrically connected on the computer executable platform 30, operating system in the computer executable platform 30 can be in the mode that automatically performs, and is loaded into computer executable platform 30 and is carried out being stored in one of them portable executive program of portable memory device.
By above-mentioned hardware structure, below function extension system for portable executive program of the present invention will be described, and please also refer to shown in Figure 2ly that Fig. 2 is a function extension system for portable executive program block scheme of the present invention.
As shown in Figure 2, be applicable to that more than one portable memory device is serially connected with the computer executable platform 30 with operating system, function extension system for portable executive program comprises: above extendfile 50 and portable executive program 60; Portable executive program 60 also comprises: detecting module 61, comparing module 62, insmod 63 and load-on module 64.
Particularly, extendfile 50 is stored in second portable memory device 40, portable executive program 60 is stored in first portable memory device 20, but do not limit to the present invention with this, in fact extendfile 50 can be stored in respectively in the portable memory device of serial connection, portable executive program 60 can be stored in serial connection portable memory device one of them.
At this moment, when serial connection first portable memory device 20 and second portable memory device 40, and be electrically connected on the computer executable platform 30, operating system in the computer executable platform 30 can be in the mode that automatically performs, and will be stored in that portable executive program 60 in first portable memory device 20 is loaded into computer executable platform 30 and start when being carried out.
At first, can by detecting module 61 in order to computer executable platform 30 in operating system link up, in order to obtain the order of connection of first portable memory device 20 and second portable memory device 40, first portable memory device 20 that computer executable platform 30 can transmit and computer executable platform 30 electrically connects and the device information of second portable memory device 40 are to detecting module 61, device information can comprise manufacturer's identifying code of portable memory device, the model identifying code of portable memory device, and the serial connection sequence that can obtain portable memory device by hub ... wait the hardware information content, at this only is for example, do not limit to application of the present invention, thereby obtain the serial connection sequence of portable memory device with this.
Then, when detecting module 61 detects first portable memory device 20, and after the order of second portable memory device, 40 serial connections, first portable memory device 20 that can be detected according to detecting module 61 by comparing module 62 and the serial connection sequence of second portable memory device 40, whether the extendfile of comparing successively in the portable memory device 50 is compatible format with portable executive program 60.
Whether comparing module 62 comparison extendfile 50 is whether compare the file name of extendfile 50 consistent with the file name of portable executive program 60 with portable executive program 60 for compatible format, but do not limit to the present invention, only provide a kind of extendfile 50 and portable executive program 60 compatible format comparison methods at this with this.
When comparing module 62 searches the extendfile 50 that has in second portable memory device 40 with portable executive program 60 compatible formats, then, comparing module 62 can be loaded into computer executable platform 30 with the extendfile 50 that has in second portable memory device 40 with portable executive program 60 compatible formats by insmoding 63.
63 have in second portable memory device 40 after extendfile 50 with portable executive program 60 compatible formats is written into when insmoding, then, portable executive program 60 can be by load-on module 64, to be written into extendfile 50 and be loaded in the portable executive program 60, with the function of expansion portable executive program.
Below second embodiment of the invention will be described, and please refer to shown in Figure 3ly that Fig. 3 is the block scheme of function extension system for portable executive program second embodiment of the present invention, the difference of Fig. 2 and Fig. 3 is the module difference that portable executive program comprises.
In portable executive program 60, can also comprise storage module 65, storage module 65 is stored in order to the setting data that portable executive program 60 is produced in the middle of portable executive program is carried out, for instance, setting data can be the interface setting of portable executive program 60, portable executive program 60 data storing path settings, portable executive program 60 execution parameter are set ... wait setting data, at this only is for example, do not limit to application of the present invention with this, and these setting datas, the setting of individualized portable executive program 60 will be can be used as, make in different computer executable platforms 30, be written in the process being written into portable executive program 60, can be together with being written in the lump, to reach the effect of customized settings portable executive program 60 with the corresponding setting data of portable executive program.
When storage module 65 stores portable executive program 60 corresponding setting datas, to be to be stored in the computer executable platform 30 this moment, only be stored in the computer executable platform 30, still can't reach the purpose of customized settings portable executive program, therefore, portable executive program 60 also comprises backup module 66, in order to storage module 65 is stored the corresponding setting data of portable executive programs, back up in the serial connection portable memory device one of them.
When portable executive program 60 finishes to carry out, portable executive program 60 at first can obtain the order of connection of portable memory device by detecting module 61, to determine whether portable memory device exists, when portable memory device does not exist, therefore backup module 66 can directly produce alert message, to inform that user's storage module 65 stores the corresponding setting data of portable executive program, one of them carries out the alert message of backup failure in portable memory device.
When detecting module 61 detected the order of portable memory device, 66 of backup modules can be by first hub 21 with storage module 65 stored portable executive program 60 corresponding setting datas, back up to portable memory device one of them.
Then, explain orally the method for operation of the present invention and flow process, and please refer to Fig. 4 and shown in Figure 5 with an embodiment.
Fig. 4 is a portable executive program method for developing functions process flow diagram of the present invention; And Fig. 5 is portable executive program function expansion synoptic diagram of the present invention.
As shown in Figure 5, at first, set up extendfile 50 " abc.dll " in second portable memory device 40 (step 100); And, store portable executive program 60 " abc.exe " in first portable memory device 20 (step 200).
Then, the user electrically connects first portable memory device 20 by first hub 21 and second portable memory device 40, then, first portable memory device 20 is electrically connected by first hub 21 and computer executable platform 40, at this moment, operating system in the computer executable platform 30, promptly can detect two portable memory devices, be the function of general portable memory device, operating system can be passed through first hub 21, and first portable memory device 20 and second portable memory device 40 are carried out data access.
And, when operating system in the computer executable platform 30 is detected two portable memory devices, and the portable executive program 60 " abc.exe " that is stored in first portable memory device 20 is loaded on computer executable platform 30, be about to portable executive program 60 " abc.exe " in first portable memory device 20 be loaded into fdisk " C: " in, and with the mode that automatically performs in fdisk " C: " in execution portable executive program 60 " abc.exe ".
Then, portable executive program 60 can by detecting module 61 in order to computer executable platform 30 in operating system link up, in order to obtain the order of connection (step 210) of first portable memory device 20 and second portable memory device 40, at this moment, it is first order that detecting module 61 can detect first portable memory device 20, and second portable memory device 40 be second the order, then, portable executive program 60 can be obtained the device information of first portable memory device 20 and second portable memory device 40 by detecting module 61.
Then, comparing module 62 promptly can be compared in first portable memory device 20 and second portable memory device 40 successively by first hub 21, whether have the extendfile 50 with portable executive program 60 " abc.exe " compatible format, then can compare the extendfile 50 " abc.dll " (step 220) that has in second portable memory device 40 with portable executive program 60 " abc.exe " compatible format from second portable memory device 40.
Then, portable executive program 60 " abc.exe " is by insmoding 63, with in second portable memory device 40 with the corresponding extendfile 50 of portable executive program 60 " abc.exe " " abc.dll ", be loaded in fdisk " C: " in (step 230), as shown in Figure 5.
Then, portable executive program 60 " abc.exe " can be by load-on module 64, to be loaded in fdisk " C: " in extendfile 50 " abc.dll ", be loaded in the portable executive program 60 " abc.exe ", make that portable executive program 60 " abc.exe " can be with the function expansion (step 240) of extendfile 50 " abc.dll ", be used as for example with translation system, portable executive program " abc.exe " is only general translation and inquiry function, extendfile 50 " abc.dll " can be for outside general translation and inquiry, expansion full text translation function.
Then, the flow process of setting data backup will be described, and please refer to Fig. 4 and Fig. 6, Fig. 6 is the setting data backup synoptic diagram of portable executive program of the present invention.
As shown in Figure 6, finish the execution of portable executive program 60 " abc.exe " as the user after, portable executive program 60 " abc.exe " can store the setting data that portable executive program 60 " abc.exe " is produced by storage module 65 in the middle of program is carried out, with embodiment, the setting data that portable executive program 60 " abc.exe " is produced saves as " abc.ini " (step 310).
For these setting datas " abc.ini ", can be when the user electrically connects first portable memory device 20, computer executable platform 30 and second portable memory device 40 next time once more, be written into the action of portable executive program 60 " abc.exe ", be written into setting data " abc.ini " simultaneously, to reach the function (step 350) of customized settings portable executive program.
After storage module 65 storages are finished, at first, portable executive program 60 " abc.exe " can be once more by detecting module 61 detectings (step 320), obtain the order of connection of portable memory device, with embodiment, detecting module 61 can detect the order of first portable memory device 20 and second portable memory device 40, is respectively first order and second order.
Then, portable executive program 60 " abc.exe " can be by backup module 66, and the setting data " abc.ini " that portable executive program 60 " abc.exe " is produced is by first hub 21, back up in first portable memory device 20 (step 330), the result as shown in Figure 6.
When detecting module 61 detecting portable memory device failures, 66 of backup modules can produce alert message, with inform user's backup module 66 the corresponding setting data of the portable executive program that backed up 60 " abc.exe " " abc.ini ", back up alert message (step 340) in portable memory device failure.
In sum, difference between the present invention and the prior art is to have the present invention by interconnecting between the mancarried device as can be known, and be written into the portable executive program that is stored in the mancarried device at the computer executable platform, and be stored in the mancarried device extendfile with the portable executive program compatible format, make portable executive program can expand the technological means of portable executive program function by the extendfile mode.
Can solve by this technological means that portable executive program can't carry out the problem of function expanded function in the existing portable memory device of prior art, and then reach the technique effect that makes portable executive program function expansion convenience in the portable memory device.
Though the disclosed embodiment of the present invention as above, described content is not in order to direct qualification scope of patent protection of the present invention.Any persond having ordinary knowledge in the technical field of the present invention under the prerequisite that does not break away from the disclosed spirit and scope of the present invention, can do a little change what implement in form and on the details.Scope of patent protection of the present invention still must be as the criterion with claims.

Claims (10)

1, a kind of function extension system for portable executive program is applicable to that more than one portable memory device is serially connected with the computer executable platform with an operating system, and it comprises:
An above extendfile is stored in those portable memory devices; And
One portable executive program, be stored in those portable memory devices one of them, and when this portable executive program is loaded into the computer executable platform and carries out, start, this portable executive program also comprises following modules:
One detecting module is in order to link up with this operating system, in order to obtain the order of connection of those portable memory devices;
One comparing module, according to the order of connection of those portable memory devices, whether those extendfiles of comparing successively in those portable memory devices are compatible format with this portable executive program;
One insmods, and when comparison those extendfiles and this portable executive program are compatible format, then is written into those extendfiles; And
One load-on module is loaded in this portable executive program and carries out in order to will be written into those extendfiles, to expand the function of this portable executive program.
2, function extension system for portable executive program as claimed in claim 1 is characterized in that, also comprises a storage module, in order to store the setting data that this portable executive program produces.
3, function extension system for portable executive program as claimed in claim 2, it is characterized in that, also comprise a backup module, when this portable executive program finishes to carry out, obtain the order of connection of those portable memory devices by this detecting module, this backup module stores the setting data that this portable executive program produces with this storage module, back up to those portable memory devices one of them.
4, function extension system for portable executive program as claimed in claim 3, it is characterized in that, when this detecting module was detected those portable memory device failures, this backup module produced an alert message, to inform the setting data backup failure of this portable executive program of user.
5, function extension system for portable executive program as claimed in claim 3 is characterized in that, also comprises a setting and insmods, in order to be written into the setting data of this portable executive program, to reach this portable executive program of customized settings.
6, function extension system for portable executive program as claimed in claim 1 is characterized in that, this comparing module is whether the file name of those extendfiles of comparison is consistent with the file name of this portable executive program.
7, a kind of portable executive program method for developing functions is applicable to that more than one portable memory device is serially connected with the computer executable platform with an operating system, and it comprises the following step:
Set up an above extendfile in those portable memory devices; And
Store a portable executive program in those portable memory devices one of them, and when this portable executive program is loaded into the computer executable platform and carries out, start, also comprise execution the following step:
Link up with this operating system, in order to obtain the order of connection of those portable memory devices;
According to the order of connection of those portable memory devices, whether those extendfiles of comparing successively in those portable memory devices are compatible format with this portable executive program;
When comparison those extendfiles and this portable executive program are compatible format, then be written into those extendfiles; And
Be loaded in this portable executive program and carry out in order to will be written into those extendfiles, to expand the function of this portable executive program.
8, portable executive program method for developing functions as claimed in claim 7 is characterized in that, also comprises the step that stores the setting data that this portable executive program produced.
9, portable executive program method for developing functions as claimed in claim 8 is characterized in that, also comprises the following step:
When this portable executive program finishes to carry out, detect the order of connection of those portable memory devices; And
Store the setting data that this portable executive program produces, back up to those portable memory devices one of them.
10, portable executive program method for developing functions as claimed in claim 7, it is characterized in that whether compare those extendfiles is that the step of compatible format is whether the file name of those extendfiles of comparison is consistent with the file name of this portable executive program with this portable executive program.
CN200810134219A 2008-07-21 2008-07-21 Function extension system for portable executive program and method thereof Pending CN101634951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810134219A CN101634951A (en) 2008-07-21 2008-07-21 Function extension system for portable executive program and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810134219A CN101634951A (en) 2008-07-21 2008-07-21 Function extension system for portable executive program and method thereof

Publications (1)

Publication Number Publication Date
CN101634951A true CN101634951A (en) 2010-01-27

Family

ID=41594148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810134219A Pending CN101634951A (en) 2008-07-21 2008-07-21 Function extension system for portable executive program and method thereof

Country Status (1)

Country Link
CN (1) CN101634951A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483618A (en) * 2017-09-01 2017-12-15 北京全域医疗技术有限公司 Radiotherapy Quality Control document transmission method, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483618A (en) * 2017-09-01 2017-12-15 北京全域医疗技术有限公司 Radiotherapy Quality Control document transmission method, apparatus and system
CN107483618B (en) * 2017-09-01 2020-07-31 北京全域医疗技术集团有限公司 Radiotherapy quality control file transmission method, device and system

Similar Documents

Publication Publication Date Title
TWI386852B (en) System for switching bios and method thereof
CN102982274A (en) Management method of intelligent terminal system and intelligent terminal
CN103593281A (en) Test system and test method
CN103186387B (en) Electronic installation and its method for updating OS
US20100064036A1 (en) Peripheral device operation method, peripheral device and host
CN104220958A (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
CN102279757B (en) The method and device that a kind of system program starts
CN101894028B (en) Realization method and device for Linux kernel mirror image data supporting various CPUs
US9218249B2 (en) Electronic apparatus, method of restoring guid partition table (GPT) and computer-readable recording medium
CN106484719B (en) Method and terminal for expanding mobile phone storage
CN110399168B (en) System starting method, device and equipment for multiple data disk storage servers
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
CN101464804A (en) Double-boot backup method and security equipment
CN102122258A (en) Method for repairing damaged embedded equipment file system
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN104484211A (en) Method and device for sharing mirror image document
CN101634951A (en) Function extension system for portable executive program and method thereof
CN101114245A (en) External connection type ROM-BIOS device
CN104750617A (en) Electronic device and data maintenance method thereof
CN102023906B (en) Microprocessor of portable terminal as well as portable terminal and repair method thereof
CN106291383A (en) Battery detection method and battery check device
CN101739261B (en) Switching system for basic input and output system and switching method thereof
CN102819471A (en) Software backup system and software backup method of equipment terminal
US8423830B2 (en) Debug method for computer system
CN1156757C (en) Autoamtic test method of memory card and international association card in PC

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100127