Equipment control method, cloud server, building automatic control system, equipment and medium

By analyzing and converting the multivariate heterogeneous data in the automatic control system, a unified control instruction is generated, which solves the problem of difficulty in unified control between devices on different control sides, and realizes linkage between devices and overall control unity of the system.

CN119316480AInactive Publication Date: 2025-01-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411840232.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-01-14
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, it is difficult to achieve unified control between different control-side devices, resulting in poor system complexity and linkage.

Method used

By obtaining multivariate heterogeneous data of the automatic control system, analyzing and filling preset label templates, generating unified target operation data, generating control instructions, and sending them to the terminal equipment through appropriate communication protocols and signal formats, achieving unity between different devices control.

Benefits of technology

The control obstacles between different terminal devices are eliminated, and the unity of control is achieved, allowing different devices to operate interoperably, improving the overall control capability and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316480A_ABST
    Figure CN119316480A_ABST
Patent Text Reader

Abstract

The invention provides an equipment control method, a cloud server, a building automatic control system, equipment and a medium. The method comprises the following steps: acquiring multivariate heterogeneous data of the automatic control system; analyzing the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; obtaining a preset label template, and filling the equipment identifier and the equipment operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; generating a control instruction according to the target operation data; and sending the control instruction to end equipment corresponding to the target operation data. According to the method, the reported operation data of the end equipment in the automatic control system is reported and converted into the preset data format, so that the operation data of different end equipment are converted into the unified format, control obstacles among the different end equipment are eliminated, control uniformity is realized, and the different end equipment can be mutually linked to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of equipment control, and in particular to an equipment control method, a cloud server, a building automatic control system, equipment and a medium. Background Art

[0002] With the popularization of intelligence, the number of devices in building automatic control systems is increasing, and the protocols and control logic set in the system are becoming more and more complicated. Different devices have different protocols and control logic. Therefore, it is difficult to achieve unified control between devices on different control sides. Summary of the invention

[0003] The main purpose of the present invention is to propose a device control method, a cloud server, a building automation system, a device and a medium, aiming to solve the problem in the prior art that it is difficult to achieve unified control between different control-side devices.

[0004] To achieve the above object, the present invention provides a device control method, the method comprising the steps of: Acquire multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; Parsing the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; Obtain a preset label template, and fill the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; generating a control instruction according to the target operation data; The control instruction is sent to the corresponding terminal device.

[0005] Optionally, filling the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data includes: Obtaining transmission mode information of the reported operation data; The device identification, the device operation information and the transmission mode information are filled into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data.

[0006] Optionally, generating a control instruction according to the target operation data includes: Obtaining the device identification and device operation information in the target operation data; Matching the target control logic corresponding to the device identifier; The control instruction corresponding to the device operation information is generated based on the target control logic.

[0007] Optionally, sending the control instruction to the corresponding terminal device includes: Obtaining transmission mode information in the target operation data; Determine the communication protocol and signal format corresponding to the transmission mode information; Converting the control instruction into the signal format to obtain a target control instruction; The target control instruction is sent to the terminal device through the communication protocol.

[0008] Optionally, sending the control instruction to the corresponding terminal device includes: Determine the edge gateway to which the terminal device corresponding to each of the control instructions is connected; For different edge gateways, the control instructions are sent to the edge gateways in different threads, so that the edge gateways send the control instructions to the corresponding terminal devices.

[0009] To achieve the above object, the present invention further provides a cloud server, the cloud server comprising: A first acquisition module is used to acquire multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; A first conversion module, configured to parse the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; A second acquisition module is used to acquire a preset label template, and fill the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; A first generating module, used for generating a control instruction according to the target operation data; The first sending module is used to send the control instruction to the corresponding terminal device.

[0010] To achieve the above object, the present invention further provides a building automation system, which includes a terminal device and the cloud server as described above; the cloud server is communicatively connected to the terminal device.

[0011] To achieve the above objectives, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the device control method as described above when executed by the processor.

[0012] To achieve the above object, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the device control method as described above are implemented.

[0013] The present invention proposes a device control method, a cloud server, a building automatic control system, a device and a medium, which obtains multi-dimensional heterogeneous data of the automatic control system, wherein the multi-dimensional heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; Parsing the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; Obtain a preset label template, and fill the device identification and the device operation information into the corresponding positions in the preset label template to obtain the target operation data corresponding to the reported operation data; generate a control instruction according to the target operation data; and send the control instruction to the corresponding terminal device. By reporting the reported operation data of the terminal device in the automatic control system and converting it into a preset data format, the operation data of different terminal devices are converted into a unified format, eliminating the control barriers between different terminal devices, and then determining the control instructions for the terminal device based on the converted target operation data, so that the overall situation of the terminal device in the automatic control system can be integrated to realize the control of the terminal device, and the unity of control is realized, and different terminal devices can operate in conjunction with each other. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1 It is a flow chart of the first embodiment of the device control method of the present invention; Figure 2 It is a structural schematic diagram of a building automatic control system in the equipment control method of the present invention; Figure 3 It is an overall flow chart of the device control method of the present invention; Figure 4 A schematic diagram of data reporting of the device control method of the present invention; Figure 5 It is a schematic diagram of the module structure of the electronic device of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0019] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0020] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present application.

[0021] The present invention provides a device control method, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a device control method of the present invention, wherein the method comprises the following steps: Step S10, acquiring multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; The automatic control system is a collection of control systems set up in a certain scene; for example, the building automatic control system is a collection of related control systems set up in a building. The specific control systems include but are not limited to air-conditioning systems, water supply and drainage systems, air supply and exhaust systems, power transformation and distribution systems, lighting systems, elevator subsystems, and door systems.

[0022] Terminal devices are devices that realize independent functions within the automatic control system. For example, terminal devices installed in the air-conditioning system include but are not limited to air-conditioning units, meters, sensors, valves, and water pumps; terminal devices installed in the lighting system include but are not limited to control execution modules, human body sensing sensors, and control panels; terminal devices installed in the door system include but are not limited to door controllers; the specific types and quantities of terminal devices included can be set based on actual needs.

[0023] The reported operating data is the operating data reported by each terminal device; it is understandable that the form and content of the reported operating data corresponding to different terminal devices are different; for example, the reported operating data of the air-conditioning unit may include the temperature of the temperature-controlled environment and the power of the air-conditioning unit; the reported operating data of the sensor may include the detected value; the reported operating data of the valve may include the valve opening.

[0024] The data generated by different terminal devices differ in content, structure, type, version and other data structures. Therefore, the set of reported operating data from multiple terminal devices forms multi-dimensional heterogeneous data.

[0025] Step S20, parsing the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; Step S30, obtaining a preset label template, and filling the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; The reported operation data from different terminal devices contained in the multi-dimensional heterogeneous data have different data structures. When processing specific reported operation data, it is often necessary to implement it in a corresponding processing method; however, there are many reported operation data contained in the multi-dimensional heterogeneous data. If corresponding processing methods are to be set separately, the implementation is more complicated and it is not convenient for the joint control of different terminal devices; therefore, in this embodiment, the reported operation data is uniformly converted into a preset data format to achieve the unification of the format of data from different sources, so that the reported operation data in the multi-dimensional heterogeneous data can be uniformly processed, thereby improving the linkage between different terminal devices.

[0026] The device identifier is used to indicate the source of the reported operation data; it is understandable that the subsequent extraction of target operation data and generation of control instructions are all for specific terminal devices. Therefore, it is necessary to clarify the source of the target operation data so that the target operation data can be stored in the location corresponding to the corresponding terminal device, and facilitate the subsequent application of the target operation data; therefore, it is necessary to extract the device identifier.

[0027] Equipment operation information refers to information about actual equipment conditions contained in reported operation data; for example, equipment operation information of an air-conditioning unit may include the temperature of the temperature-controlled environment and the power of the air-conditioning unit; equipment operation information of a sensor may include the detected value; equipment operation information of a valve may include the valve opening; equipment operation information is information that actually participates in logical control decisions and directly affects the generation of control instructions. Therefore, it is necessary to extract the equipment operation information.

[0028] The preset label template is a template of a pre-set data label; the preset label template is set based on different information types. For example, the preset label template can correspond to the position of the device identification and the device operation information. For example, the structure of the preset label template is AB, where A is the device identification and B is the device operation information; at this time, if the device identification is the identification K corresponding to the air conditioner, and the device operation information is ON indicating that the air conditioner is turned on, then the target operation data K-ON can be obtained after filling the device identification and the device operation information into the preset label template according to the corresponding positions.

[0029] The structure of the above preset label template is only for illustration. In actual application, the specific structure of the preset label template can be set based on actual needs.

[0030] The target operation data is the reported operation data after conversion into a preset data format.

[0031] Step S40, generating a control instruction according to the target operation data; After obtaining the target operation data, the target operation data can be stored based on the corresponding terminal device, and the stored target operation data can be supplemented or updated based on the target operation data subsequently reported; when logical control is required based on certain target operation data, the stored target operation data is obtained, and logical control is implemented based on the target operation data.

[0032] It should be noted that, based on the setting of the control logic, the control instruction is targeted at a specific terminal device, but the control instruction targeted at a specific terminal device is not necessarily completely generated by the reported operation data reported by the terminal device.

[0033] The control logic can be set for a single terminal device during design; for example, the control logic can be set to generate a control instruction based on the target operation data corresponding to the reported operation data reported by the terminal device A, and send the control instruction to the terminal device A; The control logic can be set for multiple different terminal devices during design. For example, the control logic can be set to generate multiple control instructions for terminal devices A, B, and C respectively through target operation data corresponding to the reported operation data reported by terminal devices A, B, and C, and send the control instructions to terminal devices A, B, and C respectively; When designing the control logic, the control of a specific terminal device can be set based on the reported operation data of multiple different terminal devices. For example, the control logic can be set to generate a control instruction based on the target operation data corresponding to the reported operation data reported by terminal devices A, B, and C, and send the control instruction to terminal device A; When designing the control logic, the control of other terminal devices can be set based on the reported operation data of the terminal device. For example, the control logic can be set to generate a control instruction through the target operation data corresponding to the reported operation data of the terminal device A, and send the control instruction to the terminal device B; That is, when a control instruction is generated according to the target operation data, the source device of the target operation data and the sending device of the control instruction are not necessarily completely identical; the control logic mode of independent control or linkage control can be set based on actual control needs.

[0034] It is understandable that multiple different control logics can be set at the same time, and each control logic obtains the required target operation data for specific settings to realize the generation of control instructions. For example, the computer room group control logic composed of the host, water pump, sensor, and flow meter of the air-conditioning system; the lighting scene control logic composed of the lighting switch control module, adjustment module, human body sensor, light intensity sensor, switch panel, etc.; the cross-system control logic of linking the lighting, curtains, fan disk, fresh air and other equipment to open and close after access control recognition.

[0035] Step S50: sending the control instruction to the corresponding terminal device.

[0036] After the control instruction is determined, the control instruction can be sent to the corresponding terminal device; it should be noted that since different terminal devices have different requirements for the control instruction structure, the instruction format corresponding to the control instruction can be set in advance for different terminal devices. When sending the control instruction, the control instruction is converted into the instruction format corresponding to the terminal device before being sent, so that the terminal device can recognize the control instruction.

[0037] For the sake of convenience, the following describes the application scenario of the device control method of the present application; see Figure 2 The cloud server CL includes a data storage unit CC, a control logic programming unit LJ and an interaction unit JH; the data storage unit CC and the interaction unit JH are respectively connected to the control logic programming unit LJ; The data storage unit CC is used to receive the reported operation data reported by the terminal device MS, and convert the reported operation data into target operation data for storage, and is also used to store relevant data in the cloud server CL, such as a preset data format; The interactive unit JH is used to program the control logic programming unit LJ to set or modify the control logic, and is also used to set the parameters of the terminal device MS, monitor the operating status of the automatic control system and the cloud server CL, etc.; the interactive unit JH can be specifically set as a display terminal.

[0038] The control logic programming unit LJ is used to retrieve relevant data stored in the data storage unit CC based on the set control logic to generate control instructions, and send the control instructions to the terminal device MS.

[0039] The automatic control system includes multiple terminal devices MS. At the same time, different terminal devices MS establish communication connections with the data storage unit CC and the control logic programming unit LJ in the cloud server CL through the edge gateway respectively; the edge gateway is used to realize data transmission between the terminal device MS and the data storage unit CC and the control logic programming unit LJ; one edge gateway can correspond to one or more terminal devices MS.

[0040] It can be understood that since the control logic is integrated on the cloud server CL and is processed based on the target operating data in the same format, the isolation of the processing logic between different terminal devices MS is eliminated, and the linkage control between different systems and terminal devices MS can be achieved; at the same time, in the expansion of the terminal device MS and the update of the automatic control system, the control logic set on the cloud server CL can be directly adjusted. Since there is no need to set the specific processing logic for the specific terminal device MS, the scalability of the system can be improved and the upgrade and adjustment of the system can be facilitated; at the same time, the cloud server CL can be set with powerful processing performance, thereby avoiding the performance deficiencies of the edge controller BK.

[0041] This embodiment reports the reported operating data of the terminal devices in the automatic control system and converts it into a preset data format, so that the operating data of different terminal devices are converted into a unified format, eliminating the control barriers between different terminal devices, and then determining the control instructions for the terminal devices based on the converted target operating data, so that the overall situation of the terminal devices in the automatic control system can be comprehensively considered to realize the control of the terminal devices, thereby achieving unified control and enabling different terminal devices to operate in conjunction with each other.

[0042] Further, see also Figure 3 In the second embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, the step S30 includes the steps of: Step S31, obtaining the transmission mode information of the reported operation data; Step S32, filling the device identification, the device operation information and the transmission mode information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data.

[0043] The transmission mode information is information about the channel through which the reported operating data is transmitted to the cloud server; it is understandable that different terminal devices and different edge gateways have different support and requirements for data transmission, and therefore, the transmission mode for reporting operating data is also different.

[0044] See also Figure 4 The transmission channels for reporting operation data can be divided into wired communication and wireless communication; wired communication can be but not limited to cables and optical fibers, and then uploaded to the cloud server through buses and other methods; wireless communication can be but not limited to WiFi or mobile networks such as 4G and 5G, and then uploaded to the cloud server through Ethernet, electrical signals, wireless communication and other methods.

[0045] In addition to the transmission channel, the transmission method also differs in protocol type and signal format; the protocol type can be but not limited to Modbus, BeCnet, OPC; the signal format can be digital signal or analog signal.

[0046] For the same terminal device or edge gateway, the transmission mode for reporting and downloading is often the same. Therefore, when the reported operation data is obtained, its transmission mode information is stored so that when the control instructions are sent subsequently, the transmission mode of the terminal device or edge gateway can be determined, so that the control instructions can be sent down through the corresponding transmission mode.

[0047] It is understandable that the data types and contents generated by the terminal devices may be different. Therefore, when setting the preset label template, the corresponding preset label template can be set for different types of terminal devices. It should be noted that the different types mentioned here do not mean that a corresponding preset label module is set for each terminal device, but are set based on the type of data generated by the terminal device, and the types corresponding to the data generated by different terminal devices may be the same.

[0048] If the terminal device is an air conditioner host, for the power-on status of the air conditioner host, the corresponding communication protocol is MODBUS RTU, and this parameter is a digital signal format. Therefore, the corresponding preset label template can be set to K (ZXMT) on, where K represents the device identifier, the brackets represent the data frame, and ON represents the power-on status; the Z in the data frame represents the frame header control information, X represents the frame header address information, M represents the data information, and T represents the frame tail check part; generally, the data frame includes 1. Frame header: contains control information, such as synchronization information, address information (source address and destination address), length information and possible error control information; 2. Data part: contains the actual data to be transmitted, which may come from the network layer or other upper layer protocols; 3. Frame tail: contains check information, which is used by the receiving end to verify the integrity and correctness of the data; in terms of data format, the data frame can be expressed as: (0x03) + starting address H + starting address L + number of registers H + number of registers L + CRC check.

[0049] For example, if the terminal device is a damper, the damper opening is in analog signal format. Therefore, the corresponding preset label template can be set to F (MNAI) kd, where F represents the device identifier, the brackets are analog indication data, and kd represents the opening. In the analog indication data, MN represents that the damper data is in analog quantity, and AI represents the analog input point. For another example, if the terminal device is a multi-split air conditioner, for mode adjustment, it communicates based on the CAN communication protocol, so the corresponding preset label template can be set to M (SACDCAE) m, where M represents the device identifier, the brackets are the standard data frame of the CAN communication protocol, and m is the mode; in the standard data frame of the CAN communication protocol, S represents the frame start, A represents the arbitration segment (data priority), C represents the control segment (control information, including data length), D represents the data field (actually transmitted data content), C represents data verification (verify whether the data transmission is wrong), A represents the response segment (receive node feedback information, determine whether the data is received successfully), and E represents the end frame (the end of the data frame). In this embodiment, the preset label template can be set according to the data type, communication method, etc. generated by the terminal device, so as to meet the conversion needs of different data; in actual applications, the terminal device can be associated with the corresponding preset label template in advance, and then after receiving the reported operation data, the corresponding preset label template is directly matched for conversion.

[0050] In this embodiment, by storing the transmission mode information, the data transmission mode of the specific terminal device can be known, thereby facilitating data interaction with the terminal device.

[0051] Further, in a third embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, step S40 includes the steps of: Step S41, obtaining the device identification and device operation information in the target operation data; Step S42, matching the target control logic corresponding to the device identifier; Step S43: generating the control instruction corresponding to the device operation information based on the target control logic.

[0052] It is understandable that different control logics need to obtain different target operating data. Therefore, when designing the control logic, the control logic is associated with a specific terminal device; it is understandable that the associated terminal device includes the source device of the target operating data of the application and the sending device of the control instruction.

[0053] The device identification indicates a specific terminal device. Therefore, the target control logic involved can be clearly identified through the device identification, and then the control instructions can be generated according to the device operation information through the target control logic.

[0054] In this embodiment, the target control logic is actively called based on the target operation data; in other embodiments, the target operation data can also be actively called through the target control logic. For example, if the control logic is set to periodic execution, when the execution is triggered, the control logic calls the required target operation data from the stored data based on the device identification, and generates control instructions based on the device operation information therein.

[0055] In actual applications, active or passive calling can be set according to the needs of control logic; for example, the periodically executed control logic uses active calling to periodically retrieve the required target operating data; while for control logic with higher real-time requirements, passive calling is used. When the corresponding target operating data is updated, the execution of the target control logic is triggered based on the device identification of the target operating data.

[0056] This embodiment enables automatic calling of target control logic through the association relationship between device identification and control logic.

[0057] Further, in a fourth embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, step S50 includes the steps of: Step S51, obtaining transmission mode information in the target operation data; Step S52, determining the communication protocol and signal format corresponding to the transmission mode information; Step S53, converting the control instruction into the signal format to obtain a target control instruction; Step S54: sending the target control instruction to the terminal device via the communication protocol.

