CN106453657A - Status information update method and device of smart home equipment - Google Patents
Status information update method and device of smart home equipment Download PDFInfo
- Publication number
- CN106453657A CN106453657A CN201611115791.8A CN201611115791A CN106453657A CN 106453657 A CN106453657 A CN 106453657A CN 201611115791 A CN201611115791 A CN 201611115791A CN 106453657 A CN106453657 A CN 106453657A
- Authority
- CN
- China
- Prior art keywords
- status information
- intelligent home
- home device
- state
- cloud server
- 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.)
- Pending
Links
Classifications
-
- 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/10—Protocols in which an application is distributed across nodes in the network
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a status information update method and device for smart home equipment, and belongs to the technical field of the smart home. The method comprises the following steps: receiving the first status information sent by the smart home equipment connected with a smart home gateway; judging whether the second status information of the smart home equipment is stored based on an equipment identifier of the smart home equipment; if the second status information is stored and different from the first status information, sending the first status information to a cloud server to update the status information of the smart home equipment. The smart home gateway compares with received latest status information sent by the smart home equipment with the synchronized status information, and synchronizes the latest status information to the cloud server if the received latest status information is different from the synchronized status information, the network bandwidth resource waste and the cloud server processing resource waste caused by repeatedly synchronizing the same status information to the cloud server are avoided when the status information of the smart home equipment is unchanged.
Description
Technical field
The present invention relates to a kind of state information updating method of Smart Home technical field, more particularly to intelligent home device
And device.
Background technology
With the development of smart home technology, intelligent home device is widely used in the places such as family, office.Logical
Often, during the use of intelligent home device, terminal can be controlled it according to the status information of intelligent home device,
Such as, for intelligent lamp apparatus, the status information can include that it is 50% for red, brightness to be currently at open mode, color.
But, the status information of intelligent home device often changes, and therefore, how to realize the status information of intelligent home device
Renewal is very important.
In correlation technique, intelligent home device directly can be set up with cloud server and be connected, it is also possible to by intelligent family
Occupy gateway and set up with cloud server and be connected.After intelligent home device and cloud server are set up and be connected, smart home sets
Standby can report the status information of itself to cloud server according to predetermined period, it is also possible to when state changes, Xiang Yun
End server uploaded state information.Cloud server stores the intelligence when the status information that intelligent home device is reported is received
The status information that energy home equipment is reported, is updated with the status information to the intelligent home device.
During the present invention is realized, inventor has found that correlation technique at least has problems with:
If the status information of intelligent home device is not changed in a long time, then reported according to predetermined period
Status information in, most of will be the status information for repeating, and cloud server is according to the state information updating intelligence man for repeating
The equipment state of equipment is occupied, this not only wastes network bandwidth resources, while also wasting the process resource of cloud server.
Content of the invention
In order to problem of the prior art is solved, a kind of status information of intelligent home device is embodiments provided more
New method and device.The technical scheme is as follows:
On the one hand, there is provided a kind of state information updating method of intelligent home device, methods described includes:
Receive the first state information that the intelligent home device being connected with the intelligent domestic gateway is sent, first shape
State information is used for indicating the state that the intelligent home device is presently in;
Based on the device identification of the intelligent home device, the second shape of the intelligent home device that judges whether to be stored with
State information, second status information the last state letter for being synchronized to cloud server before being used for indicating current time
Breath;
If second status information that the is stored with and first state information is different from second status information,
The first state information is sent to the cloud server, to indicate the cloud server to the intelligent home device
Status information be updated.
Alternatively, the device identification based on the intelligent home device, judges whether the smart home that is stored with
Second status information of equipment, including:
Based on the device identification of the intelligent home device, the corresponding state that whether is stored with first state list is judged
Information, the first state list is synchronized to each of the cloud server for the last time before being stored in current time
The device identification of intelligent home device and the corresponding relation of status information;
If being stored with corresponding status information in the first state list, it is determined that the smart home that is stored with sets
The second standby status information, otherwise, it determines the second status information of the intelligent home device that is not stored with.
Alternatively, the device identification based on the intelligent home device, judges whether the smart home that is stored with
After second status information of equipment, also include:
If second status information is not stored with, the first state information is sent to the cloud service
Device, is updated with the status information to the intelligent home device.
Alternatively, described the first state information is sent to the cloud server after, also include:
Based on the device identification of the intelligent home device, corresponding status information in first state list is replaced with institute
State first state information.
Alternatively, described the first state information is sent to the cloud server before, also include:
By the device identification of the intelligent home device and the first state information Store in the second status list, institute
State the second status list for storage be not synchronized to the cloud server each intelligent home device device identification and
The corresponding relation of latest state information;
Correspondingly, described the first state information is sent to the cloud server, including:
Every prefixed time interval, by the last state of each intelligent home device for storing in second status list
Information is sent to the cloud server;
Correspondingly, described the first state information is sent to the cloud server after, also include:
The latest state information of each intelligent home device for storing in second status list is deleted.
On the other hand, there is provided a kind of state information updating device of intelligent home device, described device includes:
Receiver module, for receiving the first state letter that the intelligent home device being connected with the intelligent domestic gateway is sent
Breath, the first state information is used for indicating the state that the intelligent home device is presently in;
Judge module, for the device identification based on the intelligent home device, judges whether the intelligent family that is stored with
The second status information of equipment is occupied, before second status information is used for indicating current time, the last time is synchronized to high in the clouds clothes
The status information of business device;
First sending module, if for second status information and the first state information and described of being stored with
Two-state information difference, then be sent to the cloud server by the first state information, with to the intelligent home device
Status information be updated.
Alternatively, the judge module includes:
Whether judging submodule, for the device identification based on the intelligent home device, judge in first state list
Be stored with corresponding status information, and the first state list is synchronized to described for the last time before being stored in current time
The device identification of each intelligent home device of cloud server and the corresponding relation of status information;
Determination sub-module, if for the corresponding status information that is stored with the first state list, it is determined that storage
There is the second status information of the intelligent home device, otherwise, it determines the second state of the intelligent home device that is not stored with
Information.
Alternatively, described device also includes:
Second sending module, if for second status information that is not stored with, the first state information is sent out
The cloud server is given, to indicate that the cloud server is updated to the status information of the intelligent home device.
Alternatively, described device also includes:
Replacement module, for the device identification based on the intelligent home device, by corresponding shape in first state list
State information replaces with the first state information.
Alternatively, described device also includes:
Memory module, for by the device identification of the intelligent home device and the first state information Store second
In status list, second status list is not synchronized to each intelligent home device of the cloud server for storage
Device identification and the corresponding relation of latest state information;
Correspondingly, first sending module and second sending module, specifically for:
Every prefixed time interval, by the last state of each intelligent home device for storing in second status list
Information is sent to the cloud server;
Correspondingly, described device also includes:
Removing module, the latest state information of each intelligent home device for storing in second status list
Delete.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:The present invention is recorded using intelligent domestic gateway
Before current time, the last time is synchronized to the status information of the intelligent home device of cloud server, when receiving smart home
During the latest state information that equipment sends, the latest state information is compared with synchronous status information, if not phase
With then to the synchronous latest state information of cloud server, it is to avoid the status information of intelligent home device does not change
When, repeat to cloud server synchronization identical status information to cause the waste to network bandwidth resources, while decreasing
Waste to cloud server process resource.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of state information updating method flow diagram of intelligent home device provided in an embodiment of the present invention;
Fig. 2A is a kind of state information updating device block diagram of intelligent home device provided in an embodiment of the present invention;
Fig. 2 B is a kind of block diagram of judge module provided in an embodiment of the present invention;
Fig. 2 C is a kind of state information updating device block diagram of intelligent home device provided in an embodiment of the present invention;
Fig. 2 D is a kind of state information updating device block diagram of intelligent home device provided in an embodiment of the present invention;
Fig. 2 E is a kind of state information updating device block diagram of intelligent home device provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Before detailed explanation is carried out to the embodiment of the present invention, first the application scenarios of the embodiment of the present invention are given
Introduce.Generally, during the use of intelligent home device, cloud server can be believed based on the state of intelligent home device
Breath, pushes the control message of the intelligent home device to terminal, and terminal is carried out to the intelligent home device based on the control message
Control.Wherein, the status information due to intelligent home device often changes, and therefore intelligent home device will be to cloud service
Device sends the latest state information of itself, carries out more so as to the status information of the intelligent home device of the cloud server to storing
Newly.In correlation technique, intelligent home device can report the latest state information of itself according to predetermined period to cloud server.
However, in actual applications, the status information of intelligent home device is possible to not change in a long time, now, presses
In the latest state information for reporting according to predetermined period, most of will be the status information for repeating, these status informations for repeating
Report the waste that will result in network bandwidth resources, and cloud server is according to the status information of the repetition to setting for being originally not changed in
Standby state is updated, and will result in the waste of the process resource of cloud server.For the problems referred to above, the invention provides a kind of
The state information updating method of intelligent home device, using synchronous before intelligent domestic gateway record current time in the method
The status information of the intelligent home device in cloud server, and receiving the last state that intelligent home device is reported
After information, the latest state information is compared with the status information being synchronized in cloud server, if the two not phase
With then the latest state information being synchronized in cloud server, it is to avoid the status information of intelligent home device does not occur
During change, repeat the waste to network bandwidth resources for causing to cloud server synchronization identical status information, while
Reduce the waste to cloud server process resource.
A kind of state information updating method of intelligent home device is embodiments provided, referring to Fig. 1, the method should
For, in intelligent domestic gateway, the method includes:
Step 101:The first state information that the intelligent home device being connected with intelligent domestic gateway is sent is received, this first
Status information is used for indicating the state that the intelligent home device is presently in.
Generally, intelligent home device can send the first shape when its status information changes to intelligent domestic gateway
State information, it is also possible to according to predetermined period, periodically report first state information to intelligent domestic gateway, correspondingly, intelligence
Home gateway can receive the first state information of connected intelligent home device transmission in real time, it is also possible to according to default
In the cycle, periodically receive the first state information of intelligent home device transmission.
Wherein, the first state information is used for indicating that the intelligent home device is presently in state, for example, for intelligent lamp
Equipment, it is the information such as 50% for red, brightness that the first state information can be currently at open mode, color for intelligent lamp.
Step 102:Based on the device identification of intelligent home device, the second shape of the intelligent home device that judges whether to be stored with
State information, second status information the last status information for being synchronized to cloud server before being used for indicating current time.
After the first state information of intelligent home device transmission is received, as the intelligent home device is likely to be new
The equipment of interpolation, sends first state information, it is also possible to which the intelligent home device is nearest one before current time for the first time
Secondary failing status information is synchronized to cloud server, that is to say, may not be stored with intelligent domestic gateway the intelligence
Second status information of home equipment, therefore, after the first state information that the smart machine sends is received, smart home net
Close the second status information of the intelligent home device that first can judge whether to be stored with.
Wherein, intelligent domestic gateway judge whether to be stored with the second status information of intelligent home device operation permissible
For:Based on the device identification of the intelligent home device, the corresponding status information that whether is stored with first state list is judged, should
First state list the last each intelligent home device for being synchronized to cloud server before being used for being stored in current time
Device identification and status information corresponding relation;If being stored with corresponding status information in the first state list,
Determine the second status information of the intelligent home device that is stored with, otherwise, it determines the second of the intelligent home device that is not stored with
Status information.
It should be noted that the device identification of the intelligent home device can be intelligent home device is sending first state
Carry during information, and the device identification can be that device number, IP address or MARC address of the intelligent home device etc. uniquely may be used
To identify the information of the intelligent home device.
In addition, the last successful synchronization is to cloud service before can getting current time for intelligent domestic gateway
The status information of device, so as to the second status information of the intelligent home device that judges whether to be stored with intelligent domestic gateway,
Before judgement, before intelligent domestic gateway can read current time from data base, the last time is synchronized to cloud server
Whole device identifications of intelligent home device and the corresponding relation of status information, and first state is generated based on the corresponding relation
List.Wherein, the data base is the data base of intelligent domestic gateway, before the current time that can be stored with the data base recently
The device identification of whole intelligent home devices and the corresponding relation of status information of cloud server are once synchronized to, it is also possible to
Be stored with the device identification of the unsuccessful intelligent home device for being synchronized to cloud server and the corresponding relation of status information.
Further, when intelligent domestic gateway power-off restarting or when carrying out system start-up initialisation due to other reasonses,
Intelligent domestic gateway can read the equipment mark of the unsuccessful intelligent home device for being synchronized to cloud server from the data base
Know the corresponding relation with status information, so as to follow-up by the state of the unsuccessful intelligent home device for being synchronized to cloud server
Synchronizing information is to cloud server.In addition, intelligent domestic gateway is nearest before can also reading current time from the data base
The device identification of whole intelligent home devices and the corresponding relation of status information of cloud server are once synchronized to, to sentence
Disconnected the second status information that wherein whether there is the corresponding intelligent home device of the first state information for receiving.
Step 103:If second status information that is stored with and first state information is different from the second status information, should
First state information is sent to cloud server, to indicate that the cloud server carried out to the status information of the intelligent home device
Update.
Based on the description in step 101 and step 102, if intelligent home device is when its status information changes,
First state information is sent to intelligent domestic gateway, as the connection between intelligent domestic gateway and cloud server is probably disconnected
Open, then, during disconnection is connected, even if the status information of intelligent home device occurs repeatedly to change, and work as and high in the clouds clothes
Connection between business device is when re-establishing, the first state information that intelligent home device sends be possible to before current time most
Nearly the second status information or the identical for being once synchronized to cloud server, now, if intelligent domestic gateway still should
First state information is sent to cloud server, is equivalent to have sent the status information of repetition, therefore, in this case,
Intelligent domestic gateway can judge the first state information after the second status information for determining the intelligent home device that is stored with
Whether identical with second status information.
Certainly, if intelligent home device periodically sends first state to intelligent domestic gateway according to predetermined period
Information, then, when the status information long-time of intelligent home device does not change, intelligent home device is in multiple default weeks
The first state information that phase sends will be identical, and now, intelligent domestic gateway just there is no need to send out the first state information
Cloud server is given, certainly, cloud server need not also update the status information of the intelligent home device, therefore, this
In the case of, intelligent domestic gateway is after the second status information for determining the intelligent home device that is stored with, it is also possible to which first judging should
Whether first state information is identical with the second status information.
Based on foregoing description, intelligent domestic gateway after the second status information for determining the intelligent home device that is stored with,
The first state information and the second status information are compared, if the first state information and the second status information phase
With, then showing that the status information of the intelligent home device does not change, that is to say, cloud server need not be to the intelligent family
The status information for occupying equipment is updated, now, intelligent domestic gateway end operation, return to step 101, continue to intelligent family
Occupy the first state information of equipment transmission;If the first state information is different with the second status information, show the intelligent family
Occupying the current status information of equipment and change is there occurs compared to the status information for being synchronized to cloud server, that is to say, the intelligence
The latest state information of energy home equipment is the first state information, and now, the smart home can be set by intelligent domestic gateway
Standby first state information is sent to cloud server, the intelligence so as to cloud server based on the first state information to storage
The status information of energy home equipment is updated.When cloud server is when the first state information is received, based on this first
The device identification of the corresponding intelligent home device of status information, searches the intelligent home device from the status information of storage and corresponds to
Status information, and the status information of the intelligent home device is replaced with the first state information, now, cloud server is more
New state information success.After cloud server is to the state information updating success of intelligent home device, can be to smart home
What gateway transmission was updated successfully replies message, and records the status information being updated successfully so as to intelligent domestic gateway.
Further, intelligent domestic gateway fast and effectively sends first state information to cloud server for convenience,
Synchronous efficiency is improved, intelligent domestic gateway is after determining that the first state information is different from second status information, permissible
The corresponding relation of the device identification of the intelligent home device and the first state information is stored in the second status list.Namely
It is that second status list can not be synchronized to the equipment mark of each intelligent home device of cloud server dedicated for storage
Knowledge and the corresponding relation of latest state information.Afterwards, intelligent domestic gateway can by storage in second status list most
New state information is sent to cloud server.
Wherein, intelligent domestic gateway can be every prefixed time interval, each intelligence that will store in second status list
Can the latest state information of home equipment be sent to cloud server, certainly, in order to cloud server can be much sooner right
The status information of intelligent home device is updated, and intelligent domestic gateway can also be stored in second status list is detected
When having latest state information, just the latest state information is sent to cloud server immediately.
Alternatively, in actual applications, when intelligent domestic gateway is by the device identification of intelligent home device and first shape
After the corresponding relation of state information is stored in the second status list, the corresponding relation storage can also be arrived by intelligent domestic gateway
In data base, so, if intelligent domestic gateway occurs power-off or other faults, the first state information will not also be lost.
In addition, if intelligent domestic gateway is after the first state information is sent to cloud server, but receiving
Cloud server be updated successfully reply message before there occurs power-off, then, when intelligent domestic gateway restarts, from
The status information for being synchronized to cloud server that data base reads will be with the cloud server now successful state of actual synchronization
Information is inconsistent, and in order to avoid such case, the corresponding relation in the second status list can stored by intelligent domestic gateway
During in data base, by the first state information flag for not being synchronized to cloud server, so, in intelligent domestic gateway again
After startup, the first state information for not being synchronized to cloud server can be synchronized by intelligent domestic gateway first, and same
After step success, in data base, the synchronous regime of the status information of each intelligent home device is marked again, is come with this
Solve the problems, such as that the status information for storing in intelligent domestic gateway and cloud server is inconsistent.
Alternatively, in intelligent domestic system, if the connection between intelligent domestic gateway and cloud server disconnects,
Intelligent domestic gateway just has no idea to send the status information of intelligent home device to cloud server.So, smart home
Gateway can also judge that the connection and cloud server between was before the first state information is sent to cloud server
No disconnect;If it is determined that the connection between cloud server does not disconnect, then can pass through said method by the first state
Information is sent to cloud server;If it is determined that the connection between cloud server disconnects, then can be based on foregoing description
By the first state information Store in the second status list, and detect re-establish with the connection of cloud server when,
The latest state information for storing in second status list is sent to cloud server.
Alternatively, if determining second status information that is not stored with the intelligent domestic gateway, table by step 102
The bright first state information is probably the status information that the intelligent home device is sent for the first time, it is also possible to which the smart home sets
Standby do not had status information of the successful synchronization to cloud server before current time, and now, intelligent domestic gateway can be by
The first state information is transmitted directly to cloud server, so as to cloud server, the status information of the intelligent home device is entered
Row updates.Certainly, intelligent domestic gateway can also be by the first state information Store in the second status list, then by upper
The method of text description sends the first state information to cloud server.
Step 104:Based on the device identification of the intelligent home device, corresponding status information in first state list is replaced
It is changed to first state information.
After first state information is sent to cloud server by intelligent domestic gateway, cloud server can be based on this
One status information is updated to the status information of the intelligent home device.Generally, cloud server is permissible after being updated successfully
To intelligent domestic gateway send be updated successfully reply message, after intelligent domestic gateway can be replied message this is received, really
The status information of the fixed intelligent home device has been updated successfully, now, the first state information just become current time it
Front the last time is synchronized to the status information of cloud server, and follow-up intelligent domestic gateway receives intelligent family again for convenience
Compare after the latest state information for occupying equipment transmission, intelligent domestic gateway can become the first state synchronizing information is determined
The second status information of the intelligent home device for storing in first state list after work(, is replaced with the first state information.
Alternatively, the last synchronous before current time being got for intelligent domestic gateway when being again started up
To the status information of cloud server, corresponding status information in first state list is being replaced with first by intelligent domestic gateway
While status information, stored first state information flag to data base in step 103 can also be same
Walk to cloud server.
Step 105:The latest state information of each intelligent home device for storing in the second status list is deleted.
As the second status list is used for the equipment mark that storage is not synchronized to each intelligent home device of cloud server
Knowledge and the corresponding relation of latest state information, therefore, in each intelligence that intelligent domestic gateway will be stored in the second status list
After the latest state information of energy home equipment is sent to cloud server, intelligent domestic gateway just can be by second status Bar
Latest state information in table is deleted;Certainly, in order to prevent the latest state information to send failure or cloud server
Update failure, intelligent domestic gateway can also receive cloud server transmission be updated successfully reply message after, will
The latest state information is stored to while first state list, deletes the latest state information from the second status list.
In embodiments of the present invention, using the last time before intelligent domestic gateway record current time, high in the clouds clothes are synchronized to
The status information of the intelligent home device of business device, when the latest state information of intelligent home device transmission is received, will be newest
Status information is compared with synchronous status information, if it is not the same, then to the synchronous last state letter of cloud server
Breath, it is to avoid when the status information of intelligent home device does not change, repeats to cloud server synchronization identical state
Information and the waste to network bandwidth resources that causes, while decrease the waste to cloud server process resource.In addition,
If the connection between intelligent home device and cloud server disconnects, when a connection is established again, due to intelligent domestic gateway
The connection that is stored with disconnect during the latest state information that reports of intelligent home device, therefore, intelligent domestic gateway can directly by
The latest state information is sent to cloud server so that cloud server can be based on the latest state information timely to this
The status information of intelligent home device is updated, it is ensured that the status information of intelligent home device ageing.
Referring to Fig. 2A, a kind of state information updating device 200 of intelligent home device, the dress is embodiments provided
Put including:
Receiver module 201, for receiving the first state letter that the intelligent home device being connected with intelligent domestic gateway is sent
Breath, the first state information is used for indicating the state that the intelligent home device is presently in;
Judge module 202, for the device identification based on the intelligent home device, judges whether the smart home that is stored with
Second status information of equipment, before second status information is used for indicating current time, the last time is synchronized to cloud server
Status information;
First sending module 203, if for be stored with second status information and the first state information with this second
Status information difference, then be sent to cloud server by the first state information, with the status information to the intelligent home device
It is updated.
Alternatively, referring to Fig. 2 B, judge module 202 includes:
Judging submodule 2021, for the device identification based on the intelligent home device, judge in first state list be
The no corresponding status information that is stored with, before the first state list is used for being stored in current time, the last time is synchronized to high in the clouds
The device identification of each intelligent home device of server and the corresponding relation of status information;
Determination sub-module 2022, if for the corresponding status information that is stored with first state list, it is determined that storage
There is the second status information of intelligent home device, otherwise, it determines the second status information of the intelligent home device that is not stored with.
Alternatively, referring to Fig. 2 C, the device 200 also includes:
Second sending module 204, if for second status information that is not stored with, first state information is sent to cloud
End server, to indicate that the cloud server is updated to the status information of intelligent home device.
Alternatively, referring to Fig. 2 D, the device 200 also includes:
Replacement module 205, for the device identification based on intelligent home device, by corresponding state in first state list
Information replaces with first state information.
Alternatively, referring to Fig. 2 E, the device 200 also includes:
Memory module 206, for by the device identification of intelligent home device and first state information Store in the second state
In list, the second status list be used for storage be not synchronized to cloud server each intelligent home device device identification and
The corresponding relation of latest state information;
Correspondingly, the first sending module and the second sending module, specifically for:
Every prefixed time interval, by the latest state information of each intelligent home device for storing in the second status list
It is sent to cloud server;
Correspondingly, the device also includes:
Removing module 207, the latest state information of each intelligent home device for storing in the second status list
Delete.
In sum, the embodiment of the present invention is synchronized to cloud using the last time before intelligent domestic gateway record current time
The status information of the intelligent home device of end server, when the latest state information of intelligent home device transmission is received, will
The latest state information is compared with synchronous status information, if it is not the same, then to cloud server synchronization, this is newest
Status information, it is to avoid when the status information of intelligent home device does not change, repeat synchronously identical to cloud server
Status information and the waste to network bandwidth resources that causes, while decreasing the wave to cloud server process resource
Take.In addition, if the connection between intelligent home device and cloud server disconnects, when a connection is established again, due to intelligence
Home gateway be stored with connection disconnect during the latest state information that reports of intelligent home device, therefore, intelligent domestic gateway can
Directly the latest state information to be sent to cloud server so that cloud server can be based on the latest state information and
When the status information to the intelligent home device be updated, it is ensured that the status information of intelligent home device ageing.
It should be noted that:Above-described embodiment provide triggering intelligent network service device in triggering intelligent network service,
Only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions can be distributed
Completed by different functional modules, will the internal structure of equipment be divided into different functional modules, described above to complete
All or part of function.In addition, the device of the triggering intelligent network service of above-described embodiment offer and triggering intelligent network service
Embodiment of the method belongs to same design, and which implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step for realizing above-described embodiment can pass through hardware
To complete, it is also possible to which the hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement that is made etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of state information updating method of intelligent home device, it is characterised in that be applied to intelligent domestic gateway, the side
Method includes:
Receive the first state information that the intelligent home device being connected with the intelligent domestic gateway is sent, the first state letter
Cease for indicating state that the intelligent home device is presently in;
Based on the device identification of the intelligent home device, the second state letter of the intelligent home device that judges whether to be stored with
Breath, second status information the last status information for being synchronized to cloud server before being used for indicating current time;
If second status information that the is stored with and first state information is different from second status information, by institute
State first state information and the cloud server is sent to, be updated with the status information to the intelligent home device.
2. the method for claim 1, it is characterised in that the device identification based on the intelligent home device, sentences
Second status information of the disconnected intelligent home device that whether is stored with, including:
Based on the device identification of the intelligent home device, the corresponding state letter that whether is stored with first state list is judged
Breath, the first state list the last each intelligence for being synchronized to the cloud server before being used for being stored in current time
Can the device identification of home equipment and the corresponding relation of status information;
If being stored with corresponding status information in the first state list, it is determined that be stored with the intelligent home device
Second status information, otherwise, it determines the second status information of the intelligent home device that is not stored with.
3. the method for claim 1, it is characterised in that the device identification based on the intelligent home device, sentences
After second status information of the disconnected intelligent home device that whether is stored with, also include:
If second status information is not stored with, the first state information is sent to the cloud server, with
Indicate that the cloud server is updated to the status information of the intelligent home device.
4. the method as described in claim 1 or 3, it is characterised in that described the first state information is sent to the cloud
After the server of end, also include:
Based on the device identification of the intelligent home device, corresponding status information in first state list is replaced with described
One status information.
5. the method as described in claim 1 or 3, it is characterised in that described the first state information is sent to the cloud
Before the server of end, also include:
By the device identification of the intelligent home device and the first state information Store in the second status list, described
Two-state list is used for storage and is not synchronized to the device identification of each intelligent home device of the cloud server and newest
The corresponding relation of status information;
Correspondingly, described the first state information is sent to the cloud server, including:
Every prefixed time interval, by the latest state information of each intelligent home device for storing in second status list
It is sent to the cloud server;
Correspondingly, described the first state information is sent to the cloud server after, also include:
The latest state information of each intelligent home device for storing in second status list is deleted.
6. the state information updating device of a kind of intelligent home device, it is characterised in that described device includes:
Receiver module, for receiving the first state information that the intelligent home device being connected with the intelligent domestic gateway is sent,
The first state information is used for indicating the state that the intelligent home device is presently in;
Judge module, for the device identification based on the intelligent home device, the smart home that judges whether to be stored with sets
The second standby status information, before second status information is used for indicating current time, the last time is synchronized to cloud server
Status information;
First sending module, if for second status information and the first state information and second shape of being stored with
State information difference, then be sent to the cloud server by the first state information, with the shape to the intelligent home device
State information is updated.
7. device as claimed in claim 6, it is characterised in that the judge module includes:
Judging submodule, for the device identification based on the intelligent home device, judges whether store in first state list
There is corresponding status information, before the first state list is used for being stored in current time, the last time is synchronized to the high in the clouds
The device identification of each intelligent home device of server and the corresponding relation of status information;
Determination sub-module, if for the corresponding status information that is stored with the first state list, it is determined that storage is
The second status information of intelligent home device is stated, otherwise, it determines the second status information of the intelligent home device that is not stored with.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Second sending module, if for second status information that is not stored with, the first state information is sent to
The cloud server, to indicate that the cloud server is updated to the status information of the intelligent home device.
9. the device as described in claim 6 or 8, it is characterised in that described device also includes:
Replacement module, for the device identification based on the intelligent home device, by corresponding shape in the first state list
State information replaces with the first state information.
10. the device as described in claim 6 or 8, it is characterised in that described device also includes:
Memory module, for by the device identification of the intelligent home device and the first state information Store in the second state
In list, second status list is used for the equipment that storage is not synchronized to each intelligent home device of the cloud server
Mark and the corresponding relation of latest state information;
Correspondingly, first sending module and second sending module, specifically for:
Every prefixed time interval, by the latest state information of each intelligent home device for storing in second status list
It is sent to the cloud server;
Correspondingly, described device also includes:
Removing module, for deleting the latest state information of each intelligent home device for storing in second status list
Remove.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611115791.8A CN106453657A (en) | 2016-12-07 | 2016-12-07 | Status information update method and device of smart home equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611115791.8A CN106453657A (en) | 2016-12-07 | 2016-12-07 | Status information update method and device of smart home equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453657A true CN106453657A (en) | 2017-02-22 |
Family
ID=58217733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611115791.8A Pending CN106453657A (en) | 2016-12-07 | 2016-12-07 | Status information update method and device of smart home equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453657A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888272A (en) * | 2017-04-11 | 2017-06-23 | 华东交通大学 | The client message method for refreshing of platform is pushed based on third party |
CN107888458A (en) * | 2017-12-11 | 2018-04-06 | 北京小米移动软件有限公司 | Smart machine condition processing method and device |
CN108616433A (en) * | 2018-05-04 | 2018-10-02 | 青岛海信智慧家居系统股份有限公司 | State synchronization method, device, gateway device and storage medium |
CN108881380A (en) * | 2018-05-04 | 2018-11-23 | 青岛海尔空调电子有限公司 | data transmission system and method based on cloud service |
CN110290019A (en) * | 2019-05-27 | 2019-09-27 | 网宿科技股份有限公司 | Monitoring method and system |
CN110320825A (en) * | 2018-03-28 | 2019-10-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus counting equipment state |
CN111030898A (en) * | 2019-12-16 | 2020-04-17 | 青岛海信智慧家居系统股份有限公司 | Curtain motor control method and device based on ZigBee protocol |
CN111064957A (en) * | 2018-10-17 | 2020-04-24 | 杭州海康威视数字技术股份有限公司 | Equipment state monitoring method and device |
CN111404918A (en) * | 2020-03-11 | 2020-07-10 | 广州微算互联信息技术有限公司 | Cloud mobile phone distributed service emergency authentication method, device and system |
CN113162987A (en) * | 2018-04-20 | 2021-07-23 | 华为技术有限公司 | Method for synchronizing equipment states and public capacity component |
CN113645602A (en) * | 2021-08-19 | 2021-11-12 | 深圳创维数字技术有限公司 | Method, system, communication terminal and readable storage medium for decentralized management |
CN113691600A (en) * | 2021-08-16 | 2021-11-23 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment state information and computer readable storage medium |
CN113783937A (en) * | 2021-08-16 | 2021-12-10 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment state information and computer readable storage medium |
CN114157613A (en) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | Data reporting method, gateway, server, electronic device and storage medium |
CN115175111A (en) * | 2022-07-11 | 2022-10-11 | 上海庆科信息技术有限公司 | Message processing method, device, bluetooth gateway equipment, storage medium and system |
CN115225697A (en) * | 2022-06-16 | 2022-10-21 | 阿里云计算有限公司 | State synchronization method, device, equipment and storage medium |
CN116032949A (en) * | 2023-03-29 | 2023-04-28 | 成都数之联科技股份有限公司 | Time synchronization method, apparatus, electronic device, and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056197A (en) * | 2006-04-11 | 2007-10-17 | 中国移动通信集团公司 | Data storage system of the information home electrical appliance and the data processing method |
CN101136833A (en) * | 2007-09-26 | 2008-03-05 | 深圳市迅雷网络技术有限公司 | Method, system and device for across entity network to access data |
US20100106318A1 (en) * | 2008-10-27 | 2010-04-29 | Lennox Industries Inc. | Alarm and diagnostics system and method for a distributed- architecture heating, ventilation and air conditioning network |
CN103489098A (en) * | 2013-09-23 | 2014-01-01 | 裘百灵 | Mobile payment method, system and program supporting offline receipt and payment |
CN104462477A (en) * | 2014-12-18 | 2015-03-25 | 深圳市科漫达智能管理科技有限公司 | Data synchronizing method, device and system based on timestamp |
CN104737135A (en) * | 2012-10-25 | 2015-06-24 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
-
2016
- 2016-12-07 CN CN201611115791.8A patent/CN106453657A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056197A (en) * | 2006-04-11 | 2007-10-17 | 中国移动通信集团公司 | Data storage system of the information home electrical appliance and the data processing method |
CN101136833A (en) * | 2007-09-26 | 2008-03-05 | 深圳市迅雷网络技术有限公司 | Method, system and device for across entity network to access data |
US20100106318A1 (en) * | 2008-10-27 | 2010-04-29 | Lennox Industries Inc. | Alarm and diagnostics system and method for a distributed- architecture heating, ventilation and air conditioning network |
CN104737135A (en) * | 2012-10-25 | 2015-06-24 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
CN103489098A (en) * | 2013-09-23 | 2014-01-01 | 裘百灵 | Mobile payment method, system and program supporting offline receipt and payment |
CN104462477A (en) * | 2014-12-18 | 2015-03-25 | 深圳市科漫达智能管理科技有限公司 | Data synchronizing method, device and system based on timestamp |
Non-Patent Citations (2)
Title |
---|
王锐: "特种行业综合管理系统中数据同步和报警程序的设计与实现", 《中国优秀硕士论文全文数据库信息科技辑》 * |
许菲: "企业员工健康管理信息系统的设计与实现", 《中国优秀硕士论文全文数据库 信息科技辑》 * |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888272A (en) * | 2017-04-11 | 2017-06-23 | 华东交通大学 | The client message method for refreshing of platform is pushed based on third party |
CN106888272B (en) * | 2017-04-11 | 2020-05-19 | 华东交通大学 | Client message refreshing method based on third-party push platform |
CN107888458A (en) * | 2017-12-11 | 2018-04-06 | 北京小米移动软件有限公司 | Smart machine condition processing method and device |
CN110320825A (en) * | 2018-03-28 | 2019-10-11 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus counting equipment state |
CN113162987B (en) * | 2018-04-20 | 2022-09-16 | 华为云计算技术有限公司 | Method for synchronizing equipment states and public capacity component |
CN113162987A (en) * | 2018-04-20 | 2021-07-23 | 华为技术有限公司 | Method for synchronizing equipment states and public capacity component |
US11496564B2 (en) | 2018-04-20 | 2022-11-08 | Huawei Cloud Computing Technologies Co., Ltd. | Device state synchronization method and common capability component |
CN108616433A (en) * | 2018-05-04 | 2018-10-02 | 青岛海信智慧家居系统股份有限公司 | State synchronization method, device, gateway device and storage medium |
CN108881380A (en) * | 2018-05-04 | 2018-11-23 | 青岛海尔空调电子有限公司 | data transmission system and method based on cloud service |
CN108616433B (en) * | 2018-05-04 | 2021-02-23 | 青岛海信智慧家居系统股份有限公司 | State synchronization method, device, gateway equipment and storage medium |
CN111064957A (en) * | 2018-10-17 | 2020-04-24 | 杭州海康威视数字技术股份有限公司 | Equipment state monitoring method and device |
CN111064957B (en) * | 2018-10-17 | 2021-03-23 | 杭州海康威视数字技术股份有限公司 | Equipment state monitoring method and device |
EP3852363A4 (en) * | 2018-10-17 | 2021-11-03 | Hangzhou Hikvision Digital Technology Co., Ltd. | Device state monitoring method and apparatus |
US11930292B2 (en) | 2018-10-17 | 2024-03-12 | Hangzhou Hikvision Digital Technology Co., Ltd. | Device state monitoring method and apparatus |
CN110290019A (en) * | 2019-05-27 | 2019-09-27 | 网宿科技股份有限公司 | Monitoring method and system |
CN111030898A (en) * | 2019-12-16 | 2020-04-17 | 青岛海信智慧家居系统股份有限公司 | Curtain motor control method and device based on ZigBee protocol |
CN111404918A (en) * | 2020-03-11 | 2020-07-10 | 广州微算互联信息技术有限公司 | Cloud mobile phone distributed service emergency authentication method, device and system |
CN113691600A (en) * | 2021-08-16 | 2021-11-23 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment state information and computer readable storage medium |
CN113783937A (en) * | 2021-08-16 | 2021-12-10 | 珠海格力电器股份有限公司 | Synchronization method and device of equipment state information and computer readable storage medium |
CN113645602B (en) * | 2021-08-19 | 2023-09-19 | 深圳创维数字技术有限公司 | Distributed management method, system, communication terminal and readable storage medium |
CN113645602A (en) * | 2021-08-19 | 2021-11-12 | 深圳创维数字技术有限公司 | Method, system, communication terminal and readable storage medium for decentralized management |
CN114157613A (en) * | 2021-11-11 | 2022-03-08 | 珠海格力电器股份有限公司 | Data reporting method, gateway, server, electronic device and storage medium |
CN115225697A (en) * | 2022-06-16 | 2022-10-21 | 阿里云计算有限公司 | State synchronization method, device, equipment and storage medium |
CN115225697B (en) * | 2022-06-16 | 2024-04-09 | 阿里云计算有限公司 | State synchronization method, device, equipment and storage medium |
CN115175111A (en) * | 2022-07-11 | 2022-10-11 | 上海庆科信息技术有限公司 | Message processing method, device, bluetooth gateway equipment, storage medium and system |
CN116032949A (en) * | 2023-03-29 | 2023-04-28 | 成都数之联科技股份有限公司 | Time synchronization method, apparatus, electronic device, and computer-readable storage medium |
CN116032949B (en) * | 2023-03-29 | 2023-06-16 | 成都数之联科技股份有限公司 | Time synchronization method, apparatus, electronic device, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453657A (en) | Status information update method and device of smart home equipment | |
CN109495567B (en) | Static routing deployment method, device and system | |
CN109361525B (en) | Method, device, control terminal and medium for restarting distributed deployment of multiple services | |
CN106878072B (en) | Message transmission method and device | |
CN101009598A (en) | Alarm synchronization method | |
US10037253B2 (en) | Fault handling methods in a home service system, and associated household appliances and servers | |
CN104301141A (en) | Method, device and system for storing configuration information | |
CN103916277A (en) | Method and device for not interrupting forwarding service in rebooting process | |
TW201737107A (en) | Data synchronization method and apparatus | |
CN113905005A (en) | Client state updating method and device for instant messaging | |
CN112367182B (en) | Configuration method and device of disaster recovery main and standby equipment | |
CN110875857A (en) | Method, device and system for reporting disconnected network state | |
CN101686437B (en) | Method and device for setting user side whiter list and paging user equipment | |
CN107612753B (en) | Wireless information processing method and device and wireless access equipment | |
CN110149398B (en) | User management method for intelligent door lock of intelligent home | |
CN101605045A (en) | A kind of report method of alarm notification message | |
CN105554712B (en) | A kind of SMS processing method and user terminal | |
EP3174322A1 (en) | Method for deleting notification resource, and common service entity | |
US8335795B2 (en) | Data storing system and data processing method of informational household appliance | |
CN114143904B (en) | CPE management method based on 5G fusion network shunt | |
KR101677524B1 (en) | Method, base station, and network system for automatic x2 configuration deletion | |
CN107483329B (en) | Neighbor table item management method and device | |
CN114422573A (en) | Message sending method and device, storage medium and electronic device | |
CN113472566A (en) | Status monitoring method of union block chain and master node status monitoring system | |
CN105187472A (en) | Data synchronization method and data synchronization 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |