CN105306315B - System and method based on SMB agreement mobile phone remote access family gateway equipment - Google Patents
System and method based on SMB agreement mobile phone remote access family gateway equipment Download PDFInfo
- Publication number
- CN105306315B CN105306315B CN201510608053.6A CN201510608053A CN105306315B CN 105306315 B CN105306315 B CN 105306315B CN 201510608053 A CN201510608053 A CN 201510608053A CN 105306315 B CN105306315 B CN 105306315B
- Authority
- CN
- China
- Prior art keywords
- gateway equipment
- family gateway
- smb
- cloud platform
- address
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Based on the system and method for SMB agreement mobile phone remote access family gateway equipment, it is related to home gateway system field, after family gateway equipment obtains public network IP address every time, is reported to business cloud platform;User logs in business platform by cell phone client, and selection needs the family gateway equipment accessed, and obtains the public network IP address of the family gateway equipment;After the SMB service of the business cloud platform remote opening family gateway equipment and the port WAN side SMB, cell phone client is notified;User is connected to family gateway equipment by cell phone client, by the public network IP address of the family gateway equipment, completes the operation to family gateway equipment;Cell phone client notice business cloud platform operation terminates, and business cloud platform remotely closes SMB service and the port WAN side SMB of the family gateway equipment.Cell phone client of the present invention can find corresponding family gateway equipment in real time and remotely access, after close the port SMB, avoid security risk.
Description
Technical field
The present invention relates to home gateway system fields, in particular to a kind of to access house based on SMB agreement mobile phone remote
The system and method for front yard gateway.
Background technique
Family gateway equipment is gradually evolved into home network as the internet access terminal in subscriber household at present
Access portal, anywhere more and more users need to save in access family gateway equipment file system in real time
File.Currently, family gateway equipment can take the IP address of public network, this just provides network to network file shared service and visits
The network-side basis asked.SMB (Server Message Block, server information block) agreement is based under TCP-NETBIOS
, it is 139,445 that general port, which uses, and the mutual of the reading of SMB agreement and other operating system files can be used in home gateway
It is logical.
From the point of view of user terminal, current smart phone is highly popular, with the development of mobile communication 4G business, Yong Huyi
It can be had ready conditions and access internet in real time at any time, thus have the basis for carrying out real time communication with gateway.From
In terms of interaction protocol message, also there is the mature SMB file-sharing service function based on network protocol now.But it is existing
With the presence of the file-sharing service function certain drawbacks based on network protocol, current network environment and use can not be adapted to
Family remote access gateway memory space, particular technique defect are as follows:
1, it needs permanently to open SMB protocol port in home gateway, the port SMB permanently exposes, can be to family gateway equipment
The file of middle storage forms larger security risk;
2, WAN (Wide Area Network, wide area network) side of home gateway gets new IP, according to current group
Net mode can not inform mobile phone client software, although both sides have the basis interconnected in this way, user still can not
The content of the memory space of remote access gateway.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide one kind to be based on SMB agreement mobile phone remote
The system and method for family gateway equipment is accessed, cell phone client can find corresponding home network by public network IP address in real time
Equipment is closed, and is remotely accessed, the port SMB is closed after access, avoids security risk.
To achieve the above objectives, the technical solution adopted by the present invention is that: based on SMB agreement mobile phone remote access home gateway
The system of equipment, including being installed on the cell phone client of mobile phone, the family gateway equipment of at least one acquisition public network IP address, also
Including the business cloud platform operated in public network environment, business cloud platform includes protocol process module and message control module,
In, the protocol process module collects home network for interacting respectively with cell phone client, every family gateway equipment
The public network IP address of equipment is closed, provides the public network IP address inquiry of the family gateway equipment of binding for cell phone client;The industry
Control module of being engaged in is controlled in family gateway equipment for the business configuration situation according to user by the protocol process module
Various port open/closings.
Based on the above technical solution, the cell phone client includes, the first cloud platform to connection module, for realizing
Interaction in cell phone client and business cloud platform between protocol process module;SMB client modules, for passing through SMB agreement
The family gateway equipment of specified public network IP address is interacted, remote document access is completed;Subscriber information module is used for user
Log in and the maintenance to user related information.
Based on the above technical solution, every family gateway equipment includes that the second cloud platform is to connection module, for real
The now interaction between protocol process module in business cloud platform sends and opens from business cloud platform family gateway equipment port
The information for opening/closing reports family gateway equipment public network IP address to business cloud platform;SMB server module, for starting
SMB service and unlatching are in the port SMB of WAN side.
Based on the above technical solution, the family gateway equipment support adds the disk partition of USB storage device
It carries.
Based on the above technical solution, the cell phone client is installed on the smart phone for supporting wireless telecommunications.
The present invention also provides a kind of methods based on SMB agreement mobile phone remote access family gateway equipment, comprising steps of
S1. after family gateway equipment obtains public network IP address every time, which is reported to business cloud platform;
S2. user logs in the business platform by running cell phone client, and selection needs the family gateway equipment accessed,
And obtain the public network IP address of the family gateway equipment;
S3. the SMB service of the business cloud platform remote opening family gateway equipment notifies mobile phone with behind the port WAN side SMB
Client;
S4. user is connected to the home gateway by the public network IP address of the family gateway equipment and is set by cell phone client
It is standby, complete the operation to family gateway equipment;
S5. cell phone client notice business cloud platform operation terminates, and business cloud platform remotely closes the family gateway equipment
SMB service and the port WAN side SMB.
Based on the above technical solution, family gateway equipment was obtained every time there are two types of the case where public network IP address, and one
Kind is that family gateway equipment electrically activates every time, completes Internet WAN and obtains public network IP address, another kind is that home gateway is set
After standby Internet WAN link address changes, public network IP address is reacquired.
Based on the above technical solution, the family gateway equipment includes that the second cloud platform services connection module, SMB
End module, in step S1, the second cloud platform is reported to the public network IP address that connection module will acquire at the agreement of business cloud platform
Manage module.
Based on the above technical solution, in step S3, the message control module of business cloud platform sends messages to association
Processing module is discussed, protocol process module, to connection module, sends a message to SMB server module, SMB clothes by the second cloud platform
Business end module opens SMB service and the port WAN side SMB of the family gateway equipment.
Based on the above technical solution, the cell phone client includes the first cloud platform to connection module, user information
Module and SMB client modules, user logs in cell phone client by subscriber information module, and in step S2, cell phone client is logical
The first cloud platform is crossed to connection module by the family gateway equipment that obtains in the protocol process module of business cloud platform needing to access
Public network IP address;In step S4, cell phone client is connected to family gateway equipment by SMB client modules, completes to family
The operation of gateway.
The beneficial effects of the present invention are:
Family gateway equipment can be reported to business cloud platform, such mobile phone visitor after getting public network IP address every time
Family end can find corresponding family gateway equipment by public network IP address in real time;Control of the family gateway equipment in business cloud platform
Under system, pass through unlatching/closing SMB service and the port WAN side SMB;When unlatching, user is directly remotely accessed by cell phone client
Family gateway equipment, and operated, it can be closed after operation, enhance the safety that user remotely accesses family gateway equipment
Property.
Detailed description of the invention
Fig. 1 is the system that the embodiment of the present invention is based on that SMB agreement mobile phone remote accesses family gateway equipment (only one)
Schematic diagram;
Fig. 2 is the method flow diagram that the embodiment of the present invention accesses family gateway equipment based on SMB agreement mobile phone remote.
Appended drawing reference:
User client 1, the first cloud platform is to connection module 11, subscriber information module 12, SMB client modules 13;
Business cloud platform 2, message control module 21, protocol process module 22;
Family gateway equipment 3, the second cloud platform module 31, SMB server module 32.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
As shown in Figure 1, the present invention is based on the system of SMB agreement mobile phone remote access family gateway equipment, including mobile phone visitor
Family end 1, business cloud platform 2 and an at least family gateway equipment 3.In the present embodiment, a family gateway equipment 3 is only gived
Schematic diagram, when having more family gateway equipment 3, every family gateway equipment 3 and cell phone client 1, business cloud are flat
The interactive mode of platform 2 is constant.
Business cloud platform 2 operates in public network environment, and cooperation family gateway equipment 3, cell phone client 1 are realized between the two
Be interconnected, realize that user accesses the storage file function of required family gateway equipment 3 by cell phone client 1.Business cloud
Platform 2 include message control module 21 and protocol process module 22, protocol process module 22 for respectively with cell phone client 1,
Every family gateway equipment 3 interacts, and collects the public network IP address of every family gateway equipment 3, provides for cell phone client 1
The public network IP address of the family gateway equipment 3 of binding is inquired;The message control module 21 is used for the business configuration according to user
Situation controls various port open/closings in family gateway equipment 3 by the protocol process module 22.
Mobile phone is installed and run on to cell phone client 1, and the mobile phone is to support wireless telecommunications (such as 3G, 4G, wifi)
Smart phone, in the present embodiment, which is the Android smartphone for supporting 4G data service.Cell phone client 1 includes first
Cloud platform is to connection module 11, subscriber information module 12 and SMB client modules 13, and the first cloud platform is to connection module 11, for real
Interaction in existing cell phone client 1 and business cloud platform 2 between protocol process module 22;Subscriber information module 12 is for user's
It logs in and the maintenance to user related information;SMB client modules 13, for passing through SMB agreement to specified public network IP address
Family gateway equipment 3 interacts, and completes long-range storage file access.
Family gateway equipment 3 can obtain public network IP address, support to load the disk partition to USB storage device, and can
With interactive with business cloud platform 2, and the management for cloud platform 2 of accepting business.Family gateway equipment 3 includes the second cloud platform module 31
With SMB server module 32, the second cloud platform module 31 is for realizing between protocol process module 22 in business cloud platform 2
Interaction sends from business cloud platform 2 to 3 port opens of family gateway equipment/closing information, reports to business cloud platform 2
3 public network IP address of family gateway equipment;SMB server module 32 services and opens for starting SMB in the port SMB of WAN side,
Pass through the shared of SMB protocol realization storage file.
As shown in Fig. 2, the present invention is based on SMB agreement mobile phone remote access family gateway equipment method, specifically include as
Lower step:
S1. after family gateway equipment 3 obtains public network IP address every time, which is reported to business cloud platform 2.
Family gateway equipment 3 electrically activates every time, completes Internet WAN and obtains public network IP address;Either family gateway equipment
After 3Internet WAN link address changes, public network IP address is reacquired, the public network IP address that will be will acquire carries out
It reports.It is put down specifically, family gateway equipment 3 is reported to business cloud by the public network IP address that the second cloud platform module 31 will acquire
The protocol process module 22 of platform 2.
S2. user logs in and runs cell phone client 1 by subscriber information module 12, and cell phone client 1 passes through the first cloud
Platform is to connection module 11, registering service cloud platform 2, and by obtaining needing to access in the protocol process module of business cloud platform 2 22
Family gateway equipment 3 public network IP address.
S3. (cell phone client 1 needs the home gateway accessed to set to 2 remote opening of the business cloud platform family gateway equipment 3
After standby SMB service and the port WAN side SMB 3), cell phone client 1 is notified.Specifically, the Service control mould of business cloud platform 2
Block 21 sends messages to protocol process module 22, and protocol process module 22, to connection module 31, is disappeared by the second cloud platform by described
Breath is sent to SMB server module 32, and SMB server module 32 opens SMB service and the WAN side SMB of the family gateway equipment 3
Port.
S4. user is connected to the home gateway by the public network IP address of the family gateway equipment 3 by cell phone client 1
Equipment 3 completes the operation to family gateway equipment 3.The home gateway accessed is needed to set specifically, cell phone client 1 is aware of
Standby 3 public network IP address is connected to the family gateway equipment 3 for needing to access by SMB client modules 13, carries out to the remote of its
Journey access and operation.
S5. after the completion of user's operation, by the first cloud platform of cell phone client 1 to connection module 11, to protocol processes mould
Block 22 sends message, and the notice operation of business cloud platform 2 terminates.The message control module 21 of business cloud platform 2, control protocol processing
Module 22 sends message to connection module 31 to the second platform, and the second platform transmits the message to corresponding family to connection module 31
The SMB server module 32 of gateway 3, server module 32 close SMB service and the port WAN side SMB.
The concrete operations that above-mentioned steps complete a required equipment, if subsequent also need to other family gateway equipments 3
It is operated, only public network IP address changes, and concrete operation step is constant.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (10)
1. a kind of system based on SMB server block of information agreement mobile phone remote access family gateway equipment, including it is installed on hand
The family gateway equipment of the cell phone client of machine, at least one acquisition public network IP address, it is characterised in that: further include operating in public affairs
Business cloud platform in net environment, business cloud platform include protocol process module and message control module, wherein
The protocol process module collects home network for interacting respectively with cell phone client, every family gateway equipment
The public network IP address of equipment is closed, provides the public network IP address inquiry of the family gateway equipment of binding for cell phone client;
The message control module controls family by the protocol process module for the business configuration situation according to user
Various port open/closings in gateway;
Message control module sends messages to protocol process module, and protocol process module sends the message to home gateway and sets
Standby, family gateway equipment opens or closes SMB service and the port WAN side SMB according to the message.
2. the system as described in claim 1 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
The cell phone client includes,
First cloud platform is to connection module, for realizing the friendship between protocol process module in cell phone client and business cloud platform
Mutually;
SMB client modules are completed for being interacted by family gateway equipment of the SMB agreement to specified public network IP address
Remote document access;
Subscriber information module, for user log in and maintenance to user related information.
3. the system as claimed in claim 2 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
Every family gateway equipment includes,
Second cloud platform is to connection module, and for realizing the interaction between protocol process module in business cloud platform, transmission is come from
Business cloud platform reports family gateway equipment public network to business cloud platform to family gateway equipment port open/closing information
IP address;
SMB server module, for starting SMB service and opening in the port SMB of WAN side.
4. the system as described in claim 1 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
The family gateway equipment supports the disk partition to USB storage device to load.
5. the system as described in claim 1 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
The cell phone client is installed on the smart phone for supporting wireless telecommunications.
6. a kind of method based on SMB agreement mobile phone remote access family gateway equipment based on system described in claim 1,
It is characterized in that, comprising steps of
S1. after family gateway equipment obtains public network IP address every time, which is reported to business cloud platform;
S2. user logs in the business platform by running cell phone client, and selection needs the family gateway equipment accessed, and obtains
To the public network IP address of the family gateway equipment;
S3. the SMB service of the business cloud platform remote opening family gateway equipment notifies cell phone customer with behind the port WAN side SMB
End;
S4. user is connected to the family gateway equipment by the public network IP address of the family gateway equipment by cell phone client, complete
The operation of pairs of family gateway equipment;
S5. cell phone client notice business cloud platform operation terminates, and business cloud platform remotely closes the SMB of the family gateway equipment
Service and the port WAN side SMB.
7. the method as claimed in claim 6 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
Family gateway equipment was obtained every time there are two types of the case where public network IP address, and one is family gateway equipments to electrically activate every time, was completed
Internet WAN obtains public network IP address, and another kind is that family gateway equipment Internet WAN link address changes
Afterwards, public network IP address is reacquired.
8. the method as claimed in claim 6 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
The family gateway equipment includes the second cloud platform to connection module, SMB server module, in step S1, the docking of the second cloud platform
The public network IP address that module will acquire is reported to the protocol process module of business cloud platform.
9. the method as claimed in claim 8 based on SMB agreement mobile phone remote access family gateway equipment, it is characterised in that:
In step S3, the message control module of business cloud platform sends messages to protocol process module, and protocol process module passes through second
Cloud platform sends a message to SMB server module to connection module, and SMB server module opens the SMB of the family gateway equipment
Service and the port WAN side SMB.
10. special such as the method as claimed in claim 6 to 8 based on SMB agreement mobile phone remote access family gateway equipment
Sign is: the cell phone client includes the first cloud platform to connection module, subscriber information module and SMB client modules, user
Cell phone client is logged in by subscriber information module, in step S2, cell phone client is by the first cloud platform to connection module by industry
Obtain needing the public network IP address of the family gateway equipment accessed in the protocol process module for cloud platform of being engaged in;In step S4, mobile phone
Client is connected to family gateway equipment by SMB client modules, completes the operation to family gateway equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510608053.6A CN105306315B (en) | 2015-09-21 | 2015-09-21 | System and method based on SMB agreement mobile phone remote access family gateway equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510608053.6A CN105306315B (en) | 2015-09-21 | 2015-09-21 | System and method based on SMB agreement mobile phone remote access family gateway equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306315A CN105306315A (en) | 2016-02-03 |
CN105306315B true CN105306315B (en) | 2019-01-29 |
Family
ID=55203094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510608053.6A Active CN105306315B (en) | 2015-09-21 | 2015-09-21 | System and method based on SMB agreement mobile phone remote access family gateway equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306315B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254509A (en) * | 2016-08-30 | 2016-12-21 | 珠海迈科智能科技股份有限公司 | A kind of information transferring method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442566A (en) * | 2009-01-08 | 2009-05-27 | 中国电信股份有限公司 | Method and apparatus for implementing dynamic domain name update |
CN101702718A (en) * | 2009-11-18 | 2010-05-05 | 中兴通讯股份有限公司 | Method and device for managing user terminal equipment |
CN102594635A (en) * | 2012-02-15 | 2012-07-18 | 中国联合网络通信集团有限公司 | Home-gateway-based terminal access method and system, and home gateway |
CN103685080A (en) * | 2012-09-26 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Switch, wide area network connection system, network and wide area network connection control method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202425065U (en) * | 2011-12-24 | 2012-09-05 | 成都市汉云星河网络系统有限公司 | Wireless router supporting mobile phone remote control |
US8812689B2 (en) * | 2012-02-17 | 2014-08-19 | The Boeing Company | System and method for rotating a gateway address |
CN103731756B (en) * | 2014-01-02 | 2016-09-07 | 中国科学院信息工程研究所 | A kind of Smart Home remote secure access control method based on intelligent cloud television gateway |
CN104601714A (en) * | 2015-01-29 | 2015-05-06 | 太仓市同维电子有限公司 | Implementation method of management of three-layer network terminal by phone application program |
-
2015
- 2015-09-21 CN CN201510608053.6A patent/CN105306315B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442566A (en) * | 2009-01-08 | 2009-05-27 | 中国电信股份有限公司 | Method and apparatus for implementing dynamic domain name update |
CN101702718A (en) * | 2009-11-18 | 2010-05-05 | 中兴通讯股份有限公司 | Method and device for managing user terminal equipment |
CN102594635A (en) * | 2012-02-15 | 2012-07-18 | 中国联合网络通信集团有限公司 | Home-gateway-based terminal access method and system, and home gateway |
CN103685080A (en) * | 2012-09-26 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Switch, wide area network connection system, network and wide area network connection control method |
Also Published As
Publication number | Publication date |
---|---|
CN105306315A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104660682B (en) | A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE | |
US10567326B2 (en) | Interworking of social media service and machine to machine service | |
CN105159256B (en) | A kind of intelligent home control system based on Web service | |
CN104658226B (en) | Wireless kilowatt meter reading-out system and meter register method | |
CN103236960A (en) | Method and system for data interaction between home server and plurality of terminals | |
CN103051672B (en) | End message acquisition methods in a kind of heterogeneous terminals environment and device | |
CN103347037A (en) | WCF realization-based communication front-end processor system and communicating method | |
US20180013615A1 (en) | Management Method for Home Network Device and Network Management System | |
CN102789219A (en) | Energy management system | |
CN103347084B (en) | A kind of more accounts unify interconnected system and correlating method | |
CN103372275A (en) | Internet-of-things fire monitoring system based on cloud services | |
CN102185716A (en) | Universal management method and system for communication equipment | |
CN103336493A (en) | An energy management system | |
CN106127625A (en) | A kind of guarantee house based on fingerprint recognition management system and method | |
CN104376005A (en) | Method and system for processing user detail lists by software heartbeat mechanism signaling access probe | |
CN109617867A (en) | A kind of Intelligent gateway system for home equipment control | |
CN202918312U (en) | Medical equipment intelligent cloud management and maintenance system | |
CN103024023B (en) | Digital Reading Room network audit method | |
CN106789616A (en) | A kind of things-internet gateway equipment and Internet of Things central platform | |
CN102299945A (en) | Gateway configuration page registration method, system thereof and portal certificate server | |
CN106341463A (en) | A mobile internet audio/video management and control system based on an internet of things | |
CN105306315B (en) | System and method based on SMB agreement mobile phone remote access family gateway equipment | |
CN109343488A (en) | Fieldbus monitoring early-warning system and method based on wechat and FDT technology | |
CN106941680A (en) | Base station monitoring method, terminal, vpn server and system | |
CN103024767A (en) | Mobile communication service end-to-end performance evaluation method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |