Intelligent gateway and central air-conditioning system with same
By using a real-time communication driver module and middleware module on a single system board in the intelligent gateway of the central air conditioning system, the complexity and high cost caused by the coordination of multiple hardware components are solved, and efficient real-time communication and intelligent control are achieved.
Patent Information
- Application Number
- CN202510937670.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2025-10-24
AI Technical Summary
The existing central air-conditioning system intelligent gateway requires the cooperation of multiple hardware to achieve real-time communication, resulting in complex hardware and software and high costs.
An intelligent gateway that designs real-time communication driver modules and middleware modules on a single system board processes different types of communication command data through hardware interrupts and software interrupts, thereby achieving the separation of real-time and non-real-time communication.
It simplifies the hardware structure, reduces costs, improves the intelligent control and real-time performance of the central air conditioning system, and meets diverse intelligent needs.
Smart Images

Figure CN120834971A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of data exchange network, and particularly relates to an intelligent gateway and a central air conditioning system with the same. BACKGROUND
[0002] The intelligent development of central air conditioning systems is in the ascendant, and users have higher and higher intelligent requirements for central air conditioning products. Since the central air conditioning system usually uses a dedicated industrial real-time communication protocol, the protocol has high real-time requirements, therefore, in the related art, the intelligent gateway of the central air conditioning system generally adopts an embedded MCU chip system to realize the real-time communication requirements. However, the MCU chip system has single function and cannot meet the diversified intelligent requirements of users, for example, cannot support screen operation, cannot support voice operation, and cannot support AI edge computing.
[0003] To solve the technical problem, a more advanced intelligent operating system such as Linux / Android must be used to meet the diversified intelligent requirements of users. However, since the Linux / Android system belongs to a general operating system, it cannot meet the strong real-time requirements of the industrial dedicated real-time communication protocol. To solve this problem, in the related art, the intelligent gateway of the central air conditioning system generally adopts a scheme of combining a Linux / Android operating system core board with an MCU communication board, the MCU communication board is responsible for controlling the central air conditioning unit using the dedicated industrial real-time communication protocol, and the Linux / Android operating system core board realizes other more intelligent requirements. However, this scheme needs two hardware circuit boards, greatly increasing the hardware cost, and needs to develop and maintain the application program of the Linux / Android operating system and the software of the MCU communication board, greatly increasing the software development and maintenance cost.
[0004] In addition, in the related art, the multi-core technology feature of a multi-core Soc (System on Chip) processor is used to realize the real-time communication protocol using a small core RTOS system (Real-Time Operating System) in the multi-core Soc, that is, using a small core to replace the MCU communication board. However, this scheme needs to use a higher-priced Soc chip, cannot use a general Soc chip, and needs to increase the inter-core communication mechanism of the large and small cores, increasing the software development difficulty and cost. SUMMARY
[0005] One of the purposes of the present application is to provide an intelligent gateway capable of realizing real-time communication requirements on a single system board, solving the problems of hardware and software complexity and high cost existing in the prior art which needs multiple hardware to realize real-time communication requirements.
[0006] To achieve the above object, the intelligent gateway provided by the application is implemented by using the following technical scheme: An intelligent gateway comprises: A system board, which runs an operating system, the operating system comprising a kernel layer and a user layer; a real-time communication driving module is arranged in the kernel layer, for processing real-time communication processing instruction data and forwarding non-real-time communication processing instruction data; a middleware module and an application program calling interface module are arranged in the user layer, the middleware module being connected with the real-time communication driving module and the application program calling interface module respectively, for processing the non-real-time communication processing instruction data; A communication interface, for connecting the real-time communication driving module, and further connecting a communication bus for communication connection between the intelligent gateway and external devices.
[0007] In some embodiments of the application, the real-time communication driving module comprises a hard interrupt processing unit and a soft interrupt processing unit, the real-time communication driving module processing real-time communication processing instruction data and forwarding non-real-time communication processing instruction data, specifically comprising: The real-time communication driving module acquires an interrupt trigger signal from the communication interface, receives instruction data from the communication bus through the communication interface and identifies the received instruction data; When the received instruction data is first real-time communication processing instruction data, the hard interrupt processing unit processes the first real-time communication processing instruction data; when the received instruction data is second real-time communication processing instruction data, the soft interrupt processing unit processes the second real-time communication processing instruction data; the real-time performance of the first real-time communication processing instruction data is higher than that of the second real-time communication processing instruction data; When the received instruction data is non-real-time communication processing instruction data, the real-time communication driving module forwards the non-real-time communication processing instruction data to the middleware module.
[0008] In some embodiments of the application, the first real-time communication processing instruction data is a real-time reply ACK packet, and the hard interrupt processing unit processing the first real-time communication processing instruction data comprises: The hard interrupt processing unit processes sending an ACK packet to the communication bus through the communication interface.
[0009] In some embodiments of the application, the second real-time communication processing instruction data is sending data collision detection, and the soft interrupt processing unit processing the second real-time communication processing instruction data comprises: The soft interrupt processing unit receives to-be-sent data from the middleware module and caches; The hard interrupt processing unit sends the to-be-sent data buffered in the soft interrupt processing unit to the communication bus through the communication interface; meanwhile, the hard interrupt processing unit acquires the sending data on the communication bus through the communication interface and forwards the sending data on the communication bus to the soft interrupt processing unit. The soft interrupt processing unit performs conflict detection according to the sending data on the communication bus and the to-be-sent data buffered by the soft interrupt processing unit, and performs conflict processing when data conflict occurs.
[0010] In some embodiments of the application, the middleware module further comprises a user operation interface module for realizing the interaction between the user and the operating system.
[0011] Another object of the application is to provide a central air conditioning system, in which the intelligent gateway can realize real-time communication requirements on a single system board, and solve the problems of hardware and software complexity and high cost caused by the need for multiple hardware cooperation to realize real-time communication requirements, so as to improve the intelligent control of the central air conditioning system in a simple implementation manner and at a lower cost.
[0012] To achieve the above-mentioned objects, the central air conditioning system provided by the application adopts the following technical solutions: A central air conditioning system comprises an air conditioning unit, an intelligent gateway, and a communication bus connecting the air conditioning unit and the intelligent gateway, wherein the intelligent gateway comprises: a system board running an operating system, wherein the operating system comprises a kernel layer and a user layer; a real-time communication driver module is arranged in the kernel layer, for processing real-time communication processing instruction data and forwarding non-real-time communication processing instruction data; a middleware module and an application program calling interface module are arranged in the user layer, wherein the middleware module is connected with the real-time communication driver module and the application program calling interface module respectively, for processing the non-real-time communication processing instruction data; a communication interface for connecting the real-time communication driver module and the communication bus.
[0013] In some embodiments of the application, the real-time communication driver module comprises a hard interrupt processing unit and a soft interrupt processing unit, and the real-time communication driver module processes real-time communication processing instruction data and forwards non-real-time communication processing instruction data, specifically comprising: The real-time communication driver module acquires an interrupt trigger signal from the communication interface, receives instruction data from the communication bus through the communication interface, and identifies the received instruction data. When the received instruction data is first real-time communication processing instruction data, the hard interrupt processing unit processes the first real-time communication processing instruction data; when the received instruction data is second real-time communication processing instruction data, the soft interrupt processing unit processes the second real-time communication processing instruction data; the real-time performance of the first real-time communication processing instruction data is higher than that of the second real-time communication processing instruction data; When the received instruction data is non-real-time communication processing instruction data, the real-time communication driving module forwards the non-real-time communication processing instruction data to the middleware module.
[0014] In some embodiments of the application, the first real-time communication processing instruction data is a real-time reply ACK message, and the hard interrupt processing unit processes the first real-time communication processing instruction data, including: The hard interrupt processing unit processes the ACK message sent to the communication bus through the communication interface.
[0015] In some embodiments of the application, the second real-time communication processing instruction data is a sending data collision detection, and the soft interrupt processing unit processes the second real-time communication processing instruction data, including: The soft interrupt processing unit receives the to-be-sent data from the middleware module and caches; The hard interrupt processing unit sends the to-be-sent data cached in the soft interrupt processing unit to the communication bus through the communication interface; at the same time, the hard interrupt processing unit acquires the sending data on the communication bus through the communication interface, and forwards the sending data on the communication bus to the soft interrupt processing unit; The soft interrupt processing unit performs collision detection according to the sending data on the communication bus and the to-be-sent data cached by it, and performs collision processing when data collision occurs.
[0016] In some embodiments of the application, the middleware module further includes a user operation interface module for realizing the interaction between the user and the operating system.
[0017] Compared with the prior art, the application has the following advantages and positive effects: The intelligent gateway provided by the application can realize the strong real-time communication requirement of the device connected with the intelligent gateway by setting a real-time communication driving module in the kernel layer of a system board running an operating system, and the middleware module set in the user layer of the system board can complete the non-real-time communication processing such as business logic, meanwhile, the operating system of the system board can also meet the intelligent communication requirement with the cloud, intelligent terminal and the like and realize the complex operation function, so that the intelligentization requirement and the real-time communication requirement of the device applied by the intelligent gateway can be met by using one system board, without using multiple hardware cooperation, the hardware structure is simplified, and the software of multiple hardware does not need to be developed and maintained, the software complexity is reduced, so that the cost of the intelligent gateway is reduced; the intelligent gateway is applied to the central air conditioning system, can improve the intelligent control and real-time control of the central air conditioning system in a simple implementation manner and at a low cost, and improves the performance of the central air conditioning system.
[0018] Other features and advantages of the present application will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced below, and obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0020] Figure 1 The system architecture diagram of some embodiments of the intelligent gateway provided by the application; Figure 2 The system architecture diagram of some embodiments of the central air conditioning system provided by the application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present application more clear and obvious, the present application will be further described in detail below in combination with the drawings and embodiments.
[0022] It should be noted that the technical solutions of each embodiment of the present application can be combined with each other, but it must be based on that the combination of the technical solutions can be realized by those skilled in the art, when the combination of the technical solutions appears contradictory or cannot be realized, it should be considered that the combination of the technical solutions does not exist, and is not within the protection scope required by the present application.
[0023] In the prior art, in order to realize the real-time communication requirement of the intelligent gateway, multiple hardware is usually required to cooperate, for example, an operating system board is combined with an MCU communication board, or a multi-core Soc processor is used, and the hardware structure and software development and maintenance are relatively complex, the implementation is difficult, and the cost is high. In order to solve the problems in the prior art, the present application creatively proposes a new type of intelligent gateway, which realizes the support of the real-time communication protocol in a single system board by designing a software architecture supporting real-time communication in the single system board, and meets the strong real-time requirement of real-time communication.
[0024] Figure 1 A system architecture diagram of some embodiments of the intelligent gateway provided by the present application is shown.
[0025] As Figure 1 shown, the intelligent gateway of the embodiment includes a system board 11 and a communication interface 12.
[0026] The operating system is run on the system board 11, and the operating system includes a kernel layer 111 and a user layer 112. For the operating system run on the system board 11, the embodiment is not limited. In some embodiments, the operating system is a Linux operating system or an Android operating system.
[0027] A real-time communication driver module 1111 is arranged in the kernel layer 111, which is used to process real-time communication processing instruction data and is also used to forward non-real-time communication processing instruction data to the user layer 112.
[0028] A middleware module 1121 and an application program calling interface module 1122 are arranged in the user layer 112, the middleware module is connected with the real-time communication driver module 1111 and the application program calling interface module 1122 respectively, and is used to process the non-real-time communication processing instruction data forwarded by the real-time communication driver module 1111. The application program calling interface module 1122 is used to provide various standard operating system system call standard interfaces for various application programs such as cloud servers, host computers and intelligent terminals, so that the application programs can directly use the interface calls to realize the reading, sending and other operations of the data of the devices applied by the intelligent gateway.
[0029] The communication interface 12 is connected with the real-time communication driver module 1111 in the system board 11 and a communication bus 3 respectively, and the communication bus 3 is a communication bus for the communication connection between the intelligent gateway and external devices. The real-time communication driver module 1111 can receive data from the communication bus 3 or send data to the communication bus 3 through the communication interface 12. The type and implementation structure of the communication interface 12 are determined according to the communication bus 3, and the embodiment is not limited thereto. In some embodiments, the communication bus 3 is a serial bus, and correspondingly, the communication interface 12 is a serial communication interface.
[0030] The intelligent gateway of the above embodiment can improve the processing efficiency of instruction data and meet the real-time requirement of the intelligent gateway by setting the real-time communication driving module in the kernel layer of the operating system to process real-time communication processing instruction data without processing by the user layer. For non-real-time communication processing instruction data, the middleware module of the operating system user layer is used for processing to release the real-time communication driving module to respond to other instruction data with higher real-time requirement. The intelligent gateway with the software architecture of the above embodiment can support real-time communication on a single system board running the operating system without adding a dedicated MCU communication board or using a dedicated multi-core processor, thereby simplifying the hardware structure and saving the hardware cost. In addition, the complexity and cost of software development and maintenance are reduced due to the less hardware.
[0031] To further improve the real-time response speed, the real-time communication driving module 1111 further classifies and identifies the real-time communication processing instruction data and uses different processing methods for different types of instruction data.
[0032] Specifically, in some embodiments, the real-time communication driving module 1111 includes a hard interrupt processing unit and a soft interrupt processing unit. After the communication interface 12 discovers the instruction data in the communication bus 3, it actively triggers an interrupt to notify the real-time communication driving module 1111 to respond. After the real-time communication driving module 1111 obtains the interrupt trigger signal from the communication interface 12, it receives the instruction data from the communication bus 3 through the communication interface 12 and identifies the type of the received instruction data. The embodiment does not limit the specific method of identifying the instruction data. In some embodiments, the type of the instruction data can be identified by identifying the data header (usually one or two bytes).
[0033] When the received instruction data is identified as the first real-time communication processing instruction data, the hard interrupt processing unit of the real-time communication driving module 1111 processes the first real-time communication processing instruction data. When the received instruction data is identified as the second real-time communication processing instruction data, the soft interrupt processing unit of the real-time communication driving module 1111 processes the second real-time communication processing instruction data. The real-time of the first real-time communication processing instruction data is higher than that of the second real-time communication processing instruction data. If the received instruction data is identified as non-real-time communication processing instruction data, the real-time communication driving module 111 forwards the non-real-time communication processing instruction data to the middleware module 1121. The division of the first real-time communication processing instruction data, the second real-time communication processing instruction data and the non-real-time communication processing instruction data is not limited by the embodiment and can be set according to actual needs.
[0034] In the above embodiment, the real-time communication driving module 1111 can not only process real-time communication processing instruction data, but also distinguish different types of instruction data and process the different types of instruction data by different interrupt processing units. The instruction data with higher real-time requirement is directly processed by the hard interrupt processing unit with faster processing speed to improve the response speed of the instruction data. The instruction data with slightly lower real-time requirement is processed by the soft interrupt processing unit to release the hard interrupt processing unit to respond to the instruction data with higher real-time requirement in time.
[0035] In some embodiments, the first real-time communication processing instruction data is a real-time reply ACK (acknowledgement character) message, and the hard interrupt processing unit processes the first real-time communication processing instruction data, specifically including: the hard interrupt processing unit processes sending the ACK message to the communication bus 3 through the communication interface 12.
[0036] In some embodiments, the second real-time communication processing instruction data is a sending data collision detection, and the soft interrupt processing unit processes the second real-time communication processing instruction data, including: the soft interrupt processing unit receives the to-be-sent data from the middleware module and caches; the hard interrupt processing unit sends the to-be-sent data cached in the soft interrupt processing unit to the communication bus 3 through the communication interface 12; at the same time, the hard interrupt processing unit acquires the sending data on the communication bus 3 through the communication interface 12 and forwards the sending data on the communication bus 3 to the soft interrupt processing unit; the soft interrupt processing unit performs collision detection according to the sending data on the communication bus 3 and the to-be-sent data cached by it, and performs collision processing when data collision occurs. The specific implementation of the collision processing in this embodiment is not limited, and related technologies can be used to implement it.
[0037] In other embodiments, the second real-time communication processing instruction data can also be data receiving and caching, data retransmission, etc. These second real-time communication processing instruction data have slightly lower real-time requirement and are processed in the soft interrupt processing unit, without having to be processed by the user layer.
[0038] In some embodiments, the non-real-time communication processing instruction data processed by the middleware module 1121 includes but is not limited to converting the user's control command into real-time communication protocol data.
[0039] In other embodiments, the middleware module 1121 includes a user operation interface module for realizing the interaction between the user and the operating system. For example, in some embodiments, the user uses the operation interface module to interact with the operating system, and then realizes the operation of parameter setting, state acquisition, sending and receiving data exchange, etc. on the external device connected with the intelligent gateway bus through the operating system.
[0040] The intelligent gateway shown in each of the above embodiments is applied to the central air conditioning system, so that the central air conditioning system can improve intelligent control and real-time control in a simple implementation manner and at a low cost, and improve the performance of the central air conditioning system.
[0041] Figure 2 A system architecture diagram of some embodiments of the central air conditioning system provided by the application is shown.
[0042] As Figure 2 shown, the central air conditioning system of this embodiment includes an air conditioning unit 21, an intelligent gateway 22, and a communication bus 23 connecting the air conditioning unit 21 and the intelligent gateway 22, and the intelligent gateway 22 includes a system board 221 and a communication interface 222. For the specific structure, function and technical effects of the implementation of the intelligent gateway 22, refer to the detailed description of each of the above embodiments of the intelligent gateway.
[0043] The central air conditioning system using the intelligent gateway 22 effectively solves the problems of complex hardware and software and high cost existing in the prior art central air conditioning system which needs multiple hardware to realize real-time communication requirements, because the intelligent gateway can realize real-time communication requirements on a single system board, so that the central air conditioning system can improve intelligent control and real-time control in a simple implementation manner and at a low cost, and improve the working performance and cost reduction performance of the central air conditioning system.
[0044] The above embodiments are only used to illustrate the technical solutions of the application, but not to limit the application; although the application has been described in detail with reference to the above embodiments, the technical solutions recorded in the above embodiments can still be modified by those of ordinary skill in the art, or some technical features can be replaced by equivalent ones; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions claimed by the application.
Claims
1. An intelligent gateway, characterized by, Comprise: System board, the system board runs operating system, the operating system includes kernel layer and user layer; Real-time communication driver module is arranged in the kernel layer, is used for processing real-time communication processing instruction data and forwarding non real-time communication processing instruction data; Middleware module and application program calling interface module are arranged in the user layer, the middleware module is connected with the real-time communication driver module and the application program calling interface module respectively, and is used for processing the non real-time communication processing instruction data; Communication interface is used for connecting the real-time communication driver module, and also connects the communication bus for the intelligent gateway and external equipment communication connection.
2. The intelligent gateway of claim 1, wherein, The real-time communication driver module includes hard interrupt processing unit and soft interrupt processing unit, and the real-time communication driver module processes real-time communication processing instruction data and forwards non real-time communication processing instruction data, specifically comprising: The real-time communication driver module obtains interrupt trigger signal from the communication interface, receives instruction data from the communication bus through the communication interface and identifies the received instruction data; When the received instruction data is first real-time communication processing instruction data, the hard interrupt processing unit processes the first real-time communication processing instruction data, and when the received instruction data is second real-time communication processing instruction data, the soft interrupt processing unit processes the second real-time communication processing instruction data, and the real-time of the first real-time communication processing instruction data is higher than that of the second real-time communication processing instruction data; When the received instruction data is non real-time communication processing instruction data, the real-time communication driver module forwards the non real-time communication processing instruction data to the middleware module.
3. The intelligent gateway according to claim 2, characterized in that The first real-time communication processing instruction data is real-time reply ACK message, and the hard interrupt processing unit processes the first real-time communication processing instruction data, comprising: The hard interrupt processing unit processes ACK message sent to the communication bus through the communication interface.
4. The intelligent gateway of claim 2, wherein, The second real-time communication processing instruction data is sending data collision detection, and the soft interrupt processing unit processes the second real-time communication processing instruction data, comprising: The soft interrupt processing unit receives the to-be-sent data from the middleware module and caches; The hard interrupt processing unit sends the to-be-sent data cached in the soft interrupt processing unit to the communication bus through the communication interface, and simultaneously, the hard interrupt processing unit obtains sending data on the communication bus through the communication interface and forwards the sending data on the communication bus to the soft interrupt processing unit; The soft interrupt processing unit performs collision detection according to the sending data on the communication bus and the to-be-sent data cached by it, and performs collision processing when data collision occurs.
5. The intelligent gateway of any one of claims 1 to 4, wherein, The middleware module further comprises a user operation interface module for realizing the interaction of user and the operating system.
6. A central air conditioning system comprising an air conditioning unit, an intelligent gateway and a communication bus connecting the air conditioning unit and the intelligent gateway, characterized in that, The intelligent gateway comprises: The system board runs an operating system, which comprises a kernel layer and a user layer; a real-time communication driving module is arranged in the kernel layer, for processing real-time communication processing instruction data and forwarding non-real-time communication processing instruction data; a middleware module and an application program calling interface module are arranged in the user layer, the middleware module is connected with the real-time communication driving module and the application program calling interface module respectively, for processing the non-real-time communication processing instruction data; A communication interface is arranged for connecting the real-time communication driving module and the communication bus.
7. The central air conditioning system according to claim 6, wherein The real-time communication driving module comprises a hard interrupt processing unit and a soft interrupt processing unit, and the real-time communication driving module processes real-time communication processing instruction data and forwards non-real-time communication processing instruction data, specifically comprising: The real-time communication driving module obtains an interrupt trigger signal from the communication interface, receives instruction data from the communication bus through the communication interface and identifies the received instruction data; When the received instruction data is first real-time communication processing instruction data, the hard interrupt processing unit processes the first real-time communication processing instruction data; when the received instruction data is second real-time communication processing instruction data, the soft interrupt processing unit processes the second real-time communication processing instruction data; the real-time performance of the first real-time communication processing instruction data is higher than that of the second real-time communication processing instruction data; When the received instruction data is non-real-time communication processing instruction data, the real-time communication driving module forwards the non-real-time communication processing instruction data to the middleware module.
8. The central air conditioning system according to claim 7, wherein The first real-time communication processing instruction data is a real-time reply ACK message, and the hard interrupt processing unit processes the first real-time communication processing instruction data, comprising: The hard interrupt processing unit processes the ACK message sent to the communication bus through the communication interface.
9. The central air conditioning system of claim 7, wherein, The second real-time communication processing instruction data is a sending data collision detection, and the soft interrupt processing unit processes the second real-time communication processing instruction data, comprising: The soft interrupt processing unit receives the to-be-sent data from the middleware module and caches; The hard interrupt processing unit sends the to-be-sent data cached in the soft interrupt processing unit to the communication bus through the communication interface; at the same time, the hard interrupt processing unit obtains sending data on the communication bus through the communication interface and forwards the sending data on the communication bus to the soft interrupt processing unit; The soft interrupt processing unit performs collision detection according to the sending data on the communication bus and the to-be-sent data cached by it, and performs collision processing when data collision occurs.
10. The intelligent gateway of any one of claims 5 to 9, wherein, The middleware module further comprises a user operation interface module, for realizing the interaction between a user and the operating system.