CN107872490A - Intelligent electric appliance and the method that service data consistence is realized between high in the clouds at it - Google Patents

Intelligent electric appliance and the method that service data consistence is realized between high in the clouds at it Download PDF

Info

Publication number
CN107872490A
CN107872490A CN201610858810.XA CN201610858810A CN107872490A CN 107872490 A CN107872490 A CN 107872490A CN 201610858810 A CN201610858810 A CN 201610858810A CN 107872490 A CN107872490 A CN 107872490A
Authority
CN
China
Prior art keywords
clouds
electric appliance
intelligent electric
business datum
data
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.)
Granted
Application number
CN201610858810.XA
Other languages
Chinese (zh)
Other versions
CN107872490B (en
Inventor
苟健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610858810.XA priority Critical patent/CN107872490B/en
Publication of CN107872490A publication Critical patent/CN107872490A/en
Application granted granted Critical
Publication of CN107872490B publication Critical patent/CN107872490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of intelligent electric appliance and the method that service data consistence is realized between high in the clouds at it, can realize the uniformity of intelligent electric appliance and high in the clouds data, i.e. user is either finally consistent at intelligent electric appliance end or high in the clouds to hardware setting, two end datas.The method that service data consistence is realized between intelligent electric appliance and high in the clouds of the present invention, including:When intelligent electric appliance is connected with high in the clouds, the intelligent electric appliance sends the snapshot of the business datum preserved to high in the clouds, high in the clouds is snapshot to judge uniformity compared with the high in the clouds business datum, when the data source and all identical version number of snapshot and the high in the clouds business datum, then data are consistent, source is identical and version number is different, then intelligent electric appliance and the current service data of high in the clouds alternative one update the business datum of other one corresponding to the data source, when source is different, then use the business datum of the other one of service data updating of version number's the greater of the middle current service data in both intelligent electric appliance and high in the clouds.

Description

Intelligent electric appliance and the method that service data consistence is realized between high in the clouds at it
Technical field
The present invention relates to computer and its software technology field, and particularly one kind is real between intelligent electric appliance and high in the clouds The method of existing service data consistence and the intelligent electric appliance that service data consistence is kept with high in the clouds.
Background technology
There can be hardware in modern Intelligent hardware system, Intelligent hardware data (such as equipment state, business datum) (to set It is standby) end, while can also be stored in intelligent high in the clouds (service end), so that user (i.e. suspension, is not connected) in equipment off-line with high in the clouds When use such data.For example, user may set the menu of an intelligent microwave oven by cell phone application (application program), The menu data can be sent to high in the clouds first, and then the menu data is sent to smart machine (hardware end) by high in the clouds, simultaneously High in the clouds can store these data.In addition, user can also directly set such business datum on smart machine, then will set Business datum report to high in the clouds, user then can check and safeguard these business datums (such as menu data) in cell phone application.
The problem of usage scenario above will propose Distributed Storage, i.e. high in the clouds and smart machine end data are not The problem of consistent.For example, user is provided with business datum beyond the clouds, and business datum is issued on smart machine by high in the clouds, Smart machine receives successfully, but responds to overtime during high in the clouds, then, high in the clouds is notified that user service data is issued to smart machine End failure, user may recall this operation, and correspondingly, high in the clouds will also abandon this business datum, but now intelligent Equipment has saved this business datum, and so, high in the clouds and the end data of smart machine end two are with regard to inconsistent.
Under normal circumstances, due to the complexity of Intelligent hardware network environment, it is easy to which the system distributed data of causing differs Cause.Current technology scheme does not support the data syn-chronization at two ends typically, and usual data are defined by hardware end (smart machine end), cloud A storing data backup is held, or equipment snapshot is pulled from hardware end (smart machine end).Due to high in the clouds and the end of smart machine end two Data it is asynchronous so that Consumer's Experience is poor.
The content of the invention
In view of this, the present invention provide a kind of method that service data consistence is realized between intelligent electric appliance and high in the clouds with And the intelligent electric appliance of service data consistence is kept with high in the clouds, the uniformity of intelligent electric appliance and high in the clouds data, i.e. user can be realized Business datum either in the setting of intelligent electric appliance end or high in the clouds (passing through cell phone application) to hardware, two ends can finally protect Hold consistent.
To achieve the above object, according to an aspect of the invention, there is provided one kind is real between intelligent electric appliance and high in the clouds The method of existing service data consistence.
A kind of method that service data consistence is realized between intelligent electric appliance and high in the clouds, the business datum include data Content, data source and version number, methods described include:When user sets or updated business datum, the intelligence in intelligent electric appliance Electrical equipment performs following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data are come Source is set to intelligent electric appliance, and preserves and set or the business datum of renewal, when user sets or update business datum beyond the clouds, this High in the clouds performs following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data are come Source is set to high in the clouds, and the data for setting or updating are sent to the intelligent electric appliance, wherein when sending successfully, the intelligence electricity Device receives and preserved the business datum for setting or updating, and when the intelligent electric appliance is connected with the high in the clouds, the intelligent electric appliance is pressed The snapshot of the business datum preserved according to the frequency of setting to high in the clouds transmission, the snapshot include what the intelligent electric appliance preserved The data source of business datum and version number, the high in the clouds is the snapshot of reception compared with the business datum that the high in the clouds stores To judge uniformity, wherein when the data source and version number of the snapshot of reception and the business datum of high in the clouds storage are all identical When, then judge that data are consistent, when data source is identical and version number is different, then the intelligent electric appliance corresponding to the data source The business datum of other one is updated with the current service data of the high in the clouds alternative one, when data source difference, then uses institute State the other one of service data updating of version number's the greater of the current service data in both intelligent electric appliance and the high in the clouds Business datum.
Alternatively, the user, the intelligent electric appliance and the high in the clouds communicate in a wired or wireless fashion each other.
Alternatively, the user by intelligent electric appliance described in access to the Internet or the high in the clouds and is set using client device Put or update business datum.
Alternatively, the user sets or updated business datum using cell phone application in the intelligent electric appliance or the high in the clouds.
Alternatively, the user sets or updated business datum on the input unit of the intelligent electric appliance.
Alternatively, when the high in the clouds set or renewal data be sent to the intelligent electric appliance when, such as send it is unsuccessful, The high in the clouds carries out data rewind.
According to another aspect of the present invention, there is provided a kind of intelligent electric appliance that service data consistence is kept with high in the clouds.
A kind of intelligent electric appliance that service data consistence is kept with high in the clouds, the business datum includes data content, data are come Source and version number, the intelligent electric appliance include:Input unit, for receiving user's input;Communicator, for realize with it is described High in the clouds and the communication connection of user;Storage device, for storing the business datum;Processing unit;Wherein, when user passes through institute State input unit or communication connection to set in the intelligent electric appliance or update business datum, then the processing unit performs following dynamic Make:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data source is set to intelligent electric appliance, And setting or the business datum of renewal is stored in the storage device, wherein, when user is set or more new business beyond the clouds Data, the high in the clouds perform following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, Data source is set to high in the clouds and the data for setting or updating is sent to the intelligent electric appliance, wherein when sending successfully, it is described Intelligent electric appliance receives and preserved the business datum for setting or updating, when the intelligent electric appliance has communication connection with the high in the clouds, The processing unit sends the snapshot of the business datum preserved according to the frequency of setting to the high in the clouds, and the snapshot includes described The data source for the business datum that intelligent electric appliance preserves and version number, wherein, the high in the clouds deposits the snapshot of reception with the high in the clouds The business datum of storage is compared to judge uniformity, wherein when the snapshot and the data of the business datum of high in the clouds storage of reception When source and all identical version number, then judge that data are consistent, when data source is identical and version number is different, then with the data source The corresponding intelligent electric appliance and the current service data of the high in the clouds alternative one update the business datum of other one, work as number It is different according to source, then with the business of version number's the greater of the current service data in both the intelligent electric appliance and the high in the clouds Data update the business datum of other one.
Alternatively, the communicator is used to realize the wired or wireless communication with the high in the clouds and user.
Alternatively, the user by intelligent electric appliance described in access to the Internet or the high in the clouds and is set using client device Put or update business datum.
Alternatively, the user sets or updated business datum using cell phone application in the intelligent electric appliance or the high in the clouds.
Alternatively, the input unit sets or updated business datum for user on the intelligent electric appliance.
Alternatively, when the high in the clouds set or renewal data be sent to the intelligent electric appliance when, such as send it is unsuccessful, The high in the clouds carries out data rewind.
Technique according to the invention scheme, when user is set in intelligent electric appliance or updates business datum, the intelligent electric appliance is held The following action of row:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data source is set to Intelligent electric appliance, and the business datum for setting or updating is preserved, when user sets or updated business datum beyond the clouds, the high in the clouds is held The following action of row:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data source is set to High in the clouds, and the data for setting or updating are sent to intelligent electric appliance, wherein when sending successfully, intelligent electric appliance is received and preserved and sets The business datum put or updated, when intelligent electric appliance is connected with high in the clouds, the intelligent electric appliance is sent according to the frequency of setting to high in the clouds The snapshot of the business datum of preservation, snapshot include data source and the version number of the business datum that intelligent electric appliance preserves, high in the clouds handle The snapshot of reception compared with the business datum that the high in the clouds stores to judge uniformity, wherein when snapshot and the high in the clouds of reception When the data source of the business datum of storage and all identical version number, then judge that data are consistent, when data source is identical and version Number difference, then intelligent electric appliance and the current service data of high in the clouds alternative one update other one corresponding to the data source Business datum, when data source difference, then with version number's the greater of the current service data in both intelligent electric appliance and high in the clouds The other one of service data updating business datum.Using technical scheme, intelligent electric appliance and high in the clouds can be realized The uniformity of data, i.e. user are either in the setting of intelligent electric appliance end or high in the clouds (passing through cell phone application) to hardware, two ends Business datum can finally be consistent.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the method according to embodiments of the present invention that service data consistence is realized between intelligent electric appliance and high in the clouds Key step schematic diagram;
Fig. 2 is the data interaction schematic diagram between user terminal according to embodiments of the present invention, intelligent electric appliance end and high in the clouds;
Fig. 3 is that the main composition of the intelligent electric appliance according to embodiments of the present invention that service data consistence is kept with high in the clouds is illustrated Figure.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
Fig. 1 is the method according to embodiments of the present invention that service data consistence is realized between intelligent electric appliance and high in the clouds Key step schematic diagram.
The method that service data consistence is realized between intelligent electric appliance and high in the clouds according to embodiments of the present invention is mainly wrapped Step S11 is included to step S13.Wherein, business datum includes data content, data source and version number.
Step S11:When user sets or updated business datum in intelligent electric appliance, the intelligent electric appliance performs following action:Such as Fruit is initial setting up, then version number is arranged to 0, and version number is otherwise incremented by 1, data source is set to intelligent electric appliance, and Preserve the business datum for setting or updating.
Step S12:When user sets or updated business datum beyond the clouds, the high in the clouds performs following action:It is if initial Set, then version number is arranged to 0, version number is otherwise incremented by 1, data source is set to high in the clouds, and setting or renewal Data are sent to intelligent electric appliance, wherein when sending successfully, intelligent electric appliance receives and preserved the business datum for setting or updating.
Wherein, when high in the clouds is setting or when the data of renewal are sent to intelligent electric appliance, such as send unsuccessful, line number is entered in high in the clouds According to rollback.
Step S13:When intelligent electric appliance is connected with high in the clouds, the intelligent electric appliance sends to high in the clouds according to the frequency of setting and preserved Business datum snapshot, snapshot include intelligent electric appliance preserve business datum data source and version number, high in the clouds receive Snapshot compared with the business datum that the high in the clouds stores to judge uniformity.
Wherein, when the data source of the business datum stored when the snapshot of reception and the high in the clouds and all identical version number, then Judge that data are consistent, when data source is identical and version number is different, then intelligent electric appliance and high in the clouds two corresponding to the data source The current service data of one of person updates the business datum of other one, when data source difference, then with intelligent electric appliance and high in the clouds The business datum of the other one of service data updating of version number's the greater of the current service data in the two.
User, intelligent electric appliance and high in the clouds can communicate in a wired or wireless fashion each other.
User can utilize client device by access to the Internet intelligent electric appliance or high in the clouds and setting or update business datum, Specifically, user can utilize cell phone application to set or update business datum in intelligent electric appliance or high in the clouds.
User can also set or update business datum on the input unit of intelligent electric appliance.
Fig. 2 shows the data interaction schematic diagram between the user terminal of the embodiment of the present invention, intelligent electric appliance end and high in the clouds.Its In, user terminal can be cell phone application.Intelligent electric appliance can be the microwave with processing unit (processor) and with communication function The electrical equipment such as stove, refrigerator, washing machine, air-conditioning, electrically driven curtain.
Below according to the interaction schematic diagram shown in Fig. 2, the data interaction between user terminal, intelligent electric appliance end and high in the clouds is entered Row is introduced in detail.
User can set or update business datum beyond the clouds by user terminals such as cell phone applications, for example, user can be in mobile phone APP interfaces are set or renewal business datum, then upload to high in the clouds and are preserved.High in the clouds is in the business for setting or updating to user While data are preserved, data source is set to high in the clouds, and by the version number of high in the clouds business datum cumulative 1, specifically, cloud End can pre-set the initial value of a business datum version number, such as 0, will more when the business datum on high in the clouds has renewal The version number of business datum after new is cumulative 1 on the basis of original version number.Then, high in the clouds is by under the business datum after renewal Intelligent electric appliance end is dealt into, if high in the clouds issues data success, intelligent electric appliance end preserves and updates business datum, while will renewal The version number of own service data afterwards also adds up 1, if high in the clouds issues data failure, high in the clouds carries out data rewind, i.e. cloud End reverts to the business datum before renewal.For example, it is assumed that business datum is air-conditioner temperature data, the air-conditioning that current high in the clouds preserves Temperature is 20 degrees Celsius, and versions of data number is 1, when high in the clouds air-conditioner temperature is arranged to 30 degrees Celsius by user by APP etc., Then the air-conditioner temperature of high in the clouds storage is updated to 30 degrees Celsius, and version number is changed into 2, and high in the clouds issues the air-conditioner temperature number after renewal According to if issuing failure, high in the clouds carries out data rewind, i.e. the air-conditioner temperature of preservation is reverted into original 20 degrees Celsius, and It is original version number 1 that version number, which is replied,.The situation of failure is issued, can be high in the clouds because network reason does not arrive data distributing The situation at intelligent electric appliance end or high in the clouds are by data distributing to intelligent electric appliance end, and intelligent electric appliance end has succeeded more New data, but because of reasons such as network flash, high in the clouds does not receive the functional response of intelligent electric appliance end return, causes high in the clouds to think several According to the situation for issuing failure.
User can also directly operate intelligent electric appliance to set or update business datum, for example, user is directly in intelligent electricity Set on the input unit (such as guidance panel) of device or update business datum, and preserved.Intelligent electric appliance is set to user Or the business datum of renewal is while preserved, data source is set to intelligent electric appliance, and by intelligent electric appliance end business datum Version number cumulative 1, specifically, intelligent electric appliance can pre-set the initial value of a business datum version number, such as 0, work as intelligence When business datum in energy electrical equipment has renewal, the version number of the business datum after renewal is added up on the basis of original version number 1.Then, intelligent electric appliance will decide whether to report to high in the clouds according to the online situation (situation for establishing communication connection with high in the clouds) Business datum after renewal, if intelligent electric appliance is current online (establish and communicate to connect with high in the clouds), the industry is reported to high in the clouds Business data, otherwise, are reported again when waiting online.
Under certain conditions, such as high in the clouds issues data failure or the failure of intelligent electric appliance end reported data, then can cause Two end datas it is inconsistent, therefore, reporting mechanism based on data snapshot to solve two end datas between intelligent electric appliance end and high in the clouds Consistency problem.The mechanism does not pursue the strong consistency (i.e. the real-time consistencies of data) of two end datas, but is primarily upon In the weak consistency of data, i.e. as long as intelligent electric appliance is normally online, two end datas will ensure the final consistent of data.
The concrete methods of realizing that data snapshot reports mechanism is described in detail below.Establish and communicate with high in the clouds when intelligent electric appliance During connection, the snapshot of the business datum currently preserved is uploaded to high in the clouds by intelligent electric appliance, as long as also, intelligent electric appliance keep online (keeping communicating to connect with high in the clouds), also can regularly report the snapshot.Snapshot specifically includes the business datum of intelligent electric appliance preservation Data source and version number, include the particular content of business datum.Also, report snapshot can be with the frequency of setting Report, such as reported once every five minutes, the device attribute of the specific frequency and intelligent electric appliance reported itself is related, intelligent electric appliance End can be with self-defined.After high in the clouds receives the snapshot reported, by the snapshot compared with the business datum that the high in the clouds stores To judge the uniformity of two ends (intelligent electric appliance end and high in the clouds) data.Specifically, according to snapshot and the number of the business datum in high in the clouds Sequentially it is compared according to source and version number, when the data source and all identical version number of snapshot and the business datum in high in the clouds, Then judge that two end datas are consistent.When data source is identical and during version number's difference, then the business datum by data source is defined, That is, if business datum all derives from high in the clouds, high in the clouds issues the business datum of preservation to intelligent electric appliance again, so as to intelligent electricity The service data updating of itself is consistent with high in the clouds by device, if business datum all derives from intelligent electric appliance, high in the clouds is according to fast Data according in update the business datum of itself, so as to consistent with intelligent electric appliance end data.When data source difference, then compare The version number of the business datum in snapshot and high in the clouds, and version number's the higher person is defined among the two, i.e. if the business in snapshot Versions of data number is higher, then updates high in the clouds business datum, otherwise, high in the clouds issues data to intelligent electric appliance, so as in intelligent electric appliance Service data updating be the data consistent with high in the clouds.
Fig. 3 is that the main composition of the intelligent electric appliance according to embodiments of the present invention that service data consistence is kept with high in the clouds is illustrated Figure.Wherein, business datum includes data content, data source and version number.
As shown in figure 3, the embodiment of the present invention keeps the intelligent electric appliance 30 of service data consistence mainly to include with high in the clouds:It is defeated Enter device 31, communicator 32, storage device 33, processing unit 34.
Wherein, input unit 31 is used to receive user's input;Communicator 32 is used to realize the communication with high in the clouds and user Connection;Storage device 33 is used for storage service data.Also, as user by input unit 31 or communication connection in the intelligence electricity Device 30 sets or updated business datum, then processing unit 34 performs following action:If initial setting up, then version number is set For 0, version number is otherwise incremented by 1, data source is set to intelligent electric appliance 30, and setting or the business datum of renewal preserves In storage device 33, wherein, when user sets or updated business datum beyond the clouds, the high in the clouds performs following action:If just Begin set, then version number is arranged to 0, otherwise version number be incremented by 1, data source be set to high in the clouds and set or renewal Data are sent to intelligent electric appliance 30, wherein when sending successfully, intelligent electric appliance 30 receives and preserved the business number for setting or updating According to.
When there is communication connection in intelligent electric appliance 30 and high in the clouds, processing unit 34 sends to high in the clouds according to the frequency of setting and preserved Business datum snapshot, snapshot include intelligent electric appliance 30 preserve business datum data source and version number, wherein, high in the clouds The snapshot of reception compared with the business datum that the high in the clouds stores to judge uniformity, wherein when the snapshot and the cloud of reception Hold the data source of the business datum of storage and during all identical version number, then judge that data are consistent, when data source is identical and version This number difference, then intelligent electric appliance 30 and the current service data of high in the clouds alternative one renewal other one corresponding to the data source The business datum of person, when data source difference, then with the version number of the current service data in both intelligent electric appliance 30 and high in the clouds The business datum of the other one of service data updating of the greater.
Communicator 32 can be used for realizing the wired or wireless communication with high in the clouds and user.
User can utilize client device to pass through access to the Internet intelligent electric appliance 30 or high in the clouds and setting or more new business number According to.Also, specifically, user can utilize cell phone application to set or update business datum in intelligent electric appliance 30 or high in the clouds.
Input unit 31 sets or updated business datum available for user on intelligent electric appliance 30.
When the data for setting or updating are sent to intelligent electric appliance 30 by high in the clouds, unsuccessful, high in the clouds progress data are such as sent Rollback.
Technical scheme according to embodiments of the present invention, when user sets or updated business datum, the intelligence in intelligent electric appliance Electrical equipment performs following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data are come Source is set to intelligent electric appliance, and preserves and set or the business datum of renewal, when user sets or update business datum beyond the clouds, this High in the clouds performs following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, data are come Source is set to high in the clouds, and the data for setting or updating are sent to intelligent electric appliance, wherein when sending successfully, intelligent electric appliance receives simultaneously Preserve and set or the business datum of renewal, when intelligent electric appliance is connected with high in the clouds, the intelligent electric appliance is according to the frequency of setting to cloud End sends the snapshot of the business datum preserved, and snapshot includes data source and the version number for the business datum that intelligent electric appliance preserves, High in the clouds the snapshot of reception compared with the business datum that the high in the clouds stores to judge uniformity, wherein when reception snapshot with When the data source of the business datum of high in the clouds storage and all identical version number, then judge that data are consistent, when data source is identical And version number is different, then intelligent electric appliance and the current service data of high in the clouds alternative one update in addition corresponding to the data source The business datum of one, when data source difference, then with the version number of the current service data in both intelligent electric appliance and high in the clouds The business datum of the other one of service data updating of the greater.Using the technical scheme of the embodiment of the present invention, intelligence can be realized The uniformity of energy electrical equipment and high in the clouds data, i.e. user are either at intelligent electric appliance end or high in the clouds (passing through cell phone application) to hardware Setting, the business datum on two ends can finally be consistent.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (12)

  1. A kind of 1. method that service data consistence is realized between intelligent electric appliance and high in the clouds, it is characterised in that the business number Include according to including data content, data source and version number, methods described:
    When user sets or updated business datum in intelligent electric appliance, the intelligent electric appliance performs following action:If initial setting up, Version number is then arranged to 0, version number is otherwise incremented by 1, data source is set to intelligent electric appliance, and preserves setting or renewal Business datum,
    When user sets or updated business datum beyond the clouds, the high in the clouds performs following action:If initial setting up, then version Number be arranged to 0, version number be otherwise incremented by 1, data source is set to high in the clouds, and set or the data of renewal be sent to it is described Intelligent electric appliance, wherein when sending successfully, the intelligent electric appliance receives and preserved the business datum for setting or updating,
    When the intelligent electric appliance is connected with the high in the clouds, the intelligent electric appliance sends to the high in the clouds according to the frequency of setting and preserved Business datum snapshot, the snapshot include the intelligent electric appliance preserve business datum data source and version number, institute Snapshot of the high in the clouds reception is stated compared with the business datum that the high in the clouds stores to judge uniformity, wherein when the snapshot of reception When the data source of the business datum stored with the high in the clouds and all identical version number, then judge that data are consistent, when data source phase With and version number is different, then the intelligent electric appliance and the current business number of the high in the clouds alternative one corresponding to the data source According to the business datum for updating other one, when data source difference, then with working as in both the intelligent electric appliance and the high in the clouds The business datum of the other one of service data updating of version number's the greater of preceding business datum.
  2. 2. according to the method for claim 1, it is characterised in that the user, the intelligent electric appliance and the high in the clouds are each other Between communicate in a wired or wireless fashion.
  3. 3. according to the method for claim 2, it is characterised in that the user passes through access to the Internet using client device The intelligent electric appliance or the high in the clouds simultaneously set or update business datum.
  4. 4. according to the method for claim 3, it is characterised in that the user using cell phone application in the intelligent electric appliance or The high in the clouds is set or renewal business datum.
  5. 5. according to the method for claim 1, it is characterised in that the user sets on the input unit of the intelligent electric appliance Put or update business datum.
  6. 6. according to the method for claim 1, it is characterised in that when the data for setting or updating are sent to institute by the high in the clouds When stating intelligent electric appliance, unsuccessful, the high in the clouds progress data rewind is such as sent.
  7. 7. a kind of intelligent electric appliance that service data consistence is kept with high in the clouds, it is characterised in that the business datum is included in data Hold, data source and version number, the intelligent electric appliance include:
    Input unit, for receiving user's input;
    Communicator, for realizing the communication connection with the high in the clouds and user;
    Storage device, for storing the business datum;
    Processing unit;
    Wherein, when user sets or updated business datum, then institute by the input unit or communication connection in the intelligent electric appliance State processing unit and perform following action:If initial setting up, then version number is arranged to 0, version number is otherwise incremented by 1, Data source is set to intelligent electric appliance, and the business datum for setting or updating is stored in the storage device, wherein, work as user Set beyond the clouds or update business datum, the high in the clouds performs following action:If initial setting up, then version number is arranged to 0, Otherwise version number is incremented by 1, data source is set to high in the clouds and the data for setting or updating are sent to the intelligent electric appliance, its In when sending successfully, the intelligent electric appliance receive and preserve set or renewal business datum,
    When there is communication connection in the intelligent electric appliance and the high in the clouds, the processing unit is according to the frequency of setting to the high in the clouds The snapshot of the business datum preserved is sent, the snapshot includes the data source and version for the business datum that the intelligent electric appliance preserves This number, wherein, the high in the clouds the snapshot of reception compared with the business datum that the high in the clouds stores to judge uniformity, wherein When data source and all identical version number for the business datum that the snapshot of reception and the high in the clouds store, then judge that data are consistent, When data source is identical and version number is different, then the intelligent electric appliance and the high in the clouds alternative one corresponding to the data source Current service data update the business datum of other one, when data source is different, then with the intelligent electric appliance and the cloud The business datum of the other one of service data updating of version number's the greater of the current service data in both ends.
  8. 8. intelligent electric appliance according to claim 7, it is characterised in that the communicator be used for realize with the high in the clouds and The wired or wireless communication of user.
  9. 9. intelligent electric appliance according to claim 8, it is characterised in that the user passes through internet using client device Access the intelligent electric appliance or the high in the clouds and set or update business datum.
  10. 10. intelligent electric appliance according to claim 9, it is characterised in that the user is using cell phone application in the intelligence electricity Device or the high in the clouds are set or renewal business datum.
  11. 11. intelligent electric appliance according to claim 7, it is characterised in that the input unit is used for user in the intelligence Set on electrical equipment or update business datum.
  12. 12. intelligent electric appliance according to claim 7, it is characterised in that when the data for setting or updating are sent out in the high in the clouds When giving the intelligent electric appliance, unsuccessful, the high in the clouds progress data rewind is such as sent.
CN201610858810.XA 2016-09-28 2016-09-28 Intelligent electric appliance and method for realizing business data consistency between intelligent electric appliance and cloud end Active CN107872490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610858810.XA CN107872490B (en) 2016-09-28 2016-09-28 Intelligent electric appliance and method for realizing business data consistency between intelligent electric appliance and cloud end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610858810.XA CN107872490B (en) 2016-09-28 2016-09-28 Intelligent electric appliance and method for realizing business data consistency between intelligent electric appliance and cloud end

Publications (2)

Publication Number Publication Date
CN107872490A true CN107872490A (en) 2018-04-03
CN107872490B CN107872490B (en) 2020-11-03

Family

ID=61761338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610858810.XA Active CN107872490B (en) 2016-09-28 2016-09-28 Intelligent electric appliance and method for realizing business data consistency between intelligent electric appliance and cloud end

Country Status (1)

Country Link
CN (1) CN107872490B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179521A (en) * 2007-10-31 2008-05-14 广州市聚晖电子科技有限公司 Data synchronization updating system and method of digital family equipment
US20140201137A1 (en) * 2013-01-11 2014-07-17 Commvault Systems, Inc. Location-based data synchronization management
CN103986742A (en) * 2013-02-08 2014-08-13 纬创资通股份有限公司 File synchronization method and correlation electronic devices
CN104601629A (en) * 2013-10-31 2015-05-06 中兴通讯股份有限公司 Processing method and processing apparatus, control apparatus and working method thereof as well as control method and control system
CN105009131A (en) * 2012-09-22 2015-10-28 谷歌公司 Multi-tiered authentication methods for facilitating communications amongst smart home devices and cloud-based servers
US9189495B1 (en) * 2012-06-28 2015-11-17 Emc Corporation Replication and restoration
CN105450779A (en) * 2015-12-31 2016-03-30 九阳股份有限公司 Method for achieving connection between one household electric appliance and multiple servers
CN105516230A (en) * 2014-10-15 2016-04-20 深圳市腾讯计算机系统有限公司 Data processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179521A (en) * 2007-10-31 2008-05-14 广州市聚晖电子科技有限公司 Data synchronization updating system and method of digital family equipment
US9189495B1 (en) * 2012-06-28 2015-11-17 Emc Corporation Replication and restoration
CN105009131A (en) * 2012-09-22 2015-10-28 谷歌公司 Multi-tiered authentication methods for facilitating communications amongst smart home devices and cloud-based servers
US20140201137A1 (en) * 2013-01-11 2014-07-17 Commvault Systems, Inc. Location-based data synchronization management
CN103986742A (en) * 2013-02-08 2014-08-13 纬创资通股份有限公司 File synchronization method and correlation electronic devices
CN104601629A (en) * 2013-10-31 2015-05-06 中兴通讯股份有限公司 Processing method and processing apparatus, control apparatus and working method thereof as well as control method and control system
CN105516230A (en) * 2014-10-15 2016-04-20 深圳市腾讯计算机系统有限公司 Data processing method and device
CN105450779A (en) * 2015-12-31 2016-03-30 九阳股份有限公司 Method for achieving connection between one household electric appliance and multiple servers

Also Published As

Publication number Publication date
CN107872490B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN112073471B (en) Control method and device of equipment, storage medium and electronic device
CN103118077A (en) Cross equipment content transmission method, system and client-side
CN103024773A (en) Method, management device and system for upgrading software of wireless router
CN105487394A (en) Intelligent household appliance control method and device and gateway
CN107517136A (en) The implementation method of heartbeat keep-alive, apparatus and system
CN108650311A (en) A kind of control system and its control method of intelligent appliance
CN112653577A (en) Network element management method, device and storage medium
CN105871995A (en) Method for controlling intelligent device by router and the router
CN112601211B (en) Intelligent household appliance control equipment, mobile terminal and testing method
CN106789475A (en) Household electric appliance control method and device
CN109981421B (en) Intelligent device network distribution method and device
CN104200644A (en) Equipment remote-control method, functional terminal and intelligent terminal
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
CN110691398A (en) Network interaction method, system, equipment and storage medium of intelligent equipment
CN107332939A (en) It is a kind of to pass through the cloud storage method that is locally stored, device
CN104880955A (en) Method for controlling intelligent household device, and intelligent household control device
CN112511390A (en) Intelligent household appliance template scene generation method and device, storage medium and electronic device
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN107872490A (en) Intelligent electric appliance and the method that service data consistence is realized between high in the clouds at it
CN105242885A (en) Network storage change method and device
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN112954770A (en) Device binding method and device, storage medium and electronic device
CN104333856A (en) Method for switching network of Java SIM card, SIM card, server and system
CN110850737A (en) Socket and timing method, system and computer readable storage medium
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant