CN104601682B - A kind of method for switching things-internet gateway and relevant apparatus and system - Google Patents

A kind of method for switching things-internet gateway and relevant apparatus and system Download PDF

Info

Publication number
CN104601682B
CN104601682B CN201410855888.7A CN201410855888A CN104601682B CN 104601682 B CN104601682 B CN 104601682B CN 201410855888 A CN201410855888 A CN 201410855888A CN 104601682 B CN104601682 B CN 104601682B
Authority
CN
China
Prior art keywords
gateway
home
message
standby
home appliance
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
CN201410855888.7A
Other languages
Chinese (zh)
Other versions
CN104601682A (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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201410855888.7A priority Critical patent/CN104601682B/en
Publication of CN104601682A publication Critical patent/CN104601682A/en
Application granted granted Critical
Publication of CN104601682B publication Critical patent/CN104601682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The method and relevant apparatus and system of switching things-internet gateway provided in an embodiment of the present invention,Home gateway or home appliance are being detected between home appliance and cloud platform after disconnecting,The message of things-internet gateway switching is initiated to standby gateway device,Then,Standby gateway device obtains log-on message of the home appliance on home gateway,Standby gateway device is initiated to register and be connected to cloud platform,Then standby gateway device sends itself log-on message to home appliance,So,Home appliance and standby gateway device all get the log-on message of other side each other,The final switching realized from home gateway to standby gateway device,So that after the connection of home gateway and cloud platform is lost,It can continue to control home appliance by connecting cloud platform in standby gateway device,So as to which the business ensured in home scenarios is unlikely to interrupt,It solves the problems, such as existing in the prior art.

Description

A kind of method for switching things-internet gateway and relevant apparatus and system
Technical field
The present invention relates to internet of things field more particularly to it is a kind of switch things-internet gateway method and relevant apparatus and System.
Background technology
In current Internet of Things OneM2M standards, each equipment room determines their relation (message by login mechanism Routing relation).In home network, particularly in the home network of centralized management, home appliance is usually to be registered in routing On device, so as to be communicated by router with other home appliances and cloud platform.
This networking mode, may there are following problems:Home appliance only exists a paths with cloud platform, when this Any one node loss connection on path, the then connection between home appliance and cloud platform can be blocked.In home environment Ordinary circumstance is registered to home router (home gateway) for home appliance, and home router is registered to cloud platform, reaches house The purpose of electric equipment networking.So after the connection of home router and cloud platform is lost, home appliance will be unable to and cloud Platform establishes connection.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State a kind of method of switching things-internet gateway of problem and relevant apparatus and system.
Based on the above problem, in a first aspect, the method for the first switching things-internet gateway provided in an embodiment of the present invention, bag It includes:
Standby gateway device receives the message for the things-internet gateway switching that home gateway is initiated;
Standby gateway device obtains the log-on message of home appliance;
The standby gateway device is registered to cloud platform;
The standby gateway device sends the log-on message of itself to home appliance.
Second aspect, the method for second of switching things-internet gateway provided in an embodiment of the present invention, including:Standby gateway is set The standby message for receiving the things-internet gateway switching that home appliance is initiated;
Standby gateway device obtains the log-on message of home appliance;
The standby gateway device is registered to cloud platform;
The standby gateway device sends the log-on message of itself to home appliance.
The third aspect, the first communication equipment provided in an embodiment of the present invention, including:
First receiving module, for receiving the message of the things-internet gateway switching of home gateway initiation;
Acquisition module, for obtaining the log-on message of home appliance;
Cloud platform registration module, for being registered to cloud platform;
Log-on message sending module, for sending the log-on message of itself to home appliance.
Fourth aspect, second of communication equipment provided in an embodiment of the present invention, including:
First receiving module, for receiving the message of the things-internet gateway switching of home appliance initiation;
Acquisition module, for obtaining the log-on message of home appliance;
Cloud platform registration module, for being registered to cloud platform;
Log-on message sending module, for sending the log-on message of itself to home appliance.
5th aspect, the system of the first switching things-internet gateway provided in an embodiment of the present invention, including:Home gateway, At least one standby gateway device and at least one home appliance, wherein:
The home gateway, for after detecting that the connection with cloud platform is lost, being sent out to the standby gateway device Play the message of things-internet gateway switching;And send registration letter of the home appliance on home gateway to the standby gateway device Breath;
The standby gateway device for receiving the message of the things-internet gateway switching of home gateway initiation, receives family Log-on message of the home appliance that gateway is sent on the home gateway;It is registered to cloud platform;And it is sent to home appliance Request message establishes the information resources of itself or receives the registration request that home appliance is sent and complete to register, to realize object The switching of networking gateway;
The home appliance, the request message for receiving standby gateway device transmission establish the standby gateway device Information resources send registration request to the standby gateway device and complete to register.
6th aspect, the system of second of switching things-internet gateway provided in an embodiment of the present invention, including:Home gateway, At least one standby gateway device and at least one home appliance, wherein:
The home appliance, for detect the connection with cloud platform lose after, by the home gateway, to institute State the message that standby gateway device initiates things-internet gateway switching;And it receives the request message that standby gateway device is sent and establishes The information resources of the standby gateway device send registration request to the standby gateway device and complete to register;
The standby gateway device for receiving the message of the things-internet gateway switching of home appliance initiation, receives family Log-on message of the home appliance that gateway is sent on the home gateway;It is registered to cloud platform;And it is sent to home appliance Request message establishes the information resources of itself or receives the registration request that home appliance is sent, to complete things-internet gateway Switching;
The home gateway, for sending registration letter of the home appliance on home gateway to the standby gateway device Breath.
The advantageous effect of the embodiment of the present invention includes:
The method and relevant apparatus of switching things-internet gateway provided in an embodiment of the present invention and system, home gateway or family Electric equipment is being detected between home appliance and cloud platform after disconnecting, is initiated things-internet gateway to standby gateway device and is cut The message changed, then, standby gateway device obtain log-on message of the home appliance on home gateway, and standby gateway device is initiated Register and be connected to cloud platform, then standby gateway device sends itself log-on message to home appliance, in this way, home appliance and Standby gateway device all gets the log-on message of other side each other, final to realize cutting from home gateway to standby gateway device It changes so that after the connection of home gateway and cloud platform is lost, can continue to control by connecting cloud platform in standby gateway device Home appliance processed so as to which the business ensured in home scenarios is unlikely to interrupt, solves the problems, such as existing in the prior art.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
The system architecture schematic diagram that Fig. 1 is relied on by the method for switching things-internet gateway provided in an embodiment of the present invention;
Fig. 2 is stream of the method in standby gateway device side of the first switching things-internet gateway provided in an embodiment of the present invention Cheng Tu;
Fig. 3 is stream of the method in standby gateway device side of second provided in an embodiment of the present invention switching things-internet gateway Cheng Tu;
Fig. 4 is the flow chart of example one provided in an embodiment of the present invention;
Fig. 5 is the flow chart of example two provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of the first communication equipment provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of second of communication equipment provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of the system of switching things-internet gateway provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Separately below with reference to attached drawing, method and relevant apparatus to switching things-internet gateway provided in an embodiment of the present invention and System illustrates.
Before the method to switching things-internet gateway provided in an embodiment of the present invention illustrates, first to of the invention real The system architecture that is relied on of method for applying the switching things-internet gateway of example offer illustrates, as shown in Figure 1, in the system architecture It includes at least:Home appliance (have the function of communication), home gateway, other communication equipments in home network (can conducts Various types of equipment of standby gateway, such as mobile terminal) and cloud platform (such as network side server etc.).Wherein, family In network, home appliance is connected by home gateway with cloud platform, other communication equipments in home network are correlated with home network It connects, home gateway is connected with cloud platform, in embodiments of the present invention, does not limit the specific quantity of home appliance, Ke Yiwei One or more, the number amount and type of other communication equipments in home network also do not limit.
Under normal condition, home appliance is communicated by home gateway with cloud platform, still, in the prior art, home appliance A paths are only existed with cloud platform, when any one node loss connection on this paths, then home appliance and cloud platform Between connection can be blocked.Therefore, the method for switching things-internet gateway provided in an embodiment of the present invention, puts down in home appliance and cloud It is this kind of logical by the use of other communication equipments in home network as the role of gateway (gateway) in the case of platform connecting fault Letter equipment can generally be carried out by 2G, 3G or 4G mobile network register to cloud platform by cloud platform with home appliance Communication forms another backup path, realizes home appliance and the bridge joint of cloud platform.
Specifically, the method for the first switching things-internet gateway provided in an embodiment of the present invention, as shown in Fig. 2, standby With gateway side, comprise the following steps:
S21, standby gateway device receive the message for the things-internet gateway switching that home gateway is initiated;
S22, standby gateway device obtain the log-on message of home appliance;
S23, standby gateway are registered to cloud platform;
S24, standby gateway device send the log-on message of itself to home appliance.
Each step above is illustrated respectively separately below.
In the method for above-mentioned switching things-internet gateway provided in an embodiment of the present invention, can be to detect by home gateway It is no that connecting fault has occurred between cloud platform, and when breaking down, initiate the flow of corresponding gateway handoff.
The smooth switching of home gateway in household electrical appliances, it is necessary to be registered to home gateway, home network concern during in order to realize failure Volume is arrived after cloud platform (communication connection between home appliance, home gateway and cloud platform is normal), is set on home gateway The list information of the standby gateway of standby gateway;In the list of standby gateway, comprising it is at least one can be as standby gateway The mark of communication equipment and corresponding precedence information.
After being provided with, each home appliance of the home gateway also into home network and other each communication equipments are sent more New registration information updates the list information for the standby gateway that the setting of home gateway side is carried in log-on message, in this way, household electrical appliances are set Standby and other communication equipments (may be as communication equipment of standby gateway device) locally can preserve this standby gateway List information, subsequently when connecting fault occur, to initiate corresponding switching.
Further, the list information of this standby gateway can be stored in home gateway, home appliance and other are logical In the backup resources for believing equipment.
Based on this, once home gateway is detected between home appliance and cloud platform there are connecting fault, then home gateway It in the list of pre-set standby gateway, can select to be located at house according to the list information of the standby gateway of preservation In the network of front yard and the communication equipment of highest priority is as the standby gateway device for needing to switch;Such as the row of current standby gateway Three communication equipments are included in table:Mobile terminal 1, mobile terminal 2 and mobile terminal 3, and the highest priority of mobile terminal 1, The priority of mobile terminal 2 is taken second place, and the priority of mobile terminal 3 is minimum, but only movement online in current home network Terminal 2 and mobile terminal 3, then home gateway or home appliance select mobile terminal 2 as standby gateway.
Correspondingly, in above-mentioned S21, specifically, when home gateway detects connecting fault, directly by the Internet of Things of generation Net gateway handoff message is sent to standby gateway device;In this way, standby gateway device can directly receive object at home gateway Networking gateway handover request.
In above-mentioned S22, standby gateway obtains the log-on message of home appliance, and there are two types of modes:
The first, standby gateway receive log-on message of the home appliance on the home gateway that home gateway is sent;
Secondth, standby gateway receives the registration request that home appliance is sent, and in the registration process for completing home appliance The middle log-on message for obtaining home appliance.
In above-mentioned first way, home gateway is normally accessed as the higher management in home network in home appliance During home network, home gateway preserves the log-on message of home appliance, and in communication process, according to service conditions, may be used also To store the necessary business datum in part, in this way, above-mentioned S22 is in the specific implementation, home gateway can be by the note of home appliance Volumes evidence and business store data sending to standby gateway device.
In the above-mentioned second way, due to being the message for the things-internet gateway switching that home gateway is initiated, then by home network It closing to home appliance and sends request message, request home appliance is registered to standby gateway device, to switch things-internet gateway, After home appliance receives the request message, initiate to register to standby gateway device.
Further, in above-mentioned S23, standby gateway device is registered to cloud platform, in the specific implementation, can pass through following sides Formula:Home gateway or home appliance carry cloud mark within the message when initiating the message of things-internet gateway switching, this Sample, standby gateway can be initiated to note after the things-internet gateway handover request is received according to the cloud mark to corresponding cloud platform Volume asks and completes register flow path.
Standby gateway device such as mobile terminal initiates to register and connects the process of cloud platform to cloud platform, can pass through The mobile networks such as 2G, 3G, 4G initiate registration and connection, but which kind of network is the embodiment of the present invention is not limited to using, more than simply Example.
In above-mentioned S22, standby gateway device has received registration of the home appliance on home gateway at home gateway Information or when home appliance initiates to register, the log-on message of home appliance is obtained by the process of registration;Follow-up S24 In, standby gateway device sends the log-on message of itself to home appliance, in this way, standby gateway and home appliance all obtain pair The log-on message of side, standby gateway can substitute the effect of home gateway, cloud platform and home appliance be bridged, so as to fulfill Internet of Things The switching of net gateway.
Further, in above-mentioned S24, standby gateway device sends the log-on message of itself to home appliance, specific real Shi Shi, standby gateway device can send request message to home appliance, the information resources of itself established on home appliance (i.e. Remote CSE).Home appliance is sent to so as to fulfill by the log-on message of itself.
In existing OneM2M standards, registration process is happened at AE and CSE (generic service entity, Common Service Entity) or CSE and CSE between.General register flow path includes:
1.OriginalCSE sends registration request to Receiver CSE.
2.receiverCSE is received after above-mentioned request:Create remoteCSE (associated with originalCSE)
3.receiverCSE returns to response message to originalCSE.OriginalCSE receive above-mentioned response message it Afterwards, remoteCSE (associated with receiverCSE) is created
Based on the flow of above-mentioned registration, in embodiments of the present invention, standby gateway device sends request to home appliance and disappears Breath, the information resources (i.e. Remote CSE) of itself are established in home appliance side, meanwhile, standby gateway device is also stored with household electrical appliances The related registration information of equipment, in this way, both sides save the information of other side, then follow-up home appliance can be as before and family Communication mode between gateway is the same, by standby gateway device, communicates with cloud platform.
The method of second of switching things-internet gateway provided in an embodiment of the present invention, as shown in figure 3, in standby gateway side, Comprise the following steps:
S31, standby gateway device receive the message for the things-internet gateway switching that home appliance is initiated;
S32, standby gateway device obtain the log-on message of home appliance;
S33, standby gateway are registered to cloud platform;
S34, standby gateway device send the log-on message of itself to home appliance.
The flow of the method for above-mentioned second of switching things-internet gateway, it is basic with the method for the first switching things-internet gateway It is similar, the difference is that, in S31, whether the connection for being responsible for detecting home appliance and cloud platform by home appliance breaks down, When there are connecting fault, then home appliance can be believed according to the list of the standby gateway of preservation between home appliance and cloud platform Breath, in the list of pre-set standby gateway, can select be located at home network in and highest priority communication equipment The standby gateway device switched as needs.
It also differ in that with first method, is initiated by home appliance when things-internet gateway switches (by home appliance Detect connecting fault), after home appliance generates the things-internet gateway handover request, spare net is relayed to by home gateway Close equipment.Why it is required be transmitted to standby gateway device by home gateway, be due to before the handover, home appliance be with What home gateway was connected, with backup network equipment and being not connected to, therefore, when initiating things-internet gateway switching, it is necessary to by family Front yard gateway relays to standby gateway device, and can not directly communicate with standby gateway device.
In addition, standby gateway device obtains the log-on message of home appliance in above-mentioned S32, two kinds of sides equally may be employed Formula, the first, standby gateway receive log-on message of the home appliance on home gateway that home gateway is sent;
Secondth, standby gateway receives the registration request that home appliance is sent, and in the registration process for completing home appliance The middle log-on message for obtaining home appliance.
It is different from the method for the first switching things-internet gateway, in the method for above-mentioned second of switching things-internet gateway, by Then home appliance is responsible for detecting home appliance and whether the connection of cloud platform breaks down, when between home appliance and cloud platform There are connecting faults, then directly can initiate registration request to standby gateway device from home appliance and complete registration (this side In method, home gateway can not have to the related registration information of home appliance issuing standby gateway device, subsequent registration flow meeting Complete this work), the final switching for realizing things-internet gateway.
Details are not described herein with first method something in common for other.
In order to which the method for above-mentioned switching things-internet gateway provided in an embodiment of the present invention is better described, below with two tools The example of body illustrates.
Example one:
In example one, the detection that home appliance is connected with cloud platform is responsible for by home gateway, once breaking down, is stood Initiate the flow of things-internet gateway switching.
As shown in figure 4, MN2 is standby gateway device (such as can be mobile phone), MN1 is home gateway, and the flow is substantially Including following several steps:
1. MN2 (such as mobile phone) is set on home gateway as its backup equipment.One may also be kept here The list of backup preserves multiple equipment, can contain priority.And MN2 and home appliance is notified to update log-on message, in MN2 With increase backup device-dependent messages in home appliance.
2. after the connection of MN1 and cloud is lost, the process of MN1 meeting automatically starting backups (backup).Determine whether to deposit Communication equipment in backup lists selects MN2 as backup equipment in home network, and according to priority.
3. home gateway notice MN2 starts backup processes, cloud platform mark is carried in the request.
4th, home gateway preserves log-on data and business the storage data sending of home appliance to MN2.
5th, MN2 is registered to cloud platform.
6th, MN2 sends request message to home appliance and establishes the information resources (remoteCSE) of itself.
7th, optionally (with step 6 alternative each other), home gateway can also send request message to home appliance, please Home appliance is asked to be registered to MN2, switches gateway.
8th, optionally, after step 7, home appliance is registered to MN2 and completes to register.
Example two:
In example two, it is responsible for the detection of home appliance and cloud platform connection relation by home appliance, once it breaks down, The flow of things-internet gateway switching is initiated immediately.
As shown in figure 5, MN2 is standby gateway device (such as can be mobile phone), MN1 is home gateway, and the flow is substantially Including following several steps:
1. MN2 (such as mobile phone) is set on home gateway as its backup equipment.One may also be kept here The list of backup preserves multiple equipment, can contain priority.And MN2 and home appliance is notified to update log-on message, in MN2 With increase backup device-dependent messages in home appliance.
2. after home appliance detects the connection loss with cloud platform, home appliance initiates backup processes.Detection The attachable backup equipment in home network.
3. home appliance by MN1 notify MN2 start backup processes (cloud platform can be carry in the request to identify, Or without if without follow-up MN2 needs to obtain cloud platform mark to MN1).
4th, MN1 sends the log-on message and other data of each home appliance to MN2.
5th, MN2 is registered to cloud platform.
6th, MN2 sends request message to each home appliance, itself remoteCSE is generated on home appliance.
7th, optionally (with step 6 alternative each other), home appliance can also be registered to MN2 and complete to register.
In above-mentioned two example in the specific implementation, under the CSE BASE Resource TOCs on MN1, MN2 and home appliance, point Ji Lu there are not backup resources (record resource) as itself backup gateway and RemoteCSE the resources (phase of other side during registration Close information), wherein, information and the switching of BACKUP resources and Remote CSE resource records on MN1, MN2 and home appliance Front and rear variation is as follows:
Record on MN1:
The node-id or cse-id that node-id (node name) under backup resource records on CSEBase is MN2 Priority (priority):Secondery is that run-flag (mark whether run) is false before switching, and is after switching true;
RemoteCSE (registration resource of MN2) is:Node-id (node name) is the node-id or cse-id of MN1, Priority (priority):Primary, run-flag (mark whether run) is true before switching, is after switching false;
Record on MN2:
The node-id or cse-id that node-id (node name) under backup resource records on CSEBase is MN1, Priority (priority):Primary, run-flag (mark whether run) is true before switching, is after switching false;
RemoteCSE (registration resource of MN1):Node-id (node name) is the node-id or cse-id of MN2, Priority (priority):Secondery, run-flag (mark whether run) is false before switching, is after switching true;
RemoteCSE (MN1) on household electrical appliances:Node-id (node name) is the node-id or cse-id of MN2, Priority (priority):Secondery, run-flag (mark whether run) is false before switching, is after switching true;
The above-mentioned description as described in resource, node-id, priority, run-flag can also exist in the form of list.
Certainly, the embodiment of the present invention is not limited to above-mentioned specific resource record pattern, is only an example.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of communication equipment and is with switch things-internet gateway System by these communication equipments and switches principle and foregoing switching things-internet gateway that the system of things-internet gateway solves the problems, such as Method it is similar, therefore the communication equipment, implementations for the system for switching things-internet gateway may refer to the implementation of preceding method, weigh Multiple part repeats no more.
As shown in fig. 6, the first communication equipment provided in an embodiment of the present invention, including:
First receiving module 601, for receiving the message of the things-internet gateway switching of home gateway initiation;
Acquisition module 602, for obtaining the log-on message of home appliance;
Cloud platform registration module 603, for being registered to cloud platform;
Log-on message sending module 604, for sending the log-on message of itself to home appliance.
Further, above-mentioned acquisition module 602, specifically for receiving the home appliance of home gateway transmission in the family Log-on message on gateway;Or the registration request that home appliance is sent is received, and in the registration process for completing home appliance Obtain the log-on message of home appliance.
Further, above-mentioned communication equipment, as shown in fig. 6, further including:
Standby gateway memory module 605, for receiving and preserving the more new registration message of home gateway transmission;The update The list information for the standby gateway that the home gateway side is set is carried in registration message;Preserve the list of the standby gateway Information.
Further, standby gateway memory module 605, specifically for preserving the standby gateway using backup resources List information.
Further, cloud platform mark is carried in the message of above-mentioned things-internet gateway switching;
Further, above-mentioned cloud platform registration module 603, specifically for being identified according to cloud platform, to corresponding cloud platform It initiates registration request and is connected to cloud platform.
Further, included in the list information of standby gateway:The mark and correspondence of at least one spare communication equipment Precedence information.
Further, the first above-mentioned communication equipment is mobile terminal.
Second of communication equipment provided in an embodiment of the present invention, as shown in fig. 7, comprises:
First receiving module 701, for receiving the message of the things-internet gateway switching of home appliance initiation;
Acquisition module 702, for obtaining the log-on message of home appliance;
Cloud platform registration module 703, for being registered to cloud platform;
Log-on message sending module 704, for sending the log-on message of itself to home appliance.
Further, above-mentioned acquisition module 702, specifically for receiving the home appliance of home gateway transmission in the family Log-on message on gateway;Or the registration request that home appliance is sent is received, and in the registration process for completing home appliance Obtain the log-on message of home appliance.
Further, above-mentioned communication equipment, as shown in fig. 7, further including:
Standby gateway memory module 705, for receiving and preserving the more new registration message of home gateway transmission;The update The list information for the standby gateway that the home gateway side is set is carried in registration message;Preserve the list of the standby gateway Information.
Further, standby gateway memory module 705, specifically for preserving the standby gateway using backup resources List information.
Further, cloud platform mark is carried in the message of above-mentioned things-internet gateway switching;
Further, above-mentioned cloud platform registration module 703, specifically for being identified according to cloud platform, to corresponding cloud platform It initiates registration request and is connected to cloud platform.
Further, included in the list information of standby gateway:The mark and correspondence of at least one spare communication equipment Precedence information.
Further, above-mentioned second of communication equipment is mobile terminal.
The system of switching things-internet gateway provided in an embodiment of the present invention, as shown in figure 8, including:Home gateway 801, extremely A few standby gateway device 802 and at least one home appliance 803, wherein, the relation of this three parts can have following two kinds Mode:
First way:
Home gateway 801, for after detecting that the connection with cloud platform is lost, being initiated to standby gateway device 802 The message of things-internet gateway switching;And send log-on message of the home appliance on home gateway to standby gateway device 802;
Standby gateway device 802 for receiving the message of the things-internet gateway switching of the initiation of home gateway 801, receives house Log-on message of the home appliance that front yard gateway 801 is sent on home gateway 801;It initiates to register and be connected to cloud to put down to cloud platform Platform;And it establishes the information resources of itself to the transmission request message of home appliance 803 or receives what home appliance 803 was sent Registration request, to complete the switching of things-internet gateway;
Home appliance 803, for receive standby gateway device 802 transmission it is described it is spare net itself log-on message or Person sends registration request to standby gateway device 802, to complete the switching of things-internet gateway.
Further, above-mentioned home gateway 801 is additionally operable to send request message to home appliance 803, asks home appliance 803 register to standby gateway device 802, to complete the switching of things-internet gateway;
Home appliance 803 specifically for the request message sent according to home gateway 801, is sent out to standby gateway device 802 Play registration.
The second way:
Home appliance 803, for after detecting that the connection with cloud platform is lost, by home gateway 801 to spare Gateway device 802 initiates the message of things-internet gateway switching;And receive the standby gateway that standby gateway device 802 is sent The log-on message of equipment itself sends registration request to standby gateway device 802, to complete the switching of things-internet gateway;
Standby gateway device 802 for receiving the message of the things-internet gateway switching of the initiation of home appliance 803, receives house Log-on message of the home appliance 803 that front yard gateway 801 is sent on home gateway 801;It initiates to register and be connected to cloud platform Cloud platform;And send the log-on message of itself to home appliance 803 or receive the registration request that home appliance 803 is sent, To complete the switching of things-internet gateway;
Home gateway 801, for sending registration letter of the home appliance 803 on home gateway to standby gateway device 802 Breath.
In the system of above-mentioned switching things-internet gateway provided in an embodiment of the present invention, standby gateway device can be various Equipment with network communicating function, it is preferred that can be various mobile terminals, these mobile terminals can pass through various standards Mobile network connect cloud platform.
Algorithm and display be not inherently related to any specific PC, virtual system or miscellaneous equipment provided herein.It is various General-purpose system can also be used together with teaching based on this.As described above, the knot required by this kind of system is constructed Structure is obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that various programmings can be utilized Language realizes the content of invention described herein, and the description done above to language-specific is to disclose the present invention Preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize some in communication equipment and system according to embodiments of the present invention Or some or all functions of whole components.The present invention is also implemented as performing the one of method as described herein Partly or completely equipment or program of device (for example, PC programs and PC program products).Such journey for realizing the present invention Sequence can be stored on PC readable mediums or can have the form of one or more signal.Such signal can be from It is downloaded on internet website and obtains either providing on carrier signal or providing in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be realized by means of including the hardware of several different elements and by means of properly programmed PC. If in the unit claim for listing equipment for drying, several in these devices can be come specific by same hardware branch It embodies.The use of word first, second, and third does not indicate that any order.These words can be construed to title.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (25)

  1. A kind of 1. method for switching things-internet gateway, which is characterized in that including:
    Standby gateway device receives the message for the things-internet gateway switching that home gateway is initiated;
    Standby gateway device obtains the log-on message of home appliance;
    The standby gateway device is registered to cloud platform;
    The standby gateway device sends the log-on message of itself to home appliance.
  2. 2. the method as described in claim 1, which is characterized in that the standby gateway device obtains the registration letter of home appliance Breath, is accomplished in the following manner:
    The standby gateway receives log-on message of the home appliance of home gateway transmission on the home gateway;Or
    The standby gateway receives the registration request that home appliance is sent, and obtains house in the registration process for completing home appliance The log-on message of electric equipment.
  3. 3. the method as described in claim 1, which is characterized in that before things-internet gateway is switched, further include:
    Standby gateway device receives and preserves the more new registration message of home gateway transmission;It is carried in the more new registration message The list information for the standby gateway that the home gateway side is set;
    The standby gateway device preserves the list information of the standby gateway.
  4. 4. method as claimed in claim 3, which is characterized in that the standby gateway device is protected using itself backup resource Deposit the list information of the standby gateway.
  5. 5. such as claim 1-4 any one of them methods, which is characterized in that carried in the message of the things-internet gateway switching There is cloud platform mark;
    The standby gateway device is identified according to the cloud platform, initiates registration request to corresponding cloud platform and be connected to cloud to put down Platform.
  6. 6. method as claimed in claim 3, which is characterized in that included in the list information of the standby gateway:It is at least one The mark of communication equipment as standby gateway and corresponding precedence information.
  7. 7. method as claimed in claim 6, which is characterized in that the message of the things-internet gateway switching passes through following manner It generates and sends to the standby gateway device:
    Home gateway is after detecting that the connection with cloud platform is lost, in the list of pre-set standby gateway, selection In home network and the communication equipment of highest priority is as the standby gateway device that switches of home appliance needs;
    The home gateway generates the things-internet gateway handover request and is sent to the standby gateway device.
  8. A kind of 8. method for switching things-internet gateway, which is characterized in that including:
    Standby gateway device receives that being initiated by home appliance and pass through that the things-internet gateway that home gateway forwards again switches disappears Breath;
    Standby gateway device obtains the log-on message of home appliance;
    The standby gateway device is registered to cloud platform;
    The standby gateway device sends the log-on message of itself to home appliance.
  9. 9. method as claimed in claim 8, which is characterized in that the standby gateway device obtains the registration letter of home appliance Breath, is accomplished in the following manner:
    The standby gateway receives log-on message of the home appliance of home gateway transmission on the home gateway;Or
    The standby gateway receives the registration request that home appliance is sent, and obtains house in the registration process for completing home appliance The log-on message of electric equipment.
  10. 10. method as claimed in claim 8, which is characterized in that before things-internet gateway is switched, further include:
    Standby gateway device receives and preserves the more new registration message of home gateway transmission;It is carried in the more new registration message The list information for the standby gateway that the home gateway side is set;
    The standby gateway device preserves the list information of the standby gateway.
  11. 11. method as claimed in claim 10, which is characterized in that the standby gateway device is come using itself backup resource Preserve the list information of the standby gateway.
  12. 12. such as claim 8-11 any one of them methods, which is characterized in that taken in the message of the things-internet gateway switching It is identified with cloud platform;
    The standby gateway device is identified according to the cloud platform, initiates registration request to corresponding cloud platform and be connected to cloud to put down Platform.
  13. 13. method as claimed in claim 10, which is characterized in that included in the list information of the standby gateway:At least one The mark and corresponding precedence information of a communication equipment as standby gateway.
  14. 14. method as claimed in claim 13, which is characterized in that the message of the things-internet gateway switching passes through following sides Formula is generated and sent to the standby gateway device:
    Home appliance is after detecting that the connection with cloud platform is lost, in the list of pre-set standby gateway, selection In home network and the communication equipment of highest priority is as the standby gateway device that switches of home appliance needs;
    Home appliance generates the things-internet gateway handover request and is transmitted to the standby gateway by the home gateway and sets It is standby.
  15. 15. a kind of communication equipment, which is characterized in that including:
    First receiving module, for receiving the message of the things-internet gateway switching of home gateway initiation;
    Acquisition module, for obtaining the log-on message of home appliance;
    Cloud platform registration module, for being registered to cloud platform;
    Log-on message sending module, for sending the log-on message of itself to home appliance.
  16. 16. communication equipment as claimed in claim 15, which is characterized in that the acquisition module, specifically for receiving home network Close log-on message of the home appliance sent on the home gateway;Or the registration request that home appliance is sent is received, and The log-on message of home appliance is obtained in the registration process for completing home appliance.
  17. 17. communication equipment as claimed in claim 15, which is characterized in that further include:
    Standby gateway memory module, for receiving and preserving the more new registration message of home gateway transmission;The more new registration disappears The list information for the standby gateway that the home gateway side is set is carried in breath;Preserve the list information of the standby gateway.
  18. 18. communication equipment as claimed in claim 17, which is characterized in that the standby gateway memory module, specifically for making The list information of the standby gateway is preserved with backup resources.
  19. 19. such as claim 15-18 any one of them communication equipments, which is characterized in that the things-internet gateway switching disappears Cloud platform mark is carried in breath;
    Specifically for being identified according to the cloud platform, registration request is initiated to corresponding cloud platform for the cloud platform registration module And it is connected to cloud platform.
  20. 20. communication equipment as claimed in claim 17, which is characterized in that included in the list information of the standby gateway:Extremely The mark and corresponding precedence information of a few spare communication equipment.
  21. 21. such as claim 15-18 and 20 any one of them communication equipments, which is characterized in that the communication equipment is movement Terminal.
  22. 22. a kind of communication equipment, which is characterized in that including:
    First receiving module, for receiving being initiated by home appliance and passing through the things-internet gateway that home gateway forwards again and switch Message;
    Acquisition module, for obtaining the log-on message of home appliance;
    Cloud platform registration module, for being registered to cloud platform;
    Log-on message sending module, for sending the log-on message of itself to home appliance.
  23. 23. a kind of system for switching things-internet gateway, which is characterized in that including:Home gateway, at least one standby gateway device With at least one home appliance, wherein:
    The home gateway, for after detecting that the connection with cloud platform is lost, object to be initiated to the standby gateway device The message of networking gateway switching;And send log-on message of the home appliance on home gateway to the standby gateway device;
    The standby gateway device for receiving the message of the things-internet gateway switching of home gateway initiation, receives home gateway Log-on message of the home appliance of transmission on the home gateway;It is registered to cloud platform;And it sends and asks to home appliance Message establishes the information resources of itself or receives the registration request that home appliance is sent and complete to register, to realize Internet of Things The switching of gateway;
    The home appliance, for receive standby gateway device transmission the standby gateway device itself log-on message or Person sends registration request to the standby gateway device and completes to register.
  24. 24. system as claimed in claim 23, which is characterized in that the home gateway is additionally operable to send to home appliance and ask Message is sought, request home appliance is registered to the standby gateway device, to complete the switching of things-internet gateway;
    The home appliance specifically for the request message sent according to the home gateway, is set to the standby gateway Preparation plays registration.
  25. 25. a kind of system for switching things-internet gateway, which is characterized in that including:Home gateway, at least one standby gateway device With at least one home appliance, wherein:
    The home appliance, for after detecting that the connection with cloud platform is lost, by the home gateway, to described standby The message of things-internet gateway switching is initiated with gateway device;And receive the standby gateway device that standby gateway device is sent The log-on message of itself sends registration request to the standby gateway device and completes to register;
    The standby gateway device for receiving the message of the things-internet gateway switching of home appliance initiation, receives home gateway Log-on message of the home appliance of transmission on the home gateway;It is registered to cloud platform;And send itself to home appliance Log-on message or receive the registration request that sends of home appliance, to complete the switching of things-internet gateway;
    The home gateway, for sending log-on message of the home appliance on home gateway to the standby gateway device.
CN201410855888.7A 2014-12-31 2014-12-31 A kind of method for switching things-internet gateway and relevant apparatus and system Active CN104601682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410855888.7A CN104601682B (en) 2014-12-31 2014-12-31 A kind of method for switching things-internet gateway and relevant apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855888.7A CN104601682B (en) 2014-12-31 2014-12-31 A kind of method for switching things-internet gateway and relevant apparatus and system

Publications (2)

Publication Number Publication Date
CN104601682A CN104601682A (en) 2015-05-06
CN104601682B true CN104601682B (en) 2018-05-22

Family

ID=53127176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855888.7A Active CN104601682B (en) 2014-12-31 2014-12-31 A kind of method for switching things-internet gateway and relevant apparatus and system

Country Status (1)

Country Link
CN (1) CN104601682B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005200A (en) * 2015-05-29 2015-10-28 四川长虹电器股份有限公司 System for ensuring communication between intelligent appliances and cloud platform
CN105072148B (en) * 2015-06-30 2021-10-12 青岛海尔智能家电科技有限公司 Method and device for establishing connection with terminal
CN105376309B (en) * 2015-10-30 2021-08-13 青岛海尔智能家电科技有限公司 Access gateway allocation method and device
CN105898233B (en) * 2016-05-27 2019-03-08 浙江宇视科技有限公司 A kind of audio and video playing method and device in video monitoring
US10536211B2 (en) * 2016-10-14 2020-01-14 Huawei Technologies Co., Ltd. Mobile device relay service for reliable internet of things
CN107623589A (en) * 2017-08-17 2018-01-23 深圳市盛路物联通讯技术有限公司 Route switching method and device
CN107517477B (en) * 2017-08-29 2021-01-26 深圳市盛路物联通讯技术有限公司 Method for random backup of wireless access point and gateway
CN107770087A (en) * 2017-08-29 2018-03-06 深圳市盛路物联通讯技术有限公司 Router switching method and device of the Internet of Things based on connection quantity
CN107733980B (en) * 2017-09-11 2021-01-26 深圳市盛路物联通讯技术有限公司 Internet of things data transmission system based on ring network and first repeater
CN107579896B (en) * 2017-09-11 2021-01-26 深圳市盛路物联通讯技术有限公司 Internet of things data transmission method based on ring network and storage medium
CN108966303B (en) * 2018-06-22 2021-03-16 北京格瑞空间科技有限公司 Roaming method of wireless Internet of things equipment based on LoRa
CN109446439B (en) * 2018-09-30 2022-09-06 青岛海尔科技有限公司 Resource directory selection method, device, system and storage medium
CN111343700A (en) * 2018-12-19 2020-06-26 南宁富桂精密工业有限公司 Wireless sensor network communication method
CN111371584A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Equipment fault processing method, management equipment and home gateway equipment
CN110768840A (en) * 2019-10-30 2020-02-07 珠海格力电器股份有限公司 Control method, device, equipment and storage medium of communication equipment
CN110995513B (en) * 2019-12-27 2023-02-17 远景智能国际私人投资有限公司 Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN111314984A (en) * 2020-03-23 2020-06-19 四川华丰企业集团有限公司 Gateway switching method, device, equipment and storage medium
CN112055347A (en) * 2020-09-14 2020-12-08 厦门阳光恩耐照明有限公司 Multi-gateway cooperative work method and system
CN114070715A (en) * 2021-11-11 2022-02-18 中国电信股份有限公司 Method and device for building standby communication channel of communication system and electronic equipment
CN114629747B (en) * 2022-03-24 2024-02-02 杭州萤石软件有限公司 Gateway connection method, internet of things equipment, gateway and Internet of things system
WO2024087136A1 (en) * 2022-10-28 2024-05-02 Honeywell International Inc. System and method for maintaining communication with a plurality of smart sockets

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218790A (en) * 2005-07-04 2008-07-09 Sk电信股份有限公司 Household network system and its controlling method, method for setting house gateway of household network system and method for processing event protocol of household network system
CN101808352A (en) * 2009-02-13 2010-08-18 上海贝尔股份有限公司 Method for realizing double-ownership switching of single trunking gateway in next generation of network
CN101902460A (en) * 2010-03-30 2010-12-01 华为终端有限公司 Method and device for generating and processing operating component of network access object
CN102594635A (en) * 2012-02-15 2012-07-18 中国联合网络通信集团有限公司 Home-gateway-based terminal access method and system, and home gateway
WO2013052685A2 (en) * 2011-10-04 2013-04-11 Advanergy, Inc. Network integration system and method
CN103179030A (en) * 2013-03-28 2013-06-26 上海斐讯数据通信技术有限公司 Home gateway equipment
CN103580889A (en) * 2012-07-26 2014-02-12 中兴通讯股份有限公司 Optical network unit taking-down home gateway feature code matching method and device
CN103888277A (en) * 2012-12-19 2014-06-25 中国移动通信集团公司 Gateway disaster recovery backup method, apparatus and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218790A (en) * 2005-07-04 2008-07-09 Sk电信股份有限公司 Household network system and its controlling method, method for setting house gateway of household network system and method for processing event protocol of household network system
CN101808352A (en) * 2009-02-13 2010-08-18 上海贝尔股份有限公司 Method for realizing double-ownership switching of single trunking gateway in next generation of network
CN101902460A (en) * 2010-03-30 2010-12-01 华为终端有限公司 Method and device for generating and processing operating component of network access object
WO2013052685A2 (en) * 2011-10-04 2013-04-11 Advanergy, Inc. Network integration system and method
CN102594635A (en) * 2012-02-15 2012-07-18 中国联合网络通信集团有限公司 Home-gateway-based terminal access method and system, and home gateway
CN103580889A (en) * 2012-07-26 2014-02-12 中兴通讯股份有限公司 Optical network unit taking-down home gateway feature code matching method and device
CN103888277A (en) * 2012-12-19 2014-06-25 中国移动通信集团公司 Gateway disaster recovery backup method, apparatus and system
CN103179030A (en) * 2013-03-28 2013-06-26 上海斐讯数据通信技术有限公司 Home gateway equipment

Also Published As

Publication number Publication date
CN104601682A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104601682B (en) A kind of method for switching things-internet gateway and relevant apparatus and system
US9210646B2 (en) Back-up path for in-home diagnostics and other communications
CN103916311B (en) A kind of information transmission and control method, Apparatus and system
US20130054789A1 (en) Notifying network operator when virtual addresses do not match on network elements configured for interchassis redundancy
CN106170008A (en) A kind of inter-network means of communication, device and load equalizer
CN104270291A (en) Content delivery network (CDN) quality monitoring method
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
CN107113892A (en) A kind of method and device of gateway device automatic network-building
CN109728988B (en) Inter-intranet communication method and device
CN106559280A (en) Bidirectional forwarding detection (BFD) method and device
US11902383B2 (en) Adaptive media content delivery network
JP2015534150A5 (en)
CN105743687B (en) Method and device for judging node fault
US20130138824A1 (en) Method for establishing connection between communication apparatuses, communication apparatus, and server apparatus
CN104506549A (en) Method, device and system for establishing online game connection
CN104954321B (en) A kind of connection switching method, apparatus and system
CN101771604A (en) Routing detection method, system and intermediate routing device
CN106713311A (en) Method and apparatus for reducing DNS hijacking risk
CN106656659B (en) Network path selection method and network video recorder
CN105765935A (en) Method and apparatus for virtual firewalling in a wireless communication network
US10171346B2 (en) Method, apparatus and system for transmitting information
CN104869118B (en) A kind of method and system for realizing DDoS defence based on dynamic tunneling technique
KR101605259B1 (en) Call service providing method and system for switching between public switched telephone network mode and voice over internet protocol mode
CN100518116C (en) Directly connected network promulgating method and system
CN105812160B (en) A kind of seamless redundant network mode adaptive method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161226

Address after: 100086 room 601-606, level, Pacific International Building, Zhichun Road, Beijing, 106, China

Applicant after: Haier smart technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

Address before: 100086 Beijing, Zhichun Road, Zhongguancun, No. 106 crown office building, layer, layer 15

Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd.

Applicant before: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant