CN105843046A - Intelligent household electrical appliance master control communication method and system thereof - Google Patents

Intelligent household electrical appliance master control communication method and system thereof Download PDF

Info

Publication number
CN105843046A
CN105843046A CN201610154295.7A CN201610154295A CN105843046A CN 105843046 A CN105843046 A CN 105843046A CN 201610154295 A CN201610154295 A CN 201610154295A CN 105843046 A CN105843046 A CN 105843046A
Authority
CN
China
Prior art keywords
intelligent
traditional die
chip
intelligent chip
instruction
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
CN201610154295.7A
Other languages
Chinese (zh)
Other versions
CN105843046B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610154295.7A priority Critical patent/CN105843046B/en
Publication of CN105843046A publication Critical patent/CN105843046A/en
Application granted granted Critical
Publication of CN105843046B publication Critical patent/CN105843046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses an intelligent household electrical appliance master control communication method and a system thereof. The method comprises the following steps that an intelligent chip sends an equipment determination instruction to a traditional chip, the traditional chip returns tradition chip parameter data to the intelligent chip according to the determination instruction, and the intelligent chip determines to use a corresponding serial port protocol according to data returned by the traditional chip; the intelligent chip sends a query instruction to the traditional chip regularly so as to inquire an equipment operation state; the traditional chip receives the query instruction and then sends the current equipment operation state to the intelligent chip; and the intelligent chip sends information which can be used to process an intelligent instruction into a basic control instruction to the traditional chip according to the equipment operation state so that the traditional chip can execute the information. By using the method and the system, a technical problem that communication difference between the traditional chip and the intelligent chip is large is solved, and intelligent household electrical appliance equipment master control communication of manufacturers can be compatible, which is good for intelligent technology development.

Description

