CN105718210B - For operating the read-only method and system of portable device - Google Patents

For operating the read-only method and system of portable device Download PDF

Info

Publication number
CN105718210B
CN105718210B CN201410738060.3A CN201410738060A CN105718210B CN 105718210 B CN105718210 B CN 105718210B CN 201410738060 A CN201410738060 A CN 201410738060A CN 105718210 B CN105718210 B CN 105718210B
Authority
CN
China
Prior art keywords
read
portable device
program
file
archives
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.)
Active
Application number
CN201410738060.3A
Other languages
Chinese (zh)
Other versions
CN105718210A (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.)
Huitong Global Ltd.
Original Assignee
Xu Jing Science And Technology Co Ltd
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 Xu Jing Science And Technology Co Ltd filed Critical Xu Jing Science And Technology Co Ltd
Priority to CN201410738060.3A priority Critical patent/CN105718210B/en
Publication of CN105718210A publication Critical patent/CN105718210A/en
Application granted granted Critical
Publication of CN105718210B publication Critical patent/CN105718210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of for operating the read-only method and system of portable device.Aforementioned system includes a portable device, which has a memory unit and a processing unit and a host, which has a display unit and a processor.One browse request accesses the portable device for being inserted into the host.After memory unit is accessed and is tracked, corresponding service will be executed by portable device, without being stopped by host security system.

Description

