CN107770226B - Control method and device for smart home, home gateway and mobile terminal - Google Patents

Control method and device for smart home, home gateway and mobile terminal Download PDF

Info

Publication number
CN107770226B
CN107770226B CN201610701650.8A CN201610701650A CN107770226B CN 107770226 B CN107770226 B CN 107770226B CN 201610701650 A CN201610701650 A CN 201610701650A CN 107770226 B CN107770226 B CN 107770226B
Authority
CN
China
Prior art keywords
mobile terminal
identification information
home gateway
information
module
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
Application number
CN201610701650.8A
Other languages
Chinese (zh)
Other versions
CN107770226A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610701650.8A priority Critical patent/CN107770226B/en
Priority to PCT/CN2017/083093 priority patent/WO2018036198A1/en
Publication of CN107770226A publication Critical patent/CN107770226A/en
Application granted granted Critical
Publication of CN107770226B publication Critical patent/CN107770226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Abstract

The invention discloses a control method and a control device for smart home, a home gateway and a mobile terminal, wherein the method comprises the following steps: acquiring an acquisition request of alarm information initiated by a mobile terminal; and when the acquisition request carries identification information and the identification information is matched with the pre-recorded identification information, sending alarm information to the mobile terminal. The invention realizes the identity authentication of the home gateway to the mobile terminal by adding the identification information matching process, and sends the alarm information after the authentication is successful, thereby avoiding the problem that the mobile terminal can not accurately monitor the home security state due to receiving unexpected alarm information, and improving the accuracy of receiving the alarm information.

Description

Control method and device for smart home, home gateway and mobile terminal
Technical Field
The invention relates to the field of communication and smart home, in particular to a control method and device for smart home, a home gateway and a mobile terminal.
Background
As shown in fig. 1, the smart home system model is composed of a smart home gateway, mobile control terminal devices (a computer, a mobile phone, a pad, and the like) provided with App control software, various smart home appliances (or sensors, and the like), and a cloud server. The intelligent home system is formed with an internal network system and an external network system.
The intranet is a local area network formed by the intelligent home gateway, the intelligent household appliances and the mobile terminal device which is accessed to the intelligent home gateway through wireless wifi or zigbee in the network coverage range of the intelligent home gateway device.
The external network is a cloud network formed by the mobile terminal device, the intelligent home gateway and the intelligent household appliance device by establishing association between the mobile terminal device and a cloud transmission channel of the cloud server through a network system of the mobile terminal device when the mobile control terminal is not in the network coverage range of the intelligent home gateway.
App software installed on the mobile terminal device is used for remotely controlling and monitoring the intelligent household appliances accessed to the intelligent household gateway. The intelligent home gateway control App of the mobile terminal equipment has an internal network and an external network operation authority respectively, and when the mobile terminal equipment is in an internal network range, the intelligent home gateway can be accessed through wifi, so that real-time monitoring and control are performed through the internal network. And when the mobile terminal is not in the range of the intranet, real-time monitoring and operation are carried out through the cloud network. In both an external network environment and an internal network environment, an App must be authorized to log in and then can have control right, and a Webserver module in the intelligent home gateway is responsible for controlling the output of information such as authorized log-in of the App, intelligent household appliance configuration management, equipment alarm and the like. However, in an intranet environment, in order to make the use of the system more convenient and faster, some real-time monitoring information (for example, intelligent household appliance alarm information) apps can be continuously obtained before the login is authorized. That is, after the mobile terminal user installed with the App software accesses the intelligent home gateway through the intranet, all the alarm information sent by the intelligent home appliance of the home gateway can be continuously received without logging in the webserver.
However, it may happen that the mobile terminal may receive undesired alarm information, such as: a set of intelligent home gateway network is deployed in a home of a user A, a set of same intelligent home gateway network is deployed in a home of a user B, and the intelligent home gateway network monitor the alarm state of the smart home by using respective mobile phones to install a matched App. When the mobile phone of the user A is accessed to the intelligent home gateway of the user B through the wifi, the mobile phone of the user A can continuously receive the alarm state of the intelligent home of the user B, and therefore monitoring of the user A on the home security state is influenced.
Disclosure of Invention
The invention provides a control method and device for an intelligent home, a home gateway and a mobile terminal, and solves the problem that in the prior art, an intelligent home system cannot distinguish user identities when a user does not log in, so that an alarm message is sent wrongly.
According to one aspect of the invention, a control method for smart home is provided, which comprises the following steps:
acquiring an acquisition request of alarm information initiated by a mobile terminal;
and when the acquisition request carries identification information for verifying the validity of the mobile terminal and the identification information is matched with the pre-recorded identification information, sending alarm information to the mobile terminal.
The control method of the smart home further comprises the following steps:
and when the identification information is not carried in the acquisition request or the identification information carried in the acquisition request is not matched with the pre-recorded identification information, refusing to respond to the acquisition request.
Before the step of obtaining the request for obtaining the alarm information initiated by the mobile terminal, the method further includes:
acquiring a login request initiated by a mobile terminal;
responding to the login request and sending identification information to the mobile terminal after the mobile terminal successfully logs in; wherein the identification information is generated based on the identity information of the home gateway.
Before the step of obtaining the request for obtaining the alarm information initiated by the mobile terminal, the method further includes:
acquiring a login request which is initiated by a mobile terminal and carries identification information; the identification information is generated by the mobile terminal according to the identity information of the mobile terminal;
responding to the login request and mapping the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in;
and storing the login information of the mobile terminal in a local login record pool.
According to another aspect of the present invention, there is provided a method for controlling smart home, including:
sending an acquisition request for acquiring alarm information to a currently accessed home gateway; the obtaining request carries identification information used for verifying the validity of the mobile terminal;
receiving alarm information fed back by the home gateway according to the acquisition request; and the warning information is sent when the home gateway detects that the identification information is matched with the pre-recorded identification information.
Before the step of sending an acquisition request for acquiring the warning information to the currently accessed home gateway, the method further includes:
sending a login request to the home gateway; so that the home gateway responds to the login request;
logging in according to the response information of the home gateway and receiving the identification information sent by the home gateway; the identification information is generated according to the identity information of the home gateway after the mobile terminal successfully logs in.
Before the step of sending an acquisition request for acquiring the warning information to the currently accessed home gateway, the method further includes:
generating identification information according to the identity information of the mobile terminal;
sending a login request carrying identification information to a home gateway; so that the home gateway responds to the login request;
and logging in according to the response information of the home gateway.
According to another aspect of the present invention, there is also provided a control device for smart home, including:
the first acquisition module is used for acquiring an acquisition request of the alarm information initiated by the mobile terminal;
and the first processing module is used for sending alarm information to the mobile terminal when the acquisition request carries identification information used for verifying the validity of the mobile terminal and the identification information is matched with the pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
and the second processing module is used for refusing to respond to the acquisition request when the acquisition request does not carry the identification information or the identification information carried in the acquisition request is not matched with the pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
the second acquisition module is used for acquiring a login request initiated by the mobile terminal;
the first response module is used for responding to the login request and sending identification information to the mobile terminal after the mobile terminal successfully logs in; wherein the identification information is generated based on the identity information of the home gateway.
Wherein, this intelligent house's controlling means still includes:
a third obtaining module, configured to obtain a login request that is initiated by a mobile terminal and carries identification information; the identification information is generated by the mobile terminal according to the identity information of the mobile terminal;
the second response module is used for responding to the login request and mapping the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in;
and the second storage module is used for storing the login information of the mobile terminal in a local login record pool.
According to still another aspect of the present invention, there is provided a home gateway, including the control device of the smart home as described above.
According to still another aspect of the present invention, there is provided a control device for smart home, including:
the first sending module is used for sending an acquisition request for acquiring the alarm information to the currently accessed home gateway; the obtaining request carries identification information used for verifying the validity of the mobile terminal;
the receiving module is used for receiving the alarm information fed back by the home gateway according to the acquisition request; and the warning information is sent when the home gateway detects that the identification information is matched with the pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
the second sending module is used for sending a login request to the home gateway; so that the home gateway responds to the login request;
the first login module is used for logging in according to the response information of the home gateway and receiving the identification information sent by the home gateway; the identification information is generated according to the identity information of the home gateway after the mobile terminal successfully logs in.
Wherein, this intelligent house's controlling means still includes:
the generating module is used for generating identification information according to the identity information of the mobile terminal;
a third sending module, configured to send a login request carrying identification information to the home gateway; so that the home gateway responds to the login request;
and the second login module is used for logging in according to the response information of the home gateway.
According to still another aspect of the invention, a mobile terminal is further provided, which includes the control device of the smart home as described above.
The embodiment of the invention has the beneficial effects that:
by adding the identification information matching process, the identity authentication of the home gateway to the mobile terminal is realized, the alarm information is issued only after the authentication is successful, the problem that the mobile terminal cannot accurately monitor the home security state due to the fact that the mobile terminal receives unexpected alarm information is solved, and the accuracy of receiving the alarm information is improved.
Drawings
FIG. 1 shows an overall architecture diagram of a smart home system model;
fig. 2 is a schematic flow chart illustrating a method for controlling a smart home at a home gateway side according to the present invention;
fig. 3 is a schematic structural diagram of a control device of a smart home at a home gateway side according to the present invention;
fig. 4 is a flowchart illustrating a method for controlling a smart home at a mobile terminal according to the present invention;
fig. 5 is a schematic configuration diagram of a control device for smart home at a mobile terminal side according to the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example one
As shown in fig. 2, an embodiment of the present invention provides a method for controlling an intelligent home, which is described by taking a home gateway as an example, and specifically includes the following steps:
step 201: and acquiring an acquisition request of the alarm information initiated by the mobile terminal.
In the intelligent home system, the mobile terminal does not have the functions of configuration, operation and the like of the home gateway when the mobile terminal is not logged in, but can actively acquire the current warning information from the home gateway. Wherein, this alarm information includes: the system comprises fault alarm information of the home gateway, operation alarm information of the home gateway, alarm information of electric equipment connected with the home gateway, alarm information of a cloud server connected with the home gateway and the like.
Step 202: and when the acquisition request carries identification information for verifying the validity of the mobile terminal and the identification information is matched with the pre-recorded identification information, sending alarm information to the mobile terminal.
When the acquisition request sent by the mobile terminal carries identification information and the identification information is matched with the pre-recorded identification information, the identity of the mobile terminal is determined to be legal, namely the identity between the mobile terminal and the home gateway is determined to be successfully verified, and then self alarm information is sent to the mobile terminal. The identification information may be information representing the identity of the mobile terminal, or information representing the identity of the home gateway, as long as the uniqueness is ensured, for example: the home gateway includes identity information of the mobile terminal (such as a MAC address), or a unique identifier determined by a preset algorithm according to the identity information of the mobile terminal, or identity information of the home gateway (such as a MAC address), or a unique identifier determined by a preset algorithm according to the identity information of the home gateway.
Step 203: and when the identification information is not carried in the acquisition request or the identification information carried in the acquisition request is not matched with the pre-recorded identification information, refusing to respond to the acquisition request.
In order to prevent the false sending of the alarm information, if the acquired acquisition request does not carry the identification information or carries the identification information but the identification information is not matched with the pre-recorded identification information, the acquisition request of the mobile terminal is refused to be responded. The home gateway may reject the acquisition request of the mobile terminal, for example, directly ignore or intercept the acquisition request sent by the mobile terminal that is not successfully verified, or send a reject response message to the mobile terminal, so that the mobile terminal stops sending the acquisition request to the home gateway.
Therefore, the identity authentication of the home gateway to the mobile terminal is realized by adding the identification information matching process, the alarm information is issued only after the authentication is successful, the problem that the mobile terminal cannot accurately monitor the home security state due to the fact that the mobile terminal receives unexpected alarm information is solved, and the accuracy of receiving the alarm information is improved.
Specifically, before the step of obtaining the request for obtaining the alarm information initiated by the mobile terminal, the method further includes: acquiring a login request initiated by a mobile terminal; responding to the login request and sending identification information to the mobile terminal after the mobile terminal successfully logs in; wherein the identification information is generated according to the identity information of the home gateway. That is to say, after the user installs the APP software of the smart home network, a login request may be initiated to the home gateway through the APP software, where the login request carries a user name and a password, the home gateway authenticates the mobile terminal according to the user name and the password, and a successful authentication indicates that the mobile terminal has successfully logged in. After the mobile terminal successfully logs in, the home gateway sends identification information to the mobile terminal, and the identification information is recorded on the home gateway side and the mobile terminal side at the same time. Specifically, the identification information may be a MAC address and an IMEI number of the home gateway, or a unique identifier generated according to the MAC address or the IMEI number of the home gateway, as long as it is ensured that the identification information can accurately and uniquely represent the identity information of the home gateway.
Further, the identification information is used to complete an authentication process between the home gateway and the mobile terminal, the identification information determined according to the identity information of the home gateway is introduced above, and the implementation manner of the identification information determined according to the identity information of the mobile terminal is further described below. Specifically, before the step of obtaining the request for obtaining the alarm information initiated by the mobile terminal, the method further includes: acquiring a login request which is initiated by a mobile terminal and carries identification information; the identification information is generated by the mobile terminal according to the identity information of the mobile terminal; responding to the login request and mapping the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in; and storing the login information of the mobile terminal in a local login record pool. That is to say, after the user installs the APP software of the smart home network, first, an identification information is generated according to the identity information of the user, and a login request carrying the identification information is sent to the home gateway through the APP software, wherein the login request also carries a user name and a password, the home gateway authenticates the mobile terminal according to the user name and the password, and if the authentication is successful, the login success of the mobile terminal is indicated. After the mobile terminal successfully logs in, the home gateway records the login information and the identification information of the mobile terminal in a local login recording pool. The login information includes a user name and a password of the mobile terminal and identification information of the mobile terminal. Specifically, the identification information may be a MAC address and an IMEI number of the mobile terminal, or a unique identifier generated according to the MAC address or the IMEI number of the mobile terminal, as long as it is ensured that the identification information can accurately and uniquely represent the identity information of the mobile terminal.
Therefore, no matter the identification information generated by the home gateway or the identification information generated by the mobile terminal, as long as the unique identity of the identification information can be represented, the mutual identity authentication between the home gateway and the mobile terminal can be realized, and the home gateway sends the alarm information to the mobile terminal after the authentication is successful, so that the problem that the mobile terminal cannot accurately monitor the home security state due to the fact that the mobile terminal receives unexpected alarm information is solved, and the accuracy of receiving the alarm information is improved.
Example two
In the above embodiment, the first control method for a home gateway side smart home is described, and the following embodiment will further describe a corresponding apparatus with reference to the accompanying drawings.
As shown in fig. 3, a second embodiment of the present invention provides a control device for smart home, which specifically includes:
a first obtaining module 31, configured to obtain an obtaining request of the alarm information initiated by the mobile terminal;
the first processing module 32 is configured to send alarm information to the mobile terminal when the acquisition request carries identification information for verifying the validity of the mobile terminal and the identification information matches with pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
and the second processing module is used for refusing to respond to the acquisition request when the acquisition request does not carry the identification information or the identification information carried in the acquisition request is not matched with the pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
the second acquisition module is used for acquiring a login request initiated by the mobile terminal;
the first response module is used for responding to the login request and sending identification information to the mobile terminal after the mobile terminal successfully logs in; wherein the identification information is generated based on the identity information of the home gateway.
Wherein, this intelligent house's controlling means still includes:
a third obtaining module, configured to obtain a login request that is initiated by a mobile terminal and carries identification information; the identification information is generated by the mobile terminal according to the identity information of the mobile terminal;
the second response module is used for responding to the login request and mapping the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in;
and the storage module is used for storing the login information of the mobile terminal in a local login record pool.
It should be noted that the apparatus is an apparatus corresponding to the control method of the smart home, and all implementation manners in the first method embodiment are applicable to the embodiment of the apparatus, and the same technical effect can be achieved.
According to still another aspect of the embodiment of the present invention, there is provided a home gateway, including the control device of the smart home as described above.
EXAMPLE III
The first embodiment and the second embodiment respectively describe the method and the device for controlling the smart home from the home gateway side, and the following embodiment further describes the method for controlling the smart home at the mobile terminal side with reference to the drawings and specific application scenarios.
As shown in fig. 4, an embodiment of the present invention provides a method for controlling an intelligent home, which is described by taking a mobile terminal as an example, and specifically includes the following steps:
step 401: and sending an acquisition request for acquiring the alarm information to the currently accessed home gateway.
After the mobile terminal is accessed into a certain intelligent home system, the mobile terminal does not have the functions of configuration, operation and the like of the home gateway when not logged in, but can actively acquire the current warning information from the home gateway. In addition, the acquisition request sent by the mobile terminal carries identification information for verifying the validity of the mobile terminal, and the identification information can be information representing the identity of the mobile terminal or information representing the identity of the home gateway as long as the uniqueness of the identification information is ensured. The alarm information includes: the system comprises fault alarm information of the home gateway, operation alarm information of the home gateway, alarm information of electric equipment connected with the home gateway, alarm information of a cloud server connected with the home gateway and the like.
Step 402: and receiving the alarm information fed back by the home gateway according to the acquisition request.
And the warning information is sent when the home gateway detects that the identification information is matched with the pre-recorded identification information. That is to say, when the identification information carried in the acquisition request sent by the mobile terminal is matched with the pre-recorded identification information, it is determined that the authentication between the mobile terminal and the home gateway is successful, and the home gateway sends its own warning information to the mobile terminal. If the verification is unsuccessful, the home gateway refuses the acquisition request of the mobile terminal, so that the mobile terminal cannot receive the corresponding alarm information, and the problem that the safety state of the home is difficult to be accurately monitored due to the fact that unexpected alarm information is received is avoided.
Before the step of sending an acquisition request for acquiring the warning information to the currently accessed home gateway, the method further includes: sending a login request to the home gateway; so that the home gateway responds to the login request; logging in according to the response information of the home gateway and receiving the identification information sent by the home gateway; the identification information is generated by the home gateway according to the identity information of the home gateway. That is to say, after the user installs the APP software of the smart home network, a login request may be initiated to the home gateway through the APP software, where the login request carries a user name and a password, the home gateway authenticates the mobile terminal according to the user name and the password, and a successful authentication indicates that the mobile terminal has successfully logged in. After the mobile terminal successfully logs in, the home gateway sends identification information to the mobile terminal, and the identification information is recorded on the home gateway side and the mobile terminal side at the same time. Specifically, the identification information may be a MAC address and an IMEI number of the home gateway, or a unique identifier generated according to the MAC address or the IMEI number of the home gateway, as long as it is ensured that the identification information can accurately and uniquely represent the identity information of the home gateway.
Further, the identification information is used to complete an authentication process between the home gateway and the mobile terminal, the identification information determined according to the identity information of the home gateway is introduced above, and the implementation manner of the identification information determined according to the identity information of the mobile terminal is further described below. Specifically, before the step of sending an acquisition request for acquiring the warning information to the currently accessed home gateway, the method further includes: generating identification information according to the identity information of the mobile terminal; sending a login request carrying identification information to a home gateway; so that the home gateway responds to the login request; and logging in according to the response information of the home gateway. After the user installs the APP software of the smart home network, firstly, generating identification information according to the identity information of the user, and sending a login request carrying the identification information to the home gateway through the APP software, wherein the login request also carries a user name and a password, the home gateway authenticates the mobile terminal according to the user name and the password, and if the authentication is successful, the mobile terminal logs in successfully. After the mobile terminal successfully logs in, the home gateway records the login information and the identification information of the mobile terminal in a local login recording pool. The login information includes a user name and a password of the mobile terminal and identification information of the mobile terminal. Specifically, the identification information may be a MAC address and an IMEI number of the mobile terminal, or a unique identifier generated according to the MAC address or the IMEI number of the mobile terminal, as long as it is ensured that the identification information can accurately and uniquely represent the identity information of the mobile terminal.
That is, the user installs the APP software of the smart home network, and after the APP software is successfully installed, a unique identifier can be generated and recorded according to the MAC address of its host (i.e., the MAC address of the mobile terminal). In an environment where the smart home gateway network is deployed, login is performed through APP software, and the login message of the smart home gateway network must include the identifier. After the APP software successfully logs in, the Webserver of the home gateway records the identifier into a user login recording pool of the Webserver, wherein after the mobile terminal successfully logs in the Webserver, the Webserver module acquires the identifier carried in the login request message, searches the identifier in the Webserver user login recording pool, if the identifier is inquired to exist, the identifier is not repeatedly recorded, and if the identifier does not exist, the identifier is recorded into the user login recording pool. When the mobile terminal is in the intranet of the intelligent home system, an acquisition request for acquiring alarm information can be initiated to the home gateway through APP software before logging in, and the request information comprises an identifier of the mobile terminal. After receiving the acquisition request initiated by the mobile terminal, the Webserver module of the home gateway first analyzes whether the request message has an identifier, and searches whether the identifier matched with the identifier exists in a user login record pool of the Webserver. And if the identifier exists in the user login record pool of the Webserver, feeding back related alarm information to the mobile terminal, otherwise, not feeding back the related alarm information.
Specifically, assume that a home gateway is configured in a home of a user a, an intelligent home gateway is also configured in a user B, and APP control software is installed in both the mobile phones of a and B. And the user A goes to the family B to make a visitor, and the mobile phone of the user A is connected to the home gateway of the family B through Wifi to carry out internet surfing operation. At this time, according to the design principle of the APP, the APP in the mobile phone a initiates a request for acquiring the device alarm information to the smart home gateway in the home B. And if the Webserver module in the intelligent home gateway in the B home detects that the request sent by the A is not authorized, the A is not returned with the result of the equipment alarm information. Therefore, the real-time monitoring of the A is the alarm information of the intelligent household appliances in the intelligent home gateway of the self, and the interference of the alarm information of the B is avoided.
Therefore, no matter the identification information generated by the home gateway or the identification information generated by the mobile terminal, as long as the unique identity of the home gateway or the identification information generated by the mobile terminal can be represented, the mutual identity authentication between the home gateway and the mobile terminal can be realized, and the home gateway sends the alarm information to the mobile terminal after the authentication is successful, so that the problem that the mobile terminal cannot accurately monitor the home security state due to the fact that the mobile terminal receives unexpected alarm information is solved.
Example four
The third embodiment of the present invention describes a method for controlling an intelligent home at a mobile terminal side, and the following embodiment will further describe corresponding devices with reference to the accompanying drawings.
As shown in fig. 5, a fourth embodiment of the present invention provides a control device for smart home, including:
a first sending module 51, configured to send an acquisition request for acquiring the warning information to a currently accessed home gateway; the obtaining request carries identification information used for verifying the validity of the mobile terminal;
a receiving module 52, configured to receive alarm information fed back by the home gateway according to the obtaining request; and the warning information is sent when the home gateway detects that the identification information is matched with the pre-recorded identification information.
Wherein, this intelligent house's controlling means still includes:
the second sending module is used for sending a login request to the home gateway; so that the home gateway responds to the login request;
the first login module is used for logging in according to the response information of the home gateway and receiving the identification information sent by the home gateway; the identification information is generated according to the identity information of the home gateway after the mobile terminal successfully logs in.
Wherein, this intelligent house's controlling means still includes:
the generating module is used for generating identification information according to the identity information of the mobile terminal;
a third sending module, configured to send a login request carrying identification information to the home gateway; so that the home gateway responds to the login request;
and the second login module is used for logging in according to the response information of the home gateway.
It should be noted that the apparatus is an apparatus corresponding to the control method of the smart home, and all implementation manners in the third method embodiment are applicable to the embodiment of the apparatus, and the same technical effect can be achieved.
According to still another aspect of the embodiment of the present invention, there is also provided a mobile terminal including the control device for smart home as described above.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (16)

1. A control method of smart home is characterized by comprising the following steps:
during the period that a mobile terminal logs in a webserver module of a home gateway accessed through an intranet through an installed APP, the home gateway obtains identification information used for verifying the validity of the mobile terminal and serves as pre-recorded identification information;
when the mobile terminal does not log in a webserver module of the home gateway which is accessed through an intranet through the APP, the home gateway acquires an acquisition request of alarm information initiated by the mobile terminal;
and when the acquisition request carries identification information used for verifying the validity of the mobile terminal and the identification information is matched with the pre-recorded identification information, the home gateway sends alarm information to the mobile terminal.
2. The smart home control method according to claim 1, further comprising:
and when the acquisition request does not carry identification information or the identification information carried in the acquisition request is not matched with the pre-recorded identification information, refusing to respond to the acquisition request.
3. The smart home control method according to claim 1, wherein the pre-recorded identification information is identification information generated according to identity information of the home gateway, and the method further comprises:
the home gateway acquires a login request initiated by a mobile terminal;
and the home gateway responds to the login request and sends the identification information to the mobile terminal after the mobile terminal successfully logs in.
4. The smart home control method according to claim 1, wherein the pre-recorded identification information is identification information generated by the mobile terminal according to identity information of the mobile terminal, and the method further comprises:
the home gateway acquires a login request which is initiated by the mobile terminal and carries the identification information;
the home gateway responds to the login request and maps the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in;
and the home gateway stores the login information of the mobile terminal in a local login record pool.
5. A control method of smart home is characterized by comprising the following steps:
the method comprises the steps that during the period that a mobile terminal logs in a webserver module of a home gateway accessed through an intranet through an installed APP, the mobile terminal obtains identification information used for verifying the validity of the mobile terminal;
when the mobile terminal does not log in a webserver module of the home gateway accessed through the intranet through the APP, the mobile terminal sends an acquisition request for acquiring alarm information to the currently accessed home gateway; wherein, the obtaining request carries an identification information for verifying the validity of the mobile terminal;
and the mobile terminal receives alarm information sent by the home gateway when the home gateway detects that the acquisition request carries identification information for verifying the validity of the mobile terminal and the identification information is matched with the pre-recorded identification information.
6. The smart home control method according to claim 5, wherein the pre-recorded identification information is identification information generated according to the identity information of the home gateway, and the obtaining, by the mobile terminal, identification information for verifying the validity of the mobile terminal includes:
the mobile terminal sends a login request to the home gateway so that the home gateway can respond to the login request;
and the mobile terminal logs in according to the response information of the home gateway and receives the identification information which is generated and sent by the home gateway according to the identity information of the home gateway after the mobile terminal successfully logs in.
7. The smart home control method according to claim 5, wherein the pre-recorded identification information is identification information generated by the mobile terminal according to identity information of the mobile terminal, and the method further comprises:
the mobile terminal sends a login request carrying the identification information to the home gateway so that the home gateway responds to the login request;
and the mobile terminal logs in according to the response information of the home gateway.
8. The utility model provides a controlling means of intelligence house which characterized in that includes:
the system comprises a first acquisition module, a second acquisition module and a first processing module, wherein the first acquisition module is used for acquiring an acquisition request of alarm information initiated by a mobile terminal when the mobile terminal does not log in a webserver module of a home gateway accessed through an intranet through an installed APP;
the first processing module is used for carrying an identification information used for verifying the validity of the mobile terminal in the acquisition request, and sending alarm information to the mobile terminal when the identification information is matched with the pre-recorded identification information, wherein the pre-recorded identification information is used for verifying the validity of the mobile terminal, which is obtained during the webserver module of the home gateway and accessed by the internal network through the APP login.
9. The control device for smart home as claimed in claim 8, further comprising:
and the second processing module is used for refusing to respond to the acquisition request when the acquisition request does not carry identification information or the identification information carried in the acquisition request is not matched with the pre-recorded identification information.
10. The control device for smart home according to claim 8, wherein the pre-recorded identification information is identification information generated according to identity information of the home gateway, and further comprising:
the second acquisition module is used for acquiring a login request initiated by the mobile terminal;
and the first response module is used for responding to the login request and sending the identification information to the mobile terminal after the mobile terminal successfully logs in.
11. The apparatus according to claim 8, wherein the pre-recorded identification information is identification information generated by the mobile terminal according to identity information of the mobile terminal, and further comprising:
a third obtaining module, configured to obtain a login request that is initiated by a mobile terminal and carries the identification information; the second response module is used for responding to the login request and mapping the identification information to the login information of the mobile terminal after the mobile terminal successfully logs in;
and the storage module is used for storing the login information of the mobile terminal in a local login record pool.
12. A home gateway, characterized by comprising the control device of the smart home according to any one of claims 8 to 11.
13. The utility model provides a controlling means of intelligence house which characterized in that includes:
the system comprises a first sending module, a second sending module and a warning message sending module, wherein the first sending module is used for sending an acquisition request for acquiring warning messages to a home gateway which is currently accessed by a mobile terminal when the mobile terminal does not log in the webserver module of the home gateway which is accessed by an intranet through an installed APP; wherein, the obtaining request carries an identification information for verifying the validity of the mobile terminal;
a receiving module, configured to receive alarm information sent by the home gateway when the home gateway detects that the acquisition request carries identification information for verifying the validity of the mobile terminal and the identification information matches with pre-recorded identification information; the prerecorded identification information is identification information which is obtained during the period that the mobile terminal logs in the webserver module of the home gateway which is accessed through the internal network through the APP and is used for verifying the validity of the mobile terminal.
14. The apparatus according to claim 13, wherein the pre-recorded identification information is identification information generated according to identity information of the home gateway, and further comprising:
a second sending module, configured to send a login request to the home gateway, so that the home gateway responds to the login request;
and the first login module is used for logging in according to the response information of the home gateway and receiving the identification information which is generated and sent by the home gateway according to the identity information of the home gateway after the mobile terminal successfully logs in.
15. The apparatus according to claim 13, wherein the pre-recorded identification information is identification information generated by the mobile terminal according to identity information of the mobile terminal, and further comprising:
the generating module is used for generating identification information according to the identity information of the mobile terminal;
a third sending module, configured to send a login request carrying the identification information to the home gateway, so that the home gateway responds to the login request;
and the second login module is used for logging in according to the response information of the home gateway.
16. A mobile terminal, characterized by comprising the control device of the smart home according to any one of claims 13 to 15.
CN201610701650.8A 2016-08-22 2016-08-22 Control method and device for smart home, home gateway and mobile terminal Active CN107770226B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610701650.8A CN107770226B (en) 2016-08-22 2016-08-22 Control method and device for smart home, home gateway and mobile terminal
PCT/CN2017/083093 WO2018036198A1 (en) 2016-08-22 2017-05-04 Control method and apparatus for smart household, home gateway, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610701650.8A CN107770226B (en) 2016-08-22 2016-08-22 Control method and device for smart home, home gateway and mobile terminal

