CN114500689B - Bus communication method, device, communication board, household electrical appliance and storage medium - Google Patents

Bus communication method, device, communication board, household electrical appliance and storage medium Download PDF

Info

Publication number
CN114500689B
CN114500689B CN202210114179.8A CN202210114179A CN114500689B CN 114500689 B CN114500689 B CN 114500689B CN 202210114179 A CN202210114179 A CN 202210114179A CN 114500689 B CN114500689 B CN 114500689B
Authority
CN
China
Prior art keywords
communication
field
bus
data
header information
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
Application number
CN202210114179.8A
Other languages
Chinese (zh)
Other versions
CN114500689A (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.)
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator Co Ltd
Original Assignee
Hefei Hualing Co Ltd
Midea Group Co Ltd
Hefei Midea Refrigerator 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 Hefei Hualing Co Ltd, Midea Group Co Ltd, Hefei Midea Refrigerator Co Ltd filed Critical Hefei Hualing Co Ltd
Priority to CN202210114179.8A priority Critical patent/CN114500689B/en
Publication of CN114500689A publication Critical patent/CN114500689A/en
Application granted granted Critical
Publication of CN114500689B publication Critical patent/CN114500689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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/40Bus networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a bus communication method, a device, a communication board, household appliances and a storage medium, belonging to the technical field of electric control, wherein the method comprises the following steps: extracting an identifier field from header information on a communication bus when the header information is monitored; generating response data according to a target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and sending the response data to the communication bus. When the scheme is used for communication, the problem of communication delay is not easy to occur due to the fact that data is too large, and the communication delay can be reduced under the condition that the transmission efficiency is ensured.

Description

