CN109218146A - Infrared household electrical appliances cloud control method and system based on wechat public platform - Google Patents

Infrared household electrical appliances cloud control method and system based on wechat public platform Download PDF

Info

Publication number
CN109218146A
CN109218146A CN201811190794.7A CN201811190794A CN109218146A CN 109218146 A CN109218146 A CN 109218146A CN 201811190794 A CN201811190794 A CN 201811190794A CN 109218146 A CN109218146 A CN 109218146A
Authority
CN
China
Prior art keywords
infrared
information
module
public platform
remote controler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811190794.7A
Other languages
Chinese (zh)
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.)
Zhejiang Gongshang University
Original Assignee
Zhejiang Gongshang University
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 Zhejiang Gongshang University filed Critical Zhejiang Gongshang University
Priority to CN201811190794.7A priority Critical patent/CN109218146A/en
Publication of CN109218146A publication Critical patent/CN109218146A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of infrared household electrical appliances cloud control method and system based on wechat public platform, wherein, method includes: to select soft remote controler by the wechat public platform of mobile terminal and obtain corresponding name information, corresponding key commands are generated in response to the soft remote controler of user's operation, red outer code data library is inquired according to key commands and name information, obtains corresponding infrared ray remotes control code;Infrared ray remotes control code and name information are encoded, and the main information that coding obtains is issued by communications protocol;Main information is pushed to the integrated processing module being placed in the communication environment of infrared household electrical appliances to be controlled according to subscription rules by Cloud Server and corresponding communications protocol;Main information is decoded, the infrared ray remotes control code that decoding is obtained controls corresponding infrared electricity operation by integrating the infrared transmission module of processing module.The present invention supports the mobile phone of not infrared transmission module to realize long-range control, and does not need installation APP, and good compatibility is convenient to use.

Description

Infrared household electrical appliances cloud control method and system based on wechat public platform
Technical field
The present invention relates to decoupling technology field more particularly to a kind of infrared household electrical appliances cloud control methods based on wechat public platform And system.
Background technique
With the continuous improvement of people's living standards, people start to pursue more comfortable, convenient and fast domestic environment, this makes Smart home is rapidly progressed and popularizes in recent years, and smart home is by technology of Internet of things by the various equipment in family (such as audio & video equipment, lighting system, curtain control, airconditioning control, security system, Digital Theater System and network home appliance) It connects together, people's lives mode can be optimized.And infrared household electrical appliances are the important components of smart home, but it is various The remote controler of infrared equipment generally all cannot be general, and people for every equipment require that a remote controler is separately configured, and operates It is cumbersome.
Currently, some companies are also proposed corresponding APP under the concept of Internet of Things.But to reach control conventional red The effect of outer household electrical appliances does not only need provide smart phone installation APP, it is also necessary to have infrared transmission module above mobile phone.This is not only The downloading installation of user effort time is needed, and the mobile phone of not infrared transmission module is not supported to use;It is direct to be also required to mobile phone With infrared household electrical appliances carry out it is infrared dock, cause remotely control infrared household electrical appliances, it is inconvenient to use.
Summary of the invention
Infrared household electrical appliances cloud control method and system provided by the invention based on wechat public platform, main purpose are gram It takes existing infrared home wiring control to need that correlation APP is installed, and the mobile phone of not infrared transmission module is not supported to use, can not achieve The defect remotely controlled.
In order to solve the above technical problems, the present invention adopts the following technical scheme:
The infrared household electrical appliances cloud control method based on wechat public platform that the present invention provides a kind of, includes the following steps;
Soft remote controler is selected by the wechat public platform of mobile terminal and obtains corresponding name information, in response to user's operation The soft remote controler generates corresponding key commands, is looked into according to the key commands and name information red outer code data library It askes, obtains corresponding infrared ray remotes control code;
The infrared ray remotes control code and name information are encoded, and the main information that coding obtains is passed through into communications protocol It is issued;
By Cloud Server and corresponding communications protocol, the main information pushed to according to subscription rules be placed in Control the integrated processing module in the communication environment of infrared household electrical appliances;
The main information is decoded, the infrared hair that the infrared ray remotes control code that decoding is obtained passes through integrated processing module It penetrates module and controls corresponding infrared electricity operation.
It is as an embodiment, described to generate corresponding key commands in response to soft remote controler described in user's operation, Red outer code data library is inquired according to the key commands and name information, obtains corresponding infrared ray remotes control code, including with Lower step;
The soft remote controler according to user's operation, judges whether user presses the button;If user presses the button, generation pair Answer the key commands of key position;
Red outer code data library is inquired according to the name information, extraction instructs infrared code file accordingly, by institute It states key commands and is compared with infrared code file is instructed, obtain corresponding infrared ray remotes control code.
As an embodiment, described that the infrared ray remotes control code and name information are encoded, and will encode To main information issued by communications protocol, include the following steps;
The infrared ray remotes control code and name information are encoded, main information is obtained;The main information is passed through MQTT agreement is issued.
As an embodiment, the infrared household electrical appliances cloud control method provided by the invention based on wechat public platform, also Include the following steps;
Before selecting soft remote controler by the wechat public platform of mobile terminal and obtaining corresponding name information, pass through movement End obtains the two dimensional code of integrated processing module, is taken using airkiss technology to integrated processing module and cloud according to the two dimensional code Business device carries out distribution, completes the binding of mobile terminal and integrated processing module;And after the completion of distribution, make integrated processing module and cloud Server carries out data interaction by MQTT agreement.
As an embodiment, the infrared household electrical appliances cloud control method provided by the invention based on wechat public platform, also Include the following steps;
Before selecting soft remote controler by the wechat public platform of mobile terminal and obtaining corresponding name information, size is obtained Information, key information, style information and shift position;According to the dimension information, key information, style information and movement Position generates soft remote controler using preset remote control design tool.
Correspondingly, the present invention also provides a kind of infrared household electrical appliances cloud control system based on wechat public platform, including inquiry mould Block, coding module, pushing module and remote control module;
The enquiry module selects soft remote controler for the wechat public platform by mobile terminal and obtains corresponding title letter Breath generates corresponding key commands in response to soft remote controler described in user's operation, according to the key commands and name information pair Red outer code data library is inquired, and corresponding infrared ray remotes control code is obtained;
The coding module, for being encoded to the infrared ray remotes control code and name information, and the master that coding is obtained Body information is issued by communications protocol;
The pushing module, for by Cloud Server and corresponding communications protocol, according to subscription rules by the main body Information pushes to the integrated processing module being placed in the communication environment of infrared household electrical appliances to be controlled;
The infrared ray remotes control code that decoding obtains is passed through collection for being decoded to the main information by the remote control module Corresponding infrared electricity operation is controlled at the infrared transmission module of processing module.
As an embodiment, the enquiry module includes judging unit and comparing unit;
The judging unit is used for the soft remote controler according to user's operation, judges whether user presses the button;If user It presses the button, then generates the key commands of corresponding key position;
The comparing unit extracts and refers to accordingly for being inquired according to the name information red outer code data library Infrared code file is enabled, the key commands are compared with infrared code file is instructed, obtain corresponding infrared ray remotes control code.
As an embodiment, the coding module is also used to;
The infrared ray remotes control code and name information are encoded, main information is obtained;The main information is passed through MQTT agreement is issued.
As an embodiment, the infrared household electrical appliances cloud control system provided by the invention based on wechat public platform, also Including binding module;
The binding module, for selecting soft remote controler in the wechat public platform by mobile terminal and obtaining corresponding title Before information, the two dimensional code of integrated processing module is obtained by mobile terminal, according to the two dimensional code using airkiss technology to collection Distribution is carried out at processing module and Cloud Server, completes the binding of mobile terminal and integrated processing module;And after the completion of distribution, make Integrated processing module and Cloud Server pass through the progress data interaction of MQTT agreement.
As an embodiment, the infrared household electrical appliances cloud control system provided by the invention based on wechat public platform, also Module is designed including soft remote controler;
The soft remote controler designs module, for selecting soft remote controler and acquisition pair in the wechat public platform by mobile terminal Before the name information answered, dimension information, key information, style information and shift position are obtained;According to the dimension information, Key information, style information and shift position generate soft remote controler using preset remote control design tool.
Compared with prior art, the technical program has the advantage that
Infrared household electrical appliances cloud control method and system provided by the invention based on wechat public platform, passes through the wechat of mobile terminal Public platform selects soft remote controler, cooperates Cloud Server, so that user can be to be controlled by being placed in by operating soft remote controler Integrated processing module in the communication environment of infrared household electrical appliances emits infrared ray remotes control code to control corresponding infrared electricity operation;To It supports the mobile phone of not infrared transmission module to realize long-range control, and Android and ios system can be compatible with based on wechat public platform The mobile terminal of system, does not need installation APP, and good compatibility is easy to use.
Detailed description of the invention
Fig. 1 is the process signal for the infrared household electrical appliances cloud control method based on wechat public platform that the embodiment of the present invention one provides Figure;
Fig. 2 is the structural representation of the infrared household electrical appliances cloud control system provided by Embodiment 2 of the present invention based on wechat public platform Figure.
In figure: 100, enquiry module;110, judging unit;120, comparing unit;200, coding module;300, mould is pushed Block;400, remote control module;500, binding module;600, soft remote controler designs module.
Specific embodiment
Below in conjunction with attached drawing, the technical characteristic and advantage above-mentioned and other to the present invention are clearly and completely described, Obviously, described embodiment is only section Example of the invention, rather than whole embodiments.
Referring to Fig. 1, the infrared household electrical appliances cloud control method based on wechat public platform that the embodiment of the present invention one provides, including Following steps;
S100, soft remote controler is selected by the wechat public platform of mobile terminal and obtains corresponding name information, in response to Family operates soft remote controler and generates corresponding key commands, is looked into according to key commands and name information red outer code data library It askes, obtains corresponding infrared ray remotes control code;
S200, the main information for encoding to infrared ray remotes control code and name information, and coding being obtained passes through communication association View is issued;
S300, pass through Cloud Server and corresponding communications protocol, main information is pushed to according to subscription rules and is placed in Integrated processing module in the communication environment of infrared household electrical appliances to be controlled;
S400, main information is decoded, the infrared ray remotes control code that decoding is obtained is by integrating the infrared of processing module Transmitting module controls corresponding infrared electricity operation.
It should be noted that mobile terminal includes being not limited to mobile phone terminal, the end PC and plate end, as long as it supports the wechat public Number use.All kinds of soft remote controlers to match with infrared household electrical appliances to be controlled can be preset in wechat public platform, user is only To be selected corresponding soft remote controler that can cooperate integrated place by Cloud Server in mobile terminal according to the hobby and demand of oneself Module is managed, the long-range control of infrared household electrical appliances can be realized, and whether have infrared transmission module and no requirement (NR) for mobile phone.It is right In the mobile phone for having infrared transmission module, directly infrared household electrical appliances can remotely be controlled by mobile terminal.Directly utilize The infrared transmission module, the key commands that combining response is generated in the soft remote controler of user's operation, obtains corresponding infrared ray remotes control code Remotely to control infrared household electrical appliances.Name information corresponding with soft remote controler be its appliance brand that can control, type and Number etc. crucial phrases at title.User pass through name information it is known that selection soft remote controler whether with desired control Infrared household electrical appliances matching.Certainly, in other embodiments, soft remote controler can be universal remote control, can reduce in public platform The storage quantity of soft remote controler.
Store Various types of data in the backstage of the wechat public platform of mobile terminal includes all kinds of soft remote controlers and infrared code Database;Learn typing infrared ray remotes control code corresponding with each soft remote controller key in red outer code data library, i.e. user is selecting It after soft remote controler, presses the button, red outer code data library will be inquired according to key commands and name information, obtain pair The infrared ray remotes control code answered.In order to reduce EMS memory occupation amount, all kinds of soft remote controlers and red outer code data library be can store in cloud service In device, after user's selection, by corresponding data from being downloaded in Cloud Server in corresponding mobile terminal.
It is complete based on identical communications protocol for data interaction between mobile terminal, Cloud Server and integrated processing module One of at, including be not limited to ICP/IP protocol, IPX/SPX agreement, NetBEUI agreement and MQTT agreement.Mobile terminal Data interaction can be carried out by Cloud Server and integrated processing module, directly can also carry out data friendship with integrated processing module Mutually.And integrated processing module and infrared household electrical appliances carry out data interaction.In this present embodiment, MQTT agreement is preferentially used, that is, It says, infrared ray remotes control code and name information is encoded, obtain main information;Main information is sent out by MQTT agreement Cloth.In encoded, the substantially still infrared code of main information, and MQTT protocol communication format is that { theme: message is (infrared Code) }, therefore when using the transmission of MQTT agreement, i.e., it is to be packaged to main information by MQTT protocol issuance, obtains { main Topic: message (infrared code) }.Theme is the unique identification of each integrated processing module, so that it is guaranteed that specified module can receive To the information of publication.It is also MQTT agreement between certain Cloud Server and integrated processing module.It can be solved in integrated processing module Infrared ray remotes control code is sent to by the infrared ray remotes control code and name information that code obtains by integrating the infrared transmission module of processing module Infrared household electrical appliances corresponding with name information, to control infrared electricity operation.MQTT agreement is publication of the lightweight based on agency/order The message transmission protocol read.Reliable network is provided in low bandwidth and unstable network environment for cloud computing and mobile device Service.MQTT data packet is mainly made of fixing head, variable header and message body.MQTT supports the service of three kinds of different stages Quality provides message reliability for different scenes.
Infrared household electrical appliances cloud control method and system provided by the invention based on wechat public platform, passes through the wechat of mobile terminal Public platform selects soft remote controler, cooperates Cloud Server, so that user can be to be controlled by being placed in by operating soft remote controler Integrated processing module in the communication environment of infrared household electrical appliances emits infrared ray remotes control code to control corresponding infrared electricity operation;To It supports the mobile phone of not infrared transmission module to realize long-range control, and Android and ios system can be compatible with based on wechat public platform The mobile terminal of system, does not need installation APP, and good compatibility is easy to use.
It is a hardware device for integrated processing module in the present embodiment, it is specific include processing chip, it is timer, red Outer emission lamp and api interface;Integrated processing mould as long as being placed in the communication environment of infrared household electrical appliances to be controlled, that is, after placing The infrared household electrical appliances that block can be controlled with it carry out infrared data and interact.For example, integrated processing module can be placed in dormitory, family In, the places such as inside outdoor and infrared household electrical appliances.ESP8266 chip connects with timer, infrared discharge lamps and api interface respectively It connects, infrared ray remotes control code is emitted by infrared discharge lamps to corresponding infrared household electrical appliances.It is connected using the intelligent network distribution of processing chip MQTT Cloud Server function.In this present embodiment, processing chip is ESP8266 chip, and the configuration address ip and port numbers is supported to connect Connect MQTT Cloud Server.Intelligent network distribution can be through wechat airkiss with network interface, mesh portions will be matched in code and wechat is public The binding of crowd's interface then can enter smart distribution mode when handling chip booting, when distribution success, then enter Station mode connects MQTT and executes task.Meanwhile after distribution success, even if device powers down and restarting, all without Distribution again is needed, ESP8266 chip can automatically record the last distribution data, network automatically by wifi.And user needs When reconfiguring wifi, it is only necessary to restart once, equipment listens to new routing information under smart mode and can then automatically update And it saves.
And ESP8266 chip itself provides the Three models for generating carrier wave, it is (infrared distant based on linux using LIRC Control) coding mode progress infrared emission.By the sigma-delta function in GPIO (universal input/output) GPIO mouthfuls any Carrier wave is generated, the carrier duty cycle that sigma-delta is generated is about 20%, it is recommended to use GPIO14 foot can produce accurately The standard block of 38KHz and duty ratio 50%.By the DSR TIMER interface of system FRC2, generates and send sequence and drive red Outer transmission state machine.System_timer_reinit is called to improve FRC2timer precision.That is pass through ESP8266 core Piece combination infrared discharge lamps control infrared electricity operation.There is infrared transmission module without mobile terminal.Collection of the invention It can stablize at processing module, efficiently control infrared electricity operation, support long-range control.
In this present embodiment, a division can be carried out to the group of user;Manager can carry out equipment management, remote control Device management, user management, platform data management, feedback information processing.Electric appliance producer in the producer is that the cloud of whole system is distant The main provider for controlling device, can operate the remote controler of oneself brand, then give management service personnel request and examine Core.Extremely objective user in the producer is design, issues the soft remote controler for having hard remote controler;Consumer is mainly whole system User.The various cloud remote controlers of the platform offer of household electrical appliances cloud control are directly provided and experience other respective services.Pass through user group Body divides, and can specify the use step of each use groups, is easy to use, and promotes Experience Degree.
For the user of each group, it is identical, that is, soft in response to user's operation for operating soft remote controler all Remote controler generates corresponding key commands, is inquired according to key commands and name information red outer code data library, obtains pair The infrared ray remotes control code answered, includes the following steps;According to the soft remote controler of user's operation, judge whether user presses the button;If user It presses the button, then generates the key commands of corresponding key position;Red outer code data library is inquired according to name information, is extracted Infrared code file is instructed accordingly, and key commands are compared with infrared code file is instructed, obtain corresponding infrared ray remotes control code. User is equivalent to be the corresponding remote controler of the infrared household electrical appliances of operation, each consumer uses when operating the soft remote controler of mobile terminal Soft remote controller key is pressed at family, and mobile terminal can all judge whether key is pressed, be judged as press the button after generate pair The key commands for answering key position search red outer code data library according to key commands and name information, find corresponding infrared control Code processed.User can operate the soft remote controler based on wechat public platform, be quick on the draw, and save user time, no Occupy mobile phone EMS memory;There is compatibility to mobile end system;And the infrared household electrical appliances of compatible different brands different model.
So for consumers, need to be scanned the two dimensional code of integrated processing module with the mobile terminal for connecting wifi.It should The information such as ssid, password are contained in two dimensional code, carry out distribution using Airkiss;Bound device again is given by MQTT agreement MQTT Cloud Server sends bind request;A soft remote controler is bound in the equipment bound, selection;Click pressing on soft remote controler Key issues the main information including red outer code information to MQTT Cloud Server by MQTT agreement;MQTT Cloud Server passes through MQTT protocol forward main information is to the specified equipment bound;Integrated processing module parses to obtain red outer code information, sends Infrared code controls infrared household electrical appliances.
For above-mentioned bound device, consumer only needs to be scanned the two-dimensional code with the mobile terminal for connecting wifi, integrates Processing module can be automatically performed the binding of integrated processing module.Specific steps can be, and obtain integrated processing by mobile terminal The two dimensional code of module carries out distribution to integrated processing module and Cloud Server using airkiss technology according to two dimensional code, completes to move The binding of moved end and integrated processing module;And after the completion of distribution, integrated processing module and Cloud Server is made to pass through MQTT agreement Carry out data interaction.AirKiss is that wechat hardware platform is wechat distribution, local area network discovery and the local that Wi-Fi equipment provides The technology of Netcom's news, only passes through the equipment for having accessed wireless network, so that it may which realization is not increasing any peripheral hardware expense In the case where, the ssid, close that the equipment that any substance connect transmits WIFI is not quickly and easily established with the external world to one The information such as code.The ap mode (equipment having does not configure wireless chip) and peripheral hardware auxiliary transmission mode of traditional distribution are not used (increasing cost).In other embodiments, two dimensional code can be replaced by one-dimension code, bar code etc..
For producer and for extremely objective user, moreover it is possible to which oneself designs soft remote controler, to make the soft remote controler in database Type brand and model etc. do not preset limitation by initial system.
Specific soft remote controler design includes the following steps;Soft remote controler is being selected simultaneously by the wechat public platform of mobile terminal Before obtaining corresponding name information, dimension information, key information, style information and shift position are obtained;Believed according to size Breath, key information, style information and shift position generate soft remote controler using preset remote control design tool.Extremely objective user can To be to open soft remote controler design tool;Fill in the size of soft remote controler (as unit of pixel);Selection key pattern (color, Shape), fill in key information (Chinese, English id), shift position.The soft remote controler of self-definition design;Soft remote control is saved again Device pattern, with " brand _ model " name;Infrared code needed for the infrared code of single key typing, or the entire soft remote controler of upload File;Complete soft remote controler is uploaded to Cloud Server.In other embodiments, wechat is can be used in above-mentioned wechat public platform Small routine substitution.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of infrared household electrical appliances cloud control based on wechat public platform System, the process that the implementation of the system can refer to the above method is realized, it is no longer redundant later to repeat place.
As shown in Fig. 2, being the infrared household electrical appliances cloud control system provided by Embodiment 2 of the present invention based on wechat public platform Structural schematic diagram, including enquiry module 100, coding module 200, pushing module 300 and remote control module 400;Enquiry module 100 Soft remote controler is selected for the wechat public platform by mobile terminal and obtains corresponding name information, it is soft distant in response to user's operation It controls device and generates corresponding key commands, red outer code data library is inquired according to key commands and name information, is corresponded to Infrared ray remotes control code;Coding module 200 is for encoding infrared ray remotes control code and name information, and the main body that coding is obtained Information is issued by communications protocol;Pushing module 300 is used for by Cloud Server and corresponding communications protocol, according to subscription Main information is pushed to the integrated processing module being placed in the communication environment of infrared household electrical appliances to be controlled by rule;Remote control module 400 for being decoded main information, the infrared emission mould that the infrared ray remotes control code that decoding is obtained passes through integrated processing module Block controls corresponding infrared electricity operation.
Infrared household electrical appliances cloud control system provided by the invention based on wechat public platform supports not infrared transmission module Mobile phone realizes long-range control, and the mobile terminal of Android and ios system can be compatible with based on wechat public platform, does not need to install APP, good compatibility are easy to use.
Further, enquiry module 100 includes judging unit 110 and comparing unit 120;Judging unit 110 is used for basis The soft remote controler of user's operation, judges whether user presses the button;If user presses the button, the key of corresponding key position is generated Order;For comparing unit 120 for being inquired according to name information red outer code data library, extraction instructs infrared code text accordingly Key commands are compared with infrared code file is instructed, obtain corresponding infrared ray remotes control code by part.
Coding module 200 is also used to;Infrared ray remotes control code and name information are encoded, main information is obtained;By main body Information is issued by MQTT agreement.
The infrared household electrical appliances cloud control system based on wechat public platform that the embodiment of the present invention three provides, with embodiment two-phase Than difference is, further includes binding module 500;Binding module 500 is used to select in the wechat public platform by mobile terminal soft distant Before controlling device and obtaining corresponding name information, the two dimensional code of integrated processing module is obtained by mobile terminal, according to two dimensional code benefit Distribution is carried out to integrated processing module and Cloud Server with airkiss technology, completes the binding of mobile terminal and integrated processing module; And after the completion of distribution, integrated processing module and Cloud Server is made to carry out data interaction by MQTT agreement.
The infrared household electrical appliances cloud control system based on wechat public platform that the embodiment of the present invention four provides, with embodiment two-phase Than difference is, further includes soft remote controler design module 600;Soft remote controler design module 600 is used for by the micro- of mobile terminal Before letter public platform selects soft remote controler and obtains corresponding name information, obtain dimension information, key information, style information with And shift position;It is raw using preset remote control design tool according to dimension information, key information, style information and shift position At soft remote controler.
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention Protection scope.

Claims (10)

1. a kind of infrared household electrical appliances cloud control method based on wechat public platform, which is characterized in that include the following steps;
Soft remote controler is selected by the wechat public platform of mobile terminal and obtains corresponding name information, in response to described in user's operation Soft remote controler generates corresponding key commands, is inquired according to the key commands and name information red outer code data library, Obtain corresponding infrared ray remotes control code;
The main information for encoding to the infrared ray remotes control code and name information, and coding being obtained is carried out by communications protocol Publication;
By Cloud Server and corresponding communications protocol, the main information pushed to according to subscription rules be placed in it is to be controlled Integrated processing module in the communication environment of infrared household electrical appliances;
The main information is decoded, the infrared emission mould that the infrared ray remotes control code that decoding is obtained passes through integrated processing module Block controls corresponding infrared electricity operation.
2. the infrared household electrical appliances cloud control method based on wechat public platform as described in claim 1, which is characterized in that the response The soft remote controler described in user's operation generates corresponding key commands, according to the key commands and name information to infrared yardage It is inquired according to library, obtains corresponding infrared ray remotes control code, include the following steps;
The soft remote controler according to user's operation, judges whether user presses the button;If user presses the button, generates correspondence and press The key commands of key position;
Red outer code data library is inquired according to the name information, extraction instructs infrared code file accordingly, presses by described in The infrared code file of key orders and instructions is compared, and obtains corresponding infrared ray remotes control code.
3. the infrared household electrical appliances cloud control method based on wechat public platform as described in claim 1, which is characterized in that described to institute It states infrared ray remotes control code and name information is encoded, and the main information that coding obtains is issued by communications protocol, wrap Include following steps;
The infrared ray remotes control code and name information are encoded, main information is obtained;The main information is assisted by MQTT View is issued.
4. the infrared household electrical appliances cloud control method as described in any one of claims 1-3 based on wechat public platform, which is characterized in that It is further comprising the steps of;
Before selecting soft remote controler by the wechat public platform of mobile terminal and obtaining corresponding name information, obtained by mobile terminal The two dimensional code for taking integrated processing module, according to the two dimensional code using airkiss technology to integrated processing module and Cloud Server Distribution is carried out, the binding of mobile terminal and integrated processing module is completed;And after the completion of distribution, make integrated processing module and cloud service Device carries out data interaction by MQTT agreement.
5. the infrared household electrical appliances cloud control method as described in any one of claims 1-3 based on wechat public platform, which is characterized in that It is further comprising the steps of;
Before selecting soft remote controler by the wechat public platform of mobile terminal and obtaining corresponding name information, size letter is obtained Breath, key information, style information and shift position;According to the dimension information, key information, style information and mobile position It sets and generates soft remote controler using preset remote control design tool.
6. a kind of infrared household electrical appliances cloud control system based on wechat public platform, which is characterized in that including enquiry module, coding mould Block, pushing module and remote control module;
The enquiry module selects soft remote controler for the wechat public platform by mobile terminal and obtains corresponding name information, Corresponding key commands are generated in response to soft remote controler described in user's operation, according to the key commands and name information to infrared Code database is inquired, and corresponding infrared ray remotes control code is obtained;
The coding module, for encoding to the infrared ray remotes control code and name information, and the main body that coding is obtained is believed Breath is issued by communications protocol;
The pushing module, for by Cloud Server and corresponding communications protocol, according to subscription rules by the main information Push to the integrated processing module being placed in the communication environment of infrared household electrical appliances to be controlled;
The remote control module, for being decoded to the main information, the infrared ray remotes control code that decoding is obtained passes through integrated place The infrared transmission module for managing module controls corresponding infrared electricity operation.
7. the infrared household electrical appliances cloud control system based on wechat public platform as claimed in claim 6, which is characterized in that the inquiry Module includes judging unit and comparing unit;
The judging unit is used for the soft remote controler according to user's operation, judges whether user presses the button;If user presses Key then generates the key commands of corresponding key position;
The comparing unit, for being inquired according to the name information red outer code data library, extraction instructs red accordingly The key commands are compared with infrared code file is instructed, obtain corresponding infrared ray remotes control code by outer code file.
8. the infrared household electrical appliances cloud control system based on wechat public platform as claimed in claim 6, which is characterized in that the coding Module is also used to;
The infrared ray remotes control code and name information are encoded, main information is obtained;The main information is assisted by MQTT View is issued.
9. such as the described in any item infrared household electrical appliances cloud control systems based on wechat public platform of claim 6-8, which is characterized in that It further include binding module;
The binding module, for selecting soft remote controler in the wechat public platform by mobile terminal and obtaining corresponding name information Before, the two dimensional code that integrated processing module is obtained by mobile terminal, according to the two dimensional code using airkiss technology to integrated place It manages module and Cloud Server carries out distribution, complete the binding of mobile terminal and integrated processing module;And after the completion of distribution, make to integrate Processing module and Cloud Server pass through the progress data interaction of MQTT agreement.
10. such as the described in any item infrared household electrical appliances cloud control systems based on wechat public platform of claim 6-8, feature exists In further including soft remote controler design module;
The soft remote controler designs module, for selecting soft remote controler in the wechat public platform by mobile terminal and obtaining corresponding Before name information, dimension information, key information, style information and shift position are obtained;According to the dimension information, key Information, style information and shift position generate soft remote controler using preset remote control design tool.
CN201811190794.7A 2018-10-12 2018-10-12 Infrared household electrical appliances cloud control method and system based on wechat public platform Pending CN109218146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811190794.7A CN109218146A (en) 2018-10-12 2018-10-12 Infrared household electrical appliances cloud control method and system based on wechat public platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811190794.7A CN109218146A (en) 2018-10-12 2018-10-12 Infrared household electrical appliances cloud control method and system based on wechat public platform

Publications (1)

Publication Number Publication Date
CN109218146A true CN109218146A (en) 2019-01-15

Family

ID=64979696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811190794.7A Pending CN109218146A (en) 2018-10-12 2018-10-12 Infrared household electrical appliances cloud control method and system based on wechat public platform

Country Status (1)

Country Link
CN (1) CN109218146A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110095992A (en) * 2019-06-21 2019-08-06 南京邮电大学 Smart home system based on wechat small routine
CN111127870A (en) * 2019-12-30 2020-05-08 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium
CN111901333A (en) * 2020-07-27 2020-11-06 广州卓远虚拟现实科技有限公司 MQTT protocol-based VR (virtual reality) man-machine interaction method and readable storage medium
CN112017415A (en) * 2020-08-24 2020-12-01 青岛海信传媒网络技术有限公司 Recommendation method of virtual remote controller, display device and mobile terminal
CN113129578A (en) * 2019-12-31 2021-07-16 深圳Tcl数字技术有限公司 Matching method, control method, system and storage medium of infrared equipment
CN113436429A (en) * 2021-06-23 2021-09-24 杭州萤石软件有限公司 Infrared code transmission method, intelligent infrared remote controller, intelligent terminal and system
CN113793495A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Wireless control method and device
CN113867534A (en) * 2021-09-30 2021-12-31 杭州纳帕科技有限公司 Method and system for one-key information interaction of auxiliary key of electric appliance

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297533A (en) * 2013-06-08 2013-09-11 无锡德思普科技有限公司 Method for controlling household appliances through Wechat in remote mode
CN104359237A (en) * 2014-11-10 2015-02-18 南通大学 Remote control method for solar water heater
CN106162245A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of Intelligent TV remote control method and system
CN106302040A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Control method and device of intelligent household appliance and terminal
CN106878436A (en) * 2017-03-02 2017-06-20 深圳酷宅科技有限公司 A kind of Hotel Guest Room Control System based on intelligent gateway
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107342933A (en) * 2017-06-16 2017-11-10 上海庆科信息技术有限公司 A kind of activation of smart machine and binding method and device
CN107360454A (en) * 2017-06-28 2017-11-17 百视通网络电视技术发展有限责任公司 A kind of tv remote control system and method based on mobile terminal wechat small routine
CN108062230A (en) * 2018-01-04 2018-05-22 安徽大学 Serial port transparent transmission and program updating system and method in Internet range

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297533A (en) * 2013-06-08 2013-09-11 无锡德思普科技有限公司 Method for controlling household appliances through Wechat in remote mode
CN104359237A (en) * 2014-11-10 2015-02-18 南通大学 Remote control method for solar water heater
CN106162245A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of Intelligent TV remote control method and system
CN106302040A (en) * 2016-08-01 2017-01-04 珠海格力电器股份有限公司 Control method and device of intelligent household appliance and terminal
CN106878436A (en) * 2017-03-02 2017-06-20 深圳酷宅科技有限公司 A kind of Hotel Guest Room Control System based on intelligent gateway
CN107342933A (en) * 2017-06-16 2017-11-10 上海庆科信息技术有限公司 A kind of activation of smart machine and binding method and device
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107360454A (en) * 2017-06-28 2017-11-17 百视通网络电视技术发展有限责任公司 A kind of tv remote control system and method based on mobile terminal wechat small routine
CN108062230A (en) * 2018-01-04 2018-05-22 安徽大学 Serial port transparent transmission and program updating system and method in Internet range

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110095992A (en) * 2019-06-21 2019-08-06 南京邮电大学 Smart home system based on wechat small routine
CN111127870A (en) * 2019-12-30 2020-05-08 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium
CN111127870B (en) * 2019-12-30 2021-09-21 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium
CN113129578A (en) * 2019-12-31 2021-07-16 深圳Tcl数字技术有限公司 Matching method, control method, system and storage medium of infrared equipment
CN111901333A (en) * 2020-07-27 2020-11-06 广州卓远虚拟现实科技有限公司 MQTT protocol-based VR (virtual reality) man-machine interaction method and readable storage medium
CN112017415A (en) * 2020-08-24 2020-12-01 青岛海信传媒网络技术有限公司 Recommendation method of virtual remote controller, display device and mobile terminal
CN113436429A (en) * 2021-06-23 2021-09-24 杭州萤石软件有限公司 Infrared code transmission method, intelligent infrared remote controller, intelligent terminal and system
CN113436429B (en) * 2021-06-23 2023-12-12 杭州萤石软件有限公司 Infrared code transmission method, intelligent infrared remote controller, intelligent terminal and system
CN113793495A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Wireless control method and device
CN113867534A (en) * 2021-09-30 2021-12-31 杭州纳帕科技有限公司 Method and system for one-key information interaction of auxiliary key of electric appliance

Similar Documents

Publication Publication Date Title
CN109218146A (en) Infrared household electrical appliances cloud control method and system based on wechat public platform
CN108989879B (en) Screen projection control method, device and system
EP3640936B1 (en) Apparatus control device, method, and apparatus having same
CN113412469B (en) Equipment network distribution method and device, electronic equipment and storage medium
CN103914973B (en) The method and system of infrared learning are carried out using Cloud Server
CN103237058B (en) The learning method of infrared control
CN107204903B (en) Intelligent household system and control method thereof
US11020861B2 (en) Intelligent device system and intelligent device control method
TWI512489B (en) Multi-screen interactive method, center equipment, terminal equipment and systems
WO2011088676A1 (en) Home appliance remote control method and wireless network card
CN105700365A (en) Generation method and device for household electrical appliance control interface of mobile terminal
CN103379154A (en) Household appliance control method, cloud system, family gateway general control device and household appliance controller
CN103442279B (en) A kind of based on Set Top Box and the interactive system of intelligent television and method
CN105301978B (en) A kind of connection method and mobile terminal
CN103269409A (en) Household appliance control system and method for controlling household appliance by using smart mobile phone
CN108563208A (en) Intelligent domestic system and its control method
CN111970180B (en) Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN110932953A (en) Intelligent household control method and device, computer equipment and storage medium
CN102833221A (en) Method, client side, server and system for realizing intelligent remote control of household appliances
CN111123875A (en) Intelligent household control method and system and intelligent tea table
CN103901863A (en) Intelligent home control system and method based on live-action control interface
CN105703984B (en) A kind of connection method and mobile terminal
CN103747067A (en) Data configuration method based on digital home intelligent gateway
CN104717135B (en) Method and device for realizing intelligent household gateway
CN112217694A (en) Intelligent kitchen solution based on Internet of things platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115

RJ01 Rejection of invention patent application after publication