For operating the read-only method and system of portable device
Technical field
The present invention is about a kind of read-only method and system, especially with regard to a kind of for operating the read-only side of portable device Method and system.
Background technique
Certain portable devices need to set or initialized, and can just bring into operation.For example, identification of fingerprint flash storage Device may require that their finger print information of user's registration into the equipment, and safety measure can just come into force thereafter.Because identification of fingerprint is fast Dodging reservoir does not have user interface and user interaction, it has to a host, such as the assistance of computer.Usually require software It installs or is implemented on host, so that relevant initialization procedure can be executed.
If a computer is used to runs software, the manufacturer of identification of fingerprint fast flash memory will face one and ask Topic.The operating system of computer is supported each, and manufacture commercial city must provide the software corresponding version, this is one additional Expense.
There is a common method to be used to solve issue noted above.Without using must install and execute on host Software, and it is transmitted to the web browser on host with a HTML archives, so as to interact with user, and guide them To online webpage, identical initialization procedure is installed or be partially completed to further progress.However, to certain portable devices and Speech, executes this (a little) HTML archives in web browser and is interacted with the equipment of attachment, may be by the peace in operating system Total system stops.For example, if HTML archives as provided by fingerprint fast flash memory require to write data to fingerprint it is fast It dodges in reservoir and fingerprint fast flash memory is thought because the default rejection of browser security is any when just connecting with computer Local file system trial movement is write data to, the security system of host may jump out one section of information warning to alert use Family, next movement have potential security risks., it is clear that fingerprint fast flash memory is considered relative to computer A local side storage facilities.Many people are ignorant of the security system is how to run, and think in fingerprint fast flash memory There is hidden trouble in safety.This will lead to much telephone questionnaires about the above problem, or even cause the return of goods of fingerprint fast flash memory.
Thus there is such a demand: how to set or initialize the portable device of one and a host link, Without the obstruction by security system.U.S. Patent No. 7,676,675 give a teaching.It is set by consideration is portable Standby is a remote client, and the client wants the desktop computer of access local side, and the patent of the U.S. the 7th, 676,675 has real The step of existing the demand.However, the patent needs additional monitoring socket to be set to both ends, this can not be purchased this and can take The user of formula equipment is received.
The present invention puts forward a kind of accurate but simple read-only method, is with use this method operation portable device System.The system span equipment and host both ends, so that the existing available component of host side can be used effectively, without in addition pacifying Fill New Parent.It is therefore is able to satisfy above mentioned demand.
Summary of the invention
It can be seen from the above explanation being set for portable device now when they are connected with host When fixed or initialization, if manufacturer does not provide specific drive software to specific operating system, come by the mode of webpage Setting or initialization are completed, it can be by the obstruction from the operating system.However, the prior art can not break through always such barrier Hinder.The present invention is to propose solution for such demand.
A kind of for operating the read-only system of portable device according to a kind of aspect of the invention, include: one portable sets Standby, include: a memory unit has a file system directories, the HTML archives or application program text with one program of implantation Part, for storing data in an entity and/or virtual memory space, program above-mentioned is compiled by a scripting language or a program language Journey, one operation of application file implantation or direction;And a processing unit, for transmitting the HTML shelves from the memory unit Case or application file, one monitoring program of operation, the service for executing monitoring program requirement and the data in transfer address; And a host, it is connect with the portable device, receiving the HTML archives or application file, includes: a display unit, To in showing webpage on a browser, or the implementing result of display application file, browser above-mentioned show HTML grades The content of case simultaneously executes the embedded program;And a processor, to run an operating system, with the browser or application program text Part.
The host regards the portable device as a storage facilities, and the storage facilities is the structure meaning of file system directories Out.The browser for being mounted on host executes the HTML archives and executes the embedded program.The embedded program or application program text Part operation inputs the information of a corresponding service to translate selection attribute or one that one is selected by user, is a corresponding whole world money The combination of source locator or URL(Uniform Resource Locator), the combination of aforementioned single URL(Uniform Resource Locator) or URL(Uniform Resource Locator) It is respectively directed to one or more archives being located in file system directories.By searching in a concordance list of this document system directory The address of one or more archives simultaneously then requests the portable device to read the data being somebody's turn to do on (a little) address, and operating system access should One or more archives;The address that the monitoring program inspection is sent by operating system, and judge whether that (a little) address corresponds to this Service.If it is to correspond to the service that (a little) address is somebody's turn to do in monitoring program discovery, monitoring program notifier processes unit executes the clothes Business.It is somebody's turn to do (a little) address by what file system directories provided, is the call number of a memory space in the portable device.
Preferably, this document system directory be FAT (File Allocation Table, file configuration table), FAT16, FAT32, exFAT (Extended File Allocation Table), NTFS (New Technology File System, New Technology File System), ext2, ext3, ext4, HFS (HTTP File Server, NetWare file server), HFSX or ISO9660 (international standard format).The concordance list of this document system directory is the file allocation table in FAT file system, extension The master file-table in index node (inode) or New Technology File System (NTFS) in file system.Monitoring program tool There are a default table or rule, chained address to corresponding service.Program or application program operation and user interaction, to obtain The selection attribute or the information of input.The selection attribute of browser is revealed in radio button, check box or pulldownmenus Form present.Alternatively, the selection attribute for being revealed in browser is presented with an image format, if the image is clicked, With regard to the specifically service of triggering one.The information is inputted by the text input box on browser, and the scripting language is The program language that JavaScript or HTML5 are used.It is received through the service portable device and executes order/letter from the user Breath, the service include to initialize the portable device, configure the portable device, execute a movement of the portable device, mention It is connect for the segment information in the portable device, or cutting with the host.
According to the present invention, the portable device by one wirelessly or non-wirelessly connection type be connected to the host.The wireless connection Mode application Wi-Fi module or bluetooth module.The wired connection mode using USB connector, SD card slot, e-SATA connector, Lighting connector or Thunderbolt connector.Portable device is hard disk, fast flash memory, solid state hard disk, fingerprint are distinguished Know device or fingerprint fast flash memory, and host is desktop computer, laptop, tablet computer or smartphone.It should Display unit is monitor, screen or Touch Screen.Host further includes an input equipment, to select the service option. The input equipment is mouse, keyboard or Touch Screen.
It is a kind of for operating the read-only method of portable device according to another aspect of the invention, comprising the steps of: connection One host and a portable device;A file system directories are provided from the portable device and are implanted into a HTML archives of a program Into the operating system of host;A browser is initialized, by the program in operating system HTML archives;One letter of input Breath is to the interface of browser or by selecting attribute in the interface;Translating this selects attribute and/or information for a whole world money The combination of source locator or URL(Uniform Resource Locator);The URL(Uniform Resource Locator) is translated by the operating system or the global resources are determined The group of position device is combined into a read action;By the ground for searching one or more archives in a concordance list of this document system directory Location simultaneously then requests the portable device to read the data being somebody's turn to do on (a little) address, and access is located at one or one in this document system directory A little archives, aforementioned (a little) archives that are somebody's turn to do are as pointed by the combination of the URL(Uniform Resource Locator) or the URL(Uniform Resource Locator);It can take Formula equipment is somebody's turn to do during (a little) file accessing, and monitoring should (a little) access address;It finds and corresponds to being somebody's turn to do in portable device One service of (a little) access address;And the service is executed by the portable device.
It can be seen from the above explanation system provided by the present invention, when browse request is to being connected to taking for the host After formula equipment is accessed, memory unit is accessed and tracks, and corresponding service can be executed by the portable device.Utilize this The skill of sample is completed the operation for setting or initializing by the mode of webpage, would not be stopped by host security system.
Detailed description of the invention
Fig. 1 is the block diagram according to a read-only system of the invention;
Fig. 2 is shown in the thin portion structure of a memory unit in embodiment;
Fig. 3 shows another thin portion structure of memory unit;
Fig. 4 is shown in the browser in a display unit;
Fig. 5 shows the preset table for URL(Uniform Resource Locator);
Fig. 6 is the file system directories of URL(Uniform Resource Locator);
Fig. 7 shows another preset table for URL(Uniform Resource Locator);
Fig. 8 is the flow chart according to a read-only method of the invention.
Description of symbols: 10- read-only system;100- fingerprint fast flash memory;110- memory unit;111-HTML grades Case;112- file system directories;113- reserved memory space;The free memory space of 114-;120- processing unit;121- monitoring Program;130-USB connector;200- laptop;The port 210-USB (usb hub);220- display unit;230- processing Device;232- operating system;232- browser.
Specific embodiment
The present invention will be more specifically described by referring to following embodiment.
Referring to Fig. 1, the figure illustrates according to a read-only system 10 of the invention.Read-only system 10, which is used to operation one, to be taken Formula equipment.Example of the one fingerprint fast flash memory 100 as the portable device.For fingerprint fast flash memory 100, use Person needs by a host, and laptop 200 registers his fingerprint into fingerprint fast flash memory 100, so that fingerprint is fast Dodging reservoir 100 can start to work.Read-only system 10 is for initializing fingerprint fast flash memory 100 without by laptop The good example of 200 security systems block.
As described above, read-only system provided by the present invention crosses over equipment end and host side, at least part of notebook Computer 200 should have corresponding function, these functions can illustrate later.To a common laptop, these functions by Handled by specific component, for example, processor or module chip etc..The present invention realizes this merely with obtainable electronic building brick Read-only system 10, and key component is in fingerprint fast flash memory 100.
Fingerprint fast flash memory 100 includes three formants a: memory unit 110, a processing unit 120, with a USB Connector 130.It can also have the function of other components to execute fingerprint identifier and fast flash memory, but these are not this realities Apply the main points that example will be discussed.Fingerprint fast flash memory 100 can be accessed by the operating system of laptop 200.
Memory unit 110 has a HTML archives 111 and a file system directories 112.HTML archives 111 are via a display Unit supplies information to user, and by the option or input passage information for selecting it to provide and and user interaction.HTML Archives 111 are implanted a program, this program is programmed by a scripting language or program language.The program can translate user's selection Or information be that (this will say in detail below for the combination of a corresponding URL(Uniform Resource Locator) (URL) or URL(Uniform Resource Locator) It is bright).Java script is adaptable scripting language.As for the program language, then C++ and Java are often used.In fact, As long as either scripting language or program language can satisfy functional requirement of the invention, memory unit is deposited in In 110.
The major function of memory unit 110 is storage data.Please continue to refer to Fig. 1, it is empty that certain data can be stored in memory Between 114, for read.It is to be noted that there is reserved memory space 113 in memory unit 110.Reserved memory space 113 Certain default datas are only stored, for operating read-only function, herein without other data storages.Reserved memory space 113 It can be entity and/or virtual memory space.If the reserved memory space 113 is virtual memory space, each minimum reading/ R/w cell can only include the gauge outfit of an archives, and entire virtual memory space can be by a simulated program construction, so that notebook is electric The operating system of brain 200, which is believed, has such data in reserved memory space 113.Certainly, reserved memory space 113 can To be part entity memory space and partial virtual memory space, the difference according to design.It is stressed that the minimum read/write list Member is " page " in the NAND Flash chip that memory unit 110 uses.If the present invention is applied to other portable devices, all Such as fast flash memory or solid state hard disk, one page or minimum read/write cell.However, if portable setting of being applied to of the present invention Standby is using hard disk as memory unit 110, which should be just a block.
File system directories 112 point out a file system, the logic that there is this document system stratiform subdirectory to store with it Archives, and the corresponding physical address in 110 somewhere of memory unit.File system provides the page in reserved memory space 113, And the free memory space 114 drawn by unit number.File system directories 112 by a traditional file allocation table (FAT) or FAT equipped with flash translation layer (FTL) (FTL) and realize.In fact, file system directories 112 also can be FAT16, FAT32, exFAT, NTFS, ext2, ext3, ext4, HFS, HFSX or ISO9660.For the operation of read-only system 10, file system directories 112 There must be data storage in many layers, this is because spirit of the invention is to observe the access of certain specific pages and determine One corresponding service is come into force.If the data of default, such as a text file, acquirement is from the fast of operating system It takes, so that the reading of those pages is not performed, no matter whether archives are read, and read-only system 10 can not correct operation.? In the present embodiment, used in the virtual memory space of reserved memory space 113, so, file system is also at one The file system of a emulation, file system directories 112 make operating system believe that this document system exists but do not deposit actually ?.Similarly, if using entity memory space, file system is a normal file system, has actual FAT and storage The data deposited.As described above, reserved memory space 113 can be part entity memory space and partial virtual memory space, that What is used is exactly the file system of mixing an entity and emulation.The framework in virtual memory space will be in being described later on.
Processing unit 120 is used to transmit the HTML archives from memory unit 110 into laptop 200, it also can It runs a monitoring program 121 and executes a service, the service that monitoring program 121 requires.Meanwhile processing unit 120 can be according to pen Remember the requirement of this computer 200, transmits the data of page (address) in memory unit 110.USB connector 130 is a kind of wired connection Mode transmits HTML archives.In fact, it can be other connectors, such as eSATA connector.It is also possible to one kind The radio connection being used for transmission.Radio connection can be realized by a Wi-Fi module or bluetooth module.
Host, laptop 200 link with fingerprint fast flash memory 100 and receive the HTML archives (or application program File, if you are using).Although as described above, there is many electronic building bricks in laptop 200, it is only necessary to therein Three, and respectively have specific function.They are a USB port 210, a display unit 220, with a processor 230., it is clear that The port USB 210 is used to connection USB connector 130 and transmits the data from USB connector 130 to processor 230.If USB Connector 130 is changed to eSATA connector, and the port USB 210 also can be replaced another port eSATA.If USB connector 130 by One corresponding module, as replaced a Wi-Fi module or a bluetooth module, USB port 210 will change corresponding wireless mould into Block.
Display unit 220 can show webpage on a browser, and browser shows the content of HTML archives.Browser is also held The row embedded program (or implementing result of display application file, if any).The purpose of display unit 220 is to promote Interacting between user and read-only system 10.Processor 230 is used to operation operating system and browser (or application file), It also can be the inner general central processing unit of laptop 200.For the reading of convenient illustrations book, operating system and browsing Device is respectively designated as 231 and 232.When the URL(Uniform Resource Locator) that browser 232 is requested is webpage (http), operating system 231 can execute network service.URL(Uniform Resource Locator) can also be used as file transmission (ftp), Email (mailto) and many Others application.Operating system 231 also can provide archives service according to file system directories information, translate the catalogue road of an archives Diameter is the number of one page, to access reserved memory space 113 and free memory space 114, thus can reach the access of page.
Laptop 200 regards fingerprint fast flash memory 100 as a storage facilities, which is file system directories Pointed by 112.Because having used virtual memory space, the content of reserved memory space 113 need not physically exist.In order to have It better understands, please refers to Fig. 2.Fig. 2 shows the thin portion structure of memory unit 110.File system directories 112 maintain logic archives Corresponding relationship between (directory path) and virtual memory space (page).For example, the corresponding relationship of page P001 record data, the data It is not present but have gauge outfit and certain information to be stored in page P101 and P102.If URL(Uniform Resource Locator) requires access, this is not deposited Data, the data in page P001 by the page number of feedback P101 and P102 to operating system 231, so as to operating system 231 It can attempt to obtain the data in page P101 and P102.Similarly, if corresponding URL(Uniform Resource Locator) requires, page P004 can be returned Present the page number of page P110, the page number of page P006 feedback page P124.
When laptop 200 is attached to fingerprint fast flash memory 100 by the connection port USB 210 and USB connector 130 When, fingerprint fast flash memory 100 is powered by laptop 200.After the several seconds, processing unit 120 will send HTML archives (or application file) and file system directories information (shown in dotted line arrow as shown in figure 1) gives operating system 231.Work as operation When system 231 receives HTML archives, the browser 232 being installed in laptop 200 will execute HTML archives automatically and should Embedded program.
The content of HTML archives provides one browser interface of user, has multiple selection attributes, each selection attribute pair A service is answered, once being selected, fingerprint fast flash memory 100 is carried out for the service.Through the service fingerprint fast flash memory 100 receive and execute commands/information from the user, and the service is fast comprising initialization fingerprint fast flash memory 100, configuration fingerprint Dodge reservoir 100, execute fingerprint fast flash memory 100 one movement, provide fingerprint fast flash memory 100 in a segment information, Or the connection of cutting laptop 200 and fingerprint fast flash memory 100.Other services can be quoted, the present invention does not limit It is fixed.For illustrative purposes, in the operation example after all services will be used for.
Once selection attribute be selected or user input an information, the implantation program (or application file) operation with Translation selects attribute for the combination of a specific URL(Uniform Resource Locator) or URL(Uniform Resource Locator).It should the positioning of (a little) global resources Device can respectively be directed to one or more archives in file system directories 112.By searching in file system directories 112 Concordance list is somebody's turn to do (a little) archives address and then data of request fingerprint fast flash memory 100 reading in (a little) address, operation The access of system 231 should (a little) archives.The address of file system directories 112 is a memory space in fingerprint fast flash memory 100 Call number, such as one page.Herein, the concordance list of file system directories 112 is the file allocation table in FAT file system.Implementation On, it is also possible to extend the master file-table in the index node (inode) or NTFS in file system.Please referring still to Fig. 1.When operating system 231 is with a URL(Uniform Resource Locator) (solid arrow as shown in figure 1 of 112 concordance list of file system directories It is shown) when being searched, page P001 is found in this address.Then, 112 feedback URL(Uniform Resource Locator) of file system directories is pointed out Data be stored in page P101 and P102 (shown in dotted line arrow as shown in figure 1).Finally, operating system 231 is to request fingerprint Fast flash memory 100 read data form, access reserved 113 number of memory space be P101 and P102 page (as shown in figure 1 Pecked line arrow shown in).It page 3 is accessed in total.If the specific data that URL(Uniform Resource Locator) is pointed out are stored in In one page, it is also possible to primary access page two.In this example, a biggish storage capacity may be had by accounting for the data of page two, or may It is stored in the file system of emulation in logic and the subdirectory with many layers.
Monitoring program 121 monitors the implementation procedure of page access.If a page access is to the one of file system directories 112 Entity memory space, that just carries out general file accessing.On the contrary, if a page access is to file system directories 112 Virtual memory space, just translation access page be corresponding service.The ground that monitoring program inspection is issued by operating system 231 Location, and judge whether that (a little) address corresponds to the service.If it is to correspond to the clothes that (a little) address is somebody's turn to do in monitoring program discovery Business, monitoring program notifier processes unit 120 execute the service.It is somebody's turn to do (a little) address by what file system directories 112 provided, is that this refers to The call number of a memory space in line fast flash memory 100.
Monitoring program 121 can have a page (or rule) default table about address and corresponding with service.Monitoring program 121 It checks the address that operating system 231 issues, and judges whether that (a little) address corresponds to the service.If monitoring program discovery should (a little) address is to correspond to the service, and monitoring program notifier processes unit 120 executes the service.
Selection attribute can be selected or user is via one information of input of browser 232, which is from a text input box It is input to browser 232.The information has function identical with selection attribute.In fact, the selection of selection attribute is pressed with single choice The form of button, check box or pulldownmenus is revealed in browser 232, they can be also presented with an image format, if The image is clicked, and just the specifically service of triggering one, selects attribute form not limited by the present invention.Program (or apply journey Sequence) purpose be to interact with user, to obtain the information of the selection result or input.
It is the example of operation below, see Fig. 4.Display unit 220 shows browser 232, with above-described choosing Selecting attribute, (initialization fingerprint fast flash memory, configuration fingerprint fast flash memory execute one fingerprint of acquirement, provide a finger obtained Schlieren picture, and the connection of cutting fingerprint fast flash memory).Corresponding service is shown in a pulldownmenus.When a selection belongs to Property is selected in browser 232, the operating system 231 of laptop 200 by according to the preset table of URL(Uniform Resource Locator), Access a URL(Uniform Resource Locator).Referring to Fig. 5, the figure shows the structure of certain archives in virtual memory space.Fingerprint quick flashing Reservoir 100 is considered as a local disk by laptop 200.There are 5 roots: A1, B1, C1, D1 and E1.Each mesh Recording has many subdirectories.For example, the subdirectory A3 of root A1 subdirectory A2 and subdirectory A2.Have in subdirectory A3 100 archives, other roots have similar structure.Whole archives are regarded as same Fig. 6 description in virtual memory space.
One selection attribute corresponds to certain specific URL(Uniform Resource Locator)s.Because of the archives that URL(Uniform Resource Locator) is directed toward May by 231 cache of operating system of laptop 200, once the URL(Uniform Resource Locator) by operating system 231 at first Archives are accessed, according to spirit of the invention, used URL(Uniform Resource Locator) will be rejected, and another specific global resources Locator prepares for accessing identical selection attribute next time." the initialization fingerprint flash storage for example, when user selects Device ", to meet the preset table of URL(Uniform Resource Locator), for the first time through 232 initial fingerprint fast flash memory 100 of browser, notes The operating system of this computer 200 will access file: //s:/A1/A2/A3/1.txt.Then, monitoring program 121 is it will be appreciated that complete The archives that ball resource localizer is directed toward are accessed.Notifier processes unit 120 is initialized fingerprint fast flash memory by monitoring program 121 100 to use.If fingerprint fast flash memory 100 is required to reform " initialization fingerprint fast flash memory " once, identical to hold It is about to run.However, URL(Uniform Resource Locator) changes are as follows: file: //s:/A1/A2/A3/2.txt at second.Correspondence is deposited The page taken not will use twice.Theoretically, have can choose for 100 times identical selection attribute until all URL(Uniform Resource Locator)s all It uses up.If it is expected by the manufacturer of fingerprint fast flash memory 100 will be reset many times, URL(Uniform Resource Locator) Quantity will be more.According to the present invention, if fingerprint fast flash memory 100 arrives other computer by plug, it is somebody's turn to do (a little) and used URL(Uniform Resource Locator) can be only used once again, this is because the information of file system directories is for other computers New (or even for laptop 200, reinserting after choosing also can be new at last), cache file function will not connect In the page stored to Raw geological record.
It is emphasized that whether necessary being is not important for the archives pointed out of URL(Uniform Resource Locator), operating system 231 It is not necessary to really go to read it.Browser 232, which may be set, ignores the feedback information from reserved memory space 113.Catalogue layer Number not necessarily 3 as shown in FIG. 6,3 may be greater than.File system directories 112 can be other arrangement, wherein one Archive bit is in a certain layer and the archives of next access are in more lower.For example, URL(Uniform Resource Locator) for selecting for the first time It executes and obtains fingerprint and be: file: //s:/C1/C2/C3/1.txt, and select the identical selection attribute to be for the second time: file: // S:/C1/C2/C3/C4/2.txt will is that file for the third time: //s:/C1/C2/C3/C4/C5/3.txt.Wherein A4 is the son of C3 Catalogue, C5 are the subdirectories of C4.
Certainly, URL(Uniform Resource Locator) need not be directed toward a text file, it can also be directed toward the archives of other types, such as HTML archives.Meanwhile monitoring program 121 can track multiple URL(Uniform Resource Locator)s for a selection attribute, then correspond to Service can execute.Another embodiment is shown in Fig. 7.In this embodiment, it is fixed that a selection attribute is directed toward two global resources Position device.Once the operating system of laptop 200 will access two different global resources and determine that is, the selection attribute is selected The page of position device.For example, if user's selection " connection of cutting fingerprint fast flash memory ", URL(Uniform Resource Locator) file: //s :/ E1/E2/E3/1.HTML and file: the //s:/I1/I2/I3/1.HTML page being directed toward will be accessed.Then monitoring program tracks The case where access, corresponding service carry out.Similarly, many URL(Uniform Resource Locator)s (not being painted) correspond to a choosing When selecting attribute, used URL(Uniform Resource Locator) will be rejected, as in the prior embodiments.
In embodiment in front, the file system of virtual memory space and emulation is applied.Meanwhile portable device is Fingerprint fast flash memory and include non-volatile to answer memory.And according to the present invention, it is the portable device of memory unit with hard disk Also it can be used.
Referring to Fig. 3, fingerprint fast flash memory 100 is replaced by finger print hard disc.Thus, the read-write of memory unit 110 be " Block " in.Because having used entity memory space, the content of reserved memory space 113 just should physically exist.For example, The corresponding relationship of data in block B001 record block B101 to the B104 of file system directories 112.If a whole world money Source locator requires to access the data, and the data in block B001 will feed back block number B101 to B104 to operating system 231, It attempts to obtain the data in block B101 to B104 so that operating system 231 is following, and the data must be that block B101 is arrived In B104 all with there are persons.Similarly, if corresponding URL(Uniform Resource Locator) requires, block B004 feedback block B127 To block B143, block B024 feedback block B179 and B180.
It should be noted that scripting language is not limited to Java script, it can be the following HTML5 (Hyper Text Markup Language 5) program language that uses.USB connector 130 is not limited to USB or eSATA connector, SD card slot, Lighting connector or Thunderbolt connector can be used according to different operating system.Portable device is not limited to refer to Line fast flash memory 100, it can be fast flash memory, hard disk, fingerprint identifier or other need to operate the read-only system Equipment.Certainly, it is corresponding service also will thus change.For example, for fast flash memory, service can be latching access, ECC function etc. is provided.
In another embodiment, host can be a table surface computer, tablet computer or smartphone.In plate In computer and the example of smartphone, the connection type between host and portable device is not just wired connection mode.Such as This product can use radio connection.Preferably, radio connection meets Wi-Fi or Bluetooth specification.Display unit should For Touch Screen, general screen, even it is the monitor remotely connected.Host computer side can be comprising for selecting selection attribute Input equipment, such as mouse or keyboard can be used in laptop 200.Touch Screen is portable device, such as plate meter Calculation machine, an option.
According to the above, for reaching the general read-only method of the identical effect of read-only system 10, end is as follows, please join Read Fig. 8.Firstly, connection one host (such as the fingerprint fast flash memory 100) and a portable device (such as laptop 200)(S01).Then, from a HTML archives of one program of the portable device one file system directories of offer and implantation to host Operating system in (S02).One browser of operating system initialization, by the program in operating system HTML archives (S03).Thus, browser will provide an interface to user.One selection attribute (or information) is inputted by the interface of browser (S04).As described above, selection attribute can be chosen from group of option, or manually type in.Program translation selection attribute (and/or information) is the combination (S05) of a URL(Uniform Resource Locator) or URL(Uniform Resource Locator).Browser translation should (a little) whole world Resource localizer is a read action (S06).Then, operating system is by searching in a concordance list of this document system directory The address of one or more archives simultaneously then requests the portable device to read the data being somebody's turn to do on (a little) address, and access is located at this document One in system directory or some archives, aforementioned (a little) archives that are somebody's turn to do are by a URL(Uniform Resource Locator) or URL(Uniform Resource Locator) meaning To (S07).One monitoring program during being somebody's turn to do (a little) file accessing, can be used to what monitoring (a little) should access in portable device Address (S08).The service (S09) for being somebody's turn to do (a little) access address in portable device, the portable device are corresponded to by searching Execute the service (S10).
Although the present invention is disclosed above with embodiment, however, it is not to limit the invention, any art technology Personnel when can make some changes and embellishment, both fall within protection model of the invention without departing from the spirit and scope of the present invention In enclosing.

Claims (19)

1. a kind of for operating the read-only system of portable device characterized by comprising
One portable device includes:
One memory unit has an entity memory space, a virtual memory space, a file system directories, and is implanted into a program A HTML archives or an application file, program above-mentioned programs by a scripting language or a program language, this applies journey An operation is directed toward in the implantation of preface part;And
One processing unit, for transmit HTML archives from the memory unit or application file, one monitoring program of operation, Execute the data in the service and transfer address that monitoring program requires;And
One host is connect with the portable device, receiving the HTML archives or application file, includes:
One display unit, in showing webpage on a browser, or the implementing result of display application file, it is above-mentioned clear Device of looking at shows the content of HTML archives and executes an embedded program;And
One processor, to run an operating system, and the browser or application file,
Wherein the host regards the portable device as a storage facilities, and the storage facilities is the structure meaning of file system directories Out;The browser for being mounted on host executes the HTML archives and executes the embedded program;The embedded program or application program text Part operation inputs the information of a corresponding service to translate selection attribute or one that one is selected by user, is a corresponding whole world money The combination of source locator or URL(Uniform Resource Locator), the combination of aforementioned single URL(Uniform Resource Locator) or URL(Uniform Resource Locator) It is respectively directed to one or more archives being located in file system directories;By searching in a concordance list of this document system directory The address of one or more archives simultaneously then requests the portable device to read the data on the address, operating system access this one or Multiple archives;The monitoring program monitors the implementation procedure of page access, if a page is access being somebody's turn to do to this document system directory Entity memory space, with regard to carrying out file accessing, if a page is the virtual memory space that this document system directory is arrived in access, Page with regard to translation access is a corresponding service;The address that the monitoring program inspection is issued by operating system, and judge whether this Address corresponds to the service;If the monitoring program finds that the address is to correspond to the service, monitoring program notifier processes unit Execute the service;The address provided by file system directories, is the call number of a memory space in the portable device;And it should Virtual memory space is by a simulated program construction, so that the host believes that the data exist but actually and are not present.
2. read-only system as described in claim 1, which is characterized in that this document system directory be FAT, FAT16, FAT32, ExFAT, NTFS, ext2, ext3, ext4, HFS, HFSX or ISO9660.
3. read-only system as described in claim 1, which is characterized in that the concordance list of this document system directory is FAT file system The master file-table in the index node or New Technology File System in file allocation table, extension file system in system.
4. read-only system as described in claim 1, which is characterized in that the monitoring program has a default table or rule, link Address is to corresponding service.
5. read-only system as described in claim 1, which is characterized in that program or application program operation and user interaction are used To obtain the information of the selection attribute or input.
6. read-only system as described in claim 1, which is characterized in that be revealed in the selection attribute of browser with single choice by The form of button, check box or pulldownmenus is presented.
7. read-only system as described in claim 1, which is characterized in that be revealed in the selection attribute of browser with an image Form is presented, if the image is clicked, the just specifically service of triggering one.
8. read-only system as described in claim 1, which is characterized in that information is inputted by the text input box on browser.
9. read-only system as described in claim 1, which is characterized in that the scripting language is that JavaScript or HTML5 is used Program language.
10. read-only system as described in claim 1, which is characterized in that receive and execute through the service portable device and come from The commands/information of user, the service include to initialize the portable device, configure the portable device, execute this and portable set A standby movement provides a segment information in the portable device, or cutting is connect with the host.
11. read-only system as described in claim 1, which is characterized in that the portable device is by a wirelessly or non-wirelessly connection side Formula is connected to the host.
12. read-only system as claimed in claim 11, which is characterized in that the wireless connection application Wi-Fi module or bluetooth mould Block.
13. read-only system as claimed in claim 11, which is characterized in that wired connection uses USB connector, SD card slot, e- SATA connector, Lighting connector or Thunderbolt connector.
14. read-only system as described in claim 1, which is characterized in that the portable device is hard disk, fast flash memory, consolidates State hard disk, fingerprint identifier or fingerprint fast flash memory.
15. read-only system as described in claim 1, which is characterized in that the host is desktop computer, laptop, puts down Plate computer or smartphone.
16. read-only system as described in claim 1, which is characterized in that the display unit is monitor, screen or touch screen Curtain.
17. read-only system as described in claim 1, which is characterized in that the host includes an input equipment, to select the clothes Business option.
18. read-only system as claimed in claim 17, which is characterized in that the input equipment is mouse, keyboard or Touch Screen.
19. a kind of for operating the read-only method of portable device, which is characterized in that include step:
Connect a host and the portable device with an entity memory space and a virtual memory space;
A file system directories are provided from the portable device and are implanted into a HTML archives of a program to the operating system of host In;
A browser is initialized, by the program in operating system HTML archives;
An information is inputted to the interface of browser or by selecting attribute in the interface;
Translate the combination for selecting attribute and/or information as a URL(Uniform Resource Locator) or URL(Uniform Resource Locator);
One read action is combined by the group that the operating system translates the URL(Uniform Resource Locator) or the URL(Uniform Resource Locator);
By searching the address of one or more archives in a concordance list of this document system directory and then requesting this portable Equipment reads the data on the address, and access is located at one or more archives in this document system directory, which is provided by the whole world Pointed by the combination of source locator or the URL(Uniform Resource Locator);
During the file accessing of portable device, the implementation procedure of access address and page access is monitored, if a page It is the entity memory space that this document system directory is arrived in access, with regard to carrying out file accessing, if a page is that this article is arrived in access The virtual memory space of part system directory, just the page of translation access is a corresponding service;
Find the service corresponded in the access address of portable device;And
The service is executed by the portable device,
Wherein the virtual memory space is by a simulated program construction, so that the host believes that the data exist but do not deposit actually ?.
CN201410738060.3A 2014-12-05 2014-12-05 For operating the read-only method and system of portable device Active CN105718210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410738060.3A CN105718210B (en) 2014-12-05 2014-12-05 For operating the read-only method and system of portable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410738060.3A CN105718210B (en) 2014-12-05 2014-12-05 For operating the read-only method and system of portable device

Publications (2)

Publication Number Publication Date
CN105718210A CN105718210A (en) 2016-06-29
CN105718210B true CN105718210B (en) 2018-12-18

Family

ID=56144004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410738060.3A Active CN105718210B (en) 2014-12-05 2014-12-05 For operating the read-only method and system of portable device

Country Status (1)

Country Link
CN (1) CN105718210B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108898006B (en) * 2018-05-30 2020-04-03 百富计算机技术(深圳)有限公司 HTML5 file security protection method, system and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103891303A (en) * 2011-08-16 2014-06-25 黛斯悌尼软件产品有限公司 Script-based video rendering
CN104156394A (en) * 2014-07-14 2014-11-19 苏州畅达软件研发有限公司 Mobile page creating system and mobile page creating method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735601B1 (en) * 2000-12-29 2004-05-11 Vmware, Inc. System and method for remote file access by computer
US9235583B2 (en) * 2009-07-15 2016-01-12 Aten International Co., Ltd. Virtual media with folder-mount function
US8438287B2 (en) * 2009-11-17 2013-05-07 Motorola Mobility Llc System and method for management of mobile device
US8301715B2 (en) * 2010-05-20 2012-10-30 Sandisk Il Ltd. Host device and method for accessing a virtual file in a storage device by bypassing a cache in the host device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103891303A (en) * 2011-08-16 2014-06-25 黛斯悌尼软件产品有限公司 Script-based video rendering
CN104156394A (en) * 2014-07-14 2014-11-19 苏州畅达软件研发有限公司 Mobile page creating system and mobile page creating method

