Automatically perform the portable memory of program
Technical field
The present invention relates to a kind of portable memory device that automatically performs program.By the planning of storage element, the present invention will enlarge the purposes of carry-on dish.
Technical background
Carry because carry-on dish has easily, capacity is big, the convenient advantage of using, and will popularize and replace various storage devices future gradually.But therefore dish causes the bottleneck in the application because the problem of storage element planning is weak on aspect the confidentiality with oneself.In addition, when the application of advertising marketing, the ad data that the advertiser also wishes to be stored on the carry-on dish can be by careless or premeditated deletion of user or format mode.
Summary of the invention
Carry-on dish with only using as disk originally automatically performs routine plan by the invention provides carry-on dish, makes carry-on dish have more kinds of application.The present invention plans that the specific storage unit supplies manufacturer to deposit a large amount of software and multi-medium data etc., and the user can't be by the deletion of Windows operating system.Behind specific start-up routine, the open space that originally can access data of the present invention allows the user use.The carry-on dish of the present invention planning also can be used for replacing software protective lock (Key Pro) or replaces CD and as the media of software publishing.
An aspect of of the present present invention is carry-on dish in first district's store data, and operating system can't access first district, to reach the function of protected data.
Another aspect of the present invention is that carry-on dish deposits start-up routine in second district.This start-up routine is for the aforementioned pre-deposit data that leaves first district in of operating system identification.The user can't delete or format this start-up routine.
Another aspect of the present invention is that start-up routine meeting installation and measuring program is in operating system.When each afterwards carry-on dish inserted client computer, trace routine will determine whether automatically perform start-up routine.If need automatically perform start-up routine, then carry out start-up routine after, need carry out the data that start-up routine just allows operating system access the 3rd district.
Another aspect of the present invention is that carry-on dish can be via network, and whether the more new data that the webserver is deposited in inspection is identical with data.If more new data and data are inequality, then more new data replaces original data.
The present invention comprises following planning.A kind of portable memory device is generally carry-on dish, for the operating system access of client terminal device.Portable memory device has storage element, comprises first district, second district and the 3rd district.First district is for depositing first data.Second district is for depositing first program.Wherein, when portable memory device inserted client terminal device, first program was carried out first data, and after being finished and being stopped one takes place by this operating system, portable memory device allows this access the 3rd district of operating system.
The present invention comprises following system.A kind ofly wherein comprise the webserver (Server) and portable memory device by the network download system of new data more, portable memory device is generally carry-on dish, and this webserver is for depositing more new data.This portable memory device is connected with the webserver, and wherein portable memory device wherein more comprises first district, second district and the 3rd district.First district is for depositing first data.Second district is for depositing first program.Wherein, when portable memory device inserted client terminal device, first program was carried out first data, and after being finished and being stopped one takes place by this operating system, portable memory device allows this access the 3rd district of operating system.
The accompanying drawing summary
Described accompanying drawing is for cooperating instructions to explain the present invention, similarly numbering the similar assembly of expression among the figure.
Fig. 1 is a first embodiment of the present invention device synoptic diagram;
Fig. 2 is the execution trace routine process flow diagram of the first embodiment of the present invention;
Fig. 3 is the implementation start-up routine process flow diagram of the first embodiment of the present invention;
Fig. 4 is the network download functional flow diagram of the first embodiment of the present invention;
Fig. 5 is a second embodiment of the present invention device synoptic diagram.
The reference numeral explanation
100 carry-on dish 110 storage elements
120 first districts, 1201 pre-deposit datas
140 second districts, 1401 start-up routines
150 the 3rd districts, 1501 arbitrary datas
160 webservers 1601 are new data more
162 networks, 180 client computers
182 operating systems, 1821 trace routines
184 USB interfaces
500 zones
Embodiment
The invention provides a kind of portable memory device that automatically performs program, portable memory device is generally carry-on dish.Dish storage element planning with oneself has first district, second district and the 3rd district.
First embodiment
At first referring to figs. 1 to Fig. 4.Dish 100 comprises a storage element 110 with oneself, wherein is planned to three zones at least.These three zones comprise 120, the second districts 140, first district and the 3rd district 150.A pre-deposit data 1201 is deposited in first district 120.A start-up routine 1401 is deposited in second district 140.An arbitrary data 1501 is deposited in the 3rd district 150.Dish 100 mat usb 1s 84 connect with client 180 with oneself.Client computer 180 installing operating systems 182.One webserver 160 has more new data 1601, is connected with client computer 180 by network 162.When carry-on dish 100 inserted client computers 180, executive routine 1401 was carried out data 1201, when be finished and be operated system 182 stop carrying out one of them takes place after, dish 100 allows operating systems 182 accesses the 3rd district 150 with oneself.
As shown in Figure 1.The used data configuration form of first district 120 and operating system 182 is inequality.So first district 120 for operating system 182 can't access, can't delete and zone that can't form.Pre-deposit data 1201 is deposited in first district 120.These data 1201 can be the multimedia video data, comprise multimedia advertising file, dynamic animation file and static images file.Start-up routine 1401 is deposited in second district 140, and start-up routine 1401 only reads for operating system 182, but can't be deleted and can't be formatted.The 3rd district 150 is operating system 182 accessible zones, deposits arbitrary data 1501.
Because of first district 120 is the zone that operating system 182 can't access, so first district 120 also can be used as the software protective lock of this carry-on dish 100.Start-up routine 1401 reads the interface routine in first district 120 as operating system 182, for reading the pre-deposit data 1201 that leaves first district 120 in.Start-up routine 1401 comprises password input interface program, sweep-drug program and multimedia playing program, and does not get rid of separately, exists both or simultaneous possibility.When carrying out start-up routine 1401, start-up routine need be carried out, the arbitrary data 1501 in client computer 180 operating systems 182 accesses the 3rd district 150 could be supplied.
As shown in Figure 2.At first, the present invention is by usb 1 84, and the carry-on dish 100 of planting is to client computer 180 (step 200).Plant carry-on dish 100 behind client computer 180, judge the operating system 182 whether installation and measuring programs 1821 (step 202) of client computer 180.If no trace routine 1821 in the operating system 182, the user needs manually to click start-up routine 1401 to carry out start-up routine 1401 (step 204).Start-up routine 1401 installation and measuring programs 1821 are in client computer 180 operating systems 182 (step 206) afterwards.If operating system 182 installation and measuring programs 1821, then trace routine 1821 checks whether start-up routine 1401 has the filename or the marking (step 208) that meets.If the filename or the marking that do not meet may be the carry-on dish of general service, but not be embodiments of the invention, then do not carry out follow-up any step (step 210).If the filename or the marking that meets arranged, then trace routine 1821 automatically performs start-up routine (step 212).After execution in step 206 or the step 212, then carry out start-up routine (step 214).After need carrying out start-up routine, dish 100 just allows this operating system 182 accesses the 3rd district 150 with oneself.
As shown in Figure 3.For example data 1201 are the multimedia video data, can comprise the multimedia advertising data, animation data and static images data.When (step 300), start-up routine 1401 checks in first district 120 whether multimedia video data (step 302) are arranged when carrying out start-up routine 1401.If first district 120 deposits the multimedia video data, start-up routine 1401 is according to the order of internal preset, play multimedia video-audio data (step 304).After the execution in step 304, carry out the password input interface program, then require client computer 180 users to input password (step 308) when start-up routine 1401.If the multimedia video data are not deposited in first district 120, then do not carry out multimedia video file (step 306), directly execution in step 308.Whether correctly start-up routine 1401 checks password (step 310).If password bad, start-up routine 1401 can require client computer 180 users to re-enter password again.If password is correct, dish 100 just allows the arbitrary data 1501 (step 312) in the carry-on dish 100 of client computer 180 operating systems 182 accesses the 3rd district 150 with oneself.
As shown in Figure 4.On network, there is a webserver 160 to have more new data 1601.Client computer 180 connects the webserver 160 by a network 162.As shown in Figure 4, when carry-on dish 100 inserts this client computer 180 and operating system 182 execution start-up routines 1401 (step 400).Start-up routine 1401 can be checked data 1201 and new data more 1601 whether identical (step 402).If data 1201 are with more new data 1601 is inequality, then client computer 180 operating systems 182 down loading updating data 1601 replace pre-deposit data 1201 (step 404).If data 1201 are with more new data 1601 is identical, down loading updating data 1601 (step 406) not then.Aforementioned more new data 1601 can be the multimedia video file that upgrades, and wherein the multimedia video file of Geng Xining comprises the multimedia advertising data of renewal, dynamic animation data, static images data or the like.
The storage element 110 of dish 100 generally is made of flash memory (Flash) with oneself.Formed by a plurality of blocks (block) in the flash memory.Block is to be stored in a continuous manner in flash memory by a group data cell, therefore usually by as an entity transmission unit.Aforementioned second district 140 and the 3rd district 150 are that the block in the corresponding actual firmware of FAT (File Allocation Table) table that utilizes operating system 182 is planned and formed.It is spendable in general carry-on dish standard specification 1024 blocks of qualification (block) 1000 blocks will being arranged, with oneself the just spendable at last non-defective unit of dish 100.The present invention can utilize the remaining space in the storage element 110, so a spot of first district 120 can not influence carry-on dish 100 capacity among the present invention.For example, also have in 1024 blocks 1000 blocks be spendable just be non-defective unit, therefore 1024 blocks also have the remaining space of 24 blocks to can be used to do first district 120, are used for depositing pre-deposit data 1201.Supposed 14 blocks bad, also had 10 blocks to can be used to deposit pre-deposit data 1201.The present invention can flexibly handle the volume space of the flash memory of carry-on dish 100.
Second embodiment
At first with reference to figure 5.Dish 100 comprises a storage element 110 with oneself, wherein is planned to three zones at least.These three zones comprise 120, the second districts 140, first district and the 3rd district 150.A pre-deposit data 1201 is deposited in first district 120.A start-up routine 1401 is deposited in second district 140.An arbitrary data 1501 is deposited in the 3rd district 150.Dish 100 mat usb 1s 84 connect with client 180 with oneself.Client computer 180 installing operating systems 182.One webserver 160 has more new data 1601, is connected with client computer 180 by network 162.When carry-on dish 100 inserted client computers 180, executive routine 1401 was carried out data 1201, and after being finished and being operated system 182 and stopping one of them takes place, dish 100 allows operating systems 182 accesses the 3rd district 150 with oneself.Relation between each assembly and function are similar to first embodiment, therefore repeat no more.Second embodiment is different from the first embodiment part and is, wherein second district 140 and the 3rd district 150 can be planned to the same area 500.
By the above detailed description of preferred embodiments, be to wish to know more to describe feature of the present invention and spirit, and be not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category of claim of being arranged in of various changes and tool equality institute of the present invention desire application.