CN107710695A - A kind of method, corresponding intrument and system for accessing family's NAS device - Google Patents

A kind of method, corresponding intrument and system for accessing family's NAS device Download PDF

Info

Publication number
CN107710695A
CN107710695A CN201680029736.9A CN201680029736A CN107710695A CN 107710695 A CN107710695 A CN 107710695A CN 201680029736 A CN201680029736 A CN 201680029736A CN 107710695 A CN107710695 A CN 107710695A
Authority
CN
China
Prior art keywords
file
home gateway
remote terminal
sent
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201680029736.9A
Other languages
Chinese (zh)
Other versions
CN107710695B (en
Inventor
刁猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107710695A publication Critical patent/CN107710695A/en
Application granted granted Critical
Publication of CN107710695B publication Critical patent/CN107710695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

A kind of method, corresponding intrument and system for accessing family's NAS device, for enabling, remote terminal is reliable to family's NAS device progress in the LAN for the home gateway that the IP address of wan interface is public network address or private net address, is securely accessed by.The method of the access family NAS device comprises the following steps:Remote terminal connects to remotely administered server by second and sends catalogue browsing order;Catalogue browsing order is forwarded to home gateway by remotely administered server by the first connection;Home gateway is sent the file directory of family's NAS device to File Agent server by the 3rd connection according to catalogue browsing order;Remote terminal obtains the file directory of family's NAS device by the 4th connection from File Agent server;Remote terminal shows the file directory of family's NAS device.

Description

A kind of method, corresponding intrument and system accessing family's NAS device Technical field
The present invention relates to field of communication technology, in particular to a kind of method, corresponding intrument and system for accessing home network additional storage NAS device.
Background technique
Home network additional storage (English: network attached storage, NAS) equipment accesses internet (English: Internet) by home gateway (English: residential gateway), and remote terminal (such as: smart phone) file stored in family's NAS device can be remotely accessed by Internet.
Currently, the mode of remote terminal access family's NAS device includes:
Mode 1, remote terminal directly access family NAS by dynamic domain name service (English: dynamic domain name server, DDNS).
Specifically, when the wide area network (English: wide area network of home gateway, WAN) internet protocol address (the English: Internet Protocol Address of interface, IP Address) be public network address when, home gateway is after configuration DDNS server address, domain name and account, remote terminal can access home gateway by the domain name and account, and further access is located at family's NAS device of local area network (English: local area network, LAN) side of the home gateway.
Mode 2, remote terminal passes through network address translation (English: network address translation, NAT) technology and family's NAS device establish peer-to-peer network (English: peer to peer, P2P), remote terminal can access to family's NAS device by the peer-to-peer network.
The file synchronization itself stored to Dropbox (English: cloud storage), the accessible Dropbox of remote terminal are realized the file in access family's NAS device by mode 3, family's NAS device.
But, it is public network address that the scheme of aforesaid way 1, which requires the IP address of the wan interface of home gateway, and under normal conditions, the IP address of the wan interface of home gateway is private net address, and remote terminal can not pass through family's NAS device in these home gateways of DDNS technology access and its local area network.
In the scheme of aforesaid way 2, the NAT implementation between remote terminal and family's NAS device is more complex, and when remote terminal and family's NAS device are belonging respectively to the network of different operators foundation, the NAT between remote terminal and family's NAS device is possible to failure.
In the scheme of aforesaid way 3, after the file of family's NAS device is synchronized to Dropbox, once safety failure occurs in Dropbox service provider, the file stored in Dropbox is likely to be stolen by other people, and the safety of file is not high.
To sum up, the mode of existing remote terminal access family's NAS device, the IP address that in the case where guaranteeing safety and reliability, can not take into account the wan interface of home gateway is public network address or private net address these two types situation.
Summary of the invention
The embodiment of the present application provides a kind of method, corresponding intrument and system for accessing family's NAS device, enable remote terminal to family's NAS device in the local area network for the home gateway that the IP address of wan interface is public network address or private net address carry out it is reliable, be securely accessed by.
In a first aspect, the embodiment of the present invention provides a kind of method for accessing family's NAS device, the communication system of this method application includes family's NAS device, home gateway, remotely administered server, File Agent server and remote terminal.Wherein, family's NAS device can be the unit built in home gateway, be also possible to the autonomous device of the LAN side positioned at home gateway;Home gateway and remotely administered server establish the first connection, the connection based on ICP/IP protocol which can be established by home gateway by logging in the account of remotely administered server;Remote terminal and remotely administered server establish the second connection, the connection based on ICP/IP protocol which can be established by remote terminal by logging in the account of remotely administered server;Home gateway is established third with File Agent server and is connect, and remote terminal is established the 4th with File Agent server and connect, and third connection and the 4th connection can be the connection based on ICP/IP protocol.The method of access family's NAS device includes the following steps: that the remote terminal is connected by described second to the remotely administered server and sends catalogue browsing order;The catalogue browsing order is forwarded to the home gateway by first connection by the remotely administered server;The home gateway is connected by the third according to the catalogue browsing order and is sent to the file directory of family's NAS device The File Agent server;The remote terminal obtains the file directory of family's NAS device by the 4th connection from the File Agent server;The remote terminal shows the file directory of family's NAS device.
In above-mentioned technical proposal, home gateway and remotely administered server establish the first connection, and remote terminal and remotely administered server establish the second connection, in this way, catalogue browsing order can be sent to home gateway by remotely administered server by remote terminal.And home gateway is established third with File Agent server and is connect, remote terminal is established the 4th with File Agent server and is connect, in this way, home gateway is able to respond received catalogue browsing order, the file directory of family's NAS device is sent to by remote terminal by File Agent server.The IP address that above-mentioned technical proposal is not only suitable for the WAN of home gateway is the situation of public network address, and the IP address for being also applied for the WAN of home gateway is the situation of private net address, applied widely.Moreover, in above-mentioned technical proposal, remote terminal sends catalogue browsing order to home gateway by the existing remotely administered server being managed to home gateway, and not only implementation is simple, and cost is relatively low, is conducive to the extensive use of remote terminal access family's NAS device technology.Furthermore the catalogue of family's NAS device only when remote terminal issues catalogue browsing order, is sent to File Agent server by home gateway, and the file of family's NAS device is then still only stored in family's NAS device, and safety is higher.
In some possible implementations, remotely administered server is that home gateway distributes File Agent server, then, remotely administered server is connect by first between home gateway the address of File Agent server being sent to home gateway, is connect so that home gateway establishes third with File Agent server;Also, remotely administered server is connect by second between remote terminal the address of File Agent server being sent to remote terminal, is connect so that remote terminal establishes the 4th with File Agent server.
In some possible implementations, the home gateway connects to remotely administered server transmission catalogue by described first after the file directory of family's NAS device is sent to the File Agent server and is sent completely notice;The catalogue is sent completely notice by second connection and is sent to the remote terminal by the remotely administered server after the catalogue for receiving home gateway transmission is sent completely notice.In this implementation, remote terminal can know whether the file directory of family's NAS device is successfully uploaded to File Agent server accurately and in time, so that remote terminal can be timely This document catalogue is obtained from File Agent server.
In some possible implementations, the remote terminal generates file access command according to the first of user the input operation, and the file access command is used to access the first file in the file directory of family's NAS device;The remote terminal connects to the remotely administered server by described second and sends the file access command;The file access command is sent to the home gateway by first connection by the remotely administered server;The home gateway obtains first file according to the file access command, from family's NAS device, and is connected by the third to the File Agent server and send first file;The remote terminal obtains first file from the File Agent server by the 4th connection.In this implementation, catalogue browsing order can be sent to home gateway by remotely administered server by remote terminal, home gateway is able to respond received file access command, and the first file of family's NAS device is sent to remote terminal by File Agent server.Since the first file of remote terminal requests access is only sent to File Agent server by home gateway, the file in addition to the first file of home gateway is then stored among family's NAS device, the failure of File Agent server not will cause these leakages for being only stored in file in family's NAS device, and safety is higher.
In some possible implementations, the home gateway connects to remotely administered server transmission file by described first after sending first file to the File Agent server and is sent completely notice;The file is sent completely notice by second connection and is sent to the remote terminal by the remotely administered server.In this implementation, remote terminal can know whether the first file of family's NAS device is successfully uploaded to File Agent server accurately and in time, so that remote terminal can obtain first file from File Agent server in time.
In some possible implementations, after the remote terminal obtains first file from the File Agent server by the 4th connection, the File Agent server deletes first file locally saved, avoids the leakage of the first file, enhances the safety of file.
In some possible implementations, the remote terminal connects to the File Agent server by the described 4th and sends the second file;The remote terminal connects to the remotely administered server by described second after the completion of sending second file to the File Agent server and sends file upload notifications;The file upload notifications are transmitted to described by the remotely administered server by first connection Home gateway;The home gateway obtains second file from the File Agent server according to the file upload notifications, by third connection, and second file is stored in family's NAS device.In this implementation, in conjunction with remotely administered server and File Agent server, the second file can be stored among family's NAS device by remote terminal, facilitate the long-range storage file of user.
In some possible implementations, the remote terminal can generate file management command according to the second of user the input operation, these file management commands can be deletion file command, mobile file command and Rename file order;The remote terminal connects to the remotely administered server by described second and sends the file management command;The remotely administered server connects to the home gateway by described first and forwards the file management command;The home gateway carries out management corresponding with the file management command to the file in family's NAS device and operates according to the file management command.In this implementation, remote terminal can pass through remotely administered server, the administration order of operation is managed to the file in family's NAS device to home gateway forwarding, home gateway is able to respond the administration order, operation is managed to file in family's NAS device, it realizes long-range management of the remote terminal to family's NAS device, user is facilitated to be managed the file in family's NAS device.
Second aspect, the embodiment of the present invention provide a kind of method for managing family's NAS device, and the communication system of this method application includes family's NAS device, home gateway, remotely administered server and remote terminal.Wherein, family's NAS device can be the unit built in home gateway, be also possible to the autonomous device of the LAN side positioned at home gateway;Home gateway and remotely administered server establish the first connection, the connection based on ICP/IP protocol which can be established by home gateway by logging in the account of remotely administered server;Remote terminal and remotely administered server establish the second connection, the connection based on ICP/IP protocol which can be established by remote terminal by logging in the account of remotely administered server;The method of management family's NAS device includes the following steps: that the remote terminal generates file management command according to the second of user the input operation, these file management commands can be to delete file command, mobile file command and Rename file order;The remote terminal connects to the remotely administered server by described second and sends the file management command;The remotely administered server connects to the home gateway by described first and forwards the file management command;The home gateway carries out management corresponding with the file management command to the file in family's NAS device and operates according to the file management command.This realization side In formula, remote terminal can pass through remotely administered server, the administration order of operation is managed to the file in family's NAS device to home gateway forwarding, home gateway is able to respond the administration order, operation is managed to file in family's NAS device, it realizes long-range management of the remote terminal to family's NAS device, user is facilitated to be managed the file in family's NAS device.
The third aspect, the embodiment of the present invention provide a kind of method for accessing family's NAS device, and the communication system of this method application includes family's NAS device, home gateway, File Agent server and remote terminal.Wherein, family's NAS device can be the unit built in home gateway, be also possible to the autonomous device of the LAN side positioned at home gateway;Home gateway is established third with File Agent server and is connect, and remote terminal is established the 4th with File Agent server and connect, and third connection and the 4th connection can be the connection based on ICP/IP protocol.The method of access family's NAS device includes the following steps: that the home gateway is connected by the third and the file directory of family's NAS device is sent to the File Agent server;The remote terminal obtains the file directory of family's NAS device by the 4th connection from the File Agent server;The remote terminal shows the file directory of family's NAS device.In above-mentioned technical proposal, this document catalogue is actively sent to File Agent server by home gateway, the remote terminal of the file directory of demand family NAS device can directly quickly obtain file directory from File Agent server, and not have to obtain file directory by the way of previously described transmission catalogue browsing order.Due to not needing to forward catalogue browsing order by remotely administered server, the time can be saved, the time-consuming that remote terminal obtains file directory is reduced, can also save the transfer resource of communication system.Further, when number of files is more in family's NAS device, the data volume of file directory is also larger, and family's NAS device is sent taking a long time for File Agent server by home gateway.In present embodiment, since file directory is actively sent to File Agent server by home gateway, remote terminal is when needing to obtain this document catalogue, this document catalogue has stored in File Agent server, remote terminal directly can obtain file directory from File Agent server, it avoids remote terminal to need to wait home gateway that file directory is sent to File Agent server, is further reduced the time-consuming that remote terminal obtains file directory.
In some possible implementations, communication system further includes remotely administered server, and the home gateway and remotely administered server foundation have the first connection, and remote terminal and remotely administered server foundation have the second connection.Remotely administered server is that home gateway distributes File Agent server, then, far Thread management server is connect by first between home gateway the address of File Agent server being sent to home gateway, is connect so that home gateway establishes third with File Agent server;Also, remotely administered server is connect by second between remote terminal the address of File Agent server being sent to remote terminal, is connect so that remote terminal establishes the 4th with File Agent server.
Fourth aspect, the embodiment of the present invention provides a kind of system for accessing family's NAS device, the system comprises: family's NAS device, the home gateway connecting with family's NAS device, the remotely administered server for establishing with the home gateway the first connection, the remote terminal for establishing with the remotely administered server the second connection and with the home gateway File Agent server that third is connect is established, the remote terminal is established the 4th with the File Agent server and connect;Wherein, the remote terminal is used for: being connected by described second to the remotely administered server and is sent catalogue browsing order;The remotely administered server is used for: the catalogue browsing order being forwarded to the home gateway by first connection;The home gateway is used for: according to the catalogue browsing order, being connected by the third file directory of family's NAS device being sent to the File Agent server;The remote terminal is also used to: obtaining the file directory of family's NAS device from the File Agent server by the 4th connection;And show the file directory of family's NAS device.
In some possible implementations, the remotely administered server is also used to: distributing the File Agent server for the home gateway, and the address of the File Agent server is sent to by the home gateway by first connection, and the address of the File Agent server is sent to by the remote terminal by second connection;The home gateway is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the third with the File Agent server and is connect;The remote terminal is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the described 4th with the File Agent server and is connect.
In some possible implementations, the home gateway is also used to: after the file directory of family's NAS device is sent to the File Agent server, being connected by described first to remotely administered server transmission catalogue and is sent completely notice;The remotely administered server is also used to: the catalogue being sent completely notice by second connection and is sent to the remote terminal, the catalogue is sent completely notice for making the remote terminal obtain institute from the File Agent server by the 4th connection State the file directory of family's NAS device.
In some possible implementations, the remote terminal is also used to: generating file access command according to the first of user the input operation, the file access command is used to access the first file in the file directory of family's NAS device;And it connects by described second to the remotely administered server and sends the file access command;The remotely administered server is also used to: the file access command being sent to the home gateway by first connection;The home gateway is also used to: according to the file access command, obtaining first file from family's NAS device, and connect by the third to the File Agent server and send first file;The remote terminal is also used to: obtaining first file from the File Agent server by the 4th connection.
In some possible implementations, the home gateway is also used to: after sending first file to the File Agent server, being connected by described first to remotely administered server transmission file and is sent completely notice;The remotely administered server is also used to: the file being sent completely notice by second connection and is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
In some possible implementations, the File Agent server is used for: after the remote terminal obtains first file from the File Agent server by the 4th connection, deleting first file locally saved.
In some possible implementations, the remote terminal is also used to: being connected by the described 4th to the File Agent server and is sent the second file;And after the completion of sending second file to the File Agent server, connects by described second to the remotely administered server and send file upload notifications;The remotely administered server is also used to: the file upload notifications being transmitted to the home gateway by first connection;The home gateway is also used to: according to the file upload notifications, obtaining second file from the File Agent server by third connection, and second file is stored in family's NAS device.
In some possible implementations, the remote terminal is also used to: being inputted operation according to the second of user and is generated file management command, the file management command includes at least one deleted in file command, mobile file command and Rename file order;And it connects by described second to the long-range management Server sends the file management command;The remotely administered server is also used to: being connected by described first to the home gateway and is forwarded the file management command;The home gateway is also used to: according to the file management command, being carried out management corresponding with the file management command to the file in family's NAS device and is operated.
5th aspect, the embodiment of the present invention provides a kind of system for accessing family's NAS device, establishes the remotely administered server of the first connection the system comprises: family's NAS device, home gateway connect with family's NAS device and the home gateway and the remotely administered server establishes the remote terminal of the second connection;Wherein, the remote terminal is also used to: being inputted operation according to the second of user and is generated file management command, the file management command includes at least one deleted in file command, mobile file command and Rename file order;And it connects by described second to the remotely administered server and sends the file management command;The remotely administered server is also used to: being connected by described first to the home gateway and is forwarded the file management command;The home gateway is also used to: according to the file management command, being carried out management corresponding with the file management command to the file in family's NAS device and is operated.
6th aspect, the embodiment of the present invention provides a kind of system for accessing family's NAS device, the system comprises: family's NAS device, the home gateway connecting with family's NAS device, the File Agent server that third connect is established with the home gateway, establishes the 4th remote terminal connecting with the File Agent server;Wherein, the home gateway is used for: being connected by the third file directory of family's NAS device being sent to the File Agent server;The remote terminal is used for: obtaining the file directory of family's NAS device from the File Agent server by the 4th connection;And show the file directory of family's NAS device.
In some possible implementations, the system also includes: the remotely administered server of the first connection is established with the home gateway, the remote terminal and the remotely administered server establish the second connection;The remotely administered server is used for: distributing the File Agent server for the home gateway, and the address of the File Agent server is sent to by the home gateway by first connection, and the address of the File Agent server is sent to by the remote terminal by second connection;The home gateway is also used to: according to the remotely administered server send the File Agent server address, The third is established with the File Agent server to connect;The remote terminal is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the described 4th with the File Agent server and is connect.
7th aspect, the embodiment of the present invention provides a kind of remotely administered server, include: network interface, for establishing the first connection with home gateway and establishing the second connection with remote terminal, and receives the catalogue browsing order that the remote terminal is sent by first connection;Memory for storing instruction, and stores message of the network interface from the home gateway and the remote terminal reception;Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to execute following steps when executing described instruction: the port connecting to the network interface with the home gateway is configured, to establish first connection;The port connecting to the network interface with the remote terminal configures, to establish second connection;The catalogue browsing order for being transmitted to the home gateway is generated according to the catalogue browsing order that the received remote terminal of the network interface is sent;The network interface is also used to: being sent to the home gateway by the catalogue browsing order for being transmitted to the home gateway that first connection generates the processor, the catalogue browsing order is for making the home gateway that the file directory of family's NAS device is sent to File Agent server.
In some possible implementations, the processor is also used to: distributing the File Agent server for the home gateway;The network interface is also used to: the address of the File Agent server being sent to the home gateway by first connection, is connect so that the home gateway establishes the third with the File Agent server according to the address of the File Agent server;And the address of the File Agent server is sent to by the remote terminal by second connection, it is connect so that the remote terminal establishes the described 4th with the File Agent server according to the address of the File Agent server.
In some possible implementations, the network interface is also used to: being received the catalogue that the home gateway is sent by first connection and is sent completely notice;The processor is also used to: being sent completely the catalogue for notifying generation to be transmitted to the remote terminal according to the catalogue that the received home gateway of the network interface is sent and is sent completely notice;The network interface is also used to: being sent completely notice by the catalogue for being transmitted to the remote terminal that second connection generates the processor and is sent to the remote terminal, the catalogue is sent completely notice for connecting the remote terminal from the file generation by the described 4th Reason server obtains the file directory of family's NAS device.
In some possible implementations, the network interface is also used to: receiving the mesh file access command that the remote terminal is sent by second connection;The processor is also used to: the file access command for being transmitted to the home gateway is generated according to the file access command that the received remote terminal of the network interface is sent;The network interface is also used to: being sent to the home gateway by the file access command for being transmitted to the home gateway that first connection generates the processor, the file access command sends requested first file of file access command for connecting the home gateway to the File Agent server by the third.
In some possible implementations, the network interface is also used to: being received the file that the home gateway is sent by first connection and is sent completely notice;The processor is also used to: being sent completely the file for notifying generation to be transmitted to the remote terminal according to the file that the received home gateway of the network interface is sent and is sent completely notice;The network interface is also used to: being sent completely notice by the file for being transmitted to the remote terminal that second connection generates the processor and is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
In some possible implementations, the network interface is also used to: receiving the file upload notifications that the remote terminal is sent by second connection;The processor is also used to: the file upload notifications for being transmitted to the home gateway are generated according to the file upload notifications that the received remote terminal of the network interface is sent;The network interface is also used to: being sent to the home gateway by the file upload notifications for being transmitted to the home gateway that first connection generates the processor, the file upload notifications are for making the home gateway obtain second file from the File Agent server by third connection.
In some possible implementations, the network interface is also used to: receiving the file management command that the remote terminal is sent by second connection;The processor is also used to: the file management command for being transmitted to the home gateway is generated according to the file management command that the received remote terminal of the network interface is sent;The network interface is also used to: being sent to the home gateway, the file management command by the file management command for being transmitted to the home gateway that first connection generates the processor It is operated for making the home gateway carry out management corresponding with the file management command to the file in family's NAS device.
Eighth aspect, the embodiment of the present invention provides a kind of home gateway, it include: network interface, for being connect with family NAS device, and for establishing the first connection with remotely administered server, and it is connect for establishing third with File Agent server, and for receiving the catalogue browsing order that the remotely administered server is sent by first connection;Memory for storing instruction, and is stored from the received message of remotely administered server, and is stored from family's NAS device and the received file of File Agent server or file directory;Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with family's NAS device, the remotely administered server and the File Agent server configures;The catalogue browsing order that the remotely administered server is sent is responded, file directory is obtained from family's NAS device by the network interface;The network interface is also used to: being connected by the third file directory being sent to File Agent server, so that the remote terminal can obtain the file directory from the File Agent server.
In some possible implementations, the processor is also used to: after the file directory of family's NAS device is sent to the File Agent server by the network interface, being generated catalogue and is sent completely notice;The network interface is also used to: being connected by described first to the remotely administered server transmission catalogue and is sent completely notice, so that the catalogue is sent completely notice by the remotely administered server is sent to the remote terminal, the catalogue is sent completely notice and obtains the file directory of family's NAS device from the File Agent server for connecting the remote terminal by the described 4th.
In some possible implementations, the network interface is also used to: receiving the file access command that the remotely administered server is sent by first connection;The processor is also used to: being responded the file access command that the remotely administered server is sent, is obtained requested first file of the file access command from family's NAS device by the network interface;The network interface is also used to: being connected by the third first file being sent to File Agent server, so that the remote terminal can obtain the file directory from the File Agent server.
In some possible implementations, the processor is also used to: the network interface will be described First file is sent to after the File Agent server, is generated file and is sent completely notice;The network interface is also used to: being connected by described first to the remotely administered server transmission file and is sent completely notice, so that the file is sent completely notice by the remotely administered server is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
In some possible implementations, the network interface is also used to: receiving the file upload notifications that the remotely administered server is sent by first connection;The processor is also used to: responding the file upload notifications that the remotely administered server is sent, it indicates that the network interface obtains the second file from the File Agent server, and indicates that second file is stored in family's NAS device by the network interface.
In some possible implementations, the network interface is also used to: receiving the file management command that the remotely administered server is sent by first connection;The processor is also used to: being responded the file management command that the remotely administered server is sent, is carried out management corresponding with the file management command to the file in family's NAS device by the network interface and operate.
9th aspect, the embodiment of the present invention provides a kind of home gateway, comprising: network interface for connecting with family NAS device, and is connect for establishing third with File Agent server;And connected by the third and the file directory of family's NAS device is sent to the File Agent server, so that remote terminal obtains the file directory from the File Agent server;Memory, for storing instruction and from the received file of family's NAS device or file directory;Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with family's NAS device configures, and the port connecting to the network interface with File Agent business device configures, and connect so that the network interface establishes third with the File Agent server.
Tenth aspect, the embodiment of the present invention provides a kind of remote terminal, comprising: network interface for establishing the second connection with remotely administered server, and is established the 4th with File Agent server and connect;Memory for storing instruction, and is stored from the received file of File Agent server or file directory;Processor couples respectively with the network interface, the display unit and the memory, for executing Instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with the remotely administered server configures, and connect so that the network interface establishes described second with the remotely administered server;The port connecting to the network interface with the File Agent server configures, and connect so that the network interface establishes the described 4th with the File Agent server;And generate the catalogue browsing order sent to the remotely administered server;The network interface is also used to: being connected by described second to the remotely administered server and is sent catalogue browsing order, and obtains the file directory of family's NAS device from the File Agent server by the 4th connection;The remote terminal further include: display unit, for showing the file directory.
In some possible implementations, the network interface is also used to: being received the catalogue that the remotely administered server is sent by second connection and is sent completely notice;The processor is also used to: being sent completely notice according to the catalogue, is indicated that the network interface obtains the file directory of family's NAS device by the 4th connection from the File Agent server.
In some possible implementations, the remote terminal further include: input unit, for receiving the first input operation of user;The processor is also used to: being operated according to first input, is generated file access command, the file access command is used to access the first file in the file directory of family's NAS device;The network interface is also used to: being connected by described second to the remotely administered server and is sent the file access command;And first file is obtained from the File Agent server by the 4th connection.
In some possible implementations, the network interface is also used to: being received the file that the remotely administered server is sent by second connection and is sent completely notice;The processor is also used to: being sent completely notice according to the file, is indicated that the network interface obtains first file from the File Agent server by the 4th connection.
In some possible implementations, the network interface is also used to: being connected by the described 4th to the File Agent server and is sent the second file;The processor is also used to: after the completion of the network interface sends second file to the File Agent server, generating file upload notifications;The network interface is also used to: being connected by described second to the remotely administered server and is sent file upload notifications, so that the file upload notifications are forwarded to the home gateway, the text by the remotely administered server Second file is stored in family's NAS device by part upload notifications for making the home gateway obtain second file from the File Agent server.
In some possible implementations, the input unit is also used to: receiving the second input operation of user;The processor is also used to: being inputted and is operated according to described second, generate file management command, the file management command includes at least one deleted in file command, mobile file command and Rename file order;The network interface is also used to: being connected by described second to the remotely administered server and is sent the file management command, so that the file management command is forwarded to the home gateway by the remotely administered server, the file management command carries out management corresponding with the file management command to the file in family's NAS device and operates for making the home gateway.
Tenth on the one hand, the embodiment of the present invention provides a kind of File Agent server, it include: network interface, it is connect for establishing third with home gateway, and the 4th is established with remote terminal and is connect, and file directory or file for receiving family's NAS device that the home gateway is sent by third connection, and for the file directory or the file to be sent to the remote terminal by the 4th connection;Memory for storing instruction, and is stored from the home gateway and the file or file directory of the remote terminal reception;Processor, it is coupled respectively with the network interface, the display unit and the memory, for executing the instruction in the memory, to be performed the following operations when executing described instruction: configuring to the port of the network interface and the home gateway, connect so that the network interface establishes the third with the home gateway;The port connecting to the network interface with the remote terminal configures, and connect so that the network interface establishes the described 4th with the remote terminal.
In some possible implementations, the network interface is also used to: receiving the first file that the remote terminal is sent by the 4th connection, and connected by the third and first file is sent to the home gateway, so that first file is stored in family's NAS device by the home gateway.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, attached drawing needed in describing below to embodiment is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments without any creative labor, are also possible to obtain other drawings based on these drawings for those of ordinary skill in the art.
Fig. 1 is the schematic diagram that the system of family's NAS device is accessed in the embodiment of the present application;
Fig. 2 is the flow diagram that the method for family's NAS device is accessed in the embodiment of the present invention;
Fig. 3 is another flow diagram that the method for family's NAS device is accessed in the embodiment of the present invention;
Fig. 4 is another flow diagram that the method for family's NAS device is accessed in the embodiment of the present invention;
Fig. 5 is another flow diagram that the method for family's NAS device is accessed in the embodiment of the present invention;
Fig. 6 is another flow diagram that the method for family's NAS device is accessed in the embodiment of the present invention;
Fig. 7 is the structural schematic block diagram of medium-long range of embodiment of the present invention management server.
Specific embodiment
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the specific features in the embodiment of the present application and embodiment are the detailed description to technical solution of the present invention, rather than the restriction to technical solution of the present invention, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The related notion in the embodiment of the present invention is introduced first below.
Remote terminal refers to the terminal device in the outer network of family lan, for example, computer, tablet computer, smart phone etc. in the outer network in family lan.Remote terminal includes input unit, which can be used for receiving the input operation of user, and generate control command corresponding with input operation, content of text or voice content etc. according to user setting or system setting.For example, input unit is touch screen, input unit touches the operation of the first file in the file directory of screen display according to the touch of user, generates the file access command of the first file of access.In another example input unit is according to the first file in user's long-pressing file directory, and chooses the operation of " deletion " option in the option list of pop-up, the deletion file command for deleting the first file is generated.For another example input unit is according to the first file in user's long-pressing file directory, and chooses the operation of " renaming " option in the option list of pop-up, the Rename file order renamed to the first file is generated.In actual conditions, the input unit of remote terminal is also possible to voice-input unit, which is used to receive the voice of user's input, and root According to the corresponding control command of speech production, content of text or voice content etc., not it is described in detail herein.
Home gateway is the network interconnection apparatus, network interconnection between family lan and external wide area network, for realizing the mutual access between the equipment in family lan and the equipment except family lan.
Network attached storage NAS device, including memory device (such as: disk array, tape drive or moveable storage medium) and embedded systems software, it is possible to provide cross-platform file-sharing function.Family's NAS device is located at the LAN side of home gateway, accesses external wide area network by home gateway.
In one possible implementation, NAS unit built in home gateway provides NAS service, and in this case, remote terminal accesses home gateway, that is, may have access to the file built in home gateway in NAS unit.
In alternatively possible implementation, family's NAS device is the autonomous device of the LAN side positioned at home gateway, in this case, by configuring to connectivity port between family's NAS device and home gateway, remote terminal can access the file in family's NAS device via home gateway.Such as, forward (English: Port Forwarding) technology by the IP port mapping of family's NAS device to home gateway using port, remote terminal can be communicated by remote domain name mode with home gateway, and access family's NAS device by home gateway.
Family's NAS device in the embodiment of the present invention in the following contents all can be built-in in above-mentioned home gateway NAS unit, can also the above-mentioned autonomous device positioned at home gateway LAN side.
IP address is a kind of unified address format that IP agreement provides, it distributes a logical address for each equipment on Internet, and the equipment in Internet is based on respective IP address and is communicated.
Public network address (English: public network address), is the non-reserved address in IP address, has uniqueness in entire Internet, the equipment with public network address can directly access Internet.
Private net address (English: private network address), is the reserved address in IP address.Private net address is unique and effective in a local area network, and inside different local area networks, identical private net address is can be used in different terminals.Therefore, the other equipment in local area network can be directly accessed using the equipment of private net address, but cannot directly access Internet.
A large amount of private net address, for realizing the mutual conversion between private net address and public network address, is converted to one or a small amount of public affairs by network address translation (English: network address translation, NAT) Net address reduces the occupancy to public network address.For example, in a local area network, it is only necessary to which equipment connects upper Internet, so that it may be connected using NAT collineation axis, make in local area network other equipment also accessible Interne.
Dynamic IP (English: Dynamic IP), refers to that the mode for just carrying out IP address distribution when needed, the IP address distributed in this way are known as dynamic IP addressing.On the other side, static ip address refers to giving equipment fixed allocation one IP address, and each communication of equipment all uses this static ip address.In actual conditions, since IP address resource is of great value, most of user's online is all using dynamic IP addressing.
Dynamic domain name service DDNS, for the dynamic IP addressing of user equipment to be mapped to a fixed domain name, the other equipment in Internet can be communicated by the fixation domain name with user equipment.
Peer-to-Peer Network P2P refers to that each equipment in network is in the status of equity, and each equipment can serve as the requestor of network service, the request of other equipment is made a response again, resource and service are provided, such as, the shared and exchange of information, computing resource sharing, storage resource are shared, etc..When thering is the IP address of an equipment to be private net address in P2P, need to realize the communication in P2P between each equipment by NAT crossing technology.
Fig. 1 is the schematic diagram of communication system in the embodiment of the present invention, wherein home gateway 10 and family's NAS device 20 are in home lan, and network locating for remote terminal 30 can be Internet, or to access another local area network of Internet.Such as, network locating for remote terminal 30 can be with are as follows: global system for mobile communications (English: Global System of Mobile communication, GSM) network, general packet radio service (English: General Packet Radio Service, GPRS) network, CDMA (English: Code Division Multiple Access, CDMA) network, wideband code division multiple access (English: Wideband Code Division Multiple Access, WCDMA) network, long term evolution (English: Long Term Evolution, LTE) network, the 5th Generation Mobile Communication System (English: The fifth generation mobile communication system, 5G) network.
In the embodiment of the present invention, the IP address of the WAN side of home gateway 10 can be public network address, it may be private net address, when home gateway 10WAN side IP address is private net address, the private net address of home gateway 10 can be converted to public network address according to NAT technology by the network equipment on 10 upper layer of home gateway So that home gateway 10 is able to access that Internet;Similarly, the IP address of remote terminal 30 can be public network address, or private net address equally will carry out NAT processing to the private net address of remote terminal 30 when the IP address of remote terminal 30 is private net address.Special, in the case where the address WAN of home gateway 10 is private net address, the technical solution provided according to embodiments of the present invention, remote terminal 30 can access to the family's NAS device 20 for the LAN side for being located at home gateway 10.
In the embodiment of the present invention, communication system further includes remotely administered server 40, for providing the function of remotely being managed home gateway 10, it include: to indicate that home gateway 10 uploads the file directory or file of family's NAS device 20, or file is stored among family's NAS device 20 by instruction home gateway 10, alternatively, instruction family's NAS device 20 carries out the file/folder in family's NAS device 20 operation such as to move, delete, rename.
Establishing between remotely administered server 40 and home gateway 10 has the first connection, and control command is sent to home gateway 10 especially by first connection by remotely administered server 40, to realize the above-mentioned function of remotely being managed home gateway 10.Home gateway 10 can log in remotely administered server 40 by the account of remotely administered server 40, establish the first connection with remotely administered server 40.
For example, user, when buying home gateway 10, service provider has been that home gateway 10 distributes remotely administered server 40, and informs 40 account of user's remotely administered server and password.Alternatively, user oneself registers 40 account of remotely administered server, after succeeding in registration, service provider is user's distribution and the associated remotely administered server 40 of user institute register account number.User login account and password on home gateway 10, home gateway 10 can log in remotely administered server 40, establish the first connection with remotely administered server 40.
First connection can be based on transmission control protocol/Internet Protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) the connection that agreement is established, such as first connection can expansible communication and presentation protocol (English: extensible messaging and presence protocol, XMPP) are established according to connection.Optionally, first it is connected as the long connection established based on ICP/IP protocol, so-called long connection refers to that after a connection setup, in spite of using connection progress data or instruction to transmit, the connection is effective always, will not interrupt.
In the embodiment of the present invention, establishing between remote terminal 30 and remotely administered server 40 has the second company It connects, remote terminal 30 is connected by second to remotely administered server 40 and sends control command, and the control command that remote terminal 30 is sent can be transmitted to home gateway 10 by remotely administered server 40, so that remote terminal 30 can indicate that home gateway 10 uploads the file directory or file of family's NAS device 20, or file is stored among family's NAS device 20 by instruction home gateway 10, alternatively, instruction family's NAS device 20 carries out the file/folder in family's NAS device 20 operation such as to move, delete, rename.
The mode that remote terminal 30 again may be by 40 account of remotely administered server logs in remotely administered server 40, establishes the second connection with remotely administered server 40.Such as, application program (the English: application remotely managed home gateway 10 is installed on remote terminal 30, App), user opens the App, input the account and password of remotely administered server 40, remotely administered server 40 can be logged in, establishes the second connection with remotely administered server 40.In another example, user opens browser, it is opened by browser based on HyperText Markup Language (English: hypertext markup language, the web application (English: Web App) for remotely being managed home gateway 10 of technological development such as HTLM), the account and password of remotely administered server 40 are inputted in the web application, remotely administered server 40 can be logged in, establishes the second connection with remotely administered server 40.
Second connection equally can be the connection established based on ICP/IP protocol, and equally can be the long connection based on ICP/IP protocol.In actual conditions, the first connection can be identical with the type of the second connection.
In the embodiment of the present invention, communication system further includes File Agent server 50, carries out transfer for the transmission to file or file directory between home gateway 10 and remote terminal 30.Wherein, home gateway 10 is established third with File Agent server 50 and is connect, which includes following several implementations:
One, home gateway manufacturer is that home gateway 10 is assigned a fixed File Agent server 50, and by the storage unit of the address of this document proxy server 50 write-in home gateway 10, home gateway 10 can establish third with File Agent server 50 according to the address of file proxy server 50 in itself storage unit and connect.
Second, home gateway manufacturer, common carrier or remotely administered server 40 are the fixed File Agent server 50 of the distribution of home gateway 10 one, and the address of this document proxy server 50 is stored in far In thread management server 40.Home gateway 10 is after establishing the first connection with remotely administered server 40, and the address of this document proxy server 50 can be sent to home gateway 10 by the first connection by remotely administered server 40, and home gateway 10 is established third according to the address and connected.Or, remotely administered server 40 receives the control command that remote terminal 30 is sent, such as catalogue browsing order, remotely administered server 40 is when being transmitted to home gateway 10 for control command by the first connection, the address of File Agent server 50 is sent to home gateway 10, home gateway 10 is established third with File Agent server 50 according to the address and connect.
Thirdly, with it is above-mentioned secondly the difference is that, remote Manager uploads demand according to the file or catalogue of home gateway 10, File Agent server is dynamically distributed for home gateway 10, and the address of File Agent server 50 is sent to by home gateway 10 by the first connection, home gateway 10 is established third with File Agent server 50 according to the address and is connect.
Such as, home gateway 10 receives the catalogue browsing order that remote terminal 30 is forwarded via remotely administered server 40, File Agent server 50 is sent to remotely administered server 40 to request, remotely administered server 40 is that home gateway 10 distributes File Agent server 1 and the address of File Agent server 1 is sent to home gateway 10, home gateway 10 is established third with File Agent server 1 according to the address and is connect, and the file directory of family's NAS device 20 is sent to File Agent server 1.And when home gateway 10 receives the browsing file order that remote terminal 30 is forwarded via remotely administered server 40, home gateway 10 sends File Agent server 50 to remotely administered server 40 again and requests, and remotely administered server 40 is that home gateway 10 distributes File Agent server 2.In other words, remotely administered server 40 can upload demand according to the current file of home gateway 10 or catalogue and distribute File Agent server for it, and the File Agent server 50 distributed for different files or catalogue upload demand can be different.
Fourth, File Agent server 50 has account, home gateway 10 passes through the account of log file proxy server 50, establishes the first connection with File Agent server 50.Wherein, the account of File Agent server 50 can be communications service provider or home gateway manufacturer is what home gateway 10 distributed.Alternatively, user oneself registers 50 account of File Agent server, after succeeding in registration, service provider is user's distribution and the associated File Agent server 50 of user institute register account number.
In actual conditions, a File Agent server 50 can be used as the file of multiple home gateways 10 Or catalogue transfer, this document proxy server 50 can distribute corresponding memory space for each home gateway 10.
The connection of above-mentioned third can be the connection established based on ICP/IP protocol, such as according to the connection of hypertext transfer protocol (English: HyperText Transfer Protocol, HTTP).Third connection can be long connection, or short connection.When third is connected as short connection, once task terminates (file or catalogue end of transmission), third connection is just interrupted, when needing to be communicated next time, then home gateway 10 is established third with File Agent server 50 again and is connect, and third is connected to have the characteristics that safety is higher when short connection.
In the embodiment of the present invention, remotely administered server 40 is established the 4th with File Agent server 50 and is connect, the file or catalogue that home gateway 10 uploads are obtained from File Agent server 50 by the 4th connection, or, file is sent to File Agent server 50 by the 4th connection by remote terminal 30, and indicate that home gateway 10 obtains this document from File Agent server 50 by remotely administered server 40, and this document is stored in family's NAS device 20.
Wherein, in conjunction with the one in aforementioned third establishment of connection mode to third, remote terminal 30 can obtain the address of File Agent server 50 from remotely administered server 40, and the 4th is established with File Agent server 50 according to the address and is connect.Such as, in conjunction with the one in aforementioned third establishment of connection mode, remote terminal 30 with remotely administered server 40 establish the 4th connect after, remote terminal 30 can send File Agent server 50 to remotely administered server 40 and request, remotely administered server 40 forwards the request to home gateway 10, the address of File Agent server 50 is sent after the reception of home gateway 10 request to remotely administered server 40, and remotely administered server 40 sends the address of this document proxy server 50 to remote terminal 30.In another example, in conjunction with it is in aforementioned third establishment of connection mode secondly or thirdly, remote terminal 30 with remotely administered server 40 establish the 4th connect after, the address of the File Agent server 50 distributed for home gateway 10 is sent to remote terminal 30 by remotely administered server 40.Or, remote terminal 30 is after sending directories/files navigation commands to remotely administered server 40,40 one side of remotely administered server forwards the command to home gateway 10, and the address of the File Agent server 50 distributed for home gateway 10 is on the one hand sent to remote terminal 30.It is requested alternatively, remote terminal 30 sends File Agent server 50 to remotely administered server 40, remotely administered server 40 is according to this The address that the File Agent server 50 distributed for home gateway 10 is sent to remote terminal 30 is requested, such case can be adapted for the situation of the transmitting file on family's NAS device 20 of remote terminal 30.
In conjunction with it is in aforementioned third establishment of connection mode fourth, remote terminal 30 again may be by 50 account of File Agent server log in remotely administered server 40, establish the 4th with remotely administered server 40 and connect.Its specific implementation is referred to remote terminal 30 and establishes the 4th process connecting with remotely administered server 40, is not repeated herein.
Above-mentioned 4th connection equally can be the connection based on http protocol, and can be long connection, or short connection.In actual conditions, above-mentioned third connection can be identical with the type of the 4th connection.
In the embodiment of the present invention, remotely administered server 40 and File Agent server 50 can be deployed among the same physical equipment, can also be deployed in respectively among two physical equipments.In addition, remotely administered server 40 is realized by the cluster of multiple servers formation with File Agent server 50.
Above-mentioned first is established with remotely administered server 40 in home gateway 10 to connect, remote terminal 30 is established above-mentioned second with remotely administered server 40 and is connect, home gateway 10 is established above-mentioned third with File Agent server 50 and is connect, remote terminal 30 and File Agent server 50 establish the above-mentioned 4th connect after, remote terminal 30 is able to access that the catalogue of family's NAS device 20.Referring to fig. 2, remote terminal 30 is able to access that the catalogue of family's NAS device 20 includes the following steps:
Step 101: remote terminal connects to remotely administered server by second and sends catalogue browsing order.
Specifically, when remote terminal 30 works, user inputs the account and password of remotely administered server 40, establishes the second connection with remotely administered server 40 by mode presented hereinbefore in the application program for remotely being managed home gateway 10 on remote terminal 30.
Then, user can operate according to the input of user and generate catalogue browsing order, input operation can be the operation of the icon of family's NAS device 20 of the touch screen display of touch remote terminal 30, or user carries out voice input operation by the microphone of remote terminal 30, for example, the microphone of user against remote terminal 30 says " catalogue of family's NAS device 1 ".
Remote terminal 30 is operated according to the input of user generates catalogue browsing order, includes the mark of target household NAS device 20 in the order.For example, the catalogue browsing order can be expressed as " GET NAS1/DIR ", wherein NAS1 is the mark of target NAS, and DIR shows request browsing NAS1's File directory (English: directory, DIR).
Then, remote terminal 30 is connect by second between remotely administered server 40, which is sent to remotely administered server 40.
Step 102: catalogue browsing order is forwarded to home gateway by the first connection by remotely administered server.
Specifically, home gateway 10 establishes the first connection by previously described mode, by the account and remotely administered server 40 that log in remotely administered server 40, not repeat herein.
In actual conditions, each remotely administered server 40 can be to distribute to a fixed dedicated server of home gateway 10, in this case, remotely administered server 40 is after the catalogue browsing order for receiving the transmission of remote terminal 30, since the home gateway 10 of self-management is unique, by the first connection between remotely administered server 40 and the home gateway 10, which is sent to the home gateway 10.
And when each remotely administered server 40 is responsible for managing multiple home gateways 10, remotely administered server 40 receives after the catalogue browsing order of the transmission of remote terminal 30, it is thus necessary to determine that should forward the command to which home gateway 10.A kind of implementation are as follows: include the mark of home gateway 10 in the catalogue browsing order, remotely administered server 40 is identified according to the home gateway 10 in catalogue browsing order, sends the command to corresponding home gateway 10.In another implementation, the mapping relations of the home gateway 10 and remote terminal 30 that log in by same account are preserved in remotely administered server 40, it include the mark of the remote terminal 30 as order source in the catalogue browsing order that remote terminal 30 is sent, remotely administered server 40 is according to the mapping relations locally saved, it determines and sends home gateway 10 corresponding to the remote terminal 30 of order, and catalogue browsing order is sent to home gateway 10.
Step 103: home gateway is connected by third the file directory of family's NAS device being sent to File Agent server according to catalogue browsing order.
Specifically, home gateway 10 by previously described one to thirdly in any mode establish third with File Agent server 50 and connect, refuse repetition herein.
In actual conditions, remote terminal 30 requests networked storage units of the family's NAS device 20 of browsing catalogue built in home gateway 10, and in this case, home gateway 10 has to family's NAS device 20 Control authority, can be connected by third and the file directory of family's NAS device 20 is sent to File Agent server 50.
And when family's NAS device 20 is positioned at the autonomous device of the LAN side of home gateway 10, the catalogue that home gateway 10 obtains family's NAS device 20 includes two kinds of implementations:
Mode 1, home gateway 10 have the permission that file or catalogue are read from family's NAS device 20, then home gateway 10 directly reads file directory from family's NAS device 20, and file directory is sent to File Agent server 50.
Received catalogue browsing order is transmitted to family's NAS device 20 by mode 2, home gateway 10, and family's NAS device 20 responds the catalogue browsing order, file directory is sent to home gateway 10.After home gateway 10 receives the file directory of the transmission of family's NAS device 20, is connected by third and this document catalogue is sent to File Agent server 50.
Step 104: remote terminal obtains the file directory of family's NAS device by the 4th connection from File Agent server.
It connect specifically, remote terminal 30 establishes the 4th with File Agent server 50 by previously described mode, not repeats herein.In actual conditions, step 104 has a variety of implementations, comprising:
The first implementation: home gateway 10 connects to the transmission of remotely administered server 40 catalogue by first after the file directory of family's NAS device 20 is sent to File Agent server 50 and is sent completely notice;Catalogue is sent completely notice by the second connection and is sent to remote terminal 30 by remotely administered server 40.Remote terminal 30 receives the catalogue and is sent completely notice, it connects by the 4th to File Agent server 50 and sends catalogue browsing request, File Agent server 50 responds catalogue browsing request, sends to remote terminal 30 from the received this document catalogue of home gateway 10.
In this implementation, remote terminal 30 can know whether the file directory of family's NAS device 20 is successfully uploaded to File Agent server 50 accurately and in time, so that remote terminal 30 can obtain this document catalogue from File Agent server 50 in time.
It should be noted that, remotely administered server 40 can be when being sent completely notice to the transmission of remote terminal 30 catalogue, the address of File Agent server 50 is sent to remote terminal 30, File Agent server 50 is established the 4th with File Agent server 50 according to the address and is connect, and connects by the 4th to text Part proxy server 50 sends file directory request.
Second of implementation: remote terminal 30 periodically sends file directory request to File Agent server 50 after sending the catalogue browsing order to remotely administered server 40.Once File Agent server 50 receives the file directory of the transmission of home gateway 10, then File Agent server 50 can send this document catalogue to remote terminal 30 after this document catalog request for receiving the transmission of remote terminal 30.
The third implementation: remote terminal 30 is connected as long connection with the 4th of the foundation of File Agent server 50, remote terminal 30 is sending the rear to the transmission file directory request of File Agent server 50 of the catalogue browsing order to remotely administered server 40, with second of implementation the difference is that, remote terminal 30 can only send a file directory request, File Agent server 50 is after the file directory for receiving the transmission of home gateway 10, this document catalog request can be responded, file directory is actively sent to by remote terminal 30 by the 4th connection.
4th kind of implementation: remote terminal 30 is connected as long connection with the 4th of the foundation of File Agent server 50, and establishes connection between remotely administered server 40 and File Agent server 50.Remotely administered server 40 is after the catalogue browsing order for receiving the transmission of remote terminal 30, on the one hand the catalogue browsing order is transmitted to home gateway 10, on the one hand the catalogue browsing order is sent to File Agent server 50, which includes the mark of remote terminal 30 and the mark of home gateway 10.File Agent server 50 is after the file directory for receiving the home gateway 10 transmission, according to catalogue browsing order it is determined that this document catalogue is sent to remote terminal 30, then it is connect by the 4th between remote terminal 30 and file directory is sent to remote terminal 30.
Step 105: remote terminal shows the file directory of family's NAS device.
Specifically, remote terminal 30 shows this document catalogue by the display unit of remote terminal 30 after the file that File Agent server 50 obtains family's NAS device 20, the file directory for viewing family's NAS device 20 is allowed users to.
In above-mentioned technical proposal, home gateway 10 and remotely administered server 40 establish the first connection, remote terminal 30 and remotely administered server 40 establish the second connection, in this way, catalogue browsing order can be sent to home gateway 10 by remotely administered server 40 by remote terminal 30.And home gateway 10 and text Part proxy server 50 establishes third connection, remote terminal 30 is established the 4th with File Agent server 50 and is connect, in this way, home gateway 10 is able to respond received catalogue browsing order, the file directory of family's NAS device 20 is sent to by remote terminal 30 by File Agent server 50.The IP address that above-mentioned technical proposal is not only suitable for the WAN of home gateway 10 is the situation of public network address, and the IP address for being also applied for the WAN of home gateway 10 is the situation of private net address, applied widely.Moreover, in above-mentioned technical proposal, remote terminal 30 sends catalogue browsing order to home gateway 10 by the existing remotely administered server 40 being managed to home gateway 10, not only implementation is simple, and cost is relatively low, is conducive to the extensive use that remote terminal 30 accesses 20 technology of family's NAS device.Furthermore the catalogue of family's NAS device 20 only when remote terminal 30 issues catalogue browsing order, is sent to File Agent server 50 by home gateway 10, and the file of family's NAS device 20 is then still only stored in family's NAS device 20, and safety is higher.
In one possible implementation, remote terminal 30 can further access the file of family's NAS device 20 after the file directory that family's NAS device 20 is accessed through the above way.Referring to Fig. 3, remote terminal 30 accesses the process of the file of family's NAS device 20, includes the following steps:
Step 106: remote terminal generates file access command according to the first of user the input operation, and file access command is used to access the first file in the file directory of family's NAS device.
Specifically, remote terminal 30 is after the file directory of display family's NAS device 20, user can view the file directory of family's NAS device 20, user can carry out choosing operation to the first file in catalogue, remote terminal 30 chooses operation according to this of user, generates the file access command to access to first file.
For example, the first file shown on user's touch sensitive display unit, remote terminal 30 will be used to access the file access command of the first file according to touch operation generation when the display unit of remote terminal 30 is touch screen.In another example the cursor that mobile remote terminal 30 is shown is moved to the first file by user, and determination key is pressed to choose the first file, remote terminal 30 will be used to access the file access command of the first file according to the generation.In another example the microphone of user against remote terminal 30 is said " the first file ", remote terminal 30 generates the file access command of the first file of access after the voice of parsing user's input.
In actual conditions, this document visit order can be expressed as " GET NAS1/FILE1 ", wherein NAS1 The as mark of target NAS, FILE1 are the mark of the first file.
Step 107: remote terminal connects to remotely administered server by second and sends file access command.
Step 108: file access command is sent to home gateway by the first connection by remotely administered server.
Specifically, remotely administered server 40 connect by establish between home gateway 10 first file access command being sent to home gateway 10 after the file access command for receiving the transmission of remote terminal 30.The implementation of step 108 is similar with the implementation that step 102 medium-long range management server 40 forwards catalogue browsing to request to home gateway 10, and details are not described herein.
Step 109: home gateway obtains the first file according to file access command, from family's NAS device, and is connected by third to File Agent server and send the first file.
Specifically, according to the mark for the first file for including in the order, obtaining the first file from family's NAS device 20 after home gateway 10 receives file access command.
Similar with the acquisition of home gateway 10 mode of file directory in step 103, when home gateway 10 has the permission for reading file from family's NAS device 20, home gateway 10 directly reads first file from family's NAS device 20.And when home gateway 10 does not have the permission for reading file in active family NAS device 20, the file access command received can be sent to family's NAS device 20 by home gateway 10, family's NAS device 20 responds the order, according to the first file of mark location of the first file in the order, and the first file is sent to home gateway 10.
Step 110: remote terminal obtains the first file from File Agent server by the 4th connection.
Specifically, remote terminal 30 obtains the mode of the first file from File Agent server 50, it is similar with the mode that step 104 remote terminal 30 obtains file directory from File Agent server 50, that is, remote terminal 30 can obtain the first file by any mode in aforementioned first to fourth kind of implementation.
By taking the first aforementioned implementation as an example, home gateway 10 connects to the transmission file of remotely administered server 40 by first after sending the first file to File Agent server 50 and is sent completely notice;And file is sent completely notice by the second connection and is sent to remote terminal 30 by remotely administered server 40.Remote terminal 30 is connected to File Agent by the 4th and is taken after receiving this document and being sent completely notice Business device 50 sends the request for obtaining the first file, and File Agent server 50 responds the request, is sent to remote terminal 30 by the first file that the 4th connection uploads home gateway 10.
Remote terminal 30 can also obtain the first file from File Agent server 50 by aforementioned second to the 4th kind of implementation, and the specific embodiment embodiment of the present invention repeats no more.
In above-mentioned technical proposal, catalogue browsing order can be sent to home gateway 10 by remotely administered server 40 by remote terminal 30, home gateway 10 is able to respond received file access command, and first file of family's NAS device 20 is sent to remote terminal 30 by File Agent server 50.Since home gateway 10 is that the first file for requesting access to remote terminal 30 is sent to File Agent server 50, the file in addition to the first file of home gateway 10 is then stored among family's NAS device 20, the failure of File Agent server 50 not will cause these leakages for being only stored in file in family's NAS device 20, and safety is higher.
In the implementation that another kind can plant, after the first file is sent to remote terminal 30 by File Agent server 50, File Agent server 50 deletes the first file locally saved, avoids the leakage of the first file, enhances the safety of file.
In alternatively possible implementation, the second file can be stored in family's NAS device 20 by remote terminal 30 by above-mentioned remotely administered server 40 and File Agent server 50.Referring to Fig. 4, the second file is stored in family's NAS device 20, included the following steps: by remote terminal 30
Step 111: remote terminal connects to File Agent server by the 4th and sends the second file.
Specifically, user is when needing for the second file on remote terminal 30 to be stored in family's NAS device 20, input operation is carried out by the input unit of remote terminal 30, such as touch control operation, the operation for inputting voice, etc., the input operation is similar with the implementation of the first input operation of front, and this will not be detailed here.Remote terminal 30 parses received input operation, generates the order that the second file uploads, executes the order, the second file is sent to File Agent server 50.Wherein, remote terminal 30 has the aforementioned 4th to connect with the foundation of File Agent server 50, which is sent to File Agent server 50 especially by the 4th connection by remote terminal 30.
Step 112: remote terminal connects to remotely administered server by second after the completion of sending the second file to File Agent server and sends file upload notifications.
Specifically, remote terminal 30 after the second file is sent to File Agent server 50, needs that home gateway 10 is notified to obtain the second file from File Agent server 50.In the embodiment of the present invention, remote terminal 30 is established aforementioned second with remotely administered server 40 and is connect, remote terminal 30 especially by this second connect to remotely administered server 40 send file upload success notification.Optionally, it further includes routing information that this document that remote terminal 30 is sent, which uploads in success notification, is used to indicate the corresponding position that second file is stored in family's NAS device 20 by home gateway 10 according to the routing information.
Step 113: file upload notifications are transmitted to home gateway by the first connection by remotely administered server.
Specifically, establishing between remotely administered server 40 and home gateway 10 has aforementioned first connection, this document upload notifications are transmitted to home gateway 10 by first connection by remotely administered server 40.Wherein, the specific implementation of step 113 forwards the implementation of catalogue browsing order similar with 102 medium-long range management server 40 of preceding step to home gateway 10, is not repeated herein.
Step 114: home gateway obtains the second file from File Agent server according to file upload notifications, by third connection, and the second file is stored in family's NAS device.
It is connect specifically, home gateway 10 establishes third with File Agent server 50, home gateway 10 obtains the second file from File Agent server 50 after receiving file upload notifications, especially by third connection.The server in documents pouch of home gateway 10 obtains the second connection, including following implementation:
Mode A includes the mark of the second file in the file upload notifications that remote terminal 30 is sent, and home gateway 10 requests second file to File Agent server 50 according to the mark of second file in file upload notifications.
Mode B, File Agent server 50 is after completing the file transfer between home gateway 10 and remote terminal 30, delete the file locally saved or file directory, in this way, after remote terminal 30 sends the second file to File Agent server 50, File Agent server 50 is used to only be stored with the second file between home gateway 10 and remote terminal 30 among the storage region of file transfer.Home gateway 10 is after receiving file upload notifications, it is the file in the storage region of the distribution of home gateway 10 to 50 demand file proxy server 50 of File Agent server, due to being only stored with the second file in the storage region, therefore, which is sent to home gateway 10 by File Agent server 50.
Second file is stored in family's NAS device 20 by home gateway 10 after obtaining the second file from File Agent server 50.Wherein, if including the routing information for being previously used for specified second file storage location in the file upload notifications that remote terminal 30 is sent, the second file is stored in corresponding position according to the routing information by home gateway 10.If the second file can be stored in default file folder by home gateway 10 not comprising the routing information in the file upload notifications that remote terminal 30 is sent.
In above-mentioned technical proposal, in conjunction with remotely administered server 40 and File Agent server 50, the second file can be stored among family's NAS device 20 by remote terminal 30, facilitate the long-range storage file of user.
In alternatively possible implementation, remote terminal 30 has aforementioned second to connect with the foundation of remotely administered server 40, and the first connection is established between home gateway 10 and remotely administered server 40.Remote terminal 30 can send the order being managed to the file/folder in family's NAS device 20 to home gateway 10 by remotely administered server 40, and instruction home gateway 10 is managed family's NAS device 20 according to the order.Referring to Fig. 5, remote terminal 30 remotely manages family's NAS device 20, is included the following steps:
Step 115: remote terminal generates file management command according to the second of user the input operation.
Specifically, the implementation of the second input operation is similar with the implementation of the first input operation of front, this will not be detailed here.Remote terminal 30 generates corresponding file management command after obtaining the second input operation, according to the second input operation.
For example, file management command includes deleting file command, which can be expressed as " DEL NAS1/FILE3 ", wherein DEL is the abbreviation of delete, shows that the order is to delete the order of file or folder;NAS1 is the mark for the NAS device that remote terminal 30 requests management, and FILE3 is the requested mark for needing deleted file of remote terminal 30.
In another example, file management command includes mobile file command, the order can be expressed as " MOV NAS1/FILE3to xx ", wherein, MOV is the abbreviation of move, shows that this order is the order of mobile file/folder: NAS1 is the mark for the NAS device that remote terminal 30 requests management, and FILE3 is the mark of the requested file that need to be to be moved of remote terminal 30, xx is the mobile target position of this document folder, i.e., FILE3 is moved to xx.
In another example, file management command includes Rename file order, the order can be expressed as " MOD NAS1/FILE3to yy ", wherein, MOD is the abbreviation of modify, show that this order is the order renamed to file/folder: NAS1 is the mark for the NAS device that remote terminal 30 requests management, and FILE3 is the mark of the requested file for needing to be renamed of remote terminal 30, and yy is the title after this document folder renaming i.e. by FILE3 renamed as yy.
Remote terminal 30 continues to execute step 116 after generating file management command.
Step 116: remote terminal connects to remotely administered server by second and sends file management command.
Step 117: remotely administered server is connected to home gateway by first and is transmitted a document administration order;
Specifically, the implementation of step 116 forwards the implementation of catalogue browsing order similar with 102 medium-long range management server 40 of preceding step to home gateway 10, it is not repeated herein.
Step 118: home gateway carries out management corresponding with file management command to the file in family's NAS device and operates according to file management command.
Specifically, home gateway 10 responds received file management command if home gateway 10 possesses the permission being managed to the file/folder of family's NAS device 20, corresponding management is carried out to file/folder and is operated.
If home gateway 10 has the permission that the file/folder to family's NAS device 20 is managed, then received file management command is sent to family's NAS device 20 by home gateway 10, family's NAS device 20 responds this document administration order, carries out corresponding management to file/folder and operates.
In above-mentioned technical proposal, remote terminal 30 can pass through remotely administered server 40, the administration order that operation is managed to the file in family's NAS device 20 is forwarded to home gateway 10, home gateway 10 is able to respond the administration order, operation is managed to file in family's NAS device 20, it realizes long-range management of the remote terminal 30 to family's NAS device 20, user is facilitated to be managed the file in family's NAS device 20.
The embodiment of the present invention also provides a kind of method for accessing family's NAS device 20, which connect with home gateway 10, and home gateway 10 is established third with File Agent server 50 and connect, and remote terminal 30 is established the 4th with File Agent server 50 and connect.Wherein, the third connection between home gateway 10 and File Agent server 50 can be established by way of four previously described one to it, far The 4th connection between journey terminal 30 and File Agent server 50 again may be by previously described various modes and be established.
It should be noted that, third connection between home gateway 10 and File Agent server 50 is when its of front is established by the way of four, home gateway 10 is established third with File Agent server 50 by the account of log file proxy server 50 and is connect, and remote terminal 30 can also establish the 4th with File Agent server 50 by the account of log file proxy server 50 and connect.In this case, the technical solution of the file directory of family's NAS device 20 is uploaded to File Agent server 50 for following 10 active of home gateway to be introduced, home gateway 10 can not establish the first connection with remotely administered server 40, and remote terminal 30 can not also establish the second connection with remotely administered server 40.
It referring to Fig. 6, is connect based on home gateway with the third that File Agent server is established and remote terminal is established the 4th with File Agent server and connect, the method for access family's NAS device provided in this embodiment, method includes the following steps:
Step 201: home gateway is connected by third the file directory of family's NAS device being sent to File Agent server.
Specifically, home gateway is established after third connect with File Agent server, even if being not received by previously described catalogue browsing order, it still can actively be connected by third and the catalogue of family's NAS device is sent to File Agent server.
Step 202: remote terminal obtains the file directory of family's NAS device by the 4th connection from File Agent server.
Specifically, remote terminal is that File Agent server is established after the 4th connection, when user needs to obtain the catalogue of family's NAS device, remote terminal can obtain the catalogue of family's NAS device by the 4th connection from File Agent server.For example, user clicks the mark of the family's NAS device 1 shown on remote terminal, remote terminal is the file directory that the 4th connection of meeting obtains family's NAS device 1 from File Agent server.
Step 203: remote terminal shows the file directory of family's NAS device.
Specifically, remote terminal shows this document catalogue by the display unit of remote terminal after the file that File Agent server obtains family's NAS device, allow users to view family's NAS device File directory.
In above-mentioned technical proposal, this document catalogue is actively sent to File Agent server by home gateway, the remote terminal of the file directory of demand family NAS device can directly quickly obtain file directory from File Agent server, and not have to obtain file directory by the way of previously described transmission catalogue browsing order.Due to not needing to forward catalogue browsing order by remotely administered server, the time can be saved, the time-consuming that remote terminal obtains file directory is reduced, can also save the transfer resource of communication system.Further, when number of files is more in family's NAS device, the data volume of file directory is also larger, and family's NAS device is sent taking a long time for File Agent server by home gateway.In present embodiment, since file directory is actively sent to File Agent server by home gateway, remote terminal is when needing to obtain this document catalogue, this document catalogue has stored in File Agent server, remote terminal directly can obtain file directory from File Agent server, it avoids remote terminal to need to wait home gateway that file directory is sent to File Agent server, is further reduced the time-consuming that remote terminal obtains file directory.
In one possible implementation, after the file directory in family's NAS device has altered, the file directory after change is sent to File Agent server by home gateway, and remote terminal is enabled to obtain the file directory of last state.Its implementation can be with are as follows: first, family's NAS device after file directory change, can actively report that home gateway knows that file directory changes according to this report, and the catalogue after change is sent to File Agent server to home gateway.Second, home gateway periodically carries out consistency check to the file directory in family's NAS device, and after checking file directory change, the catalogue after change is sent to File Agent server.
Above-mentioned implementation enables to the file directory saved in File Agent server to be in last state always, guarantees that remote terminal can obtain the file directory of last state of family's NAS device from File Agent server.
The embodiment of the present invention also provides a kind of system for accessing family's NAS device 20, the system includes: family's NAS device 20, the home gateway 10 connecting with family NAS device 20, the remotely administered server 40 for establishing with home gateway 10 first connection, the remote terminal 30 for establishing with remotely administered server 40 second connection and establishes the File Agent server 50 that third is connect with home gateway 10, and remote terminal 30 is established the 4th with File Agent server 50 and connect;
Wherein, remote terminal 30 is used for: being connected by second to remotely administered server 40 and is sent catalogue browsing order;
Remotely administered server 40 is used for: catalogue browsing order being forwarded to home gateway 10 by the first connection;
Home gateway 10 is used for: according to catalogue browsing order, being connected by third the file directory of family's NAS device 20 being sent to File Agent server 50;
Remote terminal 30 is also used to: obtaining the file directory of family's NAS device 20 from File Agent server 50 by the 4th connection;And show the file directory of family's NAS device 20.
In some possible implementations, remotely administered server 40 is also used to: distributing File Agent server 50 for home gateway 10, and the address of File Agent server 50 is sent to by home gateway 10 by the first connection, and the address of File Agent server 50 is sent to by remote terminal 30 by the second connection;
Home gateway 10 is also used to: according to the address for the File Agent server 50 that remotely administered server 40 is sent, being established third with File Agent server 50 and is connect;
Remote terminal 30 is also used to: according to the address for the File Agent server 50 that remotely administered server 40 is sent, being established the 4th with File Agent server 50 and is connect.
In some possible implementations, home gateway 10 is also used to: after the file directory of family's NAS device 20 is sent to File Agent server 50, being connected by first to the transmission of remotely administered server 40 catalogue and is sent completely notice;
Remotely administered server 40 is also used to: catalogue being sent completely notice by the second connection and is sent to remote terminal 30, catalogue is sent completely file directory of the notice for making remote terminal 30 obtain by the 4th connection family's NAS device 20 from File Agent server 50.
In some possible implementations, remote terminal 30 is also used to: generating file access command according to the first of user the input operation, file access command is used to access the first file in the file directory of family's NAS device 20;And it connects by second to remotely administered server 40 and sends file access command;
Remotely administered server 40 is also used to: file access command being sent to home gateway 10 by the first connection;
Home gateway 10 is also used to: according to file access command, obtaining the first file from family's NAS device 20, and connect by third to File Agent server 50 and send the first file;
Remote terminal 30 is also used to: obtaining the first file from File Agent server 50 by the 4th connection.
In some possible implementations, home gateway 10 is also used to: after sending the first file to File Agent server 50, being connected by first to the transmission file of remotely administered server 40 and is sent completely notice;
Remotely administered server 40 is also used to: file being sent completely notice by the second connection and is sent to remote terminal 30, file is sent completely notice for making remote terminal 30 obtain the first file from File Agent server 50 by the 4th connection.
In some possible implementations, File Agent server 50 is used for: after remote terminal 30 obtains the first file from File Agent server 50 by the 4th connection, deleting the first file locally saved.
In some possible implementations, remote terminal 30 is also used to: being connected by the 4th to File Agent server 50 and is sent the second file;And after the completion of sending the second file to File Agent server 50, connects by second to remotely administered server 40 and send file upload notifications;
Remotely administered server 40 is also used to: file upload notifications being transmitted to home gateway 10 by the first connection;
Home gateway 10 is also used to: according to file upload notifications, obtaining the second file from File Agent server 50 by third connection, and the second file is stored in family's NAS device 20.
In some possible implementations, remote terminal 30 is also used to: being inputted operation according to the second of user and is generated file management command, file management command includes at least one deleted in file command, mobile file command and Rename file order;And it connects by second to remotely administered server 40 and sends file management command;
Remotely administered server 40 is also used to: being connected by first to home gateway 10 and is transmitted a document administration order;
Home gateway 10 is also used to: according to file management command, being carried out management corresponding with file management command to the file in family's NAS device 20 and is operated.
The embodiment of the present invention also provides a kind of system for accessing family's NAS device, system includes: family's NAS device, the home gateway connecting with family NAS device, establishes with home gateway 10 the File Agent server that third is connect, and establishes the 4th remote terminal connecting with File Agent server;
Wherein, home gateway is used for: being connected by third the file directory of family's NAS device being sent to File Agent server;
Remote terminal is used for: obtaining the file directory of family's NAS device from File Agent server by the 4th connection;And show the file directory of family's NAS device.
In some possible implementations, the system further include: the remotely administered server of the first connection is established with home gateway, remote terminal and remotely administered server 40 establish the second connection;
Remotely administered server is used for: being distributed File Agent server for home gateway, and the address of File Agent server is sent to home gateway by the first connection, and the address of File Agent server is sent to remote terminal by the second connection;
Home gateway is also used to: according to the address for the File Agent server that remotely administered server is sent, being established third with File Agent server and is connect;
Remote terminal is also used to: according to the address for the File Agent server that remotely administered server is sent, being established the 4th with File Agent server and is connect.
The embodiment of the present invention also provides a kind of remotely administered server, and referring to Fig. 7, which includes:
Network interface 301 for establishing the first connection with home gateway and establishing the second connection with remote terminal, and receives the catalogue browsing order that remote terminal is sent by the first connection;
Memory 302, for storing instruction, and storage message of the network interface 301 from home gateway and remote terminal reception;
Processor 303 is coupled with network interface 301 and memory 302 respectively, and for executing the instruction in memory 302, to execute following steps when executing instruction: the port connecting to network interface 301 with home gateway configures, to establish the first connection;The port connecting to network interface 301 with remote terminal configures, to establish the second connection;The catalogue browsing order sent according to the received remote terminal of network interface 301 generates the catalogue browsing order for being transmitted to home gateway;
Network interface 301 is also used to: being sent to home gateway by the catalogue browsing order for being transmitted to home gateway that the first connection generates processor 303, catalogue browsing order is for making home gateway that the file directory of family's NAS device is sent to File Agent server.
In some possible implementations, processor 303 is also used to: distributing File Agent server for home gateway;
Network interface 301 is also used to: the address of File Agent server being sent to home gateway by the first connection, is connect so that home gateway establishes third with File Agent server according to the address of File Agent server;And the address of File Agent server is sent to by remote terminal by the second connection, it is connect so that remote terminal establishes the 4th with File Agent server according to the address of File Agent server.
In some possible implementations, network interface 301 is also used to: being received the catalogue that home gateway is sent by the first connection and is sent completely notice;
Processor 303 is also used to: being sent completely the catalogue for notifying generation to be transmitted to remote terminal according to the catalogue that the received home gateway of network interface 301 is sent and is sent completely notice;
Network interface 301 is also used to: being sent completely notice by the second connection catalogue for being transmitted to remote terminal for generating processor 303 and is sent to remote terminal, catalogue is sent completely notice and obtains the file directory of family's NAS device from File Agent server for connecting remote terminal by the 4th.
In some possible implementations, network interface 301 is also used to: receiving the mesh file access command that remote terminal is sent by the second connection;
Processor 303 is also used to: the file access command sent according to the received remote terminal of network interface 301 generates the file access command for being transmitted to home gateway;
Network interface 301 is also used to: being sent to home gateway by the file access command for being transmitted to home gateway that the first connection generates processor 303, file access command sends requested first file of file access command for connecting home gateway to File Agent server by third.
In some possible implementations, network interface 301 is also used to: being received the file that home gateway is sent by the first connection and is sent completely notice;
Processor 303 is also used to: being sent completely the file for notifying generation to be transmitted to remote terminal according to the file that the received home gateway of network interface 301 is sent and is sent completely notice;
Network interface 301 is also used to: being sent completely notice by the file for being transmitted to remote terminal that the second connection generates processor 303 and is sent to remote terminal, file is sent completely notice for making remote terminal obtain the first file from File Agent server by the 4th connection.
In some possible implementations, network interface 301 is also used to: receiving the file upload notifications that remote terminal is sent by the second connection;
Processor 303 is also used to: the file upload notifications sent according to the received remote terminal of network interface 301 generate the file upload notifications for being transmitted to home gateway;
Network interface 301 is also used to: being sent to home gateway by the file upload notifications for being transmitted to home gateway that the first connection generates processor 303, file upload notifications are for making home gateway obtain the second file from File Agent server by third connection.
In some possible implementations, network interface 301 is also used to: receiving the file management command that remote terminal is sent by the second connection;
Processor 303 is also used to: the file management command sent according to the received remote terminal of network interface 301 generates the file management command for being transmitted to home gateway;
Network interface 301 is also used to: being sent to home gateway by the file management command for being transmitted to home gateway that the first connection generates processor 303, file management command is used to that home gateway to be made to carry out management corresponding with file management command to the file in family's NAS device to operate.
The performed specific implementation operated of the processor and network interface that the above remotely administered server includes is referred to the correspondence step executed in the embodiment of Fig. 2-5 by remotely administered server, and the embodiment of the present invention repeats no more.
The embodiment of the present invention also provides a kind of home gateway, comprising:
Network interface, for being connect with family NAS device, and for establishing the first connection with remotely administered server, and it is connect for establishing third with File Agent server, and for receiving the catalogue browsing order that remotely administered server is sent by the first connection;
Memory for storing instruction, and is stored from the received message of remotely administered server, and is stored from family's NAS device and the received file of File Agent server or file directory;
Processor is coupled with network interface and memory respectively, for executing the instruction in memory, To perform the following operations when executing instruction: the port connecting to network interface with family NAS device, remotely administered server and File Agent server configures;The catalogue browsing order that remotely administered server is sent is responded, file directory is obtained from family's NAS device by network interface;
Network interface is also used to: being connected by third file directory being sent to File Agent server, so that remote terminal can obtain file directory from File Agent server.
In some possible implementations, processor is also used to: after the file directory of family's NAS device is sent to File Agent server by network interface, being generated catalogue and is sent completely notice;
Network interface is also used to: being connected by first to remotely administered server transmission catalogue and is sent completely notice, so that catalogue is sent completely notice by remotely administered server is sent to remote terminal, catalogue is sent completely notice and obtains the file directory of family's NAS device from File Agent server for connecting remote terminal by the 4th.
In some possible implementations, network interface is also used to: receiving the file access command that remotely administered server is sent by the first connection;
Processor is also used to: the file access command that response remotely administered server is sent obtains requested first file of file access command from family's NAS device by network interface;
Network interface is also used to: being connected by third the first file being sent to File Agent server, so that remote terminal can obtain file directory from File Agent server.
In some possible implementations, processor is also used to: after the first file is sent to File Agent server by network interface, being generated file and is sent completely notice;
Network interface is also used to: being connected by first to remotely administered server transmission file and is sent completely notice, so that file is sent completely notice by remotely administered server is sent to remote terminal, file is sent completely notice for making remote terminal obtain the first file from File Agent server by the 4th connection.
In some possible implementations, network interface is also used to: receiving the file upload notifications that remotely administered server is sent by the first connection;
Processor is also used to: the file upload notifications that response remotely administered server is sent indicate that network interface obtains the second file from File Agent server, and indicate that the second file is stored in family's NAS device by network interface.
In some possible implementations, network interface is also used to: receiving the file management command that remotely administered server is sent by the first connection;
Processor is also used to: the file management command that response remotely administered server is sent carries out management corresponding with file management command to the file in family's NAS device by network interface and operates.
The performed specific implementation operated of the processor and network interface that upper home gateway includes is referred to the correspondence step executed in the embodiment of Fig. 2-5 by home gateway, and the embodiment of the present invention repeats no more.
The embodiment of the present invention also provides a kind of home gateway, comprising:
Network interface for connecting with family NAS device, and is connect for establishing third with File Agent server;And connected by the third and the file directory of family's NAS device is sent to the File Agent server, so that remote terminal obtains the file directory from the File Agent server;
Memory, for storing instruction and from the received file of family's NAS device or file directory;
Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with family's NAS device configures, and the port connecting to the network interface with File Agent business device configures, and connect so that the network interface establishes third with the File Agent server.
The performed specific implementation operated of the processor and network interface that upper home gateway includes is referred to the correspondence step executed in the embodiment of Fig. 6 by home gateway, and the embodiment of the present invention repeats no more.
The embodiment of the present invention also provides a kind of remote terminal, comprising:
Network interface for establishing the second connection with remotely administered server, and is established the 4th with File Agent server and is connect;
Memory for storing instruction, and is stored from the received file of File Agent server or file directory;
Processor, it is coupled respectively with network interface, display unit and memory, for executing the instruction in memory, to perform the following operations when executing instruction: the port connecting to network interface with remotely administered server configures, so that network interface and remotely administered server establish the second connection;The port connecting to network interface with File Agent server configures, so that network interface and File Agent service Device establishes the 4th connection;And generate the catalogue browsing order sent to remotely administered server;
Network interface is also used to: being connected by second to remotely administered server and is sent catalogue browsing order, and obtains the file directory of family's NAS device from File Agent server by the 4th connection;
Remote terminal further include: display unit, for showing file directory.
In some possible implementations, network interface is also used to: being received the catalogue that remotely administered server is sent by the second connection and is sent completely notice;
Processor is also used to: being sent completely notice according to catalogue, instruction network interface obtains the file directory of family's NAS device by the 4th connection from File Agent server.
In some possible implementations, remote terminal further include:
Input unit, for receiving the first input operation of user;
Processor is also used to: being operated according to the first input, is generated file access command, file access command is used to access the first file in the file directory of family's NAS device;
Network interface is also used to: being connected by second to remotely administered server and is sent file access command;And the first file is obtained from File Agent server by the 4th connection.
In some possible implementations, network interface is also used to: being received the file that remotely administered server is sent by the second connection and is sent completely notice;
Processor is also used to: being sent completely notice according to file, instruction network interface obtains the first file from File Agent server by the 4th connection.
In some possible implementations, network interface is also used to: being connected by the 4th to File Agent server and is sent the second file;
Processor is also used to: after the completion of network interface sends the second file to File Agent server, generating file upload notifications;
Network interface is also used to: being connected by second to remotely administered server and is sent file upload notifications, so that file upload notifications are forwarded to home gateway by remotely administered server, second file is stored in family's NAS device by file upload notifications for making home gateway obtain the second file from File Agent server.
In some possible implementations, input unit is also used to: receiving the second input operation of user;
Processor is also used to: being inputted and is operated according to second, generate file management command, file management command includes at least one deleted in file command, mobile file command and Rename file order;
Network interface is also used to: being connected by second to remotely administered server and is sent file management command, so that file management command is forwarded to home gateway by remotely administered server, file management command carries out management corresponding with file management command to the file in family's NAS device and operates for making home gateway.
The specific implementation of operation performed by processor that the above remote terminal includes, network interface is referred to the correspondence step executed in the embodiment of Fig. 2-6 by remote terminal, and the embodiment of the present invention repeats no more.
The embodiment of the present invention also provides a kind of File Agent server, and this document proxy server includes:
Network interface, it is connect for establishing third with home gateway, and the 4th is established with remote terminal and is connect, and file directory or file are sent to remote terminal for connecting the file directory or file that receive family's NAS device that home gateway is sent by third, and for connecting by the 4th;
Memory for storing instruction, and is stored from home gateway and the file or file directory of remote terminal reception;
Processor, it is coupled respectively with network interface, display unit and memory, for executing the instruction in memory, to be performed the following operations when executing instruction: configuring to the port of network interface and home gateway, connect so that network interface establishes third with home gateway;The port connecting to network interface with remote terminal configures, and connect so that network interface establishes the 4th with remote terminal.
In some possible implementations, network interface is also used to: receiving the first file that remote terminal is sent by the 4th connection, and connected by third and the first file is sent to home gateway, so that the first file is stored in family's NAS device by home gateway.
The performed specific implementation operated of the processor and network interface that the above File Agent server includes is referred to the correspondence step executed in the embodiment of Fig. 2-4 by File Agent server, and the embodiment of the present invention repeats no more.
It should be noted that the structure of the above home gateway, remote terminal and File Agent server is equally referred to Fig. 7.
The above processor can be a processing element, be also possible to the general designation of multiple processing elements.For example, Above-mentioned processor can be central processing unit (English: central processing unit, CPU), it is also possible to specific integrated circuit (English: application specific intergrated circuit, ASIC), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention, such as: one or more microprocessors (English: digital singnal processor, DSP), or, one or more field programmable gate array (English: field programmable gate array, FPGA).
Memory can be a memory element, be also possible to the general designation of multiple memory elements, and for storing parameter, data required for executable program code or terminal, server, home gateway etc. are run etc..And memory may include random access memory (English: random-access memory, it RAM), also may include nonvolatile memory (English: non-volatile memory, NVM), such as magnetic disk storage, flash memory (Flash) etc..
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
Home gateway and remotely administered server establish the first connection, and remote terminal and remotely administered server establish the second connection, in this way, catalogue browsing order can be sent to home gateway by remotely administered server by remote terminal.And home gateway is established third with File Agent server and is connect, remote terminal is established the 4th with File Agent server and is connect, in this way, home gateway is able to respond received catalogue browsing order, the file directory of family's NAS device is sent to by remote terminal by File Agent server.The IP address that above-mentioned technical proposal is not only suitable for the WAN of home gateway is the situation of public network address, and the IP address for being also applied for the WAN of home gateway is the situation of private net address, applied widely.Moreover, in above-mentioned technical proposal, remote terminal sends catalogue browsing order to home gateway by the existing remotely administered server being managed to home gateway, and not only implementation is simple, and cost is relatively low, is conducive to the extensive use of remote terminal access family's NAS device technology.Furthermore the catalogue of family's NAS device only when remote terminal issues catalogue browsing order, is sent to File Agent server by home gateway, and the file of family's NAS device is then still only stored in family's NAS device, and safety is higher.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program product.Therefore, the form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention.Moreover, the present invention can be used in one or more It wherein include the form of computer program product implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of computer usable program code.
These computer program codes, which may also be stored in, to be able to guide in computer or other programmable data processing devices computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates the manufacture including command device, which realizes the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram.
Obviously, those skilled in the art various changes and modifications can be made to the invention without departing from the spirit and scope of the present invention.If then the present invention is also intended to include these modifications and variations in this way, these modifications and changes of the present invention is within the scope of the claims of the present invention and its equivalent technology.

Claims (42)

  1. A method of access home network additional storage NAS device, family's NAS device is connect with home gateway, it is characterized in that, the home gateway and remotely administered server foundation have the first connection, remote terminal and remotely administered server foundation have the second connection, the home gateway is established third with File Agent server and is connect, and the remote terminal is established the 4th with the File Agent server and connect, which comprises
    The remote terminal connects to the remotely administered server by described second and sends catalogue browsing order;
    The catalogue browsing order is forwarded to the home gateway by first connection by the remotely administered server;
    The home gateway is connected by the third file directory of family's NAS device being sent to the File Agent server according to the catalogue browsing order;
    The remote terminal obtains the file directory of family's NAS device by the 4th connection from the File Agent server;
    The remote terminal shows the file directory of family's NAS device.
  2. The method as described in claim 1, it is characterized in that, the File Agent server is that the remotely administered server is the home gateway distribution, and the address of the File Agent server is sent to the home gateway by first connection by the remotely administered server, and the address of the File Agent server is sent to the remote terminal by second connection.
  3. It is method according to claim 1 or 2, which is characterized in that it is connected before the file directory that the File Agent server obtains family's NAS device in the remote terminal by the described 4th, the method also includes:
    The home gateway connects to remotely administered server transmission catalogue by described first after the file directory of family's NAS device is sent to the File Agent server and is sent completely notice;
    The catalogue is sent completely notice by second connection and is sent to the remote terminal by the remotely administered server.
  4. Method as described in any one of claims 1 to 3, which is characterized in that after the file directory that the remote terminal shows family's NAS device, the method also includes:
    The remote terminal generates file access command according to the first of user the input operation, and the file access command is used to access the first file in the file directory of family's NAS device;
    The remote terminal connects to the remotely administered server by described second and sends the file access command;
    The file access command is sent to the home gateway by first connection by the remotely administered server;
    The home gateway obtains first file according to the file access command, from family's NAS device, and is connected by the third to the File Agent server and send first file;
    The remote terminal obtains first file from the File Agent server by the 4th connection.
  5. Method as claimed in claim 4, which is characterized in that before the remote terminal obtains first file from the File Agent server by the 4th connection, the method also includes:
    The home gateway connects to remotely administered server transmission file by described first after sending first file to the File Agent server and is sent completely notice;
    The file is sent completely notice by second connection and is sent to the remote terminal by the remotely administered server.
  6. Method as described in claim 4 or 5, which is characterized in that after the remote terminal obtains first file from the File Agent server by the 4th connection, the method also includes:
    The File Agent server deletes first file locally saved.
  7. Such as method as claimed in any one of claims 1 to 6, which is characterized in that after the file directory that the remote terminal shows family's NAS device, the method also includes:
    The remote terminal connects to the File Agent server by the described 4th and sends the second file;
    The remote terminal connects to the remotely administered server by described second after the completion of sending second file to the File Agent server and sends file upload notifications;
    The file upload notifications are transmitted to described by the remotely administered server by first connection Home gateway;
    The home gateway obtains second file from the File Agent server according to the file upload notifications, by third connection, and second file is stored in family's NAS device.
  8. Method as described in any one of claim 1 to 7, which is characterized in that after the file directory that the remote terminal shows family's NAS device, further includes:
    The remote terminal inputs operation according to the second of user and generates file management command, and the file management command includes at least one deleted in file command, mobile file command and Rename file order;
    The remote terminal connects to the remotely administered server by described second and sends the file management command;
    The remotely administered server connects to the home gateway by described first and forwards the file management command;
    The home gateway carries out management corresponding with the file management command to the file in family's NAS device and operates according to the file management command.
  9. A method of access family's NAS device, family's NAS device is connect with home gateway, which is characterized in that the home gateway is established third with File Agent server and connect, remote terminal is established the 4th with the File Agent server and is connect, which comprises
    The home gateway is connected by the third file directory of family's NAS device being sent to the File Agent server;
    The remote terminal obtains the file directory of family's NAS device by the 4th connection from the File Agent server;
    The remote terminal shows the file directory of family's NAS device.
  10. Method as claimed in claim 9, it is characterized in that, the home gateway and remotely administered server foundation have the first connection, remote terminal and remotely administered server foundation have the second connection, the remotely administered server is that the home gateway distributes the File Agent server, and the address of the File Agent server is sent to the home gateway by first connection by the remotely administered server, and the address of the File Agent server is sent to the remote terminal by second connection.
  11. A kind of system accessing family's NAS device, it is characterized in that, the system comprises: family's NAS device, the home gateway connecting with family's NAS device, the remotely administered server for establishing with the home gateway the first connection, the remote terminal for establishing with the remotely administered server the second connection and with the home gateway File Agent server that third is connect is established, the remote terminal is established the 4th with the File Agent server and connect;
    Wherein, the remote terminal is used for: being connected by described second to the remotely administered server and is sent catalogue browsing order;
    The remotely administered server is used for: the catalogue browsing order being forwarded to the home gateway by first connection;
    The home gateway is used for: according to the catalogue browsing order, being connected by the third file directory of family's NAS device being sent to the File Agent server;
    The remote terminal is also used to: obtaining the file directory of family's NAS device from the File Agent server by the 4th connection;And show the file directory of family's NAS device.
  12. System as claimed in claim 11, it is characterised in that:
    The remotely administered server is also used to: distributing the File Agent server for the home gateway, and the address of the File Agent server is sent to by the home gateway by first connection, and the address of the File Agent server is sent to by the remote terminal by second connection;
    The home gateway is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the third with the File Agent server and is connect;
    The remote terminal is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the described 4th with the File Agent server and is connect.
  13. System as described in claim 11 or 12, it is characterised in that:
    The home gateway is also used to: after the file directory of family's NAS device is sent to the File Agent server, being connected by described first to remotely administered server transmission catalogue and is sent completely notice;
    The remotely administered server is also used to: the catalogue being sent completely notice by second connection and is sent to the remote terminal, the catalogue is sent completely notice for making the remote terminal pass through institute State the file directory that the 4th connection obtains family's NAS device from the File Agent server.
  14. Such as the described in any item systems of claim 11 to 13, it is characterised in that:
    The remote terminal is also used to: generating file access command according to the first of user the input operation, the file access command is used to access the first file in the file directory of family's NAS device;And it connects by described second to the remotely administered server and sends the file access command;
    The remotely administered server is also used to: the file access command being sent to the home gateway by first connection;
    The home gateway is also used to: according to the file access command, obtaining first file from family's NAS device, and connect by the third to the File Agent server and send first file;
    The remote terminal is also used to: obtaining first file from the File Agent server by the 4th connection.
  15. System as claimed in claim 14, it is characterised in that:
    The home gateway is also used to: after sending first file to the File Agent server, being connected by described first to remotely administered server transmission file and is sent completely notice;
    The remotely administered server is also used to: the file being sent completely notice by second connection and is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
  16. System as described in claims 14 or 15, it is characterised in that:
    The File Agent server is used for: after the remote terminal obtains first file from the File Agent server by the 4th connection, deleting first file locally saved.
  17. Such as the described in any item systems of claim 11 to 16, it is characterised in that:
    The remote terminal is also used to: being connected by the described 4th to the File Agent server and is sent the second file;And after the completion of sending second file to the File Agent server, connects by described second to the remotely administered server and send file upload notifications;
    The remotely administered server is also used to: the file upload notifications being transmitted to the home gateway by first connection;
    The home gateway is also used to: according to the file upload notifications, obtaining second file from the File Agent server by third connection, and second file is stored in family's NAS device.
  18. Such as the described in any item systems of claim 11 to 17, it is characterised in that:
    The remote terminal is also used to: being inputted operation according to the second of user and is generated file management command, the file management command includes at least one deleted in file command, mobile file command and Rename file order;And it connects by described second to the remotely administered server and sends the file management command;
    The remotely administered server is also used to: being connected by described first to the home gateway and is forwarded the file management command;
    The home gateway is also used to: according to the file management command, being carried out management corresponding with the file management command to the file in family's NAS device and is operated.
  19. A kind of system accessing family's NAS device, it is characterized in that, the system comprises: family's NAS device, the home gateway connecting with family's NAS device, the File Agent server that third connect is established with the home gateway, establishes the 4th remote terminal connecting with the File Agent server;
    Wherein, the home gateway is used for: being connected by the third file directory of family's NAS device being sent to the File Agent server;
    The remote terminal is used for: obtaining the file directory of family's NAS device from the File Agent server by the 4th connection;And show the file directory of family's NAS device.
  20. System as claimed in claim 19, which is characterized in that the system also includes: the remotely administered server of the first connection is established with the home gateway, the remote terminal and the remotely administered server establish the second connection;
    The remotely administered server is used for: distributing the File Agent server for the home gateway, and the address of the File Agent server is sent to by the home gateway by first connection, and the address of the File Agent server is sent to by the remote terminal by second connection;
    The home gateway is also used to: being taken according to the File Agent that the remotely administered server is sent The address of business device, establishes the third with the File Agent server and connect;
    The remote terminal is also used to: according to the address for the File Agent server that the remotely administered server is sent, being established the described 4th with the File Agent server and is connect.
  21. A kind of remotely administered server characterized by comprising
    Network interface for establishing the first connection with home gateway and establishing the second connection with remote terminal, and receives the catalogue browsing order that the remote terminal is sent by first connection;
    Memory for storing instruction, and stores message of the network interface from the home gateway and the remote terminal reception;
    Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to execute following steps when executing described instruction: the port connecting to the network interface with the home gateway is configured, to establish first connection;The port connecting to the network interface with the remote terminal configures, to establish second connection;The catalogue browsing order for being transmitted to the home gateway is generated according to the catalogue browsing order that the received remote terminal of the network interface is sent;
    The network interface is also used to: being sent to the home gateway by the catalogue browsing order for being transmitted to the home gateway that first connection generates the processor, the catalogue browsing order is for making the home gateway that the file directory of family's NAS device is sent to File Agent server.
  22. Remotely administered server as claimed in claim 21, which is characterized in that the processor is also used to: the File Agent server is distributed for the home gateway;
    The network interface is also used to: the address of the File Agent server being sent to the home gateway by first connection, is connect so that the home gateway establishes the third with the File Agent server according to the address of the File Agent server;And the address of the File Agent server is sent to by the remote terminal by second connection, it is connect so that the remote terminal establishes the described 4th with the File Agent server according to the address of the File Agent server.
  23. Remotely administered server as described in claim 21 or 22, which is characterized in that the network interface is also used to: the catalogue that the home gateway is sent is received by first connection and is sent completely notice;
    The processor is also used to: being sent completely the catalogue for notifying generation to be transmitted to the remote terminal according to the catalogue that the received home gateway of the network interface is sent and is sent completely notice;
    The network interface is also used to: being sent completely notice by the second connection catalogue for being transmitted to the remote terminal for generating the processor and is sent to the remote terminal, the catalogue is sent completely notice and obtains the file directory of family's NAS device from the File Agent server for connecting the remote terminal by the described 4th.
  24. Such as the described in any item remotely administered servers of claim 21 to 23, which is characterized in that the network interface is also used to: receiving the mesh file access command that the remote terminal is sent by second connection;
    The processor is also used to: the file access command for being transmitted to the home gateway is generated according to the file access command that the received remote terminal of the network interface is sent;
    The network interface is also used to: being sent to the home gateway by the file access command for being transmitted to the home gateway that first connection generates the processor, the file access command sends requested first file of file access command for connecting the home gateway to the File Agent server by the third.
  25. Remotely administered server as claimed in claim 24, which is characterized in that the network interface is also used to: the file that the home gateway is sent is received by first connection and is sent completely notice;
    The processor is also used to: being sent completely the file for notifying generation to be transmitted to the remote terminal according to the file that the received home gateway of the network interface is sent and is sent completely notice;
    The network interface is also used to: being sent completely notice by the file for being transmitted to the remote terminal that second connection generates the processor and is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
  26. Such as the described in any item remotely administered servers of claim 21 to 25, which is characterized in that the network interface is also used to: receiving the file upload notifications that the remote terminal is sent by second connection;
    The processor is also used to: the file sent according to the received remote terminal of the network interface Upload notifications generate the file upload notifications for being transmitted to the home gateway;
    The network interface is also used to: being sent to the home gateway by the file upload notifications for being transmitted to the home gateway that first connection generates the processor, the file upload notifications are for making the home gateway obtain second file from the File Agent server by third connection.
  27. Such as the described in any item remotely administered servers of claim 21 to 26, which is characterized in that the network interface is also used to: receiving the file management command that the remote terminal is sent by second connection;
    The processor is also used to: the file management command for being transmitted to the home gateway is generated according to the file management command that the received remote terminal of the network interface is sent;
    The network interface is also used to: being sent to the home gateway by the file management command for being transmitted to the home gateway that first connection generates the processor, the file management command is used to that the home gateway to be made to carry out management corresponding with the file management command to the file in family's NAS device to operate.
  28. A kind of home gateway characterized by comprising
    Network interface, for being connect with family NAS device, and for establishing the first connection with remotely administered server, and it is connect for establishing third with File Agent server, and for receiving the catalogue browsing order that the remotely administered server is sent by first connection;
    Memory for storing instruction, and is stored from the received message of remotely administered server, and is stored from family's NAS device and the received file of File Agent server or file directory;
    Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with family's NAS device, the remotely administered server and the File Agent server configures;The catalogue browsing order that the remotely administered server is sent is responded, file directory is obtained from family's NAS device by the network interface;
    The network interface is also used to: being connected by the third file directory being sent to File Agent server, so that the remote terminal can obtain the file directory from the File Agent server.
  29. Home gateway as claimed in claim 28, which is characterized in that the processor is also used to: After the file directory of family's NAS device is sent to the File Agent server by the network interface, generates catalogue and be sent completely notice;
    The network interface is also used to: being connected by described first to the remotely administered server transmission catalogue and is sent completely notice, so that the catalogue is sent completely notice by the remotely administered server is sent to the remote terminal, the catalogue is sent completely notice and obtains the file directory of family's NAS device from the File Agent server for connecting the remote terminal by the described 4th.
  30. Home gateway as described in claim 28 or 29, which is characterized in that the network interface is also used to: the file access command that the remotely administered server is sent is received by first connection;
    The processor is also used to: being responded the file access command that the remotely administered server is sent, is obtained requested first file of the file access command from family's NAS device by the network interface;
    The network interface is also used to: being connected by the third first file being sent to File Agent server, so that the remote terminal can obtain the file directory from the File Agent server.
  31. Home gateway as claimed in claim, which is characterized in that the processor is also used to: it after first file is sent to the File Agent server by the network interface, generates file and is sent completely notice;
    The network interface is also used to: being connected by described first to the remotely administered server transmission file and is sent completely notice, so that the file is sent completely notice by the remotely administered server is sent to the remote terminal, the file is sent completely notice for making the remote terminal obtain first file from the File Agent server by the 4th connection.
  32. Such as the described in any item home gateways of claim 28 to 31, which is characterized in that the network interface is also used to: receiving the file upload notifications that the remotely administered server is sent by first connection;
    The processor is also used to: responding the file upload notifications that the remotely administered server is sent, it indicates that the network interface obtains the second file from the File Agent server, and indicates that second file is stored in family's NAS device by the network interface.
  33. Such as the described in any item home gateways of claim 28 to 32, which is characterized in that the net Network interface is also used to: receiving the file management command that the remotely administered server is sent by first connection;
    The processor is also used to: being responded the file management command that the remotely administered server is sent, is carried out management corresponding with the file management command to the file in family's NAS device by the network interface and operate.
  34. A kind of home gateway characterized by comprising
    Network interface for connecting with family NAS device, and is connect for establishing third with File Agent server;And connected by the third and the file directory of family's NAS device is sent to the File Agent server, so that remote terminal obtains the file directory from the File Agent server;
    Memory, for storing instruction and from the received file of family's NAS device or file directory;
    Processor, it is coupled respectively with the network interface and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with family's NAS device configures, and the port connecting to the network interface with File Agent business device configures, and connect so that the network interface establishes third with the File Agent server.
  35. A kind of remote terminal characterized by comprising
    Network interface for establishing the second connection with remotely administered server, and is established the 4th with File Agent server and is connect;
    Memory for storing instruction, and is stored from the received file of File Agent server or file directory;
    Processor, it is coupled respectively with the network interface, the display unit and the memory, for executing the instruction in the memory, to perform the following operations when executing described instruction: the port connecting to the network interface with the remotely administered server configures, and connect so that the network interface establishes described second with the remotely administered server;The port connecting to the network interface with the File Agent server configures, and connect so that the network interface establishes the described 4th with the File Agent server;And generate the catalogue browsing order sent to the remotely administered server;
    The network interface is also used to: being connected by described second to the remotely administered server and is sent catalogue browsing order, and obtains the family from the File Agent server by the 4th connection The file directory of NAS device;
    The remote terminal further include: display unit, for showing the file directory.
  36. Remote terminal as claimed in claim 35, which is characterized in that the network interface is also used to: the catalogue that the remotely administered server is sent is received by second connection and is sent completely notice;
    The processor is also used to: being sent completely notice according to the catalogue, is indicated that the network interface obtains the file directory of family's NAS device by the 4th connection from the File Agent server.
  37. Remote terminal as described in claim 35 or 36, which is characterized in that the remote terminal further include:
    Input unit, for receiving the first input operation of user;
    The processor is also used to: being operated according to first input, is generated file access command, the file access command is used to access the first file in the file directory of family's NAS device;
    The network interface is also used to: being connected by described second to the remotely administered server and is sent the file access command;And first file is obtained from the File Agent server by the 4th connection.
  38. Remote terminal as claimed in claim 37, which is characterized in that the network interface is also used to: the file that the remotely administered server is sent is received by second connection and is sent completely notice;
    The processor is also used to: being sent completely notice according to the file, is indicated that the network interface obtains first file from the File Agent server by the 4th connection.
  39. Such as the described in any item remote terminals of claim 35 to 38, which is characterized in that the network interface is also used to: connecting by the described 4th to the File Agent server and send the second file;
    The processor is also used to: after the completion of the network interface sends second file to the File Agent server, generating file upload notifications;
    The network interface is also used to: being connected by described second to the remotely administered server and is sent file upload notifications, so that the file upload notifications are forwarded to the home gateway by the remotely administered server, second file is stored in family's NAS device by the file upload notifications for making the home gateway obtain second file from the File Agent server.
  40. Such as the described in any item remote terminals of claim 35 to 39, which is characterized in that described defeated Enter unit to be also used to: receiving the second input operation of user;
    The processor is also used to: being inputted and is operated according to described second, generate file management command, the file management command includes at least one deleted in file command, mobile file command and Rename file order;
    The network interface is also used to: being connected by described second to the remotely administered server and is sent the file management command, so that the file management command is forwarded to the home gateway by the remotely administered server, the file management command carries out management corresponding with the file management command to the file in family's NAS device and operates for making the home gateway.
  41. A kind of File Agent server characterized by comprising
    Network interface, it is connect for establishing third with home gateway, and the 4th is established with remote terminal and is connect, and file directory or file for receiving family's NAS device that the home gateway is sent by third connection, and for the file directory or the file to be sent to the remote terminal by the 4th connection;
    Memory for storing instruction, and is stored from the home gateway and the file or file directory of the remote terminal reception;
    Processor, it is coupled respectively with the network interface, the display unit and the memory, for executing the instruction in the memory, to be performed the following operations when executing described instruction: configuring to the port of the network interface and the home gateway, connect so that the network interface establishes the third with the home gateway;The port connecting to the network interface with the remote terminal configures, and connect so that the network interface establishes the described 4th with the remote terminal.
  42. File Agent server as claimed in claim 41, it is characterized in that, the network interface is also used to: receiving the first file that the remote terminal is sent by the 4th connection, and connected by the third and first file is sent to the home gateway, so that first file is stored in family's NAS device by the home gateway.
CN201680029736.9A 2016-03-30 2016-03-30 Method for accessing home network additional storage equipment, corresponding device and system Active CN107710695B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/077889 WO2017166130A1 (en) 2016-03-30 2016-03-30 Method for accessing home nas equipment, corresponding device and system

Publications (2)

Publication Number Publication Date
CN107710695A true CN107710695A (en) 2018-02-16
CN107710695B CN107710695B (en) 2020-08-14

Family

ID=59963227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680029736.9A Active CN107710695B (en) 2016-03-30 2016-03-30 Method for accessing home network additional storage equipment, corresponding device and system

Country Status (2)

Country Link
CN (1) CN107710695B (en)
WO (1) WO2017166130A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294231A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Resource management method and system
CN111666583A (en) * 2020-04-16 2020-09-15 福建省万物智联科技有限公司 Drainage business mode of campus private cloud disk
CN111722810A (en) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 Deployment method, device and storage medium of local data center
CN112637367A (en) * 2021-03-09 2021-04-09 武汉绿色网络信息服务有限责任公司 File sharing method, device, equipment and storage medium based on home network
CN113839849A (en) * 2021-09-22 2021-12-24 天津津航计算技术研究所 Virtual private network erection method based on STUN
CN115277737A (en) * 2022-07-29 2022-11-01 深圳市松八号科技有限公司 Data center backup system based on NAS network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969407A (en) * 2010-11-03 2011-02-09 中国电信股份有限公司 Home gateway based storage service method and storage service device
CN102904935A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Downloading method, downloading device and downloading system based on home gateway
CN102946411A (en) * 2012-10-15 2013-02-27 北京奇虎科技有限公司 Network synchronization system
US20130054739A1 (en) * 2011-08-31 2013-02-28 Lite-On It Corporation Data transmission system and data transmission method
CN105187523A (en) * 2015-08-28 2015-12-23 北京奇艺世纪科技有限公司 Method and device for accessing directory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2594038B1 (en) * 2010-07-15 2017-08-30 Orange Detection of an upnp control module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969407A (en) * 2010-11-03 2011-02-09 中国电信股份有限公司 Home gateway based storage service method and storage service device
US20130054739A1 (en) * 2011-08-31 2013-02-28 Lite-On It Corporation Data transmission system and data transmission method
CN102904935A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Downloading method, downloading device and downloading system based on home gateway
CN102946411A (en) * 2012-10-15 2013-02-27 北京奇虎科技有限公司 Network synchronization system
CN105187523A (en) * 2015-08-28 2015-12-23 北京奇艺世纪科技有限公司 Method and device for accessing directory

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294231A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Resource management method and system
CN111294231B (en) * 2018-12-07 2022-05-20 杭州海康威视系统技术有限公司 Resource management method and system
CN111666583A (en) * 2020-04-16 2020-09-15 福建省万物智联科技有限公司 Drainage business mode of campus private cloud disk
CN111666583B (en) * 2020-04-16 2022-07-26 福建省万物智联科技有限公司 Drainage method for campus private cloud disk
CN111722810A (en) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 Deployment method, device and storage medium of local data center
CN112637367A (en) * 2021-03-09 2021-04-09 武汉绿色网络信息服务有限责任公司 File sharing method, device, equipment and storage medium based on home network
CN112637367B (en) * 2021-03-09 2021-05-14 武汉绿色网络信息服务有限责任公司 File sharing method, device, equipment and storage medium based on home network
CN113839849A (en) * 2021-09-22 2021-12-24 天津津航计算技术研究所 Virtual private network erection method based on STUN
CN115277737A (en) * 2022-07-29 2022-11-01 深圳市松八号科技有限公司 Data center backup system based on NAS network

Also Published As

Publication number Publication date
CN107710695B (en) 2020-08-14
WO2017166130A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
CN107710695A (en) A kind of method, corresponding intrument and system for accessing family's NAS device
US11216418B2 (en) Method for seamless access to a cloud storage system by an endpoint device using metadata
EP1940126B1 (en) Relay server and client terminal
US8918599B2 (en) Integrated storage platform system and method thereof
CN101399729B (en) Management system and method for file download and upload
US10021181B2 (en) System and method for discovering a LAN synchronization candidate for a synchronized content management system
US20140188802A1 (en) Pull and paste
CN110198334A (en) Access method, device and storage medium based on object storage service
Kalofonos et al. Mynet: A platform for secure p2p personal and social networking services
JP7132494B2 (en) Multi-cloud operation program and multi-cloud operation method
EP2668740A2 (en) Site-aware distributed file system access from outside enterprise network
CN111108736B (en) Method and system for automatic address failover of a computing device
CN107003981B (en) Synchronizing with a locally paired device to obtain data from a remote server using point-to-point communication
JP2012074862A (en) Vpn connection system
EP3206347B1 (en) Method for calling a routing algorithm, sdn controller, and sdn-oaf
WO2010043234A1 (en) Web application server facilitating data access in a network environment
Park et al. DirectSpace: A collaborative framework for supporting group workspaces over Wi-Fi direct
Bellavista et al. Peer-to-peer content sharing based on social identities and relationships
KR100375796B1 (en) Direct interpersonal distributed network system for communication by using jointly-owned back-up storage device on the web
Padhy et al. An automation API for authentication and security for file uploads in the cloud storage environment
van der Westhuizen et al. A framework for provisioning restful services on mobile devices
JP2015201758A (en) Repeater, communication system, information processing method, and program
CN116095080B (en) Cross-cloud data interconnection network communication method, device and system
CN107948232A (en) Implementation method, data transmission method, apparatus and system are acted on behalf of based on Hook API
van der Westhuizen et al. Context-aware RESTful services on mobile devices

Legal Events

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

Effective date of registration: 20210421

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Shenzhen Zhixin new information technology Co.,Ltd.

Address before: 518129 Huawei headquarters office building, Bantian, Longgang District, Shenzhen, Guangdong Province

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211015

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee before: Shenzhen Zhixin new information technology Co.,Ltd.