Intelligent appliance Master Communications method and system
Technical field
The present invention relates to serial port communication technology field, be specifically related to the master control communication in a kind of intelligent appliance equipment Method and system.
Background technology
Internet of Things product more and more comes into our life, and intelligent appliance etc. has become that we live Part.
Air-conditioning, refrigerator and all kinds of small household appliances add intelligent appliance extended family one after another, but current all kinds of manufacturer Household electrical appliances in Master Communications, i.e. communication differences between traditional die and intelligent chip is very big and incompatible, This causes obstruction to the development of "smart" products.
Country it is also proposed relevant GB draft, in the way of specification Master Communications, promotes intelligent appliance skill The development of art, but all-embracing as needing for GB, and practical situation needs to formulate and meets holding concurrently of GB Hold but the communication protocol of not redundancy.
Summary of the invention
Instant invention overcomes the deficiencies in the prior art, it is provided that a kind of intelligent appliance Master Communications method and system, Communication differences for solving between current traditional die and intelligent chip is very big, and incompatible technical problem.
In view of the problems referred to above of prior art, according to an aspect disclosed by the invention, the present invention use with Lower technical scheme:
A kind of intelligent appliance Master Communications method, it includes:
Intelligent chip to traditional die send equipment decision instruction, traditional die according to described decision instruction to institute State intelligent chip and return traditional die supplemental characteristic, the number that described intelligent chip returns according to described traditional die According to determining the corresponding serial port protocol of employing;
Intelligent chip timing sends query statement, query facility running status to traditional die;
Traditional die sends current device running status to intelligent chip after receiving query statement;
Intellectuality instruction is processed into basic controlling according to equipment running status to traditional die transmission by intelligent chip The information of instruction performs to traditional die.
In order to the present invention is better achieved, further technical scheme is:
According to one embodiment of the invention, described intelligent chip and traditional die the most all looking into by timing Ask instruction and judge that the other side's running status and communication are the most normal.
According to another embodiment of the invention, described intelligent chip timing 0.5s sends to traditional die and looks into Ask instruction.
The present invention it may also is that
A kind of intelligent appliance Master Communications system, it is characterised in that it includes intelligent chip and traditional die, institute State and comprise Master Communications agreement, described Master Communications for the instruction operated between intelligent chip and traditional die Agreement includes:
Equipment judges protocol module, during master control communication initialization, is used for controlling intelligent chip transmission and sentences Fixed instruction to traditional die, and traditional die according to the decision instruction returning equipment type received and model to Intelligent chip;
Control protocol module, in the case of intelligent chip needs to change home appliance state, for controlling Instruction is packaged into communication bag according to GB consensus standard, is sent to traditional die, traditional die solution by serial ports Home appliance state is changed after analysis;
Vlan query protocol VLAN module, for being packaged into communication bag by query statement according to GB consensus standard, by string Mouth is sent to traditional die;
Report protocol module, for traditional die, the running status of home appliance is sealed according to GB consensus standard Dressing up communication bag, be sent to intelligent chip by serial ports, intelligent chip preserves home appliance state after resolving.
Compared with prior art, one of beneficial effects of the present invention is:
A kind of intelligent appliance Master Communications method and system of the present invention, it is adaptable to air-conditioning, refrigerator, cigarette stove with And the intelligent artifact such as all kinds of small household appliances, solve the skill that communication differences between traditional die and intelligent chip is bigger Art problem so that the intelligent appliance equipment Master Communications of each producer can be compatible, beneficially intellectualized technology Development.
Accompanying drawing explanation
For clearer explanation present specification embodiment or technical scheme of the prior art, below by right In the description of embodiment or prior art, the required accompanying drawing used is briefly described, it should be apparent that under, Accompanying drawing during face describes is only to the reference of some embodiments in present specification, for those skilled in the art From the point of view of, in the case of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 shows master control communication work schematic flow sheet according to an embodiment of the invention.
Fig. 2 shows master control communication instruction agreement schematic diagram according to an embodiment of the invention.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention do not limit In this.
Embodiment 1
As it is shown in figure 1, a kind of intelligent appliance Master Communications method, including:
Step one, initialization serial ports, intelligent chip automatically selects serial ports corresponding with traditional die configuration;
Step 2, intelligent chip send equipment decision instruction to traditional die, the number returned according to traditional die According to determining the configuration and command protocols using corresponding product;
Intellectuality instruction is processed into basic controlling instruction by step 3, intelligent chip, to be sent to traditional die Perform;
Step 4, intelligent chip timing (0.5s) send query statement to traditional die, and query facility runs State;
Step 5, traditional die send current device running status to intelligent chip after receiving query statement;
Step 6, intelligent chip and traditional die all by timing query statement judge the other side's running status and Communication is the most normal, then carries out, as monitored fault, fault handling operation such as restarting or reconnect.
Embodiment 2
Meet the intelligent appliance Master Communications agreement of GB, refer to intelligent control chip and Traditional control chip it Between serial port communicating protocol, including equipment judge agreement, control protocol, vlan query protocol VLAN, upper datagram protocol.
Intelligent control chip, i.e. system level chip (System on Chip;SOC), be mainly used in storage and Process the running status of home appliance, control logic and the chip of intelligent logic.
Traditional control chip, i.e. micro-control unit (Microcontroller Unit;MCU), it is mainly used in place The basic controlling of reason home appliance and the chip of home appliance running status.
Equipment judges agreement: refer to that specific format instruction is sent to by SOC during master control communication initialization MCU, MCU returning equipment type and model are to SOC, in order to next communication is to take corresponding agreement.
Control protocol: refer to that SOC will need the home appliance state changed, encapsulate according to GB consensus standard Become communication bag, be sent to change home appliance state after MCU, MCU resolve by serial ports.
Vlan query protocol VLAN: refer to that SOC, by specific command status, is packaged into communication bag according to GB consensus standard, It is sent to MCU by serial ports.
Upper datagram protocol: after referring to the above behavior, MCU is by all for home appliance running statuses, according to GB Consensus standard is packaged into communication bag, is sent to preserve home appliance state after SOC, SOC resolve by serial ports.
Serial communication: require the Serial Communication formulated according to GB hardware and software.
Embodiment 3
As in figure 2 it is shown, the concrete communication protocol content of technical scheme is further elaborated:
Frame head: Byte1+Byte2 represents the beginning of a frame, and content is 0xF4 0xF5, frame head a length of 2 Individual byte.
Frame type: represent that this frame is what type of frame, query statement is used for query facility current operating conditions; Arrange instruction to send for control command and state return;Equipment judges to be used for judging current device type and type Number.
Frame length: the byte number of whole frame length, query statement is 7 bytes, and equipment decision instruction is 5 bytes, Arrange instruction to depend on the circumstances.
Device type, concrete model: after SOC end sends query statement, get current device from MCU end Type and concrete model.
Instruction type: the type of instruction is set, point single state, multimode and total state three kinds.
Number of instructions: the number of basic controlling order in instruction is set.
Content: the content of basic controlling order in instruction is set.Single status command comprises an order unit, I.e. byte n (1 byte) shared by command sequence number (1 byte), command code and command code (n byte) composition; Multimode instruction comprises a plurality of order unit;Total state instruction comprises all of order unit.
Verification: all bytes above are added, not calculation overflow.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is With the difference of other embodiments, identical similar portion cross-reference between each embodiment.
" embodiment ", " another embodiment ", " embodiment " spoken of in this manual, etc., The specific features, structure or the feature that refer to combine the description of this embodiment are included in the description of the application generality At least one embodiment in.The most multiple local occur statement of the same race be not necessarily refer to same Individual embodiment.Furthermore, it is understood that combine any embodiment when describing a specific features, structure or feature, To be advocated other embodiments that combine also fall in the present invention to realize this feature, structure or feature In the range of.
Although reference be made herein to invention has been described for the multiple explanatory embodiment of the present invention, but, should This understanding, those skilled in the art can be designed that a lot of other amendments and embodiment, these amendment and Embodiment will fall within spirit disclosed in the present application and spirit.More specifically, public in the application Open with claim in the range of, the building block of theme composite configuration and/or layout can be carried out multiple change Type and improvement.In addition to the modification that building block and/or layout are carried out and improvement, for people in the art For Yuan, other purposes also will be apparent from.

Claims (4)

1. an intelligent appliance Master Communications method, it is characterised in that it includes:
Intelligent chip to traditional die send equipment decision instruction, traditional die according to described decision instruction to institute State intelligent chip and return traditional die supplemental characteristic, the number that described intelligent chip returns according to described traditional die According to determining the corresponding serial port protocol of employing;
Intelligent chip timing sends query statement, query facility running status to traditional die;
Traditional die sends current device running status to intelligent chip after receiving query statement;
Intellectuality instruction is processed into basic controlling according to equipment running status to traditional die transmission by intelligent chip The information of instruction performs to traditional die.
Intelligent appliance Master Communications method the most according to claim 1, it is characterised in that described intelligence core By the query statement of timing, sheet and traditional die the most all judge that the other side's running status and communication are the most normal.
Intelligent appliance Master Communications method the most according to claim 1, it is characterised in that described intelligence core Sheet timing 0.5s sends query statement to traditional die.
4. an intelligent appliance Master Communications system, it is characterised in that it includes intelligent chip and traditional die, Between described intelligent chip and traditional die, the instruction for operation comprises Master Communications agreement, and described master control is led to Letter agreement includes:
Equipment judges protocol module, during master control communication initialization, is used for controlling intelligent chip transmission and sentences Fixed instruction to traditional die, and traditional die according to the decision instruction returning equipment type received and model to Intelligent chip;
Control protocol module, in the case of intelligent chip needs to change home appliance state, for controlling Instruction is packaged into communication bag according to GB consensus standard, is sent to traditional die, traditional die solution by serial ports Home appliance state is changed after analysis;
Vlan query protocol VLAN module, for being packaged into communication bag by query statement according to GB consensus standard, by string Mouth is sent to traditional die;
Report protocol module, for traditional die, the running status of home appliance is sealed according to GB consensus standard Dressing up communication bag, be sent to intelligent chip by serial ports, intelligent chip preserves home appliance state after resolving.
CN201610154295.7A 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system Active CN105843046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154295.7A CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154295.7A CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Publications (2)

Publication Number Publication Date
CN105843046A true CN105843046A (en) 2016-08-10
CN105843046B CN105843046B (en) 2020-03-17

Family

ID=56587358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154295.7A Active CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Country Status (1)

Country Link
CN (1) CN105843046B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338974A (en) * 2016-08-31 2017-01-18 杭州古北电子科技有限公司 Method for enabling WiFi module to adapt to communication protocols of different devices
CN109782615A (en) * 2018-12-28 2019-05-21 宁波智轩物联网科技有限公司 A kind of home theater control system
CN112261605A (en) * 2020-10-27 2021-01-22 合肥美菱物联科技有限公司 Communication method of Internet of things tea bar machine

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
CN101826979A (en) * 2010-02-26 2010-09-08 中山大学 Intelligent home appliance system
WO2013071999A1 (en) * 2011-11-15 2013-05-23 Giesecke & Devrient Gmbh Smart home appliance, smart home control unit, smart home system and method for incorporating a smart home appliance into a smart home system
CN103217963A (en) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 General intelligent housing system
CN103268089A (en) * 2013-04-27 2013-08-28 四川长虹电器股份有限公司 Smart home control method based on WiFi communication
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN103796071A (en) * 2013-11-06 2014-05-14 四川长虹电器股份有限公司 Interaction method of smart phone and intelligent household electrical appliance
CN104079626A (en) * 2014-05-21 2014-10-01 四川长虹电器股份有限公司 Communication method for multiple indoor units and multiple outdoor units of air conditioners
CN104796688A (en) * 2015-03-20 2015-07-22 四川长虹电器股份有限公司 Method for detecting device activity state through CEC communication
CN105045109A (en) * 2015-05-26 2015-11-11 海信集团有限公司 Control method for terminal equipment, and network node equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
CN101826979A (en) * 2010-02-26 2010-09-08 中山大学 Intelligent home appliance system
WO2013071999A1 (en) * 2011-11-15 2013-05-23 Giesecke & Devrient Gmbh Smart home appliance, smart home control unit, smart home system and method for incorporating a smart home appliance into a smart home system
CN103217963A (en) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 General intelligent housing system
CN103268089A (en) * 2013-04-27 2013-08-28 四川长虹电器股份有限公司 Smart home control method based on WiFi communication
CN103796071A (en) * 2013-11-06 2014-05-14 四川长虹电器股份有限公司 Interaction method of smart phone and intelligent household electrical appliance
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104079626A (en) * 2014-05-21 2014-10-01 四川长虹电器股份有限公司 Communication method for multiple indoor units and multiple outdoor units of air conditioners
CN104796688A (en) * 2015-03-20 2015-07-22 四川长虹电器股份有限公司 Method for detecting device activity state through CEC communication
CN105045109A (en) * 2015-05-26 2015-11-11 海信集团有限公司 Control method for terminal equipment, and network node equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338974A (en) * 2016-08-31 2017-01-18 杭州古北电子科技有限公司 Method for enabling WiFi module to adapt to communication protocols of different devices
CN106338974B (en) * 2016-08-31 2018-11-23 杭州古北电子科技有限公司 A method of so that WiFi module is adapted to plurality of devices communications protocol
CN109782615A (en) * 2018-12-28 2019-05-21 宁波智轩物联网科技有限公司 A kind of home theater control system
CN112261605A (en) * 2020-10-27 2021-01-22 合肥美菱物联科技有限公司 Communication method of Internet of things tea bar machine

Also Published As

Publication number Publication date
CN105843046B (en) 2020-03-17

Similar Documents

Publication Publication Date Title
CN112671638B (en) Gateway structure for multi-protocol conversion
CN108037675A (en) A kind of Intelligent household scene control method based on ZigBee Group
US20120076139A1 (en) Node, switch, and system
US9313050B2 (en) Method and gateway for extending EtherCAT network
CN103825821A (en) Message forwarding method and network access device
CN105843046A (en) Intelligent household electrical appliance master control communication method and system thereof
CN106921542A (en) Home gateway and intelligent domestic system
CN105739464B (en) Master Communications method in intelligent appliance equipment
CN107493349A (en) Household intelligent gateway control system and method based on WebSocket
CN107528747B (en) Method and device for diagnosing communication state of master station and slave station and computer readable storage medium
CN103179178A (en) Method and device for expanding member ports of aggregation groups among clusters
CN104486783A (en) Multi-state wireless gateway system for multi-state wireless monitoring network and control method
CN108449246A (en) A kind of intelligent domestic system based on instant message applications Yu Internet of Things Network Communication
CN204993962U (en) Light operator based on artnet transfer protocols
CN105049294B (en) The automated testing method of EAPS agreement MASTER switch ports state switching
WO2015058413A1 (en) Data configuration method and network management server
CN104703250A (en) Method for configuring PANID (personal area network identifier) on ZigBee terminal
CN102075529B (en) Open building automatic control network protocol conversion device and method
CN107783634A (en) A kind of control method and control system of server power supply
CN210274135U (en) Remote connection system
CN110149254A (en) Control method, wireless switching and the computer readable storage medium of wireless switching
CN108363322B (en) Engineering machinery control module, work machine control system and method
CN105554794A (en) Portable wireless ZigBee network configuration method
CN204046853U (en) A kind of toning of the RGB based on Zigbee controller
CN206283532U (en) A kind of data acquisition device

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