Data transmission method applied to air conditioner, air conditioning system and electronic equipment

By temporarily storing and forwarding induction data in the air-conditioning system using a buffer in the air-conditioning system, the problem of large delay and low efficiency of data transmission in the air-conditioning system is solved, and more efficient data transmission and higher control accuracy are achieved.

CN119983464APending Publication Date: 2025-05-13GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510277584.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In existing air-conditioning systems, data transmission delays and low efficiency lead to reduced control accuracy.

Method used

By setting up a data transceiver module in the air-conditioning system, the buffer temporarily stores induction data, and reads and sends data from the buffer during forwarding, improving data transmission efficiency.

Benefits of technology

It reduces the risk of data loss, supports the forwarding of multiple sensor data, and improves the number and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119983464A_ABST
    Figure CN119983464A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a data transmission method applied to an air conditioner, an air conditioning system and electronic equipment, and the method comprises the steps that induction data sent by first equipment on the air conditioning system is obtained, and the induction data is data collected by a sensor on the first equipment; storing the sensing data in a preset buffer; in response to triggering of a reading instruction for the sensing data, reading the sensing data from the buffer; second equipment used for receiving the induction data in the air conditioning system is determined; and sending the sensing data to the second equipment. The sensing data collected in the air conditioning system is temporarily stored in the buffer, the data is read from the buffer and sent when the data is forwarded, the risk of data loss can be reduced through the method when the data transmission amount is large, and due to the fact that the buffer can store multiple pieces of data, the data transmission efficiency is improved, and the data transmission efficiency is improved. The method can be applied to forwarding of multi-path sensor data, and the number and efficiency of data transmission are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air conditioners, and in particular to a data transmission method, an air conditioning system and an electronic device applied to air conditioners. Background Art

[0002] With the development of air-conditioning technology, the types and quantities of data transmitted between various devices in the air-conditioning system are increasing. For example, in a multi-connected air-conditioning system, it is necessary to control one outdoor unit and multiple indoor units, which involves the collection and transmission of multiple data. Traditional microprocessors, MCU (Microcontroller Unit), DSP (Digital Signal Processing), etc., all use serial calculation methods and can only process one task at a time. When processing multiple data channels, each channel of data needs to be processed in turn, resulting in a long processing time and low efficiency. Due to the long data processing time, the control unit cannot respond to the collected real-time data in time, reducing the control accuracy of the outdoor unit or indoor unit. Therefore, how to improve the transmission and processing efficiency of data in the air-conditioning system has become a problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, in order to solve some or all of the above-mentioned technical problems, the embodiments of the present application provide a data transmission method, an air conditioning system and an electronic device applied to an air conditioner.

[0004] In a first aspect, an embodiment of the present application provides a data transmission method applied to an air conditioner, the method comprising: acquiring sensing data sent by a first device on the air conditioning system, wherein the sensing data is data collected by a sensor on the first device; storing the sensing data in a preset buffer; in response to triggering a read instruction for the sensing data, reading the sensing data from the buffer; determining a second device in the air conditioning system for receiving the sensing data; and sending the sensing data to the second device.

[0005] In one possible implementation, acquiring sensing data sent by a first device on an air conditioning system includes: in response to receiving an analog signal collected by a sensor on the first device, preprocessing the analog signal to obtain a processed signal; and performing analog-to-digital conversion on the processed signal to obtain sensing data.

[0006] In one possible implementation, preprocessing an analog signal to obtain a processed signal includes: determining the type of the analog signal; if the analog signal is of a first preset type, filtering the analog signal, amplifying the filtered analog signal, and determining the amplified analog signal as the processed signal; if the analog signal is of a second preset type, filtering the analog signal, and determining the filtered analog signal as the processed signal.

[0007] In one possible implementation, storing the sensing data in a preset buffer includes: reading a write enable flag and a fill level variable corresponding to the buffer; if the write enable flag indicates that the buffer is currently in a writable state, and the fill level variable indicates that the buffer is currently not full, reading a write pointer corresponding to the buffer; and storing the sensing data in the buffer according to the write pointer.

[0008] In one possible implementation, reading sensing data from a buffer includes: reading a read enable flag and a fill level variable corresponding to the buffer; if the read enable flag indicates that the buffer is currently in a readable state, and the fill level variable indicates that the buffer is currently in a non-empty state, reading a read pointer corresponding to the buffer; and reading the sensing data from the buffer according to the read pointer.

[0009] In a second aspect, an embodiment of the present application provides an air-conditioning system, which includes: a data transceiver module, an outdoor unit and at least one indoor unit, the data transceiver module including a buffer; the data transceiver module is arranged between at least one indoor unit and the outdoor unit, and is connected to at least one indoor unit and the outdoor unit; the data transceiver module is used to execute the data transmission method applied to the air conditioner described in the first aspect above, and when the data transceiver module receives a signal from any indoor unit, the indoor unit is the first device and the outdoor unit is the second device; when the data transceiver module receives a signal from the outdoor unit, the outdoor unit is the first device and at least one indoor unit is the second device.

[0010] In one possible implementation, the data transceiver module includes a control unit, a signal preprocessing unit and an analog-to-digital converter, which are connected in sequence, and the buffer is connected to the analog-to-digital converter and the control unit; the control unit is used to: in response to receiving an analog signal collected by a sensor on the first device, send the analog signal to the signal preprocessing unit; the signal preprocessing unit is used to: preprocess the analog signal to obtain a processed signal, and send the processed signal to the analog-to-digital converter; the analog-to-digital converter is used to: perform analog-to-digital conversion on the processed signal to obtain sensing data, and send the sensing data to the buffer.

[0011] In a possible implementation manner, the control unit is a programmable logic chip.

[0012] In one possible embodiment, the signal preprocessing unit includes a first filter, a signal amplifier and a second filter, the first filter is connected to the control unit and the signal amplifier, the signal amplifier is connected to the analog-to-digital converter; the second filter is connected to the control unit and the analog-to-digital converter; the control unit is also used to: determine the type of the analog signal; if the analog signal is of the first preset type, send the analog signal to the first filter; if the analog signal is of the second preset type, send the analog signal to the second filter; the first filter is used to: filter the analog signal, and send the filtered analog signal to the signal amplifier; the signal amplifier is used to: amplify the filtered analog signal, and send the amplified analog signal to the analog-to-digital converter; the second filter is used to: filter the analog signal, and send the filtered analog signal to the analog-to-digital converter.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, a method of any embodiment of the data transmission method applied to an air conditioner according to the first aspect of the present application is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method of any embodiment of the data transmission method applied to an air conditioner as described in the first aspect above is implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program, which includes a computer readable code. When the computer readable code runs on a device, the processor in the device implements a method as in any embodiment of the data transmission method applied to an air conditioner according to the first aspect above.

[0016] The data transmission method, air conditioning system and electronic device applied to air conditioners provided in the embodiments of the present application acquire the sensing data sent by the first device on the air conditioning system, store the sensing data in a buffer, and when a read instruction for the sensing data is triggered, read the sensing data from the buffer and send the sensing data to the second device in the air conditioning system. The embodiments of the present application realize the temporary storage of the sensing data collected in the air conditioning system in the buffer, and when forwarding the data, read the data from the buffer and send the data. When the data transmission volume is large, the risk of data loss can be reduced by this method, and because the buffer can store multiple data, the method can be applied to the forwarding of multi-channel sensor data to improve the quantity and efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0020] Figure 1 A flow chart of a data transmission method applied to an air conditioner provided in an embodiment of the present application;

[0021] Figure 2 A flowchart of another data transmission method applied to an air conditioner provided in an embodiment of the present application;

[0022] Figure 3 A flowchart of another data transmission method applied to an air conditioner provided in an embodiment of the present application;

[0023] Figure 4 A flowchart of another data transmission method applied to an air conditioner provided in an embodiment of the present application;

[0024] Figure 5 A flowchart of another data transmission method applied to an air conditioner provided in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of the structure of a data transmission device applied to an air conditioner provided in an embodiment of the present application;

[0026] Figure 7 A schematic diagram of the structure of an air conditioning system provided in an embodiment of the present application;

[0027] Figure 8 A schematic diagram of the structure of another air conditioning system provided in an embodiment of the present application;

[0028] Fig. 9 A structural schematic diagram of another air conditioning system provided in an embodiment of the present application;

[0029] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values ​​described in these embodiments do not limit the scope of the present application.

[0031] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.

[0032] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0033] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0034] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.

[0035] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0036] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0037] Technologies, circuits, and devices known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, circuits, and devices should be considered as part of the specification.

[0038] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0039] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0040] In order to solve the technical problems of large data transmission delay and low efficiency in air-conditioning systems in the prior art, the present application provides a data transmission method applied to air conditioning. By storing the sensing data in the air-conditioning system in a cache, the risk of data loss can be reduced, the forwarding of multi-channel sensor data can be supported, and the amount and efficiency of data transmission can be improved.

[0041] Figure 1 A flow chart of a data transmission method applied to an air conditioner provided in an embodiment of the present application. The method can be applied to an air-conditioning system, and the method can be executed by an electronic device such as a control unit in the air-conditioning system, or by other electronic devices connected to the air conditioner. In addition, the execution subject of the method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute the method, or a plurality of electronic devices can cooperate with each other to execute the method. When the above-mentioned execution subject is software, the method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.

[0042] like Figure 1 As shown, the method specifically includes:

[0043] Step 101: Acquire sensing data sent by a first device on the air conditioning system.

[0044] In some embodiments, the first device may be various devices in the air-conditioning system, for example, an indoor unit or an outdoor unit. The number of the first devices may be one or more. The sensing data is data collected by a sensor on the first device. For example, when the first device is an outdoor unit of an air conditioner, the sensing data may be refrigerant pressure data, humidity data, motor speed data, temperature data, etc.; when the first device is an indoor unit of an air conditioner, the sensing data may be indoor temperature data, indoor humidity data, air supply motor speed data, oxygen concentration data, etc.

[0045] The electronic device executing the method may directly receive the sensing data from the sensor, or may process (eg, filter, screen, etc.) the data collected by the sensor to obtain the sensing data.

[0046] Step 102: store the sensing data in a preset buffer.

[0047] In some embodiments, a buffer may be provided in an electronic device that executes the method, and after the electronic device acquires the sensing data, it may store the sensing data in the buffer. Optionally, the buffer may be operated in various ways. For example, a FIFO (First In First Out) queue may be used to store the sensing data in the buffer, that is, multiple sensing data may be stored in the buffer in sequence according to the acquisition time of the sensing data.

[0048] Step 103 : in response to triggering a read instruction for the sensing data, reading the sensing data from the buffer.

[0049] In some embodiments, the read instruction can be triggered when the above-mentioned electronic device meets the read condition. For example, if the electronic device is currently in a busy state, that is, it is processing other data, it is determined that it does not meet the read condition; if it is in an idle state, it is determined that it meets the read condition, and the read instruction can be triggered at this time. Read instructions triggered at different times correspond to different sensing data. For example, when storing sensing data, the address of the sensing data can be recorded. If the read instruction is triggered at the current moment, and the address read at the current moment is the address of the above-mentioned sensing data, the above-mentioned sensing data is read from the storage unit corresponding to the address.

[0050] Step 104: determine a second device in the air conditioning system for receiving the sensing data.

[0051] In some embodiments, the correspondence between the second device and the sensing data can be pre-set, and the corresponding second device can be determined based on the attribute information of the sensing data (such as type, identification, source, etc.). The number of first devices can be one or more. For example, if the first device is an outdoor unit of an air-conditioning system, the sensing data collected by the outdoor unit needs to be forwarded to the indoor unit by the electronic device that executes this method, and the indoor unit can serve as the second device. Similarly, if the first device is an indoor unit, the sensing data collected by the indoor unit needs to be forwarded to the outdoor unit by the electronic device that executes this method, and the outdoor unit can serve as the second device.

[0052] Step 105: Send the sensing data to the second device.

[0053] In some embodiments, the electronic device executing the method may send the sensing data to the second device through an interface with the second device.

[0054] The data transmission method applied to the air conditioner provided in the embodiment of the present application obtains the sensing data sent by the first device on the air conditioning system, stores the sensing data in a buffer, and when a read instruction for the sensing data is triggered, reads the sensing data from the buffer, and sends the sensing data to the second device in the air conditioning system. The embodiment of the present application realizes that the sensing data collected in the air conditioning system is temporarily stored in the buffer, and when forwarding the data, the data is read from the buffer and sent. When the data transmission volume is large, the risk of data loss can be reduced by this method, and because the buffer can store multiple data, the method can be applied to the forwarding of multi-channel sensor data, thereby improving the quantity and efficiency of data transmission.

[0055] In some optional implementations, such as Figure 2 As shown, step 101 includes:

[0056] Step 1011: In response to receiving an analog signal collected by a sensor on the first device, preprocess the analog signal to obtain a processed signal.

[0057] The analog signal may be a signal collected by various types of sensors. For example, when the first device is an air conditioner outdoor unit, the analog signal may be a signal collected by a piezoresistive effect sensor, a capacitive humidity sensor, a Hall sensor, a temperature sensor data, a capacitive pressure sensor, etc.

[0058] In order to improve the accuracy of data acquisition, the analog signal needs to be preprocessed. The preprocessing method can be preset, such as filtering, amplification and other preprocessing methods.

[0059] Step 1012: Perform analog-to-digital conversion on the processed signal to obtain the sensing data.

[0060] The processed signal is still an analog signal, and an analog-to-digital converter can be used to perform analog-to-digital conversion on the processed signal to obtain sensing data in digital form, so that the sensing data can be stored in a buffer.

[0061] This embodiment can improve the quality of the collected analog signals and further improve the accuracy of the sensing data by preprocessing the collected analog signals and performing analog-to-digital conversion.

[0062] In some optional implementations, such as Figure 3 As shown, the step 1011 includes:

[0063] Step 10111, determine the type of the analog signal.

[0064] The type of the analog signal can be determined by the interface number for receiving the analog signal, that is, different analog signals are received by corresponding interfaces, and the type of the analog signal is determined based on the interface number. Alternatively, the interface number can be directly used as the type of the analog signal.

[0065] Step 10112: If the analog signal is of the first preset type, filter the analog signal, amplify the filtered analog signal, and determine the amplified analog signal as the processed signal.

[0066] Among them, the analog signal of the first preset type can be a signal with a low amplitude that needs to be amplified. For example, the signals collected by piezoresistive effect sensors, capacitive humidity sensors, Hall sensors, etc. The amplitude of these signals is low and needs to be amplified before they can be converted into digital signals. Optionally, this embodiment can use a multi-stage filter for filtering to improve the filtering effect. The multi-stage filter can include cascaded high-pass filters, low-pass filters and other parts, and the type and number of filters can be set according to actual needs. The multi-stage filter removes high-frequency noise and low-frequency noise from the collected signals in turn, ensuring that the signal remains stable during transmission and processing, and improving the reliability of the system.

[0067] Step 10113: If the analog signal is of the second preset type, filter the analog signal, and determine the filtered analog signal as the processed signal.

[0068] The second preset type of analog signal may be a signal with a relatively high amplitude that does not need to be amplified, such as a signal collected by a temperature sensor, a capacitive pressure sensor, etc. These signals have a relatively high amplitude and can be converted into digital signals without amplification.

[0069] This embodiment classifies analog signals collected by different sensors and amplifies specific types of analog signals, thereby facilitating more accurate analog-to-digital conversion and improving the accuracy of data collection.

[0070] In some optional implementations, such as Figure 4 As shown, step 102 includes:

[0071] Step 1021, read the write enable flag and fill level variable corresponding to the buffer.

[0072] Among them, the write enable flag is a preset variable used to indicate whether the buffer is currently in a writable state. For example, the write enable flag is wr_en. If wr_en=0, it means that the buffer is currently unable to write data due to being busy or faulty; if wr_en=1, it means that the buffer is currently able to write data. The fill level variable is a preset variable used to indicate the amount of data currently stored in the buffer. The fill level variable is level. The higher the level value, the larger the amount of data stored in the buffer, that is, the smaller the remaining storage capacity.

[0073] Step 1022: If the write enable flag indicates that the buffer is currently in a writable state, and the fill level variable indicates that the buffer is currently not full, read the write pointer corresponding to the buffer.

[0074] Continuing the above example, if wr_en=1, and level is less than the preset maximum value, it is determined that the buffer is not full, and the write pointer can be read at this time. The write pointer indicates the address of a storage unit in the buffer, and the sensing data can be written into the currently idle storage unit according to the write pointer.

[0075] Step 1023: store the sensing data in the buffer according to the write pointer.

[0076] Usually, after the sensing data is written into the buffer, the write pointer needs to be updated to point to a new free storage unit.

[0077] This embodiment can determine the state of the buffer in real time by setting the write enable flag and the fill level variable, ensuring that the sensing data can be stored in the buffer, thereby improving the stability and accuracy of data transmission.

[0078] In some optional implementations, such as Figure 5 As shown, step 103 includes:

[0079] Step 1031, read the read enable flag and fill level variable corresponding to the buffer.

[0080] The read enable flag is a preset variable used to indicate whether the buffer is currently in a readable state. The fill level variable is the same as the fill level variable in the above step 1021. For example, the read enable flag is rd_en. If rd_en=0, it means that the buffer is currently unable to read data due to reasons such as being busy or faulty; if rd_en=1, it means that the buffer is currently able to read data.

