CN105739464B - Master Communications method in intelligent appliance equipment - Google Patents
Master Communications method in intelligent appliance equipment Download PDFInfo
- Publication number
- CN105739464B CN105739464B CN201610057560.XA CN201610057560A CN105739464B CN 105739464 B CN105739464 B CN 105739464B CN 201610057560 A CN201610057560 A CN 201610057560A CN 105739464 B CN105739464 B CN 105739464B
- Authority
- CN
- China
- Prior art keywords
- instruction
- traditional die
- intelligent chip
- intelligent
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 36
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 5
- 239000000203 mixture Substances 0.000 claims description 2
- 238000012795 verification Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000011161 development Methods 0.000 abstract description 5
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 238000013459 approach Methods 0.000 abstract 1
- 238000004378 air conditioning Methods 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000019504 cigarettes Nutrition 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000000779 smoke Substances 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 present invention relates to serial port communication technologies, and it discloses a kind of Master Communications method in intelligent appliance equipment, solving the problem of that current all kinds of intelligent appliance equipment Master Communications are incompatible influences intellectualized technology development.This approach includes the following steps:A, serial ports is initialized, intelligent chip automatically selects and the corresponding serial ports configuration of traditional die;B, intelligent chip determines the configuration and command protocols for using corresponding product according to the data that traditional die returns to traditional die sending device decision instruction;C, intelligence instruction is processed into basic control instruction by intelligent chip, to be sent to traditional die execution;D, intelligent chip timing sends inquiry instruction, query facility operating status to traditional die;E, traditional die receives and sends current device operating status to intelligent chip after inquiry instruction;F, intelligent chip and traditional die pass through timing inquiry instruction judge other side's operating status and communication it is whether normal, corresponding failure processing operation is carried out if monitoring failure.
Description
Technical field
The present invention relates to serial port communication technologies, in particular to Master Communications method in intelligent appliance equipment.
Background technique
With the development of science and technology, internet of things product more and more comes into our life, intelligent appliance etc. has become me
A part for living.Air-conditioning, refrigerator and all kinds of small household appliances are added intelligent appliance big family one after another, but at present each manufacturer
In all kinds of household electrical appliances, the communication differences between Master Communications, i.e. traditional die and intelligent chip are very big, and incompatible, this is to intelligence
The development for changing product causes obstruction.
Country also proposed relevant national standard draft, in a manner of specification Master Communications, promote the hair of intelligent appliance technology
Exhibition, but it is all-embracing as being needed for national standard, and actual conditions need to formulate the communication of the compatibility but non-redundancy that meet national standard
Agreement.
Intelligent chip, i.e. system level chip (System on Chip;SOC), it is mainly used for storing and processing household appliance
Operating status, control logic and intelligent logic chip.
Traditional die, i.e. micro-control unit (Microcontroller Unit;MCU), mainly for the treatment of household appliance
Basic control and household appliance operating status chip.
Summary of the invention
The technical problem to be solved by the present invention is to:It proposes a kind of Master Communications method in intelligent appliance equipment, solves mesh
The problem of preceding all kinds of intelligent appliance equipment Master Communications are incompatible, influence intellectualized technology development.
The technical solution adopted by the present invention to solve the technical problems is:Master Communications method in intelligent appliance equipment, packet
Include following steps:
A, serial ports is initialized, intelligent chip automatically selects and the corresponding serial ports configuration of traditional die;
B, intelligent chip determines according to the data that traditional die returns to traditional die sending device decision instruction and uses phase
Answer the configuration and command protocols of product;
C, intelligence instruction is processed into basic control instruction by intelligent chip, to be sent to traditional die execution;
D, intelligent chip timing sends inquiry instruction, query facility operating status to traditional die;
E, traditional die receives and sends current device operating status to intelligent chip after inquiry instruction;
F, intelligent chip and traditional die pass through whether just timing inquiry instruction judges other side's operating status and communication
Often, corresponding failure processing operation is carried out if monitoring failure.
Further, in step F, the corresponding failure processing operation includes:Restart or reconnects.
The beneficial effects of the invention are as follows:Communication protocol meets national standard, solves all kinds of intelligent appliance equipment Master Communications not
Compatible problem is suitable for the intellectual products such as air-conditioning, refrigerator, cigarette stove and all kinds of small household appliances.
Detailed description of the invention
Fig. 1 is embodiment master control communication work flow chart;
Fig. 2 is embodiment master control communication instruction agreement.
Specific embodiment
The present invention is directed to propose a kind of Master Communications method in intelligent appliance equipment, solves all kinds of intelligent appliance equipment at present
The problem of Master Communications are incompatible, influence intellectualized technology development.
Embodiment:
Master Communications method in this example includes:
Step 1: initialization serial ports, intelligent chip is automatically selected and the corresponding serial ports configuration of traditional die;
Step 2: intelligent chip is determined to traditional die sending device decision instruction according to the data that traditional die returns
Using the configuration and command protocols of corresponding product;
Step 3: intelligence instruction is processed into basic control instruction by intelligent chip, to be sent to traditional die execution;
Step 4: intelligent chip timing (0.5s) sends inquiry instruction, query facility operating status to traditional die;
Step 5: traditional die, which receives, sends current device operating status to intelligent chip after inquiry instruction;
Step 6: intelligent chip and traditional die pass through, timing inquiry instruction judges other side's operating status and communication is
It is no normal, restarted if monitoring failure or the fault handling operations such as reconnection.
As shown in Figure 1, being initialized first to serial ports, to realize that intelligent chip and the corresponding serial ports of traditional die are matched
It sets, then carries out equipment judgement, i.e., it is corresponding logical according to device model selection from intelligent chip to traditional die query facility model
Believe agreement (such as serial ports air-conditioning communication protocol, serial ports refrigerator communication protocol, serial ports smoke machine communication protocol etc.), is determining configuration ginseng
After several and communication protocol, intelligent chip can send corresponding control instruction to equipment, be related among these to serial data packet
Encapsulation with parse and serial data packet sends and receives, instruction be processed into elementary instruction be sent to traditional die and hold
Row.
Serial port communicating protocol between intelligent control chip in the present invention and Traditional control chip, including equipment determine association
View, control protocol, vlan query protocol VLAN, upper datagram protocol.
Equipment determines agreement:Refer to that during master control communication initialization, specific format instruction is sent to MCU, MCU by SOC
Returning equipment type and model are to take corresponding agreement in order to next communicate to SOC.
Control protocol:Refer to the household appliance state that SOC changes needs, is packaged into communication according to national standard consensus standard
Packet is sent to MCU by serial ports, changes household appliance state after MCU parsing.
Vlan query protocol VLAN:Refer to that SOC by specific command status, is packaged into communication packet according to national standard consensus standard, passes through string
Mouth is sent to MCU.
Upper datagram protocol:Refer to that MCU by all operating statuses of household appliance, is packaged into communication packet according to national standard consensus standard,
It is sent to SOC by serial ports, saves household appliance state after SOC parsing.
The specific implementation of the serial communication protocol is as shown in Fig. 2, be below specifically described each component part:
Frame head:Byte1+Byte2 indicates the beginning of a frame, content 0xF40xF5, and frame head length is 2 bytes.
Frame type:Indicate that this frame is what type of frame, inquiry instruction is used for query facility current operating conditions;Setting refers to
It enables sending for control command and be returned with state;Equipment determines for determining current device type and model.
Frame length:The byte number of entire frame length, inquiry instruction are 7 bytes, and equipment decision instruction is 5 bytes, setting instruction
It depends on the circumstances.
Device type, concrete model:After the end SOC sends inquiry instruction, the type and tool of current device are got from the end MCU
Figure number.
Instruction type:The type of instruction is set, point single state, multimode and three kinds of total state.
Number of instructions:The number of basic control command in instruction is set.
Content:The content of basic control command in instruction is set.Single status command includes an order unit, i.e. order sequence
Byte n (1 byte) shared by number (1 byte), command code and command code (n byte) composition;Multimode instruction includes a plurality of orders
Unit;Total state instruction includes all order units.
Verification:All bytes of front are added, not calculation overflow.
Claims (2)
1. Master Communications method in intelligent appliance equipment, which is characterized in that include the following steps:
A, serial ports is initialized, intelligent chip automatically selects and the corresponding serial ports configuration of traditional die;
B, intelligent chip is determined according to the data that traditional die returns and is produced using corresponding to traditional die sending device decision instruction
The configuration and command protocols of product;
C, intelligence instruction is processed into basic control instruction by intelligent chip, to be sent to traditional die execution;
D, intelligent chip timing sends inquiry instruction, query facility operating status to traditional die;
E, traditional die receives and sends current device operating status to intelligent chip after inquiry instruction;
F, intelligent chip and traditional die pass through timing inquiry instruction judge other side's operating status and communication it is whether normal, such as
Monitor that failure then carries out corresponding failure processing operation;
Described instruction agreement, including:
Frame head:Byte1+Byte2 indicates the beginning of a frame, and content is 0xF4 0xF5, and frame head length is 2 bytes;
Frame type:Indicate that this frame is what type of frame, inquiry instruction is used for query facility current operating conditions;Setting instruction is used
It is sent in control command and state returns;Equipment determines for determining current device type and model;
Frame length:The byte number of entire frame length, inquiry instruction are 7 bytes, and equipment decision instruction is 5 bytes, setting instruction view feelings
Depending on condition;
Device type, concrete model:After the end SOC sends inquiry instruction, the type and particular type of current device are got from the end MCU
Number;
Instruction type:The type of instruction is set, point single state, multimode and three kinds of total state;
Number of instructions:The number of basic control command in instruction is set;
Data content:The content of basic control command in instruction is set, and single status command includes an order unit, i.e. order sequence
Number, byte shared by command code and command code composition;Multimode instruction includes a plurality of order units;Total state instruction is comprising all
Order unit;
Verification:All bytes of front are added, not calculation overflow.
2. Master Communications method in intelligent appliance equipment as described in claim 1, which is characterized in that described corresponding in step F
Fault handling operation includes:Restart 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 CN105739464A (en) | 2016-07-06 |
CN105739464B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106338974B (en) * | 2016-08-31 | 2018-11-23 | 杭州古北电子科技有限公司 | A method of so that WiFi module is adapted to plurality of devices communications protocol |
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 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2016
- 2016-01-27 CN CN201610057560.XA patent/CN105739464B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105739464A (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105739464B (en) | Master Communications method in intelligent appliance equipment | |
CN103828305B (en) | For parametrization automated system or the system and method for the field apparatus of control system | |
US10445103B2 (en) | Mobile game data processing method and apparatus | |
WO2018188070A1 (en) | Conversion apparatus and control system | |
CN105099844B (en) | Media releasing method, media data acquisition methods and media issuing system | |
CN105807618B (en) | Control method and first central control equipment | |
CN105162732B (en) | Create the method, apparatus of ECP Extended Capabilities Port | |
CN104317764B (en) | A kind of real-time control method of 1553B buses asynchronous message | |
CN104796464A (en) | Multi-protocol conversion warning condition information remote transmission system and method based on MODBUS | |
WO2012112650A1 (en) | Method and apparatus for plug and play, networkable iso 18000-7 connectivity | |
CN105389278A (en) | CAN bus based serial communication method for master and slave machines | |
CN107204924B (en) | Link discovery method and device | |
CN105591817A (en) | Negotiation mode processing method and intelligent network device | |
CN105607940A (en) | Method for transmitting information from BDK to UEFI BIOS in ARM platform | |
CN105843046A (en) | Intelligent household electrical appliance master control communication method and system thereof | |
CN105491419B (en) | A kind of combination tv and data sharing method | |
CN112003753B (en) | Expected value judgment, acquisition, transmission and monitoring system and method based on configurable gateway | |
CN105922261B (en) | A kind of robot controller and its control method | |
CN102710524B (en) | Implementing method for multi-protocol network message transmission order preserving system | |
CN103944738B (en) | A kind of interchanger for supporting Function Extension | |
CN105049294B (en) | The automated testing method of EAPS agreement MASTER switch ports state switching | |
CN105138379A (en) | Method for on-line upgrading based on Ymodem protocol | |
CN109347734B (en) | Message sending method, device, network equipment and computer readable medium | |
CN102075529B (en) | Open building automatic control network protocol conversion device and method | |
CN104703250A (en) | Method for configuring PANID (personal area network identifier) on ZigBee terminal |
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 |