CN105425595B - control method and device for household appliance - Google Patents
control method and device for household appliance Download PDFInfo
- Publication number
- CN105425595B CN105425595B CN201510719581.9A CN201510719581A CN105425595B CN 105425595 B CN105425595 B CN 105425595B CN 201510719581 A CN201510719581 A CN 201510719581A CN 105425595 B CN105425595 B CN 105425595B
- Authority
- CN
- China
- Prior art keywords
- household appliance
- information
- report
- interface
- reporting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention proposes a kind of control method and device for household appliance, the control method for being used for household appliance include obtain household appliance report information;The user sources being subordinate to according to household appliance determine the third-party platform for needing to report;It obtains and the communication mechanism of the third-party platform reported and data is needed to report interface, and report information to carry out protocol conversion household appliance according to communication mechanism;Report information reporting to open cloud platform the household appliance after protocol conversion;Open cloud platform reports interface to report information to be packaged the household appliance after protocol conversion according to data, and reports information reporting to third-party platform the household appliance after encapsulation.It can be realized through the invention by the information reporting of household appliance to third-party platform, effectively promote the usage experience of user.
Description
Technical field
The present invention relates to Smart Home technical field more particularly to a kind of control methods and device for household appliance.
Background technology
Now with being constantly progressive and user's improvement of living standard, more and more home equipments for smart home technology
Intelligent operating can be realized, for example, smart mobile phone, intelligence wearing, Intelligent hardware, intelligent appliance, many facilities are brought to people.
The prior art can not realize that intelligent appliance facility information reports and push to the function of third-party platform, user's
Usage experience is poor.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide a kind of control method for household appliance, can realize family
The information reporting of electric equipment effectively promotes the usage experience of user to third-party platform.
It is another object of the present invention to propose a kind of control device for household appliance.
In order to achieve the above objectives, the control method for household appliance that first aspect present invention embodiment proposes, including:
Obtain household appliance reports information;The user sources being subordinate to according to the household appliance determine that the third party for needing to report is flat
Platform;The communication mechanism and data for obtaining the third-party platform that the needs report report interface, and according to the communication mechanism pair
The household appliance reports information to carry out protocol conversion;Household appliance after the protocol conversion is reported into information reporting extremely
Open cloud platform;The open cloud platform reports interface reporting to the household appliance after the protocol conversion according to the data
Information is packaged, and reports information reporting to third-party platform the household appliance after the encapsulation.
The control method for household appliance that first aspect present invention embodiment proposes, by being subordinate to according to household appliance
The user sources of category determine the third-party platform for needing to report, and the communication mechanism of the third-party platform reported as needed is to family
Electric equipment reports information to carry out protocol conversion, reports information reporting to open cloud to put down the household appliance after protocol conversion
The data of platform, the third-party platform that open cloud platform reports as needed report interface to the upper of the household appliance after protocol conversion
Breath of notifying is packaged, and reports information reporting to third-party platform the household appliance after encapsulation, can be realized household electrical appliances
The information reporting of equipment effectively promotes the usage experience of user to third-party platform.
In order to achieve the above objectives, the control device for household appliance that second aspect of the present invention embodiment proposes, including:
Data obtaining module is reported, information is reported for obtain household appliance;Third-party platform determining module, for according to the family
The user sources that electric equipment is subordinate to determine the third-party platform for needing to report;Information protocol conversion module is reported, for obtaining
It is described that the communication mechanism of the third-party platform reported and data is needed to report interface, and according to the communication mechanism to the household electrical appliances
Equipment reports information to carry out protocol conversion;Reporting module, for the household appliance after the protocol conversion to be reported information
Report to open cloud platform;Information encapsulation reporting module is reported, for reporting interface to the protocol conversion according to the data
Household appliance afterwards reports information to be packaged, and reports information reporting to third party the household appliance after the encapsulation
Platform.
The control device for household appliance that second aspect of the present invention embodiment proposes, by being subordinate to according to household appliance
The user sources of category determine the third-party platform for needing to report, and the communication mechanism of the third-party platform reported as needed is to family
Electric equipment reports information to carry out protocol conversion, reports information reporting to open cloud to put down the household appliance after protocol conversion
The data of platform, the third-party platform that open cloud platform reports as needed report interface to the upper of the household appliance after protocol conversion
Breath of notifying is packaged, and reports information reporting to third-party platform the household appliance after encapsulation, can be realized household electrical appliances
The information reporting of equipment effectively promotes the usage experience of user to third-party platform.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram for the control method for household appliance that one embodiment of the invention proposes;
Fig. 2 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 3 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 4 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 5 is the flow diagram for the control method for household appliance that another embodiment of the present invention proposes;
Fig. 6 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Fig. 7 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Fig. 8 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Fig. 9 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes;
Figure 10 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Fig. 1 is the flow diagram for the control method for household appliance that one embodiment of the invention proposes, this method packet
It includes:
S11:Obtain household appliance reports information.
Household appliance such as fan, cooling fan, heater and air conditioner.
In an embodiment of the present invention, the information that reports of household appliance includes that household appliance operating status reports information,
And/or household appliance presence reports information.
Household appliance operating status reports information such as, setting temperature, setting wind speed in air conditioner operational process, and
Wind direction is set.
Such as air conditioner is online the information that reports of household appliance presence.
Optionally, interface and household appliance can be reported to exist by the household appliance operating status in the interface of application server
Line state reporting interface reports information from M-Cloud platforms acquisition household appliance.
Wherein, household appliance operating status reports interface such as base2pro/appliance/data/report, household electrical appliances to set
Standby presence reports interface such as base2pro/appliance/online/report.
M-Cloud platforms are that the reporting information of the task of household appliance handles cloud platform, are mainly used for dispatching, when monitoring
The operating status of household appliance calls base2pro/appliance/ alternatively, when the presence of household appliance generates variation
Data/report or base2pro/appliance/online/report interfaces will notify in household appliance operating status
Breath, alternatively, household appliance presence reports information reporting to application server, application server gets household appliance
After reporting information, carry out reporting processing in next step.
S12:The user sources being subordinate to according to household appliance determine the third-party platform for needing to report.
Wherein, user can preset the third-party platform for needing to report according to self-demand.
Third-party platform can such as mobile terminal, such as mobile phone.
For example, application server can be according to the user in the source file src for reporting information of the household appliance got
Source-information determines that the third-party platform for needing to report is the mobile phone of the user.
S13:It obtains and the communication mechanism of the third-party platform reported and data is needed to report interface, and according to communication mechanism pair
Household appliance reports information to carry out protocol conversion.
The corresponding protocol conversion mode of communication mechanism of different third-party platforms is different.
For example, the communication mechanism for the third-party platform that application server reports as needed, will notify in household appliance
Breath is converted to protocol format corresponding with third-party platform.
Protocol format is for example:
Uniform resource locator (Uniform Resource Locator, URL) is:
http://{domain}/v1/pro2open/device/online/report;
The data format of support is JSON (JavaScript object representation, JavaScript Object Notation)
Format;
The request method of hypertext transfer protocol (HyperText Transfer Protocol, HTTP) is POST modes.
Wherein, POST modes are that a kind of request method of data is submitted to server-side.
S14:Report information reporting to open cloud platform the household appliance after protocol conversion.
Open cloud platform can be indicated with OpenCloud platforms.OpenCloud platforms are open to public or developer
Publicly-owned cloud platform.
In an embodiment of the present invention, report information reporting to open cloud platform the household appliance after protocol conversion,
Including:Application server calls the household appliance operating status in the interface of open cloud platform to report interface and household appliance online
Household appliance after protocol conversion is reported information reporting to open cloud platform by state reporting interface.
Wherein, the interface of open cloud platform is preset standard format, wherein preset standard format shifts for declarative state
(Representational State Transfer, REST) framework, POST modes and UTF-8 character codes, and interface
The data format of return is JSON formats, and the parameter value in JSON objects is String types.
Household appliance operating status in the interface of open cloud platform reports interface can be such as:
Pro2open/device/data/report interfaces.
Household appliance presence in the interface of open cloud platform reports interface can be such as:
Pro2open/device/online/report interfaces.
For example, the communication mechanism for the third-party platform that application server reports as needed, will notify in household appliance
After breath is converted to protocol format corresponding with third-party platform, the household appliance fortune in the interface of OpenCloud platforms is called
Household appliance operating status is reported information reporting extremely by row state reporting interface pro2open/device/data/report
OpenCloud platforms, alternatively, the household appliance presence in the interface of calling OpenCloud platforms reports interface
Household appliance presence is reported information reporting to put down to OpenCloud by pro2open/device/online/report
Platform.
S15:Interface is reported to report information to be packaged the household appliance after protocol conversion according to data, and will encapsulation
Household appliance afterwards reports information reporting to third-party platform.
In an embodiment of the present invention, report interface to the household appliance after protocol conversion according to data by open cloud platform
Report information to be packaged, and report information reporting to third-party platform the household appliance after encapsulation.
Wherein, the data of different third-party platforms report interface different.
In another embodiment of the present invention, referring to Fig. 2, report information reporting to the household appliance after encapsulation
After tripartite's platform, further include:
S21:Judge whether the access token for reporting the virtual account of the corresponding household appliance of information of household appliance is effective.
Specifically, the visit of the virtual account for reporting the corresponding household appliance of information of household appliance is judged by third-party platform
Ask whether token is effective.
Wherein, virtual account such as virtual ID.
Access token can indicate that accessToken is the one of Windows operating system safety with accessToken
A concept.For example, when user logs in, Windows operating system creates an access token, including the sequence that logon process returns
Row number and distributed to by local security policy user and user secure group privilege list.
For example, the information that reports of household appliance operating status is setting temperature in air conditioner operational process, setting wind speed,
And setting wind direction, then air conditioner is judged when the corresponding accessToken of the virtual ID of third-party platform is effective, and triggering executes
Step S22.
S22:If access token is effective, inquire whether household appliance is in threadiness according to the virtual account of household appliance
State.
For example, when air conditioner is when the corresponding accessToken of virtual ID of third-party platform is effective, it can be according to the void
Quasi- ID judges the presence of corresponding air conditioner.
In another embodiment of the present invention, referring to Fig. 3, report information reporting to the household appliance after encapsulation
After tripartite's platform, further include:
S31:Household appliance and the existing binding relationship of user are released according to the virtual account of household appliance.
Wherein, the corresponding URL of unbinding operation is:http://{domain}/v1/third/device/
Unbind/by/third, and the data format that the URL is supported is JSON, the request method of HTTP is POST modes.
For example, when air conditioner and the existing binding relationship of user, can according to air conditioner third-party platform virtual ID,
Unbinding request is initiated, household appliance and the existing binding relationship of user are released.
In another embodiment of the present invention, referring to Fig. 4, report information reporting to the household appliance after encapsulation
After tripartite's platform, further include:
S41:The application server for reporting information that household appliance is got according to the inquiry of the virtual account of household appliance is believed
Breath.
Wherein, the corresponding URL of operation for inquiring Application Server information is:
http:// { domain }/v1/third/route/by/virtual, and the data format that the URL is supported is
The request method of JSON, HTTP are POST modes.
In another embodiment of the present invention, referring to Fig. 5, report information reporting to the household appliance after encapsulation
After tripartite's platform, further include:
S51:The registration request of household appliance is sent to third-party platform.
Specifically, the registration request of household appliance can be sent from M-Cloud platforms to third-party platform, which corresponds to
URL be:http:// { domain }/v1/base2open/third/device/register, and the data that the URL is supported
Format is JSON, and the request method of HTTP is POST modes.
S52:Obtain the log-on message of the household appliance of third-party platform distribution.
For example, user fills in corresponding log-on message, the registration operation of air conditioner is initiated, then M-Cloud platforms are to third
Fang Pingtai sends the registration request of air conditioner, to obtain the log-on message of the household appliance of third-party platform distribution, wherein registration
Information such as air conditioner ID.
In the present embodiment, the third-party platform for needing to report is determined by the user sources being subordinate to according to household appliance,
And the communication mechanism of the third-party platform reported as needed reports information to carry out protocol conversion household appliance, and agreement is turned
Household appliance after changing reports third-party platform that information reporting to open cloud platform, open cloud platform report as needed
Data report interface to report information to be packaged the household appliance after protocol conversion, and by the upper of the household appliance after encapsulation
Breath of notifying reports to third-party platform, can realize the information reporting of household appliance to third-party platform, effectively promote user
Usage experience.
Fig. 6 is the structural schematic diagram for the control device for household appliance that another embodiment of the present invention proposes, the device
60 include reporting data obtaining module 601, third-party platform determining module 602, reporting information protocol conversion module 603, report
Module 604, and report Information encapsulation reporting module 605.
Data obtaining module 601 is reported, information is reported for obtain household appliance.
Household appliance such as fan, cooling fan, heater and air conditioner.
In an embodiment of the present invention, the information that reports of household appliance includes that household appliance operating status reports information,
And/or household appliance presence reports information.
Household appliance operating status reports information such as, setting temperature, setting wind speed in air conditioner operational process, and
Wind direction is set.
Such as air conditioner is online the information that reports of household appliance presence.
Optionally, the household appliance fortune that data obtaining module 601 is specifically used in the interface by application server is reported
Row state reporting interface and household appliance presence report interface to report information from M-Cloud platforms acquisition household appliance.
Wherein, household appliance operating status reports interface such as base2pro/appliance/data/report, household electrical appliances to set
Standby presence reports interface such as base2pro/appliance/online/report.
M-Cloud platforms are that the reporting information of the task of household appliance handles cloud platform, are mainly used for dispatching, when monitoring
The operating status of household appliance calls base2pro/appliance/ alternatively, when the presence of household appliance generates variation
Data/report or base2pro/appliance/online/report interfaces will notify in household appliance operating status
Breath, alternatively, household appliance presence reports information reporting to application server, application server gets household appliance
After reporting information, carry out reporting processing in next step.
Third-party platform determining module 602, the user sources for being subordinate to according to household appliance determine what needs reported
Third-party platform.
Wherein, user can preset the third-party platform for needing to report according to self-demand.
Third-party platform can such as mobile terminal, such as mobile phone.
For example, application server can be according to the user in the source file src for reporting information of the household appliance got
Source-information determines that the third-party platform for needing to report is the mobile phone of the user.
Information protocol conversion module 603 is reported, communication mechanism and data for obtaining the third-party platform for needing to report
Interface is reported, and reports information to carry out protocol conversion household appliance according to communication mechanism.
The corresponding protocol conversion mode of communication mechanism of different third-party platforms is different.
For example, the communication mechanism for the third-party platform that application server reports as needed, will notify in household appliance
Breath is converted to protocol format corresponding with third-party platform.
Protocol format is for example:
Uniform resource locator (Uniform Resource Locator, URL) is:
http://{domain}/v1/pro2open/device/online/report;
The data format of support is JSON (JavaScript object representation, JavaScript Object Notation)
Format;
The request method of hypertext transfer protocol (HyperText Transfer Protocol, HTTP) is POST modes.
Wherein, POST modes are that a kind of request method of data is submitted to server-side.
Reporting module 604, for reporting information reporting to open cloud platform the household appliance after protocol conversion.
Open cloud platform can be indicated with OpenCloud platforms.OpenCloud platforms are open to public or developer
Publicly-owned cloud platform.
Optionally, reporting module 604 is specifically used for:Application server calls the household appliance in the interface of open cloud platform
Operating status reports interface and household appliance presence to report interface, by reporting in information for the household appliance after protocol conversion
It reports to open cloud platform.
Wherein, the interface of open cloud platform is preset standard format, wherein preset standard format shifts for declarative state
(Representational State Transfer, REST) framework, POST modes and UTF-8 character codes, and interface
The data format of return is JSON formats, and the parameter value in JSON objects is String types.
Household appliance operating status in the interface of open cloud platform reports interface can be such as:
Pro2open/device/data/report interfaces.
Household appliance presence in the interface of open cloud platform reports interface can be such as:
Pro2open/device/online/report interfaces.
For example, the communication mechanism for the third-party platform that application server reports as needed, will notify in household appliance
After breath is converted to protocol format corresponding with third-party platform, the household appliance fortune in the interface of OpenCloud platforms is called
Household appliance operating status is reported information reporting extremely by row state reporting interface pro2open/device/data/report
OpenCloud platforms, alternatively, the household appliance presence in the interface of calling OpenCloud platforms reports interface
Household appliance presence is reported information reporting to put down to OpenCloud by pro2open/device/online/report
Platform.
Information encapsulation reporting module 605 is reported, for reporting interface to the household appliance after protocol conversion according to data
It reports information to be packaged, and reports information reporting to third-party platform the household appliance after encapsulation.
In an embodiment of the present invention, report interface to the household appliance after protocol conversion according to data by open cloud platform
Report information to be packaged, and report information reporting to third-party platform the household appliance after encapsulation.
Wherein, the data of different third-party platforms report interface different.
Optionally, referring to Fig. 7, which further includes access token Effective judgement module 606 and household appliance state
Enquiry module 607, wherein
Access token Effective judgement module 606 reports information corresponding household appliance for judge household appliance
Whether the access token of virtual account is effective.
Specifically, the visit of the virtual account for reporting the corresponding household appliance of information of household appliance is judged by third-party platform
Ask whether token is effective.
Wherein, virtual account such as virtual ID.
Access token can indicate that accessToken is the one of Windows operating system safety with accessToken
A concept.For example, when user logs in, Windows operating system creates an access token, including the sequence that logon process returns
Row number and distributed to by local security policy user and user secure group privilege list.
For example, the information that reports of household appliance operating status is setting temperature in air conditioner operational process, setting wind speed,
And setting wind direction, then air conditioner is judged when the corresponding accessToken of the virtual ID of third-party platform is effective, triggers household electrical appliances
Device status inquiries module 607.
Household appliance state-query module 607, for when access token is effective, being looked into according to the virtual account of household appliance
Ask whether household appliance is presence.
For example, when air conditioner is when the corresponding accessToken of virtual ID of third-party platform is effective, it can be according to the void
Quasi- ID judges the presence of corresponding air conditioner.
Optionally, referring to Fig. 8, which further includes that binding relationship releases module 608, wherein
Binding relationship releases module 608, has with user for releasing household appliance according to the virtual account of household appliance
Binding relationship.
Wherein, the corresponding URL of unbinding operation is:http://{domain}/v1/third/device/
Unbind/by/third, and the data format that the URL is supported is JSON, the request method of HTTP is POST modes.
For example, when air conditioner and the existing binding relationship of user, can according to air conditioner third-party platform virtual ID,
Unbinding request is initiated, household appliance and the existing binding relationship of user are released.
Optionally, referring to Fig. 9, which further includes Application Server information enquiry module 609, wherein
Application Server information enquiry module 609 is set for getting household electrical appliances according to the inquiry of the virtual account of household appliance
The standby Application Server information for reporting information.
Wherein, the corresponding URL of operation for inquiring Application Server information is:
http:// { domain }/v1/third/route/by/virtual, and the data format that the URL is supported is
The request method of JSON, HTTP are POST modes.
Optionally, referring to Figure 10, which further includes registration request sending module 610 and log-on message acquisition module
611, wherein
Registration request sending module 610, the registration request for sending household appliance to third-party platform.
Specifically, the registration request of household appliance can be sent from M-Cloud platforms to third-party platform, which corresponds to
URL be:http:// { domain }/v1/base2open/third/device/register, and the data that the URL is supported
Format is JSON, and the request method of HTTP is POST modes.
Log-on message acquisition module 611, the log-on message of the household appliance for obtaining third-party platform distribution.
For example, user fills in corresponding log-on message, the registration operation of air conditioner is initiated, then M-Cloud platforms are to third
Fang Pingtai sends the registration request of air conditioner, to obtain the log-on message of the household appliance of third-party platform distribution, wherein registration
Information such as air conditioner ID.
In the present embodiment, the third-party platform for needing to report is determined by the user sources being subordinate to according to household appliance,
And the communication mechanism of the third-party platform reported as needed reports information to carry out protocol conversion household appliance, and agreement is turned
Household appliance after changing reports third-party platform that information reporting to open cloud platform, open cloud platform report as needed
Data report interface to report information to be packaged the household appliance after protocol conversion, and by the upper of the household appliance after encapsulation
Breath of notifying reports to third-party platform, can realize the information reporting of household appliance to third-party platform, effectively promote user
Usage experience.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indicating or implying relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (10)
1. a kind of control method for household appliance, which is characterized in that include the following steps:
Obtain household appliance reports information;
The user sources being subordinate to according to the household appliance determine the third-party platform for needing to report;
The communication mechanism and data for obtaining the third-party platform that the needs report report interface, and according to the communication mechanism pair
The household appliance reports information to carry out protocol conversion;
Report information reporting to open cloud platform the household appliance after the protocol conversion;
The open cloud platform according to the data report interface to the household appliance after the protocol conversion report information into
Row encapsulation, and report information reporting to third-party platform the household appliance after the encapsulation;
Interface and household appliance presence is reported to report and connect by the household appliance operating status in the interface of application server
Mouthful obtain the household appliance from M-Cloud platforms reports information.
2. being used for the control method of household appliance as described in claim 1, which is characterized in that notify in the household appliance
Breath includes the information that reports of household appliance operating status, and/or, household appliance presence reports information.
3. as described in claim 1 be used for household appliance control method, which is characterized in that it is described will be after the protocol conversion
Household appliance report the information reporting to open cloud platform, including:
The application server calls the household appliance operating status in the interface of the open cloud platform to report interface and household electrical appliances
Household appliance after the protocol conversion is reported information reporting to the open cloud to put down by equipment on-line state reporting interface
Platform.
4. being used for the control method of household appliance as claimed in claim 3, which is characterized in that the interface of the open cloud platform
For preset standard format, wherein the preset standard format be REST frameworks, POST modes and UTF-8 character codes, and
The data format that the interface returns is JSON formats, and the parameter value in JSON objects is String types.
5. being used for the control method of household appliance as described in claim 1, which is characterized in that the family by after the encapsulation
Electric equipment report information reporting to third-party platform after, further include:
Judge whether the access token for reporting the virtual account of the corresponding household appliance of information of the household appliance is effective;
If the access token is effective, inquire whether household appliance is in threadiness according to the virtual account of the household appliance
State.
6. a kind of control device for household appliance, which is characterized in that including:
Data obtaining module is reported, information is reported for obtain household appliance;
Third-party platform determining module, the user sources for being subordinate to according to the household appliance determine the third for needing to report
Fang Pingtai;
Information protocol conversion module is reported, the communication mechanism and data for obtaining the third-party platform that the needs report report
Interface, and report information to carry out protocol conversion the household appliance according to the communication mechanism;
Reporting module, for reporting information reporting to open cloud platform the household appliance after the protocol conversion;
Information encapsulation reporting module is reported, for reporting interface to the household appliance after the protocol conversion according to the data
It reports information to be packaged, and reports information reporting to third-party platform the household appliance after the encapsulation;
It is described that data obtaining module is reported to be specifically used for reporting by the household appliance operating status in the interface of application server
Interface and household appliance presence report what interface obtained the household appliance from M-Cloud platforms to report information.
7. being used for the control device of household appliance as claimed in claim 6, which is characterized in that notify in the household appliance
Breath includes the information that reports of household appliance operating status, and/or, household appliance presence reports information.
8. being used for the control device of household appliance as claimed in claim 6, which is characterized in that the reporting module is specifically used
In:
The application server calls the household appliance operating status in the interface of the open cloud platform to report interface and household electrical appliances
Household appliance after the protocol conversion is reported information reporting to the open cloud to put down by equipment on-line state reporting interface
Platform.
9. being used for the control device of household appliance as claimed in claim 8, which is characterized in that the interface of the open cloud platform
For preset standard format, wherein the preset standard format be REST frameworks, POST modes and UTF-8 character codes, and
The data format that the interface returns is JSON formats, and the parameter value in JSON objects is String types.
10. being used for the control device of household appliance as claimed in claim 6, which is characterized in that described device further includes:
Access token Effective judgement module reports the virtual of the corresponding household appliance of information for judge the household appliance
Whether the access token of account is effective;
Household appliance state-query module is used for when the access token is effective, according to the virtual account of the household appliance
Inquire whether household appliance is presence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719581.9A CN105425595B (en) | 2015-10-28 | 2015-10-28 | control method and device for household appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719581.9A CN105425595B (en) | 2015-10-28 | 2015-10-28 | control method and device for household appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105425595A CN105425595A (en) | 2016-03-23 |
CN105425595B true CN105425595B (en) | 2018-09-11 |
Family
ID=55503873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510719581.9A Active CN105425595B (en) | 2015-10-28 | 2015-10-28 | control method and device for household appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105425595B (en) |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100531056C (en) * | 2006-04-11 | 2009-08-19 | 中国移动通信集团公司 | Data storage system of the information home electrical appliance and the data processing method |
CN100563362C (en) * | 2006-05-30 | 2009-11-25 | 北京美科互动科技有限公司 | The inter-network communication server and the inter-network means of communication |
US20130060357A1 (en) * | 2011-09-01 | 2013-03-07 | Sony Corporation, A Japanese Corporation | Facilitated use of heterogeneous home-automation edge components via a common application programming interface |
CN102833340A (en) * | 2012-08-31 | 2012-12-19 | 澳柯玛股份有限公司 | Intelligent internet of things platform based on cloud server |
CN104052766B (en) * | 2013-03-13 | 2017-11-10 | 北京中科联众科技股份有限公司 | The comprehensive intelligent communication means and system of heterogeneous network based on cloud computing |
CN103345214B (en) * | 2013-06-17 | 2016-04-13 | 四川长虹电器股份有限公司 | Based on the intelligent household electrical appliance linkage control method of middleware |
CN103346938A (en) * | 2013-06-25 | 2013-10-09 | 重庆邮电大学 | Intelligent housing system based on cloud computing service |
CN104570962A (en) * | 2013-10-10 | 2015-04-29 | 中兴通讯股份有限公司 | Long-distance control method for household appliance, server and long-distance control system of household appliance |
CN103825939A (en) * | 2014-01-28 | 2014-05-28 | 郑春阳 | Household appliance networking control system |
CN104049617A (en) * | 2014-06-23 | 2014-09-17 | 上海芝泓信息科技有限公司 | Implementing method for home control system based on network and cloud technology |
CN204392276U (en) * | 2015-01-04 | 2015-06-10 | 江西通华智电科技有限公司 | A kind of Smart Home platform based on cloud computing |
-
2015
- 2015-10-28 CN CN201510719581.9A patent/CN105425595B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105425595A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105210344B (en) | Customization and notification method in M2M communication system and apparatus for the method | |
CN102713923B (en) | Server device that sets security levels in accordance with distances between devices, client device, communication system, integrated circuit for server control, integrated circuit for client control, method for connection of clients, method for connection of server, communication system connection method | |
CN103794033B (en) | Monitoring alarm method and device | |
KR20150054505A (en) | Cloud-based data server providing managing service for home appliances and method thereof | |
JP4745337B2 (en) | Gateway device and control device | |
US20120210011A1 (en) | Apparatus and methods for access solutions to wireless and wired networks | |
CN106464746A (en) | Computer system to support failover in event stream processing system | |
CN104601639A (en) | Webpage application message push method, client, server and system | |
CN107277162B (en) | Intelligent home management system and method based on network cloud | |
CN111314339B (en) | Data transmission method and device | |
US20140229433A1 (en) | Home appliance information accumulation server | |
CN102754400B (en) | For based on the method and system realizing the integrated networking telephone in the network of cloud | |
CN104902019A (en) | Application software (App) popularization method, server and terminal | |
Reddy et al. | Internet of Things enabled smart switch | |
CN102025786A (en) | Operation method and system for interactive control of three-network terminals | |
US20170311223A1 (en) | Technique for access by a master device to a value taken by a characteristic managed by a peripheral device | |
CN103201689A (en) | Field panel with embedded webserver and method of accessing the same | |
CN104363263B (en) | Internet of Things general-purpose platform based on cloud service | |
CN109644191A (en) | System and method for configuring connected equipment connection | |
CN110191131A (en) | A kind of file sharing method, device, system, server and storage medium | |
CN107277803A (en) | Wireless network authentication method, apparatus and system based on iOS terminals | |
CN105425595B (en) | control method and device for household appliance | |
CN112817248B (en) | Shared equipment management method and device, storage medium and electronic device | |
CN106899560A (en) | The method and internet-of-things terminal of a kind of automatic intercommunication of Internet of Things different agreement | |
CN108989157B (en) | Method and device for controlling intelligent equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |