Method and device for controlling environment control equipment, central control gateway equipment and server
Through the central control gateway equipment, the temperature control panel is assisted in the analysis and issuance of equipment regulation instructions, the problem that the thermostat cannot control the air conditioner and fresh air equipment at the same time is solved, and the software control of the temperature control panel for the environmental control equipment is realized and the operation status is synchronized.
Patent Information
- Application Number
- CN202411829314.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-22
AI Technical Summary
The thermostat in the prior art cannot be connected to the air conditioner and fresh air equipment at the same time, resulting in the inability to control the air conditioner and fresh air equipment on the basis of the floor heating control function.
Through the communication connection between the central control gateway device and the temperature control panel, monitor the current operating status of the environmental control device, and when the expansion service is activated, the instructions input from the temperature control panel are analyzed, the equipment control instructions are constructed, and the equipment control instructions are issued to the target environmental control device to realize the software control of the environmental control device by the temperature control panel.
The temperature control panel synchronously displays the operating status of the environmental control equipment under the coordination of the central control gateway equipment, and can regulate the environmental control equipment in software, solving the problem that the thermostat cannot control floor heating, air conditioning and fresh air equipment at the same time.
Smart Images

Figure CN119861608A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, for example, to a method and device for controlling environmental control equipment, a central control gateway device, and a server. Background Art
[0002] At present, the smart home IoT platform provides two devices to meet the indoor temperature problems of large-sized apartment users or villa users. One device is a thermostat with a display screen, which has the function of controlling floor heating equipment; the other is a gateway device, which can be connected to different models of air conditioners or fresh air equipment. In actual applications, a batch of air conditioners and a fresh air equipment can be connected at the same time through the gateway device.
[0003] In order to realize the centralized control of floor heating equipment, air conditioners and fresh air equipment, the control system of smart home appliances provided by relevant technologies includes: thermostat, central control gateway device, air conditioning gateway, and Internet of Things platform; the thermostat is configured as a control panel with a screen for selecting one of the three types of floor heating equipment, air conditioner and fresh air equipment; the central control gateway device is configured to realize the communication of other smart home appliances in the home and the centralized management of smart home appliances. The central control gateway device is wirelessly connected to the thermostat, and the central control gateway device can virtually output air conditioners, fresh air equipment and floor heating equipment; the air conditioning gateway device is configured to realize the device management of the air conditioner, and the air conditioning gateway device is wiredly connected to the central control gateway device; the Internet of Things platform is communicated with the central control gateway device, and the central control gateway device registers the device identification of the air conditioner, fresh air equipment and floor heating equipment to the Internet of Things platform. The terminal device can obtain the device status information of the device corresponding to the device identification through the Internet of Things platform, and control the device corresponding to the device identification.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0005] Since the thermostat provided by the relevant technology cannot be connected to the air conditioner and fresh air equipment, after configuring the air conditioning gateway device, the thermostat can only be connected to the floor heating equipment through the 485 interface and only has the floor heating control function, and cannot control the air conditioner and fresh air equipment based on the floor heating control function.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0008] The embodiments of the present disclosure provide a method and apparatus for controlling an environmental control device, a central control gateway device, and a server, so that a temperature control panel can control the environmental control device in a software manner.
[0009] In some embodiments, the method is applied to a central control gateway device, which is communicatively connected to the temperature control panel, including: when the extended service is started, monitoring the current operating status of the environmental control device, wherein the extended service is started when the central control gateway device determines that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship; synchronously sending the current operating status to the temperature control panel so that the temperature control panel synchronously displays the current operating status; when the extended service is started, parsing the input instructions written to the temperature control panel, and constructing the device control instructions corresponding to the input instructions; and issuing the device control instructions to the environmental control device.
[0010] In some embodiments, the input instruction includes the target device identification and target operating status of the environmental control device, the input instruction written to the temperature control panel is parsed, and the device control instruction corresponding to the input instruction is constructed, including: parsing the input instruction to obtain the target device identification and target operating status; reading the configuration file to determine the target device identification and the target operating strategy corresponding to the target operating status, wherein the configuration file includes a mapping relationship between the device identification and the operating status and the operating strategy; based on the target device identification and the target operating strategy, constructing the device control instruction corresponding to the input instruction.
[0011] In some embodiments, a configuration file is obtained in the following manner: configuration data sent by a server is received, the configuration data including device identifiers of multiple environmental control devices, the environmental control devices including preset environmental control devices and / or newly added environmental control devices; a first mapping relationship between a preset device identifier and a first operating state and a first operating strategy is constructed based on the operating data of each preset environmental control device; a second mapping relationship between a newly added device identifier and a second operating state and a second operating strategy is constructed based on the operating data of each newly added environmental control device; and a configuration file is constructed based on the first mapping relationship and / or the second mapping relationship.
[0012] In some embodiments, the method is applied to a temperature control panel, which is communicatively connected to a central control gateway device. The method includes: receiving the current operating status of an environmental control device sent by the central control gateway device, and synchronously displaying the current operating status of the environmental control device. The current operating status of the environmental control device is obtained by the central control gateway device monitoring the current operating status of the environmental control device when the extended service is started; after receiving an input instruction, sending it to the central control gateway device so that the central control gateway device parses the input instruction, constructs a device control instruction corresponding to the input instruction, and sends it to the target environmental control device. The input instruction is received by the temperature control panel after the central control gateway device starts the extended service.
[0013] In some embodiments, it also includes: after the temperature control panel is connected to the central control gateway device for communication, a heartbeat packet is sent to the central control gateway device according to the heartbeat mechanism to indicate the communication connection status between the temperature control panel and the central control gateway device.
[0014] In some embodiments, the method is applied to a server, and the server is communicatively connected with a central control gateway device, and the method includes: sending a subscription request to a mobile terminal; receiving configuration data sent by the mobile terminal, the configuration data including a panel identifier of the temperature control panel and a central control gateway identifier, and a device identifier of the environmental control device, and the configuration data is generated after the mobile terminal receives the subscription request and determines that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship; sending the configuration data to the central control gateway device corresponding to the central control gateway identifier so that the central control gateway device starts the extended service.
[0015] In some embodiments, it also includes: after sending the configuration data to the central control gateway device corresponding to the central control gateway identifier, receiving a subscription response, the subscription response is generated when the mobile terminal determines that the temperature control panel has no association with the mobile terminal or all environmental control devices have no association with the mobile terminal, and is used to instruct the server to delete the configuration data and synchronize the server to the central control gateway device to stop expanding the service.
[0016] In some embodiments, the apparatus comprises a first processor and a first memory storing program instructions, and the first processor is configured to execute the above-mentioned method for controlling an environmental control device when running the program instructions.
[0017] In some embodiments, the central control gateway device includes: a central control gateway device body; and the device for controlling the environmental control device as described above, which is installed in the central control gateway device body.
[0018] In some embodiments, the apparatus comprises a second processor and a second memory storing program instructions, wherein the second processor is configured to execute the above-mentioned method for controlling environmental control equipment when running the program instructions.
[0019] In some embodiments, a server includes: a server body; and the device for controlling environmental control equipment as described above, installed on the server body.
[0020] The method, apparatus, system and gateway device for controlling environmental control equipment provided by the embodiments of the present disclosure can achieve the following technical effects:
[0021] The central control gateway device provided in the embodiment of the present disclosure enables the temperature control panel to synchronously display the operating status of the monitored environmental control device when the extended service is started. At the same time, the central control gateway device provided in the embodiment of the present disclosure can assist the temperature control panel in parsing the input instructions and converting them into equipment control instructions of the target environmental control device, so that the temperature control panel can realize the control of the environmental control device in a software manner with the cooperation of the central control gateway device.
[0022] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0024] Figure 1 is an environmental schematic diagram of an implementation environment of an embodiment of the present disclosure;
[0025] Figure 2 is a schematic diagram of a method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0026] Figure 3 is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0027] Figure 4 is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0028] Figure 5 is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0029] Figure 6 is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0030] Figure 7 is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0031] Figure 8is a schematic diagram of another method for controlling an environmental control device provided by an embodiment of the present disclosure;
[0032] Fig. 9 is an application schematic diagram of an embodiment of the present disclosure;
[0033] Fig.10 is a schematic diagram of a device for controlling an environmental control device provided by an embodiment of the present disclosure;
[0034] Fig.11 is a schematic diagram of another apparatus for controlling an environmental control device provided by an embodiment of the present disclosure;
[0035] Fig.12 It is a schematic diagram of another apparatus for controlling environmental control equipment provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0037] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0038] Unless otherwise stated, the term "plurality" means two or more.
[0039] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0040] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0041] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0042] Figure 1Schematic diagram of the implementation environment of the embodiment of the present disclosure. Figure 1 As shown, the implementation environment may include a mobile terminal 100 , a server 200 , a central control gateway device 300 , a temperature control panel 400 , and an environmental control device 500 .
[0043] An application is installed on the mobile terminal 100 , and the user can use the application to configure the home appliance 20 to access the Internet.
[0044] The server 200 may be a single server, or a server cluster consisting of a plurality of servers, or a computing service center, which is not limited in the embodiments of the present disclosure.
[0045] The central control gateway device 300 is used to realize the communication of other smart home appliances in the home and the centralized management of smart home appliances. The central control gateway device 300 is connected to the server 200. As an example, the central control gateway device 300 and the server can establish a communication connection through wired communication.
[0046] The temperature control panel 400 represents a control panel with a screen for selecting one of the floor heating equipment, air conditioner and fresh air equipment. The temperature control panel 400 is connected to the central control gateway device 300 for communication. As an example, the temperature control panel 400 communicates with the central control gateway device 300 in the near field. For example, the central control gateway device 300 communicates with the temperature control panel 400 in the near field based on the zigbee network.
[0047] The environmental control device 500 represents a smart home appliance with environmental control capabilities. The environmental control device 500 is connected to the central control gateway device 300. As an example, the environmental control device 500 communicates with the central control gateway device 300 in near field. For example, the central control gateway device 300 communicates with the environmental control device 500 in near field based on the zigbee (Zifeng) network. It should be noted that the environmental control device 500 and the temperature control panel 400 are connected to the central control gateway device 300 in near field based on the same type of communication network. In addition, the environmental control device includes an air conditioner or a fresh air device. In the case where the environmental control device is an air conditioner, the number of air conditioners can be one or more. In the case where the environmental control device is a fresh air device, the number of fresh air devices can be one or more.
[0048] It should be understood that Figure 1 The number of central control gateway devices and environmental control devices is only illustrative. According to actual needs, there can be any number of central control gateway devices and environmental control devices. For example, one central control gateway device can correspond to multiple environmental control devices.
[0049] It should be noted that the method for controlling the environmental control equipment provided in the embodiment of the present disclosure is generally executed jointly by a mobile terminal, a server, a central control gateway device and a temperature control panel. Accordingly, the device for controlling the environmental control equipment is generally arranged in the mobile terminal, the server, the central control gateway device and the temperature control panel.
[0050] Based on the above implementation environment, combined with Figure 2 As shown, the embodiment of the present disclosure provides a method for controlling an environmental control device, including:
[0051] S01, when the extended service is started, the central control gateway device monitors the current operating status of the environmental control device, wherein the extended service is started when the central control gateway device determines that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship.
[0052] In this step, the extended service means that the central control gateway device grants the function of controlling the environmental control device to the temperature control panel under the central control function.
[0053] S02, the central control gateway device synchronously sends the current operating status to the temperature control panel so that the temperature control panel synchronously displays the current operating status.
[0054] S03, when the extended service is started, the central control gateway device parses the input instructions written to the temperature control panel and constructs the device control instructions corresponding to the input instructions.
[0055] S04, the central control gateway device sends device control instructions to the target environmental control device.
[0056] Using the method for controlling environmental control equipment provided by the embodiment of the present disclosure, when the central control gateway device determines that the temperature control panel has an association relationship with the mobile terminal and at least one environmental control device has an association relationship with the mobile terminal, the extended service is started to give the temperature control panel the function of controlling the environmental control device under its central control capability. When the extended service is started, the central control gateway device monitors the current operating status of the environmental control device and sends it synchronously to the temperature control panel so that it synchronously displays the current operating status. At the same time, when the extended service is started, the central control gateway device parses the input instructions written to the temperature control panel and constructs its corresponding device control instructions, and then sends the device control instructions to the target environmental control device. The central control gateway device provided by the embodiment of the present disclosure enables the temperature control panel to synchronously display the operating status of the monitored environmental control device when the extended service is started. At the same time, the central control gateway device provided by the embodiment of the present disclosure can assist the temperature control panel in parsing the input instructions and converting them into device control instructions of the target environmental control device, so that the temperature control panel can realize the control of the environmental control device in software under the cooperation of the central control gateway device.
[0057] In addition, the expansion service is started by the central control gateway device. The expansion service can use the local area network control capability of the IoT platform to avoid uncontrollable situations when the external network is disconnected. At the same time, the central control gateway device and the temperature control panel use Zigbee network communication. Zigbee is a near-field communication technology that can speed up information processing and equipment control efficiency.
[0058] Optionally, combined Figure 3 As shown, the input command includes the target device identification and target operating status of the environmental control device. The central control gateway device parses the input command written to the temperature control panel and constructs the device control command corresponding to the input command, including:
[0059] S11, the central control gateway device parses the input command to obtain the target device identification and target operating status.
[0060] S12, the central control gateway device reads the configuration file to determine the target operation strategy corresponding to the target device identification and the target operation state, wherein the configuration file includes a mapping relationship between the device identification and the operation state and the operation strategy. The above-mentioned device identification is used to uniquely characterize the identification of the environmental control device. As an example, the device identification is the device model of the environmental control device. The operation state indicates the operation mode and / or operation data of the environmental control device. The specific information contained in the operation state can be determined according to the device attributes of the environmental control device. As an example, when the device attribute is an air conditioner, the operation state of the air conditioner includes part or all of the air conditioner operation mode, air conditioner wind speed or air conditioner target temperature value. When the device attribute is a fresh air device, the operation state of the fresh air device includes the fresh air fan operation mode or the fresh air fan wind speed. The operation strategy indicates the operation mode of the environmental control device. The specific information contained in the operation mode can be determined according to the device attributes of the environmental control device.
[0061] S13, the central control gateway device constructs a device control instruction corresponding to the input instruction based on the target device identifier and the target operation strategy.
[0062] In this way, the central control gateway device provided in the embodiment of the present disclosure parses the input instruction, obtains the target device identification and the target operating state, and then reads the configuration file and determines the target operating policy corresponding to the target device identification and the target operating state according to the mapping relationship stored in the configuration file. Finally, the central control gateway device provided in the embodiment of the present disclosure generates the device control instructions corresponding to the input instruction based on the target device identification and the target operating policy. The central control gateway device provided in the embodiment of the present disclosure can assist the temperature control panel in parsing the input instruction and converting it into the device control instructions of the target environmental control device, so that the temperature control panel can realize the control of the environmental control device in software under the cooperation of the central control gateway device.
[0063] In addition, before starting the extended service, the temperature control panel and at least one environmental control device and the mobile terminal are associated, so that the central control gateway device can start an extended service for a temperature control panel, and independently control the environmental control device that is also associated with the mobile terminal after starting the extended service. In this way, if the central control gateway device starts the extended service for different temperature control panels, each temperature control panel can control the environmental control device in software mode under the coordination of the central control gateway device, and realize independent regulation of multiple temperature control panels. At the same time, the information in the configuration file is simple, which can reduce space occupancy and speed up the information processing speed of the central control gateway device.
[0064] Optionally, the method for controlling the environmental control device further includes:
[0065] The central control gateway device caches the device identification and the device control instructions of the historical build and the latest device control instructions of the latest build.
[0066] After the central control gateway device constructs the device control instruction corresponding to the input instruction based on the target device identification and the target operation strategy, the central control gateway device obtains the target device identification and the previously constructed reference device control instruction.
[0067] When the latest device control instruction is the same as the device control instruction constructed last time, the central control gateway device returns to execute the parsed input instruction, obtains the target device identification and the target operating status, and does not execute the operation of issuing the device control instruction.
[0068] When the latest device control instruction is different from the latest device control instruction, the central control gateway device sends the device control instruction to the target control device.
[0069] The historical device control instructions of the previous build represent device control instructions generated by the previous build of the latest device control instructions.
[0070] In this way, the device control instruction is issued only when the latest device control instruction is different from the latest device control instruction. The above deduplication mechanism avoids infinite loop synchronization between the temperature control panel and the environmental control equipment. In addition, the deduplication mechanism cooperates with the synchronization mechanism of the operating status to reduce the data processing pressure of the central control gateway device, avoid blocking and packet loss caused by too many Zigbee data control packets in the Zigbee network, and improve the reliability and stability of the temperature control panel's control of the environmental control equipment.
[0071] Optionally, the central control gateway device reads the configuration file to determine the target device identifier and the target operation strategy corresponding to the target operation state, including:
[0072] The central control gateway device reads the configuration file and obtains the configuration data update status of the configuration file.
[0073] When the configuration data update status indicates that the data update is not completed, the central control gateway device stops the expansion service.
[0074] When the configuration data update status indicates that the data update is complete, the central control gateway device restarts the extended service and re-reads the configuration file.
[0075] In this way, the central control device can read the latest mapping relationship from the configuration file, which is conducive to achieving the reliability and stability of the temperature control panel's control over the environmental control device.
[0076] Optionally, combined Figure 4 As shown, the central control gateway device obtains the configuration file in the following way:
[0077] S21, the central control gateway device receives configuration data sent by the server, where the configuration data includes device identifiers of multiple environmental control devices, where the environmental control devices include pre-set environmental control devices and / or newly added environmental control devices.
[0078] In this step, the configuration data can be obtained by the mobile terminal when obtaining the configuration information input by the user and sent to the server.
[0079] S22: The central control gateway device constructs a first mapping relationship between a preset device identifier and a first operating state and a first operating strategy according to the operating data of each preset environmental control device.
[0080] S23, the central control gateway device constructs a second mapping relationship between the newly added device identifier and the second operating state and the second operating strategy according to the operating data of each newly added environmental control device.
[0081] S24, the central control gateway device constructs a configuration file according to the first mapping relationship and / or the second mapping relationship.
[0082] In this way, the central control device can read the latest mapping relationship from the configuration file, which is conducive to achieving the reliability and stability of the temperature control panel's control over the environmental control device.
[0083] As an example, when an environmental control device is added or deleted in the home environment corresponding to the central control gateway device, the configuration file may correspondingly add and update the mapping relationship of the environmental control device or delete the mapping relationship of the deleted environmental control device. As an example, when an air conditioner is added to the home environment corresponding to the central control gateway device, the configuration file adds the mapping relationship between the device identification and the operating status and the operating strategy of the newly added air conditioner. As another example, when a fresh air device is deleted in the home environment corresponding to the central control gateway device, the configuration file deletes the mapping relationship between the device identification and the operating status and the operating strategy of the newly added fresh air device. In this way, the central control device can read the latest mapping relationship from the configuration file, which is conducive to realizing the reliability and stability of the temperature control panel's control over the environmental control device.
[0084] Optionally, the central control gateway device monitors the current operating status of the environmental control device, including:
[0085] The central control gateway device receives the heartbeat packet sent by the temperature control panel according to the heartbeat mechanism.
[0086] When the heartbeat packet indicates that the temperature control panel and the central control gateway device are communicating normally, the central control gateway device reads the current operating status of the environmental control device.
[0087] In this way, the central control gateway device receives the heartbeat packet sent by the temperature control panel according to the heartbeat mechanism, and reads the current operating status of the environmental control device when the heartbeat packet indicates that the temperature control panel and the central control gateway device can communicate normally. The above-mentioned status timing synchronization mechanism can avoid the situation where the operating status displayed by the temperature control panel is inconsistent with the actual operating status of the environmental control device due to network anomalies, device power failure and restart, etc.
[0088] It can be understood that the heartbeat mechanism means that when the temperature control panel and the central control gateway device communicate normally, the temperature control panel periodically sends heartbeat packets to the central control gateway device; and, when the temperature control panel and the central control gateway device communicate abnormally, the temperature control panel stops sending heartbeat packets to the central control gateway device periodically.
[0089] Combination Figure 5 As shown, the embodiment of the present disclosure also provides a method for controlling an environmental control device, including:
[0090] S31, the temperature control panel receives the current operating status of the environmental control device sent by the central control gateway device, and synchronously displays the current operating status of the environmental control device. The current operating status of the environmental control device is obtained by the central control gateway device monitoring the current operating status of the environmental control device when the extended service is started.
[0091] S32, after receiving the input command, the temperature control panel sends it to the central control gateway device so that the central control gateway device parses the input command, constructs the device control command corresponding to the input command and sends it to the target environmental control device. The input command is received by the temperature control panel after the central control gateway device starts the extended service.
[0092] Using the method for controlling environmental control equipment provided by the embodiment of the present disclosure, when the central control gateway device starts the extended service, the temperature control panel receives the current operating status of the environmental control equipment monitored by the central control gateway device. After the central control gateway device starts the extended service, the temperature control panel receives the input instruction and sends it to the central control gateway device so that it can parse the input instruction and construct its corresponding device control instruction and send it to the target environmental control device. The temperature control panel provided by the embodiment of the present disclosure can synchronously display the operating status of the environmental control equipment it monitors when the central control gateway device starts the extended service. At the same time, the temperature control panel can convert the input instruction of the temperature control panel into the device control instruction of the target environmental control equipment with the assistance of the central control gateway device, thereby realizing the control of the environmental control equipment in a software manner under the cooperation of the central control gateway device.
[0093] Combination Figure 6 As shown, the embodiment of the present disclosure also provides a method for controlling an environmental control device, including:
[0094] S41, the temperature control panel receives the current operating status of the environmental control device sent by the central control gateway device, and synchronously displays the current operating status of the environmental control device. The current operating status of the environmental control device is obtained by the central control gateway device monitoring the current operating status of the environmental control device when the extended service is started.
[0095] S42, after receiving the input command, the temperature control panel sends it to the central control gateway device so that the central control gateway device parses the input command, constructs the device control command corresponding to the input command and sends it to the target environmental control device. The input command is received by the temperature control panel after the central control gateway device starts the extended service.
[0096] S43, after the temperature control panel is connected to the central control gateway device for communication, a heartbeat packet is sent to the central control gateway device according to the heartbeat mechanism to indicate the communication connection status between the temperature control panel and the central control gateway device.
[0097] By adopting the method for controlling environmental control equipment provided by the embodiment of the present disclosure, the temperature control panel provided by the embodiment of the present disclosure can synchronously display the operating status of the environmental control equipment it monitors when the central control gateway device starts the extended service. At the same time, the temperature control panel can convert the input instructions of the temperature control panel into the equipment control instructions of the target environmental control equipment with the assistance of the central control gateway device, so as to realize the control of the environmental control equipment in a software manner under the cooperation of the central control gateway device. At the same time, by adopting the state timing synchronization mechanism, it can avoid the situation that the operating status displayed by the temperature control panel is inconsistent with the actual operating status of the environmental control equipment due to network abnormalities, power failure and restart of the equipment, etc.
[0098] Combination Figure 7 As shown, the embodiment of the present disclosure also provides a method for controlling an environmental control device, including:
[0099] S51, the server sends a subscription request to the mobile terminal.
[0100] S52, the server receives configuration data sent by the mobile terminal, the configuration data includes the panel identification of the temperature control panel and the central control gateway identification, and the device identification of the environmental control device. The configuration data is generated by the mobile terminal after receiving the subscription request and determining that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship.
[0101] In this step, the mobile terminal determines that the temperature control panel and the mobile terminal have an association relationship in the following manner: the mobile terminal determines that the temperature control panel and the mobile terminal establish a binding relationship. The mobile terminal determines that at least one environmental control device and the mobile terminal have an association relationship in the following manner: the mobile terminal determines that at least one environmental control device and the mobile terminal establish a binding relationship. As an example, the user binds the temperature control panel and the mobile terminal, and the mobile terminal determines that the temperature control panel and the mobile terminal have an association relationship. The user binds an environmental control device and the mobile terminal, and the mobile terminal determines that at least one environmental control device and the mobile terminal have an association relationship.
[0102] S53, the server sends configuration data to the central control gateway device corresponding to the central control gateway identifier, so that the central control gateway device starts the extended service.
[0103] Using the method for controlling environmental control devices provided by the embodiment of the present disclosure, after the server sends a subscription request to the mobile terminal, it receives the configuration data sent by the mobile terminal and sends it to the central control gateway device corresponding to the central control gateway identifier to notify the central control gateway device that the temperature control panel and at least one environmental control device are successfully associated with the mobile terminal, thereby enabling extended services.
[0104] Combination Figure 8 As shown, the embodiment of the present disclosure also provides a method for controlling an environmental control device, including:
[0105] S61, the server sends a subscription request to the mobile terminal.
[0106] S62, the server receives configuration data sent by the mobile terminal, the configuration data including the panel identification of the temperature control panel and the central control gateway identification, and the device identification of the environmental control device. The configuration data is generated by the mobile terminal after receiving the subscription request and determining that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship.
[0107] S63, the server sends configuration data to the central control gateway device corresponding to the central control gateway identifier, so that the central control gateway device starts the extended service.
[0108] S64, after the server sends the configuration data to the central control gateway device corresponding to the central control gateway identifier, it receives a subscription response. The subscription response is generated when the mobile terminal determines that the temperature control panel has no association with the mobile terminal or all environmental control devices have no association with the mobile terminal. It is used to instruct the server to delete the configuration data and synchronize the server to the central control gateway device to stop the expansion service.
[0109] Using the method for controlling environmental control devices provided by the embodiment of the present disclosure, after the server sends a subscription request to the mobile terminal, it receives the configuration data sent by the mobile terminal and sends it to the central control gateway device corresponding to the central control gateway identifier to notify the central control gateway device that the temperature control panel and at least one environmental control device are successfully associated with the mobile terminal, thereby starting the extended service. When the mobile terminal determines that the temperature control panel and the mobile terminal do not have an associated relationship or all environmental control devices and the mobile terminal do not have an associated relationship, it indicates that the temperature control panel and the mobile terminal are unbound or all environmental control devices and the mobile terminal are about to be re-bound, that is, the mobile terminal needs to stop the extended service. At this time, the server deletes the configuration data previously received and synchronizes it to the central control gateway device, so that the central control gateway device stops the extended service.
[0110] In practical applications, such as Fig. 9 As shown, in a home scenario, the user binds the temperature control panel to the mobile terminal, and binds the air conditioner to the mobile terminal.
[0111] Based on the above home scenario, the method for controlling the environmental control device specifically performs the following steps:
[0112] S100, the server mobile terminal sends a subscription request.
[0113] S101, the mobile terminal sends configuration data to the server, where the configuration data includes a panel identifier of the temperature control panel, an identifier of the central control gateway, and a device identifier of the air conditioner.
[0114] S102, the server sends configuration data to the central control gateway device corresponding to the central control gateway identifier.
[0115] S103, after receiving the configuration data, the central control gateway device starts the extended service.
[0116] S104, the central control gateway device monitors the current operating status of the air conditioner.
[0117] S105, the central control gateway device synchronously sends the current operating status to the temperature control panel.
[0118] S106, the temperature control panel synchronously displays the current operating status.
[0119] S107, after starting the extended service, the central control gateway device receives input instructions from the temperature control panel.
[0120] S108, the central control gateway device parses the input command and constructs the zigbee device control command corresponding to the input command.
[0121] S109, the central control gateway device sends the ZigBee device control command to the air conditioner.
[0122] S110, at this time, the user unbinds the temperature control panel and the mobile terminal and unbinds the air conditioner and the mobile terminal. The mobile terminal determines that the temperature control panel and the mobile terminal are not associated and all environmental control devices and the mobile terminal are not associated, and generates a subscription response.
[0123] S111, the mobile terminal sends a subscription response to the server.
[0124] S112: The server receives the subscription response and deletes the configuration data.
[0125] S113, the server sends a prompt message to the central control gateway device to instruct it to stop the extended service.
[0126] S114, after receiving the prompt message, the central control gateway device deletes the configuration data stored in the configuration file and stops the extended service.
[0127] It should be noted that after step S109, after the air conditioner updates its operating status under the control instruction of the ZigBee device, the central control gateway device will synchronously display the updated operating status based on steps S104 to S106.
[0128] Combination Fig.10As shown, an embodiment of the present disclosure provides an apparatus 70 for controlling an environmental control device, including a first processor (processor) 700 and a first memory (memory) 701. Optionally, the apparatus 70 may also include a communication interface (Communication Interface) 702 and a bus 703. The first processor 700, the first communication interface 702, and the first memory 701 may communicate with each other through the bus 703. The first communication interface 702 may be used for information transmission. The first processor 700 may call the logic instructions in the first memory 701 to execute the method for controlling an environmental control device of the above embodiment.
[0129] Combination Fig.11 As shown, the embodiment of the present disclosure also provides a device 80 for controlling an environmental control device, including a second processor (processor) 800 and a second memory (memory) 801. Optionally, the device 80 may also include a communication interface (Communication Interface) 802 and a bus 703. Among them, the second processor 800, the second communication interface 802, and the second memory 801 can communicate with each other through the bus 703. The second communication interface 802 can be used for information transmission. The second processor 800 can call the logic instructions in the second memory 801 to execute the method for controlling the environmental control device of the above embodiment.
[0130] Combination Fig.12 As shown, the embodiment of the present disclosure also provides a device 90 for controlling an environmental control device, including a third processor (processor) 900 and a third memory (memory) 901. Optionally, the device 90 may also include a communication interface (Communication Interface) 902 and a bus 703. Among them, the third processor 900, the third communication interface 902, and the third memory 901 can communicate with each other through the bus 703. The third communication interface 902 can be used for information transmission. The third processor 900 can call the logic instructions in the third memory 901 to execute the method for controlling the environmental control device of the above embodiment.
[0131] In addition, the logic instructions in the above-mentioned memory 701 (801, 901) can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Among them, the above-mentioned memory is the first memory 701 or the second memory 801, and the third memory 901.
[0132] The memory 701 (801, 901) is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 700 (800, 900) executes functional applications and data processing by running the program instructions / modules stored in the memory 701 (801, 901), that is, implements the method for controlling the environmental control device in the above-mentioned embodiments. The above-mentioned processor is the first processor 700 or the second processor 800, and the third processor 900.
[0133] The memory 701 (801, 901) may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the mobile terminal, etc. In addition, the memory 701 (801, 901) may include a high-speed random access memory and may also include a non-volatile memory.
[0134] The disclosed embodiment provides a central control gateway device 300, including: a central control gateway device body, and the above-mentioned device 70 for controlling environmental control equipment. The device 70 for controlling environmental control equipment is installed in the central control gateway device body. The installation relationship described here is not limited to placement inside the central control gateway device body, but also includes installation connections with other components of the central control gateway device 100, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 70 for controlling environmental control equipment can be adapted to a feasible central control gateway device body, thereby realizing other feasible embodiments.
[0135] The embodiment of the present disclosure also provides a server 200, including: a server body, and the above-mentioned device 80 for controlling the environmental control device. The device 80 for controlling the environmental control device is installed on the server body. The installation relationship described here is not limited to placement inside the server body, but also includes installation connections with other components of the server 100, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 80 for controlling the environmental control device can be adapted to a feasible server body, thereby realizing other feasible embodiments.
[0136] The disclosed embodiment also provides a temperature control panel 400, including: a temperature control panel body, and the above-mentioned device 90 for controlling environmental control equipment. The device 90 for controlling environmental control equipment is installed on the temperature control panel body. The installation relationship described here is not limited to placement inside the temperature control panel body, but also includes installation connections with other components of the temperature control panel 400, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 90 for controlling environmental control equipment can be adapted to a feasible temperature control panel body, thereby realizing other feasible embodiments.
[0137] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for controlling an environmental control device.
[0138] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0139] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0140] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0141] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0142] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an environmental control device, characterized in that: Applied to the central control gateway device, the central control gateway device communicates with the temperature control panel, and the method includes: When the extended service is started, the current operating status of the environmental control device is monitored, wherein the extended service is started when the central control gateway device determines that the temperature control panel and the mobile terminal have an associated relationship and at least one environmental control device and the mobile terminal have an associated relationship; Synchronously send the current operating status to the temperature control panel so that the temperature control panel can synchronously display the current operating status; When the extended service is started, the input instructions written to the temperature control panel are parsed and the device control instructions corresponding to the input instructions are constructed; Send equipment control instructions to environmental control equipment.
2. The method according to claim 1, characterized in that The input command includes the target device identification and target operating status of the environmental control device, parses the input command written to the temperature control panel, and constructs the device control command corresponding to the input command, including: Parse the input command to obtain the target device identification and target operating status; Reading a configuration file to determine a target operation strategy corresponding to a target device identifier and a target operation state, wherein the configuration file includes a mapping relationship between the device identifier and the operation state and the operation strategy; Based on the target device identification and target operation strategy, construct the device control instructions corresponding to the input instructions.
3. The method according to claim 2, characterized in that Obtain the configuration file as follows: Receiving configuration data sent by the server, the configuration data including device identifiers of multiple environmental control devices, the environmental control devices including pre-set environmental control devices and / or newly added environmental control devices; According to the operation data of each preset environmental control device, a first mapping relationship between the preset device identifier and the first operation state and the first operation strategy is constructed; According to the operation data of each newly added environmental control device, a second mapping relationship between the newly added device identifier and the second operation state and the second operation strategy is constructed; A configuration file is constructed according to the first mapping relationship and / or the second mapping relationship.
4. A method for controlling an environmental control device, characterized in that: Applied to the temperature control panel, the temperature control panel communicates with the central control gateway device, and the method includes: Receive the current running status of the environmental control device sent by the central control gateway device, and synchronously display the current running status of the environmental control device. The current running status of the environmental control device is obtained by the central control gateway device monitoring the current running status of the environmental control device when the extended service is started; After receiving the input command, it is sent to the central control gateway device so that the central control gateway device can parse the input command, construct the device control command corresponding to the input command and send it to the target environmental control device. The input command is received by the temperature control panel after the central control gateway device starts the extended service.
5. The method according to claim 4, characterized in that Also includes: After the temperature control panel is connected to the central control gateway device, a heartbeat packet is sent to the central control gateway device according to the heartbeat mechanism to indicate the communication connection status between the temperature control panel and the central control gateway device.
6. A method for controlling an environmental control device, characterized in that: Applied to the server, the server communicates with the central control gateway device, and the method includes: Sending a subscription request to a mobile terminal; Receiving configuration data sent by the mobile terminal, the configuration data including the panel identifier of the temperature control panel and the central control gateway identifier, and the device identifier of the environmental control device, the configuration data being generated by the mobile terminal after receiving the subscription request and determining that the temperature control panel and the mobile terminal have an association relationship and at least one environmental control device and the mobile terminal have an association relationship; Send the configuration data to the central control gateway device corresponding to the central control gateway identifier so that the central control gateway device starts the extended service.
7. The method according to claim 6, characterized in that Also includes: After sending the configuration data to the central control gateway device corresponding to the central control gateway identifier, a subscription response is received. The subscription response is generated when the mobile terminal determines that the temperature control panel has no association with the mobile terminal or all environmental control devices have no association with the mobile terminal. It is used to instruct the server to delete the configuration data and synchronize the server to the central control gateway device to stop the expansion service.
8. A device for controlling an environmental control device, comprising a first processor and a first memory storing program instructions, characterized in that: The first processor is configured to execute the method for controlling an environmental control device according to any one of claims 1 to 3 when running the program instructions.
9. A central control gateway device, characterized in that: include: Central control gateway device body; The device for controlling environmental control equipment as described in claim 8 is installed on the central control gateway device body.
10. A device for controlling an environmental control device, comprising a second processor and a second memory storing program instructions, characterized in that: The second processor is configured to execute the method for controlling an environmental control device according to claim 6 or 7 when running the program instructions.
11. A server, characterized in that: include: Server body; The device for controlling environmental control equipment as claimed in claim 10 is installed on the server body.