CN105739464A - Main control communication method used for intelligent household electrical appliances - Google Patents
Main control communication method used for intelligent household electrical appliances Download PDFInfo
- Publication number
- CN105739464A CN105739464A CN201610057560.XA CN201610057560A CN105739464A CN 105739464 A CN105739464 A CN 105739464A CN 201610057560 A CN201610057560 A CN 201610057560A CN 105739464 A CN105739464 A CN 105739464A
- Authority
- CN
- China
- Prior art keywords
- intelligent
- chip
- instruction
- intelligent chip
- traditional die
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000011112 process operation Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004378 air conditioning Methods 0.000 description 3
- 235000019504 cigarettes Nutrition 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
- G05B19/4186—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
- H04L41/0661—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
The invention relates to the serial port communication technology, and discloses a main control communication method used for intelligent household electrical appliances. The problem of the conventional intelligent household electrical appliances of the bad influence of the incompatible main control communication on the intelligentization technology development can be solved. The main control communication method is characterized in that A, serial ports can be initialized, an intelligent chip is used to automatically select serial port configuration corresponding to a conventional chip; B, the intelligent chip is used to transmit the device determining instruction to the conventional chip, and the configuration adopting the corresponding products and the instruction protocol can be determined according to the data returned by the conventional chip; C, the intelligent chip is used to process the intelligent instruction to the basic control instruction, which can be transmitted to the conventional chip for the execution; D, the intelligent chip is used to transmit the query instructions to the conventional chip regularly, and the running state of the device can be queried; E, the conventional chip is used to transmit the current running state of the device to the intelligent chip after receiving the query instructions; F, the intelligent chip and the conventional chip are used to determine whether the running state and the communication of the opposite side is normal according to the regular query instructions, and when the faults are monitored, the corresponding fault processing operation can be carried out.
Description
Technical field
The present invention relates to serial port communication technology, particularly to Master Communications method in intelligent appliance equipment.
Background technology
Along with the development of science and technology, Internet of Things product more and more comes into our life, and intelligent appliance etc. has become a part for our life.Air-conditioning, refrigerator and all kinds of small household appliances add intelligent appliance extended family one after another, but in all kinds of household electrical appliances of current each manufacturer, Master Communications, namely the 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 the development of intelligent appliance technology, but needs all-embracing as GB, and practical situation needs to formulate the compatibility meeting GB but the communication protocol of non-redundancy.
Intelligent chip, i.e. system level chip (SystemonChip;SOC), it is mainly used in storage and processes the running status of home appliance, control logic and the chip of intelligent logic.
Traditional die, i.e. micro-control unit (MicrocontrollerUnit;MCU), mainly for the treatment of the chip of the basic controlling of home appliance and home appliance running status.
Summary of the invention
The technical problem to be solved is: proposes a kind of Master Communications method in intelligent appliance equipment, solves current all kinds of intelligent appliance equipment Master Communications incompatible, the problem affecting intellectualized technology development.
The technical solution adopted for the present invention to solve the technical problems is: Master Communications method in intelligent appliance equipment, comprises the following steps:
A, initialization serial ports, intelligent chip automatically selects serial ports configuration corresponding with traditional die;
B, intelligent chip send equipment decision instruction to traditional die, determine, according to the data that traditional die returns, the configuration and command protocols that adopt corresponding product;
Intellectuality instruction is processed into basic controlling instruction by C, intelligent chip, to be sent to traditional die execution;
The timing of D, intelligent chip sends query statement, query facility running status to traditional die;
E, traditional die send current device running status to intelligent chip after receiving query statement;
Each through timing query statement, F, intelligent chip and traditional die judge that whether the other side's running status and communication be normal, then carry out corresponding failure process operation as monitored fault.
Further, in step F, described corresponding failure processes operation and includes: restarts or reconnects.
The invention has the beneficial effects as follows: communication protocol meets GB, solve the problem that all kinds of intelligent appliance equipment Master Communications is incompatible, it is adaptable to the intelligent artifacts such as air-conditioning, refrigerator, cigarette stove and all kinds of small household appliances.
Accompanying drawing explanation
Fig. 1 is embodiment master control communication work flow chart;
Fig. 2 is embodiment master control communication instruction agreement.
Detailed description of the invention
It is contemplated that propose a kind of Master Communications method in intelligent appliance equipment, solve current all kinds of intelligent appliance equipment Master Communications incompatible, the problem affecting intellectualized technology development.
Embodiment:
Master Communications method in this example includes:
Step one, initialization serial ports, intelligent chip automatically selects serial ports configuration corresponding with traditional die;
Step 2, intelligent chip send equipment decision instruction to traditional die, determine, according to the data that traditional die returns, the configuration and command protocols that adopt corresponding product;
Intellectuality instruction is processed into basic controlling instruction by step 3, intelligent chip, to be sent to traditional die execution;
Step 4, intelligent chip timing (0.5s) send query statement, query facility running status to traditional die;
Step 5, traditional die send current device running status to intelligent chip after receiving query statement;
Each through timing query statement, step 6, intelligent chip and traditional die judge that whether the other side's running status and communication be normal, then carry out, as monitored fault, fault handling operation such as restarting or reconnect.
As shown in Figure 1, first serial ports is initialized, thus realizing intelligent chip and the corresponding serial ports configuration of traditional die, then equipment judgement is carried out, namely by intelligent chip to traditional die query facility model, respective communication agreement (such as serial ports air-conditioning communication protocol is selected according to unit type, serial ports refrigerator communication protocol, serial ports cigarette machine communication protocol etc.), after determining configuration parameter and communication protocol, intelligent chip just can send corresponding control instruction to equipment, this transmission being directed to the encapsulation to serial data bag and parsing and serial data bag and reception, instruction is processed into elementary instruction be sent to traditional die and perform.
The serial port communicating protocol between intelligent control chip and Traditional control chip in the present invention, judges agreement, control protocol, vlan query protocol VLAN, upper datagram protocol including equipment.
Equipment judges agreement: refer to that specific format instruction is sent to MCU, MCU returning equipment type and model to SOC by SOC in master control communication initialization process, in order to next communication is to take corresponding agreement.
Control protocol: refer to that SOC will need the home appliance state changed, be packaged into communication bag according to GB consensus standard, be sent to after MCU, MCU resolve by serial ports and change home appliance state.
Vlan query protocol VLAN: refer to that SOC is by specific command status, is packaged into communication bag according to GB consensus standard, is sent to MCU by serial ports.
Upper datagram protocol: refer to that MCU is by all for home appliance running statuses, is packaged into communication bag according to GB consensus standard, is sent to after SOC, SOC resolve by serial ports and preserves home appliance state.
This serial communication protocol implement as in figure 2 it is shown, below each ingredient is specifically described:
Frame head: Byte1+Byte2 represents the beginning of a frame, and content is 0xF40xF5, and frame head length is 2 bytes.
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 model.
Frame length: the byte number of whole frame length, query statement is 7 bytes, and equipment decision instruction is 5 bytes, arranges instruction and depends on the circumstances.
Device type, concrete model: SOC end gets the type of current device and concrete model after sending query statement from MCU end.
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 a command unit, and namely command sequence number (1 byte), byte n (1 byte) shared by command code and command code (n byte) form;Multimode instruction comprises a plurality of command unit;Total state instruction comprises all of command unit.
Verification: all bytes above are added, not calculation overflow.
Claims (2)
1. Master Communications method in intelligent appliance equipment, it is characterised in that comprise the following steps:
A, initialization serial ports, intelligent chip automatically selects serial ports configuration corresponding with traditional die;
B, intelligent chip send equipment decision instruction to traditional die, determine, according to the data that traditional die returns, the configuration and command protocols that adopt corresponding product;
Intellectuality instruction is processed into basic controlling instruction by C, intelligent chip, to be sent to traditional die execution;
The timing of D, intelligent chip sends query statement, query facility running status to traditional die;
E, traditional die send current device running status to intelligent chip after receiving query statement;
Each through timing query statement, F, intelligent chip and traditional die judge that whether the other side's running status and communication be normal, then carry out corresponding failure process operation as monitored fault.
2. Master Communications method in intelligent appliance equipment as claimed in claim 1, it is characterised in that in step F, described corresponding failure processes operation and includes: restarts or reconnects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610057560.XA CN105739464B (en) | 2016-01-27 | 2016-01-27 | Master Communications method in intelligent appliance equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610057560.XA CN105739464B (en) | 2016-01-27 | 2016-01-27 | Master Communications method in intelligent appliance equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105739464A true CN105739464A (en) | 2016-07-06 |
CN105739464B CN105739464B (en) | 2018-11-30 |
Family
ID=56246731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610057560.XA Active CN105739464B (en) | 2016-01-27 | 2016-01-27 | Master Communications method in intelligent appliance equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105739464B (en) |
Cited By (4)
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 |
CN106850363A (en) * | 2017-01-17 | 2017-06-13 | 新智数字科技有限公司 | A kind of data communication method and device |
CN108509366A (en) * | 2018-03-22 | 2018-09-07 | 成都泰盟软件有限公司 | A kind of embedded intelligence serial port implementing method |
CN112261605A (en) * | 2020-10-27 | 2021-01-22 | 合肥美菱物联科技有限公司 | Communication method of Internet of things tea bar machine |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002063916A1 (en) * | 2001-02-03 | 2002-08-15 | Bae-Gyu Yeo | Wireless power switching system and method of controlling the same |
CN104079626A (en) * | 2014-05-21 | 2014-10-01 | 四川长虹电器股份有限公司 | Communication method for multiple indoor units and multiple outdoor units of air conditioners |
CN104426928A (en) * | 2013-08-22 | 2015-03-18 | 中国科学院计算机网络信息中心 | Heterogeneous intelligent household electrical appliance intercommunication control method based on identification service of Internet of things |
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 |
CN105116797A (en) * | 2015-07-31 | 2015-12-02 | 上海卫星工程研究所 | Multichannel high-speed data collecting and editing SOC chip |
-
2016
- 2016-01-27 CN CN201610057560.XA patent/CN105739464B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002063916A1 (en) * | 2001-02-03 | 2002-08-15 | Bae-Gyu Yeo | Wireless power switching system and method of controlling the same |
CN104426928A (en) * | 2013-08-22 | 2015-03-18 | 中国科学院计算机网络信息中心 | Heterogeneous intelligent household electrical appliance intercommunication control method based on identification service of Internet of things |
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 |
CN105116797A (en) * | 2015-07-31 | 2015-12-02 | 上海卫星工程研究所 | Multichannel high-speed data collecting and editing SOC chip |
Cited By (6)
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 |
CN106850363A (en) * | 2017-01-17 | 2017-06-13 | 新智数字科技有限公司 | A kind of data communication method and device |
CN106850363B (en) * | 2017-01-17 | 2020-07-07 | 新智数字科技有限公司 | Data communication method and device |
CN108509366A (en) * | 2018-03-22 | 2018-09-07 | 成都泰盟软件有限公司 | A kind of embedded intelligence serial port implementing method |
CN112261605A (en) * | 2020-10-27 | 2021-01-22 | 合肥美菱物联科技有限公司 | Communication method of Internet of things tea bar machine |
Also Published As
Publication number | Publication date |
---|---|
CN105739464B (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105739464A (en) | Main control communication method used for intelligent household electrical appliances | |
CN102761391B (en) | Oil field Internet of Things system communication method | |
CN104735143A (en) | Batch control system and method based on smart home cloud platform | |
CN105807618B (en) | Control method and first central control equipment | |
CN106961658A (en) | Internet of things home appliance equipment off-line restoration methods and networking module | |
CN109067734B (en) | Dynamic configuration method of communication protocol, wireless communication device and household appliance | |
CN105591817B (en) | A kind of negotiation mode processing method and Intelligent Network Element | |
CN107493349A (en) | Household intelligent gateway control system and method based on WebSocket | |
EP3197109A1 (en) | Sdn architecture, sdn architecture-based message forwarding method | |
CN104486783A (en) | Multi-state wireless gateway system for multi-state wireless monitoring network and control method | |
WO2017028490A1 (en) | Cim system, control method and production informatization system | |
CN105843046A (en) | Intelligent household electrical appliance master control communication method and system thereof | |
CN113282587B (en) | Method and device for transmitting state data, storage medium and electronic device | |
CN112003753B (en) | Expected value judgment, acquisition, transmission and monitoring system and method based on configurable gateway | |
CN104202239A (en) | Communication method, communication system and refrigerator | |
CN105922261B (en) | A kind of robot controller and its control method | |
CN105393494B (en) | The communication means and device of intelligent object are used in home network | |
CN107229586B (en) | Communication means based on RS485 bridge circuit device | |
CN105138379A (en) | Method for on-line upgrading based on Ymodem protocol | |
CN104703250A (en) | Method for configuring PANID (personal area network identifier) on ZigBee terminal | |
CN109673044A (en) | Communication control method, chip, the gateway apparatus of chip | |
CN102075529B (en) | Open building automatic control network protocol conversion device and method | |
CN105245251B (en) | A kind of data buffering method based on carrier communication | |
CN103941680A (en) | DCS data communication system of heterogeneous communication network | |
CN112134771B (en) | Half-duplex communication method for refrigerator and refrigerator |
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 |