Bus communication method, device, communication board, household electrical appliance and storage medium
Technical Field
The present invention relates to the field of electronic control technologies, and in particular, to a bus communication method, a device, a communication board, a home appliance, and a storage medium.
Background
Data is usually transmitted in the form of data packets in the prior art, but communication delay is easily caused because the data packets may be excessively large in this way.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a bus communication method, a device, a communication board, household electrical appliances and a storage medium, which aim to solve the technical effect of reducing communication delay under the condition of ensuring transmission efficiency.
In order to achieve the above object, the present invention provides a bus communication method applied to a communication board connected to a communication bus, the bus communication method comprising:
extracting an identifier field from header information on a communication bus when the header information is monitored;
generating response data according to a target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and
and sending the response data to the communication bus.
Optionally, when the target address in the identifier field is consistent with the current address, generating response data according to the target instruction in the identifier field includes:
when the target address in the identifier field is consistent with the current address, carrying out instruction analysis according to the identifier field to obtain a target instruction and a corresponding instruction type; and
And when the instruction type belongs to a preset instruction type, generating response data according to the target instruction.
Optionally, the generating response data according to the target instruction in the identifier field includes:
determining data to be transmitted according to a target instruction in the identifier field;
generating a data field according to the data to be transmitted;
determining a data length according to the data field; and
response data is composed based on the data length and the data field.
Optionally, before the header information on the communication bus is monitored and the identifier field is extracted from the header information, the method further comprises:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal is an interval field or not; and
and when the voltage signal is an interval field, judging that header information on the communication bus is monitored.
Optionally, the interval field comprises a continuous low level state of a preset length;
when detecting a voltage signal transmitted on a communication bus, judging whether the voltage signal is an interval field or not, including:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal has a continuous low-level state with a preset length; and
And judging whether the voltage signal is an interval field or not according to a judging result.
In addition, in order to achieve the above object, the present invention also proposes a bus communication method applied to a communication board connected to a communication bus, the bus communication method including:
when a communication request is received, determining a target address and a target instruction according to the communication request;
generating an identifier field according to the target address and the target instruction;
generating header information from the identifier field; and
and sending the header information to a communication bus.
Optionally, after the header information is sent to the communication bus, the method further includes:
extracting a data field from response data on a communication bus when the response data is monitored; and
and when the current address in the data field is consistent with the target address, analyzing the response data.
Optionally, after the parsing of the response data when the current address in the data field is consistent with the target address, the method further includes:
judging whether the current communication is completed or not according to the response data;
after the current communication is completed, determining a new target address and a target instruction through polling;
Generating a new identifier field according to the new target address and the target instruction;
generating new header information from the new identifier field; and
new header information is sent to the communication bus.
In addition, in order to achieve the above object, the present invention also proposes a bus communication device including:
the header monitoring module is used for extracting an identifier field from header information when the header information on the communication bus is monitored;
the data analysis module is used for generating response data according to the target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and
and the response data transmitting module is used for transmitting the response data to the communication bus.
In addition, in order to achieve the above object, the present invention also proposes a bus communication device including:
the target determining module is used for determining a target address and a target instruction according to the communication request when the communication request is received;
an identifier field generation module for generating an identifier field according to the target address and the target instruction;
a header generation module for generating header information from the identifier field; and
And the header sending module is used for sending the header information to a communication bus.
In addition, in order to achieve the above object, the present invention also proposes a communication board comprising: the bus communication system comprises a memory, a processor and a bus communication program stored on the memory and capable of running on the processor, wherein the bus communication program realizes the bus communication method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also proposes a home appliance including a plurality of communication boards as described above, and the plurality of communication boards are respectively connected to a communication bus.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a bus communication program which, when executed by a processor, implements the bus communication method as described above.
In the bus communication method provided by the invention, when header information on a communication bus is monitored, an identifier field is extracted from the header information; generating response data according to a target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and sending the response data to the communication bus. When the scheme is used for communication, the problem of communication delay is not easy to occur due to the fact that data is too large, and the communication delay can be reduced under the condition that the transmission efficiency is ensured.
Drawings
FIG. 1 is a schematic diagram of a communication board structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the bus communication method of the present invention;
FIG. 3 is a schematic diagram of a communication system according to an embodiment of the bus communication method of the present invention;
FIG. 4 is a schematic diagram of a communication system according to another embodiment of the bus communication method of the present invention;
FIG. 5 is a diagram illustrating a communication message format of a communication system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an identifier field composition of an embodiment of a bus communication method of the present invention;
FIG. 7 is a flow chart of a second embodiment of the bus communication method of the present invention;
FIG. 8 is a diagram of a header composition of an embodiment of a bus communication method of the present invention;
FIG. 9 is a diagram showing the response of an embodiment of the bus communication method of the present invention;
FIG. 10 is a flow chart of a third embodiment of a bus communication method according to the present invention;
FIG. 11 is a flowchart of a fourth embodiment of a bus communication method according to the present invention;
FIG. 12 is a flowchart of a fifth embodiment of a bus communication method according to the present invention;
FIG. 13 is a functional block diagram of an embodiment of a bus communication device according to the present invention;
fig. 14 is a schematic functional block diagram of another embodiment of the bus communication device of the present invention.
Reference numerals illustrate:
reference numerals Name of the name Reference numerals Name of the name
10 Communication bus 201 Main control board
20 Communication board 202 Slave control board
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a communication board structure of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the communication board may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as keys, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., wi-Fi interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the device structure shown in fig. 1 is not limiting of the communication board and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a bus communication program may be included in the memory 1005 as one type of storage medium.
In the communication board shown in fig. 1, the network interface 1004 is mainly used for connecting to an external network and performing data communication with other network devices; the user interface 1003 is mainly used for connecting user equipment and communicating data with the user equipment; the apparatus of the present invention calls the bus communication program stored in the memory 1005 through the processor 1001 and executes the bus communication method provided by the embodiment of the present invention.
Based on the above hardware structure, the embodiment of the bus communication method of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a bus communication method according to the present invention.
In a first embodiment, the bus communication method is applied to a communication board, the communication board being connected to a communication bus, the bus communication method including:
step S10, when header information on the communication bus is monitored, an identifier field is extracted from the header information.
It should be noted that, as shown in fig. 3, fig. 3 is a schematic structural diagram of a communication system according to an embodiment, and in this embodiment, the present disclosure may be applied to a communication system of a home appliance, where the system may include: the communication board 20 is used for carrying out electric signal transmission with other communication boards 20 through the communication bus 10 so as to realize communication.
It should be noted that, the execution body of the present embodiment may be a communication board, and the communication board may include, but is not limited to, a master control board and a slave control board, and in the present embodiment, the execution body is described as an example of the slave control board.
It should be noted that, the home appliance of the present embodiment may include a plurality of communication boards, where the plurality of communication boards are respectively connected to the communication bus, and the home appliance may include, but is not limited to, a refrigerator, an air conditioner, a washing machine, and other types of home appliances, and the present embodiment is not limited thereto.
In a specific implementation, the slave control board in this embodiment may include, but is not limited to, a display control board, a micro-crystal board, a frequency conversion board, a WIFI board, an expansion board, and other communication boards, which is not limited in this embodiment.
In a specific implementation, the master control board and the slave control board in this embodiment may not need to have too obvious boundary distinction, and in different application scenarios, roles of the master control board and the slave control board may be interchanged, which is not limited in this embodiment.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a communication system according to another embodiment, where the communication board 20 is divided into a master control board 201 and a plurality of slave control boards 202, each slave control board 202 is connected with a load, a master controller is disposed in the master control board 201 and is used for sending an instruction to the corresponding slave control board 202, the slave control boards 202 are connected with the load to implement management of the load, and a slave controller may be disposed in the slave control board 202, which is not limited in this embodiment.
In this embodiment, since each module is configured as an independent master control board and slave control board, the slave control board is connected to the load, so as to reduce the processing pressure of the master control board, and improve the processing efficiency. Because the main control board and each auxiliary control board are hung on a bus in a parallel connection mode, the direct communication between the main control board and any one auxiliary control board and the direct communication between any two auxiliary control boards can be realized, and the high-efficiency transmission and the reliability of the bus control system are ensured. In addition, the number of the wire harnesses in the refrigerator can be effectively reduced by adopting a parallel connection mode, and only a small number of wire harnesses or no wire harnesses are required to pass through the foaming layer of the refrigerator, so that the thickness of the foaming layer of the refrigerator can be consistent, and no too thin place exists, thereby improving the heat preservation function of the refrigerator and reducing the energy consumption of the refrigerator.
It should be noted that, in this embodiment, a bus connection mode of one master and multiple slaves may be adopted between the master control board and the slave control boards, and the master control board may sequentially communicate with multiple slave control boards in a polling mode. For example, assuming that the home appliance includes 1 master control board and 4 slave control boards, the master control board and the slave control boards are connected to a communication bus, and the master control board can sequentially communicate with the 4 slave control boards through the communication bus in a polling manner, and after the polling is completed, the next polling can be performed, which is not limited in this embodiment. Moreover, the communication method described in the present embodiment may include, but is not limited to UART communication, and any single-bus or multi-bus method for implementing end-to-end communication may be used in the present embodiment, which is not limited thereto.
Further, since the refrigerator is widely used as a home appliance in daily life of people, with the progress of technology, the refrigerator has a conventional basic refrigerating function and display, and new technology is now incorporated into the refrigerator products such as a frequency conversion board, a micro-crystal fresh-keeping, and the like. When a new function is added into the refrigerator, a driving board is often required to drive, and the driving board and the main control board need to communicate to receive instructions sent by the host computer and return own state information. At present, a refrigerator system generally adopts a communication architecture of one master and multiple slaves, namely a main control board is connected with a plurality of peripheral devices. The refrigerator generally uses a singlechip as a main control chip, and uses a UART port as a communication interface between the main control board and the peripheral. Multiple external communication devices may require the use of multiple UART ports. Along with the increase of external equipment, the singlechip with more peripheral equipment is needed, the main control board needs a plurality of peripheral equipment driving circuits, the connecting wires of the main control board and the peripheral equipment are increased, and the corresponding cost is increased. Because of the increase of peripheral equipment, the existing main control board may not meet the requirement, a new main control board needs to be designed, a corresponding installation structure may also need to be changed, the whole development period of the project is affected, and the standardization of the computer board is not facilitated.
In another implementation manner, in order to solve the above problem, the above communication system may further include an adapter plate, where the adapter plate is located between the communication plate and the communication bus, and the communication plate is provided with a connection interface, where the communication plate is connected to one end of the adapter plate through the connection interface, and the other end of the adapter plate is connected to the communication bus, and different communication and standard slave control boards can be connected to the communication bus through the adapter plate, so as to achieve adaptability of the communication bus, and improve flexibility of expansion of the slave control board.
It can be understood that, by using a master multi-slave mode, the main control board is required to have a plurality of UART ports, and as the functions are increased, the required UART ports correspondingly increase, and the number of UART ports of the singlechip for household appliances is generally not more than 5. While the board that has been mass produced, the multiplexed UART port function may have been defined as other peripheral port outputs, the port function has been fixed and cannot be changed. These reasons may lead to a need for increased functionality because the UART ports lack to be added. Each UART port needs +5V, GND, RX and TX wires, and the added UART ports can also lead to increased wiring harnesses and increased cost.
In this embodiment, the present bus communication method uses single-wire communication, and each device in the system only needs to use one UART port, so that the demand of the host for chip peripherals in a master multi-slave system is reduced, and the cost of the computer board and the cost of the wire harness are reduced. The communication rate can be adjusted according to the type and the length of the transmission instruction, so that the real-time performance of data transmission is improved.
It should be understood that reference may be made to fig. 5, and that fig. 5 is a schematic diagram of a communication message format. As shown in fig. 5, the communication packet in this embodiment may be divided into a header and a response, where the header may be header information, and the response may be response data, which is not limited in this embodiment.
It should be noted that the header may be composed of an interval field, a synchronization field, and an identifier field. The interval field may be formed of a low level for a period of time as the start of a header, for example, the interval field may be formed of a 20-bit low level, and since the serial port transmits a data byte formed of a start bit (1 bit) +a data bit (8 bits) +a stand-still bit (1 bit or 2 bits), the normal communication valid data does not have 20 low levels, and it is possible to effectively ensure that the valid data of the previous frame has been transmitted by detecting the interval field. The synchronization field is used for synchronizing the communication rate of the master control board by the slave control board, and the synchronization field may be composed of one or more bytes of data agreed in advance, that is, the synchronization field is not limited to a single byte, but may be multiple bytes, for example, 0x55, etc., which is not limited in this embodiment. Referring to fig. 6, fig. 6 is a schematic diagram of an identifier field, where the identifier field is used to determine a home appliance type, a target address, and an instruction type of a home appliance to be communicated by a master control board, and if the master control board needs to communicate with itself, the target address may be an address of the master control board, and if the master control board needs to communicate with a slave control board, the target address may be an address of a corresponding slave control board.
It will be appreciated that for the identifier field, the appliance type, address of the communication board, and instruction type of each device may be determined by a predetermined communication protocol. Each home device has a unique home type, such as: the household appliances of the refrigerator can be of the type: 0x01, the household appliances of the air conditioner can be of the type: 0x02, etc. Each communication board has a unique address, such as: the host address of the main control board is 0x001, the slave address of the display control board is 0x002, the slave address of the micro-crystal board is 0x003, the slave address of the frequency conversion board is 0x004, the slave address of the WIFI board is 0x005 and the like. Each instruction has a unique code, such as: transmitting display board initialization data instruction of 0x0001, inquiring display board setting data instruction of 0x0002, acquiring microcrystal board data instruction of 0x0003, transmitting press gear to the frequency conversion board of 0x0004, reporting control information of the main control board to the WIFI board of 0x0006 and the like.
It should be noted that the response may be composed of a data length, a data field, and a checksum field, where the data length is used to transmit byte data included in the data field, the data field includes data to be transmitted, and the checksum field may be obtained by integrally checking the data length and the data field.
It should be understood that the master control board may communicate with each slave control board in a timing polling manner, and after the master control board sends a control command, the master control board performs timeout calculation, and if no data replied from the slave control board is received within a timeout time range, the master control board communicates with the next slave control board. The timing polling manner of 200ms may be adopted, and the time-out time range may be within 100ms, which is not limited in this embodiment.
In a specific implementation, the scheme uses a single bus mode for connection, and a one-master-multiple-slave method for communication. Each device on the communication bus only needs to use one UART port, and only one communication line is used to connect to the bus after the UART port passes through the adapter plate. Each slave board connected to the bus has a unique identifier by which the slave boards can be distinguished. In this scheme, only one device transmits data to the communication bus at each time.
In a specific implementation, the master control board can be used as the only host computer in communication, all communication is initiated by the master control board, other external expansion functions such as a display control board, a micro-crystal board, a frequency conversion board, a WIFI board and the like are used as slave computers, and the slave control boards can respond correspondingly according to the type of the instruction after receiving the instruction sent by the master control board.
In this embodiment, the above-mentioned method flow may be performed from the viewpoint of the slave control board, which may monitor the communication bus in real time, and if header information on the communication bus is monitored, extract the identifier field from the header information.
And step S20, when the target address in the identifier field is consistent with the current address, generating response data according to the target instruction in the identifier field.
It should be appreciated that, based on the above principle, the identifier field of the header information contains the target address of the slave board of the data to be received, and thus the slave board can compare the target address in the identifier field with the corresponding current address to determine whether the target address is identical with the current address. If the target address is inconsistent with the current address, the header information is not sent to the slave and is not responded, and if the target address is inconsistent with the current address, the header information is sent to the slave and is responded.
It will be appreciated that since the identifier field of the header information contains an instruction type, and each instruction has a unique code, the target instruction can be determined according to the instruction type, and further, corresponding processing can be performed according to the target instruction, and corresponding response data can be generated.
It should be understood that, after responding according to the target instruction, corresponding data to be sent may be determined, a data field is generated according to the data to be sent, then the data length is determined according to the data in the data field, and the response data is formed according to the data length and the data field.
And step S30, the response data is sent to the communication bus.
It should be appreciated that the slave control board, after generating the response data, may send the response data to the communication bus.
In this embodiment, when header information on a communication bus is monitored, an identifier field is extracted from the header information; generating response data according to a target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and sending the response data to the communication bus. When the scheme is used for communication, the problem of communication delay is not easy to occur due to the fact that data are too large, and the communication delay can be reduced under the condition that the transmission efficiency is ensured.
In an embodiment, as shown in fig. 7, a second embodiment of the bus communication method according to the present invention is proposed based on the first embodiment, and the step S20 includes:
Step S201, when the target address in the identifier field is consistent with the current address, carrying out instruction analysis according to the identifier field to obtain a target instruction and a corresponding instruction type.
It should be noted that, referring to fig. 8 and fig. 9, fig. 8 is a header composition diagram of an embodiment, and fig. 9 is a response composition diagram of an embodiment, a checksum field may be added to the header, and a checksum data may be added to a data field in the response, so that in the bus communication process, the security of the bus communication may be improved by a plurality of checksum verification methods.
It should be understood that when the slave control board monitors header information on the communication bus, it may first determine whether a target address in the header information is consistent with its current address, if not, it does not perform instruction parsing, if not, it further determines whether the instruction type is a type handled by itself, if not, it does not respond, if not, it calculates a checksum, it determines whether the calculated checksum is consistent with a checksum in a checksum field in the header information, if not, it does not respond, and if so, it responds.
Thus, based on the above principle, if the target address in the identifier field is consistent with the current address, the target instruction and the corresponding instruction type can be obtained by means of instruction parsing.
Step S202, when the instruction type belongs to a preset instruction type, response data are generated according to the target instruction.
It can be understood that the preset instruction type is the instruction type supported by the current slave control board, and if the instruction type belongs to the instruction type supported by the current slave control board, the response can be performed.
Further, in order to improve the security of the message information in the bus communication, the step S202 includes:
when the instruction type belongs to a preset instruction type, extracting a first checksum field from the header information; determining a first checksum according to the first checksum field, and calculating a current checksum according to header information; and generating response data according to the target instruction when the first checksum is consistent with the current checksum.
It should be appreciated that in the case where the target address is consistent with the current address and the instruction type is of the preset instruction type, the first checksum may be determined according to the first checksum field in the header information, and the slave board may calculate the current checksum according to the header information, and if the first checksum is consistent with the current checksum, may respond according to the target instruction and generate corresponding response data.
It should be noted that, the slave control board may extract the home appliance type, the target address and the instruction type from the header information, sum all bytes in the data, and then exclusive-or calculate with 0x55 bytes to obtain the current checksum.
Further, in order to improve the security of the response data in the bus communication, the step S30 includes:
determining data to be transmitted according to a target instruction in the identifier field; generating a second checksum according to the current address and the data to be sent; forming a data field based on the current address, the data to be sent and the second checksum; determining a data length according to the data field; and generating a third checksum according to the data length and the data field, generating a second checksum field according to the third checksum, and forming response data based on the data length, the data field and the second checksum field.
It should be noted that, the slave control board may adopt a CRC8 check mode according to the current address and the data to be transmitted, and the polynomial uses X 8 +X 5 +X 4 +1, low order priority, use the mode of the table look-up to solve the second check sum, save the computational time.
It should be noted that, the slave control board may further sum all bytes in the data field according to the data length and obtain the third checksum after performing exclusive-or operation with 0x55 bytes.
It should be appreciated that after the data length, data field and second checksum field are determined in the manner described above, the response data may be composed in accordance with the data length, data field and second checksum field.
In this embodiment, when the target address in the identifier field is consistent with the current address, instruction analysis is performed according to the identifier field to obtain a target instruction and a corresponding instruction type, and when the instruction type belongs to a preset instruction type, response data is generated according to the target instruction, so that security of bus communication can be improved through the address verification, instruction type verification and other modes.
In an embodiment, as shown in fig. 10, a third embodiment of the bus communication method according to the present invention is provided based on the first embodiment or the second embodiment, and in this embodiment, the method further includes, before step S10:
step S001, when detecting the voltage signal transmitted on the communication bus, judging whether the voltage signal is an interval field.
It should be understood that the slave control board can monitor the communication bus in real time, in order to avoid the situation of communication collision, the scheme also adds an interval field in the header information, and by detecting the interval field, the effective data of the previous frame can be effectively ensured to be sent completely.
It will be appreciated that, in order to effectively distinguish the voltage signal of the interval field from the voltage information of other information, since the normal communication valid data does not have a plurality of low levels, the voltage signal of the interval field may be set to a continuous low level state including a preset length, where the preset length may be 20 or other numbers, and may be set according to the actual situation, which is not limited in this embodiment.
It can be understood that, when the voltage signal is detected, in order to determine whether the voltage signal is an interval field, whether the voltage signal has a continuous low level state with a preset length can be determined, a determination result is obtained, and whether the voltage signal is an interval field is further determined according to the determination result.
In a specific implementation, if the voltage signal has a continuous low state of a preset length, the voltage signal is indicated as a gap field, and if the voltage signal does not have a continuous low state of a preset length, the voltage signal is indicated as not being a gap field.
Step S002, when the voltage signal is an interval field, determining that header information on the communication bus is monitored.
It should be appreciated that since the interval field is the beginning of a preamble, if the voltage signal is detected as an interval field, this indicates that preamble information on the communication bus is detected.
In this embodiment, when a voltage signal transmitted on a communication bus is detected, whether the voltage signal is an interval field is determined, and when the voltage signal is the interval field, it is determined that header information on the communication bus is monitored, so that header information can be distinguished from valid data of a previous frame through the interval field, the valid data of the previous frame can be effectively guaranteed to be sent completely through the interval field, and distinction between data and headers, which can be accurately and respectively transmitted through a section of longer interval field, is avoided, thereby avoiding misidentification.
Referring to fig. 11, fig. 11 is a flowchart of a fourth embodiment of the bus communication method of the present invention.
In a first embodiment, the bus communication method is applied to a communication board, the communication board being connected to a communication bus, the bus communication method including:
step S40, when a communication request is received, a target address and a target instruction are determined according to the communication request.
In this embodiment, the above method flow may be executed from the perspective of the master control board, and when the master control board receives the communication request, the master control board may determine the slave control board that needs to perform communication currently, obtain the target address of the slave control board, and determine the corresponding target instruction.
And step S50, generating an identifier field according to the target address and the target instruction.
It should be understood that the corresponding instruction type may be determined according to the target instruction, and the home appliance type may be obtained, and the identifier field may be further formed according to the home appliance type, the target address, and the instruction type.
Step S60, generating header information from the identifier field.
It will be appreciated that after the identifier field has been obtained in the manner described above, a first checksum may be calculated from the data in the identifier field and a first checksum field may be obtained from the first checksum, and header information may be formed from the interval field, the synchronization field, the identifier field and the first checksum field.
Step S70, transmitting the header information to a communication bus.
It should be appreciated that after the master control board generates the header information in the manner described above, the header information may be sent to a communication bus for communication with the slave control boards via the communication bus.
In this embodiment, when a communication request is received, a target address and a target instruction are determined according to the communication request; generating an identifier field according to the target address and the target instruction; generating header information from the identifier field; the header information is sent to the communication bus, so that the header information can be generated in the mode, and the slave control board is in bus communication in the mode of sending the header information to the communication bus, so that the bus communication is more targeted, and the safety of the bus communication is improved.
In an embodiment, as shown in fig. 12, a fifth embodiment of the bus communication method according to the present invention is provided based on the fifth embodiment, and after the step S70, the method further includes:
and step S80, when the response data on the communication bus is monitored, extracting a data field from the response data.
It should be understood that when the main control board monitors the response data on the communication bus, it indicates that the data recovered from the slave control board is received, and the data field can be extracted from the response data.
And step S90, when the current address in the data field is consistent with the target address, analyzing the response data.
It should be understood that the main control board may determine whether the current address in the data field is consistent with the target address in the message information sent before, if not, it does not parse, if not, it further determines whether the second checksum in the data field is consistent with the checksum of the data field calculated by itself, if not, it does not parse, if not, it further determines whether the third checksum in the second checksum field in the response data is consistent with the integral checksum calculated by itself, if not, it does not parse, and if not, it further parses the received data.
It will be appreciated that when the current address in the data field coincides with the target address, a second checksum is extracted from the data field and a fourth checksum is generated from the data field; when the second checksum is consistent with the fourth checksum, a second checksum field is extracted from the response data, a third checksum is determined according to the second checksum field, and a fifth checksum is generated according to the response data; and when the third checksum is consistent with the fifth checksum, analyzing the response data.
It should be noted that, the manner of generating the fourth checksum by the master control board may be the same as the manner of generating the second checksum by the slave control board, and the manner of generating the fifth checksum by the master control board may be the same as the manner of generating the third checksum by the slave control board, which is not limited in this embodiment.
It should be understood that the master control board may determine whether the current communication with the slave control board is completed according to the response data, and if so, determine the next slave control board and the corresponding new target address and target instruction by means of polling, and then generate a new identifier field according to the new target address and target instruction, thereby obtaining new header information, and send the new header information to the communication bus for the next communication.
In a specific implementation, the slave control board can be traversed, the traversed slave control board is used as a current slave control board, and the master control board is communicated with the current slave control board through a communication bus, so that the effect that the master control board and the slave control board carry out polling communication through the communication bus is achieved.
In this embodiment, when the response data on the communication bus is monitored, a data field is extracted from the response data, and when the current address in the data field is consistent with the target address, the response data is analyzed, so that address verification can be performed on the main control board, and the security of bus communication can be further improved.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a bus communication program, and the bus communication program realizes the steps of the bus communication method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
In addition, referring to fig. 13, an embodiment of the present invention further proposes a bus communication device, including:
The header monitoring module 100 is configured to extract an identifier field from header information on the communication bus when the header information is monitored.
It should be noted that, as shown in fig. 3, fig. 3 is a schematic structural diagram of a communication system according to an embodiment, and in this embodiment, the present disclosure may be applied to a communication system of a home appliance, where the system may include: the communication board 20 is used for carrying out electric signal transmission with other communication boards 20 through the communication bus 10 so as to realize communication.
It should be noted that, the execution body of the present embodiment may be a communication board, and the communication board may include, but is not limited to, a master control board and a slave control board, and in the present embodiment, the execution body is described as an example of the slave control board.
It should be noted that, the home appliance of the present embodiment may include a plurality of communication boards, where the plurality of communication boards are respectively connected to the communication bus, and the home appliance may include, but is not limited to, a refrigerator, an air conditioner, a washing machine, and other types of home appliances, and the present embodiment is not limited thereto.
In a specific implementation, the slave control board in this embodiment may include, but is not limited to, a display control board, a micro-crystal board, a frequency conversion board, a WIFI board, an expansion board, and other communication boards, which is not limited in this embodiment.
In a specific implementation, the master control board and the slave control board in this embodiment may not need to have too obvious boundary distinction, and in different application scenarios, roles of the master control board and the slave control board may be interchanged, which is not limited in this embodiment.
As shown in fig. 4, fig. 4 is a schematic structural diagram of a communication system according to another embodiment, where the communication board 20 is divided into a master control board 201 and a plurality of slave control boards 202, each slave control board 202 is connected with a load, a master controller is disposed in the master control board 201 and is used for sending an instruction to the corresponding slave control board 202, the slave control boards 202 are connected with the load to implement management of the load, and a slave controller may be disposed in the slave control board 202, which is not limited in this embodiment.
In this embodiment, since each module is configured as an independent master control board and slave control board, the slave control board is connected to the load, so as to reduce the processing pressure of the master control board, and improve the processing efficiency. Because the main control board and each auxiliary control board are hung on a bus in a parallel connection mode, the direct communication between the main control board and any one auxiliary control board and the direct communication between any two auxiliary control boards can be realized, and the high-efficiency transmission and the reliability of the bus control system are ensured. In addition, the number of the wire harnesses in the refrigerator can be effectively reduced by adopting a parallel connection mode, and only a small number of wire harnesses or no wire harnesses are required to pass through the foaming layer of the refrigerator, so that the thickness of the foaming layer of the refrigerator can be consistent, and no too thin place exists, thereby improving the heat preservation function of the refrigerator and reducing the energy consumption of the refrigerator.
It should be noted that, in this embodiment, a bus connection mode of one master and multiple slaves may be adopted between the master control board and the slave control boards, and the master control board may sequentially communicate with multiple slave control boards in a polling mode. For example, assuming that the home appliance includes 1 master control board and 4 slave control boards, the master control board and the slave control boards are connected to a communication bus, and the master control board can sequentially communicate with the 4 slave control boards through the communication bus in a polling manner, and after the polling is completed, the next polling can be performed, which is not limited in this embodiment. Moreover, the communication method described in the present embodiment may include, but is not limited to UART communication, and any single-bus or multi-bus method for implementing end-to-end communication may be used in the present embodiment, which is not limited thereto.
Further, since the refrigerator is widely used as a home appliance in daily life of people, with the progress of technology, the refrigerator has a conventional basic refrigerating function and display, and new technology is now incorporated into the refrigerator products such as a frequency conversion board, a micro-crystal fresh-keeping, and the like. When a new function is added into the refrigerator, a driving board is often required to drive, and the driving board and the main control board need to communicate to receive instructions sent by the host computer and return own state information. At present, a refrigerator system generally adopts a communication architecture of one master and multiple slaves, namely a main control board is connected with a plurality of peripheral devices. The refrigerator generally uses a singlechip as a main control chip, and uses a UART port as a communication interface between the main control board and the peripheral. Multiple external communication devices may require the use of multiple UART ports. Along with the increase of external equipment, the singlechip with more peripheral equipment is needed, the main control board needs a plurality of peripheral equipment driving circuits, the connecting wires of the main control board and the peripheral equipment are increased, and the corresponding cost is increased. Because of the increase of peripheral equipment, the existing main control board may not meet the requirement, a new main control board needs to be designed, a corresponding installation structure may also need to be changed, the whole development period of the project is affected, and the standardization of the computer board is not facilitated.
In another implementation manner, in order to solve the above problem, the above communication system may further include an adapter plate, where the adapter plate is located between the communication plate and the communication bus, and the communication plate is provided with a connection interface, where the communication plate is connected to one end of the adapter plate through the connection interface, and the other end of the adapter plate is connected to the communication bus, and different communication and standard slave control boards can be connected to the communication bus through the adapter plate, so as to achieve adaptability of the communication bus, and improve flexibility of expansion of the slave control board.
It can be understood that, by using a master multi-slave mode, the main control board is required to have a plurality of UART ports, and as the functions are increased, the required UART ports correspondingly increase, and the number of UART ports of the singlechip for household appliances is generally not more than 5. While the board that has been mass produced, the multiplexed UART port function may have been defined as other peripheral port outputs, the port function has been fixed and cannot be changed. These reasons may lead to a need for increased functionality because the UART ports lack to be added. Each UART port needs +5V, GND, RX and TX wires, and the added UART ports can also lead to increased wiring harnesses and increased cost.
In this embodiment, the present bus communication method uses single-wire communication, and each device in the system only needs to use one UART port, so that the demand of the host for chip peripherals in a master multi-slave system is reduced, and the cost of the computer board and the cost of the wire harness are reduced. The communication rate can be adjusted according to the type and the length of the transmission instruction, so that the real-time performance of data transmission is improved.
It should be understood that reference may be made to fig. 5, and that fig. 5 is a schematic diagram of a communication message format. As shown in fig. 5, the communication packet in this embodiment may be divided into a header and a response, where the header may be header information, and the response may be response data, which is not limited in this embodiment.
It should be noted that the header may be composed of an interval field, a synchronization field, and an identifier field. The interval field may be formed of a low level for a period of time as the start of a header, for example, the interval field may be formed of a 20-bit low level, and since the serial port transmits a data byte formed of a start bit (1 bit) +a data bit (8 bits) +a stand-still bit (1 bit or 2 bits), the normal communication valid data does not have 20 low levels, and it is possible to effectively ensure that the valid data of the previous frame has been transmitted by detecting the interval field. The synchronization field is used for synchronizing the communication rate of the master control board by the slave control board, and the synchronization field may be composed of one or more bytes of data agreed in advance, that is, the synchronization field is not limited to a single byte, but may be multiple bytes, for example, 0x55, etc., which is not limited in this embodiment. Referring to fig. 6, fig. 6 is a schematic diagram of an identifier field, where the identifier field is used to determine a home appliance type, a target address, and an instruction type of a home appliance to be communicated by a master control board, and if the master control board needs to communicate with itself, the target address may be an address of the master control board, and if the master control board needs to communicate with a slave control board, the target address may be an address of a corresponding slave control board.
It will be appreciated that for the identifier field, the appliance type, address of the communication board, and instruction type of each device may be determined by a predetermined communication protocol. Each home device has a unique home type, such as: the household appliances of the refrigerator can be of the type: 0x01, the household appliances of the air conditioner can be of the type: 0x02, etc. Each communication board has a unique address, such as: the host address of the main control board is 0x001, the slave address of the display control board is 0x002, the slave address of the micro-crystal board is 0x003, the slave address of the frequency conversion board is 0x004, the slave address of the WIFI board is 0x005 and the like. Each instruction has a unique code, such as: transmitting display board initialization data instruction of 0x0001, inquiring display board setting data instruction of 0x0002, acquiring microcrystal board data instruction of 0x0003, transmitting press gear to the frequency conversion board of 0x0004, reporting control information of the main control board to the WIFI board of 0x0006 and the like.
It should be noted that the response may be composed of a data length, a data field, and a checksum field, where the data length is used to transmit byte data included in the data field, the data field includes data to be transmitted, and the checksum field may be obtained by integrally checking the data length and the data field.
It should be understood that the master control board may communicate with each slave control board in a timing polling manner, and after the master control board sends a control command, the master control board performs timeout calculation, and if no data replied from the slave control board is received within a timeout time range, the master control board communicates with the next slave control board. The timing polling manner of 200ms may be adopted, and the time-out time range may be within 100ms, which is not limited in this embodiment.
In a specific implementation, the scheme uses a single bus mode for connection, and a one-master-multiple-slave method for communication. Each device on the communication bus only needs to use one UART port, and only one communication line is used to connect to the bus after the UART port passes through the adapter plate. Each slave board connected to the bus has a unique identifier by which the slave boards can be distinguished. In this scheme, only one device transmits data to the communication bus at each time.
In a specific implementation, the master control board can be used as the only host computer in communication, all communication is initiated by the master control board, other external expansion functions such as a display control board, a micro-crystal board, a frequency conversion board, a WIFI board and the like are used as slave computers, and the slave control boards can respond correspondingly according to the type of the instruction after receiving the instruction sent by the master control board.
In this embodiment, the above-mentioned method flow may be performed from the viewpoint of the slave control board, which may monitor the communication bus in real time, and if header information on the communication bus is monitored, extract the identifier field from the header information.
And the data analysis module 200 is used for generating response data according to the target instruction in the identifier field when the target address in the identifier field is consistent with the current address.
It should be appreciated that, based on the above principle, the identifier field of the header information contains the target address of the slave board of the data to be received, and thus the slave board can compare the target address in the identifier field with the corresponding current address to determine whether the target address is identical with the current address. If the target address is inconsistent with the current address, the header information is not sent to the slave and is not responded, and if the target address is inconsistent with the current address, the header information is sent to the slave and is responded.
It will be appreciated that since the identifier field of the header information contains an instruction type, and each instruction has a unique code, the target instruction can be determined according to the instruction type, and further, corresponding processing can be performed according to the target instruction, and corresponding response data can be generated.
It should be understood that, after responding according to the target instruction, corresponding data to be sent may be determined, a data field is generated according to the data to be sent, then the data length is determined according to the data in the data field, and the response data is formed according to the data length and the data field.
And the data sending module 300 is configured to send the response data to the communication bus.
It should be appreciated that the slave control board, after generating the response data, may send the response data to the communication bus.
In this embodiment, when header information on a communication bus is monitored, an identifier field is extracted from the header information; generating response data according to a target instruction in the identifier field when the target address in the identifier field is consistent with the current address; and sending the response data to the communication bus. When the scheme is used for communication, the problem of communication delay is not easy to occur due to the fact that data are too large, and the communication delay can be reduced under the condition that the transmission efficiency is ensured.
In addition, referring to fig. 14, an embodiment of the present invention further proposes a bus communication device, including:
The target determining module 400 is configured to determine, when a communication request is received, a target address and a target instruction according to the communication request.
In this embodiment, the above method flow may be executed from the perspective of the master control board, and when the master control board receives the communication request, the master control board may determine the slave control board that needs to perform communication currently, obtain the target address of the slave control board, and determine the corresponding target instruction.
An identifier field generation module 500 for generating an identifier field from the target address and the target instruction.
It should be understood that the corresponding instruction type may be determined according to the target instruction, and the home appliance type may be obtained, and the identifier field may be further formed according to the home appliance type, the target address, and the instruction type.
A header generation module 600 for generating header information from the identifier field.
It will be appreciated that after the identifier field has been obtained in the manner described above, a first checksum may be calculated from the data in the identifier field and a first checksum field may be obtained from the first checksum, and header information may be formed from the interval field, the synchronization field, the identifier field and the first checksum field.
The header sending module 700 is configured to send the header information to a communication bus.
It should be appreciated that after the master control board generates the header information in the manner described above, the header information may be sent to a communication bus for communication with the slave control boards via the communication bus.
In this embodiment, when a communication request is received, a target address and a target instruction are determined according to the communication request; generating an identifier field according to the target address and the target instruction; generating header information from the identifier field; the header information is sent to the communication bus, so that the header information can be generated in the mode, and the slave control board is in bus communication in the mode of sending the header information to the communication bus, so that the bus communication is more targeted, and the safety of the bus communication is improved.
Other embodiments or specific implementation methods of the bus communication device according to the present invention may refer to the above method embodiments, and are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in an estimator readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a smart device (which may be a mobile phone, estimator, communication board, or network communication board, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (11)

1. A bus communication method, wherein the bus communication method is applied to a communication board, the communication board is connected with a communication bus, and the bus communication method comprises:
extracting an identifier field from header information on a communication bus when the header information is monitored, wherein the identifier field comprises a household appliance type, a target address and an instruction type;
generating response data according to the target instruction in the identifier field when the target address in the identifier field is consistent with the current address, including:
when the target address in the identifier field is consistent with the current address, carrying out instruction analysis according to the identifier field to obtain a target instruction and a corresponding instruction type;
when the instruction type belongs to a preset instruction type, extracting a first checksum field from the header information; determining a first checksum according to the first checksum field, and calculating a current checksum according to header information; and generating response data according to the target instruction when the first checksum is consistent with the current checksum;
the generating response data according to the target instruction further includes:
determining data to be transmitted according to a target instruction in the identifier field; generating a data field according to the data to be transmitted; determining a data length according to the data field; composing response data based on the data length and the data field; and
And sending the response data to the communication bus.
2. The bus communication method as set forth in claim 1, wherein upon monitoring header information on the communication bus, before extracting an identifier field from the header information, further comprising:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal is an interval field or not; and
and when the voltage signal is an interval field, judging that header information on the communication bus is monitored.
3. The bus communication method as set forth in claim 2, wherein the interval field includes a continuous low state of a preset length;
when detecting a voltage signal transmitted on a communication bus, judging whether the voltage signal is an interval field or not, including:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal has a continuous low-level state with a preset length; and
and judging whether the voltage signal is an interval field or not according to a judging result.
4. A bus communication method, wherein the bus communication method is applied to a communication board, the communication board is connected with a communication bus, and the bus communication method comprises:
When a communication request is received, determining a target address and a target instruction according to the communication request;
determining a corresponding instruction type according to a target instruction, acquiring a household appliance type, and forming an identifier field according to the household appliance type, the target address and the instruction type;
generating header information from the identifier field;
the generating header information from the identifier field includes:
calculating a first checksum according to the data in the identifier field, obtaining a first checksum field according to the first checksum, and forming header information according to the interval field, the synchronous field, the identifier field and the first checksum field;
and sending the header information to a communication bus.
5. The bus communication method as set forth in claim 4, wherein after the header information is transmitted to the communication bus, further comprising:
extracting a data field from response data on a communication bus when the response data is monitored; and
and when the current address in the data field is consistent with the target address, analyzing the response data.
6. The bus communication method as set forth in claim 5, wherein after parsing the response data when the current address in the data field coincides with the target address, further comprising:
Judging whether the current communication is completed or not according to the response data;
after the current communication is completed, determining a new target address and a target instruction through polling;
generating a new identifier field according to the new target address and the target instruction;
generating new header information from the new identifier field; and
new header information is sent to the communication bus.
7. A bus communication device, the bus communication device comprising:
the header monitoring module is used for extracting an identifier field from header information when the header information on the communication bus is monitored, wherein the identifier field comprises a household appliance type, a target address and an instruction type;
the data analysis module is used for carrying out instruction analysis according to the identifier field when the target address in the identifier field is consistent with the current address, so as to obtain a target instruction and a corresponding instruction type;
when the instruction type belongs to a preset instruction type, extracting a first checksum field from the header information; determining a first checksum according to the first checksum field, and calculating a current checksum according to header information; when the first checksum is consistent with the current checksum, response data are generated according to the target instruction, and data to be sent are determined according to the target instruction in the identifier field; generating a data field according to the data to be transmitted; determining a data length according to the data field; composing response data based on the data length and the data field; and
And the response data transmitting module is used for transmitting the response data to the communication bus.
8. A bus communication device, the bus communication device comprising:
the target determining module is used for determining a target address and a target instruction according to the communication request when the communication request is received;
the identifier field generation module is used for determining a corresponding instruction type according to a target instruction, acquiring a household appliance type and forming an identifier field according to the household appliance type, the target address and the instruction type;
the header generation module is used for calculating a first checksum according to the data in the identifier field, obtaining a first checksum field according to the first checksum, and forming header information according to the interval field, the synchronous field, the identifier field and the first checksum field; and
and the header sending module is used for sending the header information to a communication bus.
9. A communications board, the communications board comprising: a memory, a processor and a bus communication program stored on the memory and executable on the processor, which when executed by the processor implements the bus communication method of any one of claims 1 to 3 or 4 to 6.
10. An electric home appliance, comprising a plurality of communication boards according to claim 9, wherein the plurality of communication boards are respectively connected to a communication bus.
11. A storage medium having stored thereon a bus communication program which, when executed by a processor, implements the bus communication method of any one of claims 1 to 3 or 4 to 6.
CN202210114179.8A 2022-01-30 2022-01-30 Bus communication method, device, communication board, household electrical appliance and storage medium Active CN114500689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210114179.8A CN114500689B (en) 2022-01-30 2022-01-30 Bus communication method, device, communication board, household electrical appliance and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210114179.8A CN114500689B (en) 2022-01-30 2022-01-30 Bus communication method, device, communication board, household electrical appliance and storage medium

Publications (2)

Publication Number Publication Date
CN114500689A CN114500689A (en) 2022-05-13
CN114500689B true CN114500689B (en) 2023-09-08

Family

ID=81478290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210114179.8A Active CN114500689B (en) 2022-01-30 2022-01-30 Bus communication method, device, communication board, household electrical appliance and storage medium

Country Status (1)

Country Link
CN (1) CN114500689B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005094194A2 (en) * 2004-03-31 2005-10-13 Lg Electronics, Inc. Data processing method for application layer
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus
CN106444657A (en) * 2016-09-14 2017-02-22 长飞光纤光缆股份有限公司 Modbus main station command processing method and master station controller
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
CN108737529A (en) * 2018-05-11 2018-11-02 湖南理工学院 SCA waveform controlling methods, device, computer equipment and storage medium
CN110545163A (en) * 2019-09-05 2019-12-06 重庆理工大学 message processing method, message processing device and vehicle-mounted control system
CN111585697A (en) * 2020-04-03 2020-08-25 河南翔宇医疗设备股份有限公司 Communication method, device and multi-module communication system
CN112165331A (en) * 2020-09-22 2021-01-01 上海华东汽车信息技术有限公司 Data compression method and device, data decompression method and device, storage medium and electronic equipment
CN112579509A (en) * 2020-12-14 2021-03-30 珠海格力电器股份有限公司 Single-wire communication method, device, electronic equipment and readable storage medium
CN112667540A (en) * 2020-11-17 2021-04-16 猫岐智能科技(上海)有限公司 Multi-device bus communication method and electronic device
CN113253625A (en) * 2021-06-28 2021-08-13 四块科技(深圳)有限公司 Intelligent household control method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005094191A2 (en) * 2004-03-31 2005-10-13 Lg Electronics, Inc. Data processing method for network layer

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005094194A2 (en) * 2004-03-31 2005-10-13 Lg Electronics, Inc. Data processing method for application layer
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
CN106444657A (en) * 2016-09-14 2017-02-22 长飞光纤光缆股份有限公司 Modbus main station command processing method and master station controller
CN108737529A (en) * 2018-05-11 2018-11-02 湖南理工学院 SCA waveform controlling methods, device, computer equipment and storage medium
CN110545163A (en) * 2019-09-05 2019-12-06 重庆理工大学 message processing method, message processing device and vehicle-mounted control system
CN111585697A (en) * 2020-04-03 2020-08-25 河南翔宇医疗设备股份有限公司 Communication method, device and multi-module communication system
CN112165331A (en) * 2020-09-22 2021-01-01 上海华东汽车信息技术有限公司 Data compression method and device, data decompression method and device, storage medium and electronic equipment
CN112667540A (en) * 2020-11-17 2021-04-16 猫岐智能科技(上海)有限公司 Multi-device bus communication method and electronic device
CN112579509A (en) * 2020-12-14 2021-03-30 珠海格力电器股份有限公司 Single-wire communication method, device, electronic equipment and readable storage medium
CN113253625A (en) * 2021-06-28 2021-08-13 四块科技(深圳)有限公司 Intelligent household control method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIN模块介绍;yuan6441952;《简书,https://www.jianshu.com/p/8e1e47c4ee36》;20181109;第1-9页 *

Also Published As

Publication number Publication date
CN114500689A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN102984059B (en) Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof
KR20050032313A (en) Home network system
CN113490218A (en) Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
CN107360239A (en) A kind of client connection status detection method and system
CN114363099A (en) Network management system, control method, electronic controller and electric automobile
CN104125652A (en) Relay link establishing method, site, and system
CN114650612A (en) LoRa networking method based on carrier sensing technology
CN114500689B (en) Bus communication method, device, communication board, household electrical appliance and storage medium
CN115474107A (en) Intelligent electric energy meter communication method and device, equipment and storage medium
CN103078756A (en) Mode switching method and CAN (Controller Area Network)
CN107659456A (en) A kind of data collision transmission method based on RS485 communications
CN103763167B (en) Communication system and communication method thereof
CN106052045B (en) Air conditioner multi-split method based on power line carrier communication network
CN104348645A (en) Server and data transmission method of server
CN106953809B (en) 485 time-sharing communication-based equipment resource acquisition method
CN116150054B (en) Interrupt information processing method based on PCIE
CN101115217A (en) Method, system and device of paging access terminal
CN114448799B (en) Remote upgrading method, device, main control board, household electrical appliance and storage medium
WO2019119740A1 (en) Communication system and communication method for household appliance, and household appliance
CN116566531A (en) Clock synchronization method, device, communication board, household electrical appliance and storage medium
CN109673044A (en) Communication control method, chip, the gateway apparatus of chip
CN111431668B (en) Baud rate switching method based on multi-node UART communication, air conditioning system and processor
CN115460036A (en) System, method, equipment and storage medium for realizing multichannel CAN data transceiving based on UART
CN109995632B (en) Communication method, device and system of multi-machine communication system
CN114422288A (en) Communication system based on Modbus protocol

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
GR01 Patent grant
GR01 Patent grant