Disclosure of Invention
The invention aims to provide a radiation air conditioner control system, a radiation air conditioner control method and gateway equipment, which realize the communication connection between the gateway equipment and each control equipment based on an object model, are convenient to maintain and replace, and then coordinate each control component to execute a control command based on corresponding control logic by the gateway equipment, so that the execution is more efficient.
The technical scheme provided by the invention is as follows:
the invention provides a radiation air-conditioning control system, which comprises gateway equipment and a plurality of control components, wherein the gateway equipment comprises a plurality of control modules;
the gateway equipment stores the object models corresponding to the control components and is in communication connection with the corresponding control components based on the object models;
the gateway equipment stores control logics corresponding to the control components, generates a control instruction according to the acquired user operation information based on the control logics, and sends the control instruction to a corresponding target control component in the user operation information;
and the target control component adjusts working parameters according to the control instruction.
Further, the system also comprises a cloud platform;
the control component sends the current state information of the control component to the gateway equipment;
the gateway equipment stores state information sent by each connected control component and sends the state information to the cloud platform.
Further, the method also comprises the following steps:
if the control component is replaced or newly added, the gateway equipment calls an object model corresponding to the component to be added, and is in communication connection with the component to be added according to the object model corresponding to the component to be added;
and if the stored object model does not have the object model corresponding to the component to be added, the gateway equipment acquires the object model from the cloud platform, or generates the object model according to the basic parameters of the component to be added and the corresponding basic object model.
The management terminal acquires the state information of each control component through the cloud platform and sends the user operation information to the gateway equipment.
The invention also provides a radiation air conditioner control method, which comprises the following steps:
acquiring an object model corresponding to each control assembly, and communicating and connecting with the corresponding control assembly based on the object model;
generating control information according to the acquired user operation information based on the control logic corresponding to each control assembly;
identifying a target control component according to the user operation information;
and sending the control component to the target control component, and adjusting the working parameters of the target control component.
Further, the method also comprises the following steps:
acquiring and storing the current state information of each control assembly;
and sending the state information to a cloud platform.
Further, the method also comprises the following steps:
if the control component is replaced or newly added, calling an object model corresponding to the component to be added, and communicating and connecting with the component to be added according to the object model corresponding to the component to be added;
and if the object model corresponding to the component to be added does not exist in the stored object models, acquiring the object models from the cloud platform, or generating the object models according to the basic parameters of the component to be added and the corresponding basic object models.
The present invention also provides a gateway device, including:
the storage module is used for storing object models and control logics corresponding to the control components;
the communication module is in communication connection with the corresponding control assembly based on the object model stored by the storage module;
the instruction generating module is used for generating a control instruction according to the acquired user operation information based on the control logic stored in the storage module;
and the communication module is used for sending the control instruction generated by the instruction generation module to a target control assembly and adjusting the working parameters of the control assembly.
Further, the method also comprises the following steps:
the information acquisition module is used for acquiring the current state information of each connected control assembly;
the storage module stores the state information acquired by the information acquisition module;
and the information sending module is used for sending the state information acquired by the information acquisition module to a cloud platform.
Further, the method also comprises the following steps:
if the control component is replaced or newly added, the communication module calls the object model corresponding to the component to be added stored in the storage module, and is in communication connection with the component to be added according to the object model corresponding to the component to be added;
and the model acquisition module acquires the model from a cloud platform if the object model corresponding to the component to be added does not exist in the storage module, or generates the model according to the basic parameters of the component to be added and the corresponding basic object model.
According to the radiation air conditioner control system, the radiation air conditioner control method and the gateway equipment, the gateway equipment is in communication connection with each control equipment based on the object model, maintenance and replacement are convenient, and then the gateway equipment coordinates each control assembly to execute a control command based on corresponding control logic, so that execution is more efficient.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically depicted, or only one of them is labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, family computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments the terminal device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a network creation application, a word processing application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a digital video camera application, a Web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
One embodiment of the present invention, as shown in fig. 1, a radiant airconditioning control system 100, includes a gateway device 110 and a number of control components 120;
the gateway device 110 stores the object models corresponding to the control components, and is in communication connection with the corresponding control components based on the object models;
the gateway device 110 stores control logics corresponding to the control components, generates a control instruction according to the acquired user operation information based on the control logics, and sends the control instruction to a corresponding target control component 121 in the user operation information, where the target control component 121 is any one of the control components 120;
the target control component 121 adjusts the working parameters according to the control instruction.
Specifically, in this embodiment, the radiation air-conditioning control system based on the internet of things includes a gateway device and a plurality of control components, and the control components include equipment such as a hydraulic module, a fresh air machine, an air quality sensor, a temperature control panel, and an indoor central control screen. And creating an object model of each control assembly, wherein the object model is a model defined by the equipment attribute and comprises information such as the structure, the attribute and the parameter of the equipment. Since each control assembly is divided based on respective functional characteristics, the control assemblies of the same type have the same structural characteristics, for example, the basic parameters of the fresh air fans of the manufacturer a and the manufacturer B may be different, but the basic mechanisms of the fresh air fans of the manufacturer a and the manufacturer B are the same or similar due to the fact that the functions of the fresh air fans of the manufacturer a and the manufacturer B are the same. Therefore, based on the same basic structural member basic object model of each type of control assembly, the basic parameters of each control assembly are added in the basic object model to obtain the object model of the control assembly.
And storing object models of control components belonging to the same radiation air-conditioning control system in the gateway equipment, calling the object models, and respectively communicating and connecting the object models with the corresponding control components based on the stored object models. The control component and the gateway device can be connected wirelessly or through wires, but only when the gateway device calls the object model added with the control component, the control component is added to the radiation air-conditioning control system, and then the control component can be adjusted and controlled. After the gateway equipment establishes communication connection with each control component, the radiation air conditioner control system is completed.
In addition, the gateway device stores control logic of each control component, acquires user operation information, wherein the user operation information includes identification information of a target control component that a user wants to adjust, so that the gateway device can conveniently identify the target control component, and also includes target parameters obtained after the target control component is adjusted, and one or more target control components may be included.
The gateway equipment generates a control instruction according to the user operation information based on the control logic of the target control component, then sends the control instruction to the corresponding target control component, and the control component adjusts the working parameters to be the target parameters according to the control instruction.
The gateway equipment stores the control logic of each control component, and each control component only executes the corresponding control logic according to the instruction of the gateway equipment, namely the gateway equipment is used as a control module of the whole radiation air-conditioning control system, coordinates the work of each control component and is efficiently matched with each other. The problem that a certain control assembly is used as a control module to coordinate the whole system and the requirement on the control assembly is high is avoided.
Another embodiment of the present invention is an optimized embodiment of the above embodiment, as shown in fig. 2, compared with the above embodiment, the present embodiment has the main improvements that the present embodiment further includes a cloud platform 130;
the control component 120 sends its current state information to the gateway device 110;
the gateway device 110 stores state information sent by each connected control component, and sends the state information to the cloud platform 130.
Specifically, in this embodiment, the control component sends its current state information to the gateway device, and the gateway device receives and stores the state information sent by each control component. If the state information of the control component is not changed, no operation is performed, and if the state information is changed due to parameter adjustment of the control component, the changed state information is sent to the gateway equipment to update corresponding state information, wherein the parameter adjustment of the control component is the reason for issuing a control instruction adjustment by the gateway equipment or the failure of the control component equipment and the like. Therefore, the user can directly acquire the current state information of each control component through the gateway device.
The radiation air conditioner control system further comprises a cloud platform, the gateway equipment is in communication connection with the cloud platform, the gateway equipment sends the acquired current state information of the control assembly to the cloud platform, and the cloud platform stores the current state information. Meanwhile, the cloud platform also stores object models and control logics of all the control components, when the object models or the control logics are updated, the updated object models and control logics are pushed to the gateway equipment, and the gateway equipment updates the corresponding object models and control logics stored in the gateway equipment. The cloud platform is connected with a plurality of gateway devices, and control components connected with different gateway devices may be the same or different.
The current state information of the control component is sent to the gateway equipment and the cloud platform, and is updated in time after adjustment, so that a user can quickly know the state of the control component and correspondingly adjust the control component based on the state. In addition, the cloud platform stores the control logic of the control assembly and automatically pushes and updates the control logic to the gateway equipment, so that the control logic in the gateway equipment can be updated in time.
Preferably, in a further embodiment of the present invention, further comprising: if the control component is replaced or newly added, the gateway equipment calls an object model corresponding to the component to be added, and is in communication connection with the component to be added according to the object model corresponding to the component to be added; and if the stored object model does not have the object model corresponding to the component to be added, the gateway equipment acquires the object model from the cloud platform, or generates the object model according to the basic parameters of the component to be added and the corresponding basic object model.
Specifically, if a control component is to be replaced or newly added in the radiation air-conditioning control system, and the replaced or newly added component is completely the same as the information of the same kind of control component manufacturer, model, parameter, and the like in the radiation air-conditioning control system, the corresponding object model is also the same, so that the corresponding object model is directly added and called, and the component to be added is in communication connection with the gateway device based on the object model, so that the component to be added is added to the radiation air-conditioning control system. In addition, the same radiation air conditioner control system has the same control components, the corresponding object models are also the same, and for the convenience of distinguishing, each control component is numbered with the corresponding object model and corresponds to the control component in a one-to-one mode.
In addition, even if the same control component does not exist in the replaced or newly added component radiation air-conditioning control system, the matched object model can be found by searching in the object model stored in the gateway equipment. If the object model corresponding to the component to be added does not exist in the object model stored in the gateway device and cannot be directly called, the gateway device can send a request instruction to obtain the object model from the cloud platform, or obtain a basic object model of the control component in the gateway device and basic parameters of the component to be added, and generate a corresponding object model for use according to the basic object model and the basic parameters. And then, whether the object model is obtained from the cloud platform or generated according to the basic object model and the basic parameters, storing the object model corresponding to the component to be added in the gateway device.
The gateway equipment and the communication connection of each control component are established based on the object model, so that the gateway equipment can be adjusted through the object model when the control components are replaced and newly added, the adjustment can be rapidly carried out, and the universal replacement of the control components of different manufacturers, models and parameters is realized.
Preferably, in a further embodiment of the present invention, further comprising: and the management terminal acquires the state information of each control component through the cloud platform and sends the user operation information to the gateway equipment.
Specifically, the radiation air-conditioning control system further comprises a management terminal, and users such as owners, property managers and group managers can log in the cloud platform through the management terminal to inquire corresponding state information and identification information of the gateway device according to the label of the control component, input user operation information through the management terminal, and directly send the user operation information to the management terminal or forward the user operation information to the gateway device through the cloud platform. In addition, the management terminal can be directly connected with the gateway device in a communication mode, and the management terminal directly obtains the state information of the control component from the gateway device and adjusts the working parameters of the control component through the gateway device.
In one embodiment of the present invention, as shown in fig. 3, a radiation air conditioner control method includes:
acquiring an object model corresponding to each control assembly, and communicating and connecting with the corresponding control assembly based on the object model;
generating control information according to the acquired user operation information based on the control logic corresponding to each control assembly;
identifying a target control component according to the user operation information;
and sending the control component to the target control component, and adjusting the working parameters of the target control component.
Preferably, the method further comprises the following steps:
acquiring and storing the current state information of each control assembly;
and sending the state information to a cloud platform.
Preferably, the method further comprises the following steps:
if the control component is replaced or newly added, calling an object model corresponding to the component to be added, and communicating and connecting with the component to be added according to the object model corresponding to the component to be added;
and if the object model corresponding to the component to be added does not exist in the stored object models, acquiring the object models from the cloud platform, or generating the object models according to the basic parameters of the component to be added and the corresponding basic object models.
The specific operation modes of the modules in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
One embodiment of the present invention, as shown in fig. 4, is a gateway device 110, including:
the storage module 111 stores object models and control logics corresponding to the control components;
the communication module 112 is in communication connection with the corresponding control component based on the object model stored by the storage module 111;
an instruction generating module 113, configured to generate a control instruction according to the obtained user operation information based on the control logic stored in the storage module 111;
the communication module 112 sends the control instruction generated by the instruction generating module 113 to a target control component, and adjusts the working parameters of the control component.
Specifically, the radiation air-conditioning control system based on the internet of things in the embodiment includes a gateway device and a plurality of control components, and the control components include a hydraulic module, a fresh air machine, an air quality sensor, a temperature control panel, an indoor central control screen and other devices. And creating an object model of each control assembly, wherein the object model is a model defined by the equipment attribute and comprises information such as the structure, the attribute and the parameter of the equipment. Since each control assembly is divided based on respective functional characteristics, the control assemblies of the same type have the same structural characteristics, for example, the basic parameters of the fresh air fans of the manufacturer a and the manufacturer B may be different, but the basic mechanisms of the fresh air fans of the manufacturer a and the manufacturer B are the same or similar due to the fact that the functions of the fresh air fans of the manufacturer a and the manufacturer B are the same. Therefore, based on the same basic structural member basic object model of each type of control assembly, the basic parameters of each control assembly are added in the basic object model to obtain the object model of the control assembly.
The storage module of the gateway equipment stores object models and control logics of control components belonging to the same radiation air conditioner control system, and the communication module is respectively in communication connection with the corresponding control components based on the stored object models. The control component and the gateway device can be connected wirelessly or through wires, but only when the gateway device calls the object model added with the control component, the control component is added to the radiation air-conditioning control system, and then the control component can be adjusted and controlled. After the gateway equipment establishes communication connection with each control component, the radiation air conditioner control system is completed.
In addition, the instruction generation module of the gateway device obtains user operation information, where the user operation information includes identification information of a target control component that the user wants to adjust, so that the gateway device can identify the target control component conveniently, and also includes target parameters obtained after the target control component is adjusted, where the target control component may be one or multiple.
An instruction generating module of the gateway equipment generates a control instruction according to the user operation information based on the control logic of the target control component, then the control instruction is sent to the corresponding target control component through the communication module, and the control component adjusts the working parameters to be the target parameters according to the control instruction.
The gateway equipment stores the control logic of each control component, and each control component only executes the corresponding control logic according to the instruction of the gateway equipment, namely the gateway equipment is used as a control module of the whole radiation air-conditioning control system, coordinates the work of each control component and is efficiently matched with each other. The problem that a certain control assembly is used as a control module to coordinate the whole system and the requirement on the control assembly is high is avoided.
Preferably, in a further embodiment of the present invention, further comprising: the information acquisition module is used for acquiring the current state information of each connected control assembly; the storage module stores the state information acquired by the information acquisition module; and the information sending module is used for sending the state information acquired by the information acquisition module to a cloud platform.
Specifically, in this embodiment, the information obtaining module of the gateway device obtains current state information of each connected control component, and the storage module stores the state information sent by each control component. If the state information of the control component is not changed, no operation is performed, and if the state information is changed due to parameter adjustment of the control component, the changed state information is sent to the gateway equipment to update corresponding state information, wherein the parameter adjustment of the control component is the reason for issuing a control instruction adjustment by the gateway equipment or the failure of the control component equipment and the like. Therefore, the user can directly acquire the current state information of each control component through the gateway device.
The radiation air conditioner control system further comprises a cloud platform, the gateway equipment is in communication connection with the cloud platform, the information sending module of the gateway equipment sends the acquired current state information of the control assembly to the cloud platform, and the cloud platform stores the current state information. Meanwhile, the cloud platform also stores object models and control logics of all the control components, when the object models or the control logics are updated, the updated object models and control logics are pushed to the gateway equipment, and the gateway equipment updates the corresponding object models and control logics stored in the gateway equipment. The cloud platform is connected with a plurality of gateway devices, and control components connected with different gateway devices may be the same or different.
The current state information of the control component is sent to the gateway equipment and the cloud platform, and is updated in time after adjustment, so that a user can quickly know the state of the control component and correspondingly adjust the control component based on the state. In addition, the cloud platform stores the control logic of the control assembly and automatically pushes and updates the control logic to the gateway equipment, so that the control logic in the gateway equipment can be updated in time.
Preferably, in a further embodiment of the present invention, further comprising: if the control component is replaced or newly added, the communication module calls the object model corresponding to the component to be added stored in the storage module, and is in communication connection with the component to be added according to the object model corresponding to the component to be added; and the model acquisition module acquires the model from a cloud platform if the object model corresponding to the component to be added does not exist in the storage module, or generates the model according to the basic parameters of the component to be added and the corresponding basic object model.
Specifically, if a control component is to be replaced or newly added in the radiation air-conditioning control system, and the replaced or newly added component is completely the same as the information of the same kind of control component manufacturer, model, parameter, and the like in the radiation air-conditioning control system, it is indicated that the corresponding object model is also the same, so that the communication module directly adds and calls the corresponding object model, and the component to be added is in communication connection with the gateway device based on the object model, thereby adding the component to be added to the radiation air-conditioning control system. In addition, the same radiation air conditioner control system has the same control components, the corresponding object models are also the same, and for the convenience of distinguishing, each control component is numbered with the corresponding object model and corresponds to the control component in a one-to-one mode.
In addition, even if the same control component does not exist in the replaced or newly added component radiation air-conditioning control system, the matched object model can be found by searching in the object model stored in the gateway equipment. If the object model corresponding to the component to be added does not exist in the object model stored in the gateway device and cannot be directly called, the model acquisition module of the gateway device can send a request instruction to acquire the object model from the cloud platform, or acquire a basic object model of the control component in the gateway device and basic parameters of the component to be added, and generate a corresponding object model for use according to the basic object model and the basic parameters. And then, whether the object model is obtained from the cloud platform or generated according to the basic object model and the basic parameters, storing the object model corresponding to the component to be added in the gateway device.
The gateway equipment and the communication connection of each control component are established based on the object model, so that the gateway equipment can be adjusted through the object model when the control components are replaced and newly added, the adjustment can be rapidly carried out, and the universal replacement of the control components of different manufacturers, models and parameters is realized.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.