[0081] Step 1032: If the read enable flag indicates that the buffer is currently in a readable state, and the fill level variable indicates that the buffer is currently in a non-empty state, read the read pointer corresponding to the buffer.

[0082] Continuing the above example, if rd_en=1, and level indicates that the buffer is not empty, it is determined that the buffer can be read, and the read pointer can be read at this time. The read pointer indicates the address of a storage unit containing data in the buffer, and data can be read from the corresponding storage unit according to the read pointer.

[0083] Step 1033: read the sensing data from the buffer according to the read pointer.

[0084] Usually, after reading data from the buffer, the read pointer needs to be updated to point to the next storage unit to be read.

[0085] Optionally, this embodiment can be combined with the above Figure 4 The embodiments shown are combined to implement a FIFO read and write mode for the buffer. That is, the write pointer always points to the next storage unit of the storage unit where data was written most recently, and the read pointer always points to the storage unit to be read. Therefore, after each data is written or read, the write pointer and the read pointer are increased by 1. When the write pointer is equal to the read pointer, it means that the buffer is currently empty, and the write pointer and the read pointer are reset.

[0086] This embodiment can determine the state of the buffer in real time by setting the read enable flag and the fill level variable, ensuring that the sensing data can be read from the buffer, thereby improving the stability and accuracy of data transmission.

[0087] Figure 6 A structural diagram of a data transmission device applied to an air conditioner provided in an embodiment of the present application. Specifically comprising: an acquisition module 601, used to acquire sensing data sent by a first device on an air conditioning system, wherein the sensing data is data collected by a sensor on the first device; a storage module 602, used to store the sensing data in a preset buffer; a reading module 603, used to extract the sensing data from the buffer in response to triggering a read instruction for the sensing data; a determination module 604, used to determine a second device in the air conditioning system for receiving the sensing data; and a sending module 605, used to send the sensing data to the second device.

[0088] In some optional implementations, the acquisition module includes: a preprocessing unit, used to preprocess the analog signal in response to receiving the analog signal collected by the sensor on the first device to obtain a processed signal; and a conversion unit, used to perform analog-to-digital conversion on the processed signal to obtain the sensing data.

[0089] In some optional implementations, the preprocessing unit includes: a determination subunit, used to determine the type of the analog signal; a first signal conditioning unit, used to filter the analog signal if the analog signal is of a first preset type, and amplify the filtered analog signal, and determine the amplified analog signal as the processed signal; a second signal conditioning unit, used to filter the analog signal if the analog signal is of a second preset type, and determine the filtered analog signal as the processed signal.

[0090] In some optional implementations, the storage module includes: a first reading unit, used to read a write enable flag and a fill level variable corresponding to the cache; a second reading unit, used to read a write pointer corresponding to the cache if the write enable flag indicates that the cache is currently in a writable state and the fill level variable indicates that the cache is currently not full; and a storage unit, used to store the sensing data in the cache according to the write pointer.

[0091] In some optional implementations, the reading module includes: a third reading unit, used to read a read enable flag and a fill level variable corresponding to the buffer; a fourth reading unit, used to read a read pointer corresponding to the buffer if the read enable flag indicates that the buffer is currently in a readable state and the fill level variable indicates that the buffer is currently in a non-empty state; and a fifth reading unit, used to read the sensing data from the buffer according to the read pointer.

[0092] The data transmission device for air conditioner provided in this embodiment can be as follows: Figure 6 The data transmission device applied to the air conditioner shown in can execute all steps of the above data transmission methods applied to the air conditioner, and then realize the technical effects of the above data transmission methods applied to the air conditioner. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.

[0093] Figure 7 A schematic diagram of the structure of an air conditioning system provided in an embodiment of the present application, specifically comprising: a data transceiver module 701, an outdoor unit 702 and at least one indoor unit 703, wherein the data transceiver module 701 comprises a buffer 7011. The data transceiver module 701 is disposed between the at least one indoor unit 703 and the outdoor unit 702, and is connected to the at least one indoor unit 703 and the outdoor unit 702.

[0094] like Figure 7As shown, when the number of indoor units is greater than 1 (including indoor unit 1-indoor unit N, a total of N indoor units), the air conditioning system can be a multi-connected air conditioning system. Since the multi-connected air conditioning system includes a large number of sensors and other equipment, and the amount of data transmitted and processed is large, the data transceiver module 701 in this embodiment can be used to perform multi-channel data forwarding.

[0095] The data transceiver module 701 may include a device with logic processing capability, signal conditioning capability, and data storage capability. The data transceiver module 701 is used to execute the data transmission method applied to the air conditioner described in the above embodiments. When the data transceiver module 701 receives a signal from any indoor unit, the indoor unit is the first device, and the outdoor unit 702 is the second device; when the data transceiver module 701 receives a signal from the outdoor unit 702, the outdoor unit 702 is the first device, and the at least one indoor unit 703 is the second device. That is, when the data transceiver module 701 receives the sensing data of the indoor unit, the sensing data is sent to the outdoor unit 702, and the outdoor unit 702 performs a corresponding function (such as setting the compressor power, etc.) according to the received sensing data; when the data transceiver module 701 receives the sensing data of the outdoor unit 702, the sensing data is sent to each indoor unit, and the indoor unit performs a corresponding function (such as setting the wind speed, etc.) according to the received sensing data.

[0096] The air-conditioning system provided in the embodiment of the present application, by setting a data transceiver module in the air-conditioning system, uses the data transceiver module to transmit data between the indoor unit and the outdoor unit, temporarily stores the collected multi-channel sensing data in a buffer, and when forwarding data, reads the data from the buffer and sends the data. When the data transmission volume is large, the risk of data loss can be reduced, and because the buffer can store multiple data, the method can be applied to the forwarding of multi-channel sensor data, thereby improving the amount and efficiency of data transmission.

[0097] In some optional implementations, such as Figure 8 As shown, the data transceiver module 701 includes a control unit 7012, a signal preprocessing unit 7013 and an analog-to-digital converter 7014, the control unit 7012, the signal preprocessing unit 7013 and the analog-to-digital converter 7014 are connected in sequence, and the buffer 7011 is connected to the analog-to-digital converter 7014 and the control unit 7012. The buffer 7011 can receive a digital signal sent by the analog-to-digital converter 7014 and store the digital signal, or send data read by the control unit 7012 to the control unit 7012.

[0098] The control unit 7012 is used for: in response to receiving an analog signal collected by a sensor on the first device, sending the analog signal to the signal preprocessing unit 7013.

[0099] For example, when the first device is an air conditioner outdoor unit 702, the analog signal may be a signal collected by a piezoresistive effect sensor, a capacitive humidity sensor, a Hall sensor, temperature sensor data, a capacitive pressure sensor, etc.

[0100] The signal preprocessing unit 7013 is used to preprocess the analog signal to obtain a processed signal, and send the processed signal to the analog-to-digital converter 7014.

[0101] In order to improve the accuracy of data collection, the analog signal needs to be preprocessed. The preprocessing method can be preset. For example, a filter, an amplifier and other devices are set in the signal preprocessing unit 7013 to perform preprocessing such as filtering and amplification on the processed signal.

[0102] The analog-to-digital converter 7014 is used to perform analog-to-digital conversion on the processed signal to obtain sensing data, and send the sensing data to the buffer 7011 .

[0103] The performance indicators of the analog-to-digital converter 7014 include resolution, conversion rate, quantization error, offset error, full-scale error, linearity, etc. The analog-to-digital converter 7014 used in this embodiment can be set according to requirements. For example, an analog-to-digital converter 7014 with characteristics such as 16-bit 6-channel input, wide dynamic range, high resolution, low noise, small integral error and small temperature drift is selected, and the full-scale programmable is required to adapt to input signals of different strengths, thereby improving conversion accuracy and reducing noise.

[0104] This embodiment can improve the quality of the collected analog signals and further improve the accuracy of the sensing data by preprocessing the collected analog signals and performing analog-to-digital conversion.

[0105] In some optional implementations, the control unit 7012 is a programmable logic chip. The programmable logic chip can implement certain logic processing functions through programming. For example, the programmable logic chip used in this embodiment can be an FPGA (Field Programmable Gate Array) chip, which has a high degree of flexibility and parallel processing capabilities, contains a large number of logic units and interconnection resources, can perform multiple tasks while achieving high speed and high precision, and can provide lower latency, thereby improving the synchronization control accuracy of the outdoor unit 702 and the indoor unit of the air-conditioning system.

