Nothing Special   »   [go: up one dir, main page]

CN105785929A - WeChat-based home electric appliance control method and system - Google Patents

WeChat-based home electric appliance control method and system Download PDF

Info

Publication number
CN105785929A
CN105785929A CN201410800826.6A CN201410800826A CN105785929A CN 105785929 A CN105785929 A CN 105785929A CN 201410800826 A CN201410800826 A CN 201410800826A CN 105785929 A CN105785929 A CN 105785929A
Authority
CN
China
Prior art keywords
wechat
home appliance
account
proxy server
quick response
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
CN201410800826.6A
Other languages
Chinese (zh)
Other versions
CN105785929B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201410800826.6A priority Critical patent/CN105785929B/en
Publication of CN105785929A publication Critical patent/CN105785929A/en
Application granted granted Critical
Publication of CN105785929B publication Critical patent/CN105785929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a WeChat-based home electric appliance control method and system. The method includes the following steps that: a two-dimensional code with a corresponding a scene value is distributed for each home electric appliance in advance; the two-dimensional codes are scanned through the WeChat installed in a mobile phone so as to obtain the scene values carried by the two-dimensional codes, and a WeChat account of the WeChat is associated with home electric appliances corresponding to the scene values according to the scene values; and control instructions of a user for the home electric appliances are received through the WeChat, and the control instructions are sent to the corresponding home electric appliances according to the corresponding association relations between the WeChat account and the home electric appliances, and therefore, the home electric appliances can be correspondingly controlled. With the WeChat-based home electric appliance control method and system adopted, the users can control the plurality of home electric appliances through the WeChat, and great conveniences can be brought to the user.

Description

A kind of household electric appliance control method based on wechat and system
Technical field
The present invention relates to home appliance and control technical field, in particular a kind of household electric appliance control method based on wechat and system.
Background technology
Along with the product development based on technology of Internet of things is with universal, increasing Internet of Things product occurs in life, the home appliance that can be remotely controlled is more and more universal, the demand of Internet of Things quality of the life no longer only can remotely be controlled by people, and is able to simply, use easily and efficiently.
Wechat is as a most popular mobile terminal social platform instantly, and any active ues amount has broken through 400,000,000, and wechat user is ubiquitous, and wechat has become as a part indispensable in everybody life.Home wiring control is the application that a kind of requirement of real-time is significantly high, has been disclosed for user by wechat in prior art, sends out control instruction with voice and carrys out energy remote control domestic electrical equipment;By Voice command it is generally required to a semantic interface, in order that the different voice of user is converted into control command, as long as and user uses fixing rule (such as verb+noun), expressing the meaning substantially close, semantic interface can be identified as same control command.Household electrical appliances remotely control to receive the voice of user or literal order generally by network communication module, and then transmitting control commands is to device controller, device controller complete to process after by result backtracking.Owing to network communication module and device controller are all on equipment, broadly fall into embedded device, performance tend not to significantly high with treatment effeciency, and it is very long to complete a passed link of control command, wherein any one link occurs extremely all to cause the situation such as message delay, error in data, thus causing that slow in reacting, the state of User Interface do not conform to the actual conditions.And wechat user is 1 pair 1 with public number dialogue in wechat public number, a wechat user cannot be realized want to inscribe alternately with multiple equipment, and you can not be helped to set up the binding relationship between wechat user and distinct device, say, that a wechat user cannot be realized and set up binding relationship with multiple home appliances and the multiple household electrical appliances of voice quick control can be passed through.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is in that, it is provided that a kind of household electric appliance control method based on wechat and system, it is intended to solve cannot realize in prior art the problem that a wechat controls multiple home appliances.
This invention address that the technical scheme that technical problem adopts is as follows:
A kind of household electric appliance control method based on wechat, wherein, comprises the following steps:
A, in advance to each home appliance distribution Quick Response Code with corresponding scene value;
B, by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;
C, received user's control command to described home appliance by described wechat, the corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control.
The described household electric appliance control method based on wechat, wherein, described step A specifically includes:
A11, application wechat public's account, generate multiple Quick Response Codes with difference scene value according to described wechat public's account;
A12, multiple scene values are associated binding with multiple home appliance one_to_one corresponding.
The described household electric appliance control method based on wechat, wherein, described step A also includes:
A20, pre-setting storage and have the proxy server of home appliance related information corresponding to scene value, keep growing with multiple home appliances by described proxy server and be connected, described proxy server is also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
The described household electric appliance control method based on wechat, wherein, described step B specifically includes:
B11, the wechat account of wechat login user by installing on mobile terminal;
B12, by described wechat scan described Quick Response Code obtain described Quick Response Code with scene value, described wechat account and scene value are sent to proxy server by wechat server;
B13, according in proxy server storage home appliance and the corresponding related information of scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated.
The described household electric appliance control method based on wechat, wherein, described step A20 also includes:
Every a scheduled time, A21, described proxy server judge that whether normal the connection status of each home appliance is.
The described household electric appliance control method based on wechat, wherein, described step C specifically includes:
C10, by described wechat receive user's control command to described home appliance, described control command is sent to proxy server by wechat server;
C20, judge that whether the connection status of proxy server and described home appliance is normal, if normal, perform step C30;If abnormal, perform step C40;
C30, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the corresponding duty controlling described home appliance by proxy server;
C40, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance by proxy server, the corresponding duty controlling described home appliance, and receive the feedback result of described home appliance, described feedback result is sent to described wechat.
The described household electric appliance control method based on wechat, wherein, described step C20 specifically includes:
Every a scheduled time, C21, proxy server judge that whether normal the connection status of each home appliance is, if connection status normally, is designated as 1, if connection status is abnormal, be designated as 0;Remember that the connection status of nearest first pre-determined number N is followed successively by from back to front in time sequencing......;Wherein, N is positive integer;
C22, calculate the probability of stability value of the connection status of described home applianceFor:, wherein, M is positive integer, and M < N;n=1,2,3…N;
C23, when described probability of stability valueWhen exceeding threshold value set in advance, then the connection status of described home appliance is stable, performs step C30;When described probability of stability valueWhen being not above threshold value set in advance, then the connection status of described home appliance is unstable, performs step C40.
A kind of appliance control system based on wechat, wherein, including:
Pre-set module, in advance each home appliance being distributed the Quick Response Code with corresponding scene value;
Wechat account and home appliance relating module, for by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;
Home appliance controls module, for receiving user's control command to described home appliance by described wechat, corresponding incidence relation according to described wechat account with described home appliance, sends described control command to corresponding home appliance, the described home appliance of corresponding control.
The described appliance control system based on wechat, wherein, described in pre-set module and include:
Quick Response Code generates unit, is used for applying for wechat public's account, generates multiple Quick Response Codes with difference scene value according to described wechat public's account;
Scene value and home appliance associative cell, for associating binding by multiple scene values with multiple home appliance one_to_one corresponding.
The described appliance control system based on wechat, wherein, described in pre-set module and include:
Proxy server, for storing the home appliance corresponding related information with scene value, keeps long with multiple home appliances and is connected, be also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
A kind of household electric appliance control method based on wechat provided by the present invention and system, efficiently solve and prior art cannot realize the problem that a wechat controls multiple home appliances, what provide a kind of wechat control home appliance with feasibility realizes method, by each home appliance distributes Quick Response Code with corresponding scene value in advance;By on mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;User's control command to described home appliance is received by described wechat, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control, it is achieved thereby that user controls multiple home appliance by wechat, bring to user and greatly facilitate.
Accompanying drawing explanation
Fig. 1 is the flow chart of the household electric appliance control method preferred embodiment based on wechat provided by the invention.
Fig. 2 is the structured flowchart of the appliance control system preferred embodiment based on wechat provided by the invention.
Detailed description of the invention
The present invention provides a kind of household electric appliance control method based on wechat and system, and for making the purpose of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Refer to the flow chart that Fig. 1, Fig. 1 are the household electric appliance control method preferred embodiment based on wechat provided by the invention, as it can be seen, said method comprising the steps of:
Step S100, in advance to each home appliance distribution Quick Response Code with corresponding scene value;
Step S200, by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;
Step S300, received user's control command to described home appliance by described wechat, the corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control.
Below in conjunction with specific embodiment, above-mentioned steps is described in detail.
In the step s 100, in advance each home appliance is distributed the Quick Response Code with corresponding scene value.Specifically, currently the majority user used wechat in daily life, also wechat public's account was all more or less paid close attention to, about how paying close attention to wechat public's account, user can be swept by the wechat that the wechat installed on mobile terminal has and sweep functionality scan Quick Response Code, if first time sweeps, wechat public's account can be leapt to and pay close attention to interface, if scanned in the past, be directly entered wechat public's account.Talk with other people in wechat public's account or chat is 1 pair 1.
Wechat public's account is wechat to meet the needs that user's channel promotion is analyzed, and public platform provides the interface generated with parameter Quick Response Code.Use this interface can obtain multiple Quick Response Code with difference scene value, after scanning input wechat public's account, it is possible to the event that receives pushes.About wechat public's account, there is the Quick Response Code of 2 kinds of types at present, be interim Quick Response Code and permanent Quick Response Code respectively, the former has expired time, is to the maximum 1800 seconds, but can generate a greater number, the latter is without expired time, negligible amounts (current parameter only supports 1 ~ 100000).Two kinds of Quick Response Codes are respectively suitable for the scenes such as account binding, user sources statistics.During scanning input band scene value Quick Response Code, it is possible to push following two event: if user does not also pay close attention to public number, then user can pay close attention to public number, after concern, band scene value can be paid close attention to event and be pushed to developer by wechat.If user has paid close attention to public number, can automatically into session after scanning input, band scene scan value event also can be pushed to developer by wechat.
It is illustrated below: the Quick Response Code of wechat public number is can with scene value (positive integer of 1 ~ 100000), scene value is intended that and obtains different popularization approach: ratio is if any a TCL household electrical appliances public number, Quick Response Code scene value sky cat is 1000, Quick Response Code scene value in TCL store is 1001, after scanning input Quick Response Code, backstage wechat server can receive user and the information of scene value, then just can pay close attention to public's account from sky cat or TCL store by counting user.
Further, described step S100 specifically includes:
S111, application wechat public's account, generate multiple Quick Response Codes with difference scene value according to described wechat public's account;
S112, multiple scene values are associated binding with multiple home appliance one_to_one corresponding.
Specifically, the present invention principle according to above-mentioned wechat public's account, apply for wechat public's account (such as: TCL household electrical appliances), the Quick Response Code that multiple scene values are different is generated for this public's account, each scene value is allowed to associate different equipment, namely multiple scene values and multiple home appliance one_to_one corresponding.Further, the corresponding incidence relation of scene value and equipment can be set up the related information table info_device of correspondence and store, it is storable in the proxy server of additionally setting, this related information table must have 2 fields: device_code(equipment bar code, be used for indicating home appliance) and qcode(scene value).Home appliance bar code i.e. identifier of household appliance code, be used for identifying this home appliance.Therefore can pass through the Quick Response Code that wechat public's account comprises this identifier of household appliance code and scene value to the distribution of each home appliance, be scanned by wechat for user.Can should be separately positioned on each home appliance with the Quick Response Code of scene value, it is also possible to centralized stores.
Further, described step S200 includes: by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated.Specifically, user scans described Quick Response Code by the wechat installed on mobile terminal, just can obtain the scene value of correspondence, then just can be associated by the home appliance that wechat account corresponding for described wechat is corresponding with described scene value according to described scene value.
Specifically, when user is by wechat scanning Quick Response Code, wechat server can obtain qcode(scene value) and wx_user(wechat user, namely wechat account) information, corresponding related information according to scene value and equipment, just may know that device_code(equipment bar code) and wx_user(wechat user) corresponding relation, and this relation is saved in wechat account and device relationships table user_device, so by Quick Response Code scene value, it is possible to set up user and the corresponding relation of multiple home appliance.
In step S300, receiving user's control command to described home appliance, the corresponding incidence relation according to described wechat account with described home appliance by described wechat, send described control command to corresponding home appliance, correspondence controls described home appliance.Specifically, user passes through wechat phonetic entry control command or word to home appliance and inputs the control command to home appliance, then the corresponding incidence relation according to wechat account with described home appliance, described control command is wirelessly transmitted to the home appliance of correspondence, the corresponding duty controlling described home appliance.Wireless receiving module such as can be set on home appliance, receive the control command of wechat server wireless transmission, can by the mode such as infrared, bluetooth, WIFI to home appliance by control command transmission.
When practical application, user generally has multiple home appliance, so user scans, by the wechat on mobile terminal, the Quick Response Code with scene value that multiple home appliances are corresponding, just can by corresponding with multiple home appliances for the wechat account of user association, then user just can select certain home appliance corresponding control by voice or word, it is achieved thereby that the one-to-many of household electrical appliance is controlled.Voice command is it is generally required to a semantic interface, in order that the different voice of user is converted into control command, as long as and user uses fixing rule (such as verb+noun), expressing the meaning substantially close, semantic interface can be identified as same control command.About speech recognition and Text region, this is prior art, does not do too much description herein.
When practical application, if user does not know oneself there is which home appliance, then wechat can be passed through and send voice " control equipment " to corresponding wechat public's account, obtain the home appliance list that multiple home appliances of user-association are constituted.When using first due to user, do not know go to choose with which kind of mode/order and think device to be controlled, the mode of " default name+user can name the pet name " can be adopted to every home appliance name, improve certain use guided bone, such as the form of " X air-conditioning (pet name) ", the list of devices returned, after sequence, is illustrated below:
" you can control following equipment: No. 1 air-conditioning (master bedroom air-conditioning) is online, and No. 2 air-conditionings (parlor air-conditioning) are not online, and No. 3 air-conditionings are not online; No. 4 air-conditionings are not online, and No. 1 washing machine is not online, and No. 2 washing machinees are not online; No. 3 washing machinees are not online, and No. 4 washing machinees are not online "
Sequence about home appliance can be realized by following ranking functions:
Sort(registerTime,deviceName,status){
$this->db->query(registerTime,deviceName,status);
return$this->List;
}
According to hour of log-on registerTime, device name deviceName, whether online status, multiple home appliances in home appliance list being ranked up, returning equipment list List, list of devices is the information returning every equipment with the form of " x equipment (pet name) presence ", x equipment can be named according to the sequencing of user's bound device, such as user's family has 2 air-conditionings, and first scanning binding is No. 1 air-conditioning, and rear scanning binding is No. 2 air-conditionings;If user has taken the pet name for equipment, showing the pet name, without then showing, user can use voice " the amendment pet name " order to arrange or the amendment pet name.After user determines and oneself wants to control which platform equipment, it is possible to tell that wechat server background is now to control which platform equipment by voice " certain number equipment " or voice " the equipment pet name ".After backstage is chosen, replying " you have been successfully connected x air-conditioning/x refrigerator/equipment pet name ", confirm selected equipment success, then this equipment can be sent the order of various controls or the amendment pet name by user.If user thinks switching equipment certainly, then can not obtain list of devices, directly use voice " certain number equipment " or voice " the equipment pet name " to tell that wechat server background is now to control which platform equipment, thus switch to the home appliance of correspondence.
Due to existing household electrical appliances remotely control generally by network communication module receive user instruction, then transmitting control commands is to device controller, device controller complete process after by result backtracking.Owing to network communication module and device controller are all on equipment, broadly fall into embedded device, performance tend not to significantly high with treatment effeciency, and it is very long to complete a passed link of control command, wherein any one link occurs extremely all to cause the situation such as message delay, error in data, thus causing that slow in reacting, the state of User Interface do not conform to the actual conditions.Traditional way is to send out one to obtain equipment state order-> equipment WFI plate-> device controller, then backtracking, doing so link long, no matter which link message that all can cause that user receives equipment feedback out of joint is excessively slow, and it is pretty troublesome to debug Wrong localization.
Further, in order to feedback can be rapidly be by the multiple different home appliance of voice quick control, operation for user, in order to user is by the interaction smoothness agility of wechat with home appliance, described step S100 also includes:
S120, pre-setting storage and have the proxy server of home appliance related information corresponding to scene value, keep growing with multiple home appliances by described proxy server and be connected, described proxy server is also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
Specifically, it is simply that between wechat server and home appliance, arranging a proxy server, wechat server connects each home appliance by this proxy server.This proxy server storage has the corresponding related information of home appliance and scene value, and proxy server keeps long with each home appliance and is connected, and such as TCP length connects.User just can pass through wechat server by the control command that wechat sends and send to proxy server thus being sent to home appliance.
The present invention is concentrated by proxy server and keeps being connected with the data length of multiple home appliances, before user initiates control command, proxy server connects with home appliance, keep the synchronization of data, so that user can pass through the multiple different household electrical appliances of voice quick control, and the operation of user will rapidly be feedback, user interaction process smoothness is quick, brings the good remote control of user and experiences.
Further, described step S200 specifically includes:
S211, the wechat account of wechat login user by installing on mobile terminal;
S212, by described wechat scan described Quick Response Code obtain described Quick Response Code with scene value, described wechat account and scene value are sent to proxy server by wechat server;
S213, according in proxy server storage home appliance and the corresponding related information of scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated.
Specifically, it is simply that memory module is set on proxy server and comes corresponding storage home appliance and the corresponding related information of scene value, after obtaining wechat account and the corresponding related information of home appliance, also be stored in proxy server.
Further, described step S120 also includes:
Every a scheduled time, S121, described proxy server judge that whether normal the connection status of each home appliance is.Specifically, it is simply that in proxy server, arrange a data processing module (such as 2 minutes) at set intervals obtain the connection status of a proxy server and home appliance, thus all home appliances being played the effect of an overall management.
Further, described step S300 specifically includes:
S310, by described wechat receive user's control command to described home appliance, described control command is sent to proxy server by wechat server;
S320, judge that whether the connection status of proxy server and described home appliance is normal, if normal, perform step S330;If abnormal, perform step S340;
S330, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the corresponding duty controlling described home appliance by proxy server;
S340, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance by proxy server, the corresponding duty controlling described home appliance, and receive the feedback result of described home appliance, described feedback result is sent to described wechat.
Specifically, user selects the home appliance wanting to control transmitting control commands by wechat, then passes sequentially through wechat server and is sent to proxy server.Then judge that whether proxy server is normal with the connection status of described home appliance.Connect whether judge there is multiple implementation normally about long.If normal, then the corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the corresponding duty controlling described home appliance by proxy server;Control command, by accurate, directly after feedback intended result, then is sent corresponding home appliance by proxy server, it is not necessary to waiting feedback result, thus substantially reducing communication link, improve Consumer's Experience sense by the control command data that such user sends;If it is abnormal, the then corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance by proxy server, the corresponding duty controlling described home appliance, and receive the feedback result of described home appliance, described feedback result is sent to described wechat;Wechat owing to connecting user is set up before operating, and therefore response speed is also than existing way speed faster.
If owing to only judging that whether proxy server is normal with the connection status of described home appliance in step s 320, error then can be caused bigger, owing to the connection of proxy server Yu home appliance is long connection, whether certain connection once normally can not embody the stability of proxy server and home appliance.And due to network environment bad, as long as relating to network interaction, then to whether network is stably need to consider, therefore present invention adds the step that the stability to proxy server Yu home appliance judges, further, described step S320 specifically includes:
Every a scheduled time, S321, proxy server judge that whether normal the connection status of each home appliance is, if connection status normally, is designated as 1, if connection status is abnormal, be designated as 0;Remember that the connection status of nearest first pre-determined number N is followed successively by from back to front in time sequencing......;Wherein, N is positive integer;
S322, calculate the probability of stability value of the connection status of described home applianceFor:, wherein, M is positive integer, and M < N;n=1,2,3…N;
S323, when described probability of stability valueWhen exceeding threshold value set in advance, then the connection status of described home appliance is stable, performs step S330;When described probability of stability valueWhen being not above threshold value set in advance, then the connection status of described home appliance is unstable, performs step S340.
Specifically, it is simply that allow proxy server obtain the connection status of 1 secondary device every the scheduled time (such as 2 minutes), if normal, it is 1, abnormal then be 0;And these data be recorded in the data cache module of proxy server.
About probability of stability valueFor the square root after the quadratic sum of N number of connection status value from back to front sequentially in time, then it is multiplied by the continued product of M connection status value from back to front sequentially in time then the square root divided by N.This sentences N be 100, M is that 10 pairs of above-mentioned steps are described as follows: using the connection status Value Data of the detections of nearest 100 times as sampled point, and be designated as successively from back to front sequentially in time......, probability of stability value nowFor:, n is positive integer, and span is 1,2,3 ... N.
Desirable threshold value set in advance is 0.94, say, that when described probability of stability valueDuring more than 0.94, then the connection status of described home appliance is stable, performs step S330;When described probability of stability valueWhen being not above 0.94, then the connection status of described home appliance is unstable, performs step S340.
Please continue to refer to probability of stability valueFormula, when N be 100, M is 10, that is when nearest 100 connection status values having 90 next states normal and the state of nearest 10 times is all normal, then judge during data in connection pool now reliable and stable, then judge that equipment is complete stability according to the probit that calculates, namely 0.941, then judge that now home appliance is reliable and stable with the data cube computation of proxy server, it is possible to use, order, by accurate, directly after feedback intended result, then is sent an equipment by connection pool by the data that user sends, without waiting for substantially reducing communication link, improve Consumer's Experience sense.If reliable, return control result directly to wechat user, then pass through connection pool and control command is issued equipment, it is not necessary to wait that result returns.
Otherwise, then unstable, it is unreliable namely to connect, after then control command being issued home appliance by proxy server, then wait and the feedback result of home appliance then result is fed back to wechat user, owing to setting up before connecting user operation, therefore response speed is also fast than existing way.
Household electric appliance control method based on wechat provided by the invention, utilize wechat public's account, set up the binding relationship of user and multiple devices, and utilize wechat phonetic function, conveniently find, switch and control the multiple stage home appliance in family, use proxy server to collect each pole during control and like to set up standby information, and calculate the connection of data length whether in effective range by judgement of stability algorithm, thus judging rapidly to control result, feed back to wechat user.Result can effectively be carried out, it is expected that effectively judge user operation, rationally processing, rapid feedback by the present invention, substantially increases the fluency using wechat Voice-remote-control equipment mutual, it is thus achieved that good Consumer's Experience, hence it is evident that the quality of improving product and image.
Based on the above-mentioned household electric appliance control method based on wechat, the embodiment of the present invention additionally provides a kind of appliance control system based on wechat, as in figure 2 it is shown, described system includes:
Pre-set module 10, in advance each home appliance being distributed the Quick Response Code with corresponding scene value;Specifically as described in step S100;
Wechat account and home appliance relating module 20, for by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated, specifically as described in step S200;
Home appliance controls module 30, for receiving user's control command to described home appliance by described wechat, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control, specifically as described in step S300.
Further, pre-set module 10 described in include:
Quick Response Code generates unit, is used for applying for wechat public's account, generates multiple Quick Response Codes with difference scene value according to described wechat public's account;
Scene value and home appliance associative cell, for associating binding by multiple scene values with multiple home appliance one_to_one corresponding.
Further, pre-set module 10 described in include:
Proxy server, for storing the home appliance corresponding related information with scene value, keeps long with multiple home appliances and is connected, be also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
Mobile terminal of the present invention refers to the mobile terminals such as the mobile phone that can install wechat or panel computer.
In sum, a kind of household electric appliance control method based on wechat provided by the invention and system, by advance to each home appliance distribution Quick Response Code with corresponding scene value;By on mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;User's control command to described home appliance is received by described wechat, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control, it is achieved thereby that cross wechat to control multiple home appliances, bring to user and greatly facilitate.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, it is possible to improved according to the above description or convert, all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1. the household electric appliance control method based on wechat, it is characterised in that comprise the following steps:
A, in advance to each home appliance distribution Quick Response Code with corresponding scene value;
B, by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;
C, received user's control command to described home appliance by described wechat, the corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the described home appliance of corresponding control.
2. the household electric appliance control method based on wechat according to claim 1, it is characterised in that described step A specifically includes:
A11, application wechat public's account, generate multiple Quick Response Codes with difference scene value according to described wechat public's account;
A12, multiple scene values are associated binding with multiple home appliance one_to_one corresponding.
3. the household electric appliance control method based on wechat according to claim 1, it is characterised in that described step A also includes:
A20, pre-setting storage and have the proxy server of home appliance related information corresponding to scene value, keep growing with multiple home appliances by described proxy server and be connected, described proxy server is also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
4. the household electric appliance control method based on wechat according to claim 3, it is characterised in that described step B specifically includes:
B11, the wechat account of wechat login user by installing on mobile terminal;
B12, by described wechat scan described Quick Response Code obtain described Quick Response Code with scene value, described wechat account and scene value are sent to proxy server by wechat server;
B13, according in proxy server storage home appliance and the corresponding related information of scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated.
5. the household electric appliance control method based on wechat according to claim 3, it is characterised in that described step A20 also includes:
Every a scheduled time, A21, described proxy server judge that whether normal the connection status of each home appliance is.
6. the household electric appliance control method based on wechat according to claim 5, it is characterised in that described step C specifically includes:
C10, by described wechat receive user's control command to described home appliance, described control command is sent to proxy server by wechat server;
C20, judge that whether the connection status of proxy server and described home appliance is normal, if normal, perform step C30;If abnormal, perform step C40;
C30, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance, the corresponding duty controlling described home appliance by proxy server;
C40, corresponding incidence relation according to described wechat account with described home appliance, described control command is sent to corresponding home appliance by proxy server, the corresponding duty controlling described home appliance, and receive the feedback result of described home appliance, described feedback result is sent to described wechat.
7. the household electric appliance control method based on wechat according to claim 6, it is characterised in that described step C20 specifically includes:
Every a scheduled time, C21, proxy server judge that whether normal the connection status of each home appliance is, if connection status normally, is designated as 1, if connection status is abnormal, be designated as 0;Remember that the connection status of nearest first pre-determined number N is followed successively by from back to front in time sequencing......;Wherein, N is positive integer;
C22, calculate the probability of stability value of the connection status of described home applianceFor:, wherein, M is positive integer, and M < N;n=1,2,3…N;
C23, when described probability of stability valueWhen exceeding threshold value set in advance, then the connection status of described home appliance is stable, performs step C30;When described probability of stability valueWhen being not above threshold value set in advance, then the connection status of described home appliance is unstable, performs step C40.
8. the appliance control system based on wechat, it is characterised in that including:
Pre-set module, in advance each home appliance being distributed the Quick Response Code with corresponding scene value;
Wechat account and home appliance relating module, for by mobile terminal install wechat scan described Quick Response Code obtain described Quick Response Code with scene value, according to described scene value, the home appliance that wechat account corresponding for described wechat is corresponding with described scene value is associated;
Home appliance controls module, for receiving user's control command to described home appliance by described wechat, corresponding incidence relation according to described wechat account with described home appliance, sends described control command to corresponding home appliance, the described home appliance of corresponding control.
9. the appliance control system based on wechat according to claim 8, it is characterised in that described in pre-set module and include:
Quick Response Code generates unit, is used for applying for wechat public's account, generates multiple Quick Response Codes with difference scene value according to described wechat public's account;
Scene value and home appliance associative cell, for associating binding by multiple scene values with multiple home appliance one_to_one corresponding.
10. the appliance control system based on wechat according to claim 8, it is characterised in that described in pre-set module and include:
Proxy server, for storing the home appliance corresponding related information with scene value, keeps long with multiple home appliances and is connected, be also connected with the wechat server that on mobile terminal, the wechat of installation is corresponding.
CN201410800826.6A 2014-12-22 2014-12-22 A kind of household electric appliance control method and system based on wechat Active CN105785929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410800826.6A CN105785929B (en) 2014-12-22 2014-12-22 A kind of household electric appliance control method and system based on wechat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410800826.6A CN105785929B (en) 2014-12-22 2014-12-22 A kind of household electric appliance control method and system based on wechat

