CN106961658B - Internet of things home appliance equipment off-line restoration methods and networking module - Google Patents
Internet of things home appliance equipment off-line restoration methods and networking module Download PDFInfo
- Publication number
- CN106961658B CN106961658B CN201710137971.4A CN201710137971A CN106961658B CN 106961658 B CN106961658 B CN 106961658B CN 201710137971 A CN201710137971 A CN 201710137971A CN 106961658 B CN106961658 B CN 106961658B
- Authority
- CN
- China
- Prior art keywords
- cloud control
- control platform
- connection
- connect
- internet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
Abstract
The present invention proposes a kind of internet of things home appliance equipment off-line restoration methods and networking module, wherein, method applies the networking module in internet of things home appliance equipment, include: that connection is established with multiple cloud control platforms respectively according to preset connection protocol corresponding with multiple cloud control platforms, keeps heartbeat to connect with multiple cloud control platforms respectively according to predetermined period;It is connect when detecting with the separated heartbeat of the first cloud control platform, and without restoring connection in preset first duration, then sends connection request to the first cloud control platform;Do not restore to connect with the first cloud control platform if detecting in preset second duration, carries out reboot operation and re-establish with multiple cloud control platforms to connect.The case where one or more cloud control platform is unable to control internet of things home appliance equipment offline is avoided as a result, can guarantee that all cloud control platforms can control internet of things home appliance equipment, it is user-friendly, promote user satisfaction.
Description
Technical field
The present invention relates to field of home appliance technology more particularly to a kind of internet of things home appliance equipment off-line restoration methods and connection
Net module.
Background technique
With the development of technology of Internet of things, more and more household appliances have networked capabilities, it can according to user
Demand controls household appliance by network remote and is operated.
In general, connection can be established to control household appliance by cloud control platform and household appliance.However, working as
When internet of things home appliance equipment connects multiple cloud control platforms simultaneously, when there is the offline situation of one or more cloud control platform
It is unable to control internet of things home appliance equipment, it has not been convenient to which user uses, and the problem of internet of things home appliance equipment off-line needs to solve.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of internet of things home appliance equipment off-line restoration methods, avoid
The case where one or more cloud control platform is unable to control internet of things home appliance equipment offline can guarantee all cloud control platforms
Internet of things home appliance equipment can be controlled, it is user-friendly, promote user satisfaction.
Second object of the present invention is to propose a kind of networking module.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of internet of things home appliance equipment off-line recovery side
Method, comprising: established respectively with the multiple cloud control platform according to preset connection protocol corresponding with multiple cloud control platforms
Connection keeps heartbeat to connect with the multiple cloud control platform respectively according to predetermined period;It is flat with the control of the first cloud when detecting
The separated heartbeat of platform connects, and without restoring connection in preset first duration, then sends out to the first cloud control platform
Send connection request;Do not restore to connect with the first cloud control platform in preset second duration if detecting, carry out
Reboot operation is re-established with the multiple cloud control platform and is connect.
The internet of things home appliance equipment off-line restoration methods of the embodiment of the present invention, by being put down according to preset controlled with multiple clouds
The corresponding connection protocol of platform establishes connection with multiple cloud control platforms respectively, according to predetermined period respectively with multiple cloud control platforms
Heartbeat connection is kept, and then is connect when detecting with the separated heartbeat of the first cloud control platform, and in preset first duration
Connection request is sent to the first cloud control platform when the interior connection without recovery, is finally detecting do not have in preset second duration
Have to re-establish with progress reboot operation when the recovery connection of the first cloud control platform with multiple cloud control platforms and connect.It keeps away as a result,
Exempt from the case where one or more cloud control platform is unable to control internet of things home appliance equipment offline, can guarantee all cloud controls
Platform can control internet of things home appliance equipment, user-friendly, promote user satisfaction.
In addition, internet of things home appliance equipment off-line restoration methods according to the above embodiment of the present invention can also have it is following attached
The technical characteristic added:
Optionally, before the progress reboot operation and the multiple cloud control platform re-establish connection, further includes:
The networking failed message for carrying the first cloud control platform and identifying is sent to the second cloud control platform for keeping heartbeat to connect, with
It is identified according to the first cloud control platform to the first cloud control platform for the second cloud control platform and sends work shape
State inquiry request;Receive the working condition of the first cloud control platform of the second cloud control platform feedback;The progress
Reboot operation is re-established with the multiple cloud control platform and is connect, comprising: if knowing described first according to the working condition
Cloud control platform is working properly, then carries out reboot operation and re-establish with the multiple cloud control platform to connect.
Optionally, in the working condition of the first cloud control platform for receiving the second cloud control platform feedback
Later, further includes: if knowing the first cloud control platform operation irregularity according to the working condition, continue to described first
Cloud control platform sends connection request.
Optionally, it is described according to preset connection protocol corresponding with multiple cloud control platforms respectively with the multiple cloud
Control platform is established before connection, further includes: is used by the corresponding applications client registration of the multiple cloud control platform
Family account;The control page of the applications client is logged in by the user account.
Optionally, the networking module include: Wi-Fi module, bluetooth module and, NFC module.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of networking module, comprising: connection unit is used
In establishing connection with the multiple cloud control platform respectively according to preset connection protocol corresponding with multiple cloud control platforms, press
Heartbeat is kept to connect with the multiple cloud control platform respectively according to predetermined period;First transmission unit, for when detecting and the
The separated heartbeat of one cloud control platform connects, and without restoring connection in preset first duration, then to first cloud
Control platform sends connection request;Processing unit, if for detect in preset second duration not with first cloud
Control platform restores connection, then carries out reboot operation and re-establish with the multiple cloud control platform to connect.
The networking module of the embodiment of the present invention, by by being assisted according to preset connection corresponding with multiple cloud control platforms
View establishes connection with multiple cloud control platforms respectively, keeps heartbeat to connect with multiple cloud control platforms respectively according to predetermined period,
And then it is connect when detecting with the separated heartbeat of the first cloud control platform, and without restoring connection in preset first duration
When to the first cloud control platform send connection request, finally detect in preset second duration with the control of the first cloud
Progress reboot operation is re-established with multiple cloud control platforms when platform restores connection connect.One or more is avoided as a result,
The case where a cloud control platform is unable to control internet of things home appliance equipment offline can guarantee that all cloud control platforms can control object
Internet-accessing electric appliance, it is user-friendly, promote user satisfaction.
In addition, networking module according to the above embodiment of the present invention can also have the following additional technical features:
Optionally, the networking module, further includes: the second transmission unit, the second cloud for being connected to holding heartbeat
Control platform sends the networking failed message for carrying the first cloud control platform mark, for the second cloud control platform root
It identifies according to the first cloud control platform to the first cloud control platform and sends working condition inquiry request;Receiving unit is used
In the working condition for the first cloud control platform for receiving the second cloud control platform feedback;The processing unit is used for:
When detecting in preset second duration with the first cloud control platform recovery connection, and according to the work
When state knows that the first cloud control platform is working properly, carries out reboot operation and re-established with the multiple cloud control platform
Connection.
Optionally, the networking module, further includes: third transmission unit, if for being known according to the working condition
The first cloud control platform operation irregularity then continues to send connection request to the first cloud control platform.
Optionally, the networking module, further includes: registering unit, for being distinguished by the multiple cloud control platform
Corresponding applications client registers user account;Unit is logged in, for logging in the applications client by the user account
The control page.
Optionally, the networking module include: Wi-Fi module, bluetooth module and, NFC module.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of internet of things home appliance equipment off-line restoration methods provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that networking module provided in an embodiment of the present invention connects multiple cloud control platforms simultaneously;
Fig. 3 is a kind of flow diagram of two clouds control platform disconnection reconnecting method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of three clouds control platform disconnection reconnecting method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another internet of things home appliance equipment off-line restoration methods provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another two clouds control platform disconnection reconnecting method provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of another three clouds control platform disconnection reconnecting method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of networking module provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another networking module provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the internet of things home appliance equipment off-line restoration methods and networking module of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of internet of things home appliance equipment off-line restoration methods provided in an embodiment of the present invention.
As shown in Figure 1, the internet of things home appliance equipment off-line restoration methods the following steps are included:
Step 110, according to preset connection protocol corresponding with multiple cloud control platforms respectively with multiple cloud control platforms
Connection is established, keeps heartbeat to connect with multiple cloud control platforms respectively according to predetermined period.
Specifically, internet of things home appliance equipment includes networking module, and networking module has while connecting multiple cloud control platforms.
Fig. 2 is the schematic diagram that networking module provided in an embodiment of the present invention connects multiple cloud control platforms simultaneously.As shown in Fig. 2, Internet of Things
Net household appliance include networking module respectively with A producer cloud control platform, B producer cloud control platform and C producer cloud control platform
It connects simultaneously.Therefore, above three cloud control platform can control internet of things home appliance equipment.
It is understood that networking module is not limited to connect above three cloud control platform simultaneously, it can also be multiple clouds
Control platform.Furthermore, in fact it could happen that the offline situation of one or two equal clouds control platforms, it can not be real in the case where offline
Now internet of things home appliance equipment is controlled, user satisfaction is poor.
In order to avoid the above problem, the present invention proposes a kind of internet of things home appliance equipment off-line restoration methods, can occur
Off-line case is wet, restores the connection of internet of things home appliance equipment and multiple cloud control platforms, and all cloud control platforms can control object
Internet-accessing electric appliance, it is user-friendly, promote user satisfaction.
It should be noted that the internet of things home appliance equipment off-line restoration methods of the embodiment of the present invention are applied in internet of things home appliance
Networking module in equipment.Internet of things home appliance equipment may include one of household appliances such as air-conditioning, washer and refrigerator or
Person is a variety of.
Wherein, networking module may include Wi-Fi module, bluetooth module and, in the wireless communication modules such as NFC module
One or more.Joined it is understood that Wi-Fi module can be directly connected to router by modes such as distributions
Net;Bluetooth module and NFC (Near Field Communication, wireless near field communication) module etc. can be by networkings eventually
It networks at end.
Specifically, the corresponding connection protocol of multiple cloud control platforms is stored in advance in networking module, it can be according to preset
Connection protocol corresponding with multiple cloud control platforms establishes connection with multiple cloud control platforms respectively, networking module with connect
Each cloud control platform there is always heartbeat connection.
Further, heartbeat is kept to connect with all companies of determination with multiple cloud control platforms respectively by setting some cycles
The cloud control platform connect is not at off-line state (i.e. internet of things home appliance equipment and cloud control platform break).Wherein, predetermined period
Selection setting can be carried out according to the actual application, for example 1 second, 2 seconds etc. is used as predetermined period.
Step 120, it is connect with the separated heartbeat of the first cloud control platform when detecting, and in preset first duration
Do not restore to connect, then sends connection request to the first cloud control platform.
Specifically, it detects with the first cloud control platform in some time (it can be understood that the first control platform can be with
Be any one connection cloud control platform, such as the B producer cloud control platform in Fig. 2) separated heartbeat connection, and
Connection request is sent to the first cloud control platform when in preset first duration without restoring connection.
Wherein, preset first duration can carry out selection setting according to the actual application.
It should be noted that in preset first duration restore connection, continue according to predetermined period respectively with multiple clouds
Control platform keeps heartbeat connection.
Step 130, do not restore to connect with the first cloud control platform in preset second duration if detecting, carry out
Reboot operation is re-established with multiple cloud control platforms and is connect.
Specifically, connection request is sent to the first cloud control platform when in preset first duration without restoring connection
Afterwards, and in preset second duration do not restore to carry out reboot operation when connection with the first cloud control platform and multiple clouds control
Platform re-establishes connection.It determines that networking module carries out resetting extremely to restart, then networking is controlled with multiple clouds again
Platform connection.
Wherein, preset first duration can carry out selection setting according to the actual application.
It should be noted that restoring to connect with the first cloud control platform in preset second duration, continue according to default
Period keeps heartbeat to connect with multiple cloud control platforms respectively.
For those skilled in the art's more above process, below with reference to Fig. 3 and Fig. 4, with two cloud control platforms (A producer cloud
Control platform and B producer cloud control platform) and three cloud control platforms (A producer cloud control platform, B producer cloud control platform and
C producer cloud control platform) for be illustrated it is as follows:
Fig. 3 is a kind of flow diagram of two clouds control platform disconnection reconnecting method provided in an embodiment of the present invention.Such as
Shown in Fig. 3:
Specifically, internet of things home appliance equipment networking module connects upper A and B producer cloud control platform (step 210), at some
There is networking module and connect disconnection with B producer cloud control platform heartbeat more than T1 (i.e. the first duration) time (step 220) in time,
And networking module is connect normally with A producer cloud control platform, expression thing internet-accessing electric appliance networking module and the control of B producer cloud are flat
Platform is out of touch, and networking module always tries to connection B producer cloud control platform at this time, if within the T2 time (i.e. the second duration),
Internet of things home appliance equipment networking module normally connects B producer cloud control platform and is then not processed;If the Internet of Things within the T2 time
The also not connected upper B producer cloud control platform of household appliance networking module, then networking module progress software reset is restarted, then again
It networks and carries out A, B producer cloud control platform connection (step 230 to step 240).
It is also carried out according to the method described above it should be noted that networking module connect disconnection with A producer cloud control platform heartbeat
Judgement processing.
Fig. 4 is a kind of flow diagram of three clouds control platform disconnection reconnecting method provided in an embodiment of the present invention.Such as
Shown in Fig. 4: three cloud control platform disconnection reconnecting methods the following steps are included:
Specifically, internet of things home appliance equipment networking module connects upper A, B and C producer cloud control platform (step 310).At certain
There is household electrical appliances networking module and any one producer's cloud control platform (Fig. 4 describes B producer cloud control platform) heart in a time
Connection is jumped to disconnect more than T1 time (step 320), and networking module is connect normally with A producer and C producer cloud control platform, is represented
Internet of things home appliance equipment networking module and B producer cloud control platform are out of touch, and networking module always tries to connection B producer at this time
Cloud control platform, if internet of things home appliance equipment networking module normally connects B producer cloud control platform and do not do within the T2 time
Processing.
Further, if internet of things home appliance equipment networking module is also not connected with upper B producer cloud control platform within the T2 time,
Then networking module progress software reset is restarted, and is then networked again and is carried out A, B, C producer cloud control platform connection (step 330
To step 340).
Thereby, it is possible to be restarted by software reset in networking module exception, realization is networked again and is carried out and multiple clouds
Control platform connection thereby guarantees that all cloud control platforms can control internet of things home appliance equipment, promotes user experience.
In conclusion the internet of things home appliance equipment off-line restoration methods of the embodiment of the present invention, by according to it is preset with it is more
The corresponding connection protocol of a cloud control platform establishes connection with multiple cloud control platforms respectively, according to predetermined period respectively with it is multiple
Cloud control platform keeps heartbeat connection, and then connect when detecting with the separated heartbeat of the first cloud control platform, and default
The first duration in without restoring connection when to the first cloud control platform send connection request, finally detecting preset the
Reboot operation is carried out when not connecting with the recovery of the first cloud control platform in two durations and multiple cloud control platforms re-establish company
It connects.The case where one or more cloud control platform is unable to control internet of things home appliance equipment offline is avoided as a result, can be guaranteed
All cloud control platforms can control internet of things home appliance equipment, user-friendly, promote user satisfaction.
Based on the above embodiment, do not restore to connect with the first cloud control platform detecting in preset second duration
When, directly progress reboot operation is re-established with multiple cloud control platforms connect.It, can also be by other in the embodiment of the present invention
The cloud control platform of connection inquires the working condition of the first cloud control platform, true further according to the working condition of the first cloud control platform
Fixed corresponding processing mode.Specifically it is described as follows in conjunction with Fig. 5:
Fig. 5 is the flow diagram of another internet of things home appliance equipment off-line restoration methods provided in an embodiment of the present invention.
As shown in figure 5, the internet of things home appliance equipment off-line restoration methods the following steps are included:
Step 410, user account is registered by the corresponding applications client of multiple cloud control platforms.
Step 420, the control page of applications client is logged in by user account.
Specifically, it networks through the corresponding applications client registration user account of multiple cloud control platforms to activate,
The multiple cloud control platforms activated can be connected simultaneously upon activation, it can applications client is logged in by user account
It controls the page and realizes same internet of things home appliance equipment of control.
It is understood that networking module can register activation one cloud control platform, two cloud control platforms or more
A cloud control platform etc., can according to the actual application to the corresponding applications client of cloud control platform register user account with
Activate corresponding cloud control platform.
Step 430, according to preset connection protocol corresponding with multiple cloud control platforms respectively with multiple cloud control platforms
Connection is established, keeps heartbeat to connect with multiple cloud control platforms respectively according to predetermined period.
Step 440, it is connect with the separated heartbeat of the first cloud control platform when detecting, and in preset first duration
Do not restore to connect, then sends connection request to the first cloud control platform.
It should be noted that the description of step S110-S120 is corresponding with above-mentioned steps S430-S440, thus pair step
The description of rapid S110-S120 refers to the description of above-mentioned steps S430-S440, and details are not described herein.
Step 450, do not restore to connect with the first cloud control platform in preset second duration if detecting, to holding
Second cloud control platform of heartbeat connection sends the networking failed message for carrying the first cloud control platform mark, for the second cloud control
Platform processed identifies to the first cloud control platform according to the first cloud control platform and sends working condition inquiry request.
It specifically, can be to the holding heart after not restoring connection with the first cloud control platform in preset second duration
The the second cloud control platform for jumping connection sends the networking failed message for carrying the first cloud control platform mark.Wherein, the second cloud control
Platform processed can be any one cloud control platform connecting with holding heartbeat, can be selected according to the actual application.
It is understood that cloud control platform, which can directly interact, can mutually send and receive data.Cloud control
Modes can be waited to carry out data transmission by wireless communication between platform processed.
Wherein, the first cloud control platform mark, which can be, is capable of unique identification the first cloud control platform, such as one section of word
The forms such as symbol string.
Further, the networking failed message for carrying the first cloud control platform and identifying is received in the second cloud control platform
Afterwards, it by obtaining the first cloud control platform mark after the parsing to failure information, and is sent to corresponding first cloud control platform
Working condition inquiry request.Wherein, working condition can be understood as whether the first cloud control platform normally connects.
Step 460, the working condition of the first cloud control platform of the second cloud control platform feedback is received.
Step 470, if knowing that the first cloud control platform is working properly according to working condition, carry out reboot operation with it is multiple
Cloud control platform re-establishes connection.
Step 480, if knowing the first cloud control platform operation irregularity according to working condition, continue to control to the first cloud flat
Platform sends connection request.
Specifically, after the second cloud control platform sends working condition inquiry request to corresponding first cloud control platform,
It is likely to be received the first cloud control platform working properly, exception and is not received by any feedback.
Further, when knowing that the first cloud control platform is working properly according to working condition carry out reboot operation with it is multiple
Cloud control platform re-establishes connection.
Further, continue when knowing the first cloud control platform operation irregularity according to working condition to the first cloud control platform
Send connection request.Wherein, it receives the first cloud control platform operation irregularity and is not not received by any feedback and all determine
For the first cloud control platform operation irregularity.
For those skilled in the art's more above process, below with reference to Fig. 6 and Fig. 7, with two cloud control platforms (A producer cloud
Control platform and B producer cloud control platform) and three cloud control platforms (A producer cloud control platform, B producer cloud control platform and
C producer cloud control platform) for be illustrated it is as follows:
Fig. 6 is the flow diagram of another two clouds control platform disconnection reconnecting method provided in an embodiment of the present invention.
It is as shown in Figure 6: two cloud control platform disconnection reconnecting methods the following steps are included:
Specifically, internet of things home appliance equipment networking Module registers activate two cloud control platforms.Internet of things home appliance equipment connection
Net module connects upper A and B producer cloud control platform (step 510).There is internet of things home appliance equipment networking module in some time
It is more than T1 time (step 520) with B producer cloud control platform heartbeat connection breaking, and is connect normally with A producer cloud control platform,
It is out of touch with B producer cloud control platform to represent internet of things home appliance equipment networking module, at this time internet of things home appliance equipment networking mould
Block always tries to connection B producer cloud control platform, if household electrical appliances normally connect B producer cloud control platform not within the T2 time
Processing.
Further, if the also not connected upper B producer cloud control platform of household electrical appliances, internet of things home appliance equipment join within the T2 time
B producer cloud control platform networking failure information is issued A producer cloud control platform (step 530 to step 540) by net module.A factory
Family's cloud control platform then sends inquiry B producer cloud control platform, and whether normal command gives B producer cloud control platform, if B producer cloud
It is that B producer cloud control platform is abnormal or not return information that control platform, which returns to A producer cloud control platform, then represents B producer cloud
Control platform is abnormal, and internet of things home appliance equipment networking module continues to connect B producer cloud control platform, until the control of B producer cloud is flat
Platform restores normal connection (step 550 to step 560).
Further, if B producer cloud control platform returns normal, A producer cloud control platform is by B producer cloud control platform
Normal information feeds back to internet of things home appliance equipment networking module, represents internet of things home appliance equipment networking module exception, Internet of Things
Household appliance networking module carries out software reset and restarts, and then networks again and carries out A, B producer cloud control platform connection (step
570 to step 580).
Fig. 7 is the flow diagram of another three clouds control platform disconnection reconnecting method provided in an embodiment of the present invention.
It is as shown in Figure 7:
Specifically, internet of things home appliance equipment networking Module registers activate three cloud control platforms.Internet of things home appliance equipment connection
Net module connects upper A, B and C producer cloud control platform (step 610).There is internet of things home appliance equipment networking mould in some time
Block and B producer cloud control platform heartbeat connection breaking are more than T1 time (step 620), and with A producer cloud control platform and C producer
The connection of cloud control platform is normal, and it is out of touch with B producer cloud control platform to represent internet of things home appliance equipment networking module, at this time object
Internet-accessing electric appliance networking module always tries to connection B producer cloud control platform.If within the T2 time, internet of things home appliance equipment connection
Net module normally connects B producer cloud control platform and does not handle then.
Further, if the also not connected upper B producer cloud control platform of household electrical appliances, internet of things home appliance equipment join within the T2 time
Net module by B producer cloud control platform networking failure information issue other any one platform (such as: A producer cloud control platform
Or C producer cloud control platform), A producer cloud control platform then sends inquiry B producer cloud control platform, and whether normal command is to B
Producer's cloud control platform (step 630 to step 640).
Further, if it is that B producer cloud control platform is abnormal that B producer cloud control platform, which returns to A producer cloud control platform,
Information or not return information, then represent B producer cloud control platform exception, and internet of things home appliance equipment networking module continues to connect B factory
Family's cloud control platform, until B producer cloud control platform is restored.(step 650 to step 660).
Further, if B producer cloud control platform returns to normal information, A producer cloud control platform controls B producer cloud
The normal information of platform feeds back to internet of things home appliance equipment networking module, represents internet of things home appliance equipment networking module exception, object
Internet-accessing electric appliance networking module carries out software reset and restarts, and then networks again and carries out A, B, C producer cloud control platform company
Connect (step 670 to step 680).
In conclusion the internet of things home appliance equipment off-line restoration methods of the embodiment of the present invention, are controlled by multiple clouds first
The corresponding applications client of platform registers user account, and the control page of applications client is logged in by user account,
Then connection is established with multiple cloud control platforms respectively according to preset connection protocol corresponding with multiple cloud control platforms, according to
Predetermined period keeps heartbeat to connect with multiple cloud control platforms respectively, and then separated with the first cloud control platform when detecting
Heartbeat connection, and in preset first duration without restore connection when to the first cloud control platform send connection request, and
Detect the second cloud connected when restoring connection with the first cloud control platform in preset second duration to holding heartbeat
Control platform sends the networking failed message for carrying the first cloud control platform mark, so that the second cloud control platform is according to the first cloud
Control platform identifies to the first cloud control platform and sends working condition inquiry request, finally receives the second cloud control platform feedback
The working condition of first cloud control platform carries out restarting behaviour when knowing that the first cloud control platform is working properly according to working condition
Work is re-established with multiple cloud control platforms to be connect, the continuation when knowing the first cloud control platform operation irregularity according to working condition
Connection request is sent to the first cloud control platform.As a result, by keeping other cloud control platforms of heartbeat connection to check offline cloud
Whether control platform is normal, carries out software reset to networking module when normal and restarts, and then reconnects upper cloud control platform,
It realizes that offline cloud control platform is networked again, guarantees that all cloud control platforms can control internet of things home appliance equipment, facilitate user
It uses, promotes user satisfaction.
In order to realize above-described embodiment, the present invention also proposes a kind of networking module.
Fig. 8 is a kind of structural schematic diagram of networking module provided in an embodiment of the present invention.
As shown in figure 8, the networking module includes: connection unit 810, the first transmission unit 820 and processing unit 830.
Wherein, connection unit 810 be used for according to preset connection protocol corresponding with multiple cloud control platforms respectively with it is more
A cloud control platform establishes connection, keeps heartbeat to connect with multiple cloud control platforms respectively according to predetermined period.
First transmission unit 820 is connect for that ought detect with the separated heartbeat of the first cloud control platform, and default
The first duration in without restore connection, then to the first cloud control platform send connection request.
If processing unit 830 does not restore to connect in preset second duration for detecting with the first cloud control platform
It connects, then carries out reboot operation and re-establish with multiple cloud control platforms to connect.
In one embodiment of the invention, networking module may include Wi-Fi module, bluetooth module and, NFC mould
Block.
It should be noted that the internet of things home appliance equipment off-line restoration methods of the embodiment of the present invention are applied in internet of things home appliance
Networking module in equipment.Internet of things home appliance equipment may include one of household appliances such as air-conditioning, washer and refrigerator or
Person is a variety of.
Wherein, networking module may include Wi-Fi module, bluetooth module and, in the wireless communication modules such as NFC module
One or more.Joined it is understood that Wi-Fi module can be directly connected to router by modes such as distributions
Net;Bluetooth module and NFC (Near Field Communication, wireless near field communication) module etc. can be by networkings eventually
It networks at end.
It should be noted that the aforementioned explanation to internet of things home appliance equipment off-line restoration methods embodiment is also applied for
Networking module in this implementation, details are not described herein again.
In conclusion the networking module of the embodiment of the present invention, by according to preset corresponding with multiple cloud control platforms
Connection protocol establishes connection with multiple cloud control platforms respectively, keeps heartbeat with multiple cloud control platforms respectively according to predetermined period
Connection, and then connect when detecting with the separated heartbeat of the first cloud control platform, and inextensive in preset first duration
It is multiply-connected to send connection request to the first cloud control platform when connecing, finally detecting in preset second duration not with first
Progress reboot operation is re-established with multiple cloud control platforms when cloud control platform restores connection connect.One is avoided as a result,
Or multiple cloud control platforms the case where being unable to control internet of things home appliance equipment offline, it can guarantee that all cloud control platforms can
Internet of things home appliance equipment is controlled, it is user-friendly, promote user satisfaction.
For an embodiment in clear explanation, another networking module is present embodiments provided.
Fig. 9 is the structural schematic diagram of another networking module provided in an embodiment of the present invention.As shown in figure 9, real upper one
On the basis of applying example, the networking module further include: the second transmission unit 840, receiving unit 850 and third transmission unit 860.
Wherein, the second transmission unit 840, which is used to send to the second cloud control platform for keeping heartbeat to connect, carries the first cloud
The networking failed message of control platform mark, so that the second cloud control platform is identified according to the first cloud control platform to the first cloud control
Platform processed sends working condition inquiry request.
Receiving unit 850 is used to receive the working condition of the first cloud control platform of the second cloud control platform feedback.
Processing unit 830 be used for detect in preset second duration with the first cloud control platform recovery
When connection, and when knowing that the first cloud control platform is working properly according to working condition, reboot operation and multiple clouds are carried out
Control platform re-establishes connection.
If third transmission unit 860 is used to according to working condition know the first cloud control platform operation irregularity, continue to
First cloud control platform sends connection request.
Further, in a kind of possible implementation of the embodiment of the present invention, networking module further include: registering unit
870 and log in unit 880.
Wherein, registering unit 870 is used to register user's account by the corresponding applications client of multiple cloud control platforms
Number.
Log in the control page that unit 880 is used to log in applications client by user account.
It should be noted that the aforementioned explanation to internet of things home appliance equipment off-line restoration methods embodiment is also applied for
Networking module in this implementation, details are not described herein again.
In conclusion the networking module of the embodiment of the present invention, passes through the corresponding application of multiple cloud control platforms first
Client registers user account, and by user account log in applications client the control page, then according to it is preset with it is more
The corresponding connection protocol of a cloud control platform establishes connection with multiple cloud control platforms respectively, according to predetermined period respectively with it is multiple
Cloud control platform keeps heartbeat connection, and then connect when detecting with the separated heartbeat of the first cloud control platform, and default
The first duration in without restoring connection when to the first cloud control platform send connection request, and detecting preset second
It is sent when with the first cloud control platform restoring to connect in duration to the second cloud control platform for keeping heartbeat to connect and carries the
The networking failed message of one cloud control platform mark, so that the second cloud control platform is identified according to the first cloud control platform to first
Cloud control platform sends working condition inquiry request, finally receives the work of the first cloud control platform of the second cloud control platform feedback
Make state, reboot operation and multiple cloud control platforms are carried out when knowing that the first cloud control platform is working properly according to working condition
Connection is re-established, continues to send out to the first cloud control platform when knowing the first cloud control platform operation irregularity according to working condition
Send connection request.As a result, by keeping other cloud control platforms of heartbeat connection check whether offline cloud control platform is normal, In
Software reset is carried out to networking module when normal to restart, and is then reconnected upper cloud control platform, is realized offline cloud control platform
Again it networks, guarantees that all cloud control platforms can control internet of things home appliance equipment, it is user-friendly, it is satisfied to promote user
Degree.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (8)
1. a kind of internet of things home appliance equipment off-line restoration methods, which is characterized in that the method is applied in the internet of things home appliance
Networking module in equipment, the described method comprises the following steps:
Connection is established with the multiple cloud control platform respectively according to preset connection protocol corresponding with multiple cloud control platforms,
Heartbeat is kept to connect with the multiple cloud control platform respectively according to predetermined period;
It is connect when detecting with the separated heartbeat of the first cloud control platform, and without restoring to connect in preset first duration
It connects, then sends connection request to the first cloud control platform;
Do not restore to connect with the first cloud control platform in preset second duration if detecting, carries out reboot operation
It re-establishes and connect with the multiple cloud control platform;
Wherein, before the progress reboot operation and the multiple cloud control platform re-establish connection, further includes:
The networking that carrying the first cloud control platform identifies is sent to the second cloud control platform for keeping heartbeat to connect unsuccessfully to disappear
Breath sends work so that the second cloud control platform is identified according to the first cloud control platform to the first cloud control platform
Make status query request;
Receive the working condition of the first cloud control platform of the second cloud control platform feedback;
The progress reboot operation is re-established with the multiple cloud control platform to be connect, comprising:
If knowing that the first cloud control platform is working properly according to the working condition, carry out reboot operation with it is the multiple
Cloud control platform re-establishes connection.
2. the method as described in claim 1, which is characterized in that received described in the second cloud control platform feedback described
After the working condition of first cloud control platform, further includes:
If knowing the first cloud control platform operation irregularity according to the working condition, continue to control to first cloud flat
Platform sends connection request.
3. the method as described in claim 1, which is characterized in that described according to preset corresponding with multiple cloud control platforms
Connection protocol is established before connection with the multiple cloud control platform respectively, further includes:
User account is registered by the corresponding applications client of the multiple cloud control platform;
The control page of the applications client is logged in by the user account.
4. the method as described in claim 1, which is characterized in that the networking module includes:
Wi-Fi module, bluetooth module and, NFC module.
5. a kind of networking module characterized by comprising
Connection unit, for being controlled respectively with the multiple cloud according to preset connection protocol corresponding with multiple cloud control platforms
Platform establishes connection, keeps heartbeat to connect with the multiple cloud control platform respectively according to predetermined period;
First transmission unit is connect for that ought detect with the separated heartbeat of the first cloud control platform, and preset first
Without restoring connection in duration, then connection request is sent to the first cloud control platform;
Processing unit, if not restoring to connect with the first cloud control platform in preset second duration for detecting,
It then carries out reboot operation and re-establishes with the multiple cloud control platform to connect;
Second transmission unit carries the first cloud control platform for sending to the second cloud control platform for keeping heartbeat to connect
The networking failed message of mark, so that the second cloud control platform is identified according to the first cloud control platform to described first
Cloud control platform sends working condition inquiry request;
Receiving unit, the working condition of the first cloud control platform for receiving the second cloud control platform feedback;
The processing unit is used for:
When detecting in preset second duration with the first cloud control platform recovery connection, and according to
When working condition knows that the first cloud control platform is working properly, reboot operation and the multiple cloud control platform are carried out again
Establish connection.
6. networking module as claimed in claim 5, which is characterized in that further include:
Third transmission unit, if continuing for knowing the first cloud control platform operation irregularity according to the working condition
Connection request is sent to the first cloud control platform.
7. networking module as claimed in claim 5, which is characterized in that further include:
Registering unit, for registering user account by the corresponding applications client of the multiple cloud control platform;
Unit is logged in, for logging in the control page of the applications client by the user account.
8. networking module as claimed in claim 5, which is characterized in that the networking module includes:
Wi-Fi module, bluetooth module and, NFC module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710137971.4A CN106961658B (en) | 2017-03-09 | 2017-03-09 | Internet of things home appliance equipment off-line restoration methods and networking module |
PCT/CN2017/104477 WO2018161550A1 (en) | 2017-03-09 | 2017-09-29 | Internet-of-things household appliance off-line recovery method and networking module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710137971.4A CN106961658B (en) | 2017-03-09 | 2017-03-09 | Internet of things home appliance equipment off-line restoration methods and networking module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106961658A CN106961658A (en) | 2017-07-18 |
CN106961658B true CN106961658B (en) | 2019-10-29 |
Family
ID=59470048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710137971.4A Active CN106961658B (en) | 2017-03-09 | 2017-03-09 | Internet of things home appliance equipment off-line restoration methods and networking module |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106961658B (en) |
WO (1) | WO2018161550A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106961658B (en) * | 2017-03-09 | 2019-10-29 | 广东美的制冷设备有限公司 | Internet of things home appliance equipment off-line restoration methods and networking module |
CN109507916B (en) * | 2017-09-14 | 2021-06-29 | 佛山市顺德区美的电热电器制造有限公司 | Method, device, server and storage medium for controlling recovery work of household appliance |
CN108198349A (en) * | 2017-11-28 | 2018-06-22 | 深圳市丰巢科技有限公司 | Intelligent express delivery cabinet, detecting system and its hardware detection control method and storage medium |
CN108092847B (en) * | 2017-11-28 | 2019-03-08 | 南瑞集团有限公司 | A kind of electric power LTE wireless terminal remote on-line monitoring method |
CN113660311A (en) * | 2021-07-21 | 2021-11-16 | 广州心娱网络科技有限公司 | User state updating method, system, electronic device and storage medium |
CN114143911B (en) * | 2021-11-19 | 2023-12-05 | 广州朗国电子科技股份有限公司 | Method for automatically reconnecting wireless screen-on and screen-off based on Android platform |
CN114125575B (en) * | 2021-11-22 | 2024-03-12 | 深圳康佳电子科技有限公司 | Screen disconnection judgment processing method and device, intelligent terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281161A (en) * | 2013-05-17 | 2013-09-04 | 深圳市康凯斯信息技术有限公司 | Communication method for GPS (Global Positioning System) positioning terminal and background server |
CN104089367A (en) * | 2014-06-27 | 2014-10-08 | 陆冬艳 | Cloud air conditioning system based on cloud computing |
CN104202395A (en) * | 2014-09-01 | 2014-12-10 | 中国东方电气集团有限公司 | State machine implementation method for establishing GPRS link and keeping task |
CN104243616A (en) * | 2014-10-10 | 2014-12-24 | 广东志高空调有限公司 | Wi-Fi (wireless fidelity) communication based cloud air conditioner system |
CN104378421A (en) * | 2014-11-14 | 2015-02-25 | 四川长虹电器股份有限公司 | Remote control system and method of intelligent household electrical appliance product |
WO2016064433A1 (en) * | 2014-10-24 | 2016-04-28 | Mcafee, Inc. | Agent presence for self-healing |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6768720B1 (en) * | 1999-09-30 | 2004-07-27 | Conexant Systems, Inc. | Verification of link integrity of a home local area network |
CN104812092B (en) * | 2015-03-23 | 2018-09-04 | 小米科技有限责任公司 | A kind of networking methods and device of smart machine |
CN105159102A (en) * | 2015-07-30 | 2015-12-16 | 北京京东尚科信息技术有限公司 | Smart home appliance, smart home appliance system and method thereof |
CN106130842A (en) * | 2016-07-25 | 2016-11-16 | 深圳市双驰科技有限公司 | The control method of home appliance, home appliance and WIFI module thereof |
CN106961658B (en) * | 2017-03-09 | 2019-10-29 | 广东美的制冷设备有限公司 | Internet of things home appliance equipment off-line restoration methods and networking module |
-
2017
- 2017-03-09 CN CN201710137971.4A patent/CN106961658B/en active Active
- 2017-09-29 WO PCT/CN2017/104477 patent/WO2018161550A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281161A (en) * | 2013-05-17 | 2013-09-04 | 深圳市康凯斯信息技术有限公司 | Communication method for GPS (Global Positioning System) positioning terminal and background server |
CN104089367A (en) * | 2014-06-27 | 2014-10-08 | 陆冬艳 | Cloud air conditioning system based on cloud computing |
CN104202395A (en) * | 2014-09-01 | 2014-12-10 | 中国东方电气集团有限公司 | State machine implementation method for establishing GPRS link and keeping task |
CN104243616A (en) * | 2014-10-10 | 2014-12-24 | 广东志高空调有限公司 | Wi-Fi (wireless fidelity) communication based cloud air conditioner system |
WO2016064433A1 (en) * | 2014-10-24 | 2016-04-28 | Mcafee, Inc. | Agent presence for self-healing |
CN104378421A (en) * | 2014-11-14 | 2015-02-25 | 四川长虹电器股份有限公司 | Remote control system and method of intelligent household electrical appliance product |
Also Published As
Publication number | Publication date |
---|---|
WO2018161550A1 (en) | 2018-09-13 |
CN106961658A (en) | 2017-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106961658B (en) | Internet of things home appliance equipment off-line restoration methods and networking module | |
JP4122341B2 (en) | System and method for session resetting between client terminal device and server | |
CN102693201B (en) | There is the SAS controller of lasting port arrangement | |
US8862697B2 (en) | Intelligent network management platform for IKVM servers | |
CN105930191B (en) | The overloaded method and device of system service | |
US7827436B2 (en) | Method of updating a dual redundant chassis management system | |
CN104363117A (en) | IPMI (intelligent platform management interface) based method for serial port redirection | |
CN106330475A (en) | Method and device for managing main and standby nodes in communication system and high availability cluster | |
CN108206842B (en) | Cloud desktop remote access method and system | |
US10037253B2 (en) | Fault handling methods in a home service system, and associated household appliances and servers | |
US10489055B2 (en) | Z-wave controller shift in thermostats | |
US10404559B2 (en) | Apparatus and system for automatically rebooting an electronically powered device via power over ethernet | |
US9132550B2 (en) | Apparatus and method for managing robot components | |
CN108259213A (en) | NETCONF session status detection method and device | |
WO2005104435A1 (en) | Methods, devices and computer program products using a node affiliation protocol for monitoring and/or controlling networkable devices | |
CN102291303B (en) | Single board and method for determining primary and standby states for the same | |
CN111343700A (en) | Wireless sensor network communication method | |
JP2009238098A (en) | Session management method, storage device, and computer system | |
US6725290B1 (en) | Persistent modem connection | |
WO2006091029A1 (en) | Method of configuring network profile of network system | |
CN103413424A (en) | Alarming information sending method and system based on embedded monitoring equipment | |
CN114244686A (en) | Communication fault detection method, device and system | |
EP1793626A1 (en) | System and method for implementing service switching | |
CN105306256B (en) | A kind of two-node cluster hot backup implementation method based on VxWorks equipment | |
CN112911624B (en) | Network connection method and device of electronic equipment |
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 |