[0106] In some optional implementations, such as Fig. 9As shown, the signal preprocessing unit 7013 includes a first filter 70131, a signal amplifier 70132 and a second filter 70133, the first filter 70131 is connected to the control unit 7012 and the signal amplifier 70132, the signal amplifier 70132 is connected to the analog-to-digital converter 7014; the second filter 70133 is connected to the control unit 7012 and the analog-to-digital converter 7014.

[0107] The control unit 7012 is also used to: determine the type of the analog signal; if the analog signal is of a first preset type, send the analog signal to the first filter 70131; if the analog signal is of a second preset type, send the analog signal to the second filter 70133.

[0108] The first preset type of analog signal may be a signal with a low amplitude that needs to be amplified. For example, signals collected by a piezoresistive effect sensor, a capacitive humidity sensor, a Hall sensor, etc. These signals have a low amplitude and need to be amplified before they can be converted into digital signals. The second preset type of analog signal may be a signal with a high amplitude that does not need to be amplified. For example, signals collected by a temperature sensor data, a capacitive pressure sensor data, etc. These signals have a high amplitude and can be converted into digital signals without amplification.

[0109] The first filter 70131 is used to filter the analog signal and send the filtered analog signal to the signal amplifier 70132.

[0110] Optionally, this embodiment can use a multi-stage filter for filtering to improve the filtering effect. The multi-stage filter may include a cascaded high-pass filter, a low-pass filter and other parts, and the type and number of filters can be set according to actual needs. The multi-stage filter removes high-frequency noise and low-frequency noise from the collected signal in turn, ensuring that the signal remains stable during transmission and processing, and improving the reliability of the system.

[0111] The signal amplifier 70132 is used to amplify the filtered analog signal and send the amplified analog signal to the analog-to-digital converter 7014.

[0112] The signal amplifier 70132 amplifies the weak analog signal in proportion to ensure easy identification of data collection. Optionally, a controllable gain amplifier can be used as the signal amplifier 70132. The controllable gain amplifier can be controlled by the control unit 7012, and different amplification factors (such as 16 different amplification factors such as 1 to 8000) can be achieved in a cascade manner according to different gain ranges to meet the requirements of data collection.

[0113] The second filter 70133 is used to filter the analog signal and send the filtered analog signal to the analog-to-digital converter 7014.

[0114] The structure of the second filter 70133 may be the same as or different from that of the first filter 70131 .

[0115] This embodiment classifies the analog signals collected by different sensors according to their amplitudes, and the signal conditioning circuit is composed of the above-mentioned first filter and signal amplifier, which can filter and amplify the weak signals collected by the sensor, thereby facilitating more accurate analog-to-digital conversion and improving the accuracy of data collection.

[0116] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Fig.10 The electronic device 1000 shown includes: at least one processor 1001, a memory 1002, at least one network interface 1004 and other user interfaces 1003. The various components in the electronic device 1000 are coupled together via a bus system 1005. It is understood that the bus system 1005 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 1005 is not described in detail. Fig.10 Various buses are labeled as bus system 1005 .

[0117] The user interface 1003 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0118] It can be understood that the memory 1002 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory 1002 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0119] In some implementations, the memory 1002 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 10021 and an application program 10022 .

[0120] The operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 10022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 10022.

[0121] In this embodiment, by calling the program or instruction stored in the memory 1002, specifically, the program or instruction stored in the application 10022, the processor 1001 is used to execute the method steps provided by each method embodiment, for example, including:

[0122] Acquire sensing data sent by a first device on the air-conditioning system, wherein the sensing data is data collected by a sensor on the first device; store the sensing data in a preset buffer; read the sensing data from the buffer in response to triggering a read instruction for the sensing data; determine a second device in the air-conditioning system for receiving the sensing data; and send the sensing data to the second device.

[0123] The method disclosed in the above embodiment of the present application can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1001. The above processor 1001 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002 and completes the steps of the above method in combination with its hardware.

[0124] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.

[0125] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0126] The electronic device provided in this embodiment may be Fig.10 The electronic device shown in can execute all the steps of the above-mentioned data transmission methods applied to air conditioners, thereby achieving the technical effects of the above-mentioned data transmission methods applied to air conditioners. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.

[0127] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0128] When one or more programs in the storage medium can be executed by one or more processors, the data transmission method applied to the air conditioner executed on the electronic device side can be implemented.

[0129] The processor is used to execute the program stored in the memory to implement the following steps of the data transmission method applied to the air conditioner executed on the electronic device side:

[0130] Acquire sensing data sent by a first device on the air-conditioning system, wherein the sensing data is data collected by a sensor on the first device; store the sensing data in a preset buffer; read the sensing data from the buffer in response to triggering a read instruction for the sensing data; determine a second device in the air-conditioning system for receiving the sensing data; and send the sensing data to the second device.

[0131] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different circuits to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0132] The steps of the circuits or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0133] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The steps, processes, and operations described in the text are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0134] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A data transmission method applied to air conditioner, characterized in that: The method comprises: Acquire sensing data sent by a first device on the air conditioning system, wherein the sensing data is data collected by a sensor on the first device; storing the sensed data in a preset buffer; In response to triggering a read instruction for the sensing data, reading the sensing data from the buffer; determining a second device in the air conditioning system for receiving the sensing data; The sensing data is sent to the second device.

2. The method according to claim 1, characterized in that The acquiring of sensing data sent by the first device on the air conditioning system includes: In response to receiving an analog signal collected by a sensor on the first device, preprocessing the analog signal to obtain a processed signal; Perform analog-to-digital conversion on the processed signal to obtain the sensing data.

3. The method according to claim 2, characterized in that The preprocessing of the analog signal to obtain a processed signal includes: determining a type of the analog signal; If the analog signal is of the first preset type, filtering the analog signal, amplifying the filtered analog signal, and determining the amplified analog signal as the processed signal; If the analog signal is of the second preset type, the analog signal is filtered, and the filtered analog signal is determined as the processed signal.

4. The method according to claim 1, characterized in that: The step of storing the sensing data in a preset buffer includes: Reading a write enable flag and a fill level variable corresponding to the buffer; If the write enable flag indicates that the buffer is currently in a writable state, and the fill level variable indicates that the buffer is currently not full, reading a write pointer corresponding to the buffer; The sensing data is stored in the buffer according to the write pointer.

5. The method according to claim 1, characterized in that The step of reading the sensing data from the buffer comprises: Reading a read enable flag and a fill level variable corresponding to the buffer; If the read enable flag indicates that the buffer is currently in a readable state, and the fill level variable indicates that the buffer is currently in a non-empty state, reading a read pointer corresponding to the buffer; The sensing data is read from the buffer according to the read pointer.

6. An air conditioning system, characterized in that: The air conditioning system comprises: a data transceiver module, an outdoor unit and at least one indoor unit, wherein the data transceiver module comprises a buffer; The data transceiver module is disposed between the at least one indoor unit and the outdoor unit, and is connected to the at least one indoor unit and the outdoor unit; The data transceiver module is used to execute the data transmission method applied to the air conditioner as described in any one of claims 1-5, and when the data transceiver module receives a signal from any indoor unit, the indoor unit is the first device and the outdoor unit is the second device; when the data transceiver module receives a signal from the outdoor unit, the outdoor unit is the first device and the at least one indoor unit is the second device.

7. The system according to claim 6, characterized in that The data transceiver module includes a control unit, a signal preprocessing unit and an analog-to-digital converter, wherein the control unit, the signal preprocessing unit and the analog-to-digital converter are connected in sequence, and the buffer is connected to the analog-to-digital converter and the control unit; The control unit is used to: in response to receiving an analog signal collected by a sensor on the first device, send the analog signal to the signal preprocessing unit; The signal preprocessing unit is used to: preprocess the analog signal to obtain a processed signal, and send the processed signal to the analog-to-digital converter; The analog-to-digital converter is used to perform analog-to-digital conversion on the processed signal to obtain sensing data, and send the sensing data to the buffer.

8. The system according to claim 7, characterized in that The control unit is a programmable logic chip.

9. The system according to claim 7, characterized in that The signal preprocessing unit includes a first filter, a signal amplifier and a second filter, the first filter is connected to the control unit and the signal amplifier, the signal amplifier is connected to the analog-to-digital converter; the second filter is connected to the control unit and the analog-to-digital converter; The control unit is further used to: determine the type of the analog signal; if the analog signal is of a first preset type, send the analog signal to the first filter; if the analog signal is of a second preset type, send the analog signal to the second filter; The first filter is used to: filter the analog signal and send the filtered analog signal to the signal amplifier; The signal amplifier is used to: amplify the filtered analog signal and send the amplified analog signal to the analog-to-digital converter; The second filter is used to filter the analog signal and send the filtered analog signal to the analog-to-digital converter.

10. An electronic device, characterized in that: include: Memory for storing computer programs; The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the data transmission method applied to the air conditioner described in any one of claims 1 to 5 is implemented.