The method and the communicator thereof that provide far-end to accessTechnical field
The present invention relates to a kind of far-end and access method and communicator thereof, relate in particular to a kind of far-end electronic installation that provides the far-end of local storage facilities is accessed method and communicator thereof.
Background technology
In existing technology; The user is in the other places, if want to control local side computer (for example home computer or company end computer), for example the user desires to access the file data of the storage device of local side computer; The existing on hand communicator that possesses communication function capable of using; For example intelligent mobile phone or flat computer through network connectivity, are connected to the local side computer and obtain file data.Such far-end connection mechanism can reach the function that far-end login and far-end access data; But this far-end connection mechanism, for the user can be logined from nonlocal far-end at any time, the local side computer must keep open state for a long time; Will continue power consumption; Stress that now this far-end connection mechanism truly has room for improvement under the world trend of environmental protection and carbon reduction.
In addition, existing far-end connection mechanism, the local side computer need keep open state for a long time; If the local side computer bit is in public space; Also possibly, the local side computer have other people to use the data of local side computer stored equipment at any time, therefore when keeping open state; Under the consideration of the right of privacy, also be secret worry.
Summary of the invention
In view of this, the present invention provides a kind of method and communicator thereof that provides far-end to access, and can provide the far-end electronic installation to directly the accessing of local storage element, and does not need the computer system power-on of local side, can reduce power consumption by this.
The present invention proposes a kind of method that provides far-end to access; Be applicable to the communicator that is coupled to storage element; This method that provides far-end to access comprises that the far-end that reception far-end electronic installation is transmitted accesses requirement, and wherein communicator is continuous therewith via network interface for this far-end electronic installation.Communicator accesses requirement according to far-end; Utilize the file in the storage element; Foundation is corresponding to the file index of these files and transmit file index to far-end electronic installation; Then receive the file selection requirement that the far-end electronic installation is transmitted, communicator is selected requirement according to file, obtains corresponding to file from storage element and selects the corresponding document that requires and transmit corresponding document to far-end electronic installation.
In one embodiment of this invention, this method that provides far-end to access also comprises the newly-increased file that reception far-end electronic installation is transmitted, and stores newly-increased file in storage element.
In one embodiment of this invention, this method that provides far-end to access comprises that also communicator receives the download instruction that the far-end electronic installation is transmitted, and according to download instruction, the automatic network communal space is downloaded in shared file to the storage element and stored.
In one embodiment of this invention, wherein far-end electronic installation transmission far-end accesses when requiring to communicator, needs through authentication mechanism, and this authentication mechanism comprises that the account confirms and password confirming.
In one embodiment of this invention, wherein file index comprises file name and file path.
The present invention proposes a kind of communicator, and this communicator comprises Transmit-Receive Unit and processing unit.The far-end that this Transmit-Receive Unit receives the transmission of far-end electronic installation accesses requirement, and wherein the far-end electronic installation links to each other with communicator via network interface.This handles the unit and is coupled to Transmit-Receive Unit, and processing unit accesses requirement according to far-end, utilizes the file in the storage element, sets up the file index corresponding to these files, and wherein storage element is coupled to communicator.Transmit-Receive Unit transmits file index to far-end electronic installation; Then Transmit-Receive Unit receives the file selection requirement that the far-end electronic installation transmits; Processing unit is selected requirement according to file; Obtain the corresponding document of selecting requirement corresponding to file from storage element, and utilize Transmit-Receive Unit to transmit corresponding document to far-end electronic installation.
In one embodiment of this invention, this communicator also comprises the newly-increased file that is transmitted by Transmit-Receive Unit reception far-end electronic installation, and processing unit stores newly-increased file in storage element.
In one embodiment of this invention, this communicator comprises that also Transmit-Receive Unit receives the download instruction that the far-end electronic installation is transmitted, and processing unit is according to download instruction, and the automatic network communal space is downloaded shared file to storage unit stores.
In one embodiment of this invention, wherein far-end electronic installation transmission far-end accesses when requiring to communicator, needs through an authentication mechanism, and this authentication mechanism comprises that the account confirms and password confirming.
In one embodiment of this invention, wherein file index comprises file name and file path.
Based on above-mentioned; The present invention provides a kind of method and communicator thereof that provides far-end to access; This communicator provides the far-end electronic installation can access the file data of the storage element of local side computer at any time; And the computer system that does not need local side keeps start for a long time, therefore can reach energy-saving effect.
For letting the above-mentioned feature and advantage of the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and conjunction with figs. elaborates as follows.
Description of drawings
Figure 1A and Figure 1B are the functional-block diagrams according to the communicator of one embodiment of the invention.
Fig. 2 is the flow chart that the method that far-end accesses is provided according to one embodiment of the invention.
Fig. 3 is the flow chart that the method that far-end accesses is provided according to another embodiment of the present invention.
Fig. 4 is the flow chart that the method that far-end accesses is provided according to another embodiment of the present invention.
Reference numeral:
120: communicator
122: Transmit-Receive Unit
124: processing unit
130: storage element
140: the far-end electronic installation
S210~S260, S310~S320, S410~S420: process step
Embodiment
Figure 1A and Figure 1B are the functional-block diagrams according to the communicator of one embodiment of the invention.Storage element 130 is coupled tocommunicator 120, and storage element 130 can be that (Universal Serial Bus, USB) dish or memory card etc. have the device of storage area with oneself, are not limited to above-mentioned for hard disk, CD, floppy disk, USB.Andcommunicator 120 comprises Transmit-Receive Unit 122 and processing unit 124.Wherein, Transmit-ReceiveUnit 122 has general networking interface card function, can transmit and receive network packet.Processing unit 124 is coupled to Transmit-Receive Unit 122; Processing unit 124 can be a System on Chip/SoC; Have the function that reads storage element 130, and processing unit 124 can need not open under the situation of computer operation system, letcommunicator 120 and storage element 130 carry out information communication.Hold above-mentioned, 120 of communicators hardware or firmware in devices for having Transmit-ReceiveUnit 122 and processing unit 124 both functions.
In addition, far-end electronic installation 140 for example is that (Personal Digital Assistant, PDA) or electronic apparatus such as flat computer, but the present invention is not limited thereto for mobile phone, intelligent mobile phone, personal digital assistant.In other embodiments, far-end electronic installation 140 also can be desktop computer, notebook computer and mainframe etc. all has the electronic installation of central processing unit function.Communicator 120 all has network interface with far-end electronic installation 140; This network interface can be wired network interface and/or radio network interface;Communicator 120 can have an IP address; When far-end electronic installation 140 is desired to obtain the file data of storage element 130, can connect the IP address of representingcommunicator 120,communicator 120 is then done information communication with network interface with far-end electronic installation 140.
Fig. 2 is the flow chart that the method that far-end accesses is provided according to one embodiment of the invention, please be simultaneously with reference to Figure 1A, Figure 1B and Fig. 2.The far-end that the Transmit-Receive Unit 122 reception far-end electronic installations 140 ofcommunicator 120 are transmitted accesses requirement (step S210); Wherein, this far-end electronic installation 140 goes up the IP address of representingcommunicator 120 when connecting; And the transmission far-end accesses when requiring tocommunicator 120; The authentication mechanism that need are provided throughcommunicator 120; This authentication mechanism comprises that the account confirms and/or password confirming, or other verification modes that can guarantee network security, and in order to confirm this far-end electronic installation 140 whether the authority that accesses storage element 130 file datas is arranged.Then; Processing unit 124 accesses requirement according to far-end, utilizes the file in the storage element 130, sets up the file index (step S220) corresponding to storage element 130 file; Wherein this file index comprises file name and file path; Transmit-Receive Unit 122 transmits file index to far-end electronic installation 140 (step S230), and this file index is passed the form of far-end electronic installation 140 back, can be chart format or webpage format.
Then; Transmit-ReceiveUnit 122 receives the file selection requirement (step S240) that far-end electronic installation 140 is transmitted; 124 of processing units are selected requirement according to file; Obtain the corresponding document (step S250) of selecting requirement corresponding to file from storage element 130, and utilize Transmit-Receive Unit 122 to transmit corresponding document to far-end electronic installations 140 (step S260).
Fig. 3 is the flow chart that the method that far-end accesses is provided according to another embodiment of the present invention, please be simultaneously with reference to Figure 1A, Figure 1B and Fig. 3.Transmit-ReceiveUnit 122 receives the newly-increased file (step S310) that far-end electronic installation 140 is transmitted, and processing unit 124 stores newly-increased file in storage element 130 (step S320).In other words,communicator 120 not only provides the far-end of 140 pairs of storage elements 130 of far-end electronic installation to access, and also can accept far-end electronic installation 140 and will increase file newly and write storage element 130 throughcommunicator 120.
Fig. 4 is the flow chart that the method that far-end accesses is provided according to another embodiment of the present invention, please be simultaneously with reference to Figure 1A, Figure 1B and Fig. 4.Transmit-ReceiveUnit 122 receives the download instruction (step S410) that far-end electronic installation 140 is transmitted; Processing unit 124 is according to download instruction; The automatic network communal space is downloaded shared file to storage element 130 and is stored (step S420); Wherein the network communal space can be the general networking hard disk or generally can supply webserver of shared file or the like, is not limited to above-mentioned.
Because communicator provided by the present invention does not need computer system power-on promptly can use; Therefore, communicator not only can be embedded or be external in desktop computer or the notebook computer with storage element, also can not be connected with computer; And directly be coupled to storage element arbitrarily; The electric power resource of this communicator trace only need be provided, can make the far-end electronic installation carry out information communication, use very extensively through this communicator and storage element.
In sum; The present invention provides a kind of method and communicator thereof that provides far-end to access; This communicator provides the far-end electronic installation can directly access the file data of the storage element of local side computer, and does not need the computer of local side to keep system boot for a long time.That is to say that the user only need provide the power source of communicator trace, keeps the communication between communicator and far-end electronic installation and communicator and the storage element; Even user's person is in the other places; Mobile device (that is far-end electronic installation) on hand also capable of using is connected to communicator through world-wide web, can access the file data in the local side computer storage unit; In such communication process, the local side computer does not need start.And method that this far-end accesses and communicator thereof keep a large amount of electric power of operating system unlatching to expend owing to reduced the local side computer for a long time, therefore can reach energy-saving effect.
And on the subject under discussion of Right of Privacy Protection, because the method that this far-end accesses, the local side computer need not start, and can avoid by this has other people to use the data of local side computer stored equipment when the local side computer keeps open state at any time.In addition, because the method that this far-end accesses also has authentication mechanism, the user can confirm to access authority through confirming the mode of account password.Avoid other people also to access the file data on the local side storage element from far-end.
Though the present invention discloses as above with embodiment, so it is not in order to limiting the present invention, any under those of ordinary skill in the technical field, when can doing a little change and retouching, and do not break away from the spirit and scope of the present invention.