Also Published As

Publication number Publication date
CN105718210A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN102520841B (en) Collection user interface
US7945652B2 (en) Display multi-layers list item in web-browser with supporting of concurrent multi-users
US9235636B2 (en) Presenting data in response to an incomplete query
CN103309709B (en) A kind of firmware upgrade method, device and communication equipment
US9460107B2 (en) Filename-based inference of repository actions
EP3022889B1 (en) Light installer
US20170034182A1 (en) System and protocol for programmatic inheritance of digital assets
JP2016517599A5 (en)
US20150324896A1 (en) Presentation of homage tokens
CN1987858A (en) Method and equipment for sharing computer data among computers
CN108885671A (en) A kind of directory delete method, apparatus and storage server
US20140082512A1 (en) Mobile Device Interface Generator
CN105577745B (en) Polymerization and equipment with file-sharing
CN106331075B (en) Method for storing file, metadata server and manager
CN102982098A (en) Cross-Store Electronic Discovery
CN103324892A (en) File display method and device of Android system
CN107633053A (en) A kind of file management method, apparatus and system
JP5975745B2 (en) Information processing apparatus and information processing method, information communication system, and computer program
US8239403B2 (en) Enhancing soft file system links
KR101525967B1 (en) Method for providing sharing service of configuration profile
CN105718210B (en) For operating the read-only method and system of portable device
CN112269543B (en) Storage logical volume management method, device and related components
JP5552720B2 (en) Storage system, storage server, user data sharing method, and program
CN101796513A (en) Method and device for managing data in a distributed environment
CN112463398A (en) File transmission method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240116

Address after: 13th Floor, Harbour Commercial Building, 122-124 Connaught Road Central, Sheung Wan, Hong Kong, China

Patentee after: Huitong Global Ltd.

Address before: Taiwan Xindian District, New Taipei City Chinese Mingde Road No. 8 Lane 65 4F

Patentee before: SunASIC Technologies, Inc.

TR01 Transfer of patent right