Publications (2)

Publication Number Publication Date
CN107770226A CN107770226A (en) 2018-03-06
CN107770226B true CN107770226B (en) 2021-07-02

Family

ID=61245301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610701650.8A Active CN107770226B (en) 2016-08-22 2016-08-22 Control method and device for smart home, home gateway and mobile terminal

Country Status (2)

Country Link
CN (1) CN107770226B (en)
WO (1) WO2018036198A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311841A (en) * 2018-03-27 2019-10-08 华为技术有限公司 Method, equipment and the Intelligent household system of wisdom household equipment management
CN111103804A (en) * 2018-10-25 2020-05-05 深圳阿凡达智控有限公司 Control method, control device, terminal, control system, and computer storage medium
CN110061894B (en) * 2019-03-29 2023-09-19 国民技术股份有限公司 Household control method and system and household master control device
CN110376914A (en) * 2019-08-05 2019-10-25 安徽赛福贝特信息技术有限公司 A kind of smart home integrated control system
CN113132333B (en) * 2019-12-31 2023-04-07 佛山市云米电器科技有限公司 Networking login method, household appliance equipment, household appliance system and storage medium
CN111221258B (en) * 2020-01-19 2023-09-19 格尔软件股份有限公司 Network link access control system for intelligent home
CN112929244B (en) * 2021-01-21 2022-02-11 珠海格力电器股份有限公司 Network distribution method, gateway device and network distribution system
CN113141350A (en) * 2021-03-23 2021-07-20 任杰 Access authentication system suitable for intelligent home remote control
CN113438457B (en) * 2021-08-26 2021-11-16 广州洛克韦陀安防科技有限公司 Home monitoring method and home monitoring system for improving warning accuracy
CN116033070A (en) * 2021-10-27 2023-04-28 中移(杭州)信息技术有限公司 Alarm method and device based on signal detection and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2640110B1 (en) * 2012-03-12 2017-05-03 Securitas Direct AB Method and apparatus for controlling a home wireless system
KR102058918B1 (en) * 2012-12-14 2019-12-26 삼성전자주식회사 Home monitoring method and apparatus
CN103618706B (en) * 2013-11-19 2018-11-02 深圳Tcl新技术有限公司 The control system and method that smart machine mutually accesses
CN104092593B (en) * 2014-07-31 2017-03-22 王征 Automatic access system and access method of intelligent terminal for automatically identifying internal and external networks based on internal and external network identifier
KR20160028740A (en) * 2014-09-04 2016-03-14 삼성전자주식회사 Home gateway and mehtod for controlling thereof
CN104580233B (en) * 2015-01-16 2017-09-01 重庆邮电大学 A kind of internet of things intelligent household security gateway system
CN104580265B (en) * 2015-02-13 2018-12-18 小米科技有限责任公司 Apparatus bound method and apparatus
US9824571B2 (en) * 2015-06-25 2017-11-21 Intel Corporation Alerting on proximity of items
CN105487516A (en) * 2015-12-29 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Smart home access method and smart home access device

Also Published As

Publication number Publication date
CN107770226A (en) 2018-03-06
WO2018036198A1 (en) 2018-03-01

Similar Documents

Publication Publication Date Title
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
CN104144163B (en) Auth method, apparatus and system
CN104348903A (en) Communication system for establishing P2P connections and the corresponding devices
CN108667699B (en) Method and device for interconnecting terminal equipment and gateway equipment
US20130067544A1 (en) System for authentication management of a sensor node having a subscription processing function, and a method for operating the system
US20160308864A1 (en) Access terminal
CN110932944A (en) Method and system for controlling intelligent household equipment by visitor terminal
CN106060072B (en) Authentication method and device
CN107545631B (en) Entrance guard unlocking method and device and entrance guard unlocking implementation device
CN103874069A (en) MAC authentication device and method of wireless terminal
CN106656985B (en) Backup account login method, device and system
CN104869123A (en) Network access control method and server
CN113848737A (en) Intelligent device control method, device and system, cloud server and storage medium
WO2018107544A1 (en) Intelligent device and household appliance
CN111371817A (en) Equipment control system, method and device, electronic equipment and storage medium
CN107135506B (en) A kind of portal authentication method, apparatus and system
CN107623916B (en) Method and equipment for WiFi network security monitoring
CN109067749A (en) A kind of information processing method, equipment and computer readable storage medium
CN105391720A (en) User terminal login method and device
CN103425101A (en) Intelligent control system and method for internet of things
CN104935556B (en) A kind of network security processing method, apparatus and system
CN106162644A (en) A kind of WiFi system preventing camouflage equipment and safe verification method thereof
CN107800715B (en) portal authentication method and access equipment
KR101484639B1 (en) Method and system for registering device to home network

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