[0058] For the same terminal device or edge gateway, the transmission mode for reporting and downloading is often the same. Therefore, when the reported operation data is obtained, its transmission mode information is stored so that when the control instructions are sent subsequently, the transmission mode of the terminal device or edge gateway can be determined, so that the control instructions can be sent down through the corresponding transmission mode.

[0059] In this embodiment, by storing the transmission mode information, the data transmission mode of the specific terminal device can be known, thereby facilitating data interaction with the terminal device.

[0060] Further, in a fifth embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, step S50 includes the steps of: Step S55, determining the edge gateway to which the terminal device corresponding to each of the control instructions is connected; Step S56: For different edge gateways, the control instruction is sent to the edge gateway using different threads, so that the edge gateway sends the control instruction to the corresponding terminal device.

[0061] Multiple control logics can be executed simultaneously in the cloud server; therefore, there may be multiple control instructions that need to be issued at the same time or in the same cycle; when there are many control instructions that need to be issued, it is easy to cause message blocking, resulting in data errors or inadequate terminal execution; in this embodiment, multiple threads are set for the issuance of control instructions, and different threads correspond to different edge gateways, so that control instructions for different edge gateways can be issued in parallel through different threads, which greatly improves the efficiency of issuing control instructions and avoids the problem of message blocking.

[0062] In actual applications, the correspondence between threads and edge gateways can be set based on actual transmission conditions. For example, for edge gateways with greater transmission pressure, a separate thread can be set to transmit data of the edge gateway; and for edge gateways with less transmission pressure, multiple edge gateways can be set to avoid wasting thread resources.

[0063] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0065] The present application also provides a cloud server for implementing the above-mentioned device control method, the cloud server comprising: A first acquisition module is used to acquire multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; A first conversion module, configured to parse the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; A second acquisition module is used to acquire a preset label template, and fill the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; A first generating module, used for generating a control instruction according to the target operation data; The first sending module is used to send the control instruction to the corresponding terminal device.

[0066] This building automatic control system reports the reported operating data of the terminal devices in the automatic control system and converts it into a preset data format, so that the operating data of different terminal devices can be converted into a unified format, eliminating the control barriers between different terminal devices, and then determining the control instructions for the terminal devices based on the converted target operating data, so that the overall situation of the terminal devices in the automatic control system can be integrated to realize the control of the terminal devices, thereby achieving unified control and enabling different terminal devices to operate in conjunction with each other.

[0067] It should be noted that the first acquisition module in this embodiment can be used to execute step S10 in the embodiment of the present application, the first conversion module in this embodiment can be used to execute step S20 in the embodiment of the present application, the second acquisition module in this embodiment can be used to execute step S30 in the embodiment of the present application, the first generation module in this embodiment can be used to execute step S40 in the embodiment of the present application, and the first sending module in this embodiment can be used to execute step S50 in the embodiment of the present application.

[0068] Furthermore, the second acquisition module includes: A first acquisition unit, used to acquire the transmission mode information of the reported operation data; The first filling unit is used to fill the device identification, the device operation information and the transmission mode information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data.

[0069] Furthermore, the first generating module includes: A second acquisition unit, used to acquire the device identification and device operation information in the target operation data; A first matching unit, used to match a target control logic corresponding to the device identifier; The first generating unit is used to generate the control instruction corresponding to the device operation information based on the target control logic.

[0070] Furthermore, the first sending module includes: A third acquisition unit, used to acquire transmission mode information in the target operation data; A first determining unit, used to determine a communication protocol and a signal format corresponding to the transmission mode information; A first conversion unit, used for converting the control instruction into the signal format to obtain a target control instruction; The first sending sends the target control instruction to the terminal device through the communication protocol.

[0071] Furthermore, the first sending module includes: A second determining unit, used to determine an edge gateway to which the terminal device corresponding to each of the control instructions is connected; The second sending unit is used to send the control instruction to the edge gateway in different threads for different edge gateways, so that the edge gateway sends the control instruction to the corresponding terminal device.

[0072] The present application also provides a building control system for implementing the above-mentioned device control method, wherein the building control system includes a terminal device and the cloud server as described above; the cloud server is communicatively connected to the terminal device.

[0073] Reference Figure 5In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to the memory 20 and the communication module 10 respectively, and a computer program is stored in the memory 20. The computer program is executed by the processor 30 at the same time, and the steps of the above method embodiment are implemented when the computer program is executed.

[0074] The communication module 10 can be connected to an external communication device through a network. The communication module 10 can receive requests from an external communication device, and can also send requests, instructions and information to the external communication device, which can be other electronic devices, servers or Internet of Things devices, such as televisions, etc.

[0075] The memory 20 can be used to store software programs and various data. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as obtaining multi-heterogeneous data of an automatic control system), etc.; the data storage area can include a database, and the data storage area can store data or information created according to the use of the system, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0076] The processor 30 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 20, and calling data stored in the memory 20, so as to monitor the electronic device as a whole. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 30.

[0077] although Figure 5 Although not shown, the electronic device may further include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components. Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0078] The present invention also provides a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be Figure 5 The memory 20 in the electronic device may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The computer-readable storage medium includes a number of instructions for enabling a terminal device with a processor (which may be a television, a car, a mobile phone, a computer, a server, a terminal, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0079] In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0080] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0081] Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art can change, modify and replace the above embodiments within the scope of the present invention, and these changes, modifications and replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A device control method, characterized in that: The device control method comprises: Acquire multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; Parsing the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; Obtain a preset label template, and fill the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; generating a control instruction according to the target operation data; The control instruction is sent to the corresponding terminal device.

2. The device control method according to claim 1, characterized in that: The step of filling the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data includes: Obtaining transmission mode information of the reported operation data; The device identification, the device operation information and the transmission mode information are filled into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data.

3. The device control method according to claim 1, characterized in that: Generating a control instruction according to the target operation data comprises: Obtaining the device identification and device operation information in the target operation data; Matching the target control logic corresponding to the device identifier; The control instruction corresponding to the device operation information is generated based on the target control logic.

4. The device control method according to claim 1, characterized in that: The sending the control instruction to the corresponding terminal device comprises: Obtaining transmission mode information in the target operation data; Determine the communication protocol and signal format corresponding to the transmission mode information; Converting the control instruction into the signal format to obtain a target control instruction; The target control instruction is sent to the terminal device through the communication protocol.

5. The device control method according to claim 1, characterized in that: The sending the control instruction to the corresponding terminal device comprises: Determine the edge gateway to which the terminal device corresponding to each of the control instructions is connected; For different edge gateways, the control instructions are sent to the edge gateways in different threads, so that the edge gateways send the control instructions to the corresponding terminal devices.

6. A cloud server, characterized in that: The cloud server comprises: A first acquisition module is used to acquire multivariate heterogeneous data of the automatic control system, wherein the multivariate heterogeneous data includes reported operation data of multiple terminal devices in the automatic control system; A first conversion module, configured to parse the reported operation data to obtain a device identifier and device operation information corresponding to the reported operation data; A second acquisition module is used to acquire a preset label template, and fill the device identification and the device operation information into corresponding positions in the preset label template to obtain target operation data corresponding to the reported operation data; A first generating module, used for generating a control instruction according to the target operation data; The first sending module is used to send the control instruction to the corresponding terminal device.

7. A building automation system, characterized in that: The building automation system includes a terminal device and a cloud server as described in claim 6; the cloud server is communicatively connected to the terminal device.

8. An electronic device, characterized in that: The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the device control method according to any one of claims 1 to 5 when executed by the processor.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the device control method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Data sharing method and device based on Internet of Things data model

    CN115145989A

  • Intelligent gateway for coal conveying programmed control system and data processing method thereof

    CN118233535A

  • Equipment access method and device, controller, building automatic control system and medium

    CN119105343A