Publications (2)

Publication Number Publication Date
CN105785929A true CN105785929A (en) 2016-07-20
CN105785929B CN105785929B (en) 2018-06-19

Family

ID=56385894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410800826.6A Active CN105785929B (en) 2014-12-22 2014-12-22 A kind of household electric appliance control method and system based on wechat

Country Status (1)

Country Link
CN (1) CN105785929B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331813A (en) * 2016-09-23 2017-01-11 四川长虹电器股份有限公司 Method enabling smart phone to control smart television through public network
CN107454195A (en) * 2017-09-14 2017-12-08 王静芳 A kind of Internet of Things high in the clouds intelligent control method for mobile terminal
CN107465597A (en) * 2017-08-07 2017-12-12 成都市共维科技有限公司 Upper network control method and system
CN108134722A (en) * 2017-12-27 2018-06-08 惠州Tcl家电集团有限公司 Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing
CN108462619A (en) * 2018-03-08 2018-08-28 广东美的制冷设备有限公司 The method, apparatus and storage medium of household electrical appliances are controlled by instant communication software
WO2019128541A1 (en) * 2017-12-31 2019-07-04 Midea Group Co., Ltd. Method and system for controlling multiple home devices
CN110377364A (en) * 2019-07-18 2019-10-25 百度在线网络技术(北京)有限公司 Voice interactive method and device, voice interactive system, electronic equipment
CN110750056A (en) * 2018-07-23 2020-02-04 青岛海尔空调器有限总公司 Control method for household appliance system, household appliance system and control terminal
CN110967978A (en) * 2019-12-10 2020-04-07 珠海格力电器股份有限公司 Control method of intelligent device in chat mode, storage medium and network side device
CN111030919A (en) * 2019-12-06 2020-04-17 漳州市金龙锋信息科技有限公司 Equipment binding method based on WeChat public number with parameter two-dimensional code
CN112190952A (en) * 2020-10-16 2021-01-08 衡阳携创信息服务有限公司 Game management system based on WeChat applet
CN114675551A (en) * 2022-02-23 2022-06-28 青岛海尔科技有限公司 Method and device for determining operation behavior, storage medium and electronic device
CN115132189A (en) * 2022-06-10 2022-09-30 中国第一汽车股份有限公司 Long connection communication connection pool management method based on self-adaptive control strategy
CN115296949A (en) * 2022-06-28 2022-11-04 青岛海尔科技有限公司 Remote control method, device and system for intelligent household electrical appliance

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004107708A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
US20110298581A1 (en) * 2010-06-08 2011-12-08 Wei Hsu Universal remote controller
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code
CN103607341A (en) * 2013-10-29 2014-02-26 福州瑞芯微电子有限公司 Instant-messaging-method-based terminal control method and system
CN103616860A (en) * 2013-11-08 2014-03-05 海信集团有限公司 Method and device for remote control of household appliances
CN103985242A (en) * 2014-06-11 2014-08-13 珠海格力电器股份有限公司 Control method, control device and control system of air conditioner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004107708A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
US20110298581A1 (en) * 2010-06-08 2011-12-08 Wei Hsu Universal remote controller
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code
CN103607341A (en) * 2013-10-29 2014-02-26 福州瑞芯微电子有限公司 Instant-messaging-method-based terminal control method and system
CN103616860A (en) * 2013-11-08 2014-03-05 海信集团有限公司 Method and device for remote control of household appliances
CN103985242A (en) * 2014-06-11 2014-08-13 珠海格力电器股份有限公司 Control method, control device and control system of air conditioner

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331813A (en) * 2016-09-23 2017-01-11 四川长虹电器股份有限公司 Method enabling smart phone to control smart television through public network
CN107465597A (en) * 2017-08-07 2017-12-12 成都市共维科技有限公司 Upper network control method and system
CN107454195A (en) * 2017-09-14 2017-12-08 王静芳 A kind of Internet of Things high in the clouds intelligent control method for mobile terminal
CN108134722A (en) * 2017-12-27 2018-06-08 惠州Tcl家电集团有限公司 Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing
US10878826B2 (en) 2017-12-31 2020-12-29 Midea Group Co., Ltd. Method and system for controlling multiple home devices
WO2019128541A1 (en) * 2017-12-31 2019-07-04 Midea Group Co., Ltd. Method and system for controlling multiple home devices
CN111512365A (en) * 2017-12-31 2020-08-07 美的集团股份有限公司 Method and system for controlling a plurality of home devices
CN108462619A (en) * 2018-03-08 2018-08-28 广东美的制冷设备有限公司 The method, apparatus and storage medium of household electrical appliances are controlled by instant communication software
CN110750056A (en) * 2018-07-23 2020-02-04 青岛海尔空调器有限总公司 Control method for household appliance system, household appliance system and control terminal
CN110377364A (en) * 2019-07-18 2019-10-25 百度在线网络技术(北京)有限公司 Voice interactive method and device, voice interactive system, electronic equipment
CN111030919A (en) * 2019-12-06 2020-04-17 漳州市金龙锋信息科技有限公司 Equipment binding method based on WeChat public number with parameter two-dimensional code
CN110967978A (en) * 2019-12-10 2020-04-07 珠海格力电器股份有限公司 Control method of intelligent device in chat mode, storage medium and network side device
CN110967978B (en) * 2019-12-10 2021-02-12 珠海格力电器股份有限公司 Control method of intelligent device in chat mode, storage medium and network side device
CN112190952A (en) * 2020-10-16 2021-01-08 衡阳携创信息服务有限公司 Game management system based on WeChat applet
CN114675551A (en) * 2022-02-23 2022-06-28 青岛海尔科技有限公司 Method and device for determining operation behavior, storage medium and electronic device
CN115132189A (en) * 2022-06-10 2022-09-30 中国第一汽车股份有限公司 Long connection communication connection pool management method based on self-adaptive control strategy
CN115296949A (en) * 2022-06-28 2022-11-04 青岛海尔科技有限公司 Remote control method, device and system for intelligent household electrical appliance

