CN116437390B - Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system - Google Patents

Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system Download PDF

Info

Publication number
CN116437390B
CN116437390B CN202310698136.3A CN202310698136A CN116437390B CN 116437390 B CN116437390 B CN 116437390B CN 202310698136 A CN202310698136 A CN 202310698136A CN 116437390 B CN116437390 B CN 116437390B
Authority
CN
China
Prior art keywords
temperature control
control valve
control panel
event
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310698136.3A
Other languages
Chinese (zh)
Other versions
CN116437390A (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.)
Runa Smart Equipment Co Ltd
Original Assignee
Runa Smart Equipment 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 Runa Smart Equipment Co Ltd filed Critical Runa Smart Equipment Co Ltd
Priority to CN202310698136.3A priority Critical patent/CN116437390B/en
Publication of CN116437390A publication Critical patent/CN116437390A/en
Application granted granted Critical
Publication of CN116437390B publication Critical patent/CN116437390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D19/00Details
    • F24D19/10Arrangement or mounting of control or safety devices
    • F24D19/1006Arrangement or mounting of control or safety devices for water heating systems
    • F24D19/1009Arrangement or mounting of control or safety devices for water heating systems for central heating
    • F24D19/1015Arrangement or mounting of control or safety devices for water heating systems for central heating using a valve or valves
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Control Of Temperature (AREA)

Abstract

The invention discloses a temperature control panel, a temperature control valve, a communication method between the temperature control panel and the temperature control valve and a temperature control system, wherein the method comprises the following steps: the temperature control valve receives a request message sent by a temperature control panel; determining at least one updated temperature control valve event based on the request message, determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises accumulated valve opening time events, and the priority of the accumulated valve opening time events is highest; and packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to the priority, so that the temperature control panel updates the display content, and the packaging processing of each short message is not needed, so that the data received by both parties can be directly analyzed and used, the residence time of the interaction data in the air is short, and the interaction data is not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.

Description

Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system
Technical Field
The invention relates to the technical field of temperature controllers, in particular to a temperature control panel, a temperature control valve, a communication method between the temperature control panel and the temperature control valve and a temperature control system.
Background
With the rapid development of society and technology, the living standard of people is continuously improved, and the heat supply industry also meets the intelligent transformation requirement. In order to eliminate the need for manually controlling the opening and closing of the valve on the household heating pipeline, more and more families begin to use wireless temperature control suite equipment at present, wherein the wireless temperature control suite equipment comprises a wireless temperature control panel and a wireless temperature control valve. The wireless temperature control panel (battery powered) is hung on a wall of a user's home or the movable wireless temperature control panel is placed on a table top of the user's home, and the user can adjust the opening or closing or appointed opening (such as 1% -99% opening) of the wireless temperature control valve through the wireless temperature control panel at any time, so that the indoor temperature is controlled to be increased or reduced, and the user requirement is greatly met.
In the wireless data communication between the current temperature control panel and the temperature control valve, most of the adopted wireless data communication is data interaction through a single long message, data is analyzed according to a fixed sequence set in advance, the buffer space of a transmission or receiving FIFO (First Input First Output, first-in first-out queue) of a common conventional wireless chip is very limited, for example, 32 bytes, all information can not be transmitted and interacted through the single long message, so that the data can be analyzed and used after the completion of receiving for several times, the residence time of the data in the air is long, the interference of other radio waves in the air is very easy, and the interaction data between the temperature control panel and the temperature control valve is unstable and unreliable.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a communication method between a temperature control panel and a temperature control valve, which can achieve the purpose of interacting event information of all temperature control valves through a plurality of short messages, without performing packet splicing processing on each short message, so that data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, and interaction data between the temperature control panel and the temperature control valve has a short residence time in the air and is not easily interfered by other radio waves in the air, thereby improving stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
A second object of the present invention is to provide another communication method between a temperature control panel and a temperature control valve.
A third object of the present invention is to propose a thermo valve.
A fourth object of the present invention is to provide a temperature control panel.
A fifth object of the present invention is to provide a temperature control system.
A sixth object of the present invention is to propose a computer readable storage medium.
To achieve the above objective, an embodiment of a first aspect of the present invention provides a communication method between a temperature control panel and a temperature control valve, which is applied to the temperature control valve, and the method includes: receiving a request message sent by a temperature control panel; determining at least one updated temperature control valve event based on the request message, and determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises an accumulated valve opening time event, and the priority of the accumulated valve opening time event is highest; and packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to a preset sequence from high priority to low priority so that the temperature control panel updates display content based on the reply short message.
According to the communication method of the temperature control panel and the temperature control valve, as the reply short message corresponding to each updated temperature control valve event is generally not more than 16 bytes, when the reply short message corresponding to each updated temperature control valve event is sequentially sent, the aim that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data between the temperature control panel and the temperature control valve is not easy to be interfered by other radio waves in the air, and the stability and the reliability of the interaction data between the temperature control panel and the temperature control valve are improved.
According to one embodiment of the present invention, the request message includes first power-up result information of the temperature control panel, and determining at least one updated temperature control valve event based on the request message includes: if the temperature control panel is determined to be electrified for the first time based on the first-time electrifying result information, each pre-stored temperature control valve event is determined to be an updated temperature control valve event; and if the temperature control panel is determined to be not powered on for the first time based on the first power-on result information, determining each changed temperature control valve event as an updated temperature control valve event.
According to an embodiment of the present invention, the reply short message includes the first identification information of the updated temperature control valve event currently sent, and after each sending of the reply short message, the method further includes: receiving a response message sent by the temperature control panel, wherein the response message comprises second identification information of an updated temperature control valve event currently received by the temperature control panel; and determining that the first identification information is consistent with the second identification information, and sending the next reply short message according to a preset sequence.
According to one embodiment of the invention, the method further comprises: if the first identification information is inconsistent with the second identification information or the response message sent by the temperature control panel is not received within the first preset time, the response short message is retransmitted.
In order to achieve the above object, an embodiment of the second aspect of the present invention provides another communication method between a temperature control panel and a temperature control valve, applied to the temperature control panel, the method comprising: sending a request message to the temperature control valve so that the temperature control valve determines at least one updated temperature control valve event based on the request message, determines the priority of each updated temperature control valve event, and packages each updated temperature control valve event into a reply short message, wherein the updated temperature control valve event at least comprises accumulated valve opening time events, and the priority of the accumulated valve opening time events is highest; receiving reply short messages corresponding to each updated temperature control valve event sent by the temperature control valves according to a preset sequence from high priority to low priority in sequence; and updating the display content according to the reply short message.
According to the communication method of the temperature control panel and the temperature control valve, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the aim that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, so that the stability and reliability of the interaction data between the temperature control panel and the temperature control valve are improved.
According to one embodiment of the present invention, the request message includes first power-on result information of the temperature control panel, and the reply short message corresponding to each updated temperature control valve event sent by the temperature control valve according to a preset sequence from high priority to low priority is sequentially received, including: if the temperature control panel is electrified for the first time, sequentially receiving reply short messages corresponding to each prestored temperature control valve event sent by the temperature control valve according to a preset sequence, wherein the reply short messages corresponding to each prestored temperature control valve event are obtained by packaging each prestored temperature control valve event by the temperature control valve; if the temperature control panel is not electrified for the first time, the reply short messages corresponding to each changed temperature control valve event sent by the temperature control valves according to the preset sequence are sequentially received, wherein the reply short messages corresponding to each changed temperature control valve event are obtained by packaging each changed temperature control valve event by the temperature control valves.
According to an embodiment of the present invention, the reply short message includes first identification information of an updated temperature control valve event currently sent by the temperature control valve, and after each time the reply short message is received, the method further includes: and sending a response message to the temperature control valve, wherein the response message comprises second identification information of the currently received updated temperature control valve event, so that the temperature control valve sends a next response short message according to a preset sequence after determining that the first identification information is consistent with the second identification information.
According to one embodiment of the invention, the method further comprises: if the reply short message sent by the temperature control valve is not received within the second preset time, the request message is retransmitted.
To achieve the above object, an embodiment of a third aspect of the present invention provides a thermo valve, including: the temperature control panel comprises a first memory, a first processor and a program which is stored in the first memory and can run on the first processor, wherein when the first processor executes the program, the communication method of the temperature control panel and the temperature control valve of the embodiment of the first aspect is realized.
In the above-mentioned temperature control valve, when sending the reply short message that every updated temperature control valve event corresponds in proper order, adopt conventional, low price wireless chip can realize completely that just can exchange the purpose of all temperature control valve event information through a plurality of short messages, and need not to carry out the package processing to every short message again, make temperature control panel and temperature control valve both sides received data can directly analyze the back and use, and the interaction data between temperature control panel and the temperature control valve is shorter in the time of staying in the sky, be difficult for receiving the interference of other radio waves in the sky, thereby improved the stability and the reliability of interaction data between temperature control panel and the temperature control valve.
In order to achieve the above object, a fourth aspect of the present invention provides a temperature control panel, comprising: the temperature control panel comprises a second memory, a second processor and a program which is stored in the second memory and can run on the second processor, wherein when the second processor executes the program, the communication method of the temperature control panel and the temperature control valve of the embodiment of the second aspect is realized.
In the temperature control panel, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the purpose that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, the interaction data are not easy to be interfered by other radio waves in the air, and the stability and reliability of the interaction data between the temperature control panel and the temperature control valve are improved.
To achieve the above object, a fifth aspect of the present invention provides a temperature control system, including a temperature control valve of the third aspect and a temperature control panel of the fourth aspect.
In the temperature control system, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the purpose that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
To achieve the above object, an embodiment of a sixth aspect of the present invention provides a computer readable storage medium having a program stored thereon, the program being executable by a processor to implement the communication method between a temperature control panel and a temperature control valve of the embodiments of the first and second aspects.
In the computer readable storage medium, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the aim that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a schematic diagram of a temperature control system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an embodiment one of a communication method between a temperature control panel and a temperature control valve according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a split event group according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a comparison of a long message communication manner and a short message communication manner according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a second embodiment of a communication method between a temperature control panel and a temperature control valve according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a third embodiment of a communication method between a temperature control panel and a temperature control valve according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a temperature control valve according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a temperature control panel according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The temperature control panel, the temperature control valve, the communication method between the temperature control panel and the temperature control valve and the temperature control system according to the embodiment of the application are described below with reference to the accompanying drawings.
In the present application, referring to fig. 1, fig. 1 is a schematic structural diagram of a temperature control system, and the temperature control system 10 may include: a temperature control panel 110 and a temperature control valve 120. Wherein the temperature control panel 110 is connected with the temperature control valve 120. The temperature control panel 110 and the temperature control valve 120 may be connected by wireless communication, or may be connected by wired communication through an MBUS (Meter BUS) or an RS-485 BUS. The precondition that wireless communication can be implemented between the temperature control panel 110 and the temperature control valve 120 may be: the ID (Identity) numbers are matched consistently and are in the same wireless frequency point, and when the specific implementation is performed, the same ID can be written into the temperature control panel 110 and the temperature control valve 120 in advance, and the same wireless frequency point is generated for the temperature control panel 110 and the temperature control valve 120. Different wireless frequency points can be configured for other temperature control panels and temperature control valves, so that the problem that a large number of temperature control panels are in the same wireless frequency point channel to cause interference in data receiving and transmitting is avoided. The communication interaction process between the temperature control panel 110 and the temperature control valve 120 will be described in detail below.
Fig. 2 is a schematic flow chart of an embodiment one of a communication method between a temperature control panel and a temperature control valve provided by the embodiment of the present invention, where an execution body of the embodiment of the present invention is the temperature control valve, and the communication method between the temperature control panel and the temperature control valve provided by the embodiment of the present invention may include the following steps:
s201, receiving a request message sent by a temperature control panel.
Specifically, the request message may be used to inform the temperature control valve of related information of the temperature control panel, for example, the request message may include address information of the temperature control panel (for example, an ID of the temperature control panel, where the ID may be used to distinguish different temperature control panels), a room temperature value currently detected by the temperature control panel, a target room temperature value set by a user, status information of the temperature control panel (for example, the status information may include identification information about whether the temperature control panel is powered on for the first time, identification information about whether a battery of the temperature control panel is under-voltage, and identification information about whether a casing of the temperature control panel is detached or moved) and the like. In specific implementation, the temperature control valve can control to raise or lower the indoor temperature to the target room temperature value set by the user according to the room temperature value currently detected by the temperature control panel in the request message and the target room temperature value set by the user.
Specifically, the temperature control panel may actively send a request message to the temperature control valve at intervals of a preset time period, or may actively send a request message to the temperature control valve after receiving a control instruction of a user (for example, after the user operates a temperature setting key (adding or subtracting a key) of the temperature control panel, the temperature setting may be step ±0.5 ℃).
S202, determining at least one updated temperature control valve event based on the request message, and determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises accumulated valve opening time events, and the priority of the accumulated valve opening time events is highest.
Specifically, each thermostatted valve event may characterize the current partial information of the thermostatted valve. For example, a thermo-valve event may include: the accumulated valve opening time events of the temperature control valve, accumulated heat allocation events of the temperature control valve, upper and lower limit temperature events of the temperature control valve, card swiping residual time events of the temperature control valve and the like. For example, the cumulative open valve duration event may characterize current cumulative open valve duration information of the temperature controlled valve, and the cumulative apportionment heat event may characterize current cumulative apportionment heat information of the temperature controlled valve.
Specifically, a plurality of temperature control valve events can be preset according to different requirements, and as long as request information of the temperature control panel is received, the current updated temperature control valve event can be determined so as to synchronize the updated temperature control valve information to the temperature control panel later. In specific implementation, a temperature control valve event can be preset through a wireless debugging tool or an MBUS or an RS-485 bus (the MBUS or the RS-485 bus can be connected to a collector end, a 4G module at the collector end can be directly connected to a background webpage platform, then the temperature control valve event is preset for the temperature control valve through the background webpage platform, and related information of the temperature control panel and the temperature control valve can be sent to the background webpage platform for user inquiry.
In particular, as shown in fig. 3, N temperature control valve events combined according to a fixed sequence and included in a long message in the prior art may be split one by one according to a mode of splitting an event group, so as to obtain each individual temperature control valve event.
Specifically, the accumulated valve opening time event can represent the current accumulated valve opening time information of the temperature control valve, and the current accumulated valve opening time information is most beneficial to the user to know the current heating condition, so that the accumulated valve opening time event can be determined to be an updated temperature control valve event when a request message of the temperature control panel is received each time, and the priority of the accumulated valve opening time event can be preset to be the highest, so that the temperature control panel can obtain the current accumulated valve opening time information of the temperature control valve preferentially.
Specifically, the priority of each updated thermo-valve event may be determined according to the importance of each updated thermo-valve event, so that it may be ensured that the important updated thermo-valve events may be preferentially synchronized to the receiving side. For example, the importance degree of each updated thermo-valve event can be determined according to the update time sequence of each updated thermo-valve event or the update time interval of each updated thermo-valve event, so that the first updated thermo-valve event on the timestamp can be ensured to be synchronized to the receiver, and the receiver can be enabled to obtain the update sequence of each thermo-valve event, and the like.
Or, the priority of the accumulated valve opening time event is preset to be highest, and the priority of other updated temperature control valve events is determined in a random permutation and combination mode.
S203, packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to a preset sequence from high priority to low priority so that the temperature control panel updates display content based on the reply short message.
Specifically, each updated temperature control valve event can be individually packaged into a reply short message, and the reply short message corresponding to the accumulated valve opening time event is sent first according to the preset sequence of the priority from high to low, and then the reply short message corresponding to the rest updated temperature control valve event is sent.
Specifically, the temperature control panel can immediately analyze the reply short message after receiving the reply short message corresponding to each updated temperature control valve event, and immediately update the display content based on the reply short message. Or, the temperature control panel can also analyze the reply short message immediately after receiving the reply short message corresponding to each updated temperature control valve event, and update the display content together after analyzing the reply short message corresponding to each updated temperature control valve event one by one. Or, the temperature control panel can also analyze all the reply short messages corresponding to the updated temperature control valve event together after receiving the reply short messages corresponding to the updated temperature control valve event, and update the display content together based on the reply short messages corresponding to the updated temperature control valve event.
Specifically, the temperature control panel may update the display content based on the reply short message, where the display content may be corresponding settings and parameters.
According to the communication method of the temperature control panel and the temperature control valve, the temperature control valve receives the request message sent by the temperature control panel; determining at least one updated temperature control valve event based on the request message, and determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises an accumulated valve opening time event, and the priority of the accumulated valve opening time event is highest; and packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to a preset sequence from high priority to low priority so that the temperature control panel updates display content based on the reply short message. Therefore, the reply short message corresponding to each updated temperature control valve event is generally not more than 16 bytes, when the reply short message corresponding to each updated temperature control valve event is sequentially sent, a conventional low-price 433MZ/2.4GHZ wireless chip (such as NRF905/NRF24L01, the FIFO buffer space of which is 32 bytes) is adopted, the purpose that all temperature control valve event information can be interacted through a plurality of short messages can be completely realized, and the packet splicing processing is not needed for each short message, so that the data received by both the temperature control panel and the temperature control valve can be directly analyzed for use, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data between the temperature control panel and the temperature control valve is not easy to be interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
In some embodiments, the request message may include first power-up result information of the temperature control panel, and determining, based on the request message, the at least one updated temperature control valve event may include: if the temperature control panel is determined to be electrified for the first time based on the first-time electrifying result information, each pre-stored temperature control valve event is determined to be an updated temperature control valve event; and if the temperature control panel is determined to be not powered on for the first time based on the first power-on result information, determining each changed temperature control valve event as an updated temperature control valve event.
Specifically, if the temperature control panel is powered on for the first time, the temperature control panel can set the first power-on flag in the request message to 1; if the temperature control panel is not powered on for the first time, the temperature control panel can set the first power on flag in the request message to 0. The temperature control valve can judge whether the temperature control panel is electrified for the first time according to the first-time electrification identification information.
Specifically, if it is determined that the temperature control panel is powered on for the first time, the temperature control panel is characterized in that no information related to the temperature control valve exists in the temperature control panel, so that each pre-stored temperature control valve event in the temperature control valve is an updated temperature control valve event for the temperature control panel, at this time, the temperature control valve needs to package each pre-stored temperature control valve event into a reply short message, and each reply short message is sequentially sent according to a preset sequence from high priority to low priority, so that the temperature control panel updates display content based on the reply short message.
For example, when it is determined that the temperature control panel is powered on for the first time, after the temperature control valve individually packages 5 pre-stored temperature control valve events (temperature control valve event 1, temperature control valve event 2, temperature control valve event 3, temperature control valve event 4 and temperature control valve event 5), the pre-stored reply short messages corresponding to each temperature control valve event are sequentially sent to the temperature control panel according to a preset sequence (1→2→4→3→5) from high priority, and then the sequence of the reply short messages received by the temperature control panel is: the reply short message corresponding to the temperature control valve event 1, the reply short message corresponding to the temperature control valve event 2, the reply short message corresponding to the temperature control valve event 4, the reply short message corresponding to the temperature control valve event 3 and the reply short message corresponding to the temperature control valve event 5.
Specifically, if it is determined that the temperature control panel is not powered on for the first time, the currently changed temperature control valve event is an updated temperature control valve event for the temperature control panel, so that the temperature control valve only needs to determine the currently changed temperature control valve event as an updated temperature control valve event, and the temperature control valve needs to package each currently changed temperature control valve event into a reply short message, and sequentially sends each reply short message according to a preset sequence from high priority to low priority, so that the temperature control panel updates display content based on the reply short messages.
Specifically, in the operation process of the temperature control valve, if the relevant parameter corresponding to a certain temperature control valve event is changed, the temperature control valve event can be determined to be the temperature control valve event which is changed currently; and after determining that the background webpage platform changes the relevant parameters corresponding to a certain temperature control valve event through issuing a command, determining that the temperature control valve event is the temperature control valve event which is changed currently.
For example, when it is determined that the temperature control panel is not powered on for the first time, after the temperature control valve individually packages 3 temperature control valve events (temperature control valve event 1, temperature control valve event 3 and temperature control valve event 5) which are changed currently, the reply short messages corresponding to each temperature control valve event which are changed currently are sequentially sent to the temperature control panel according to a preset sequence (1 to 5 to 3) from high priority, and then the sequence of the reply short messages received by the temperature control panel is as follows: the reply short message corresponding to the temperature control valve event 1, the reply short message corresponding to the temperature control valve event 5 and the reply short message corresponding to the temperature control valve event 3.
In the embodiment of the invention, if the first power-on of the temperature control panel is determined based on the first power-on result information, each pre-stored temperature control valve event is determined to be an updated temperature control valve event; and if the temperature control panel is determined to be not powered on for the first time based on the first power-on result information, determining each changed temperature control valve event as an updated temperature control valve event. Therefore, after the temperature control valve determines that the temperature control panel is electrified for the first time, the prestored reply short message corresponding to each temperature control valve event is sent to the temperature control panel, so that the temperature control panel can synchronously update the relevant information of all the temperature control valve events to realize the information synchronization of the first electrification, and after the temperature control valve determines that the temperature control panel is not electrified for the first time, the reply short message corresponding to each temperature control valve event which is changed currently is sent to the temperature control panel, so that the temperature control panel can synchronously update the relevant information of the temperature control valve event which is changed currently, and thus, a user can conveniently determine the current heating condition according to the display content of the temperature control panel, and the use experience of the user is improved.
In some embodiments, after the synchronization of the information of the first power-up is achieved, the temperature control panel may actively send the current temperature control panel information to the temperature control valve every a preset reporting period (for example, 30 minutes). For example, the current temperature control panel information may include a target room temperature value set by a user and a room temperature value currently detected by the temperature control panel, the temperature control panel transmits the current temperature control panel information to the temperature control valve, and the temperature control valve may control the on/off valve according to a difference between the target room temperature value set by the user and the room temperature value currently detected by the temperature control panel. When the target room temperature value set by the user, namely the room temperature value currently detected by the temperature control panel, is equal to the starting temperature difference (for example, 1 ℃), the temperature control valve can be automatically opened or opened to a certain opening degree, so that the temperature is raised; when the temperature control panel detects the temperature value at present and the target temperature value set by the user is equal to the starting temperature difference, the temperature control valve can be automatically closed or closed to a certain opening degree, so that the temperature reduction is realized.
In some embodiments, the reply short message may include first identification information of the updated temperature control valve event that is currently sent, and after each reply short message is sent, the method for communicating the temperature control panel with the temperature control valve may further include: receiving a response message sent by the temperature control panel, wherein the response message comprises second identification information of an updated temperature control valve event currently received by the temperature control panel; and determining that the first identification information is consistent with the second identification information, and sending the next reply short message according to a preset sequence.
Specifically, each reply short message sent by the temperature control valve may include first identification information of the updated temperature control valve event currently sent, the temperature control panel may parse each received reply short message, answer according to the parsed identification information of the updated temperature control valve event, send second identification information carrying the parsed temperature control valve event to the temperature control valve, and if the temperature control valve determines that the first identification information and the second identification information are consistent, send the next reply short message according to a preset sequence.
In the embodiment of the invention, the reply short message comprises the first identification information of the updated temperature control valve event which is currently sent, and after each reply short message is sent, the reply message sent by the temperature control panel is received, wherein the reply message comprises the second identification information of the updated temperature control valve event which is currently received by the temperature control panel; and determining that the first identification information is consistent with the second identification information, and sending the next reply short message according to a preset sequence. Therefore, the updated temperature control valve event sent by the temperature control valve can be confirmed by the temperature control panel according to the identification information, so that the reliability of data transmission between the temperature control panel and the temperature control valve is improved.
In some embodiments, the method for communicating the temperature control panel with the temperature control valve may further include: if the first identification information is inconsistent with the second identification information or the response message sent by the temperature control panel is not received within the first preset time, the response short message is retransmitted.
Specifically, if it is determined that the first identification information is inconsistent with the second identification information or the temperature control valve does not receive the response message sent by the temperature control panel within the first preset time, the temperature control panel and the temperature control valve are characterized as being in error in the data transmission process, so that the temperature control valve can resend the response short message corresponding to the updated temperature control valve event.
For example, if the first identification information is inconsistent with the second identification information or the temperature control valve does not receive a reply message sent by the temperature control panel within a first preset time (for example, 1 minute), the temperature control valve may continuously send reply short messages corresponding to updated temperature control valve events for a preset number of times (for example, 3 times), if the final temperature control valve does not receive the reply message of the temperature control panel, the first identification information of the updated temperature control valve events is saved, and when the next request message of the temperature control panel is received, the reply short messages corresponding to the updated temperature control valve events are sent to the temperature control panel again according to the preset sequence until all the updated message information of all the temperature control valve events are sent to the temperature control panel.
In the embodiment of the invention, if the first identification information and the second identification information are inconsistent or the response message sent by the temperature control panel is not received within the first preset time, the response short message is retransmitted. Therefore, when errors occur in the data transmission process of the temperature control panel and the temperature control valve, the message information of the updated temperature control valve event is ensured to be transmitted to the temperature control panel through a retransmission mechanism, and therefore the use experience of a user is improved.
In some embodiments, the method for communicating the temperature control panel with the temperature control valve may further include: if the reply short message sent by the temperature control valve is not received within the second preset time, the request message is retransmitted.
Specifically, if the temperature control valve is not powered on or does not receive a request message sent by the temperature control panel at this time, the temperature control valve does not send back information to the temperature control panel. Therefore, after the temperature control panel sends the request message for the first time, if the feedback information of the temperature control valve is not received within the second preset time, the request message can be retransmitted. For example, the temperature control panel may continuously send the request message for a preset number of times (for example, 3 times) without receiving the feedback information of the temperature control valve within the second preset time, and if the final temperature control panel does not receive the feedback information of the temperature control valve, the temperature control panel may wait for the next preset reporting period to be sent again to the temperature control valve, or send the request message again to the temperature control valve after receiving the control instruction of the user (for example, the temperature setting key of the temperature control panel is operated by the user).
In the embodiment of the invention, if the reply short message sent by the temperature control valve is not received within the second preset time, the request message is retransmitted. Therefore, the request message of the temperature control panel can be transmitted to the temperature control valve through the retransmission mechanism, and the use experience of a user is improved.
In some embodiments, the reply short message may further include identification information of the next updated thermo valve event to be sent.
Specifically, when the reply short message includes the identification information of the updated thermo valve event to be sent next, after the temperature control panel analyzes the reply short message corresponding to the updated thermo valve event currently sent by the thermo valve (assuming that the updated thermo valve event currently sent is the thermo valve event 3), the identification information of the updated thermo valve event to be sent next (assuming that the updated thermo valve event received next is the thermo valve event 4) of the thermo valve can be obtained, and the temperature control panel can determine in advance that the updated thermo valve event received next is the thermo valve event 4 according to the identification information. If the next received updated temperature control valve event 4 is important, the reply short message corresponding to the temperature control valve event 4 can be directly analyzed after the reply short message is received next time, and the related information of the temperature control valve event 4 is displayed; if the next received updated temperature control valve event 4 is not particularly important, the response message may be directly sent after the next receiving the reply short message corresponding to the temperature control valve event 4, and after receiving the reply short messages corresponding to the remaining updated temperature control valve events, the reply short messages are analyzed together and the display content is updated together.
As shown in fig. 4, in the prior art, data interaction between the temperature control panel and the temperature control valve is realized through a long message communication mode, and in the embodiment of the invention, the temperature control panel sends a request message to the temperature control valve; the temperature control valve sends a reply short message corresponding to the temperature control valve event 1 to the temperature control panel; the temperature control panel sends a response message corresponding to the temperature control valve event 1 to the temperature control valve; according to a preset sequence, the temperature control valve sequentially sends reply short messages corresponding to updated temperature control valve events to the temperature control panel, and the temperature control panel sends corresponding reply messages corresponding to updated temperature control valve events to the temperature control valve.
The request message may include: message type, message length, device address, panel information and check code; the reply short message corresponding to the temperature control valve event N can comprise: message type + message length + device address + concrete information of the temperature control valve event N + the subsequent temperature control valve event M label + check code (for example, the reply short message corresponding to the temperature control valve event 1 may include message type + message length + device address + concrete information of the temperature control valve event 1 + subsequent temperature control valve event M label + check code), wherein the value of M may be 0 or 2-N, and when M takes 0, it is characterized that there is no temperature control valve event to be recovered by the subsequent temperature control valve; when M is 2-N, representing that the next temperature control valve event to be sent by the temperature control valve is one event of temperature control valve events 2-N; the response message corresponding to the temperature control valve event N may include: message type + message length + device address + identification + check code of temperature sensing valve event N (for example, the reply message corresponding to temperature sensing valve event 1 may include message type + message length + device address + identification + check code of temperature sensing valve event 1).
Specifically, when the temperature control panel receives a reply short message corresponding to a temperature control valve event N with a mark of "0" of a subsequent temperature control valve event M, the temperature control panel may send a reply message corresponding to the temperature control valve event N to the temperature control valve. And, because the mark "0" of the subsequent thermo valve event M characterizes that no subsequent thermo valve event needs to be recovered, the temperature control panel can determine that no updated thermo valve event is sent by the subsequent thermo valve according to the mark "0" of the subsequent thermo valve event M obtained after analysis, that is, the thermo valve has sent the reply short message corresponding to all updated thermo valve events to the temperature control panel.
As a specific example, if the temperature control valve determines that the temperature control panel is powered on for the first time according to the request message, the temperature control valve may reply the relevant information of all the temperature control valve events to the temperature control panel according to a preset sequence, so as to realize the synchronization of the information of the initial power on of the temperature control panel. It is assumed that the pre-stored thermo-valve event includes (this sequence is also a preset sequence of transmissions): an accumulated valve open time period event (whose identification information is set to 0x 01), an accumulated apportioned heat event (whose identification information is set to 0x 02), a parameter information event (whose identification information is set to 0x 04), an RTC time event (whose identification information is set to 0x 08), a temperature setting upper and lower limit event (whose identification information is set to 0x 10), a temperature lock event (whose identification information is set to 0x 20), and a panel card swiping remaining time event (whose identification information is set to 0x 40).
The information synchronization process of the initial power-on of the temperature control panel can comprise the following steps:
(1) The temperature control valve sends a reply short message corresponding to the accumulated valve opening time event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x01 (currently sent identification information of updated temperature control valve event ' accumulated valve opening time event ') + ' message length + valve ID + valve current state word + valve accumulated valve opening time + valve starting temperature difference +0x02 (next to be sent identification information of updated temperature control valve event) +CRC checksum;
(2) After receiving the reply short message corresponding to the accumulated valve opening time event sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0xFE (message type of response message) +message length+ID+0x01 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(3) The temperature control valve sends a reply short message corresponding to the accumulated and allocated heat event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x02 (currently sent identification information of updated temperature control valve event 'accumulated allocated heat event') +message length+valve id+valve accumulated allocated heat +0x04 (next to be sent identification information of updated temperature control valve event) +crc checksum;
(4) After receiving the reply short message corresponding to the accumulated and allocated heat event sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0 xFE+message length+ID+0x02 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(5) The temperature control valve sends a reply short message corresponding to the parameter information event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x04 (currently sent identification information of updated temperature control valve event "parameter information event")) +message length+valve ID+reporting period+temperature compensation value+wireless switch identification+whether the panel displays accumulated valve opening time identification, whether the panel displays accumulated allocated heat identification+0x08 (next to-be-sent identification information of updated temperature control valve event) +CRC checksum;
(6) After receiving the reply short message corresponding to the parameter information event sent by the temperature control valve, the temperature control panel immediately sends a response message, and the detailed structure of the response message can be as follows: 0 xFE+message length+ID+0x04 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(7) The temperature control valve sends a reply short message corresponding to the [ RTC time event ] to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x08 (currently sent identification information of updated temperature control valve event "RTC time event")) +message length+valve id+rtc time+0x10 (identification information of next to-be-sent updated temperature control valve event) +crc checksum;
(8) After receiving the reply short message corresponding to the [ RTC time event ] sent by the temperature control valve, the temperature control panel immediately sends a response message, and the detailed structure of the response message can be as follows: 0 xFE+message length+ID+0x08 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(9) The temperature control valve sends a reply short message corresponding to the temperature setting upper and lower limit event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x10 (currently sent identification information of updated temperature control valve event 'temperature setting upper limit and lower limit') +message length+valve ID+temperature setting upper limit+temperature setting lower limit +0x20 (identification information of next updated temperature control valve event to be sent) +CRC checksum;
(10) After receiving the reply short message corresponding to the temperature setting upper limit and the lower limit sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0 xFE+message length+ID+0x10 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(11) The temperature control valve sends a reply short message corresponding to the temperature locking event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x20 (currently sent identification information of updated temperature control valve event 'temperature locking event') +message length+valve id+temperature locking identification+temperature issuing set value +0x40 (identification information of next to-be-sent updated temperature control valve event) +CRC checksum;
(12) After receiving the reply short message corresponding to the temperature locking event sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0 xFE+message length+ID+0x20 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum;
(13) The temperature control valve sends a reply short message corresponding to the panel card swiping residual time event to the temperature control panel, and the detailed structure of the reply short message can be as follows: 0x40 (currently sent identification information of updated temperature control valve event 'panel card swiping remaining time event') +message length+valve ID+remaining valve opening time on card +0x00 (0 x00 indicates that relevant information of updated temperature control valve event has been sent to temperature control panel) +CRC checksum;
(14) After receiving the reply short message corresponding to the remaining time of the card swiping of the panel sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0 xFE+message length+ID+0x40 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum.
Specifically, the header character, i.e. the identification code, in the message may be set by user definition. The "identification information of the updated temperature control valve event to be transmitted next" in the above-mentioned message may be defined as "identify one temperature control valve event with each bit, for example, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40" in this embodiment. The purpose of this is to facilitate the program to set/clear the identity of the current thermo valve event directly by either a 1-bit left or 1-bit right shift operation. In particular, the "identification information of the updated temperature control valve event to be sent next" in the above message may be defined as: the labels 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 … … 0xFF may be more broadly applicable to more thermostatted valve events.
Similarly, if the temperature control valve determines that the temperature control panel is not powered on for the first time according to the request message, after the temperature control panel sends the request message to the temperature control valve, the default temperature control valve will send a reply short message corresponding to the [ accumulated valve opening time event ] with the beginning of 0x01 to the temperature control panel first, and the detailed structure of the reply short message may be: 0x01 (currently sent identification information of updated temperature control valve event 'accumulated valve opening time event') +message length+valve ID+valve current state word+valve accumulated valve opening time+valve starting temperature difference+next sent identification information of updated temperature control valve event+CRC checksum. After receiving the reply short message corresponding to the accumulated valve opening time event sent by the temperature control valve, the temperature control panel immediately sends a reply message, and the detailed structure of the reply message can be as follows: 0 xFE+message length+ID+0x01 of temperature control panel (currently received identification information of updated temperature control valve event) +CRC checksum.
Then, if other temperature control valve events change, the temperature control valve automatically sets the identification of the temperature control valve event, and sends reply short messages corresponding to each changed temperature control valve event to the temperature control panel one by one according to a preset sequence from high priority to low priority, and the temperature control panel also sends reply messages one by one according to the preset sequence, so that the updated temperature control valve event sent by the temperature control valve at present is determined.
As a specific example, fig. 5 is a schematic flow chart of a second embodiment of a communication method between a temperature control panel and a temperature control valve according to an embodiment of the present invention, where an execution body of the embodiment of the present invention is a temperature control panel, as shown in fig. 5, and the communication method between a temperature control panel and a temperature control valve according to the embodiment of the present invention may include the following steps:
s501, initializing a temperature control panel system.
S502, judging whether the temperature control panel system is electrified for the first time.
If yes, executing S503; if not, S514 is performed.
S503, setting the start mark of the temperature control panel system to 1.
S504, sending a request message to the temperature control valve.
S505, waiting to receive a reply short message corresponding to the temperature control valve event 1 sent by the temperature control valve.
The temperature control valve event 1 is an accumulated valve opening time event.
S506, judging whether a reply short message corresponding to the temperature control valve event 1 is received.
If yes, executing S507; if not, S516 is performed.
S507, sending a response message corresponding to the temperature control valve event 1.
S508, analyzing the reply short message corresponding to the temperature control valve event 1.
S509, judging whether the update identifier of the temperature control valve event 2-N has the update identifier of the 1.
If yes, executing S510; if not, S516 is performed.
S510, waiting to receive a reply short message corresponding to the updated temperature control valve event M sent by the temperature control valve.
And the value of M is 2-N, the event identification corresponding to the temperature control valve event with the updated identification of 1 (namely the updated temperature control valve event) is updated, and the value sequence of M is determined according to the priority.
S511, judging whether a reply short message corresponding to the updated temperature control valve event M is received.
If yes, then execute S512; if not, S516 is performed.
S512, sending a response message corresponding to the updated temperature control valve event M to the temperature control valve.
S513, analyzing the reply short message corresponding to the updated temperature control valve event M.
Specifically, after executing S513, execution S509 may be returned to be executed until the thermo valve sends all reply short messages corresponding to all updated thermo valve events to the thermo panel.
S514, resetting the start-up mark of the temperature control panel system.
S515, judging whether the user triggers a temperature setting key of the temperature control panel.
If yes, executing S504; if not, S516 is performed.
Specifically, when a user triggers a temperature setting button of the temperature control panel, the temperature control panel automatically sends a request message to the temperature control valve.
S516, waiting for the arrival of a preset reporting period.
S517, judging whether a preset reporting period comes or not.
If yes, executing S504; if not, S516 is performed.
Specifically, when a preset reporting period comes, the temperature control panel automatically sends a request message to the temperature control valve.
In the embodiment of the invention, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the aim of interacting all temperature control valve event information through a plurality of short messages can be completely realized by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that the data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
As another specific example, fig. 6 is a schematic flow chart of an embodiment three of a communication method between a temperature control panel and a temperature control valve according to an embodiment of the present invention, where an execution body of the embodiment of the present invention is a temperature control valve, as shown in fig. 6, and the communication method between a temperature control panel and a temperature control valve according to the embodiment of the present invention may include the following steps:
s601, initializing a temperature control valve system.
S602, waiting for receiving information.
S603, judging whether a request message sent by the temperature control panel is received.
If yes, then execute S604; if not, S602 is performed.
S604, analyzing the request message.
S605, judging whether the start-up mark of the temperature control panel system is set to 1.
If yes, executing S606; if not, S617 is performed.
S606, setting the update marks of the temperature control valve events 2-N to 1.
Specifically, if the temperature control panel system starts the flag to be set 1, the temperature control panel is powered on for the first time, so that each pre-stored temperature control valve event in the temperature control valve is an updated temperature control valve event for the temperature control panel, the update flags of the temperature control valve events 2-N need to be set 1 completely, and the subsequent temperature control valves can send reply short messages corresponding to all the temperature control valve events to the temperature control panel one by one according to the update flags. The default temperature control valve sends a reply short message corresponding to the temperature control valve event 1 to the temperature control panel every time.
S607, a reply short message corresponding to the temperature control valve event 1 is sent to the temperature control panel.
S608, waiting for a response message sent by the temperature control panel.
S609, judging whether a response message corresponding to the temperature control valve event 1 is received.
If yes, then execution S610; if not, S602 is performed.
S610, analyzing a response message corresponding to the temperature control valve event 1.
S611, judging whether the update identifier of the temperature control valve event 2-N has the update identifier of the 1.
If yes, then execute S612; if not, S602 is performed.
S612, determining the priority of each updated temperature control valve event.
Specifically, a thermostatted valve event with an update flag of 1 is determined as an updated thermostatted valve event, and the priority of each updated thermostatted valve event is determined.
S613, sending a reply short message corresponding to the updated temperature control valve event M to the temperature control panel according to the priority.
And the value of M is 2-N, the event identification corresponding to the temperature control valve event with the updated identification of 1 (namely the updated temperature control valve event) is updated, and the value sequence of M is determined according to the priority.
S614, waiting for the response message sent by the temperature control panel.
S615, judging whether a response message corresponding to the updated temperature control valve event M is received.
If yes, then execution S616; if not, S602 is performed.
S616, the response message corresponding to the updated temperature control valve event M is analyzed.
Specifically, after executing S616, execution S611 may be returned to be executed until the thermo valve sends all reply short messages corresponding to all updated thermo valve events to the thermo panel.
S617, judging whether an updated temperature control valve event exists in the temperature control valve events 2-N.
If yes, then execute S618; if not, S619 is performed.
S618, the updated flag of the updated temperature control valve event is set to 1.
S619, the update identifications of the valve control events 2-N are all set to 0.
In the embodiment of the invention, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the aim of interacting all temperature control valve event information through a plurality of short messages can be completely realized by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that the data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
In addition, corresponding to the communication method between the temperature control panel and the temperature control valve provided in the foregoing embodiment, the embodiment of the present invention further provides a temperature control valve, as shown in fig. 7, where the temperature control valve 70 may include: the first memory 710, the first processor 720, and a program stored in the first memory 710 and capable of running on the first processor 720, when the first processor 720 executes the program, all the steps of the communication method between the temperature control panel and the temperature control valve using the temperature control valve as the execution main body provided by the embodiment of the invention are implemented.
In the temperature control valve, a request message sent by a temperature control panel is received; determining at least one updated temperature control valve event based on the request message, and determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises an accumulated valve opening time event, and the priority of the accumulated valve opening time event is highest; and packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to a preset sequence from high priority to low priority so that the temperature control panel updates display content based on the reply short message. Because the reply short message corresponding to each updated temperature control valve event is generally not more than 16 bytes, when the reply short message corresponding to each updated temperature control valve event is sequentially sent, the aim of interacting all temperature control valve event information through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing of each short message is not needed, so that data received by both a temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data is not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
In addition, corresponding to the communication method between the temperature control panel and the temperature control valve provided in the above embodiment, the embodiment of the present invention further provides a temperature control panel, as shown in fig. 8, the temperature control panel 80 may include: the second memory 810, the second processor 820, and a program stored in the second memory 810 and capable of running on the second processor 820, when the second processor 820 executes the program, all the steps of the communication method between the temperature control panel and the temperature control valve using the temperature control panel as the execution main body provided by the embodiment of the invention are realized.
In the temperature control panel, a request message is sent to the temperature control valve, so that the temperature control valve determines at least one updated temperature control valve event based on the request message, the priority of each updated temperature control valve event is determined, and each updated temperature control valve event is packaged into a reply short message, wherein the updated temperature control valve event at least comprises accumulated valve opening time events, and the priority of the accumulated valve opening time events is highest; receiving reply short messages corresponding to each updated temperature control valve event sent by the temperature control valves according to a preset sequence from high priority to low priority in sequence; and updating the display content according to the reply short message. Because the reply short message corresponding to each updated temperature control valve event is generally not more than 16 bytes, when the reply short message corresponding to each updated temperature control valve event is sequentially sent, the aim of interacting all temperature control valve event information through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing of each short message is not needed, so that data received by both a temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data is not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
In addition, corresponding to the communication method between the temperature control panel and the temperature control valve provided by the above embodiment, the embodiment of the invention further provides a computer readable storage medium, on which a program is stored, which when executed by a processor, implements all the steps of the communication method between the temperature control panel and the temperature control valve of the embodiment of the invention.
In the computer readable storage medium, when reply short messages corresponding to each updated temperature control valve event are sequentially sent, the aim that all temperature control valve event information can be interacted through a plurality of short messages can be completely achieved by adopting a conventional low-price wireless chip, and the packaging processing is not needed for each short message, so that data received by both the temperature control panel and the temperature control valve can be directly analyzed and used, the residence time of interaction data between the temperature control panel and the temperature control valve in the air is short, and the interaction data are not easily interfered by other radio waves in the air, thereby improving the stability and reliability of the interaction data between the temperature control panel and the temperature control valve.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (12)

1. A method for communicating a temperature control panel with a temperature control valve, the method being applied to the temperature control valve, the method comprising:
receiving a request message sent by a temperature control panel;
determining at least one updated temperature control valve event based on the request message, and determining the priority of each updated temperature control valve event, wherein the updated temperature control valve event at least comprises an accumulated valve opening time event, and the priority of the accumulated valve opening time event is highest;
and packaging each updated temperature control valve event into a reply short message, and sequentially sending the reply short message corresponding to each updated temperature control valve event according to a preset sequence from high priority to low priority so that the temperature control panel updates display content based on the reply short message.
2. The method for communicating a temperature control panel with a temperature control valve according to claim 1, wherein the request message includes first power-on result information of the temperature control panel,
the determining at least one updated thermo valve event based on the request message includes:
if the temperature control panel is determined to be electrified for the first time based on the first-time electrifying result information, each pre-stored temperature control valve event is determined to be an updated temperature control valve event;
And if the temperature control panel is determined to be not powered on for the first time based on the first power-on result information, determining each changed temperature control valve event as an updated temperature control valve event.
3. The method for communicating a temperature control panel with a temperature control valve according to claim 1 or 2, wherein the reply short message includes first identification information of an updated temperature control valve event currently transmitted,
after each sending of the reply short message, the method further comprises:
receiving a response message sent by the temperature control panel, wherein the response message comprises second identification information of an updated temperature control valve event currently received by the temperature control panel;
and determining that the first identification information is consistent with the second identification information, and sending a next reply short message according to the preset sequence.
4. A method of communicating a temperature control panel with a temperature controlled valve as set forth in claim 3, further comprising:
if the first identification information is inconsistent with the second identification information or the response message sent by the temperature control panel is not received within the first preset time, retransmitting the response short message.
5. A method for communicating a temperature control panel with a temperature control valve, the method being applied to the temperature control panel, the method comprising:
Sending a request message to a temperature control valve, so that the temperature control valve determines at least one updated temperature control valve event based on the request message, determines the priority of each updated temperature control valve event, and packages each updated temperature control valve event into a reply short message, wherein the updated temperature control valve event at least comprises an accumulated valve opening duration event, and the priority of the accumulated valve opening duration event is highest;
receiving reply short messages corresponding to each updated temperature control valve event sent by the temperature control valves according to a preset sequence from high priority to low priority in sequence;
and updating the display content according to the reply short message.
6. The method for communicating a temperature control panel with a temperature control valve according to claim 5, wherein the request message includes first power-on result information of the temperature control panel,
the receiving, in sequence, a reply short message corresponding to each updated temperature control valve event sent by the temperature control valve according to a preset sequence from high priority to low priority, including:
if the temperature control panel is electrified for the first time, sequentially receiving reply short messages corresponding to each prestored temperature control valve event sent by the temperature control valve according to the preset sequence, wherein the reply short messages corresponding to each prestored temperature control valve event are obtained by packaging each prestored temperature control valve event by the temperature control valve;
And if the temperature control panel is not electrified for the first time, sequentially receiving reply short messages corresponding to each changed temperature control valve event sent by the temperature control valve according to the preset sequence, wherein the reply short messages corresponding to each changed temperature control valve event are obtained by packaging each changed temperature control valve event by the temperature control valve.
7. The method according to claim 5 or 6, wherein the reply short message includes first identification information of an updated thermo valve event currently sent by the thermo valve,
after receiving the reply short message each time, the method further comprises the following steps:
and sending a response message to the temperature control valve, wherein the response message comprises second identification information of a currently received updated temperature control valve event, so that the temperature control valve sends a next response short message according to the preset sequence after determining that the first identification information is consistent with the second identification information.
8. The method of communicating a temperature control panel with a temperature controlled valve of claim 5 or 6, further comprising:
and if the reply short message sent by the temperature control valve is not received within the second preset time, retransmitting the request message.
9. A temperature-controlled valve, comprising: the temperature control panel and temperature control valve communication method according to any one of claims 1 to 4 is realized by a first memory, a first processor and a program stored in the first memory and capable of running on the first processor when the first processor executes the program.
10. A temperature control panel, comprising: a second memory, a second processor, and a program stored in the second memory and executable on the second processor, wherein the second processor implements the communication method between the temperature control panel and the temperature control valve according to any one of claims 5 to 8 when the second processor executes the program.
11. A temperature control system comprising a temperature control valve according to claim 9 and a temperature control panel according to claim 10.
12. A computer-readable storage medium, characterized in that a program is stored thereon, which when executed by a processor, implements a method of communication of a temperature control panel with a temperature controlled valve according to any one of claims 1-8.
CN202310698136.3A 2023-06-13 2023-06-13 Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system Active CN116437390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310698136.3A CN116437390B (en) 2023-06-13 2023-06-13 Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310698136.3A CN116437390B (en) 2023-06-13 2023-06-13 Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system

Publications (2)

Publication Number Publication Date
CN116437390A CN116437390A (en) 2023-07-14
CN116437390B true CN116437390B (en) 2023-08-18

Family

ID=87083659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310698136.3A Active CN116437390B (en) 2023-06-13 2023-06-13 Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system

Country Status (1)

Country Link
CN (1) CN116437390B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012068526A1 (en) * 2010-11-19 2012-05-24 Nest Labs, Inc. Methods and systems for data interchange between a network-connected thermostat and cloud-based management server
CN104064007A (en) * 2014-06-05 2014-09-24 中国航天科技集团公司第五研究院第五一三研究所 Centralized meter reading system
JP2015140983A (en) * 2014-01-29 2015-08-03 トヨタホーム株式会社 floor heating system
CN106448083A (en) * 2016-10-14 2017-02-22 国网山东省电力公司泰安供电公司 Power equipment fault wireless alarm apparatus and method
CN111654426A (en) * 2020-08-04 2020-09-11 北京和利时系统工程有限公司 Event sequence recording event information acquisition method based on Modbus protocol and related equipment
WO2021218550A1 (en) * 2020-04-28 2021-11-04 博鼎汽车科技(山东)有限公司 Engine thermal management system applying electronic temperature control valve, and implementation method therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647302B2 (en) * 2000-12-15 2003-11-11 Honeywell International Inc. Human interface panel for boiler control system
KR20220168638A (en) * 2021-06-16 2022-12-26 삼성디스플레이 주식회사 Display apparatus and method of driving the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012068526A1 (en) * 2010-11-19 2012-05-24 Nest Labs, Inc. Methods and systems for data interchange between a network-connected thermostat and cloud-based management server
CN103262041A (en) * 2010-11-19 2013-08-21 耐斯特实验公司 Methods and systems for data interchange between a network-connected thermostat and cloud-based management server
JP2015140983A (en) * 2014-01-29 2015-08-03 トヨタホーム株式会社 floor heating system
CN104064007A (en) * 2014-06-05 2014-09-24 中国航天科技集团公司第五研究院第五一三研究所 Centralized meter reading system
CN106448083A (en) * 2016-10-14 2017-02-22 国网山东省电力公司泰安供电公司 Power equipment fault wireless alarm apparatus and method
WO2021218550A1 (en) * 2020-04-28 2021-11-04 博鼎汽车科技(山东)有限公司 Engine thermal management system applying electronic temperature control valve, and implementation method therefor
CN111654426A (en) * 2020-08-04 2020-09-11 北京和利时系统工程有限公司 Event sequence recording event information acquisition method based on Modbus protocol and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于无线通讯技术的智能室温控制系统设计";丁易梁;《中国优秀硕士学位论文全文数据库信息科技辑》;全篇 *

Also Published As

Publication number Publication date
CN116437390A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
EP1442440B1 (en) Two-way remote control system and method
US7158047B2 (en) Remote control system
CN110342356A (en) Call calling method, system, control panel and storage medium
CN111813433B (en) Method for updating key value in remote controller, remote controller and storage medium
CN111200545B (en) Intelligent device access method and device
KR20050014630A (en) Home network system
CN112738755B (en) Method for interaction between wireless communication module and sensor in electric power Internet of things field
CN116437390B (en) Temperature control panel, temperature control valve, communication method between temperature control panel and temperature control valve and temperature control system
CN110486895A (en) Air-conditioning switch function control method, computer installation and computer readable storage medium
CN112312361A (en) Host and slave machine pairing method and system
CN114391082B (en) Household appliance system, control method and storage medium
KR20020028470A (en) system and method for remote control and monitoring of electric home appliances
CN113748415B (en) Management device, management method, and computer-readable recording medium
CN106897750A (en) Improved physical access control system
CN108268270B (en) Application program updating method, device and system for medical device
CN111833585A (en) Method, device and equipment for intelligent equipment to learn remote control function and storage medium
CN109993951A (en) A kind of doorplate system and its control method and device
CN110601932A (en) Novel WIFI communication method for Internet of things
JP2005244281A (en) Power line communication terminal, power line communication method, power line communication relay and power line communication system
JP2009260523A (en) Control system, controller, management device, control method, management method, control program, management program, and recording medium with the program recorded thereon
US6456893B1 (en) Apparatus management system
JP2005184551A (en) Communication apparatus, communication control method and communication control program
CN106878348B (en) Master station longitudinal data transmission method based on source end point table model maintenance
JP4639597B2 (en) Wireless communication apparatus and program
US20170054666A1 (en) Short message service (sms)-enabled open automated demand response (openadr) server and related communications systems and methods

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Temperature control panel, temperature control valve, communication method between the two, and temperature control system

Granted publication date: 20230818

Pledgee: Industrial and Commercial Bank of China Limited Hefei Luyang Branch

Pledgor: RUNA SMART EQUIPMENT Co.,Ltd.

Registration number: Y2024980010725