By wide area network and network hard disc device mutual method and network hard disc device
Technical field
The present invention relates to the data interactive method based on the internet, particularly relate to the Internet in the network hard disc device realize the method for data interaction.
Background technology
Along with the internet application popularization, and the widespread adoption of PC and mobile network appliance, in order to satisfy the user effectively with the demand of storing and extracting of personal information whenever and wherever possible, be that the network storage device of representative arises at the historic moment with the network hard disc product.But prior art only can be implemented in the local area network (LAN) scope and the network storage device data interaction, for example, accesses network hard disk unit in the local area network (LAN) of in family or working environment, setting up, only among a small circle, set up " privately owned cloud storage " space in the limited region, the user can not be subjected to the accesses network hard disk unit of region restriction, still can not satisfy the demand that the user stored and extracted private data whenever and wherever possible fully.
Prior art generally adopts two kinds of modes of using network to share personal data.A kind of is to concentrate the cloud storage mode.This is the most general data center's mode.At storage platform provider end, set up the data center of a centralized management, each user's information all is that centralized stores is in stores service merchant's server.The advantage of this concentrated cloud storage mode is simple in structure, but its shortcoming is, increase along with number of users, costs such as the bandwidth of service provider and server capacity can promote significantly, service provider is in order to reduce cost, access rate and memory capacity that will limited subscriber cause the user to upload or during down-transmitting data, speed is very slow; In addition, because the user has been saved in private data in service provider's server, the personal user has very strong distrust to this mode, very concern of data is leaked, in the application of this mode, the user only can upload some ephemeral datas or low capacity data usually, and therefore this concentrated cloud storage mode is doomed to promote on a large scale at general personal user and is come.Another kind is the aforementioned local area network (LAN) access mode of mentioning.The principle of this mode is exactly in the family of individual subscriber, set up a LAN-sharing mode, in the router during the user can get home a network hard disc connection, each LAN terminal equipment at home can be by router access to this network hard disc.The advantage of this mode is that speed is very fast, and enough fail safes are arranged, because just conduct interviews in local area network (LAN), can not enter wide area Internet, so just effectively guaranteeing data security property and transmission speed; Shortcoming is owing to can only carry out the data storage in family lan, seriously to have limited the convenience of this mode.The user is conceivable to be whenever and wherever possible to the visit of data in the network hard disc with obtain, for example just can visit the network hard disc device of oneself anywhere behind the access network by various mobile communication equipments with network connecting function, the network terminal etc., so just realize the network hard disc device as real personal data center, and this mode still can't realize in prior art.
Summary of the invention
The technical problem to be solved in the present invention is to avoid the deficiencies in the prior art part and proposes a kind ofly can use NTU the network hard disc device to be carried out the method for data access whenever and wherever possible in wide area Internet, can thoroughly solve the drawback that prior art network hard disc device can only be used for data interaction in the local area network (LAN), lay a good foundation for the user sets up own real private cloud storage center.
The present invention solve the technical problem can be by realizing by the following technical solutions:
Implement a kind of method by wide area Internet and the data interaction of network hard disc device, the wide area Internet that hard disk unit Network Based, server and NTU constitute.Described network hard disc device comprises CPU module, network connecting module and the data memory module of mutual electrical connection.Described method comprises the steps:
A. the network hard disc device is set up network service with server and is connected, and described network hard disc device reports the link information data of self to server;
C. NTU is set up network service with server and is connected, and NTU sends with the network hard disc device to server and sets up the network service connection requests;
D. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, and make NTU set up network service with the network hard disc device according to the link information data of this network hard disc device to be connected, thereby the communicating network terminating device by wide area Internet from the network hard disc device for reading data and/or to network hard disc device storage data.
Particularly, described steps A comprises step by step following,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
The described NTU of step C sends to server and sets up the network service connection requests with the network hard disc device and comprise steps A 1 described visit information data so.
Described visit information data comprise username and password.
A kind of scheme of finishing registration process is, when the network hard disc device dispatched from the factory, for every network hard disc device arranges unique EIC equipment identification code separately, so, described A2 step by step also comprised step by step following,
A211. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data comprises the device identification number of this network hard disc device;
Described A3 step by step also comprises step by step following,
A311. described visit information data of server record;
A312. the device identification number of the device identification number of the described network hard disc device of server authentication, and record by verifying;
A313. server will be step by step the described device identification number by checking of A312 return to the network hard disc device as the registration information data through confirming;
A314. described network hard disc device is stored in described device identification number by checking in the data memory module of self.
The scheme that another kind is finished registration process is, described A2 step by step also comprises step by step following,
A221. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is the registration information of sending to server;
Described A3 step by step also comprises step by step following,
A321. described visit information data of server record;
A322. the described registration information of server authentication generates the device identifier that described network hard disc device is given in a unique configuration;
A323. server will be step by step the described device identifier of A322 return to the network hard disc device as the registration information data through confirming;
A324. described network hard disc device is stored in described device identifier in the data memory module of self.
Also have a kind of scheme of finishing registration process to be, described A2 step by step also comprises step by step following,
A231. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is the registration information of sending to server, and the information of dispatching from the factory of described network hard disc device self;
Described A3 step by step also comprises step by step following,
A331. described visit information data of server record;
The information of dispatching from the factory of the A332. described registration information of server authentication, and this network hard disc device self, and then generate a unique device generation identifier;
A333. server will be step by step the described device of A322 generate identifier and return to the network hard disc device as the registration information data through confirming;
A334. described network hard disc device is stored in described device generation identifier in the data memory module of self.
In order to ensure the real-time of link information data, also comprise the steps between described steps A and the step C,
B. the network hard disc device sends heartbeat data packets to server termly or aperiodically, and described heartbeat data comprises the real-time link information data of this network hard disc device; Server upgrades the link information data of this network hard disc device according to this heartbeat data packets.
Described step B can be in conjunction with above-mentioned concrete scheme, and described steps A comprises step by step following,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
So, comprise the described link information data of real-time A4 step by step in the described heartbeat data packets of step B at least;
The described NTU of step C sends to server and sets up the network service connection requests with the network hard disc device and comprise steps A 1 described visit information data.
In addition, can also reflect the connection status of network hard disc device by heartbeat data packets, described step B comprises step by step following,
B1. the network hard disc device sends heartbeat data packets to server termly or aperiodically;
If B2. server is not received the heartbeat data packets that the network hard disc device sends in the period that arranges, this network hard disc device of server record is off-line state;
If B3. server is received the heartbeat data packets that the network hard disc device sends in the period that arranges, this network hard disc device of server record is presence, and server upgrades the link information data of described network hard disc device according to described heartbeat data packets.
Step C specifically can also comprise step by step following,
C1. for NTU the network hard disc access software is installed;
C2. send with the network hard disc device to server by described network hard disc access software and set up the network service connection requests.
The concrete of described step C step by step can be in conjunction with the concrete scheme of abovementioned steps A, and described steps A comprises step by step following,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
Described the sending to server by described network hard disc access software of C2 set up the network service connection requests with the network hard disc device and comprised the described visit information data of A1 step by step so step by step.
Can set up indirect network connection between network hard disc device and the NTU, described step D comprises step by step following,
D11. the server request of sending at step C according to NTU finds out the link information data of network hard disc device;
D12. when NTU was stored data to the network hard disc device, the data that NTU will be stored sent to server; Server is according to the described link information data of step D11, the described data that will store are sent to the network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D13. when NTU need be from the network hard disc device for reading data, the goal description that NTU will read data sent to server; Server sends to the network hard disc device with the described goal description that will read data, the data that the network hard disc device will read are sent to server, the data that server will read again are sent to NTU, thereby NTU is finished from the network hard disc device for reading data.
Can also set up direct network connection between network hard disc device and the NTU, described step D comprises step by step following,
D21. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, can directly set up network connection thereby make between network hard disc device and the NTU;
D22. when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the data that will store are sent to the network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D23. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, send the goal description that will read data to the network hard disc device, the network hard disc device is according to the described goal description that will read data, the data that will read are sent to NTU from the data memory module of self, thereby NTU is finished from the network hard disc device for reading data.
Particularly, described step step by step D21 comprise can also be for step by step following,
D211. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, and generates provisional communication authentication coding;
D212. server sends to the network hard disc device with described provisional communication authentication coding, and the address information data in the link information data of this provisional communication authentication coding and described network hard disc device are sent to network-termination device;
When D213. each NTU was directly set up network connection with the network hard disc device, NTU was with the address information data addressing of network hard disc device, and relied on the described provisional communication authentication accesses network hard disk unit of encoding; Have only the network hard disc device check provisional communication authentication coding correct after, just foundation is connected with the straight-forward network of described NTU.
In addition, the data interaction between network hard disc device and the NTU can also adopt part to be transmitted by the server relaying, the interactive form that part is is directly received and dispatched by the network hard disc device, so,
Described step D comprises step by step following,
D31. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, can directly set up network connection thereby make between network hard disc device and the NTU;
D32. when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the goal description of the data that will store directly is sent to the network hard disc device, and the described data that will store are sent to server, server is transmitted to the network hard disc device with these data that will store, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D33. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, to read the goal description of data to the direct transmission of network hard disc device, the network hard disc device is according to the described goal description that will read data, the data that will read are sent to server from the data memory module of self, the data that server will read are transmitted to NTU, thereby NTU is finished from the network hard disc device for reading data.
Perhaps, described step D comprises step by step following,
D41. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, can directly set up network connection thereby make between network hard disc device and the NTU;
D42. when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the goal description of the data that will store is sent to server, by server the goal description of the described data that will store is transmitted to the network hard disc device, the data that NTU will be stored to the direct transmission of network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D43. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, send the goal description that will read data to server, server is transmitted to the network hard disc device with the described goal description that will read data, the network hard disc device is according to the described goal description that will read data, the data that will read directly are sent to NTU from the data memory module of self, thereby NTU is finished from the network hard disc device for reading data.
The present invention solve the technical problem can also be by realizing by the following technical solutions:
Design, make a kind of network hard disc device of realizing said method, comprise CPU module, network connecting module and the data memory module of mutual electrical connection.Described CPU module is used for control and coordinates described network connecting module and data memory module.Described network connecting module is used for setting up wired or wireless network connects, and transmits data in wide area Internet.Described data memory module is used for finishing the data storage.
Particularly, described data memory module comprises for the data sub module stored that realizes the data storage and is used for setting up the direct-connected interface sub-module of non-network with External memory equipment.Described data sub module stored is electrically connected with interface sub-module.
More specifically, described data sub module stored comprises the magnetic hard disk memory cell, flash memory Flash unit, read-only memory Read Only Memory unit, and card data memory cell.Described External memory equipment is the data storage device that is independent of described network hard disc device.
In addition, described NTU comprises the mobile communication terminal with network connecting function, computer, panel computer, and palmtop PC.
Compare with prior art, the present invention's's " by wide area network and network hard disc device mutual method and network hard disc device " technique effect is:
The present invention has realized NTU accesses network hard disk unit in wide area Internet by server, the user is accessing network hard disc device whenever and wherever possible, set up real private data cloud memory space, satisfied the demand of user to the private data storage fully, the present invention has simultaneously also guaranteed the reliability and stability of data interaction.
Description of drawings
Fig. 1 is the schematic network structure of the present invention's " by wide area network and network hard disc device mutual method and network hard disc device " preferred embodiment;
Fig. 2 is that the hardware of the network hard disc device 1 of described preferred embodiment connects schematic block diagram;
Fig. 3 be described preferred embodiment in setting up the network connection process, respectively install worker thread first half schematic diagram;
Fig. 4 be described preferred embodiment in setting up the network connection process, respectively install worker thread latter half schematic diagram.
Embodiment
Be described in further detail below in conjunction with preferred embodiment shown in the accompanying drawing.
The present invention proposes a kind of method by wide area Internet and the data interaction of network hard disc device, as shown in Figure 1, the present invention based on wide area Internet comprise at least one network hard disc device 1 at least, at least one NTU 2 and a server 3, described network hard disc device 1 is set up network service by wide area Internet environment 4 and server respectively with NTU 2 and is connected.Described wide area Internet environment 4 is wide area Internet network hardware JA(junction ambient) except said apparatus, comprise that the wireless network connection is connected with cable network, wide area Internet environment 4 has the common network hardwares such as routing device, other server apparatus, client device, thereby be embodied in the complicated wide area Internet environment, network hard disc device 1, NTU 2 and server 3 are to realize basic hardware device of the present invention.
As shown in Figure 2, the CPU module 11, network connecting module 12 and the data memory module 13 that comprise mutual electrical connection for the network hard disc device 1 of realizing the method for the invention.Described CPU module 11 is used for control and coordinates described network connecting module 12 and data memory module 13.Described network connecting module 12 is used for setting up wired or wireless network connects, and transmits data in wide area Internet; Described data memory module 13 is used for finishing the data storage.Described network hard disc device 1 can insert in the wide area Internet network by the routing device that network connecting module 12 connects in the wide area Internet environment 4.Described network hard disc device 1 can also be provided for directly connecting the routing unit of wide area Internet network, realizes directly inserting the wide area Internet network.
The preferred embodiment of the present invention, as shown in Figure 2, described data memory module 13 comprises for the data sub module stored 131 that realizes the data storage and is used for setting up the direct-connected interface sub-module 132 of non-network with External memory equipment.Described data sub module stored is electrically connected with interface sub-module.
Particularly, described data sub module stored 131 comprises the magnetic hard disk memory cell, flash memory Flash unit, read-only memory Read Only Memory unit, and card data memory cell.Described External memory equipment is the data storage device that is independent of described network hard disc device.
In addition, described NTU 2 comprises the mobile communication terminal with network connecting function, computer, panel computer, and palmtop PC, namely NTU 2 is any can accesses in the wide area Internet network, and visits the terminal installation of any equipment in this wide area Internet network.
Described method by wide area Internet and the data interaction of network hard disc device comprises the steps:
A. the network hard disc device is set up network service with server and is connected, and described network hard disc device reports the link information data of self to server;
C. NTU is set up network service with server and is connected, and NTU sends with the network hard disc device to server and sets up the network service connection requests;
D. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, and make NTU set up network service with the network hard disc device according to the link information data of this network hard disc device to be connected, thereby the communicating network terminating device by wide area Internet from the network hard disc device for reading data and/or to network hard disc device storage data.
Described link information data comprise with the network hard disc device sets up the necessary data that network service is connected, for example address information data of connection protocol, method of attachment, network hard disc device etc.Set up necessary data that network service is connected by described and network hard disc device and just can the communicating network terminating device can set up directly or indirectly that network service is connected with this network hard disc device.
The present invention considers validity, stability and the fail safe that network service connects, above-mentioned steps A is embodied as step by step following,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request; As mentioned below, NTU need provide the visit information data when setting up the network service connection requests to the server proposition with the network hard disc device at first, and server is by the network hard disc device of visit information data search correspondence;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server; Described registration process is used for and will sets up corresponding relation between the visit information data of network hard disc device and unique embodiment network hard disc device identifying information data.To be exactly that hereinafter A4 is described step by step be stored in registration information data in the network hard disc, that confirm through server to described unique embodiment network hard disc device identifying information data;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
Based on above-mentioned A1 to A4 step by step, the described NTU of above-mentioned steps C sends to server and sets up the network service connection requests with the network hard disc device and comprise steps A 1 described visit information data so.
The preferred embodiment of the present invention, thread 901 and thread 909 as shown in Figure 3, described visit information data comprise username and password.
The preferred embodiment of the present invention, as shown in Figure 3, step by step A2 to A3 can be specially step by step following,
A221. thread 902 as shown in Figure 3, the network hard disc device sends the visit information data that registration information data and steps A 1 arrange to server; Described registration information data is the registration information of sending to server;
Described A3 step by step also comprises step by step following,
A321. thread 903 as shown in Figure 3, the described visit information data of server record;
A322. thread 904 as shown in Figure 3, the described registration information of server authentication generates the device identifier that described network hard disc device is given in a unique configuration;
A323. thread 905 as shown in Figure 3, the server described device identifier of A322 step by step returns to the network hard disc device as the registration information data through confirming;
A324. thread 906 as shown in Figure 3, described network hard disc device is stored in described device identifier in the data memory module of self.
A kind of scheme that can replace above-mentioned A221 to A324 step by step is, when the network hard disc device dispatched from the factory, for every network hard disc device arranges unique EIC equipment identification code separately, so, described A2 step by step also comprised step by step following,
A211. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data comprises the device identification number of this network hard disc device;
Described A3 step by step also comprises step by step following,
A311. described visit information data of server record;
A312. the device identification number of the device identification number of the described network hard disc device of server authentication, and record by verifying;
A313. server will be step by step the described device identification number by checking of A312 return to the network hard disc device as the registration information data through confirming;
A314. described network hard disc device is stored in described device identification number by checking in the data memory module of self.
Above-mentioned A221 to A324 step by step can also be replaced by following scheme, and described A2 step by step also comprises step by step following,
A231. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is the registration information of sending to server, and the information of dispatching from the factory of described network hard disc device self;
Described A3 step by step also comprises step by step following,
A331. described visit information data of server record;
The information of dispatching from the factory of the A332. described registration information of server authentication, and this network hard disc device self, and then generate a unique device generation identifier;
A333. server will be step by step the described device of A322 generate identifier and return to the network hard disc device as the registration information data through confirming;
A334. described network hard disc device is stored in described device generation identifier in the data memory module of self.
In order to ensure the real-time of link information data, also comprise the steps between above-mentioned steps A of the present invention and the step C,
B. the network hard disc device sends heartbeat data packets to server termly or aperiodically, and described heartbeat data comprises the real-time link information data of this network hard disc device; Server upgrades the link information data of this network hard disc device according to this heartbeat data packets.
The preferred embodiment of the present invention can also reflect the connection status of network hard disc device by heartbeat data packets, and as shown in Figure 3, described step B comprises step by step following,
B1. thread 907 as shown in Figure 3, the network hard disc device sends heartbeat data packets to server termly or aperiodically; The easiest realization of described regular transmission heartbeat data packets can send heartbeat data packets to server by fixed interval section of network hard disc device definition; Also can define a fixed interval section by server, set up at network hard disc device and server and send to the network hard disc device when network service is connected; Described irregular transmission heartbeat data packets, can in each heartbeat data packets that sends, add the time that sends heartbeat data packets next time, server will record the time that next heartbeat data packets sends after receiving heartbeat data packets, thereby guarantees server can detect whether receive heartbeat data packets in correct time; Also can be by add the instruction that sends the heartbeat data packets time next time in the return data of server after receiving heartbeat data packets at every turn, the network hard disc device sends heartbeat data packets according to the time of this instruction appointment, can guarantee so also server can detect whether receive heartbeat data packets in correct time;
If B2. server is not received the heartbeat data packets that the network hard disc device sends in the period that arranges, this network hard disc device of server record is off-line state;
B3. thread 908 as shown in Figure 3, if server is received the heartbeat data packets that the network hard disc device sends in the period that arranges, this network hard disc device of server record is presence, and server upgrades the link information data of described network hard disc device according to described heartbeat data packets.
Described step B can be incorporated in the concrete scheme of above-mentioned A1 to A4 step by step, that is,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
So, comprise the described link information data of real-time A4 step by step in the described heartbeat data packets of step B at least;
The described NTU of step C sends to server and sets up the network service connection requests with the network hard disc device and comprise steps A 1 described visit information data.
Step C of the present invention specifically can also comprise step by step following,
C1. for NTU the network hard disc access software is installed;
C2. send with the network hard disc device to server by described network hard disc access software and set up the network service connection requests, be i.e. preferred embodiment of the present invention thread 909 as shown in Figure 3.
Described C1 to C2 step by step can be incorporated in the concrete scheme of above-mentioned A1 to A4 step by step, that is,
A1. when using the network hard disc device first, the visit information data are set, these visit information data are authentication informations that NTU need provide when initiation and this network hard disc device are set up network connecting request;
A2. the network hard disc device sends the visit information data of registration information data and steps A 1 setting to server; Described registration information data is used for finishing the network hard disc device to the registration process of server;
A3. described visit information data of server record, and handle described registration information data, and the registration information data through confirming returned to the network hard disc device, the network hard disc device is stored in the described registration information data of confirming through server in the data memory module of self;
When A4. each described network hard disc device and server are set up network connection, this network hard disc device is sent to server with the link information data, described link information data comprise the visit information data of this network hard disc device, be stored in registration information data in the data memory module, that confirm through server, and the address information data of described network hard disc device;
Described the sending to server by described network hard disc access software of C2 set up the network service connection requests with the network hard disc device and comprised the described visit information data of A1 step by step so step by step.
Can also set up direct network connection between network hard disc device and the NTU, described step D comprises step by step following,
D21. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, directly set up network connection between network hard disc device and the NTU thereby make;
D22. thread 917 as shown in Figure 4, when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the data that will store are sent to the network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data, i.e. thread 917 as shown in Figure 4;
D23. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, send the goal description that will read data to the network hard disc device, the network hard disc device is according to the described goal description that will read data, the data that will read are sent to NTU from the data memory module of self, thereby NTU is finished from the network hard disc device for reading data, i.e. thread 918 as shown in Figure 4.
The preferred embodiment of the present invention, as shown in Figure 3 and Figure 4, described step step by step D21 comprise can also be for step by step following,
D211. thread 910 as shown in Figure 3, the request that server sends at step C according to NTU finds out the link information data of network hard disc device, and thread 911 as shown in Figure 4, and generate provisional communication authentication coding;
D212. thread 912 as shown in Figure 4, server sends to the network hard disc device with described provisional communication authentication coding, thread 913 as shown in Figure 4, and the address information data in the link information data of this provisional communication authentication coding and described network hard disc device are sent to network-termination device;
D213. thread 914 as shown in Figure 4, when each NTU and network hard disc device are directly set up network connection, NTU is with the address information data addressing of network hard disc device, and relies on described provisional communication authentication coding accesses network hard disk unit; Thread 915 is to thread 916 as shown in Figure 4, have only the network hard disc device check provisional communication authentication coding correct after, just foundation is connected with the straight-forward network of described NTU.
In addition, can set up indirect network connection between network hard disc device and the NTU, described step D comprises step by step following,
D11. the server request of sending at step C according to NTU finds out the link information data of network hard disc device;
D12. when NTU was stored data to the network hard disc device, the data that NTU will be stored sent to server; Server is according to the described link information data of step D11, the described data that will store are sent to the network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D13. when NTU need be from the network hard disc device for reading data, the goal description that NTU will read data sent to server; Server sends to the network hard disc device with the described goal description that will read data, the data that the network hard disc device will read are sent to server, the data that server will read again are sent to NTU, thereby NTU is finished from the network hard disc device for reading data.
Data exchange process between aforementioned network hard disk unit and the NTU is a kind of to be mode by all interaction datas of server forwards, the scheme that relates to D13 step by step as D11 step by step, another kind is that all data exchange process are all directly carried out between network hard disc device and NTU, there is not data relay, the scheme that relates to D23 step by step as D21 step by step.The data interaction that below proposes between two kinds of network hard disc devices and the NTU can also adopt part to be transmitted by the server relaying, the data interaction form that part is is directly received and dispatched by the network hard disc device.
A kind of data are transmitted and directly received and dispatched the scheme that combines with data is that described step D is carried out step by step by following,
D31. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, can directly set up network connection thereby make between network hard disc device and the NTU;
D32. when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the goal description of the data that will store directly is sent to the network hard disc device, and the described data that will store are sent to server, server is transmitted to the network hard disc device with these data that will store, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D33. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, to read the goal description of data to the direct transmission of network hard disc device, the network hard disc device is according to the described goal description that will read data, the data that will read are sent to server from the data memory module of self, the data that server will read are transmitted to NTU, thereby NTU is finished from the network hard disc device for reading data.
Another kind of data are transmitted and directly received and dispatched the scheme that combines with data is that described step D is carried out step by step by following,
D41. the server request of sending at step C according to NTU finds out the link information data of network hard disc device, address information data in the link information data of network hard disc device are sent to NTU, can directly set up network connection thereby make between network hard disc device and the NTU;
D42. when NTU need be stored data to the network hard disc device, NTU connects according to address information data and the network hard disc device of network hard disc device, the goal description of the data that will store is sent to server, by server the goal description of the described data that will store is transmitted to the network hard disc device, the data that NTU will be stored to the direct transmission of network hard disc device, the data that will store that the network hard disc device will be received store the data memory module of self into, thereby NTU is finished in network hard disc device storage data;
D43. when NTU need be from the network hard disc device for reading data, NTU connects according to address information data and the network hard disc device of network hard disc device, send the goal description that will read data to server, server is transmitted to the network hard disc device with the described goal description that will read data, the network hard disc device is according to the described goal description that will read data, the data that will read directly are sent to NTU from the data memory module of self, thereby NTU is finished from the network hard disc device for reading data.