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

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

Info

Publication number
CN114500689A
CN114500689A CN202210114179.8A CN202210114179A CN114500689A CN 114500689 A CN114500689 A CN 114500689A CN 202210114179 A CN202210114179 A CN 202210114179A CN 114500689 A CN114500689 A CN 114500689A
Authority
CN
China
Prior art keywords
communication
bus
data
field
identifier field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210114179.8A
Other languages
Chinese (zh)
Other versions
CN114500689B (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

Images

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 electrical appliance equipment and a storage medium, belonging to the technical field of electric control, wherein the method comprises the following steps: upon monitoring header information on a communication bus, extracting an identifier field from the header information; when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; and sending the response data to the communication bus. When the scheme is used for communication, the situation of overlarge data is avoided, the problem of communication delay is not easy to occur, and the communication delay can be reduced under the condition of ensuring the transmission efficiency.

Description

Bus communication method, device, communication board, household 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 and apparatus, a communication board, a home appliance, and a storage medium.
Background
Data is generally transmitted in the form of data packets in the prior art, but in this way, the data packets may have too large data, so that communication delay is easily caused.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a bus communication method, a bus communication device, a communication board, household electrical appliance equipment and a storage medium, and aims 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 including:
upon monitoring header information on a communication bus, extracting an identifier field from the header information;
when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; 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, performing 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 sent according to a target instruction in the identifier field;
generating a data field according to the data to be sent;
determining a data length from the data field; and
response data is composed based on the data length and the data field.
Optionally, before the step of extracting the identifier field from the header information when the header information on the communication bus is monitored, the method further includes:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal is an interval field; and
and when the voltage signal is an interval field, judging that header information on the communication bus is monitored.
Optionally, the separation field comprises a preset length of continuous low level state;
when detecting the voltage signal of transmission on the communication bus, judge whether voltage signal is the space field, include:
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 according to the judgment result.
In addition, in order to achieve the above object, the present invention further provides 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 sending the header information to the communication bus, the method further includes:
when response data on a communication bus are monitored, extracting a data field from the response data; and
and when the current address in the data field is consistent with the target address, analyzing the response data.
Optionally, when the current address in the data field is consistent with the target address, after the analyzing the response data, the method further includes:
judging whether the current communication is finished according to the response data;
determining a new target address and a target instruction by polling after the current communication is completed;
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
the new header information is sent to the communication bus.
In addition, to achieve the above object, the present invention also provides a bus communication apparatus including:
the device comprises a header monitoring module, a communication bus processing module and a communication bus processing module, wherein 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 a target instruction in the identifier field when a target address in the identifier field is consistent with a current address; and
and the response data sending module is used for sending the response data to the communication bus.
In addition, to achieve the above object, the present invention also provides a bus communication apparatus 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 generating module, configured to generate 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.
Further, to achieve the above object, the present invention also proposes a communication sheet including: the system comprises a memory, a processor and a bus communication program which is stored on the memory and can run 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 further provides a home appliance, including a plurality of communication boards as described above, each of the communication boards being connected to a communication bus.
In addition, in order to achieve the above object, the present invention further provides a storage medium having a bus communication program stored thereon, wherein the bus communication program realizes the bus communication method as described above when executed by a processor.
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; when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; and sending the response data to the communication bus. When the scheme is used for communication, the situation of overlarge data is avoided, the problem of communication delay is not easy to occur, and the communication delay can be reduced under the condition of ensuring the transmission efficiency.
Drawings
Fig. 1 is a schematic structural diagram of a communication board in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a bus communication method according to the present invention;
FIG. 3 is a schematic structural diagram of a communication system according to an embodiment of a bus communication method of the present invention;
FIG. 4 is a schematic structural diagram of a communication system according to another embodiment of the bus communication method of the present invention;
FIG. 5 is a schematic diagram of a communication message format of a communication system according to an embodiment of the bus communication method of the present invention;
FIG. 6 is a schematic diagram of an identifier field composition according to an embodiment of the bus communication method of the present invention;
FIG. 7 is a flowchart illustrating a second embodiment of a bus communication method according to the present invention;
FIG. 8 is a diagram of a header component of an embodiment of a bus communication method according to the invention;
FIG. 9 is a response composition diagram of an embodiment of the bus communication method of the present invention;
FIG. 10 is a flowchart illustrating a bus communication method according to a third embodiment of the present invention;
FIG. 11 is a flowchart illustrating a bus communication method according to a fourth embodiment of the present invention;
FIG. 12 is a flowchart illustrating a fifth embodiment of a bus communication method according to the present invention;
FIG. 13 is a functional block diagram of a bus communication device according to an embodiment of the present invention;
fig. 14 is a functional block diagram of another embodiment of a bus communication device according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
10 Communication bus 201 Main control board
20 Communication board 202 Slave control panel
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a communication board in 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 (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as keys, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface). The Memory 1005 may be a Random Access Memory (RAM) or a non-volatile Memory (e.g., a disk Memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the device configuration shown in fig. 1 does not constitute a limitation of the communication board and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a bus communication program.
In the communication board shown in fig. 1, the network interface 1004 is mainly used for connecting an external network and performing data communication with other network devices; the user interface 1003 is mainly used for connecting to a user equipment and performing data communication with the user equipment; the device calls a 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 bus communication method of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a bus communication method according to a first embodiment of the present invention.
In a first embodiment, the bus communication method is applied to a communication board connected to a communication bus, and includes:
in 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 solution 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 main body in this 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.
It should be noted that the household electrical appliance of this embodiment may include a plurality of the communication boards, and the plurality of communication boards are respectively connected to the communication bus, where the household electrical appliance may include, but is not limited to, a refrigerator, an air conditioner, a washing machine, and other types of household electrical appliances.
In a specific implementation, the slave control board in this embodiment may include, but is not limited to, a display control board, a microchip board, a frequency conversion board, a WIFI board, a development board, and other communication boards, and may also include other types of 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.
It should be noted that, as shown in fig. 4, fig. 4 is a schematic structural diagram of a communication system according to another embodiment, a 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 to a load, a master controller is disposed in the master control board 201 and used for sending an instruction to the corresponding slave control board 202, and the slave control board 202 is connected to the load to implement management of the load, where a slave controller may also be disposed in the slave control board 202, which is not limited in this embodiment.
In this embodiment, since each module is provided 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 slave control board are hung on a bus in a parallel connection mode, direct communication between the main control board and any one slave control board and direct communication between any two slave control boards can be realized, and the high-efficiency transmission and reliability of a 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, only a small amount of wire harnesses are needed or the wire harnesses are not needed to penetrate 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 is arranged, so that the heat preservation function of the refrigerator is improved, and the energy consumption of the refrigerator is reduced.
It should be noted that, in this embodiment, a bus connection manner 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 manner. For example, if the home appliance includes 1 master control board and 4 slave control boards, the master control board and the slave control boards are both connected to the communication bus, the master control board may 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 may 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 that realizes end-to-end communication may be used in the present embodiment, which is not limited in this embodiment.
Further, since the refrigerator is widely used in daily life of people as a household appliance, along with the progress of the technology, the refrigerator has not only the conventional basic refrigeration function and display, but also the current new technology is integrated into the refrigerator products, such as a frequency conversion board, microcrystalline preservation and the like. When a new function is added into the refrigerator, the drive board is often required to drive, and the drive board and the main control board need to communicate to receive a command sent by the host and return own state information. At present, a refrigerator system generally adopts a communication architecture with one master and multiple slaves, namely, a master control board is connected with a plurality of peripheral devices. The refrigerator generally uses a single chip as a main control chip and a UART port as a communication interface of a main control board and a peripheral. Multiple external communication devices require the use of multiple UART ports. With the increase of external devices, more peripheral single-chip microcomputers are required, a plurality of peripheral driving circuits are required for the main control board, connecting wires between the main control board and the peripheral equipment are increased, and the corresponding cost is increased. Due to the increase of peripheral devices, the existing main control board may not meet requirements, a new main control board needs to be designed, and a corresponding mounting structure may also need to be changed, so that the whole development cycle of a project is influenced, and the standardization of a computer board is not facilitated.
In another implementation manner, in order to solve the above problem, the communication system may further include an adapter plate, where the adapter plate is located between the communication plate and the communication bus, the communication plate is provided with connection interfaces, the communication plate is connected to one end of the adapter plate through the connection interfaces, and the other end of the adapter plate is connected to the communication bus, and slave control plates with different communications and specifications may be connected to the communication bus through the adapter plate, so that adaptability of the communication bus is implemented, and flexibility of expansion of the slave control plates is also improved.
It can be understood that, by using a master multi-slave mode, the master control board is required to have a plurality of UART ports, and with the increase of functions, the required UART ports are correspondingly increased, and the number of the UART ports of the single chip microcomputer for the household appliance is generally not more than 5. In the mass-produced board, the multiplexing UART port function may be defined as the output of other peripheral ports, and the port function is fixed and cannot be changed. These reasons may result in increased functionality being required because of the lack of UART ports that cannot be added. Each path of UART port needs four wires of +5V, GND, RX and TX, and the increased UART ports can also cause the increase of wire harnesses and increase of cost.
In this embodiment, the bus communication mode uses single-wire communication, and each device in the system only needs to use one UART port, so that the requirement of the host for the peripheral of the chip in a master-slave system is reduced, and the cost of a computer board and the cost of a wire harness are reduced. The communication speed can be adjusted according to the type and length of the transmission instruction, and the real-time performance of data transmission is improved.
It should be understood that reference may be made to fig. 5, where fig. 5 is a schematic diagram of a communication message format. As shown in fig. 5, the communication packet in the present scheme may be divided into two parts, namely a header and a response, where the header may specifically be header information, and the response may specifically be response data, which is not limited in this embodiment.
It should be noted that the header may be composed of a space field, a sync field, and an identifier field. The interval field as the beginning of a header can be composed of a period of low level, for example, the interval field can be composed of 20 bit low levels, because a data byte sent by the serial port is composed of a start bit (1 bit) + a data bit (8 bits) + a stop bit (1 bit or 2 bits), 20 low levels do not appear in the valid data of normal communication, and the valid data of the previous frame can be effectively ensured to be sent completely by detecting the interval field. The sync field is used for synchronizing the communication rate of the master control board with the slave control board, and the sync field may be composed of one or more bytes of data agreed in advance, that is, the sync field is not limited to be represented by a single byte, and may also be a plurality of bytes, such as 0x55, and the like, 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 type of a home appliance, a target address, and a command type to be communicated by a sending master control board, where the target address may be an address of the master control board if the master control board needs to communicate with itself, and the target address may be an address of a corresponding slave control board if the master control board needs to communicate with the slave control board, which is not limited in this embodiment.
It is to be understood that, for the identifier field, the home appliance type, the address of the communication board, and the command type of each device may be determined by a predetermined communication protocol. Each home device has a unique home type, such as: the home appliance type of the refrigerator may be: 0x01, the appliance type of the air conditioner may be: 0x02, and the like. Each communication board has a unique address, such as: the master control board has a master address of 0x001, the display control board has a slave address of 0x002, the microcrystalline board has a slave address of 0x003, the frequency conversion board has a slave address of 0x004, and the WIFI board has a slave address of 0x 005. Each instruction has a unique code, such as: the sent display board initialization data instruction is 0x0001, the inquired display board setting data instruction is 0x0002, the obtained microcrystal board data instruction is 0x0003, the sent press gear is 0x0004 for the frequency conversion board, and the reported main control board control information is 0x0006 for the WIFI board.
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 performing an overall check on 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 timed polling manner, and after the master control board sends a control command, the master control board performs timeout calculation, and if data replied by the slave control board is not received within a timeout time range, the master control board communicates with the next slave control board. The timing polling method may be 200ms, and the timeout 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 one master and multiple slaves communicate. Each device on the communication bus only needs to use one UART port, and the UART ports are connected to the bus only through one communication line after passing through the adapter plate. Each slave controller board connected to the bus has a unique identifier by which the slave controller boards can be distinguished. In this scheme, only one device sends data to the communication bus at each time.
In specific implementation, the master control board can be used as the only master in communication, all communication is initiated by the master control board, other external expansion functions such as a display control board, a microcrystalline board, a frequency conversion board, a WIFI board and other slave control boards are used as slaves, and the slave control boards can make corresponding responses according to types of instructions after receiving the instructions sent by the master control board.
In this embodiment, the above method flow can be executed from the perspective of the control board, the communication bus can be monitored in real time by the control board, and if the header information on the communication bus is monitored, the identifier field can be extracted from the header information.
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 understood that, based on the above principle, the identifier field of the header information contains the target address of the slave board to receive the data, so that the slave board can compare the target address in the identifier field with the corresponding current address to determine whether the target address is consistent with the current address. If the target address is not consistent with the current address, the header information is not sent to the slave control board, so that the response is not needed, and if the target address is consistent with the current address, the header information is sent to the slave control board, so that the response is needed.
It can be understood that, because the identifier field of the header information contains the instruction type, and each instruction has a unique code, the target instruction can be determined according to the instruction type, and then 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, the corresponding data to be sent is 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 then the response data is composed according to the data length and the data field.
And step S30, sending 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 onto the communication bus.
In this embodiment, when header information on a communication bus is monitored, an identifier field is extracted from the header information; when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; and sending the response data to the communication bus. When the embodiment communicates through the scheme, the situation of overlarge data can not occur, the problem of communication delay is not easy to occur, and the communication delay can be reduced under the condition of ensuring the transmission efficiency.
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, performing instruction analysis according to the identifier field to obtain a target instruction and a corresponding instruction type.
It should be noted that, as shown in fig. 8 and fig. 9, fig. 8 is a header composition diagram of an embodiment, fig. 9 is a response composition diagram of an embodiment, a checksum field may be added in the header, and a checksum data may also be added in the data field in the response, by which the security of bus communication may be improved by multiple checksum verification methods during bus communication.
It should be understood that when the slave controller monitors the header information on the communication bus, it may first determine whether the target address in the header information is consistent with its own current address, if not, do not perform instruction parsing, if so, determine whether the instruction type is the type that it handles, if not, do not respond, if so, calculate a checksum, determine whether the calculated checksum is consistent with the checksum in the checksum field in the header information, if not, do not respond, if so, respond.
Therefore, 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 resolution.
And step S202, when the instruction type belongs to a preset instruction type, generating response data according to the target instruction.
It is understood that the preset instruction type is an instruction type supported by the current slave control board, and the response can be performed if the instruction type belongs to the instruction type supported by the current slave control board.
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 understood that, in the case that the target address is consistent with the current address and the instruction type belongs to the preset instruction type, the first checksum may be determined according to the first checksum field in the header information, and meanwhile, the slave controller may further 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 controller may extract the appliance type, the target address, and the command type from the header information, sum all bytes in the data, and perform an exclusive or operation 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 sent 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 transmitted and the second checksum; determining a data length from 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 X8+X5+X4And +1, low-order priority is adopted, and the second check sum is obtained in a table look-up mode, so that the calculation time is saved.
It should be noted that the slave control board may further perform an exclusive or operation with 0x55 bytes after summing the data length and all bytes in the data field, so as to obtain a third checksum.
It should be appreciated that after the data length, the data field, and the second checksum field are determined in the manner described above, the response data may be composed based on the data length, the data field, and the second checksum field.
In this embodiment, when a target address in the identifier field is consistent with a 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 the security of bus communication can be improved through the above-mentioned address verification, instruction type verification and other manners.
In an embodiment, as shown in fig. 10, a third embodiment of the bus communication method according to the present invention is proposed based on the first embodiment or the second embodiment, and in this embodiment, before the step S10, the method further includes:
and S001, judging whether the voltage signal is an interval field or not when the voltage signal transmitted on the communication bus is detected.
It should be understood that the slave control board may monitor the communication bus in real time, in order to avoid the situation of communication collision, the present solution further adds an interval field in the header information, and by detecting the interval field, it may be effectively ensured that the sending of the previous frame of valid data is completed.
It can be understood that, in order to effectively distinguish the voltage signal of the inter-field from the voltage information of other information, since the valid data of normal communication does not have a plurality of low levels, the voltage signal of the inter-field may be set to a continuous low state including a preset length, where the preset length may be 20, or may be other numbers, and may be set according to practical situations, 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 the inter-field, it may be determined whether the voltage signal has a continuous low level state with a preset length, so as to obtain a determination result, and then determine whether the voltage signal is the inter-field according to the determination result.
In a specific implementation, if the voltage signal has a continuous low state with a preset length, the voltage signal is indicated as a space field, and if the voltage signal does not have a continuous low state with a preset length, the voltage signal is not indicated as a space field.
And step S002, when the voltage signal is a space field, judging that header information on the communication bus is monitored.
It should be appreciated that since the spacer field is the beginning of a preamble, if the voltage signal is detected as a spacer field, this indicates that preamble information on the communication bus has been detected.
In this embodiment, when a voltage signal transmitted on a communication bus is detected, whether the voltage signal is a separation field is determined, and when the voltage signal is the separation field, header information on the communication bus is determined and monitored, so that the header information can be distinguished from previous frame effective data through the separation field, the previous frame effective data can be effectively guaranteed to be sent through the separation field, and the data and the header can be accurately and respectively transmitted through a long separation field in the header, so that misidentification is avoided.
Referring to fig. 11, fig. 11 is a flowchart illustrating a bus communication method according to a fourth embodiment of the present invention.
In a first embodiment, the bus communication method is applied to a communication board connected to a communication bus, and includes:
step S40, when receiving the communication request, determines the target address and the target command according to the communication request.
In this embodiment, the method flow may be executed in the perspective of the master control board, and when the master control board receives the communication request, the master control board may determine a slave control board currently needing to perform communication, obtain a target address of the slave control board, and determine a corresponding target instruction.
Step S50, generating an identifier field according to the target address and the target instruction.
It should be understood that the corresponding command type may be determined according to the target command, and the appliance type may be obtained, so as to form the identifier field according to the appliance type, the target address, and the command type.
Step S60, header information is generated from the identifier field.
It will be appreciated that after the identifier field is 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, which in turn constitutes header information from the spacer field, the sync field, the identifier field, and the first checksum field.
And step S70, sending the header information to a communication bus.
It should be understood that the master board, after generating the header information in the above manner, may transmit the header information to the communication bus to communicate with the slave board through the communication bus.
In the 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 above mode, and the bus communication is carried out with the slave control board in a mode of sending the header information to the communication bus, so that the bus communication has higher pertinence, 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 proposed based on the fifth embodiment, and after step S70, the method further includes:
in step S80, when response data on the communication bus is monitored, a data field is extracted from the response data.
It should be understood that when the master control board monitors the response data on the communication bus, indicating that the data replied from the master control board is received, the data field may be extracted from the response data.
Step S90, when the current address in the data field matches the target address, the response data is analyzed.
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 resolve, if so, it determines whether the second checksum in the data field is consistent with the checksum calculated by itself, if not, it does not resolve, if so, it determines whether the third checksum in the second checksum field in the response data is consistent with the overall checksum calculated by itself, if not, it does not resolve, and if so, it parses the received data.
It is understood that when the current address in the data field is consistent with the target address, a second checksum is extracted from the data field, and a fourth checksum is generated according to the data field; when the second checksum is consistent with the fourth checksum, extracting a second checksum field from the response data, determining a third checksum according to the second checksum field, and generating a fifth checksum 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 has been completed according to the response data, and if so, may determine the next slave control board and the corresponding new target address and target instruction in a polling manner, and then may generate a new identifier field according to the new target address and target instruction, and further obtain new header information, and send it to the communication bus for the next communication.
In specific implementation, the slave control board can be traversed, the traversed slave control board is used as the current slave control board, and the master control board is communicated with the current slave control board through the 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 response data on the communication bus is monitored, a data field is extracted from the response data, and when a 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 safety of bus communication can be further improved.
Furthermore, an embodiment of the present invention further provides a storage medium, where a bus communication program is stored, and the bus communication program, when executed by a processor, implements the steps of the bus communication method as described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, referring to fig. 13, an embodiment of the present invention further provides a bus communication apparatus, where the bus communication apparatus includes:
a header monitoring module 100, 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 solution 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 main body in this 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.
It should be noted that the household electrical appliance of this embodiment may include a plurality of the communication boards, and the plurality of communication boards are respectively connected to the communication bus, where the household electrical appliance may include, but is not limited to, a refrigerator, an air conditioner, a washing machine, and other types of household electrical appliances.
In a specific implementation, the slave control board in this embodiment may include, but is not limited to, a display control board, a microchip board, a frequency conversion board, a WIFI board, a development board, and other communication boards, and may also include other types of 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.
It should be noted that, as shown in fig. 4, fig. 4 is a schematic structural diagram of a communication system according to another embodiment, a 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 to a load, a master controller is disposed in the master control board 201 and used for sending an instruction to the corresponding slave control board 202, and the slave control board 202 is connected to the load to implement management of the load, where a slave controller may also be disposed in the slave control board 202, which is not limited in this embodiment.
In this embodiment, since each module is provided 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 slave control board are hung on a bus in a parallel connection mode, direct communication between the main control board and any one slave control board and direct communication between any two slave control boards can be realized, and the high-efficiency transmission and reliability of a 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, only a small amount of wire harnesses are needed or the wire harnesses are not needed to penetrate 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 is arranged, so that the heat preservation function of the refrigerator is improved, and the energy consumption of the refrigerator is reduced.
It should be noted that, in this embodiment, a bus connection manner 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 manner. For example, if the home appliance includes 1 master control board and 4 slave control boards, the master control board and the slave control boards are both connected to the communication bus, the master control board may 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 may 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 that realizes end-to-end communication may be used in the present embodiment, which is not limited in this embodiment.
Further, since the refrigerator is widely used in daily life of people as a household appliance, along with the progress of the technology, the refrigerator has not only the conventional basic refrigeration function and display, but also the current new technology is integrated into the refrigerator products, such as a frequency conversion board, microcrystalline preservation and the like. When a new function is added into the refrigerator, the drive board is often required to drive, and the drive board and the main control board need to communicate to receive a command sent by the host and return own state information. At present, a refrigerator system generally adopts a communication architecture with one master and multiple slaves, namely, a master control board is connected with a plurality of peripheral devices. The refrigerator generally uses a single chip as a main control chip and a UART port as a communication interface of a main control board and a peripheral. Multiple external communication devices require the use of multiple UART ports. With the increase of external devices, more peripheral single-chip microcomputers are required, a plurality of peripheral driving circuits are required for the main control board, connecting wires between the main control board and the peripheral equipment are increased, and the corresponding cost is increased. Due to the increase of peripheral devices, the existing main control board may not meet requirements, a new main control board needs to be designed, and a corresponding mounting structure may also need to be changed, so that the whole development cycle of a project is influenced, and the standardization of a computer board is not facilitated.
In another implementation manner, in order to solve the above problem, the communication system may further include a patch panel, where the patch panel is located between the communication panel and the communication bus, the communication panel is provided with connection interfaces, the communication panel is connected to one end of the patch panel through the connection interfaces, the other end of the patch panel is connected to the communication bus, and the patch panel can access the slave control panels with different communications and specifications to the communication bus, so as to implement adaptability of the communication bus and improve flexibility of expansion of the slave control panels.
It can be understood that, a master-slave mode is used, a master control board is required to be provided with a plurality of UART ports, along with the increase of functions, the required UART ports are correspondingly increased, and the number of the UART ports of the single chip microcomputer for household appliances is generally not more than 5. In the mass-produced board, the multiplexing UART port function may be defined as the output of other peripheral ports, and the port function is fixed and cannot be changed. These reasons may result in increased functionality being required because of the lack of a UART port that cannot be added. Each path of UART port needs four wires of +5V, GND, RX and TX, and the increased UART ports can also cause the increase of wire harnesses and increase of cost.
In this embodiment, the bus communication mode uses single-wire communication, and each device in the system only needs to use one UART port, so that the requirement of the host for the peripheral of the chip in a master-slave system is reduced, and the cost of a computer board and the cost of a wire harness are reduced. The communication speed can be adjusted according to the type and the length of the transmission instruction, and the real-time performance of data transmission is improved.
It should be understood that reference may be made to fig. 5, where fig. 5 is a schematic diagram of a communication message format. As shown in fig. 5, the communication packet in the present scheme may be divided into two parts, namely a header and a response, where the header may specifically be header information, and the response may specifically be response data, which is not limited in this embodiment.
It should be noted that the header may be composed of a space field, a sync field, and an identifier field. The interval field as the beginning of a header can be composed of a period of low level, for example, the interval field can be composed of 20 bit low levels, because a data byte sent by the serial port is composed of a start bit (1 bit) + a data bit (8 bits) + a stop bit (1 bit or 2 bits), 20 low levels do not appear in the valid data of normal communication, and the valid data of the previous frame can be effectively ensured to be sent completely by detecting the interval field. The sync field is used for synchronizing the communication rate of the master control board with the slave control board, and the sync field may be composed of one or more bytes of data agreed in advance, that is, the sync field is not limited to be represented by a single byte, and may also be a plurality of bytes, such as 0x55, and the like, 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 type of a home appliance, a target address, and a command type to be communicated by a sending master control board, where the target address may be an address of the master control board if the master control board needs to communicate with itself, and the target address may be an address of a corresponding slave control board if the master control board needs to communicate with the slave control board, which is not limited in this embodiment.
It is to be understood that, for the identifier field, the home appliance type, the address of the communication board, and the command type of each device may be determined by a predetermined communication protocol. Each home device has a unique home type, such as: the home appliance type of the refrigerator may be: 0x01, the appliance type of the air conditioner may be: 0x02, and the like. Each communication board has a unique address, such as: the master control board has a master address of 0x001, the display control board has a slave address of 0x002, the microcrystalline board has a slave address of 0x003, the frequency conversion board has a slave address of 0x004, and the WIFI board has a slave address of 0x 005. Each instruction has a unique code, such as: the sent display board initialization data instruction is 0x0001, the inquired display board setting data instruction is 0x0002, the obtained microcrystal board data instruction is 0x0003, the sent press gear is 0x0004 for the frequency conversion board, and the reported main control board control information is 0x0006 for the WIFI board.
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 performing an overall check on 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 timed polling manner, and after the master control board sends a control command, the master control board performs timeout calculation, and if data replied by the slave control board is not received within a timeout time range, the master control board communicates with the next slave control board. The timing polling method may be 200ms, and the timeout 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 one master and multiple slaves communicate. Each device on the communication bus only needs to use one UART port, and the UART ports are connected to the bus only through one communication line after passing through the adapter plate. Each slave controller board connected to the bus has a unique identifier by which the slave controller boards can be distinguished. In this scheme, only one device sends data to the communication bus at each time.
In specific implementation, the master control board can be used as the only master in communication, all communication is initiated by the master control board, other external expansion functions such as a display control board, a microcrystalline board, a frequency conversion board, a WIFI board and other slave control boards are used as slaves, and the slave control boards can make corresponding responses according to types of instructions after receiving the instructions sent by the master control board.
In this embodiment, the above method flow can be executed from the perspective of the control board, the communication bus can be monitored in real time by the control board, and if the header information on the communication bus is monitored, the identifier field can be extracted from the header information.
And the data analysis module 200 is configured to generate 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 understood that, based on the above principle, the identifier field of the header information contains the target address of the slave board to receive the data, so that the slave board can compare the target address in the identifier field with the corresponding current address to determine whether the target address is consistent with the current address. If the target address is not consistent with the current address, the header information is not sent to the slave control board, so that the response is not needed, and if the target address is consistent with the current address, the header information is sent to the slave control board, so that the response is needed.
It can be understood that, because the identifier field of the header information contains the instruction type, and each instruction has a unique code, the target instruction can be determined according to the instruction type, and then 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, the corresponding data to be sent is 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 then the response data is composed according to the data length and the data field.
A data sending module 300, 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 onto the communication bus.
In this embodiment, when header information on a communication bus is monitored, an identifier field is extracted from the header information; when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; and sending the response data to the communication bus. When the embodiment communicates through the scheme, the situation of overlarge data can not occur, the problem of communication delay is not easy to occur, and the communication delay can be reduced under the condition of ensuring the transmission efficiency.
In addition, referring to fig. 14, an embodiment of the present invention further provides a bus communication apparatus, where the bus communication apparatus includes:
the target determination module 400 is configured to, when a communication request is received, determine a target address and a target instruction according to the communication request.
In this embodiment, the method flow may be executed in the perspective of the master control board, and when the master control board receives the communication request, the master control board may determine a slave control board currently needing to perform communication, obtain a target address of the slave control board, and determine a corresponding target instruction.
An identifier field generating module 500, configured to generate an identifier field according to the target address and the target instruction.
It should be understood that the corresponding command type may be determined according to the target command, and the appliance type may be obtained, so as to form the identifier field according to the appliance type, the target address, and the command type.
A header generation module 600 configured to generate header information according to the identifier field.
It will be appreciated that after the identifier field is 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, which in turn constitutes header information from the spacer field, the sync field, the identifier field, and the first checksum field.
A header sending module 700, configured to send the header information to a communication bus.
It should be understood that the master board, after generating the header information in the above manner, may transmit the header information to the communication bus to communicate with the slave board through the communication bus.
In the 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 above mode, and the bus communication is carried out with the slave control board in a mode of sending the header information to the communication bus, so that the bus communication has higher pertinence, and the safety of the bus communication is improved.
In other embodiments or specific implementation methods of the bus communication apparatus according to the present invention, reference may be made to the above method embodiments, and details are not described herein again.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) readable by an estimator as described above and includes instructions for causing a smart device (e.g. a mobile phone, an estimator, a communication board, or a network communication board, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A bus communication method applied to a communication board connected to a communication bus, the bus communication method comprising:
upon monitoring header information on a communication bus, extracting an identifier field from the header information;
when the target address in the identifier field is consistent with the current address, generating response data according to a target instruction in the identifier field; and
and sending the response data to the communication bus.
2. The bus communication method according to claim 1, wherein the generating response data according to the target instruction in the identifier field when the target address in the identifier field coincides with the current address includes:
when the target address in the identifier field is consistent with the current address, performing 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.
3. The bus communication method as claimed in claim 1, wherein said generating response data according to the target instruction in the identifier field comprises:
determining data to be sent according to a target instruction in the identifier field;
generating a data field according to the data to be sent;
determining a data length from the data field; and
response data is composed based on the data length and the data field.
4. A bus communication method according to any of claims 1 to 3, wherein, before extracting the identifier field from the header information when the header information on the communication bus is monitored, further comprising:
when a voltage signal transmitted on a communication bus is detected, judging whether the voltage signal is an interval field; and
and when the voltage signal is an interval field, judging that header information on the communication bus is monitored.
5. The bus communication method as claimed in claim 4, wherein the spacer field includes a continuous low state of a preset length;
when detecting the voltage signal of transmission on the communication bus, judge whether voltage signal is the space field, include:
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 according to the judgment result.
6. A bus communication method applied to a communication board connected to a communication bus, the bus communication method comprising:
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.
7. The bus communication method of claim 6, wherein after sending the header information to a communication bus, further comprising:
when response data on a communication bus are monitored, extracting a data field from the response data; and
and when the current address in the data field is consistent with the target address, analyzing the response data.
8. The bus communication method according to claim 7, wherein after the response data is parsed when the current address in the data field coincides with the target address, the method further comprises:
judging whether the current communication is finished according to the response data;
determining a new target address and a target instruction by polling after the current communication is completed;
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
the new header information is sent to the communication bus.
9. A bus communication apparatus, characterized in that the bus communication apparatus comprises:
the device comprises a header monitoring module, a communication bus processing module and a communication bus processing module, wherein 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 a target instruction in the identifier field when a target address in the identifier field is consistent with a current address; and
and the response data sending module is used for sending the response data to the communication bus.
10. A bus communication apparatus, characterized in that the bus communication apparatus comprises:
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 generating module, configured to generate 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.
11. A communication sheet, characterized in that the communication sheet comprises: memory, processor and bus communication program stored on the memory and executable on the processor, which when executed by the processor implements the bus communication method according to any of claims 1 to 5 or 6 to 8.
12. A home appliance comprising a plurality of communication boards as claimed in claim 11, wherein each of the plurality of communication boards is connected to a communication bus.
13. A storage medium having stored thereon a bus communication program which, when executed by a processor, implements the bus communication method according to any one of claims 1 to 5 or 6 to 8.
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 true CN114500689A (en) 2022-05-13
CN114500689B 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 (12)

* 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
US20080259956A1 (en) * 2004-03-31 2008-10-23 Lg Electronics Inc. Data Processing Method for Network 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

Patent Citations (12)

* 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
US20080259956A1 (en) * 2004-03-31 2008-10-23 Lg Electronics Inc. Data Processing Method for Network 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 (2)

* Cited by examiner, † Cited by third party
Title
YUAN6441952: "LIN模块介绍", 《简书,HTTPS://WWW.JIANSHU.COM/P/8E1E47C4EE36》 *
YUAN6441952: "LIN模块介绍", 《简书,HTTPS://WWW.JIANSHU.COM/P/8E1E47C4EE36》, 9 November 2018 (2018-11-09), pages 1 - 9 *

Also Published As

Publication number Publication date
CN114500689B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
WO2018223513A1 (en) Bluetooth testing method, terminal device, and computer readable storage medium
CN107612774B (en) Multi-channel synchronous sleeping method and system
RU2716560C2 (en) Radio base station and system having radio base station
CN101610192A (en) A kind of communication slave, bus cascade method and system
CN103078756A (en) Mode switching method and CAN (Controller Area Network)
CN103763167B (en) Communication system and communication method thereof
CN114500689A (en) Bus communication method, device, communication board, household appliance and storage medium
CN106052045B (en) Air conditioner multi-split method based on power line carrier communication network
CN106953809B (en) 485 time-sharing communication-based equipment resource acquisition method
CN104348645A (en) Server and data transmission method of server
CN105843046B (en) Intelligent household electrical appliance master control communication method and system
WO2019119740A1 (en) Communication system and communication method for household appliance, and household appliance
CN101446836B (en) Temperature control method and device for controlling temperature adjusting equipment of vending machine
CN108123863B (en) Communication system and communication method of household appliance and household appliance
CN107769960B (en) BMC management architecture based on CAN bus
CN109673044A (en) Communication control method, chip, the gateway apparatus of chip
CN112637370B (en) Data processing method, device, equipment and storage medium
CN111404793B (en) Method, system, equipment and readable storage medium for controlling mapping of physical CAN port and virtual CAN port
CN114448799B (en) Remote upgrading method, device, main control board, household electrical appliance and storage medium
CN109995632B (en) Communication method, device and system of multi-machine communication system
CN114422288A (en) Communication system based on Modbus protocol
US9832636B2 (en) Method, device and system for determining working mode of data card type terminal
CN116566531A (en) Clock synchronization method, device, communication board, household electrical appliance and storage medium
CN108928213B (en) Parameter configuration method of control panel, control panel and controlled equipment

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