By the method that wide area network is mutual with network hard disc device
Technical field
The present invention relates to data interactive method based on internet, the method particularly relating to realize data interaction with the network hard disc device in internet.
Background technology
Along with internet application popularization, and PC and the widespread adoption of mobile network appliance, in order to meet user effectively by the demand storing whenever and wherever possible and extracting of personal information, the network storage device with network hard disc product as representative arises at the historic moment.But prior art be only capable of realization in the range of LAN with network storage device data interaction, such as, network hard disc device is accessed in the LAN set up in family or working environment, only in little scope, built-in vertical " private cloud storage " space, limited region, user can not access network hard disc device without geographical restrictions, still can not fully meet the demand that user stores whenever and wherever possible and extracts private data.
The commonly used two kinds of modes using network to share personal data of prior art.One is to concentrate cloud storage mode.This is the most general data center's mode.At storage platform provider end, setting up the data center of a centralized management, the information of each user is all to be centrally stored in the server of storage service provider.The advantage of this concentration cloud storage mode is simple in construction, but its shortcoming is, increase along with number of users, the costs such as the bandwidth of service provider and server capacity can significantly promote, service provider is in order to reduce cost, will limit access rate and the memory capacity of user, cause user to upload or during down-transmitting data, speed is the slowest;Additionally, owing to private data has been saved in service provider's server by user, personal user has the strongest distrust to this mode, very concern of data is leaked, in the application of this mode, user generally only can upload some ephemeral datas or low capacity data, and the most this concentration cloud storage mode is doomed to promote on a large scale for universal personal user and is come.Another kind is the aforementioned LAN access mode mentioned.The principle of this mode is exactly in the family of individual subscriber, set up a LAN-sharing mode, one network hard disc can be connected in the router in getting home by user, and each LAN terminal device at home can be by router access to this network hard disc.The advantage of this mode is that speed is very fast, has enough securities, because simply conducting interviews in a local network, will not enter wide area Internet, Information Security and transmission speed thus can be effectively ensured;Shortcoming is, owing to can only carry out data storage in family lan, seriously limits the convenience of this mode.User is conceivable is whenever and wherever possible to the access of data in network hard disc and acquisition, such as by various there is the access network anywhere such as the mobile communication equipment of network connecting function, the network terminal after just can access oneself network hard disc device, the most just realize network hard disc device as real personal data center, and what this mode still cannot realize in prior art.
Summary of the invention
In place of the technical problem to be solved in the present invention is to avoid the deficiencies in the prior art, a kind of method that can use NTU that network hard disc device is carried out data access whenever and wherever possible in wide area Internet is proposed, can thoroughly solve prior art network hard disk unit and be only used for the drawback of data interaction in LAN, set up oneself real private cloud storage center for user and lay a good foundation.
The present invention solves described technical problem can be by realizing by the following technical solutions:
Implement a kind of method by wide area Internet Yu network hard disc device data interaction, the wide area Internet constituted based on network hard disc device, server and NTU.Described network hard disc device includes CPU module, network connecting module and the data memory module being electrically connected to each other.Described method comprises the steps:
A. 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 to server and sets up, with network hard disc device, the request that network service is connected;
D. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, and make NTU set up network service with network hard disc device according to the link information data of this network hard disc device to be connected, thus communicating network terminating device stores data by wide area Internet from network hard disc device for reading data and/or to network hard disc device.
Specifically, described step A includes the most step by step,
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
So NTU described in step C sends to server and sets up the request that network service is connected with network hard disc device and include accessing described in step A1 information data.
Described access information data includes username and password.
A kind of scheme completing registration process is, when network hard disc device dispatches from the factory, each to arrange unique EIC equipment identification code for every network hard disc device, then, described A2 step by step also includes the most step by step,
A211. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data includes the device identification number of this network hard disc device;
Described A3 step by step also includes the most step by step,
A311. information data is accessed described in server record;
A312. the device identification number of network hard disc device described in server authentication, and record the device identification number by checking;
A313. server will return to network hard disc device by the device identification number of checking as confirmed registration information data described in A312 step by step;
The described device identification number by checking is stored in the data memory module of self by the most described network hard disc device.
Another kind completes the scheme of registration process, and described A2 step by step also includes the most step by step,
A221. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data is the registration information sent to server;
Described A3 step by step also includes the most step by step,
A321. information data is accessed described in server record;
A322. registration information described in server authentication, generates a device identifier being uniquely allocated to described network hard disc device;
A323. device identifier described in A322 step by step is returned to network hard disc device as confirmed registration information data by server;
Described device identifier is stored in the data memory module of self by the most described network hard disc device.
Also having a kind of scheme completing registration process is that described A2 step by step also includes the most step by step,
A231. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data is the registration information sent to server, and the information of dispatching from the factory of described network hard disc device self;
Described A3 step by step also includes the most step by step,
A331. information data is accessed described in server record;
A332. registration information described in server authentication, and the information of dispatching from the factory of this network hard disc device self, and then generate unique device generation identifier;
A333. device described in A322 step by step is generated identifier and returns to network hard disc device as confirmed registration information data by server;
Described device generation identifier is stored in the data memory module of self by the most described network hard disc device.
In order to ensure the real-time of link information data, also comprise the steps between described step A and step C,
B. network hard disc device sends heartbeat data packets termly or aperiodically to server, and described heartbeat data includes the real time connection information data of this network hard disc device;Server updates 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 step A includes the most step by step,
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
So, heartbeat data packets described in step B at least includes link information data described in real-time A4 step by step;
NTU described in step C sends to server to be set up the request that network service is connected and includes accessing described in step A1 information data with network hard disc device.
Furthermore it is also possible to by the connection status of heartbeat data packets reflection network hard disc device, described step B includes the most step by step,
B1. network hard disc device sends heartbeat data packets termly or aperiodically to server;
If B2. server does not receive, within the period arranged, the heartbeat data packets that network hard disc device sends, this network hard disc device of server record is off-line state;
If B3. server receives, within the period arranged, the heartbeat data packets that network hard disc device sends, this network hard disc device of server record is presence, and server updates the link information data of described network hard disc device according to described heartbeat data packets.
Step C specifically can also include the most step by step,
C1. for NTU, network hard disc access software is installed;
C2. send to server by described network hard disc access software and set up, with network hard disc device, the request that network service is connected.
The concrete of described step C step by step can be in conjunction with the concrete scheme of abovementioned steps A, and described step A includes the most step by step,
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
Send to server by described network hard disc access software described in C2 the most step by step and set up the request that network service is connected with network hard disc device and include accessing information data described in A1 step by step.
Can set up indirectly network between network hard disc device and NTU to be connected, described step D includes the most step by step,
D11. server finds out the link information data of network hard disc device according to NTU in the request that step C sends;
D12., when NTU is to network hard disc device storage data, the data that NTU will store are sent to server;Server is according to link information data described in step D11, described data to be stored are sent to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D13., when NTU needs from network hard disc device for reading data, NTU will read the goal description of data and be sent to server;The goal description of described data to be read is sent to network hard disc device by server, the data that network hard disc device will read send to server, the data that server will read again send to NTU, thus NTU completes from network hard disc device for reading data.
Can also set up direct network between network hard disc device and NTU to be connected, described step D includes the most step by step,
D21. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and can directly set up network between network hard disc device and NTU and be connected;
D22. when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the data that will store send to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D23. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is sent to network hard disc device, network hard disc device is according to the goal description of described data to be read, the data that will read send to NTU from the data memory module of self, thus NTU completes from network hard disc device for reading data.
Specifically, described step D21 step by step includes can also being the most step by step,
D211. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, and generates provisional communication certification coding;
D212. described provisional communication certification coding is sent to network hard disc device by server, and the address information data in the link information data of this provisional communication certification coding and described network hard disc device is sent to network-termination device;
D213. every time NTU directly sets up network when being connected with network hard disc device, and the NTU address information data of network hard disc device addresses, and encodes access network hard disc device by described provisional communication certification;After only network hard disc device verification provisional communication certification coding is correct, just sets up and be connected with the straight-forward network of described NTU.
It addition, the data interaction between network hard disc device and NTU can also use part to be forwarded by Server Relay, the interactive form that part is directly received and dispatched by network hard disc device, then,
Described step D includes the most step by step,
D31. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and can directly set up network between network hard disc device and NTU and be connected;
D32. when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of the data that will store is sent directly to network hard disc device, and described data to be stored are sent to server, the data that this is to be stored are transmitted to network hard disc device by server, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D33. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is directly transmitted to network hard disc device, network hard disc device is according to the goal description of described data to be read, the data that will read send to server from the data memory module of self, the data that server will read are transmitted to NTU, thus NTU completes from network hard disc device for reading data.
Or, described step D includes the most step by step,
D41. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and can directly set up network between network hard disc device and NTU and be connected;
D42. when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of the data that will store sends to server, by server, the goal description of described data to be stored is transmitted to network hard disc device, NTU directly transmits data to be stored to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D43. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is sent to server, the goal description of described data to be read is transmitted to network hard disc device by server, network hard disc device is according to the goal description of described data to be read, the data that will read are sent directly to NTU from the data memory module of self, thus NTU completes from network hard disc device for reading data.
The present invention solves described technical problem can also be by realizing by the following technical solutions:
Design, manufacture a kind of network hard disc device realizing said method, including the CPU module being electrically connected to each other, network connecting module and data memory module.Described CPU module is used for controlling and coordinate described network connecting module and data memory module.Described network connecting module is used for setting up wired or wireless network connection, and transmits data in wide area Internet.Described data memory module has been used for data storage.
Specifically, described data memory module includes the data sub module stored for realizing data storage and for setting up, with External memory equipment, the interface sub-module that non-network is directly connected to.Described data sub module stored electrically connects with interface sub-module.
More specifically, described data sub module stored includes magnetic hard disk memory cell, flash memory Flash unit, read-only storage Read Only Memory unit, and card data memory cell.Described External memory equipment is independently of the data storage device of described network hard disc device.
It addition, described NTU includes the mobile communication terminal with network connecting function, computer, panel computer, and palm PC.
The most relatively, the having the technical effect that of the present invention " method mutual with network hard disc device by wide area network and network hard disc device "
The present invention achieves NTU by server and accesses network hard disc device in wide area Internet, user can access network hard disc device whenever and wherever possible, establish real private data cloud storage space, it is adequately met the demand that private data is stored by user, present invention also ensures the reliability and stability of data interaction simultaneously.
Accompanying drawing explanation
Fig. 1 is the schematic network structure of the present invention " method mutual with network hard disc device by wide area network 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 is each device worker thread first half schematic diagram in setting up network connection procedure of described preferred embodiment;
Fig. 4 is each device worker thread latter half schematic diagram in setting up network connection procedure of described preferred embodiment.
Detailed description of the invention
It is described in further detail below in conjunction with preferred embodiment shown in accompanying drawing.
The present invention proposes a kind of method by wide area Internet Yu network hard disc device data interaction, as shown in Figure 1, the wide area Internet that the present invention is based at least includes at least one network hard disc device 1, at least one NTU 2 and a server 3, described network hard disc device 1 and NTU 2 are set up network service by wide area Internet environment 4 with server respectively and are connected.Described wide area Internet environment 4 is wide area Internet network hardware JA(junction ambient) in addition to said apparatus, connect including wireless network and cable network connects, wide area Internet environment 4 has the network hardware that routing device, other server apparatus, client device etc. are common, thus be embodied in the wide area Internet environment of complexity, network hard disc device 1, NTU 2 and server 3 are the basic hardware devices realizing the present invention.
As in figure 2 it is shown, for realizing CPU module 11, network connecting module 12 and the data memory module 13 that the network hard disc device 1 of the method for the invention includes being electrically connected to each other.Described CPU module 11 is used for controlling and coordinate described network connecting module 12 and data memory module 13.Described network connecting module 12 is used for setting up wired or wireless network connection, and transmits data in wide area Internet;Described data memory module 13 has been used for data storage.Described network hard disc device 1 can connect the routing device in wide area Internet environment 4 by network connecting module 12 and access in wide area Internet network.Described network hard disc device 1 may be provided for being directly connected to the routing unit of wide area Internet network, it is achieved is directly accessed wide area Internet network.
The preferred embodiment of the present invention, as in figure 2 it is shown, described data memory module 13 includes the data sub module stored 131 for realizing data storage and for setting up, with External memory equipment, the interface sub-module 132 that non-network is directly connected to.Described data sub module stored electrically connects with interface sub-module.
Specifically, described data sub module stored 131 includes magnetic hard disk memory cell, flash memory Flash unit, read-only storage Read Only Memory unit, and card data memory cell.Described External memory equipment is independently of the data storage device of described network hard disc device.
It addition, described NTU 2 includes the mobile communication terminal with network connecting function, computer, panel computer, and palm PC, i.e. NTU 2 are any can accesses in wide area Internet network, and access the terminal installation of any equipment in this wide area Internet network.
The described method by wide area Internet with network hard disc device data interaction comprises the steps:
A. 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 to server and sets up, with network hard disc device, the request that network service is connected;
D. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, and make NTU set up network service with network hard disc device according to the link information data of this network hard disc device to be connected, thus communicating network terminating device stores data by wide area Internet from network hard disc device for reading data and/or to network hard disc device.
Described link information data include setting up the necessary data that network service is connected, such as connection protocol, method of attachment, the address information data etc. of network hard disc device with network hard disc device.Set up necessary data that network service is connected with network hard disc device just can set up directly or indirectly network service with this network hard disc device and be connected by communicating network terminating device by described.
The present invention considers validity, stability and the security that network service connects, and above-mentioned steps A is embodied as the most step by step,
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;As mentioned below, NTU is when initially proposing to set up, with network hard disc device, the request that network service is connected to server, it is desirable to provide access information data, and server searches corresponding network hard disc device by accessing information data;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;Described registration process is for setting up corresponding relation by the access information data of network hard disc device and unique embodiment between network hard disc device identification information data.Described unique embodiment network hard disc device identification information data is exactly to be stored in registration information data in network hard disc, that confirm through server the most step by step described in A4;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
Based on above-mentioned A1 to A4 step by step, then NTU described in above-mentioned steps C sends to server to be set up the request that network service is connected and include accessing described in step A1 information data with network hard disc device.
The preferred embodiment of the present invention, as shown in Figure 3 thread 901 and thread 909, described access information data includes username and password.
The preferred embodiment of the present invention, as it is shown on figure 3, A2 to A3 can be specially the most step by step,
Thread 902 the most as shown in Figure 3, network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data is the registration information sent to server;
Described A3 step by step also includes the most step by step,
Thread 903 the most as shown in Figure 3, access information data described in server record;
Thread 904 the most as shown in Figure 3, registration information described in server authentication, generate a device identifier being uniquely allocated to described network hard disc device;
Thread 905 the most as shown in Figure 3, device identifier described in A322 step by step is returned to network hard disc device as confirmed registration information data by server;
Thread 906 the most as shown in Figure 3, described device identifier is stored in the data memory module of self by described network hard disc device.
A kind of scheme that can replace above-mentioned A221 to A324 step by step is, when network hard disc device dispatches from the factory, each to arrange unique EIC equipment identification code for every network hard disc device, then, described A2 step by step also includes the most step by step,
A211. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data includes the device identification number of this network hard disc device;
Described A3 step by step also includes the most step by step,
A311. information data is accessed described in server record;
A312. the device identification number of network hard disc device described in server authentication, and record the device identification number by checking;
A313. server will return to network hard disc device by the device identification number of checking as confirmed registration information data described in A312 step by step;
The described device identification number by checking is stored in the data memory module of self by the most described network hard disc device.
Above-mentioned A221 to A324 step by step can also be replaced by below scheme, and described A2 step by step also includes the most step by step,
A231. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data is the registration information sent to server, and the information of dispatching from the factory of described network hard disc device self;
Described A3 step by step also includes the most step by step,
A331. information data is accessed described in server record;
A332. registration information described in server authentication, and the information of dispatching from the factory of this network hard disc device self, and then generate unique device generation identifier;
A333. device described in A322 step by step is generated identifier and returns to network hard disc device as confirmed registration information data by server;
Described device generation identifier is stored in the data memory module of self by the most described network hard disc device.
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 step C,
B. network hard disc device sends heartbeat data packets termly or aperiodically to server, and described heartbeat data includes the real time connection information data of this network hard disc device;Server updates 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 be by the connection status of heartbeat data packets reflection network hard disc device, as it is shown on figure 3, described step B includes the most step by step,
Thread 907 the most as shown in Figure 3, network hard disc device sends heartbeat data packets termly or aperiodically to server;Described regular transmission heartbeat data packets is easiest to realize, and can be defined a fixed interval section by network hard disc device, sends heartbeat data packets to server;A fixed interval section can also be defined by server, set up with server at network hard disc device and when network service is connected, be sent to network hard disc device;Described irregular transmission heartbeat data packets, can add in the heartbeat data packets every time sent and send the time of heartbeat data packets next time, server will record the time that next time, heartbeat data packets sent after receiving heartbeat data packets, so that it is guaranteed that server can detect whether to receive heartbeat data packets in correct time;The instruction of heartbeat data packets time can also be sent by server return data after receiving heartbeat data packets add next time every time, the time that network hard disc device is specified according to this instruction sends heartbeat data packets, so also ensures that server can detect whether to receive heartbeat data packets in correct time;
If B2. server does not receive, within the period arranged, the heartbeat data packets that network hard disc device sends, this network hard disc device of server record is off-line state;
Thread 908 the most as shown in Figure 3, if server receives, within the period arranged, the heartbeat data packets that network hard disc device sends, this network hard disc device of server record is presence, and server updates 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, i.e.
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
So, heartbeat data packets described in step B at least includes link information data described in real-time A4 step by step;
NTU described in step C sends to server to be set up the request that network service is connected and includes accessing described in step A1 information data with network hard disc device.
Step C of the present invention specifically can also include the most step by step,
C1. for NTU, network hard disc access software is installed;
C2. send to server by described network hard disc access software and set up the request that network service is connected, i.e. preferred embodiment of the present invention thread 909 as shown in Figure 3 with network hard disc device.
Described C1 to C2 step by step can be incorporated in the concrete scheme of above-mentioned A1 to A4 step by step, i.e.
A1. when using network hard disc device first, arranging access information data, this access information data is the authentication information that NTU needs when initiating and setting up network connecting request with this network hard disc device to provide;
A2. network hard disc device sends registration information data and the access information data of step A1 setting to server;Described registration information data has been used for the network hard disc device registration process to server;
A3. information data is accessed described in server record, and process described registration information data, and confirmed registration information data is returned to network hard disc device, the described registration information data confirmed through server is stored in the data memory module of self by network hard disc device;
The most each described network hard disc device sets up network when being connected with server, link information data are sent to server by this network hard disc device, described link information data include the access information data of this network hard disc device, it is stored in registration information data in data memory module, that confirm, and the address information data of described network hard disc device through server;
Send to server by described network hard disc access software described in C2 the most step by step and set up the request that network service is connected with network hard disc device and include accessing information data described in A1 step by step.
Can also set up direct network between network hard disc device and NTU to be connected, described step D includes the most step by step,
D21. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and directly set up network between network hard disc device and NTU and be connected;
Thread 917 the most as shown in Figure 4, when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the data that will store send to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data, the most as shown in Figure 4 thread 917 at network hard disc device;
D23. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is sent to network hard disc device, network hard disc device is according to the goal description of described data to be read, the data that will read send to NTU from the data memory module of self, thus NTU completes from network hard disc device for reading data, thread 918 the most as shown in Figure 4.
The preferred embodiment of the present invention, as shown in Figure 3 and Figure 4, described step D21 step by step includes can also being the most step by step,
Thread 910 the most as shown in Figure 3, server finds out the link information data of network hard disc device, thread 911 as shown in Figure 4, and generates provisional communication certification coding according to NTU in the request that step C sends;
Thread 912 the most as shown in Figure 4, described provisional communication certification coding is sent to network hard disc device by server, thread 913 as shown in Figure 4, and the address information data in the link information data of this provisional communication certification coding and described network hard disc device is sent to network-termination device;
Thread 914 the most as shown in Figure 4, each NTU directly sets up network when being connected with network hard disc device, and the NTU address information data of network hard disc device addresses, and accesses network hard disc device by described provisional communication certification coding;Thread 915 to thread 916 as shown in Figure 4, after only network hard disc device verification provisional communication certification coding is correct, just sets up and is connected with the straight-forward network of described NTU.
Being connected it addition, can set up indirectly network between network hard disc device and NTU, described step D includes the most step by step,
D11. server finds out the link information data of network hard disc device according to NTU in the request that step C sends;
D12., when NTU is to network hard disc device storage data, the data that NTU will store are sent to server;Server is according to link information data described in step D11, described data to be stored are sent to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D13., when NTU needs from network hard disc device for reading data, NTU will read the goal description of data and be sent to server;The goal description of described data to be read is sent to network hard disc device by server, the data that network hard disc device will read send to server, the data that server will read again send to NTU, thus NTU completes from network hard disc device for reading data.
A kind of mode being to be forwarded all interaction datas by server of data exchange process between aforementioned network hard disk unit and NTU, such as the scheme that D11 relates to D13 step by step 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 no data relay, such as the scheme that D21 relates to D23 step by step step by step.Data interaction between two kinds of network hard disc devices set forth below and NTU can also use part to be forwarded by Server Relay, the data interaction form that part is directly received and dispatched by network hard disc device.
A kind of data forward and directly receive and dispatch, with data, the scheme combined is by carrying out step by step as follows by described step D,
D31. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and can directly set up network between network hard disc device and NTU and be connected;
D32. when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of the data that will store is sent directly to network hard disc device, and described data to be stored are sent to server, the data that this is to be stored are transmitted to network hard disc device by server, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D33. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is directly transmitted to network hard disc device, network hard disc device is according to the goal description of described data to be read, the data that will read send to server from the data memory module of self, the data that server will read are transmitted to NTU, thus NTU completes from network hard disc device for reading data.
Another kind of data forward and directly receive and dispatch, with data, the scheme combined is by carrying out step by step as follows by described step D,
D41. server finds out the link information data of network hard disc device according to NTU in the request that step C sends, address information data in the link information data of network hard disc device is sent to NTU, thus makes and can directly set up network between network hard disc device and NTU and be connected;
D42. when NTU needs to network hard disc device storage data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of the data that will store sends to server, by server, the goal description of described data to be stored is transmitted to network hard disc device, NTU directly transmits data to be stored to network hard disc device, the data to be stored received are stored the data memory module of self by network hard disc device, thus NTU completes to store data at network hard disc device;
D43. when NTU needs from network hard disc device for reading data, NTU is connected with the foundation of network hard disc device according to the address information data of network hard disc device, the goal description of data to be read is sent to server, the goal description of described data to be read is transmitted to network hard disc device by server, network hard disc device is according to the goal description of described data to be read, the data that will read are sent directly to NTU from the data memory module of self, thus NTU completes from network hard disc device for reading data.