Distributed air conditioner cloud control platform and method based on lora and 4g dual-mode communication
Patent Information
- Application Number
- CN202611189391.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-10-27
AI Technical Summary
[0003]传统分布式空调云控平台在多区域空调接入时,多以网关地址或设备地址完成对象定位、LORA链路、4G链路、RS485链路与TCP链路之间的层级关系分散,空调品牌、组号、空间名称、计费对象和控制权限之间的对应关系割裂,指令下发后多依赖通信记录判断执行结果、实时电流、温湿度和故障状态难以形成统一校验,分户计费数据与空调锁定控制联动不足,导致群控对象错配,执行状态追溯困难,欠费控制滞后
通过对象映射单元将网关编号、LORA节点地址、空调品牌代码、组号、空间名称、控制方式和计费对象统一关联,使用户端控制指令能够定位到目标LORA-4G网关,目标LORA节点和目标空调终端;双模通信协同单元分离终端侧LORA交互和云端4G交互,减少混合链路下的转发混乱;指令适配执行单元按照控制方式转换节点指令,状态闭环校验单元以实时状态和设定状态比较结果生成完成或异常处理,计费锁定联动单元依据费用数据和充值余额输出锁定或解锁控制,使群控、执行确认和费用控制形成同一控制闭环。
Smart Images

Figure CN122994359A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cloud-edge collaboration technology, and in particular to a distributed air conditioning cloud control platform and method based on LoRa and 4G dual-mode communication. Background Technology
[0002] The cloud-edge collaborative technology field focuses on data acquisition, protocol conversion, command transmission, status storage, and interface invocation between field devices, edge gateways, communication networks, servers, and user terminals. Field sensors, bus interfaces, wireless links, and mobile networks transmit signals such as temperature, humidity, current, device status, and alarm records to the edge and cloud. The server classifies, stores, queries, distributes, and coordinates control based on device address, time records, control commands, and operating parameters. Traditional distributed air conditioning cloud control platforms and methods refer to the remote monitoring and centralized control process for air conditioning terminals in multiple areas. This involves air conditioning controllers, temperature and humidity sensors, current transformers, infrared transmitters, RS485 interfaces, gateways, cloud servers, and web or mobile terminals. Nodes collect switch status, set temperature, operating mode, fan speed, online status, and energy consumption readings, which are then uploaded via LoRa links, 4G links, RS485 buses, or TCP networks. User terminals issue power-on / off, timing, grouping, locking, and parameter setting commands, which are then forwarded by the gateway to the corresponding air conditioning terminals for execution.
[0003] Traditional distributed air conditioning cloud control platforms often rely on gateway addresses or device addresses for object location when multiple air conditioners are connected. The hierarchical relationships between LoRa links, 4G links, RS485 links, and TCP links are scattered. The correspondence between air conditioner brands, group numbers, space names, billing objects, and control permissions is fragmented. After commands are issued, the execution results are often judged by communication records. Real-time current, temperature, humidity, and fault status are difficult to verify in a unified manner. There is insufficient linkage between individual billing data and air conditioner locking control, resulting in mismatch of group control objects, difficulty in tracing execution status, and lag in overdue payment control. Summary of the Invention
[0004] The purpose of this invention is to provide a distributed air conditioning cloud control platform and method based on LoRa and 4G dual-mode communication. In cloud-edge collaborative control scenarios with multiple regions and multiple air conditioning terminals, it establishes a correspondence between air conditioning terminals, LoRa nodes, LoRa-4G gateways, cloud servers, and user terminals, enabling air conditioning control commands to be issued according to a defined communication link and control method. Through execution status feedback, status comparison, and billing lock linkage, it ensures consistency in the location of air conditioning group control objects, confirmation of execution results, and cost control.
[0005] To achieve the above objectives, the present invention adopts the following technical solution, providing a distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication, including an object mapping unit, a dual-mode communication coordination unit, an instruction adaptation and execution unit, a status closed-loop verification unit, and a billing and locking linkage unit.
[0006] The object mapping unit is used to establish a multi-level mapping relationship between gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object. Based on the multi-level mapping relationship, it determines the target LORA-4G gateway, target LORA node, and target air conditioner terminal corresponding to the user terminal control command. Therefore, single-machine control, group control, lockout control, or billing linkage control issued by the user terminal can be mapped to a specific gateway, node, and air conditioner terminal, avoiding the control object relying solely on a single address field.
[0007] Furthermore, the object mapping unit includes a mapping writing subunit and a mapping verification subunit. The mapping writing subunit is used to write the gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object when the LORA-4G gateway accesses the cloud server. The mapping verification subunit is used to compare the air conditioner brand code, control method, and billing object under the same LORA node address. When the comparison results are consistent, a multi-level mapping relationship is generated. When the comparison results are inconsistent, the generation of the multi-level mapping relationship is stopped and a mapping exception status is output. Furthermore, the mapping verification subunit is also used to determine the target air conditioner terminal set according to the order of gateway number, group number, and space name. When each target air conditioner terminal in the target air conditioner terminal set has a corresponding LORA node address and control method, the target air conditioner terminal set is sent to the instruction adaptation execution unit. When there is a target air conditioner terminal in the target air conditioner terminal set that lacks a LORA node address or control method, the corresponding target air conditioner terminal is marked as an undeliverable object.
[0008] The dual-mode communication coordination unit is used to interact with the air conditioner terminal side data via the LORA link through the LORA node, and to remotely interact with the cloud server through the LORA-4G gateway via the 4G mobile communication network. Further, the dual-mode communication coordination unit includes a LORA-side aggregation subunit and a 4G-side forwarding subunit. The LORA-side aggregation subunit receives the air conditioner's on / off status, actual current, temperature, humidity, and online status uploaded by the LORA node, and aggregates it into air conditioner terminal side status data according to the LORA node address. The 4G-side forwarding subunit binds the air conditioner terminal side status data with the gateway number and sends it to the cloud server, and forwards the gateway instructions issued by the cloud server to the corresponding LORA-4G gateway according to the gateway number.
[0009] The instruction adaptation and execution unit is used to split user-end control instructions into gateway instructions and node instructions, and convert the node instructions into infrared control instructions, ModBus communication instructions, RS485 transmission instructions, or relay control instructions executable by the air conditioning terminal according to the control method. Further, the instruction adaptation and execution unit includes an instruction splitting subunit and an execution method selection subunit. The instruction splitting subunit is used to split the user-end control instructions into gateway instructions corresponding to the target LORA-4G gateway and node instructions corresponding to the target LORA node according to a multi-level mapping relationship. The execution method selection subunit is used to read the control method and output the node instruction conversion result when the control method matches the access type of the target air conditioning terminal, and output an instruction adaptation error status when the control method does not match the access type of the target air conditioning terminal. Furthermore, the execution mode selection subunit is used to generate infrared control commands when the control mode is infrared control, ModBus communication commands when the control mode is ModBus communication, RS485 transmission commands when the control mode is RS485 transmission, and relay control commands when the control mode is relay control. The generated commands are then bound to the LORA node address and sent to the corresponding target LORA node.
[0010] The state closed-loop verification unit is used to acquire the actual state after the air conditioning terminal executes the command, compare the actual state with the set state corresponding to the user terminal control command, and record the execution completion state when the actual state matches the set state. When the actual state does not match the set state, an abnormal state record is generated and a re-issuance, lock maintenance, or fault alarm is triggered. Further, the state closed-loop verification unit includes a state acquisition subunit and a state comparison subunit. The state acquisition subunit is used to receive the air conditioning switch status, actual current, temperature, humidity, online status, and fault status returned by the target air conditioning terminal after executing the air conditioning control action, and combines the received data into an actual state. The state comparison subunit is used to compare the actual state with the set state corresponding to the user terminal control command item by item. When the air conditioning switch status, temperature, or execution status meets the set state, the execution completion state is recorded. When the air conditioning switch status, temperature, or execution status does not meet the set state, an abnormal state record is generated. Furthermore, the state comparison subunit is also used to read the air conditioner lock status and fault status of the target air conditioner terminal after generating the abnormal status record. When the air conditioner lock status is locked and the fault status is not triggered, a lock maintenance command is output. When the air conditioner lock status is unlocked and the fault status is not triggered, a reissue command is output. When the fault status is triggered, a fault alarm command is output.
[0011] The billing lock linkage unit is used to generate fee data based on electricity meter data, heat meter data, or energy consumption statistics, and to generate an overdue payment lock command or a recharge unlock command in conjunction with the billing object and the recharge balance, causing the corresponding air conditioning terminal to enter a locked shutdown state or return to a controllable state. Further, the billing lock linkage unit includes a fee generation subunit and a lock / unlock subunit. The fee generation subunit is used to receive electricity meter data, heat meter data, or energy consumption statistics, and bind the electricity meter data, heat meter data, or energy consumption statistics into fee data according to the billing object. The lock / unlock subunit is used to read the recharge balance and compare the recharge balance with the fee data. When the recharge balance is less than the fee data, an overdue payment lock command is generated; when the recharge balance is greater than or equal to the fee data, a recharge unlock command is generated, and the overdue payment lock command or recharge unlock command is sent to the corresponding air conditioning terminal.
[0012] This invention also provides a distributed air conditioning cloud control method based on LoRa and 4G dual-mode communication. The method is used to run the aforementioned distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication. The method includes: establishing a multi-level mapping relationship between gateway number, LoRa node address, air conditioning brand code, group number, space name, control method, and billing object; receiving user terminal control commands and determining the target LoRa-4G gateway, target LoRa node, and target air conditioning terminal based on the multi-level mapping relationship; issuing gateway commands to the target LoRa-4G gateway through the 4G mobile communication network, and having the target LoRa-4G gateway issue node commands to the target LoRa node through the LoRa link; and determining the target air conditioning terminal according to its corresponding... The control method converts node commands into infrared control commands, ModBus communication commands, RS485 transmission commands, or relay control commands to drive the target air conditioning terminal to perform air conditioning control actions; it obtains the actual state of the target air conditioning terminal after execution and compares the actual state with the set state corresponding to the user terminal control command. When the actual state matches the set state, it records the execution completion state; when the actual state does not match the set state, it generates an abnormal state record and executes re-issuance, lock maintenance, or fault alarm; it generates cost data based on electricity meter data, heat meter data, or energy consumption statistics, and generates overdue payment lock commands or recharge unlock commands based on the billing object and recharge balance, so that the corresponding air conditioning terminal enters the locked shutdown state or restores the controllable state.
[0013] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: The object mapping unit unifies the association of gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object, enabling user-side control commands to locate the target LORA-4G gateway, target LORA node, and target air conditioner terminal. The dual-mode communication coordination unit separates terminal-side LORA interaction and cloud-based 4G interaction, reducing forwarding confusion under hybrid links. The command adaptation and execution unit converts node commands according to the control method. The status closed-loop verification unit generates completion or exception handling based on the comparison results of real-time status and set status. The billing lock linkage unit outputs lock or unlock control based on cost data and recharge balance, making group control, execution confirmation, and cost control form a unified control closed loop. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is the main flowchart of the cloud control platform of the present invention; Figure 2 This is a block diagram of the object mapping logic of the present invention; Figure 3 This is a data flow diagram of the dual-mode communication of the present invention; Figure 4 This invention provides an instruction adaptation and state closed-loop diagram. Figure 5 This is a diagram showing the state transition of the billing lock linkage in this invention. Detailed Implementation
[0016] The technical solution described in this invention will be explained below with reference to the accompanying drawings. Subsequent embodiments will focus on a distributed air conditioning cloud control platform based on LORA and 4G dual-mode communication, and a distributed air conditioning cloud control method based on LORA and 4G dual-mode communication will be used as a related implementation method. The LORA node, LORA-4G gateway, cloud server, user terminal, air conditioning terminal, object mapping unit, dual-mode communication coordination unit, instruction adaptation and execution unit, state closed-loop verification unit, and billing lock linkage unit in the embodiments will all use the terminology from the scope of protection and the invention description. Under the above terminology, the LORA node and LORA-4G gateway constitute the edge-side collaborative execution basis, and the cloud server and user terminal constitute the cloud-side management basis. The two form a cloud-edge collaborative control link through the LORA link and the 4G mobile communication network.
[0017] Example 1 Please see Figures 1 to 5This embodiment provides a distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication. In this embodiment, the distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication includes an object mapping unit, a dual-mode communication coordination unit, an instruction adaptation and execution unit, a status closed-loop verification unit, and a billing and locking linkage unit. LoRa nodes interact with the LoRa-4G gateway via the LoRa link to exchange data on the air conditioning terminal side. The LoRa-4G gateway interacts remotely with the cloud server via the 4G mobile communication network. The user terminal submits user terminal control instructions to the cloud server. The cloud server determines the target LoRa-4G gateway, the target LoRa node, and the target air conditioning terminal based on the multi-level mapping relationship provided by the object mapping unit, and completes the instruction issuance through the instruction adaptation and execution unit and the dual-mode communication coordination unit. The actual status of the air conditioning terminal after execution is transmitted back to the cloud server via the LoRa node and the LoRa-4G gateway. The status comparison is performed by the status closed-loop verification unit, and the billing and locking linkage unit generates an overdue payment locking instruction or a recharge unlocking instruction based on the fee data and the recharge balance. The above operating mode enables the cloud server to assume the responsibilities of global object management, instruction generation, and state storage; enables the LORA-4G gateway to assume the responsibilities of edge-side aggregation, forwarding, and local state takeover; and enables the LORA node to assume the responsibilities of terminal-side data collection and execution, thereby forming a layered control architecture for cloud-edge collaboration.
[0018] The object mapping unit is used to establish a multi-level mapping relationship between gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object. The gateway number identifies the LORA-4G gateway connected to the cloud server; the LORA node address identifies the LORA node communicating with the LORA-4G gateway via a LORA link; the air conditioner brand code determines the control protocol or infrared control adapter for the air conditioner terminal; the group number represents the set of air conditioner terminals within the same management group; the space name represents the room, area, or unit corresponding to the air conditioner terminal; the control method represents one of infrared control, ModBus communication, RS485 transmission, or relay control; and the billing object represents the user partition, unit, or area object corresponding to the fee data, recharge balance, and lockout control. By configuring these object fields simultaneously in both the cloud-side management logic and the edge-side forwarding logic, the multi-level mapping relationship supports unified positioning across gateways, nodes, and air conditioner terminals in cloud-edge collaborative scenarios.
[0019] The object mapping unit includes a mapping write subunit and a mapping verification subunit. The mapping write subunit writes the gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object when the LORA-4G gateway connects to the cloud server. The write process is triggered by the LORA-4G gateway connecting to the cloud server and being recognized by the cloud server. The mapping write subunit uses the gateway number as the upper-level index, the LORA node address as the lower-level index, and the air conditioner brand code, group number, space name, control method, and billing object as fields bound to the LORA node address, forming an object record that can be used for subsequent command location and invocation. This write process enables the cloud server to obtain the object organization relationship of the edge-side LORA-4G gateway and its subordinate LORA nodes, providing basic data for subsequent cloud-edge collaborative command addressing.
[0020] The mapping verification subunit compares the air conditioner brand code, control method, and billing object under the same LoRa node address. When a unique correspondence can be formed between the air conditioner brand code, control method, and billing object under the same LoRa node address, the mapping verification subunit generates a multi-level mapping relationship and provides it to the instruction adaptation and execution unit and the billing lock linkage unit. When there is an inconsistency between the air conditioner brand code, control method, or billing object under the same LoRa node address, the mapping verification subunit stops generating multi-level mapping relationships and outputs a mapping anomaly status. The mapping anomaly status is used to prevent subsequent control instructions from being issued to air conditioner terminals with uncertain object relationships, thereby ensuring that the control object, billing object, and execution object remain consistent. This verification process reduces the correspondence deviation between cloud instructions and edge-side execution objects, ensuring consistency in object identification results in the cloud-edge collaborative link.
[0021] The mapping verification subunit also determines the target air conditioning terminal set according to the order of gateway number, group number, and space name. The target air conditioning terminal set is used to carry one or more target air conditioning terminals involved in the same user terminal control command. When each target air conditioning terminal in the target air conditioning terminal set has a corresponding LoRa node address and control method, the mapping verification subunit sends the target air conditioning terminal set to the command adaptation and execution unit. When there is a target air conditioning terminal in the target air conditioning terminal set that lacks a LoRa node address or control method, the mapping verification subunit marks the corresponding target air conditioning terminal as an undeliverable object, and causes the command adaptation and execution unit to continue command splitting only for target air conditioning terminals with complete mapping fields. During cloud-edge collaborative execution, this processing method enables the cloud to complete object validity screening before delivery, and the edge side only receives executable objects with clear addresses and control methods.
[0022] The dual-mode communication coordination unit organizes layered communication between the LoRa link and the 4G mobile communication network. The LoRa link is used for data interaction between the LoRa node and the LoRa-4G gateway on the air conditioning terminal side, while the 4G mobile communication network is used for remote data interaction between the LoRa-4G gateway and the cloud server. The dual-mode communication coordination unit does not use the LoRa link and the 4G mobile communication network as parallel alternative links. Instead, it uses the LoRa link as the node access link on the air conditioning terminal side and the 4G mobile communication network as the remote backhaul link on the cloud server side. Therefore, the dual-mode communication coordination unit constitutes a cloud-edge collaborative communication layer, where the LoRa link carries edge-side terminal networking, and the 4G mobile communication network carries remote interaction between the cloud and the edge.
[0023] The dual-mode communication coordination unit includes a LoRa-side aggregation subunit and a 4G-side forwarding subunit. The LoRa-side aggregation subunit receives air conditioner on / off status, actual current, temperature, humidity, and online status uploaded by LoRa nodes, and aggregates these statuses into air conditioner terminal-side status data according to the LoRa node addresses. The air conditioner on / off status indicates the state of the air conditioner terminal after performing power-on or power-off control; the actual current helps determine whether the air conditioner terminal is in operation; temperature and humidity indicate the environmental conditions of the space where the air conditioner terminal is located; and the online status indicates whether data interaction between the LoRa node and the LoRa-4G gateway can be completed. Located at the edge, the LoRa-side aggregation subunit pre-aggregates the dispersed air conditioner terminal-side status data according to the LoRa node addresses, reducing the complexity of directly processing the original statuses of dispersed nodes on the cloud side.
[0024] The 4G-side forwarding subunit binds the air conditioner terminal status data with the gateway number and sends it to the cloud server. Upon receiving the air conditioner terminal status data bound to the gateway number, the cloud server can determine the target air conditioner terminal, space name, and billing object corresponding to the status data through the multi-level mapping relationship in the object mapping unit. The 4G-side forwarding subunit also forwards gateway commands issued by the cloud server to the corresponding LORA-4G gateway according to the gateway number, enabling the same cloud server to manage multiple LORA-4G gateways and ensuring that gateway commands do not enter the communication range of incorrect LORA nodes without the corresponding gateway number. The 4G-side forwarding subunit acts as a bidirectional communication bridge between the cloud and edge sides, ensuring that uplink status data and downlink control commands in the cloud-edge collaboration process carry a clear gateway affiliation.
[0025] The instruction adaptation and execution unit is used to break down user-end control instructions into gateway instructions and node instructions, and then convert the node instructions into control instructions executable by the air conditioning terminal according to the control method. User-end control instructions may include power on / off control, temperature setting, operating mode setting, fan speed setting, lock control, unlock control, group control, or timer control. The instruction adaptation and execution unit does not directly treat user-end control instructions as executable instructions for the air conditioning terminal. Instead, it first completes object location based on multi-level mapping relationships, and then completes instruction type conversion according to the control method. This process enables cloud-based control intentions to be transformed into specific node instructions that can be recognized and forwarded on the edge side, thereby realizing instruction semantic conversion in cloud-edge collaboration.
[0026] The instruction adaptation and execution unit includes an instruction splitting subunit and an execution mode selection subunit. The instruction splitting subunit, according to a multi-level mapping relationship, splits user-end control instructions into gateway instructions corresponding to the target LoRa-4G gateway and node instructions corresponding to the target LoRa nodes. Gateway instructions instruct the target LoRa-4G gateway to receive control content from the cloud server, while node instructions instruct the target LoRa nodes to output specific control actions to the target air conditioning terminals. For group control, the instruction splitting subunit, based on the set of target air conditioning terminals, splits the same user-end control instruction into node instructions bound to each target LoRa node. During this splitting process, the cloud server completes the cross-project or cross-group control intent parsing, and the LoRa-4G gateway undertakes edge-side node distribution, enabling group control instructions under cloud-edge collaboration to be executed at the node granularity.
[0027] The execution mode selection subunit reads the control mode and outputs the node instruction conversion result when the control mode matches the access type of the target air conditioning terminal. It outputs an instruction adaptation anomaly status when the control mode and the access type of the target air conditioning terminal do not match. The access type indicates the actual access path of the target air conditioning terminal in the platform, including infrared control access, ModBus communication access, RS485 transmission access, or relay control access. The instruction adaptation anomaly status indicates that the node instruction cannot be applied to the target air conditioning terminal according to the current control mode. After outputting the instruction adaptation anomaly status, the instruction adaptation execution unit does not continue to send the corresponding node instruction to the target LORA node. This consistency judgment ensures that the control strategy formed in the cloud will not directly bypass the edge-side adaptation conditions, thereby avoiding mismatch between the edge-side execution object and the cloud-side control mode.
[0028] The execution mode selection subunit generates infrared control commands when the control mode is infrared control, ModBus communication commands when the control mode is ModBus communication, RS485 transmission commands when the control mode is RS485 transmission, and relay control commands when the control mode is relay control. After the generated commands are bound to the LORA node address, they are sent to the corresponding target LORA node. The target LORA node then outputs control actions to the target air conditioning terminal according to the binding relationship. Infrared control commands drive the infrared transmitter to send infrared remote control signals to the air conditioning terminal; ModBus communication commands transmit control content to the air conditioning terminal or lower-level machine via standard communication protocols; RS485 transmission commands transmit control content via RS485 lines; and relay control commands drive the relay control components to complete on / off control. By completing the control mode conversion before execution at the edge, the cloud-edge collaborative link can be compatible with different air conditioning terminal access methods and execution interfaces.
[0029] The state closed-loop verification unit acquires the actual state of the air conditioning terminal after execution and compares it with the set state corresponding to the user-end control command. The set state originates from the control target corresponding to the user-end control command, including setting the on / off state, setting the temperature, setting the operating mode, setting the fan speed, or locking the state. The actual state originates from the air conditioning on / off state, actual current, temperature, humidity, online status, and fault status returned by the LORA node. By comparing the actual state and the set state, the state closed-loop verification unit ensures that the cloud server does not rely solely on the command issuance record as the sole basis for execution, but rather uses the state returned by the air conditioning terminal after execution as the verification basis. This closed-loop verification forms a cloud-edge collaborative feedback chain between cloud-based issuance, edge-side execution, and terminal-side feedback.
[0030] The state closed-loop verification unit includes a state acquisition subunit and a state comparison subunit. The state acquisition subunit receives the air conditioner on / off status, actual current, temperature, humidity, online status, and fault status returned by the target air conditioner terminal after it executes an air conditioner control action, and combines the received data into an actual state. When combining actual states, the state acquisition subunit groups state fields with the same LoRa node address, the same gateway number, and within the same feedback cycle into the same actual state, ensuring that subsequent state comparisons can correspond to the same target air conditioner terminal. This actual state combination process enables the multi-source state fields acquired at the edge to form a unified feedback record under the same controlled object on the cloud side.
[0031] The status comparison subunit compares the actual status with the set status corresponding to the user-side control command item by item. When the air conditioner on / off status, temperature, or execution status meets the set status, the status comparison subunit records the execution completion status. The execution completion status is the status result of the control record saved by the cloud server, indicating that the target air conditioner terminal has reached the corresponding control status according to the user-side control command. When the air conditioner on / off status, temperature, or execution status does not meet the set status, the status comparison subunit generates an abnormal status record. The abnormal status record includes the gateway number, LORA node address, user-side control command, actual status, and set status corresponding to the target air conditioner terminal, and is used for subsequent re-issuance, lock maintenance, or fault alarm. The above comparison process ensures that the execution confirmation in the cloud-edge collaborative control link does not rely on a single successful communication status, but rather on the correspondence between the feedback from the air conditioner terminal and the set status in the cloud.
[0032] After generating an abnormal state record, the state comparison subunit reads the air conditioner lock status and fault status of the target air conditioner terminal. When the air conditioner is locked and the fault status has not been triggered, the state comparison subunit outputs a lock maintenance command. The lock maintenance command is used to maintain the locked and powered-off state of the target air conditioner terminal in a lock control scenario. When the air conditioner is unlocked and the fault status has not been triggered, the state comparison subunit outputs a reissue command. The reissue command is used to enable the command adaptation execution unit to generate node commands again according to the multi-level mapping relationship and control method. When the fault status is triggered, the state comparison subunit outputs a fault alarm command. The fault alarm command is used to output the fault status of the air conditioner terminal to the cloud server or user terminal to avoid repeatedly issuing control commands in a fault state. This branch processing enables the cloud side to choose reissue, lock maintenance, or alarm output based on the edge side feedback status, forming a cloud-edge collaborative abnormal handling path.
[0033] The billing lock-in linkage unit generates cost data based on electricity meter data, heat meter data, or energy consumption statistics, and combines this data with the billing object and prepaid balance to generate overdue payment lock-in or prepaid unlock-instructions. Cost data originates from electricity meter data, heat meter data, or energy consumption statistics, while the prepaid balance comes from the account balance record corresponding to the billing object. The billing lock-in linkage unit integrates cost data and prepaid balance into the same control chain, ensuring that individual billing is not merely a background statistical result, but also serves as an input condition for locking or unlocking air conditioning terminals. In the cloud-edge collaborative architecture, cost data can be uniformly collected and judged on the cloud side, while overdue payment lock-in or prepaid unlock-instructions can be applied to the corresponding air conditioning terminals via the edge link.
[0034] The billing lock linkage unit includes a fee generation subunit and a lock / unlock subunit. The fee generation subunit receives electricity meter data, heat meter data, or energy consumption statistics, and binds this data into fee data according to the billing object. When binding fee data, the fee generation subunit uses the billing object as the basis for fee attribution and the electricity meter data, heat meter data, or energy consumption statistics as the basis for fee formation, ensuring that the fee data corresponds to the target air conditioning terminal. The lock / unlock subunit reads the recharge balance and compares it with the fee data. When the recharge balance is less than the fee data, the lock / unlock subunit generates an overdue payment lock command; when the recharge balance is greater than or equal to the fee data, the lock / unlock subunit generates a recharge unlock command. The lock / unlock subunit sends the overdue payment lock command or the recharge unlock command to the corresponding air conditioning terminal, causing the corresponding air conditioning terminal to enter a locked shutdown state or return to a controllable state. The fee generation subunit and the lock / unlock subunit cooperate through cloud computing and edge-side execution, enabling the fee status to be translated into the control status of the air conditioning terminal.
[0035] In this embodiment, during operation, the user-end control command first enters the cloud server. The cloud server calls the object mapping unit to locate the target LORA-4G gateway, the target LORA node, and the target air conditioning terminal. The command adaptation and execution unit outputs the node command conversion result according to the control method. The dual-mode communication coordination unit forwards the gateway command to the target LORA-4G gateway through the 4G mobile communication network and forwards the node command to the target LORA node through the LORA link. The target LORA node drives the target air conditioning terminal to execute air conditioning control actions. The status closed-loop verification unit receives the actual status of the target air conditioning terminal after execution and compares it with the set status. The billing lock linkage unit generates an overdue lock command or a recharge unlock command when the fee data and recharge balance meet the corresponding conditions. The above process forms a closed loop from user-end control command input, object mapping, link layered forwarding, command adaptation, air conditioning terminal execution, actual status feedback, status comparison to billing lock linkage. This closed loop reflects the cloud-edge collaborative relationship between unified cloud management, edge-side aggregation and forwarding, and terminal-side execution feedback.
[0036] Example 2 Please see Figure 1 and Figure 5This embodiment provides a distributed air conditioning cloud control method based on LoRa and 4G dual-mode communication. The difference between this embodiment and Embodiment 1 is that this embodiment unfolds the operation process of the distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication in the order of method execution. The platform unit in Embodiment 1 serves as the execution carrier for the method steps in this embodiment, and the input, processing, output, and feedback relationships of the method steps correspond to the module collaboration relationships in Embodiment 1. The method steps in this embodiment embody a cloud-edge collaboration process: cloud-side generation and management control logic, edge-side forwarding and execution of node collaboration, and terminal-side feedback of actual status.
[0037] S1 establishes a multi-level mapping relationship between gateway number, LoRa node address, air conditioner brand code, group number, space name, control method, and billing object. After the cloud server connects to the LoRa-4G gateway, it obtains the gateway number and receives the corresponding LoRa node address, air conditioner brand code, group number, space name, control method, and billing object. The object mapping unit binds these fields to object records and compares the air conditioner brand code, control method, and billing object under the same LoRa node address through the mapping verification subunit. When the comparison results are consistent, the object mapping unit generates a multi-level mapping relationship; when the comparison results are inconsistent, the object mapping unit outputs a mapping exception status and prevents the relevant object record from entering the instruction issuance stage. S1 is used to establish a consistent relationship between cloud-side object records and edge-side node addresses before cloud-edge collaborative control.
[0038] S2 receives control commands from the user terminal and determines the target LoRa-4G gateway, target LoRa node, and target air conditioning terminal based on the multi-level mapping relationship. The user terminal sends the control commands to the cloud server, which queries the multi-level mapping relationship based on the group number, space name, or billing object of the controlled object. For single-machine control, the cloud server determines one target LoRa-4G gateway, one target LoRa node, and one target air conditioning terminal; for group control, the cloud server determines a set of target air conditioning terminals and verifies each terminal in the set to have a LoRa node address and control method. Target air conditioning terminals with complete mapping fields proceed to the subsequent command splitting stage; those lacking a LoRa node address or control method are marked as undeliverable objects. S2 enables the cloud side to complete target object screening before command distribution to the edge side.
[0039] S3 sends gateway commands to the target LORA-4G gateway via the 4G mobile communication network, and the target LORA-4G gateway then sends node commands to the target LORA node via the LORA link. The command splitting subunit divides the user-end control commands into gateway commands and node commands based on a multi-level mapping relationship. Gateway commands are bound to the target LORA-4G gateway, and node commands are bound to the target LORA node. The 4G-side forwarding subunit sends the gateway commands to the target LORA-4G gateway via the 4G mobile communication network. After receiving the gateway commands, the target LORA-4G gateway, through the LORA-side aggregation subunit or corresponding communication processing logic, sends the node commands to the target LORA node according to the LORA node address. S3 hierarchically transmits cloud-side control commands to the edge-side gateway and terminal-side nodes, demonstrating a cloud-edge collaborative downlink command link.
[0040] S4, based on the control method corresponding to the target air conditioning terminal, converts the node commands into infrared control commands, ModBus communication commands, RS485 transmission commands, or relay control commands to drive the target air conditioning terminal to perform air conditioning control actions. The execution method selection subunit reads the control method and compares it with the access type of the target air conditioning terminal. When the control method matches the access type of the target air conditioning terminal, the execution method selection subunit outputs the node command conversion result; when the control method does not match the access type of the target air conditioning terminal, the execution method selection subunit outputs the command adaptation abnormal state. The node command conversion result forms infrared control commands, ModBus communication commands, RS485 transmission commands, or relay control commands according to the control method. The target LORA node then drives the target air conditioning terminal to perform power on / off, temperature setting, operating mode setting, fan speed setting, lock control, or unlock control accordingly. S4 enables the edge-side node to convert the unified control semantics of the cloud side into specific control methods that the air conditioning terminal can execute.
[0041] S5 acquires the actual state of the target air conditioning terminal after execution and compares the actual state with the set state corresponding to the user terminal control command. After the target air conditioning terminal executes the air conditioning control action, the LORA node collects the air conditioning switch status, actual current, temperature, humidity, online status, and fault status. The LORA node sends the collected results to the LORA-4G gateway through the LORA link. The LORA-4G gateway binds the collected results with the gateway number and sends them to the cloud server through the 4G mobile communication network. The status acquisition subunit combines the collected results corresponding to the same target air conditioning terminal into the actual state, and the status comparison subunit compares the actual state with the set state item by item. When the air conditioning switch status, temperature, or execution status meets the set state, the execution completion status is recorded; when the air conditioning switch status, temperature, or execution status does not meet the set state, an abnormal status record is generated. S5 constitutes a cloud-edge collaborative uplink feedback link through terminal-side acquisition, edge-side backhaul, and cloud-side comparison.
[0042] S6 executes retransmission, lock maintenance, or fault alarm based on the abnormal status record. After generating the abnormal status record, the status comparison subunit reads the air conditioner lock status and fault status of the target air conditioner terminal. When the air conditioner is locked and the fault status is not triggered, the status comparison subunit outputs a lock maintenance command, and the target air conditioner terminal remains locked and powered off. When the air conditioner is unlocked and the fault status is not triggered, the status comparison subunit outputs a retransmission command, and the command adaptation execution unit re-executes the node command conversion and retransmission. When the fault status is triggered, the status comparison subunit outputs a fault alarm command, the cloud server records the fault alarm command, and provides the fault status to the user terminal. S6 enables the cloud side to select the subsequent control path based on the abnormal status record returned from the edge side.
[0043] S7 generates fee data based on electricity meter data, heat meter data, or energy consumption statistics, and generates an overdue payment lockout command or a recharge unlock command based on the billing object and the recharge balance. The fee generation subunit receives electricity meter data, heat meter data, or energy consumption statistics, and forms fee data according to the billing object. The lockout / unlock subunit reads the recharge balance corresponding to the same billing object and compares the recharge balance with the fee data. When the recharge balance is less than the fee data, the lockout / unlock subunit generates an overdue payment lockout command, which is sent to the corresponding air conditioner terminal via the cloud server, the target LORA-4G gateway, and the target LORA node, causing the corresponding air conditioner terminal to enter a locked shutdown state; when the recharge balance is greater than or equal to the fee data, the lockout / unlock subunit generates a recharge unlock command, which is sent to the corresponding air conditioner terminal via the same communication link, restoring the corresponding air conditioner terminal to a controllable state. S7 enables cloud-based billing judgments to be translated into terminal-side lockout or unlock execution results through the edge-side communication link.
[0044] S8 saves the execution completion status, abnormal status records, overdue payment lockout instructions, recharge unlock instructions, and fault alarm instructions as output results of the cloud control method to the cloud server. The cloud server binds and saves the above output results with the gateway number, LORA node address, space name, and billing object, enabling the user terminal to query the control results, lockout status, payment status, and fault status based on the mapping relationship of the target air conditioning terminal. The saved results in S8 serve as the input basis for the next user terminal control instruction generation, status comparison, and payment linkage, forming a traceable control feedback chain. S8 enables the distribution records, edge feedback, and terminal execution results generated by cloud-edge collaboration to form a traceable status basis on the cloud side.
[0045] In this embodiment, the core technical chain of the method flow is as follows: object mapping establishment, user terminal control command reception, target object location, gateway command and node command issuance, node command conversion, air conditioning control action execution, actual status feedback, set status comparison, abnormal status branch handling, and cost lock linkage. Each method step corresponds to the platform unit in Embodiment 1. The intermediate results generated by the method steps can be received by subsequent method steps. The execution completion status, abnormal status record, overdue payment lock command, recharge unlock command, and fault alarm command can serve as observable engineering results to verify the platform's operating status. The above method flow achieves cloud-edge collaboration in the distributed air conditioning cloud control process through the continuous connection of cloud-side processing, edge-side collaboration, and terminal-side execution feedback.
[0046] Example 3 Please see Figures 2 to 4 This embodiment provides a partial collaborative implementation of a distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication. The difference between this embodiment and the previous embodiments lies in that this embodiment focuses on explaining the data connection relationship between the object mapping unit, the instruction adaptation and execution unit, and the state closed-loop verification unit, and specifically defines the calling order between the target air conditioning terminal set, node instruction conversion results, and abnormal state records. This partial collaborative implementation further illustrates the data connection relationship between cloud-side object positioning, edge-side instruction execution, and terminal-side state feedback in cloud-edge collaboration.
[0047] The target air conditioning terminal set is formed by the object mapping unit and serves as the input object for the instruction adaptation and execution unit. When forming the target air conditioning terminal set, the object mapping unit first determines the target LoRa-4G gateway based on the gateway number, then determines the range of target air conditioning terminals based on the group number and space name, and finally determines whether each target air conditioning terminal meets the instruction delivery conditions based on the LoRa node address and control method. When the target air conditioning terminals in the target air conditioning terminal set have complete mapping fields, the target air conditioning terminal set is sent to the instruction adaptation and execution unit; when the target air conditioning terminals in the target air conditioning terminal set lack a LoRa node address or control method, the corresponding target air conditioning terminal is marked as an undeliverable object. After the target air conditioning terminal set is formed on the cloud side, it can serve as the object boundary for edge-side gateways to distribute instructions.
[0048] After receiving the target air conditioning terminal set, the instruction adaptation and execution unit does not change the scope of the target air conditioning terminal set. Instead, it generates node instruction conversion results based on the control method of each target air conditioning terminal. The node instruction conversion results at least include the binding relationship between the target LORA node, the target air conditioning terminal, the control method, and the executable instruction type. The node instruction conversion results are sent to the target LORA node by the dual-mode communication coordination unit. After the target LORA node drives the target air conditioning terminal to execute the control action, it sends the actual state back to the state closed-loop verification unit through the LORA-4G gateway. This process enables the execution results on the edge side to return to the cloud side along the original sending path, realizing positive control and reverse feedback in cloud-edge collaboration.
[0049] After receiving the actual status, the status closed-loop verification unit first confirms the source of the actual status based on the binding relationship between the target LORA node and the target air conditioner terminal, and then compares it with the set status. The comparison process generates either an execution completion status or an abnormal status record. The abnormal status record does not directly replace the original user-end control command, but rather serves as the basis for redistribution, lock maintenance, or fault alarm branching. When the air conditioner is locked and the fault state is not triggered, the abnormal status record enters the lock maintenance branch; when the air conditioner is unlocked and the fault state is not triggered, the abnormal status record enters the redistribution branch; when the fault state is triggered, the abnormal status record enters the fault alarm branch. This branching is based on feedback from the edge side and the terminal side, and the branch selection is completed by the cloud side, conforming to the feedback control logic in cloud-edge collaboration.
[0050] The aforementioned localized collaborative implementation method establishes a seamless data chain connecting the target air conditioning terminal set, node instruction conversion results, and abnormal status records. The target air conditioning terminal set defines the controlled object, the node instruction conversion results define the execution method, and the abnormal status records define the feedback branches. These three types of intermediate results are generated by different units and received by subsequent units, ensuring a traceable implementation path between object location, instruction adaptation, and status feedback. This data chain also connects cloud-side mapping management, edge-side instruction forwarding, and terminal-side status acquisition, further demonstrating the data closed loop of cloud-edge collaboration.
[0051] Example 4 Please see Figure 5 This embodiment provides a billing lock linkage implementation method for a distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication. The difference between this embodiment and Embodiment 1 is that this embodiment focuses on explaining the formation and issuance process between fee data, recharge balance, overdue payment lock command, and recharge unlock command. This embodiment combines cloud-side fee judgment with edge-side lock execution to illustrate the application of cloud-edge collaboration in individual household billing control.
[0052] The fee generation subunit receives electricity meter data, heat meter data, or energy consumption statistics. Electricity meters provide electricity-related metering data, heat meters provide cooling and heating-related metering data, and energy consumption statistics are recorded or compiled by the platform. The fee generation subunit binds the electricity meter data, heat meter data, or energy consumption statistics into fee data according to the billing object, ensuring that the fee data corresponds to a specific billing object and target air conditioning terminal. Once the fee data is generated, it is sent to the lock / unlock subunit. After the billing object attribution is completed on the cloud side, subsequent lock / unlock control can be driven through a cloud-edge collaborative link.
[0053] The lock / unlock subunit reads the recharge balance and compares it with the billing data. The comparison is between the recharge balance and billing data for the same billing object. If the recharge balance is less than the billing data, the lock / unlock subunit generates an overdue payment lock command; if the recharge balance is greater than or equal to the billing data, the lock / unlock subunit generates a recharge unlock command. Both the overdue payment lock command and the recharge unlock command are bound to the billing object and the target air conditioning terminal, and are distributed to the corresponding air conditioning terminal via the cloud server, LoRa-4G gateway, and LoRa node. This distribution path enables cloud-side billing judgment to be applied to specific air conditioning terminals through the edge-side LoRa-4G gateway.
[0054] After the overdue payment lockout command is issued, the target air conditioning terminal enters a locked shutdown state. After the recharge unlock command is issued, the target air conditioning terminal returns to a controllable state. The status closed-loop verification unit can continue to acquire the actual state of the target air conditioning terminal after execution and compare the actual state with the set state corresponding to the overdue payment lockout command or the recharge unlock command. The comparison result is used to record whether the lockout or unlock control is completed, thereby forming a closed loop of fee data, recharge balance, lockout control, and status verification. This closed loop enables cloud-edge collaboration not only for ordinary operation control but also for lockout control and execution confirmation driven by fee status.
[0055] The specific structures, processes, field states, processing order, judgment conditions, parameter sources, module collaboration, and carrier inheritance relationships described in the above embodiments are used to explain the possible implementations of the present invention and should not limit the present invention to the specific embodiments listed. Without departing from the scope of the technical solutions described in the present invention, any equivalent substitutions, equivalent modifications, equivalent combinations, order adjustments, corresponding module replacements, equivalent transformations of field names, equivalent inheritance of execution subjects, or equivalent changes in carrier forms that can be conceived by those skilled in the art should fall within the scope of protection of this patent; however, they should not be extended to unclaimed topics, nor should the substantive correspondence of technical objects be changed through changes in numerical labels. The above possible implementations all revolve around cloud-side management, edge-side collaboration, and terminal-side execution feedback; the cloud-edge collaboration relationship does not change the substantive correspondence of each technical object.
Claims
1. A distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication, characterized in that, It includes an object mapping unit, a dual-mode communication coordination unit, an instruction adaptation and execution unit, a status closed-loop verification unit, and a billing lock linkage unit; The object mapping unit is used to establish a multi-level mapping relationship between gateway number, LORA node address, air conditioner brand code, group number, space name, control method and billing object, and to determine the target LORA-4G gateway, target LORA node and target air conditioner terminal corresponding to the user terminal control command based on the multi-level mapping relationship. The dual-mode communication coordination unit is used to perform data interaction on the air conditioning terminal side through the LORA node and the LORA-4G gateway via the LORA link, and to perform remote data interaction with the cloud server through the LORA-4G gateway via the 4G mobile communication network. The instruction adaptation and execution unit is used to split the user terminal control instruction into gateway instructions and node instructions, and convert the node instructions into infrared control instructions, ModBus communication instructions, RS485 transmission instructions or relay control instructions that can be executed by the air conditioning terminal according to the control method. The status closed-loop verification unit is used to obtain the real-time status after the air conditioning terminal is executed, compare the real-time status with the set status corresponding to the user terminal control command, record the execution completion status when the real-time status is consistent with the set status, and generate an abnormal status record and trigger re-issuance, lock maintenance or fault alarm when the real-time status is inconsistent with the set status. The billing lock linkage unit is used to generate cost data based on electricity meter data, heat meter data, or energy consumption statistics, and combine the billing object and recharge balance to generate an overdue lock command or a recharge unlock command, so that the corresponding air conditioning terminal enters a locked shutdown state or returns to a controllable state.
2. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication as described in claim 1, characterized in that, The object mapping unit includes a mapping writing subunit and a mapping verification subunit; The mapping write subunit is used to write the gateway number, the LORA node address, the air conditioner brand code, the group number, the space name, the control method, and the billing object when the LORA-4G gateway accesses the cloud server; The mapping verification subunit is used to compare the air conditioner brand code, control method and billing object under the same LORA node address. When the comparison results are consistent, the multi-level mapping relationship is generated. When the comparison results are inconsistent, the generation of the multi-level mapping relationship is stopped and the mapping abnormality status is output.
3. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 2, characterized in that, The mapping verification subunit is also used to determine the target air conditioning terminal set according to the order of gateway number, group number and space name. When each target air conditioning terminal in the target air conditioning terminal set has a corresponding LORA node address and control mode, the target air conditioning terminal set is sent to the instruction adaptation execution unit. When there is a target air conditioning terminal in the target air conditioning terminal set that lacks a LORA node address or control mode, the corresponding target air conditioning terminal is marked as an object that cannot be sent.
4. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 1, characterized in that, The dual-mode communication coordination unit includes a LORA-side aggregation subunit and a 4G-side forwarding subunit; The LORA-side aggregation subunit is used to receive the air conditioner switch status, real-time current, temperature, humidity and online status uploaded by the LORA node, and aggregate them into air conditioner terminal-side status data according to the LORA node address; The 4G-side forwarding subunit is used to bind the status data of the air conditioner terminal to the gateway number and send it to the cloud server, and to forward the gateway instructions issued by the cloud server to the corresponding LORA-4G gateway according to the gateway number.
5. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 1, characterized in that, The instruction adaptation and execution unit includes an instruction splitting subunit and an execution mode selection subunit; The instruction splitting subunit is used to split the user terminal control instruction into gateway instructions corresponding to the target LORA-4G gateway and node instructions corresponding to the target LORA node according to the multi-level mapping relationship; The execution mode selection subunit is used to read the control mode and output the node instruction conversion result when the control mode is consistent with the access type of the target air conditioning terminal, and output the instruction adaptation abnormal status when the control mode is inconsistent with the access type of the target air conditioning terminal.
6. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 5, characterized in that, The execution mode selection subunit is used to generate infrared control commands when the control mode is infrared control, generate ModBus communication commands when the control mode is ModBus communication, generate RS485 transmission commands when the control mode is RS485 transmission, and generate relay control commands when the control mode is relay control. The execution mode selection subunit is also used to bind the generated instruction with the LORA node address and send it to the corresponding target LORA node.
7. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 1, characterized in that, The state closed-loop verification unit includes a state acquisition subunit and a state comparison subunit; The status acquisition subunit is used to receive the air conditioner switch status, real-time current, temperature, humidity, online status, air conditioner lock status and fault status transmitted back by the target air conditioner terminal after it performs air conditioner control actions, and to combine the received data into the real-time status. The status comparison subunit is used to compare the real-time status with the set status corresponding to the user terminal control command item by item. When the air conditioner switch status, temperature or execution status meets the set status, the execution completion status is recorded. When the air conditioner switch status, temperature or execution status does not meet the set status, an abnormal status record is generated.
8. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 7, characterized in that, The state comparison subunit is also used to read the air conditioner lock status and fault status of the target air conditioner terminal after generating the abnormal status record, and output a lock maintenance command when the air conditioner lock status is locked and the fault status is not triggered. When the air conditioner is unlocked and the fault condition is not triggered, a reissue command is output; when the fault condition is triggered, a fault alarm command is output.
9. The distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication according to claim 1, characterized in that, The billing lock linkage unit includes a fee generation subunit and a lock / unlock subunit; The fee generation subunit is used to receive electricity meter data, heat meter data, or energy consumption statistics data, and bind the electricity meter data, heat meter data, or energy consumption statistics data into fee data according to the billing object; The lock / unlock subunit is used to read the recharge balance and compare the recharge balance with the fee data. When the recharge balance is less than the fee data, an overdue payment lock instruction is generated. When the recharge balance is greater than or equal to the fee data, a recharge unlock instruction is generated, and the overdue payment lock instruction or the recharge unlock instruction is sent to the corresponding air conditioning terminal.
10. A distributed air conditioning cloud control method based on LoRa and 4G dual-mode communication, used to run the distributed air conditioning cloud control platform based on LoRa and 4G dual-mode communication as described in any one of claims 1 to 9, characterized in that, include: Establish a multi-level mapping relationship between gateway number, LORA node address, air conditioner brand code, group number, space name, control method, and billing object; Receive user terminal control commands and determine the target LORA-4G gateway, target LORA node, and target air conditioning terminal based on the multi-level mapping relationship; The gateway command is sent to the target LORA-4G gateway through the 4G mobile communication network, and the target LORA-4G gateway sends the node command to the target LORA node through the LORA link; According to the control method corresponding to the target air conditioning terminal, the node command is converted into an infrared control command, a ModBus communication command, an RS485 transmission command, or a relay control command to drive the target air conditioning terminal to perform air conditioning control actions. The real-time status of the target air conditioning terminal after execution is obtained, and the real-time status is compared with the set status corresponding to the user terminal control command. When the real-time status is consistent with the set status, the execution completion status is recorded. When the real-time status is inconsistent with the set status, an abnormal status record is generated and re-issued, locked and maintained, or fault alarm is executed. The system generates cost data based on electricity meter data, heat meter data, or energy consumption statistics. It then combines the billing object and the recharge balance to generate an overdue payment lockout command or a recharge unlock command, causing the corresponding air conditioning terminal to enter a locked shutdown state or return to a controllable state.
