CN108768961A - storage processing method and home gateway - Google Patents
storage processing method and home gateway Download PDFInfo
- Publication number
- CN108768961A CN108768961A CN201810448855.9A CN201810448855A CN108768961A CN 108768961 A CN108768961 A CN 108768961A CN 201810448855 A CN201810448855 A CN 201810448855A CN 108768961 A CN108768961 A CN 108768961A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- home gateway
- storage server
- request message
- access request
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2834—Switching of information between an external network and a home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
Abstract
A kind of storage processing method of offer of the embodiment of the present invention and home gateway.This method includes:Home gateway receives access request message from terminal device, which includes the identification information of the terminal device, and the access request message is for accessing storage server;The permission that the home gateway accesses the terminal device according to the access request message storage server is verified;After the Authority Verification that the home gateway accesses the terminal device storage server passes through, which receives data to be stored from the terminal device;The data storage to be stored is arrived the storage server by the home gateway.Without registering in advance, home gateway can store terminal device data to be stored user of the embodiment of the present invention, improve the convenience of data storage.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of storage processing methods and home gateway.
Background technology
In the prior art, terminal device, which such as can be used for communicating, shoot at functions, the terminal device, can store image, video
Etc. data, but the memory space of terminal device local is limited, when the memory space of the terminal device is occupied full, is used
Family may will be in the storage to other equipment of the data such as image, video in the terminal device.
Currently, the data such as image, video in the terminal device can be uploaded to high in the clouds by user, still, user needs
Registration and certification are carried out in advance, and the convenience that data store is caused to reduce.
Invention content
A kind of storage processing method of offer of the embodiment of the present invention and home gateway, to improve the convenience of data storage.
In a first aspect, the embodiment of the present invention provides a kind of storage processing method, including:
Home gateway receives access request message from terminal device, and the access request message includes the terminal device
Identification information, the access request message is for accessing storage server;
The home gateway accesses the terminal device according to the access request message power of the storage server
Limit is verified;
After the Authority Verification that the home gateway accesses the terminal device storage server passes through, the family
Front yard gateway receives data to be stored from the terminal device;
The home gateway stores the data to be stored to the storage server.
Second aspect, the embodiment of the present invention provide a kind of home gateway, including:
Receiving module, for receiving access request message from terminal device, the access request message includes the end
The identification information of end equipment, the access request message is for accessing storage server;
Authentication module, the power for accessing the terminal device storage server according to the access request message
Limit is verified;
The receiving module is additionally operable to:When the home gateway accesses the terminal device power of the storage server
After limit is verified, data to be stored are received from the terminal device;
Memory module, for storing the data to be stored to the storage server.
The third aspect, the embodiment of the present invention provide a kind of home gateway, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor
Method described in existing first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize the method described in first aspect.
Storage processing method and home gateway provided in an embodiment of the present invention are received from terminal device by home gateway and are visited
Ask request message, the permission that the storage server is accessed according to the access request message the terminal device is verified, when this
Home gateway the terminal device is accessed the storage server Authority Verification pass through after, received from the terminal device to be stored
The data storage to be stored is arrived the storage server by data, and for user without registering in advance, home gateway can be by end
End equipment data to be stored are stored, and the convenience of data storage is improved.
Description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is storage processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is the storage processing method flow chart that another embodiment of the present invention provides;
Fig. 4 is the storage processing method flow chart that another embodiment of the present invention provides;
Fig. 5 is the structural schematic diagram of home gateway provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram for the home gateway that another embodiment of the present invention provides.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Storage processing method provided by the invention can be adapted for communication system shown in FIG. 1.As shown in Figure 1, the communication
System includes:Access network equipment 11, terminal device 12, server 13, home gateway 14, storage server 15 and terminal device
16.It should be noted that communication system shown in FIG. 1 can be adapted for different network formats, for example, can be adapted for the whole world
Mobile communication (Global System of Mobi le communication, abbreviation GSM), CDMA (Code
Division Multiple Access, abbreviation CDMA), wideband code division multiple access (Wideband Code Division
Multiple Access, abbreviation WCDMA), TD SDMA (Time Division-Synchronous Code
Division Multiple Access, abbreviation TD-SCDMA), long term evolution (Long Term Evolution, abbreviation LTE)
The network formats such as the 5G in system and future.Optionally, above-mentioned communication system can be that highly reliable low time delay is logical in 5G communication systems
Believe in the scene of (Ultra-Reliable and Low Latency Communications, abbreviation URLLC) transmission and is
System.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA
Station, abbreviation BTS) and/or base station controller can also be base station (NodeB, abbreviation NB) in WCDMA and/or wireless
Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE
(Evolutional Node B, abbreviation eNB or eNodeB) either base in relay station or access point or future 5G networks
Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12, terminal device 16 can be that wireless terminal can also be catv terminal.Wireless terminal can be with
Refer to the equipment for providing a user voice and/or other business datum connectivity, with wireless connecting function portable equipment,
Or it is connected to other processing equipments of radio modem.Wireless terminal can be through wireless access network (Radio Access
Network, abbreviation RAN) it is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, such as mobile
Phone (or be " honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held,
Built-in computer or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless
Terminal can also be personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless electricity
Words, Session initiation Protocol (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop
(Wireless Local Loop, abbreviation WLL) stand, personal digital assistant (Personal Digital Assistant, referred to as
The equipment such as PDA).Wireless terminal is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber
Station), movement station (Mobi le Station), mobile station (Mobi le), distant station (Remote Station), long-range
Terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user
(User Agent), user equipment (User Device or User Equipment) are acted on behalf of, is not limited thereto.Optionally,
Above-mentioned terminal device 12, terminal device 16 can also be the equipment such as smartwatch, tablet computer.Server 13 can remotely be taken
Business device, home gateway 14, storage server 15 and terminal device 16, terminal device 16 is in family lan, terminal device 12
Outside family lan.
Storage processing method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How the technical solution of technical scheme of the present invention and the application is solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is storage processing method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is for the prior art
Technical problem as above, provides storage processing method, and this method is as follows:
Step 201, home gateway receive access request message from terminal device, and the access request message includes described
The identification information of terminal device, the access request message is for accessing storage server.
As shown in Figure 1, home gateway 14 can receive the access request message of terminal device 12 or terminal device 16, the access
Request message includes the identification information of terminal device 12 or terminal device 16, such as the matchmaker of terminal device 12 or terminal device 16
The address body access control (Media Access Control, MAC), terminal device 12 or terminal device 16 pass through home gateway 14
Access storage server 15.
Step 202, the home gateway access the storage to the terminal device according to the access request message and take
The permission of business device is verified.
Home gateway 14 is according to terminal device 12 or the MAC Address of terminal device 16, to terminal device 12 or terminal device
The permission of 16 access storage servers 15 is verified.
Step 203 passes through when the Authority Verification that the home gateway accesses the terminal device storage server
Afterwards, the home gateway receives data to be stored from the terminal device.
Step 204, the home gateway store the data to be stored to the storage server.
When home gateway 14 determines terminal device 12 or terminal device 16 has permission to access storage server 15, terminal is set
Standby 12 or terminal device 16 its data to be stored is sent to home gateway 14, home gateway 14 is by terminal device 12 or terminal
In equipment data storage to storage server 15 to be stored.Alternatively, when home gateway 14 determines that terminal device 12 or terminal are set
When standby 16 permission to access storage server 15, terminal device 12 or terminal device 16 send inquiry request to home gateway 14,
The inquiry request is used to inquire the image or video for obtaining and storing in storage server 15, and home gateway 14 sends out the inquiry request
Storage server 15 is given, terminal device 12 or terminal device 16 are needed the image inquired or video to send by storage server 15
To home gateway 14, terminal device 12 or terminal device 16 are further needed the image inquired or video to send by home gateway 14
To terminal device 12 or terminal device 16.
The embodiment of the present invention receives access request message by home gateway from terminal device, according to the access request message
The permission for accessing the terminal device storage server is verified, when the home gateway accesses the storage to the terminal device
After the Authority Verification of server passes through, data to be stored are received from the terminal device, which is arrived should
Storage server, without registering in advance, home gateway can store terminal device data to be stored user, carry
The high convenience of data storages.
Fig. 3 is the storage processing method flow chart that another embodiment of the present invention provides.On the basis of the above embodiments, institute
It states home gateway and accesses the terminal device permission of the storage server according to the access request message and verify
Specifically comprise the following steps:
The access request message is sent to the storage server by step 301, the home gateway.
The present embodiment is schematically illustrated by taking terminal device 16 as an example, and terminal device 16 sends to home gateway 14 and accesses
After request message, which is sent to storage server 15 by home gateway 14, which includes
The MAC Address of terminal device 16.
Step 302, the home gateway receive random number from the storage server.
Storage server 15 generates a string of random numbers, and the random number is sent to home gateway 14.
The random number is sent to the terminal device by step 303, the home gateway.
Home gateway 14 is received the random number that storage server 15 is sent and is transmitted to terminal device 16.
Random number is encrypted to obtain described in the key pair of step 304, the storage server using the terminal device
First encryption information.
Storage server 15 determines the key of terminal device 16 according to the MAC Address of terminal device 16, and is set using terminal
The standby 16 key pair random number is encrypted to obtain the first encryption information.
Step 305, the storage server send the first encryption information to the home gateway.
First encryption information is sent to home gateway 14 by storage server 15.
Random number described in the key pair of step 306, the terminal device using the terminal device is encrypted to obtain the
Two encryption information.
It, should be with using the key pair of terminal device 16 after terminal device 16 receives the random number of the transmission of home gateway 14
Machine number is encrypted to obtain the second encryption information, and optionally, terminal device 16 can be previously stored with the key of terminal device 16.
Step 307, the terminal device send the second encryption information to the home gateway.
Second encryption information is sent to home gateway 14 by terminal device 16.
In the present embodiment, the sequencing for not limiting step 304 and step 306, does not also limit step 305 and step
307 sequencing.
Whether step 308, the home gateway compare the first encryption information consistent with the second encryption information, if unanimously,
Determine that the terminal device has permission to access the storage server.
When home gateway 14 receives the first encryption information of the transmission of storage server 15 and terminal device 16 is sent the
Whether after two encryption information, it is consistent with the second encryption information to compare the first encryption information, if unanimously, home gateway 14 determines
Terminal device 16 has permission to access storage server 15, if it is inconsistent, home gateway 14 determines that terminal device 16 is not weighed
Limit accesses storage server 15.
Step 309, the home gateway send a notification message to the storage server, described in the notification message expression
Terminal device has permission to access the storage server.
Optionally, the first encryption information is consistent with the second encryption information, then home gateway 14 is sent to storage server 15
Notification message, the notification message indicate that terminal device 16 has permission to access storage server 15.
Step 310, the home gateway send a notification message to the terminal device, and the notification message indicates the end
End equipment has permission to access the storage server.The notification message indicates that terminal device 16 has permission to access storage server
15。
In the present embodiment, the number of terminal device in family lan is not limited, does not limit of storage server yet
Number, which can be the server in family lan, can also be the server except family lan.
By home gateway, according to the identification information pair of terminal device, the terminal device accesses the storage to the embodiment of the present invention
The permission of server is verified, and internet security is improved.
Fig. 4 is the storage processing method flow chart that another embodiment of the present invention provides.On the basis of the above embodiments, it walks
Rapid 201, further include following steps before home gateway receives access request message from terminal device:
Step 401, the home gateway send connection request to the default port of the storage server.
In the present embodiment, there is terminal device the permission of access home gateway and internet, the terminal device can pass through
Dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) obtains the terminal device and is in
Private network IP address in the LAN of front yard, such as 192.168.0.5, meanwhile, which can also get the home gateway
Private network IP address, such as 192.168.0.1.
When the home gateway after the power is turned on, which detects the IP address of various types equipment connected to it, for example,
The home gateway detects the private network IP address of terminal device connected to it and the private network IP address of storage server, and examines
Survey whether the corresponding default port of each IP address is opening state, for example, the storage server being connect with the home gateway is equal
There are one the port that port numbers are 22222, which stores for data.When the home gateway detect it is connected to it some
The default port of equipment such as port 22222 is opening state, then the home gateway can determine that the equipment is storage server.It can
Choosing, in the present embodiment, the achievable mode whether home gateway detection port 22222 opens includes:The home gateway
Connection request is sent to the default port 22222 of storage server, which can be TCP connection message.
Step 402, the home gateway receive the connection response that the storage server is sent.
If home gateway receives the connection response of storage server transmission, then it represents that the default port of storage server
22222 are in opening state.
Step 403, the home gateway store the port of the private net address and the default port of the storage server
Number.
When home gateway determines that the default port 22222 of storage server is in opening state, home gateway storage
Private network IP address and port numbers i.e. 22222 of the storage server.In the present embodiment, which is not limited to storage one
Private network IP address and port numbers i.e. 22222 of storage server.
The identification information of the terminal device is sent to the storage server by step 404, the home gateway, so that
The storage server determines whether the terminal device accesses the storage for the first time according to the identification information of the terminal device
Server.
After terminal device uplink, which sends access request message to the home gateway, which disappears
Breath includes the MAC Address of the terminal device, which is sent to storage server by the MAC Address of the terminal device,
Storage server can determine whether the terminal device accesses the storage server for the first time according to the MAC Address of the terminal device.
Optionally, when storage server often receives an access request message, which can disappear the access request
The MAC Address record for the terminal device that breath includes in lists, is asked when storage server receives an access next time again
When seeking message, judge the terminal device that the access request message includes MAC Address whether there is in the list, if not
In the presence of then illustrating that the terminal device accesses the storage server for the first time.
If step 405, the terminal device access the storage server for the first time, the home gateway is to the terminal
Equipment sends the public network address of remote access key and the home gateway.
When storage server determines that a certain terminal device accesses the storage server for the first time, which can incite somebody to action
The public network address such as 202.108.3.51 of remote access key and the home gateway is sent to the home gateway, the home gateway
The public network address 202.108.3.51 of the remote access key and the home gateway is further sent to the terminal device, so as to
When the terminal device moves out family lan, the storage server can also be accessed by the home gateway.
In the present embodiment, optionally, the terminal device is located at except the corresponding family lan of the home gateway;
The home gateway receives access request message from terminal device, including:The home gateway receives institute by remote server
State terminal device transmission the access request message, the access request message include the terminal device public network address,
The private net address of the public network address of the home gateway and the storage server.
As shown in Figure 1, terminal device 12 is located at except family lan, terminal device 16 is also possible to move out the family
LAN, the present embodiment are schematically illustrated by taking terminal device 12 as an example, when terminal device 12 is in the external demand of family lan
When accessing storage server, terminal device 12 is sent to home gateway by access network equipment 11 and remote server 13 and is accessed
Request message, the source IP address of the access request message are the public network address of terminal device 12, the purpose of the access request message
IP address is the public network IP address of the home gateway, and the body part of the access request message includes the private network IP of storage server
Address and port numbers 22222.In the present embodiment, the storage server in family lan is not limited to one, it is also possible to be
Multiple, terminal device 12 can access some in multiple storage servers, when the home gateway receives terminal device 12
After the access request message of transmission, the private network IP address for the storage server for including according to the access request message can determine
Which storage server what terminal device 12 accessed is, to which the access request message is transmitted to the storage server.
In the present embodiment, when home gateway receives the access request message of some terminal device transmission, first
It needs to judge that the terminal device is in family lan or outside family lan, specifically, when home gateway can pass through
The source IP address of the access request message determines that the terminal device is the example in family lan or outside family lan
Such as, the source IP address of the access request message is the private network IP address of the terminal device, then the home gateway determines that the terminal is set
Standby is in family lan;If the source IP address of access request message is the public network IP address of the terminal device, the family
Gateway determines that the terminal device is outside family lan.When the terminal device is in family lan, which can
Determine that the terminal device has permission to access the storage server.When the terminal device is outside family lan, the home gateway
It also needs to verify the access rights of the terminal device, specific verification process is as shown in figure 3, details are not described herein again.
The embodiment of the present invention receives access request message by home gateway from terminal device, according to the access request message
The permission for accessing the terminal device storage server is verified, when the home gateway accesses the storage to the terminal device
After the Authority Verification of server passes through, data to be stored are received from the terminal device, which is arrived should
Storage server, without registering in advance, home gateway can store terminal device data to be stored user, carry
The high convenience of data storages.
Fig. 5 is the structural schematic diagram of home gateway provided in an embodiment of the present invention.Home network provided in an embodiment of the present invention
The process flow of storage processing method embodiment offer can be executed by closing, as shown in figure 5, home gateway 50 includes:Receiving module
51, authentication module 52 and memory module 53;Wherein, receiving module 51 is used to receive access request message from terminal device, described
Access request message includes the identification information of the terminal device, and the access request message is for accessing storage server;
The permission that authentication module 52 is used to access the terminal device according to the access request message storage server carries out
Verification;Receiving module 51 is additionally operable to:When the permission that the home gateway accesses the terminal device storage server is tested
After card passes through, data to be stored are received from the terminal device;Memory module 53 is used to store the data to be stored
To the storage server.
Optionally, home gateway 50 further includes:Sending module 54;Sending module 54 is for sending out the access request message
Give the storage server;Receiving module 51 is used to receive random number from the storage server;Sending module 54 is additionally operable to:
The random number is sent to the terminal device;Receiving module 51 is additionally operable to:The first encryption is received from the storage server
Information, and the second encryption information is received from the terminal device, first encryption information is that the storage server uses
What random number described in the key pair of the terminal device obtained after being encrypted, second encryption information is the terminal device
What random number described in the key pair using the terminal device obtained after being encrypted;Authentication module 52 is specifically used for:Verification institute
It states the first encryption information and whether second encryption information is consistent, if unanimously, it is determined that the terminal device has permission to access
The storage server.
Optionally, the terminal device is located at except the corresponding family lan of the home gateway;Receiving module 51 has
Body is used for:The access request message that the terminal device is sent, the access request message are received by remote server
The private net address of the public network address and the storage server of public network address, the home gateway including the terminal device.
Optionally, sending module 54 is additionally operable to:The identification information of the terminal device is sent to the storage server,
So that for the first time whether identification information of the storage server according to the terminal device, determine the terminal device described in access
Storage server;If the terminal device accesses the storage server for the first time, sends and remotely access to the terminal device
The public network address of key and the home gateway.
Optionally, sending module 54 is additionally operable to:Connection request is sent to the default port of the storage server;Receive mould
Block 51 is additionally operable to:Receive the connection response that the storage server is sent;Memory module 53 is additionally operable to:Store the storage service
The port numbers of the private net address of device and the default port.
The home gateway of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technique effect, details are not described herein again.
Fig. 6 is the structural schematic diagram for the home gateway that another embodiment of the present invention provides.Family provided in an embodiment of the present invention
Front yard gateway can execute the process flow of storage processing method embodiment offer, as shown in fig. 6, home gateway 60 includes memory
61, processor 62, computer program and communication interface 63;Wherein, computer program is stored in memory 61, and is configured as
Storage processing method described in above-described embodiment is executed by processor 62.
The home gateway of embodiment illustrated in fig. 6 can be used for executing the technical solution of above method embodiment, realization principle
Similar with technique effect, details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize the storage processing method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
The medium of program code can be stored.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function module
Division progress for example, in practical application, can be complete by different function modules by above-mentioned function distribution as needed
At the internal structure of device being divided into different function modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (12)
1. a kind of storage processing method, which is characterized in that including:
Home gateway receives access request message from terminal device, and the access request message includes the mark of the terminal device
Know information, the access request message is for accessing storage server;
The home gateway according to the access request message to the terminal device access the permission of the storage server into
Row verification;
After the Authority Verification that the home gateway accesses the terminal device storage server passes through, the home network
Pass receives data to be stored from the terminal device;
The home gateway stores the data to be stored to the storage server.
2. according to the method described in claim 1, it is characterized in that, the home gateway according to the access request message to institute
It states terminal device and accesses the permission of the storage server and verified, including:
The access request message is sent to the storage server by the home gateway;
The home gateway receives random number from the storage server;
The random number is sent to the terminal device by the home gateway;
The home gateway receives the first encryption information from the storage server, and receives second from the terminal device and add
Confidential information, first encryption information are that random number described in key pair of the storage server using the terminal device carries out
It is obtained after encryption, second encryption information is random number described in key pair of the terminal device using the terminal device
It is obtained after being encrypted;
If first encryption information is consistent with second encryption information, the home gateway determines that the terminal device has
Permission accesses the storage server.
3. according to the method described in claim 2, it is characterized in that, the terminal device is located at the corresponding family of the home gateway
Except the LAN of front yard;
The home gateway receives access request message from terminal device, including:
The home gateway receives the access request message that the terminal device is sent, the access by remote server
Request message include the public network address of the terminal device, the home gateway public network address and the storage server private
Net address.
4. according to the method described in claim 3, it is characterized in that, the home gateway receives the end by remote server
Before the access request message that end equipment is sent, further include:
The identification information of the terminal device is sent to the storage server by the home gateway, so that the storage service
Device determines whether the terminal device accesses the storage server for the first time according to the identification information of the terminal device;
If the terminal device accesses the storage server for the first time, the home gateway sends long-range to the terminal device
Access the public network address of key and the home gateway.
5. according to claim 1-4 any one of them methods, which is characterized in that the home gateway is received from terminal device and visited
Before asking request message, further include:
The home gateway sends connection request to the default port of the storage server;
The home gateway receives the connection response that the storage server is sent;
The home gateway stores the port numbers of the private net address and the default port of the storage server.
6. a kind of home gateway, which is characterized in that including:
Receiving module, for receiving access request message from terminal device, the access request message includes that the terminal is set
Standby identification information, the access request message is for accessing storage server;
Authentication module, for according to the access request message to the terminal device access the permission of the storage server into
Row verification;
The receiving module is additionally operable to:When the permission that the home gateway accesses the terminal device storage server is tested
After card passes through, data to be stored are received from the terminal device;
Memory module, for storing the data to be stored to the storage server.
7. home gateway according to claim 6, which is characterized in that further include:
Sending module, for the access request message to be sent to the storage server;
The receiving module, for receiving random number from the storage server;
The sending module is additionally operable to:The random number is sent to the terminal device;
The receiving module is additionally operable to:The first encryption information is received from the storage server, and is connect from the terminal device
Receive the second encryption information, first encryption information be described in key pair of the storage server using the terminal device with
What machine number obtained after being encrypted, second encryption information is the key pair institute that the terminal device uses the terminal device
It states and obtains after random number is encrypted;
The authentication module is specifically used for:It verifies first encryption information and whether second encryption information is consistent, if one
It causes, it is determined that the terminal device has permission to access the storage server.
8. home gateway according to claim 7, which is characterized in that the terminal device is located at home gateway correspondence
Family lan except;
The receiving module is specifically used for:The access request that the terminal device is sent is received by remote server to disappear
Breath, the access request message include the public network address of the terminal device, the home gateway public network address and described deposit
Store up the private net address of server.
9. home gateway according to claim 8, which is characterized in that the sending module is additionally operable to:The terminal is set
Standby identification information is sent to the storage server, so that the storage server is believed according to the mark of the terminal device
Breath, determines whether the terminal device accesses the storage server for the first time;If the terminal device accesses the storage for the first time
Server then sends the public network address of remote access key and the home gateway to the terminal device.
10. according to claim 7-9 any one of them home gateways, which is characterized in that the sending module is additionally operable to:To institute
The default port for stating storage server sends connection request;
The receiving module is additionally operable to:Receive the connection response that the storage server is sent;
The memory module is additionally operable to:Store the port numbers of the private net address and the default port of the storage server.
11. a kind of home gateway, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor
Claim 1-5 any one of them methods.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize method as described in any one in claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810448855.9A CN108768961B (en) | 2018-05-11 | 2018-05-11 | Storage processing method and home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810448855.9A CN108768961B (en) | 2018-05-11 | 2018-05-11 | Storage processing method and home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108768961A true CN108768961A (en) | 2018-11-06 |
CN108768961B CN108768961B (en) | 2021-03-30 |
Family
ID=64010171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810448855.9A Active CN108768961B (en) | 2018-05-11 | 2018-05-11 | Storage processing method and home gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108768961B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110944319A (en) * | 2019-12-30 | 2020-03-31 | 江苏全链通信息科技有限公司 | 5G communication identity authentication method, equipment and storage medium |
CN111163105A (en) * | 2020-01-02 | 2020-05-15 | 中国联合网络通信集团有限公司 | Method and device for accessing IPTV service of network protocol television |
CN113647081A (en) * | 2019-08-20 | 2021-11-12 | Oppo广东移动通信有限公司 | Group certificate processing method, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572608A (en) * | 2009-06-17 | 2009-11-04 | 杭州华三通信技术有限公司 | Method and device for acquiring once-login parameters |
CN101621801A (en) * | 2009-08-11 | 2010-01-06 | 深圳华为通信技术有限公司 | Method, system, server and terminal for authenticating wireless local area network |
CN102710764A (en) * | 2012-05-25 | 2012-10-03 | 东莞中山大学研究院 | Method and system for remotely controlling terminal equipment by user according to cloud computing |
CN103780609A (en) * | 2014-01-14 | 2014-05-07 | 北京淦蓝润和信息技术有限公司 | Cloud data processing method and device and cloud data security gateway |
CN104639592A (en) * | 2013-11-15 | 2015-05-20 | 华为技术有限公司 | Cloud storage gateway and method and system for information synchronization among cloud storage gateways |
CN105828174A (en) * | 2015-01-05 | 2016-08-03 | 中兴通讯股份有限公司 | Media content sharing method and media content sharing device |
CN106685664A (en) * | 2016-12-27 | 2017-05-17 | 广州邦讯信息系统有限公司 | Safety control system and method for electric power equipment under Internet |
CN107770182A (en) * | 2017-10-30 | 2018-03-06 | 中国联合网络通信集团有限公司 | The date storage method and home gateway of home gateway |
WO2018080727A1 (en) * | 2016-10-26 | 2018-05-03 | Intuit Inc. | Authorization to access a server in the cloud without obtaining an initial secret |
-
2018
- 2018-05-11 CN CN201810448855.9A patent/CN108768961B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101572608A (en) * | 2009-06-17 | 2009-11-04 | 杭州华三通信技术有限公司 | Method and device for acquiring once-login parameters |
CN101621801A (en) * | 2009-08-11 | 2010-01-06 | 深圳华为通信技术有限公司 | Method, system, server and terminal for authenticating wireless local area network |
CN102710764A (en) * | 2012-05-25 | 2012-10-03 | 东莞中山大学研究院 | Method and system for remotely controlling terminal equipment by user according to cloud computing |
CN104639592A (en) * | 2013-11-15 | 2015-05-20 | 华为技术有限公司 | Cloud storage gateway and method and system for information synchronization among cloud storage gateways |
CN103780609A (en) * | 2014-01-14 | 2014-05-07 | 北京淦蓝润和信息技术有限公司 | Cloud data processing method and device and cloud data security gateway |
CN105828174A (en) * | 2015-01-05 | 2016-08-03 | 中兴通讯股份有限公司 | Media content sharing method and media content sharing device |
WO2018080727A1 (en) * | 2016-10-26 | 2018-05-03 | Intuit Inc. | Authorization to access a server in the cloud without obtaining an initial secret |
CN106685664A (en) * | 2016-12-27 | 2017-05-17 | 广州邦讯信息系统有限公司 | Safety control system and method for electric power equipment under Internet |
CN107770182A (en) * | 2017-10-30 | 2018-03-06 | 中国联合网络通信集团有限公司 | The date storage method and home gateway of home gateway |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113647081A (en) * | 2019-08-20 | 2021-11-12 | Oppo广东移动通信有限公司 | Group certificate processing method, equipment and storage medium |
CN113647081B (en) * | 2019-08-20 | 2024-02-02 | Oppo广东移动通信有限公司 | Group certificate processing method, device and storage medium |
CN110944319A (en) * | 2019-12-30 | 2020-03-31 | 江苏全链通信息科技有限公司 | 5G communication identity authentication method, equipment and storage medium |
CN110944319B (en) * | 2019-12-30 | 2023-08-08 | 江苏全链通信息科技有限公司 | 5G communication identity verification method, equipment and storage medium |
CN111163105A (en) * | 2020-01-02 | 2020-05-15 | 中国联合网络通信集团有限公司 | Method and device for accessing IPTV service of network protocol television |
Also Published As
Publication number | Publication date |
---|---|
CN108768961B (en) | 2021-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5392879B2 (en) | Method and apparatus for authenticating a communication device | |
US11582602B2 (en) | Key obtaining method and device, and communications system | |
US11812496B2 (en) | User group session management method and apparatus | |
CN103609154B (en) | A kind of WLAN access authentication method, equipment and system | |
CN102960005B (en) | Verification System in wireless LAN and authentication method | |
CN108768961A (en) | storage processing method and home gateway | |
WO2018205148A1 (en) | Data packet checking method and device | |
CN103096398A (en) | Method and device of network switching | |
CN108683690A (en) | Method for authenticating, user equipment, authentication device, authentication server and storage medium | |
JP6951445B2 (en) | Emergency number setting method, acquisition method and equipment | |
CN110519760A (en) | Method for network access, device, equipment and storage medium | |
CN102857517B (en) | Authentication method, Broadband Remote Access Server and certificate server | |
US20220279471A1 (en) | Wireless communication method for registration procedure | |
CN108200568A (en) | Mobile communication electronics SIM card data processing method and device | |
CN108123783A (en) | Data transmission method, apparatus and system | |
CN110086839A (en) | A kind of dynamic access method and device of remote equipment | |
CN108810120A (en) | block chain node communication method, device and block chain node | |
CN108235823A (en) | Agency is without roaming cellular | |
CN104981791A (en) | Mobile sender controlled data access and data deletion method and system | |
KR102104844B1 (en) | Data transmission method, first device and second device | |
US11477638B2 (en) | Securely conveying location and other information in advanced networks | |
WO2014032225A1 (en) | Quality of service control method, device and system | |
CN104917729A (en) | Network device and method for preventing address resolution protocol message from being attacked | |
CN114430931B (en) | Method, device and system for establishing interface | |
JP6733052B2 (en) | Method for transmitting data to at least one device, data transmission control server, data storage server, data processing server and system |
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 |