Also Published As

Publication number Publication date
CN105785929B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN105785929A (en) WeChat-based home electric appliance control method and system
CN104144109B (en) A kind of apparatus control method, device and system
CN110932953A (en) Intelligent household control method and device, computer equipment and storage medium
CN110012002A (en) Message parsing method, device and server, computer readable storage medium
CN103326929B (en) Method and device for transmitting messages
CN106210017A (en) A kind of smart machine control method based on wechat platform and system thereof
CN101713989A (en) Network-based household appliance control scheme
CN103368947A (en) Media information control method, related equipment and system
CN104618228A (en) Intelligent household gateway and system for automatically accessing cloud server by strategy based on intelligent household gateway and application method thereof
CN103534988A (en) Publish and subscribe messaging method and apparatus
CN103731706A (en) Method and device for searching for application programs suitable for being installed on intelligent television
CN101673113A (en) Home appliance management method, terminal and system
CN112767936B (en) Voice dialogue method and device, storage medium and electronic equipment
CN105530683A (en) Network connection method and apparatus
US7835894B2 (en) System and method for simulating home network
CN107086949A (en) It is a kind of to be used for people and the auxiliary intelligent apparatus of smart machine interactive operation
CN106487655B (en) Message interaction method and device and processing server
CN112781250A (en) Control method of water heater and server
JP7071514B2 (en) Audio information processing methods, devices, storage media and electronic devices
CN105791963A (en) Order processing method and device, television and intelligent server
CN104968057A (en) Intelligent hardware device automatic networking method and system
CN108184131A (en) Start broadcasting based reminding method, device and readable storage medium storing program for executing
CN101815071B (en) Method, device and system for applying for digital certificate
CN104333791A (en) Interaction method, device and system for mobile terminal and smart television
CN110493120A (en) A kind of method and apparatus for sending device operational order

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