CN106603706A - Synchronization method and synchronization system of controlled equipment state information, and mobile terminal - Google Patents
Synchronization method and synchronization system of controlled equipment state information, and mobile terminal Download PDFInfo
- Publication number
- CN106603706A CN106603706A CN201611254076.2A CN201611254076A CN106603706A CN 106603706 A CN106603706 A CN 106603706A CN 201611254076 A CN201611254076 A CN 201611254076A CN 106603706 A CN106603706 A CN 106603706A
- Authority
- CN
- China
- Prior art keywords
- controlled device
- state change
- change message
- page
- status information
- 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
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- 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)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention is suitable for the field of communication technology, and provides a synchronization method and a synchronization system of controlled equipment state information, and a mobile terminal. The synchronization method comprises the steps of calling a caching page, storing the called caching page into a local database, wherein the caching page comprises latest state information of the controlled equipment; receiving state change information of the controlled equipment, updating the caching page based on the received state information, performing feedback of the change information to a cloud server by the controlled equipment, transmitting the change information to the mobile terminal by the cloud server, and realizing state information synchronization of the controlled equipment. The synchronization method, the synchronization system and the mobile terminal have advantages of realizing state information synchronization among the cloud server, the controlled equipment and the mobile terminal, realizing benefit to a user and improving user experience.
Description
Technical field
The invention belongs to communication technical field, more particularly to a kind of controlled device status information synchronous method and system,
Mobile terminal.
Background technology
Smart home is integrated use wiring technique, the network communications technology, automatic control technology, peace with house as platform
Home equipment is integrated in one by full precautionary technology, audio frequency and video technology, so as to realizing that house security is comfortable, information exchange with communicate
Function, builds scientific, hommization, the ideal life environment of automatization.
With deepening continuously for networking in daily life and IT application process, the fast development of smart home becomes one
Plant inexorable trend.Compared with traditional household electrical appliance, intelligent home device have networking, intellectuality, it is open the features such as.Respectively
Plant intelligent home device to may be coupled to the Internet to realize the shared of information.Smart home platform is equipped with operating system, uses
Family can voluntarily install and uninstall application program thereon.
In prior art, most of home equipment can be controlled by the APP of cell-phone customer terminal, and home equipment exists
When controlled, some operations need band memory function, and such as last operation note is got off, in case acquiescence is continued to use when next time starts
Last operation.These operations need to carry out data storage, in case inquiry, but last operation information is merely stored in the last time
On the control piece of control controlled device (such as mobile terminal) and next time when using other control terminals (such as remote control) or
When person controls manually, as the record storage of last operation cannot obtain the operation of last time in other controlled members, now
Record, needs user to reset, makes troubles to user.
The content of the invention
Embodiments provide the synchronous method and system, mobile terminal of a kind of controlled device status information, it is intended to
Solve to obtain the operation note of last time and bring to user during different modes control smart home used in prior art
The problem of inconvenience.
The embodiment of the present invention is achieved in that a kind of synchronous method of controlled device status information, including:
Mobile terminal pulls the caching page, and the caching page after pulling is stored in local data base, the caching page bread
Include the status information of the last storage of controlled device;
Controlled device state change message is received, the caching page, the change are refreshed based on the change information for receiving
Information is fed back by the controlled device.
Preferably, mobile terminal pulls the caching page, also includes before the caching page is stored in local data base:
Loading page;
The status information of the last storage of the controlled device is obtained from the cache database of cloud server.
Preferably, also include before the loading page:
The opening control page instruction of receive user;
Based on the instruction unpack control page for being received, the control page includes a control list, the control list
Including the option of at least one controlled device;
The selection of receive user is indicated, described to select instruction to include the controlled device that user selects;
The loading page is specially:
Select to indicate based on described, load the page corresponding with the controlled device.
Preferably, it is described to receive controlled device state change message, it is based on the change information refresh page for receiving, described
Change information is fed back by the controlled device, realizes that the synchronization of controlled device status information is specially:
Mobile terminal receives the operation instruction of user, and the operation instruction for being received is sent to the controlled device;
The state change message of the controlled device that the cloud server sends is received, the change information is by institute
State controlled device and change the state of itself based on the operation instruction, and state change message is fed back to into cloud server;
Status information of the state change message for being received with the local data library storage is compared;
When the state change message for being received is inconsistent with the status information of the local data library storage, based on described
State change message refreshes the caching page, realizes the synchronization of controlled device status information.
Preferably, the state change message for receiving the controlled device that the cloud server sends, described
Change information is changed the state of itself by the controlled device based on the operation instruction, and takes change feedback of the information to high in the clouds
Also include before business device:
Judge the state change message whether is received in Preset Time;
When the state change message is not received in Preset Time, refreshed based on the last status information
The current caching page;
When the state change message is received in the Preset Time, go to the state change message that will be received with
The step of status information of the local data library storage is compared.
Preferably, controlled device state change message is received, based on the change information refresh page for receiving, the change
Information is fed back by the controlled device, realizes that the synchronization of controlled device status information is specially:
The state change message of the controlled device that cloud server sends is received, based on the state change message for receiving
The flush buffers page, the state change message are user based on other equipment to produced by the operation of the controlled device, and
Produced state change message is fed back to into the cloud server, beyond the other equipment is to remove the mobile terminal
Can be used for control the control device of the controlled device.
Preferably, controlled device state change message is received, based on the change information refresh page for receiving, the change
Information is fed back by the controlled device, realizes that the synchronization of controlled device status information is specially:
The state change message of the controlled device that cloud server sends is received, based on the state change message for receiving
The flush buffers page, the state change message be user manually to produced by the operation of the controlled device, and by the quilt
Produced state change message is fed back to the cloud server by control equipment.
The present invention also provides a kind of synchronization system of controlled device status information, including:
Module being pulled, the caching page being pulled for mobile terminal, the caching page after pulling is stored in local data base, institute
Stating caching page face includes the status information of the last storage of controlled device;
Synchronization module, it is for receiving controlled device state change message, based on the change information refresh page for receiving, described
Change information is fed back by the controlled device, realizes the synchronization of controlled device status information.
Preferably, the synchronization module is specifically included:
The operation instruction for being received, for receiving the operation instruction of user, is sent to institute by operation instruction Transmit-Receive Unit
State controlled device;
Receiving unit, for receiving the state change message of the controlled device of cloud server transmission, the change
Information is changed the state of itself by the controlled device based on the operation instruction, and state change message is fed back to high in the clouds clothes
Business device;
Comparing unit, status information of the state change message for being received with the local data library storage is compared
It is right;
Lock unit, is differed with the status information of the local data library storage for working as received state change message
During cause, the caching page is refreshed based on the state change message, the synchronization of controlled device status information is realized.
The present invention also provides a kind of mobile terminal, including a kind of synchronization system of controlled device status information, the synchronization
System includes:Module being pulled, the caching page being pulled for mobile terminal, the caching page after pulling is stored in local data base,
The caching page face includes the status information of the last storage of controlled device;
Synchronization module, it is for receiving controlled device state change message, based on the change information refresh page for receiving, described
Change information is fed back by the controlled device, realizes the synchronization of controlled device status information.
In embodiments of the present invention, mobile terminal, cloud server and controlled device carry out network connection, controlled device
After state change, state change message can be sent to cloud server, the state change message for receiving is sent by cloud server
To mobile terminal, mobile terminal realizes cloud server, controlled device based on the state change message flush buffers page for receiving
And the status information synchronization of mobile terminal three, no matter the last time operates with any instrument or is operated by other people,
Status information on being currently seen once, brings advantage to the user, and improves Consumer's Experience.
Description of the drawings
Fig. 1 is a kind of flow chart of the synchronous method of controlled device status information that first embodiment of the invention is provided;
The tool of the step of Fig. 2 is a kind of synchronous method of controlled device status information that first embodiment of the invention is provided S2
Body flow chart;
Fig. 3 is a kind of structure chart of the synchronization system of controlled device status information that second embodiment of the invention is provided;
Fig. 4 is a kind of synchronization module 2 of the synchronization system of controlled device status information that first embodiment of the invention is provided
Concrete structure diagram.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
In the embodiment of the present invention, a kind of synchronous method of controlled device status information, including:Mobile terminal pulls caching page
Face, the caching page after pulling are stored in local data base, and the caching page face includes the shape of the last storage of controlled device
State information;Controlled device state change message is connect, the caching page, the change information are refreshed based on the change information for receiving
Fed back by the controlled device, realize the synchronization of controlled device status information.
In order to illustrate technical solutions according to the invention, illustrate below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow process of the synchronous method of controlled device status information that first embodiment of the invention is provided
Figure, including:
Step S1, mobile terminal pull the caching page, and the caching page is stored in local data base, and the caching page face includes
The status information of the last storage of controlled device;
Specifically, mobile terminal pulls the caching page automatically, and the caching page after pulling is stored in local data base, its
In, the caching page face includes the status information of correspondence controlled device newest (i.e. the last storage), and the status information can
When use state including controlled device etc., such as controlled device are air-conditioning, status information may include residing pattern, the pattern
Under corresponding running parameter, such as temperature, humidity etc. are not restricted to this herein.
It should be noted that the mobile terminal can be the terminal of any controllable controlled device, such as mobile phone, flat board
Deng not being restricted to this herein.The controlled device intelligent home device, such as TV, air-conditioning, washing machine etc., herein equally
This is not restricted.In addition, being now the normal shape of network connection between mobile terminal, cloud server and controlled device three
State.
Step S2, controlled device state change message is received, it is based on the change information flush buffers page for receiving, described
Change information feeds back to cloud server by the controlled device, and is transferred to the mobile terminal by the cloud server,
Realize the synchronization of controlled device status information;
Specifically, mobile terminal monitor in real time receives controlled device state change message, believes when the state change is received
During breath, the caching page is refreshed based on the state change message, wherein, the change information feeds back to cloud by corresponding controlled device
The change information Store for receiving in cache database, and the change information is sent to by end server, the cloud server
Mobile terminal, to realize the synchronization of the status information of mobile terminal, cloud server and controlled device three storage.
In a preferred version of the present invention, may also include before step S1:
Step S01, loading page;
Step S02, obtain from the cache database of cloud server the controlled device the last time status information;
In further preferred scheme, may also include before step S01:
The opening control page instruction of step S03, receive user;
Step S04, based on the instruction unpack control page for being received, the control page includes a control list, the control
List processed includes at least one controlled device, and such as control list includes the choosing of the controlled devices such as air-conditioning, washing machine, electric refrigerator
, when user needs to control one of those, it is only necessary on the control page select the option of the controlled device to click on;
Step S05, the selection of receive user indicate that selection indicates the option of the controlled device for including that user selects;
Further, above-mentioned steps S01 are specially:Based on selecting to indicate, the page corresponding with controlled device is loaded;
According to selecting to indicate, the page corresponding with controlled device is opened.
In a preferred version of the present embodiment, as shown in Fig. 2 for first embodiment of the invention provide it is a kind of controlled
The step of synchronous method of status information of equipment S2 particular flow sheet, above-mentioned steps S2 specifically include:
Step S21, mobile terminal receive the operation instruction of user, and the operation instruction for being received is sent to controlled setting
It is standby;
When user controls controlled device by the mobile terminal, operated on the page of mobile terminal, input sets
Put parameter or change the pattern of controlled device, after mobile terminal receives the operation instruction, the operation instruction is issued into controlled
Equipment, in a deformation program, the operation instruction also can be issued cloud server by mobile terminal, be sent out by the cloud server
Give controlled device.
Step S22, the state change message for receiving the controlled device that cloud server sends, the state change message
Change the state of itself based on the operation instruction by the controlled device, and state change message is fed back to into cloud service
Device;
Specifically, after controlled device receives operation instruction, change the state of itself, with, example corresponding with the operation instruction
Such as when controlled device is air-conditioning, which is current in off-mode, and the operation instruction is when being refrigeration mode, and air-conditioning is by work
Pattern is changed to refrigeration mode, and (concrete manifestation form can be by state change message:Present mode is refrigeration mode or by closing
Machine state is changed to refrigeration mode) cloud server is sent to, after cloud server receives state change message, store it in
In cloud database, and the state change message is sent to into mobile terminal.
Step S23, the status information of the state change message for being received and local data library storage is compared;
Specifically, the status information of the state change message for being received and local data library storage is compared and examines,
When state change message is with the status information accordance for being stored, the status information of the last time of the air-conditioning for for example storing is refrigeration
Pattern, and state change message is also refrigeration mode, then it represents that status information accordance twice, then without the need for the modification caching page, i.e.,
Refresh activity is not carried out to caching the page.When state change message is inconsistent with the status information for being stored, step is gone to
S24;
Step S24, based on the state change message flush buffers page, realize the synchronization of controlled device status information.
Specifically, when the two is inconsistent, based on the state change message flush buffers page, will state change message replace
For the information of the current caching page, the air-conditioning work pattern that for example the caching page shows is heating mode, and state change letter
Cease for refrigeration mode, then the air-conditioning work pattern that the caching page shows be changed to into refrigeration mode, now cloud server, controlled set
The current status information accordance of controlled device that standby and mobile terminal shows, that is, realize the status information synchronization of three.
In the further preferred scheme of the present embodiment, may also include before above-mentioned steps S22:
Step S25, judge whether state change message is received in Preset Time;
Mobile terminal receives the operation instruction of user, and after operation instruction is issued controlled device, waits high in the clouds clothes
The state change message that business device sends, if when Preset Time is not received by the state change message, going to step S26;
When state change message being received in Preset Time, go to step S22.The Preset Time can be set according to practical situation, example
It is such as 5S, 6S or other numerical value, herein this is not restricted.
It should be noted that in the present embodiment, after mobile terminal receives user operation instruction, operation instruction is issued
The feedback of controlled device state change message after controlled device, is being waited always, but there may come a time when that the reasons such as network fail into
Work(is received, if receiving in Preset Time, is gone to step S22 and is received the state change message, failing to receiving then
Go to step S26.
In a deformation program of the present embodiment, if judge to receive the state change message in Preset Time,
Step S23 is passed directly to, and without the need for this flow process of step S22.
Step S26, the status information based on the last time refresh the current caching page.
After the operation instruction that mobile terminal receives user, operation instruction is sent to into controlled device, can also change right
The data of the page should be cached, with corresponding with operation instruction, but when mobile terminal is with controlled device networking failure, controlled device reality
Do not receive the operation instruction on border, the state of controlled device do not change (i.e. controlled device will not send state change message to
Cloud server), and now the state of the caching page of mobile terminal is altered, then need by judging whether to receive cloud
The state change message of end server receives operation instruction and change state confirming controlled device, it is to avoid operation failure.And
In the case of operation failure, need to change the data for caching the page to ensure mobile terminal, controlled device and cloud server
The synchronization of the status information between three, that is, need (to cache the page to move back by the state that the data of the caching page are changed to the last time
Before returning to the operation instruction of receive user), with synchronous with controlled device hold mode information.Sentenced by waiting Preset Time
Whether the disconnected state change message for whether receiving cloud server transmission fails to confirm to operate, to be further ensured that state is believed
The synchronicity of breath.
In another preferred version of the present embodiment, above-mentioned steps S2 are specially:
The state change message of the controlled device of cloud server transmission is received, refreshes slow based on the change information for receiving
Deposit the page;
Specifically, the mobile terminal more than one of controlled device can be controlled, and except controlling quilt using mobile terminal
Beyond control equipment, other control devices, such as remote control etc. are can also be, can also be controlled manually.
Preferably, the state change message is user based on other equipment to produced by the operation of the controlled device, quilt
Produced state change message is fed back to cloud server by control equipment, the other equipment be remove mobile terminal beyond can
For controlling the control device (such as remote control or other mobile terminal) of the controlled device.
Again preferably, the state change message be user manually to produced by the operation of controlled device, controlled device is by institute
The state change message of generation feeds back to cloud server.
In the present embodiment, mobile terminal, cloud server and controlled device carry out network connection, and the state of controlled device changes
After change, state change message can be sent to cloud server, the state change message of reception is sent to movement by cloud server
Terminal, mobile terminal realize cloud server, controlled device and movement based on the state change message flush buffers page for receiving
The status information synchronization of terminal three, no matter the last time operates with any instrument or is operated by other people, can be current
See the status information of last time, bring advantage to the user, improve Consumer's Experience.
Further, since in local data base buffer status data, mobile terminal only needs to access local database, net is reduced
Network is born.
Furthermore, when controlled device is operated using mobile terminal, mobile terminal needs the confirmation to be after the flush buffers page
The no state change message for receiving cloud server feedback, is further ensured that the synchronization of status information.
Embodiment two:
Fig. 3 shows a kind of structure of the synchronization system of controlled device status information that second embodiment of the invention is provided
Figure, including:Pull 1, and the synchronization module 2 for pulling the connection of module 1, wherein:
Module 1 being pulled, the caching page being pulled for mobile terminal, the caching page after pulling is stored in local data base,
The caching page face includes the status information of the last storage of controlled device;
Specifically, mobile terminal pulls the caching page automatically, and the caching page after pulling is stored in local data base, its
In, the caching page face includes the status information of correspondence controlled device newest (i.e. the last storage), and the status information can
When use state including controlled device etc., such as controlled device are air-conditioning, status information may include residing pattern, the pattern
Under corresponding running parameter, such as temperature, humidity etc. are not restricted to this herein.
It should be noted that the mobile terminal can be the terminal of any controllable controlled device, such as mobile phone, flat board
Deng not being restricted to this herein.The controlled device intelligent home device, such as TV, air-conditioning, washing machine etc., herein equally
This is not restricted.In addition, being now the normal shape of network connection between mobile terminal, cloud server and controlled device three
State.
Synchronization module 2, for receiving controlled device state change message, based on the change information flush buffers page for receiving
Face, the change information feed back to cloud server by the controlled device, and are transferred to the shifting by the cloud server
Dynamic terminal, realizes the synchronization of controlled device status information;
Specifically, mobile terminal monitor in real time receives controlled device state change message, believes when the state change is received
During breath, the caching page is refreshed based on the state change message, wherein, the change information feeds back to cloud by corresponding controlled device
The change information Store for receiving in cache database, and the change information is sent to by end server, the cloud server
Mobile terminal, to realize the synchronization of the status information of mobile terminal, cloud server and controlled device three storage.
In a preferred version of the present invention, the synchronization system also includes:
Load-on module 01, for loading page;
Acquisition module 02, obtains the shape of the last time of the controlled device for the cache database from cloud server
State information;
In further preferred scheme, may also include:
OPEN receiver module 03, for the opening control page instruction of receive user;
Starting module 04, for based on the instruction unpack control page for being received, the control page includes a control list,
The control list includes at least one controlled device, and such as control list includes that air-conditioning, washing machine, electric refrigerator etc. are controlled and sets
Standby option, when user needs to control one of those, it is only necessary to the option point of the controlled device is selected on the control page
Hit;
Select to indicate receiver module 05, the selection for receive user is indicated, select instruction to include that user selects controlled
The option of equipment;
Specifically, above-mentioned load-on module 01 is specifically for based on selecting to indicate, loading the page corresponding with controlled device, i.e.,
According to selecting to indicate, the page corresponding with controlled device is opened.
In a preferred version of the present embodiment, as shown in figure 4, for first embodiment of the invention provide it is a kind of controlled
The concrete structure diagram of the synchronization module 2 of the synchronization system of status information of equipment, the synchronization module 2 are specifically included:Transmit-Receive Unit 21,
The state change message receiving unit 22 that is connected with Transmit-Receive Unit 21, and connection comparing unit 23, and comparing unit 23 connect
Lock unit 24, wherein:
The operation instruction for being received, for the operation instruction of receive user, is sent to controlled device by Transmit-Receive Unit 21;
When user controls controlled device by the mobile terminal, operated on the page of mobile terminal, input sets
Put parameter or change controlled device pattern, after Transmit-Receive Unit 21 receives the operation instruction, by the operation instruction issue by
Control equipment, in a deformation program, the operation instruction also can be issued cloud server by mobile terminal, by the cloud server
It is sent to controlled device.
State change message receiving unit 22, for receiving the state change letter of the controlled device of cloud server transmission
Breath, the state change message is changed the state of itself by controlled device based on operation instruction, and state change message is fed back to
Cloud server;
Specifically, after controlled device receives operation instruction, change the state of itself, with, example corresponding with the operation instruction
Such as when controlled device is air-conditioning, which is current in off-mode, and the operation instruction is when being refrigeration mode, and air-conditioning is by work
Pattern is changed to refrigeration mode, and (concrete manifestation form can be by state change message:Present mode is refrigeration mode or by closing
Machine state is changed to refrigeration mode) cloud server is sent to, after cloud server receives state change message, store it in
In cloud database, and the state change message is sent to into mobile terminal.
Comparing unit 23, is compared for the status information by the state change message for being received with local data library storage
It is right;
Specifically, the status information of the state change message for being received and local data library storage is compared and examines,
When state change message is with the status information accordance for being stored, the status information of the last time of the air-conditioning for for example storing is refrigeration
Pattern, and state change message is also refrigeration mode, then it represents that status information accordance twice, then without the need for the modification caching page, i.e.,
Refresh activity is not carried out to caching the page.When state change message is inconsistent with the status information for being stored, synchronization is fed back to
Unit 24.
Lock unit 24, for based on the state change message flush buffers page, realizing the same of controlled device status information
Step.
Specifically, when the two is inconsistent, based on the state change message flush buffers page, will state change message replace
For the information of the current caching page, the air-conditioning work pattern that for example the caching page shows is heating mode, and state change letter
Cease for refrigeration mode, then the air-conditioning work pattern that the caching page shows be changed to into refrigeration mode, now cloud server, controlled set
The current status information accordance of controlled device that standby and mobile terminal shows, that is, realize the status information synchronization of three.
In the further preferred scheme of the present embodiment, the synchronization system may also include:With sentencing that Transmit-Receive Unit 21 is connected
Disconnected unit 25, wherein:
Judging unit 25, for judging whether receive state change message in Preset Time;
Mobile terminal receives the operation instruction of user, and after operation instruction is issued controlled device, waits high in the clouds clothes
The state change message that business device sends, if when Preset Time is not received by the state change message, feeding back to refreshing single
Unit 24, otherwise feeds back to state change message receiving unit 22.Wherein the Preset Time can be set according to practical situation, for example,
5S, 6S or other numerical value, are not restricted to this herein.
It should be noted that in the present embodiment, after mobile terminal receives user operation instruction, operation instruction is issued
The feedback of controlled device state change message after controlled device, is being waited always, but there may come a time when that the reasons such as network fail into
Work(is received, if receiving in Preset Time, feeds back to state change message receiving unit 22, is received the state change and is believed
Breath, failing to receiving, feeds back to refresh unit 24.
In a deformation program of the present embodiment, if judge to receive the state change message in Preset Time,
It is fed directly to comparing unit 23.
Above-mentioned refresh unit 24 is additionally operable to refresh the current caching page based on the last status information.
After the operation instruction that mobile terminal receives user, operation instruction is sent to into controlled device, can also change right
The data of the page should be cached, with corresponding with operation instruction, but when mobile terminal is with controlled device networking failure, controlled device reality
Do not receive the operation instruction on border, the state of controlled device do not change (i.e. controlled device will not send state change message to
Cloud server), and now the state of the caching page of mobile terminal is altered, then need by judging whether to receive cloud
The state change message of end server receives operation instruction and change state confirming controlled device, it is to avoid operation failure.And
In the case of operation failure, need to change the data for caching the page to ensure mobile terminal, controlled device and cloud server
The synchronization of the status information between three, that is, need (to cache the page to move back by the state that the data of the caching page are changed to the last time
Before returning to the operation instruction of receive user), with synchronous with controlled device hold mode information.Sentenced by waiting Preset Time
Whether the disconnected state change message for whether receiving cloud server transmission fails to confirm to operate, to be further ensured that state is believed
The synchronicity of breath.
In another preferred version of the present embodiment, the synchronization module 2 specifically for:
The state change message of the controlled device that cloud server sends is received, based on the change information flush buffers for receiving
The page;
Specifically, the mobile terminal more than one of controlled device can be controlled, and except controlling quilt using mobile terminal
Beyond control equipment, other control devices, such as remote control etc. are can also be, can also be controlled manually.
Preferably, the state change message is user based on other equipment to produced by the operation of the controlled device, quilt
Produced state change message is fed back to cloud server by control equipment, the other equipment be remove mobile terminal beyond can
For controlling the control device (such as remote control or other mobile terminal) of the controlled device.
Again preferably, the state change message be user manually to produced by the operation of controlled device, controlled device is by institute
The state change message of generation feeds back to cloud server.
In the present embodiment, mobile terminal, cloud server and controlled device carry out network connection, and the state of controlled device changes
After change, state change message can be sent to cloud server, the state change message of reception is sent to movement by cloud server
Terminal, mobile terminal realize cloud server, controlled device and movement based on the state change message flush buffers page for receiving
The status information synchronization of terminal three, no matter the last time operates with any instrument or is operated by other people, can be current
See the status information of last time, bring advantage to the user, improve Consumer's Experience.
Further, since in local data base buffer status data, mobile terminal only needs to access local database, net is reduced
Network is born.
Furthermore, when controlled device is operated using mobile terminal, mobile terminal needs the confirmation to be after the flush buffers page
The no state change message for receiving cloud server feedback, is further ensured that the synchronization of status information.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.
Professional and technical personnel can use different methods to the described function of realization to each specific application, but
This realization is it is not considered that beyond the scope of this invention.The above, specific embodiment only of the invention, but the present invention
Protection domain is not limited thereto, any those familiar with the art the invention discloses technical scope in, can
Change or replacement are readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be described
It is defined by scope of the claims.
Claims (10)
1. a kind of synchronous method of controlled device status information, it is characterised in that include:
Mobile terminal pulls the caching page, and the caching page after pulling is stored in local data base, the caching page face include by
The status information of the last storage of control equipment;
Controlled device state change message is received, the caching page, the change information are refreshed based on the change information for receiving
Fed back by the controlled device, realize the synchronization of controlled device status information.
2. synchronous method according to claim 1, it is characterised in that mobile terminal pulls the caching page, will cache the page
Also include before being stored in local data base:
Loading page;
The status information of the last storage of the controlled device is obtained from the cache database of cloud server.
3. synchronous method according to claim 2, it is characterised in that also include before the loading page:
The opening control page instruction of receive user;
Based on the instruction unpack control page for being received, the control page includes a control list, and the control list includes
The option of at least one controlled device;
The selection of receive user is indicated, described to select instruction to include the controlled device that user selects;
The loading page is specially:
Select to indicate based on described, load the page corresponding with the controlled device.
4. synchronous method according to claim 1, it is characterised in that described to receive controlled device state change message,
Based on the change information refresh page for receiving, the change information is fed back by the controlled device, realizes that controlled device state is believed
The synchronization of breath is specially:
Mobile terminal receives the operation instruction of user, and the operation instruction for being received is sent to the controlled device;
The state change message of the controlled device that the cloud server sends is received, the change information is by the quilt
Control equipment changes the state of itself based on the operation instruction, and state change message is fed back to cloud server;
Status information of the state change message for being received with the local data library storage is compared;
When the state change message for being received is inconsistent with the status information of the local data library storage, based on the state
Change information refreshes the caching page, realizes the synchronization of controlled device status information.
5. player method according to claim 4, it is characterised in that it is described that the reception cloud server sends
The state change message of controlled device, the change information are changed the shape of itself by the controlled device based on the operation instruction
State, and also include before state change message is fed back to cloud server:
Judge the state change message whether is received in Preset Time;
Status information when the state change message is not received in the Preset Time, based on the last storage
Refresh the current caching page;
When the state change message is received in the Preset Time, go to the state change message that will be received with it is described
The step of status information of local data library storage is compared.
6. player method according to claim 1, it is characterised in that receive controlled device state change message, be based on
The change information refresh page of reception, the change information are fed back by the controlled device, realize controlled device status information
Synchronously it is specially:
The state change message of the controlled device that cloud server sends is received, is refreshed based on the state change message for receiving
The caching page, the state change message are user based on other equipment to produced by the operation of the controlled device, and by institute
The state change message of generation feeds back to the cloud server, the other equipment be remove beyond the mobile terminal can
For controlling the control device of the controlled device.
7. player method according to claim 1, it is characterised in that receive controlled device state change message, be based on
The change information refresh page of reception, the change information are fed back by the controlled device, realize controlled device status information
Synchronously it is specially:
The state change message of the controlled device that cloud server sends is received, is refreshed based on the state change message for receiving
The caching page, the state change message be user manually to produced by the operation of the controlled device, and controlled set by described
It is standby that produced state change message is fed back to into the cloud server.
8. a kind of synchronization system of controlled device status information, it is characterised in that include:
Module being pulled, the caching page being pulled for mobile terminal, the caching page after pulling is stored in local data base, described slow
Depositing the page includes the status information of the last storage of controlled device;
Synchronization module, for receiving controlled device state change message, based on the change information refresh page for receiving, the change
Information is fed back by the controlled device.
9. according to synchronization system as claimed in claim 8, it is characterised in that the synchronization module is specifically included:
The operation instruction for being received, for receiving the operation instruction of user, is sent to the quilt by operation instruction Transmit-Receive Unit
Control equipment;
Receiving unit, for receiving the state change message of the controlled device of cloud server transmission, the change information
Change the state of itself based on the operation instruction by the controlled device, and state change message is fed back to into cloud service
Device;
Comparing unit, status information of the state change message for being received with the local data library storage is compared;
Lock unit, it is inconsistent with the status information of the local data library storage for working as received state change message
When, the caching page is refreshed based on the state change message, the synchronization of controlled device status information is realized.
10. a kind of mobile terminal, it is characterised in that including a kind of controlled device status information as claimed in claim 8 or 9
Synchronization system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611254076.2A CN106603706A (en) | 2016-12-29 | 2016-12-29 | Synchronization method and synchronization system of controlled equipment state information, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611254076.2A CN106603706A (en) | 2016-12-29 | 2016-12-29 | Synchronization method and synchronization system of controlled equipment state information, and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106603706A true CN106603706A (en) | 2017-04-26 |
Family
ID=58581392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611254076.2A Pending CN106603706A (en) | 2016-12-29 | 2016-12-29 | Synchronization method and synchronization system of controlled equipment state information, and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106603706A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395335A (en) * | 2017-07-26 | 2017-11-24 | 广州小鹏汽车科技有限公司 | UI state synchronization methods and equipment when a kind of terminal room mutually controls |
CN107749814A (en) * | 2017-10-25 | 2018-03-02 | 海信集团有限公司 | Running state data update method, device and the terminal of equipment |
CN110597909A (en) * | 2019-09-12 | 2019-12-20 | 广州南翼信息科技有限公司 | Method for keeping state consistency of client and multi-terminal equipment |
CN110824993A (en) * | 2019-11-18 | 2020-02-21 | 珠海格力电器股份有限公司 | Equipment display control method and controller |
CN110874380A (en) * | 2018-08-14 | 2020-03-10 | 山东华软金盾软件股份有限公司 | Method and system for refreshing interface based on mobile terminal database |
CN114785766A (en) * | 2022-04-29 | 2022-07-22 | 青岛海信智慧生活科技股份有限公司 | Control method of intelligent equipment, terminal and server |
WO2023010918A1 (en) * | 2021-08-02 | 2023-02-09 | 中兴通讯股份有限公司 | Information processing method, terminal device, cloud server, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880132A (en) * | 2012-09-18 | 2013-01-16 | 广东志高空调有限公司 | Cloud diagnosis method for cloud air conditioner |
US20140082177A1 (en) * | 2012-09-15 | 2014-03-20 | Honeywell International Inc. | Asynchronous reporting system |
CN104949264A (en) * | 2015-05-29 | 2015-09-30 | 广东美的制冷设备有限公司 | Air conditioner, air conditioner system and intelligent terminals |
CN105005201A (en) * | 2015-06-04 | 2015-10-28 | 广东康宝电器股份有限公司 | Multi-mobile-terminal data synchronization and push system for intelligent household |
CN105072003A (en) * | 2015-07-31 | 2015-11-18 | 深圳广田智能科技有限公司 | Synchronous control system and method of smart home mode |
CN105093945A (en) * | 2015-06-09 | 2015-11-25 | 北京京东尚科信息技术有限公司 | System and method for safely controlling smart household apparatuses based on smart cloud |
CN105159099A (en) * | 2015-07-14 | 2015-12-16 | 广东美的制冷设备有限公司 | Home appliance control system and control method |
-
2016
- 2016-12-29 CN CN201611254076.2A patent/CN106603706A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140082177A1 (en) * | 2012-09-15 | 2014-03-20 | Honeywell International Inc. | Asynchronous reporting system |
CN102880132A (en) * | 2012-09-18 | 2013-01-16 | 广东志高空调有限公司 | Cloud diagnosis method for cloud air conditioner |
CN104949264A (en) * | 2015-05-29 | 2015-09-30 | 广东美的制冷设备有限公司 | Air conditioner, air conditioner system and intelligent terminals |
CN105005201A (en) * | 2015-06-04 | 2015-10-28 | 广东康宝电器股份有限公司 | Multi-mobile-terminal data synchronization and push system for intelligent household |
CN105093945A (en) * | 2015-06-09 | 2015-11-25 | 北京京东尚科信息技术有限公司 | System and method for safely controlling smart household apparatuses based on smart cloud |
CN105159099A (en) * | 2015-07-14 | 2015-12-16 | 广东美的制冷设备有限公司 | Home appliance control system and control method |
CN105072003A (en) * | 2015-07-31 | 2015-11-18 | 深圳广田智能科技有限公司 | Synchronous control system and method of smart home mode |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395335A (en) * | 2017-07-26 | 2017-11-24 | 广州小鹏汽车科技有限公司 | UI state synchronization methods and equipment when a kind of terminal room mutually controls |
CN107395335B (en) * | 2017-07-26 | 2020-09-11 | 广州小鹏汽车科技有限公司 | Method and equipment for synchronizing UI (user interface) states during mutual control between terminals |
CN107749814A (en) * | 2017-10-25 | 2018-03-02 | 海信集团有限公司 | Running state data update method, device and the terminal of equipment |
CN110874380A (en) * | 2018-08-14 | 2020-03-10 | 山东华软金盾软件股份有限公司 | Method and system for refreshing interface based on mobile terminal database |
CN110597909A (en) * | 2019-09-12 | 2019-12-20 | 广州南翼信息科技有限公司 | Method for keeping state consistency of client and multi-terminal equipment |
CN110597909B (en) * | 2019-09-12 | 2023-03-14 | 广州南翼信息科技有限公司 | Method for keeping state consistency of client and multi-terminal equipment |
CN110824993A (en) * | 2019-11-18 | 2020-02-21 | 珠海格力电器股份有限公司 | Equipment display control method and controller |
WO2023010918A1 (en) * | 2021-08-02 | 2023-02-09 | 中兴通讯股份有限公司 | Information processing method, terminal device, cloud server, and storage medium |
CN114785766A (en) * | 2022-04-29 | 2022-07-22 | 青岛海信智慧生活科技股份有限公司 | Control method of intelligent equipment, terminal and server |
CN114785766B (en) * | 2022-04-29 | 2023-10-24 | 青岛海信智慧生活科技股份有限公司 | Control method, terminal and server of intelligent equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106603706A (en) | Synchronization method and synchronization system of controlled equipment state information, and mobile terminal | |
US10218745B2 (en) | Smart home system using portable device | |
WO2021196638A1 (en) | Household appliance control method and apparatus, and computer storage medium | |
US20150133049A1 (en) | Method and apparatus for downloading content using nfc | |
EP2772011B1 (en) | System and method for controlling an electronic device | |
CN102119581A (en) | Updating scenes in remote controllers of a home control system | |
CN103237069A (en) | Intelligent wireless household appliance controlling system and intelligent wireless household appliance controlling method | |
JPH11512206A (en) | Method for controlling a device on a network and equipment therefor | |
CN106713088A (en) | Method and system for controlling intelligent home equipment based on double mqtt servers | |
WO2002101628A1 (en) | Home networking communication system and method for communicating using the same | |
JP2004531172A (en) | Integrated remote controller device and control method therefor | |
US7319394B2 (en) | Techniques to configure a remote control | |
CN105487387B (en) | Intelligent household control method and device | |
JP2004258809A (en) | Middleware for information appliance network | |
CN106856433A (en) | Equipment awakening method, device and system | |
CN109059178A (en) | Control method, device, air conditioner and the computer readable storage medium of air conditioner | |
CN110794773A (en) | Click-type scene creating method and device | |
CN112684713B (en) | Response system and implementation method of scene application, grouping and control method of equipment | |
US20020083151A1 (en) | System and method for database access and management | |
CN112180753B (en) | Smart home control method, system and server | |
CN106848772B (en) | Intelligent socket, socket controller, control method and system | |
CN101193018A (en) | Network household appliance system | |
CN112019409A (en) | Equipment distribution network processing method, equipment distribution network processing device and electronic equipment | |
CN113132191A (en) | Voice control method of intelligent device, intelligent device and storage medium | |
CN101356766A (en) | Method and apparatus for reserving function of UPnP device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |
|
RJ01 | Rejection of invention patent application after publication |