WO2024051708A1 - 控制方法、系统、装置、电子设备、存储介质及程序产品 - Google Patents

控制方法、系统、装置、电子设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2024051708A1
WO2024051708A1 PCT/CN2023/117103 CN2023117103W WO2024051708A1 WO 2024051708 A1 WO2024051708 A1 WO 2024051708A1 CN 2023117103 W CN2023117103 W CN 2023117103W WO 2024051708 A1 WO2024051708 A1 WO 2024051708A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
control point
identification
control
sub
Prior art date
Application number
PCT/CN2023/117103
Other languages
English (en)
French (fr)
Inventor
毛治力
Original Assignee
上海美控智慧建筑有限公司
广东美控智慧建筑有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海美控智慧建筑有限公司, 广东美控智慧建筑有限公司 filed Critical 上海美控智慧建筑有限公司
Publication of WO2024051708A1 publication Critical patent/WO2024051708A1/zh

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Definitions

  • the present disclosure relates to the field of control, and specifically relates to a control method, system, device, electronic equipment, storage medium and program product.
  • a control system can include multiple sub-control systems. Each sub-control system may include a controller, input and output devices, and actuators. For any sub-control system, the controller in the sub-control system can control the actuator to perform target operations through input and output devices.
  • the controller can only control actuators in the same sub-control system, which results in poor operational flexibility of the existing control system.
  • the main purpose of the present disclosure is to provide a control method, system, device, electronic device, storage medium and program product, aiming to solve the technical problem of poor operational flexibility of the existing control system.
  • the present disclosure provides a control method.
  • the control system includes: at least two sub-control systems; the sub-control system includes: a controller, and at least one actuator; the actuator includes at least One control point; in any of the sub-control systems, the controller is used to control at least one control point; the method is applied to a first controller, and the first controller is any of the sub-control systems
  • the method includes:
  • the first instruction includes an identification of the target control point
  • the identification of the target control point and the mapping relationship between the identification of the control point and the identification of the controller determine the identification of the second controller of the sub-control system to which the target control point belongs;
  • the first instruction is sent to the second controller according to the identification of the second controller, so that the second controller controls the target control point according to the first instruction.
  • the beneficial effect of the present disclosure is that after the first controller determines the target control point and the first instruction for controlling the target control point, it determines the identity of the second controller based on the target control point. Then, the first controller can use the identification of the second controller to send a first instruction to the second controller, so that the second controller can control the sub-control system to which the second controller belongs based on the first instruction. Control point.
  • the first controller can control the control points of actuators in other sub-control systems across controllers, thus improving the operation of the control system. flexibility.
  • the method before determining the identity of the second controller of the sub-control system to which the target control point belongs based on the identity of the target control point and the mapping relationship between the identity of the control point and the identity of the controller. , the method also includes:
  • a mapping relationship between the identification of the control point and the identification of the controller is generated.
  • the method also includes:
  • the second configuration information of the second controller input by the user is received through the programming page or configuration editing page of the first controller, where the second configuration information includes: the identification of the second controller, and , an identification of at least one control point other than the control point included in the first configuration information;
  • a mapping relationship between the identifier of the control point and the identifier of the controller is generated.
  • the first configuration information also includes: the identification of the transmission module in the sub-control system to which the controller belongs.
  • the identification of the transmission module includes at least one of the following information: the transmission module accesses the transmission module to which the transmission module belongs.
  • the path identification of the controller in the sub-control system, the equipment serial number of the transmission module, and the network address of the controller; for any transmission module, the identification of each control point connected to the transmission module is The protocol address is related to the transport protocol used by the transport module and does not have duplicates.
  • the method further includes:
  • Receive feedback information from the second controller where the feedback information is that the second controller determines that the target control point does not exist in the second controller according to the identification of the target control point.
  • the feedback information is used to indicate that the target control point does not exist in the sub-control system to which the second controller belongs;
  • the present disclosure provides a control method.
  • the control system includes: at least two sub-control systems; the sub-control system includes: a controller, and at least one actuator; the actuator includes at least one control point; In any of the sub-control systems, the controller is used to control at least one control point; the method is applied to a second controller, and the second controller is a controller in any of the sub-control systems,
  • the methods include:
  • the first instruction is for the first controller to determine the target control point according to the mapping relationship between the identification of the control point and the identification of the controller. After the identification of the second controller of the sub-control system to which the target control point belongs, it is sent to the second controller according to the identification of the second controller; the first instruction includes the target control point. logo;
  • the target control point is controlled.
  • the method further includes:
  • the first configuration information includes: an identifier of the second controller, and an identifier of at least one control point.
  • the first configuration information also includes: the identifier of the transmission module in the sub-control system to which the controller belongs.
  • the method further includes:
  • For any of the transmission modules obtain the identification of each control point connected to the transmission module according to the transmission protocol used by the transmission module;
  • the first configuration information of the second controller is obtained according to the identification of each transmission module in the sub-control system to which the second controller belongs and the identification of each control point.
  • the method further includes:
  • feedback information is sent to the first controller; the feedback information is used to Indicates that the target control point does not exist in the sub-control system to which the second controller belongs.
  • the present disclosure provides a control system, which includes: at least two sub-control systems; the sub-control system includes: a controller, and at least one actuator; the actuator includes at least one control point position; in any of the sub-control systems, the controller is used to control at least one of the control points; the controller is used to perform the method as described in any one of the first aspect or the second aspect.
  • the present disclosure provides an HVAC equipment, including the control system as described in the third aspect.
  • the present disclosure provides a control device.
  • the control system includes: at least two sub-control systems; the sub-control system includes: a controller, and at least one actuator; the actuator includes at least one control point; In any of the sub-control systems, the controller is used to control at least one control point; the device is applied to a first controller, and the first controller is a controller in any of the sub-control systems,
  • the device includes:
  • a first processing module configured to determine a target control point and a first instruction to be executed at the target control point; the first instruction includes an identification of the target control point;
  • the second processing module is configured to determine the second controller of the sub-control system to which the target control point belongs based on the identification of the target control point and the mapping relationship between the identification of the control point and the identification of the controller. logo;
  • a sending module configured to send the first instruction to the second controller according to the identification of the second controller, so that the second controller controls the target control point according to the first instruction. Bit.
  • the present disclosure provides a control device.
  • the control system includes: at least two sub-control systems; the sub-control system includes: a controller, and at least one actuator; the actuator includes at least one control point; In any of the sub-control systems, the controller is used to control at least one control point; the device is applied to a second controller, and the second controller is a controller in any of the sub-control systems,
  • the device includes:
  • a receiving module configured to receive a first instruction from the first controller; the first instruction is the identification of the first controller according to the target control point, and the relationship between the identification of the control point and the identification of the controller. Mapping relationship, after determining the identification of the second controller of the sub-control system to which the target control point belongs, and sending it to the second controller according to the identification of the second controller; the first instruction includes the The identification of the target control point;
  • a control module configured to control the target control point according to the first instruction.
  • the present disclosure provides an electronic device, including: at least one processor and a memory;
  • the memory stores computer execution instructions
  • the at least one processor executes the computer execution instructions stored in the memory, so that the electronic device executes the method described in any one of the first aspect or the second aspect.
  • the present disclosure provides a computer-readable storage medium.
  • Computer-executable instructions are stored on the computer-readable storage medium.
  • any of the first aspect or the second aspect is implemented. method described in one item.
  • the present disclosure provides a computer program product, including a computer program that implements the method described in any one of the first aspect or the second aspect when the computer program is executed by an electronic device.
  • Figure 1 is a schematic diagram of the architecture of a control system in related technologies
  • Figure 2 is an architectural schematic diagram of a control system provided by the present disclosure
  • FIG. 3 is a schematic structural diagram of another control system provided by the present disclosure.
  • FIG. 4 is a schematic structural diagram of another control system provided by the present disclosure.
  • Figure 5 is a schematic flow chart of a control method provided by the present disclosure.
  • Figure 6 is a schematic flow chart of another control method provided by the present disclosure.
  • Figure 7 is a schematic flow chart of another control method provided by the present disclosure.
  • FIG. 8 is a schematic structural diagram of a control device 20 provided by the present disclosure.
  • FIG. 9 is a schematic structural diagram of a control device 30 provided by the present disclosure.
  • Figure 10 is a schematic structural diagram of an electronic device provided by the present disclosure.
  • FIG 1 is a schematic diagram of the architecture of a control system in related technologies.
  • a control system may include multiple sub-control systems (sub-control system 1, sub-control system 2 and sub-control system 3 shown in Figure 1).
  • Each sub-control system may include a controller, a transmission module (also called an input-output module), and an actuator.
  • the controller in the sub-control system can collect the data of each actuator in the sub-control system through the transmission module in the sub-control system, and then analyze and analyze the collected data through the built-in program. Calculate and get the output. Then, the controller can also control the actuator through the transmission module based on the output result.
  • the above control system may be an HVAC control system installed in a building.
  • Multiple controllers can be deployed in the HVAC control room.
  • Each controller can control each actuator (such as valve, temperature sensor, flow sensor, etc.) connected to the transmission module in the HVAC system through the transmission module connected to the controller.
  • each sub-control system is isolated from each other. In other words, the controller can only control actuators in the same sub-control system. Therefore, the existing control system has the problem of poor operational flexibility.
  • the present disclosure proposes a method for controlling actuators across sub-control systems. , to improve the flexibility of control system operation.
  • the execution subject of this method can be a controller in any sub-control system in the control system provided by this disclosure.
  • the control system provided by the present disclosure is first described in detail below:
  • the control system provided by the present disclosure may include at least two sub-control systems.
  • the sub-control system may include: a controller, and at least one actuator.
  • Each actuator may include at least one control point.
  • the controller can be used to control at least one control point. Controllers between different sub-control systems can communicate.
  • the controller can be connected to at least one control point in the sub-control system through a transmission module, and control the at least one control point through the transmission module.
  • the transmission module may be integrated in the above-mentioned controller.
  • the transmission module can also be integrated into the actuator.
  • the transmission module can also have part of its functions integrated in the controller and part of its functions integrated in the actuator.
  • the transmission module can also be a device with a data transmission function that is independent of the controller and the actuator.
  • FIG. 2 is an architectural schematic diagram of a control system provided by the present disclosure.
  • the sub-control system may include: a controller, a transmission module, and at least one actuator. And in any sub-control system, the controller can be connected to the at least one control point through the transmission module.
  • the transmission module can be connected to the controller through any method such as RS485 circuit, Ethernet, ZigBee, Bluetooth, etc.
  • the above-mentioned controller can be a direct digital controller, or a programmable logic controller (Programmable Logic Controller, PLC) or any other controller with processing functions.
  • the above-mentioned transmission module can be any device with data transmission function.
  • this disclosure does not limit the transmission protocol used by the transmission module.
  • the transmission protocol used by the transmission module can be ModbusRTU (ModbusRTU is the name of a serial communication protocol) transmission protocol, Building Automation Control Network Data Communication Protocol (A Data Communication Protocol for Building Automation and Control Networks, BACnet protocol), or, Message Queuing Telemetry Transport (MQTT protocol), etc.
  • the function of the transmission module can also be integrated in the controller.
  • the above-mentioned actuator can be any device that can perform relevant operations according to control instructions, such as valves, sensors for various purposes, etc.
  • the control point of the actuator may also be a physical sensor.
  • controllers between different sub-control systems may be in the same local area network.
  • controllers between different sub-control systems may not communicate in the same local area network.
  • each of the above controllers can be connected in the same local area network through wired or wireless methods.
  • each controller can be connected to each other in the same local area network through a Wi-Fi network or Ethernet.
  • FIG. 3 is a schematic structural diagram of another control system provided by the present disclosure. As shown in Figure 3, the controllers can access the same LAN by connecting to the same switch.
  • Figure 4 is a schematic structural diagram of yet another control system provided by the present disclosure. As shown in Figure 4, the controller can be accessed through both The same wireless router can access the same LAN.
  • FIG. 2 is only an exemplary illustration of the control system provided by the present disclosure, using the transmission module as an example that is independent of the controller and the actuator. This disclosure does not determine the number of sub-control systems included in the control system, the number of transmission modules in one sub-control system, the number of actuators that can be connected to one transmission module, or the number of points that one actuator can include. limited.
  • control system can be applied to the building industry, and can be a HVAC control system in a building.
  • control system can also be a lighting control system, a central air conditioning control system, etc., for example.
  • a building may include at least one control system (where each control system may correspond to a local area network).
  • multiple buildings may correspond to one control system, which means that the controllers in the multiple buildings may be in the same local area network.
  • Figure 5 is a schematic flowchart of a control method provided by the present disclosure. As shown in Figure 5, the method may include the following steps:
  • the first controller determines the target control point and the first instruction to be executed at the target control point.
  • the first controller can be a controller in any of the above sub-control systems.
  • the first instruction may include an identification of the target control point.
  • the identifiers involved in this disclosure refer to, for example, an identity document (ID).
  • the first controller can determine the target control point and the first instruction through logical calculation, and determine that the result of the logical calculation is used to represent the control of the target control point. For example, assuming that the actuator where the target control point is located is a valve, the first controller may, for example, generate a first instruction when it is determined through preset logic that the opening of the valve is the target opening. Then the first instruction can be used to indicate the target opening of the valve.
  • the first controller may also generate the first instruction when it is determined through logical calculation that parameters of the target control point are required for subsequent automated logical calculation. Then the first instruction can be used to instruct to read the parameter value of the target control point. For example, if the actuator where the target control point is located is a lamp bead sensor, and the target control point is the color temperature of the lamp bead, the first controller can, for example, perform automated logic calculations based on the color temperature of the lamp bead. When, a first instruction for instructing to obtain the color temperature of the lamp bead is generated.
  • the first controller can also respond to the user operation, determine the target control point according to the user operation, and determine the first instruction to be executed at the target control point.
  • the first controller determines the identity of the second controller of the sub-control system to which the target control point belongs based on the identity of the target control point and the mapping relationship between the identity of the control point and the identity of the controller.
  • the second controller may be a controller in any sub-control system except the sub-control system to which the first controller belongs.
  • the identification of the second controller may be, for example, the network address of the second controller, or a device serial number or any other field that can uniquely represent the second controller.
  • the identity of the second controller can also be preset by the user.
  • mapping relationship between the identification of the control point and the identification of the controller may be pre-stored in the first in the controller.
  • the mapping relationship between the identifier of the control point and the identifier of the controller can be, for example, as shown in Table 1 below:
  • the first controller can determine that the identification of the second controller of the sub-control system to which the target control point belongs is controller identification 1.
  • the first controller sends the first instruction to the second controller according to the identifier of the second controller.
  • the second controller may receive the first instruction from the first controller.
  • the second controller controls the target control point according to the first instruction.
  • the second controller can use the protocol configured in the second controller by the user in advance.
  • the first instruction is parsed to obtain the identification of the target control point included in the first instruction. Therefore, the second controller can determine the target control point that the first controller needs to control, and control the target control point according to the first instruction.
  • the above-mentioned first instruction may also include an identification of the target transmission module.
  • the second controller may parse the first instruction through a protocol configured in advance by the user in the second controller to obtain the first instruction.
  • the first instruction may not include the identification of the target transmission module.
  • the second controller may, for example, determine the target transmission module based on the identification of the target control point after obtaining the identification of the target control point by parsing the first instruction.
  • the mapping relationship between the identification of the control point and the identification of the transmission module may be pre-stored in the second controller.
  • the second controller may determine the target transmission module based on the identification of the target control point and the mapping relationship between the identification of the control point and the identification of the transmission module.
  • control target control point mentioned in this disclosure may refer to output data to the actuator where the target control point is located, or may refer to data generated by the actuator operation or data detected by the actuator collected from the target control point. data".
  • the first controller determines the identity of the second controller based on the target control point. Then, the first controller can use the identification of the second controller to send a first instruction to the second controller, so that the second controller can control the sub-control system to which the second controller belongs based on the first instruction. Control point.
  • the first controller can control the control points of actuators in other sub-control systems across controllers, thus improving the flexibility of the control system operation.
  • the first controller may receive the first configuration information sent by each controller in the control system (including the second controller).
  • the first configuration information includes: an identifier of the controller, and an identifier of at least one control point.
  • the first configuration information includes: an identifier of the second controller, and an identifier of at least one control point in the sub-control system where the second controller is located. Then, the first controller can generate a mapping relationship between the identifier of the control point and the identifier of the controller based on the first configuration information sent by each controller.
  • the following is an exemplary description of how the first controller receives the first configuration information sent by each controller (including the second controller) in the control system:
  • the first controller can broadcast a configuration information acquisition request in the local area network.
  • the second controller in the local area network can receive the configuration information acquisition request broadcast by the first controller.
  • each controller in the local area network may send its own first configuration information to the first controller.
  • the configuration information acquisition request may include the identification of the first controller, so that each controller in the local area network can send the first configuration information of the controller to the first controller based on the identification of the first controller.
  • the first controller can parse the first configuration information of each controller through a protocol that the user has configured in the first controller in advance to obtain the identity of the controller and at least one control point. logo.
  • the first controller can obtain the first configuration information of the second controller sent by the second controller by sending a configuration information acquisition request to the second controller, so that the first controller can obtain the above-mentioned The mapping relationship between the identification of the control point and the identification of the controller.
  • the second controller may also send the first configuration information of the second controller to other controllers (including the first controller) in the local area network by broadcasting after being started.
  • the second controller may also respond to the first configuration information sending operation triggered by the user and broadcast the first configuration information of the second controller to the first controller.
  • the user can also add the identifier of the second controller to the first controller, so that the first controller can implement cross-controller control based on the identifier of the controller added by the user.
  • the first controller can also receive the second configuration information of the second controller input by the user through the programming page of the first controller.
  • the second configuration information may include: an identification of the second controller, and an identification of at least one control point other than the control point included in the first configuration information.
  • the first controller may receive the second configuration information of the second controller input by the user through the configuration editing page of the first controller.
  • configuration editing means that users can complete the software functions they need through a simple method similar to "building blocks" without writing computer programs.
  • the above configuration editing page may also be called a configuration design page.
  • the first controller may generate a mapping relationship between the identifier of the control point and the identifier of the controller based on the second configuration information.
  • the method for the first controller to generate the mapping relationship between the identity of the control point and the identity of the controller based on the above-mentioned second configuration information may refer to the methods described in some of the foregoing embodiments, which will not be described again here.
  • the above-mentioned first configuration information and/or the second configuration information may also include: the identification of the transmission module in the sub-control system to which the controller belongs.
  • the identification of the transmission module in the sub-control system to which the controller belongs may include at least one of the following information: the path identification of the transmission module to access the controller in the sub-control system to which the transmission module belongs, the identification of the transmission module The device serial number, and the network address of the controller.
  • the identification of the transmission module in the sub-control system to which the second controller belongs may include: the path identification of the transmission module accessing the second controller, the device serial number of the transmission module, and the second controller network address, it should be understood that this disclosure does not limit the order of the three items in the identification of the transmission module.
  • the transmission The path identifier for the module to access the second controller may be 2.
  • the device serial number of the transmission module may refer to the serial number of the transmission module in the bus (for example, 001).
  • the serial number of the transmission module in the bus may also be called the slave address of the transmission module.
  • the transmission module is transmission module 1 and the controller 4 is the second controller.
  • the network address of the controller 4 may be 44.
  • the identifier of the transmission module 1 may be 442001.
  • 44 represents the network address of the second controller
  • 2 represents the path identifier of the transmission module to access the second controller
  • 001 represents the device serial number of the transmission module.
  • the identification of each control point connected to the transmission module can be related to the protocol address of the transmission protocol used by the transmission module without duplication.
  • the transmission protocol used by the transmission module is the ModbusRTU protocol.
  • the ModbusRTU protocol different protocol addresses are assigned to different control points connected to the transmission module. Therefore, the protocol address of the transmission protocol can be used as the identifier of the control point to ensure the uniqueness of the identifier of each control point and to ensure that there is no duplication of identifiers of different control points.
  • the identifiers of the control points connected to the transmission module 1 can be 1-1 and 1-2.
  • the identifiers of the control points connected to the transmission module 2 may be 2-1 and 2-2.
  • the device serial number of the transmission module by using at least one of the path identification of the transmission module to the second controller, the device serial number of the transmission module, and the network address of the second controller as the identification of the transmission module, it is ensured that The unique identifier of the transport module.
  • the first configuration information also including: the identification of the transmission module in the sub-control system to which the controller belongs as an example, how the second controller obtains the first configuration information of the second controller is explained in detail below:
  • the second controller may first obtain the identification of each transmission module in the sub-control system to which the second controller belongs before sending the first configuration information of the second controller to the first controller.
  • the second controller may determine each transmission module based on at least one piece of information such as the path identification of each transmission module accessing the second controller, the device serial number of the transmission module, and the network address of the second controller.
  • the identifier of the module can also encode the identification of each transmission module and save it as a data table to improve query efficiency and transmission efficiency.
  • the second controller can obtain the identification of each control point connected to the transmission module according to the transmission protocol used by the transmission module.
  • the identification of each control point can be related to the protocol address of the transmission protocol used by the transmission module without duplication.
  • the second controller can determine the identity of each control point according to the protocol address that can be assigned by the BACnet protocol.
  • the second controller can obtain the identification of each transmission module and the identification of each control point according to the identification of each transmission module in the sub-control system to which the second controller belongs.
  • the first configuration information of the second controller can, for example, use a communication protocol common to all controllers in the local area network.
  • the identification of the second controller, the identification of the transmission module in the sub-control system to which the second controller belongs, and the identification of each control point are processed to obtain the first configuration information of the second controller, so that the first controller After receiving the first configuration information, the first configuration information of the second controller can be obtained by parsing the same communication protocol.
  • the second controller can collect the identification of the transmission module and the identification of the control point in the sub-control system to which the second controller belongs, so that the second controller can send the second controller's third information to other controllers. A configuration information, thereby enabling cross-controller control in the control system.
  • the second controller may also first determine whether the target control point currently exists in the sub-control system to which the second controller belongs.
  • FIG. 6 is a schematic flowchart of another control method provided by the present disclosure. As shown in Figure 6, the second controller may receive the first instruction from the first controller. Then, the second controller may parse the first instruction to obtain the identification of the target control point included in the first instruction.
  • the second controller can determine whether the target control point exists in the sub-control system to which the second controller belongs based on the identification of the target control point.
  • the second controller pre-stores an identification list of each control point in the sub-control system to which the second controller belongs.
  • the second controller may determine whether the target control point exists in the sub-control system to which the second controller belongs based on the identification list of each control point in the sub-control system to which the second controller belongs and the identification of the target control point. If the identification list of each control point does not include the identification of the target control point, the second controller may determine that the target control point does not exist in the sub-control system to which the second controller belongs. If the identification list of each control point includes the identification of the target control point, the second controller can determine that the target control point exists in the sub-control system to which the second controller belongs.
  • the second controller determines that the target control point exists in the sub-control system to which the second controller belongs based on the identification of the target control point, it means that the second controller can control the target control point. Then the second controller can execute the aforementioned step S103, that is, control the target control point according to the first instruction.
  • the second controller may send feedback information to the first controller indicating that the target control point does not exist in the sub-control system to which the second controller belongs.
  • the first controller may receive the information sent by the second controller to the first controller "when it is determined that the target control point does not exist in the sub-control system to which the second controller belongs based on the identification of the target control point.” Feedback. Further, after receiving the feedback information, the first controller can also output the feedback information. Optionally, the first controller can display the feedback information through a display device, for example. Alternatively, the first controller can also broadcast the feedback information through the voice output device. By outputting the feedback information, the user can know that the target control point cannot be controlled by the second controller at present, which improves the user experience.
  • the first controller can also delete the identification of the target control point in the first configuration information of the second controller stored by itself to avoid repeating the feedback information. Sending the first instruction including the identification of the target control point to the second controller further improves the operating efficiency of the first controller.
  • FIG. 7 is a schematic flowchart of yet another control method provided by the present disclosure. As shown in Figure 7, the method may include the following steps:
  • Step 1 Configure a unique ID for the controller in each sub-control system.
  • the ID of each controller may be determined by the user and stored in each controller in advance.
  • the ID of the above controller may also be related to the hardware configuration of the controller.
  • the controller ID can be a device serial number or a Media Access Control Address (MAC address), etc.
  • Step 2 Each controller uses the same communication protocol and uses the ID of the above controller to access the same local area network through Ethernet or Wi-Fi.
  • the communication protocol mentioned here can meet the following functions:
  • This communication protocol can use the Transmission Control Protocol/Internet Protocol (TCP/IP protocol) to propagate data in the local area network.
  • TCP/IP protocol Transmission Control Protocol/Internet Protocol
  • This communication protocol supports issuing information acquisition requests to other controllers in the form of broadcast.
  • the controller that receives the request can reply to the broadcast request according to its own first configuration information.
  • This communication protocol supports querying and modifying data in an end-to-end manner.
  • End-to-end needs to use unique controller IDs to constrain the controllers that need to be queried and modified to ensure the uniqueness of the controller ID.
  • Step 3 Each controller obtains the ID of each transmission module and the ID of the control point in the sub-control system to which the controller belongs, and obtains the first configuration information of the controller based on the controller ID, transmission module ID and control point ID. .
  • step 3 may refer to the methods described in some of the foregoing embodiments, which will not be described again here.
  • Step 4 The first controller uses the first controller ID to send a configuration information acquisition request to the second controller in a broadcast manner.
  • Step 5 The second controller responds to the configuration information acquisition request and sends the first configuration information of the second controller to the first controller.
  • Step 6 The first controller can also receive the second configuration information of the second controller input by the user through the programming page or the configuration editing page.
  • Step 7 When the first controller performs automated logic calculation and determines that the target control point in the sub-control system to which the second controller belongs needs to be controlled, it generates the first instruction.
  • Step 8 The first controller sends the first instruction to the second controller according to the identification of the second controller.
  • Step 9 The second controller obtains the identification of the target control point included in the first instruction.
  • Step 10 The second controller determines whether the target control point currently exists in the sub-control system to which the second controller belongs based on the identification of the target control point.
  • Step 11 The second controller controls the target control point through the target transmission module according to the first instruction.
  • Step 12 The second controller sends feedback information to the first controller indicating that the target control point does not exist in the sub-control system to which the second controller belongs.
  • Step 13 The first controller outputs the feedback information.
  • the controllers of each sub-control system in the control system can be connected to the same local area network, and each controller obtaining the configuration information of other controllers, cross-control between different sub-control systems can be realized through the controller.
  • the control of the controller improves the flexibility of the control system operation.
  • the cross-device programming and cross-device configuration editing methods provided by the present disclosure improve the control system
  • the flexibility of programming further improves the flexibility of the control system operation.
  • FIG. 8 is a schematic structural diagram of a control device 20 provided by the present disclosure.
  • the control device can be applied to the controller described in any of the aforementioned embodiments.
  • the control device 20 may include: a first processing module 21 , a second processing module 22 , and a sending module 23 . in,
  • the first processing module 21 is used to determine the target control point and the first instruction to be executed at the target control point.
  • the first instruction includes an identification of the target control point.
  • the second processing module 22 is configured to determine the second controller of the sub-control system to which the target control point belongs based on the identification of the target control point and the mapping relationship between the identification of the control point and the identification of the controller. logo.
  • the sending module 23 is configured to send the first instruction to the second controller according to the identification of the second controller, so that the second controller controls the target control according to the first instruction. Point.
  • control device 20 may also include: a receiving module 24, configured to receive the first configuration information sent by each controller in the control system.
  • the first configuration information includes: an identifier of the controller, and an identifier of at least one control point.
  • the second processing module 22 is also configured to generate a mapping relationship between the identification of the control point and the identification of the controller according to the first configuration information sent by each of the controllers.
  • the receiving module 24 is also configured to receive the second configuration information of the second controller input by the user through the programming page or configuration editing page of the first controller.
  • the second configuration information includes: an identifier of the second controller, and an identifier of at least one control point other than the control point included in the first configuration information.
  • the second processing module 22 is also configured to generate a mapping relationship between the identification of the control point and the identification of the controller according to the second configuration information.
  • the first configuration information also includes: the identification of the transmission module in the sub-control system to which the controller belongs.
  • the identification of the transmission module includes at least one of the following information: the path identification of the controller in the sub-control system to which the transmission module belongs, the device serial number of the transmission module, and the control The network address of the transmitter; for any transmission module, the identification of each control point connected to the transmission module is related to the protocol address of the transmission protocol used by the transmission module and there is no duplication.
  • the receiving module 24 is also configured to receive feedback information from the second controller after sending the first instruction to the second controller according to the identification of the second controller.
  • the feedback information is when the second controller determines that the target control point does not exist in the sub-control system to which the second controller belongs based on the identification of the target control point, the feedback information is sent to the third controller. Feedback from one controller; the feedback information is used to indicate that the target control point does not exist in the sub-control system to which the second controller belongs.
  • the device 20 may also include an output module 25 for outputting the feedback information.
  • the control device 20 provided by the present disclosure is used to execute some embodiments of the control method executed by the first controller. Its implementation principles and technical effects are similar, and will not be described again.
  • FIG. 9 is a schematic structural diagram of a control device 30 provided by the present disclosure.
  • the control device 30 can be applied to the second controller as described in any of the previous embodiments.
  • the control device 30 may include: a receiving module 31 and a control module 32 . in,
  • the receiving module 31 is used to receive the first instruction from the first controller.
  • the first instruction is for the first controller to determine the sub-control system to which the target control point belongs based on the identification of the target control point and the mapping relationship between the identification of the control point and the identification of the controller. After the identification of the second controller, it is sent to the second controller according to the identification of the second controller; the first instruction includes the identification of the target control point.
  • the control module 32 is used to control the target control point according to the first instruction.
  • the device 30 may also include a sending module 33, configured to send the first configuration information of the second controller to the first controller.
  • the first configuration information includes: an identifier of the second controller, and an identifier of at least one control point.
  • the control device 30 may also include an acquisition module 34 for transmitting data to the first control system.
  • the controller sends the first configuration information of the second controller, obtain the identification of each transmission module in the sub-control system to which the second controller belongs; for any of the transmission modules, according to the transmission protocol used by the transmission module , obtain the identification of each control point connected to the transmission module; according to the identification of each transmission module in the sub-control system to which the second controller belongs, and the identification of each control point, obtain the second The first configuration information of the controller.
  • control module 32 is further configured to, before controlling the target control point according to the first instruction, determine that the target control point exists in When the second controller belongs to a sub-control system, it controls the target control point according to the first instruction.
  • the sending module 33 is also configured to send a message to the first control point when it is determined that the target control point does not exist in the sub-control system to which the second controller belongs according to the identification of the target control point.
  • the device sends feedback information. Wherein, the feedback information is used to indicate that the target control point does not exist in the sub-control system to which the second controller belongs.
  • the control device 30 provided by the present disclosure is used to execute some embodiments of the control method executed by the second controller. Its implementation principles and technical effects are similar and will not be described again.
  • the present disclosure also provides a heating and ventilation equipment.
  • the HVAC equipment may include a control system as described in any of the previous embodiments.
  • the implementation principles and technical effects of this HVAC equipment are similar to the aforementioned control methods and will not be described again here.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by the present disclosure.
  • the electronic device 400 may include: at least one processor 401 and a memory 402 .
  • Memory 402 is used to store programs.
  • the program may include program code, which includes computer operating instructions.
  • the memory 402 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the processor 401 is used to execute computer execution instructions stored in the memory 402 to implement the control method described in the foregoing method embodiments.
  • the processor 401 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or one configured to implement some embodiments of the present disclosure. or multiple integrated circuits.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the electronic device 400 may also include a communication interface 403.
  • a communication interface 403. In terms of specific implementation, if the communication interface 403, the memory 402 and the processor 401 are implemented independently, the communication interface 403, the memory 402 and the processor 401 can be connected to each other through a bus and complete mutual communication.
  • the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc., but it does not mean that there is only one bus or one type of bus.
  • the communication interface 403, the memory 402 and the processor 401 are integrated into one chip, If implemented on-chip, the communication interface 403, the memory 402 and the processor 401 can complete communication through the internal interface.
  • the present disclosure also provides a computer-readable storage medium.
  • the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) ), magnetic disks, optical disks and other media that can store program codes.
  • the computer-readable storage medium stores program instructions, and the program instructions are used in the methods in some of the above embodiments.
  • the present disclosure also provides a program product including execution instructions stored in a readable storage medium.
  • the electronic device can read the execution instruction from the readable storage medium, and the electronic device executes the execution instruction to implement the control method provided by the various embodiments mentioned above.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种控制方法、系统、装置、电子设备、存储介质及程序产品,涉及控制领域,用于解决控制系统的运行灵活性较差的技术问题。控制系统包括:至少两个子控制系统;各子控制系统中的控制器可进行通信。方法包括:S101、第一控制器确定目标控制点位,以及,目标控制点位待执行的第一指令;S102、根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定目标控制点位所属子控制系统的第二控制器的标识;S103、根据第二控制器的标识,向第二控制器发送第一指令;S104、第二控制器根据第一指令控制目标控制点位。

Description

控制方法、系统、装置、电子设备、存储介质及程序产品
本申请要求于2022年09月08日提交中国专利局、申请号为202211093101.9、申请名称为“控制方法、系统、装置、电子设备、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及控制领域,具体涉及一种控制方法、系统、装置、电子设备、存储介质及程序产品。
背景技术
一个控制系统中可以包括多个子控制系统。其中,每个子控制系统可以包括控制器、输入输出设备,以及,执行器。针对任一子控制系统,该子控制系统中的控制器可以通过输入输出设备,控制执行器执行目标操作。
目前,现有的控制系统中,控制器仅能对同一子控制系统中的执行器进行控制,进而导致现有的控制系统的运行灵活性较差。
发明内容
本公开的主要目的是提供一种控制方法、系统、装置、电子设备、存储介质及程序产品,旨在解决现有的控制系统的运行灵活性较差的技术问题。
为实现上述目的,第一方面,本公开提供一种控制方法,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述方法应用于第一控制器,所述第一控制器为任一所述子控制系统中的控制器,所述方法包括:
确定目标控制点位,以及,所述目标控制点位待执行的第一指令;所述第一指令包括所述目标控制点位的标识;
根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识;
根据所述第二控制器的标识,向所述第二控制器发送所述第一指令,以使所述第二控制器根据所述第一指令,控制所述目标控制点位。
本公开的有益效果是:第一控制器在确定目标控制点位和用于控制该目标控制点位的第一指令之后,根据目标控制点位确定第二控制器的标识。然后,第一控制器可以使用该第二控制器的标识,向第二控制器发送第一指令,以使第二控制器可以根据该第一指令,控制第二控制器所属子控制系统中的控制点位。通过上述方法,第一控制器可以实现跨控制器的控制其他子控制系统中的执行器的控制点位,因此提高了控制系统运行 的灵活性。
在上述技术方案的基础上,本公开还可以做如下改进。
进一步,在所述根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之前,所述方法还包括:
接收所述控制系统中各所述控制器发送的第一配置信息,所述第一配置信息包括:控制器的标识,以及,至少一个控制点位的标识;
根据各所述控制器发送的第一配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
进一步,所述方法还包括:
通过所述第一控制器的编程页面或者组态编辑页面,接收用户输入的所述第二控制器的第二配置信息,所述第二配置信息包括:所述第二控制器的标识,以及,除所述第一配置信息中包括的控制点位之外的至少一个控制点位的标识;
根据所述第二配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
进一步,所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标识,所述传输模块的标识包括下述至少一项信息:所述传输模块接入所述传输模块所属子控制系统中的控制器的路径标识、所述传输模块的设备序列号,以及,所述控制器的网络地址;针对任一传输模块,与该传输模块连接的各控制点位的标识,均与该传输模块所使用传输协议的协议地址相关且不存在重复。
进一步,在所述根据所述第二控制器的标识,向所述第二控制器发送所述第一指令之后,所述方法还包括:
接收来自所述第二控制器的反馈信息,所述反馈信息为所述第二控制器在根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统时,向所述第一控制器反馈的;所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统;
输出所述反馈信息。
第二方面,本公开提供一种控制方法,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述方法应用于第二控制器,所述第二控制器为任一所述子控制系统中的控制器,所述方法包括:
接收来自第一控制器的第一指令;所述第一指令为所述第一控制器在根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之后,根据所述第二控制器的标识,向所述第二控制器发送的;所述第一指令包括所述目标控制点位的标识;
根据所述第一指令,控制所述目标控制点位。
进一步,在所述接收来自第一控制器的第一指令之前,所述方法还包括:
向所述第一控制器发送所述第二控制器的第一配置信息;所述第一配置信息包括:所述第二控制器的标识,以及,至少一个控制点位的标识。
进一步,所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标 识,在向所述第一控制器发送所述第二控制器的第一配置信息之前,所述方法还包括:
获取所述第二控制器所属子控制系统中各传输模块的标识;
针对任一所述传输模块,根据所述传输模块所使用传输协议,获取与所述传输模块连接的各控制点位的标识;
根据所述第二控制器所属子控制系统中各传输模块的标识,以及,所述各控制点位的标识,获取所述第二控制器的第一配置信息。
进一步,在所述根据所述第一指令,控制所述目标控制点位之前,所述方法还包括:
若根据所述目标控制点位的标识,确定所述目标控制点位存在于所述第二控制器所属子控制系统,则根据所述第一指令,控制所述目标控制点位;
若根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统,则向所述第一控制器发送反馈信息;所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统。
第三方面,本公开提供一种控制系统,所述控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个所述控制点位;所述控制器,用于执行如第一方面或第二方面任一项所述的方法。
第四方面,本公开提供一种暖通设备,包括如第三方面所述的控制系统。
第五方面,本公开提供一种控制装置,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述装置应用于第一控制器,所述第一控制器为任一所述子控制系统中的控制器,所述装置包括:
第一处理模块,用于确定目标控制点位,以及,所述目标控制点位待执行的第一指令;所述第一指令包括所述目标控制点位的标识;
第二处理模块,用于根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识;
发送模块,用于根据所述第二控制器的标识,向所述第二控制器发送所述第一指令,以使所述第二控制器根据所述第一指令,控制所述目标控制点位。
第六方面,本公开提供一种控制装置,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述装置应用于第二控制器,所述第二控制器为任一所述子控制系统中的控制器,所述装置包括:
接收模块,用于接收来自第一控制器的第一指令;所述第一指令为所述第一控制器在根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之后,根据所述第二控制器的标识,向所述第二控制器发送的;所述第一指令包括所述目标控制点位的标识;
控制模块,用于根据所述第一指令,控制所述目标控制点位。
本公开提供的控制装置的有益效果与上述控制方法的有益效果相同,在此不再赘述。
第七方面,本公开提供一种电子设备,包括:至少一个处理器、存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备执行第一方面或第二方面任一项所述的方法。
第八方面,本公开提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机执行指令,当所述计算机执行指令被电子设备执行时,实现第一方面或第二方面任一项所述的方法。
第九方面,本公开提供一种计算机程序产品,包括计算机程序,所述计算机程序被电子设备执行时实现第一方面或第二方面任一项所述的方法。
附图说明
为了更清楚地说明本公开一些实施例或现有技术中的技术方案,下面将对一些实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。
图1为相关技术中控制系统的架构示意图;
图2为本公开提供的一种控制系统的架构示意图;
图3为本公开提供的另一种控制系统的结构示意图;
图4为本公开提供的又一种控制系统的结构示意图;
图5为本公开提供的一种控制方法的流程示意图;
图6为本公开提供的另一种控制方法的流程示意图;
图7为本公开提供的又一种控制方法的流程示意图;
图8为本公开提供的一种控制装置20的结构示意图;
图9为本公开提供的一种控制装置30的结构示意图;
图10为本公开提供的一种电子设备结构示意图。
具体实施方式
图1为相关技术中控制系统的架构示意图。如图1所示,一个控制系统可以包括多个子控制系统(如图1所示的子控制系统1、子控制系统2和子控制系统3)。其中,每个子控制系统可以包括控制器、传输模块(也可以称为输入输出模块),以及,执行器。针对任一子控制系统,该子控制系统中的控制器可以通过该子控制系统中的传输模块,采集该子控制系统中各执行器的数据,然后通过内置程序对采集到的数据进行分析与计算获取输出结果。然后,控制器还可以根据该输出结果,通过传输模块对执行器进行控制。
示例性的,以楼宇行业为例,上述控制系统例如可以为一栋楼宇中安装的暖通控制系统。在暖通控制机房中可以部署有多个控制器。每个控制器可以通过与该控制器连接的传输模块,控制该暖通系统中与该传输模块连接的各执行器(例如阀门、温度传感器、流量传感器等)。
然而,在现有的控制系统中,各子控制系统之间相互隔离。也就是说,控制器仅能对同一子控制系统中的执行器进行控制。因此,现有的控制系统存在运行灵活性较差的问题。
考虑到现有的控制系统存在上述运行灵活性较差的问题的原因是控制系统中的各子控制系统相互隔离,因此,本公开提出了一种可以进行跨子控制系统进行执行器控制的方法,以提高控制系统运行的灵活性。该方法的执行主体可以为本公开提供的控制系统中任一子控制系统中的控制器。下面首先对本公开提供的控制系统进行详细说明:
本公开提供的控制系统可以包括至少两个子控制系统。针对任一子控制系统,该子控制系统可以包括:控制器,以及,至少一个执行器。其中,每个执行器可以包括至少一个控制点位。在任一子控制系统中,控制器可以用于控制至少一个控制点位。不同子控制系统之间的控制器可以进行通信。
可选的,在任一子控制系统中,控制器可以通过传输模块,与该子控制系统中的至少一个控制点位连接,并通过该传输模块,控制该至少一个控制点位。应理解,该传输模块可以是集成在上述控制器中的。或者,该传输模块也可以是集成在执行器中。或者,传输模块还可以是一部分功能集成在控制器中,一部分功能集成在执行器中。再或者,该传输模块还可以是独立于控制器和执行器之外的具有数据传输功能的设备。
以该传输模块独立于控制器和执行器之外为例,图2为本公开提供的一种控制系统的架构示意图。如图2所示,针对任一子控制系统,该子控制系统可以包括:控制器、传输模块,以及,至少一个执行器。且在任一子控制系统中,控制器可以通过传输模块与该至少一个控制点位连接。
示例性的,针对任一子控制系统,本公开对该子控制系统中的传输模块与控制器之间的连接方式也不进行限定。示例性的,传输模块例如可以通过RS485电路、以太网、紫蜂(ZigBee)、蓝牙等任一种方式接入到控制器中。示例性的,上述控制器可以为直接数字控制器,或者,可编程逻辑控制器(Programmable Logic Controller,PLC)等任意一种具有处理功能的控制器。
上述传输模块可以为任意一种具有数据传输功能的设备。可选的,本公开对该传输模块使用的传输协议并不进行限定。示例性的,该传输模块使用的传输协议例如可以为ModbusRTU(ModbusRTU是一种串行通信协议的名称)传输协议、楼宇自动控制网络数据通讯协议(A Data Communication Protocol for Building Automation and Control Networks,BACnet协议),或者,消息队列遥测传输(Message Queuing Telemetry Transport,MQTT协议)等。在一些实施例中,该传输模块的功能还可以集成在控制器中。
上述执行器可以为任意一种可以根据控制指令执行相关操作的设备,例如阀门、各种用途的传感器等。在一些实施例中,执行器的控制点位也可以为物理上的传感器。
应理解,本公开对不同子控制系统之间的控制器如何进行通信并不进行限定。示例性的,如图2所示,上述至少两个子控制系统中的控制器可以处于同一局域网中。在一些实施例中,不同子控制系统之间的控制器也可以不在同一局域网中进行通信。
以不同子控制系统中的控制器可以处于同一局域网中为例,应理解,本公开对上述至少两个子控制系统中的控制器接入同一局域网的方式并不进行限定。可选的,上述各控制器可以通过有线或者无线的方式连接在同一局域网中。例如,各控制器可以通过Wi-Fi网络或者以太网相互连接在同一局域网中。示例性的,图3为本公开提供的另一种控制系统的结构示意图。如图3所示,控制器可以通过均接入同一部交换机实现接入同一局域网。图4为本公开提供的又一种控制系统的结构示意图。如图4所示,控制器可以通过均接入 同一部无线路由器实现接入同一局域网。
应理解,图2仅是以传输模块独立于控制器和执行器之外为例,对本公开提供的控制系统进行的示例性说明。本公开对该控制系统包括的子控制系统的数量、一个子控制系统中传输模块的数量、一个传输模块可以连接的执行器的数量,以及,一个执行器可包括的点位的数量均不进行限定。
此外,应理解,本公开对该控制系统的应用场景也不进行限定。示例性的,如前述所说,该控制系统例如可以应用于楼宇行业,可以为楼宇中的暖通控制系统。在一些实施例中,该控制系统系统例如还可以为灯光控制系统、中央空调控制系统等。以该控制系统应用于楼宇行业为例,可选的,一栋楼宇例如可以包括至少一个控制系统(其中每个控制系统可以对应一个局域网)。或者,也可以是多栋楼宇对应一个控制系统,也就是说该多栋楼宇中的控制器可以处于同一局域网中。
下面将结合本公开一些实施例中的附图,对本公开一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的一些实施例仅仅是本公开的一部分实施例,而不是全部的实施例。基于本公开中的一些实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
图5为本公开提供的一种控制方法的流程示意图。如图5所示,该方法可以包括以下步骤:
S101、第一控制器确定目标控制点位,以及,目标控制点位待执行的第一指令。
如前述所说,第一控制器可以为任一上述子控制系统中的控制器。第一指令可以包括目标控制点位的标识。可选的,本公开中所涉及的标识例如均为是指身份标识号(Identity document,ID)。
可选的,第一控制器可以通过逻辑计算,确定该逻辑计算的结果用于表征对目标控制点位进行控制时,确定出目标控制点位,以及,第一指令。示例性的,以目标控制点位所在的执行器为阀门为例,第一控制器例如可以在通过预设逻辑确定该阀门的开度为目标开度时,生成第一指令。则该第一指令可以用于指示该阀门的目标开度。
或者,第一控制器还可以在通过逻辑计算确定需要目标控制点位的参数进行后续自动化逻辑计算时,生成该第一指令。则该第一指令可以用于指示读取该目标控制点位的参数值。示例性的,以该目标控制点位所在执行器为灯珠传感器,且目标控制点位为该灯珠的色温为例,第一控制器例如可以在需要基于该灯珠的色温进行自动化逻辑计算时,生成用于指示获取该灯珠的色温的第一指令。
可选的,第一控制器还可以响应用户操作,根据用户操作确定目标控制点位,以及,目标控制点位待执行的第一指令。
S102、第一控制器根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定目标控制点位所属子控制系统的第二控制器的标识。
该第二控制器可以为除了第一控制器所属子控制系统之外的任一子控制系统中的控制器。示例性的,上述第二控制器的标识例如可以为第二控制器的网络地址,或者,设备序列号等任意一种能够唯一表示该第二控制器的字段。在一些实施例中,第二控制器的标识还可以用户预先设置的。
示例性的,上述控制点位的标识与控制器的标识的映射关系可以为预先存储在该第一 控制器中。该控制点位的标识与控制器的标识的映射关系例如可以如下表1所示:
表1
以表1为例,假定目标控制点位的标识为控制点位标识1,则第一控制器可以确定目标控制点位所属子控制系统的第二控制器的标识为控制器标识1。
S103、第一控制器根据第二控制器的标识,向第二控制器发送第一指令。
相应的,第二控制器可以接收来自第一控制器的第一指令。
S104、第二控制器根据第一指令,控制目标控制点位。
以该第二控制器直接与目标控制点位所在的执行器连接为例,第二控制器在接收到该第一指令之后,可以通过用户预先在该第二控制器中配置到的协议,对该第一指令进行解析,以获取该第一指令中包括的目标控制点位的标识。因此,第二控制器可以确定第一控制器需要控制的目标控制点位,并根据该第一指令,控制目标控制点位。
以该第二控制器通过目标传输模块与目标控制点位所在的执行器连接为例,可选的,上述第一指令中还可以包括该目标传输模块的标识。在该实现方式下,第二控制器在接收到该第一指令之后,例如可以通过用户预先在该第二控制器中配置到的协议,对该第一指令进行解析,以获取该第一指令中包括的目标传输模块的标识,以及,目标控制点位的标识,以通过该目标传输模块控制该目标控制点位。或者,上述第一指令中还可以未包括目标传输模块的标识。在该实现方式下,第二控制器例如可以在通过解析该第一指令获取目标控制点位的标识之后,根据该目标控制点位的标识,确定该目标传输模块。示例性的,该第二控制器中例如可以预先存储有控制点位的标识与传输模块的标识的映射关系。第二控制器可以根据目标控制点位的标识,以及,控制点位的标识与传输模块的标识的映射关系,确定该目标传输模块。
应理解,本公开所说的控制目标控制点位,可以是指向目标控制点位所在执行器输出数据,也可以是指从目标控制点位采集“执行器运行产生的数据或者执行器检测到的数据”。
在一些实施例中,第一控制器在确定目标控制点位和用于控制该目标控制点位的第一指令之后,根据目标控制点位确定第二控制器的标识。然后,第一控制器可以使用该第二控制器的标识,向第二控制器发送第一指令,以使第二控制器可以根据该第一指令,控制第二控制器所属子控制系统中的控制点位。通过上述方法,第一控制器可以实现跨控制器的控制其他子控制系统中的执行器的控制点位,因此提高了控制系统运行的灵活性。
下面对第一控制器如何获取控制点位的标识与控制器的标识的映射关系,进行详细说明:
作为一种可能的实现方式,第一控制器可以接收控制系统中各控制器(包括了第二控制器)发送的第一配置信息。其中,第一配置信息包括:控制器的标识,以及,至少一个控制点位的标识。以第二控制器为例,则该第一配置信息包括:第二控制器的标识,以及,该第二控制器所在子控制系统中的至少一个控制点位的标识。然后,第一控制器可以根据各控制器发送的第一配置信息,生成上述控制点位的标识与控制器的标识的映射关系。
下面对第一控制器如何接收该控制系统中各控制器(包括了第二控制器)发送的第一配置信息,进行示例性的说明:
可选的,以该控制系统中各控制器处于同一局域网中为例,第一控制器可以在该局域网中广播配置信息获取请求。相应的,该局域网中的第二控制器可以接收第一控制器广播的配置信息获取请求。局域网中各控制器在接收到上述配置信息获取请求之后,可以向第一控制器发送自身的第一配置信息。其中,上述配置信息获取请求例如可以包括第一控制器的标识,以使局域网中各控制器可以根据该第一控制器的标识向该第一控制器发送控制器的第一配置信息。示例性的,第一控制器可以通过用户预先在该第一控制器中配置到的协议,对各控制器的第一配置信息进行解析,以获取控制器的标识,以及,至少一个控制点位的标识。
在该实现方式下,第一控制器可以通过向第二控制器发送配置信息获取请求,以获取第二控制器发送的第二控制器的第一配置信息,进而使得第一控制器可以获取上述控制点位的标识与控制器的标识的映射关系。
或者,第二控制器还可以在启动之后,通过广播的方式,向该局域网中的其他控制器(包括了第一控制器)发送第二控制器的第一配置信息。再或者,第二控制器还可以响应用户触发的第一配置信息发送操作,将第二控制器的第一配置信息广播至第一控制器。在一些实施例中,用户还可以在第一控制器中添加第二控制器的标识,以使第一控制器可以根据用户添加的控制器的标识实现跨控制器的控制。
作为一种可能的实现方式,第一控制器还可以通过第一控制器的编程页面,接收用户输入的第二控制器的第二配置信息。其中,该第二配置信息可以包括:第二控制器的标识,以及,除第一配置信息中包括的控制点位之外的至少一个控制点位的标识。通过将第二控制器的第二配置信息写入第一控制器可运行的程序中,使得该第一控制器可以根据第二控制器所属子控制系统中的控制点位的数据进行逻辑计算,或者,通过运行该程序对第二控制器所属子控制系统中的控制点位进行控制。通过上述方法,实现了跨控制器的逻辑计算。
作为另一种可能的实现方式,第一控制器可以通过第一控制器的组态编辑页面,接收用户输入的第二控制器的第二配置信息。其中,组态编辑也就是用户可以通过类似“搭积木”的简单方式来完成自己所需要的软件功能,而不需要编写计算机程序。在一些实施例中,上述组态编辑页面也可以称为组态设计页面。通过第一控制器的组态编辑页面,接收用户输入的第二控制器的第二配置信息,可以实现将第二控制器的第二配置信息添加至组态编辑逻辑,实现了跨控制器的组态编辑。在第一控制器运行设计好的组态逻辑时,因为该设计好的组态逻辑中包括第二控制器的第二配置信息,因此实现了跨控制器的组态执行。
第一控制器在获取上述第二配置信息之后,可以根据该第二配置信息,生成控制点位的标识与控制器的标识的映射关系。可选的,第一控制器根据上述第二配置信息,生成控制点位的标识与控制器的标识的映射关系的方法可以参照前述一些实施例所述的方法,在此不再赘述。
在一些实施例中,上述第一配置信息,和/或,第二配置信息还可以包括:控制器所属子控制系统中传输模块的标识。作为一种可能的实现方式,该控制器所属子控制系统中传输模块的标识可以包括下述至少一项信息:传输模块接入该传输模块所属子控制系统中的控制器的路径标识、传输模块的设备序列号,以及,该控制器的网络地址。
以第二控制器为例,假定第二控制器所属子控制系统中传输模块的标识可以包括:传输模块接入第二控制器的路径标识、传输模块的设备序列号,以及,第二控制器的网络地址,应理解,本公开对三项在传输模块的标识中的顺序并不进行限定。
示例性的,以第二控制器通过不同总线与该第二控制器所属子控制系统中的各传输模块连接为例,假定一传输模块接入第二控制器的总线为二号总线,则传输模块接入第二控制器的路径标识可以为2。示例性的,以一个上述总线上可以连接多个传输模块为例,上述传输模块的设备序列号可以是指传输模块在该总线中的序号(例如001)。在一些实施例中,传输模块在该总线中的序号也可以称为该传输模块的从站地址。
以如图3和图4所示的控制系统为例,假定该传输模块为传输模块1,控制器4为第二控制器。如图3和图4所示,该控制器4的网络地址可以为44。该传输模块1的标识可以为442001。其中,44表示第二控制器的网络地址,2表示传输模块接入第二控制器的路径标识,001表示该传输模块的设备序列号。
作为一种可能的实现方式,针对任一传输模块,与该传输模块连接的各控制点位的标识,可以均与该传输模块所使用传输协议的协议地址相关且不存在重复。
示例性的,以该传输模块所使用的传输协议为ModbusRTU协议为例,在ModbusRTU协议中,为与该传输模块连接的不同控制点位分配的协议地址不同。因此可以将传输协议的协议地址作为控制点位的标识,以保障每个控制点位的标识的唯一性,且保障不同控制点位的标识不存在重复。
示例性的,仍然以如图3和图4所示的控制系统为例,传输模块1连接的控制点位的标识可以为1-1和1-2。传输模块2连接的控制点位的标识可以为2-1和2-2。
在一些实施例中,通过将传输模块接入第二控制器的路径标识、传输模块的设备序列号,以及,第二控制器的网络地址中的至少一项信息作为传输模块的标识,保障了传输模块的标识的唯一性。通过保障传输模块的标识的唯一性和控制点位的标识的唯一性,提高了跨子系统进行控制系统运行的准确性且提高了运行效率。
下面以第一配置信息还包括:控制器所属子控制系统中传输模块的标识为例,对第二控制器如何获取第二控制器的第一配置信息进行详细说明:
可选的,第二控制器可以在向第一控制器发送第二控制器的第一配置信息之前,先获取第二控制器所属子控制系统中各传输模块的标识。示例性的,第二控制器例如可以根据各传输模块接入该第二控制器的路径标识、传输模块的设备序列号,以及,第二控制器的网络地址等至少一项信息,确定各传输模块的标识。进一步的,第二控制器还可以将各传输模块的标识进行编码后保存为一个数据表,以提高查询效率和传输效率。
针对任一传输模块,第二控制器可以根据该传输模块所使用传输协议,获取与传输模块连接的各控制点位的标识。如前述所说,各控制点位的标识可以与该传输模块所使用传输协议的协议地址相关且不存在重复。
示例性的,以该传输模块使用的传输协议为BACnet协议为例,第二控制器可以根据BACnet协议可分配的协议地址,确定各控制点位的标识。
在获取各传输模块的标识,以及,各控制点位的标识之后,第二控制器可以根据该第二控制器所属子控制系统中各传输模块的标识,以及,各控制点位的标识,获取第二控制器的第一配置信息。可选的,第二控制器例如可以通过局域网中各控制器通用的通信协议, 对第二控制器的标识、第二控制器所属子控制系统中传输模块的标识,以及,各控制点位的标识进行处理,得到第二控制器的第一配置信息,以使第一控制器可以在接收到该第一配置信息之后,能够通过相同的通信协议解析得到该第二控制器的第一配置信息。
在一些实施例中,第二控制器可以收集第二控制器所属子控制系统中的传输模块的标识和控制点位的标识,使得第二控制器可以向其他控制器发送第二控制器的第一配置信息,进而使得该控制系统中可以实现跨控制器的控制。
在一些实施例中,第二控制器在根据第一指令,控制目标控制点位之前,还可以先判断该目标控制点位当前是否存在于该第二控制器所属子控制系统。作为一种可能的实现方式,图6为本公开提供的另一种控制方法的流程示意图。如图6所示,第二控制器可以接收来自第一控制器的第一指令。然后,第二控制器可以对该第一指令进行解析,以获取第一指令中包括的目标控制点位的标识。
然后,第二控制器可以根据目标控制点位的标识,确定目标控制点位是否存在于第二控制器所属子控制系统。可选的,该第二控制器中预先存储有第二控制器所属子控制系统中的各控制点位的标识列表。第二控制器可以根据第二控制器所属子控制系统中的各控制点位的标识列表,以及,目标控制点位的标识,确定目标控制点位是否存在于第二控制器所属子控制系统。若该各控制点位的标识列表中不包括目标控制点位的标识,则第二控制器可以确定目标控制点位不存在于第二控制器所属子控制系统。若该各控制点位的标识列表中包括目标控制点位的标识,则第二控制器可以确定目标控制点位存在于第二控制器所属子控制系统。
若第二控制器根据目标控制点位的标识,确定目标控制点位存在于第二控制器所属子控制系统,说明第二控制器可以对该目标控制点位进行控制。则第二控制器可以执行前述步骤S103,也即是根据第一指令,控制目标控制点位。
若第二控制器根据目标控制点位的标识,确定目标控制点位不存在于第二控制器所属子控制系统,说明第二控制器无法控制该目标控制点位。因此,第二控制器可以向第一控制器发送用于指示该目标控制点位不存在于该第二控制器所属子控制系统的反馈信息。
相应的,第一控制器可以接收该第二控制器“在根据目标控制点位的标识,确定目标控制点位不存在于第二控制器所属子控制系统时”向该第一控制器发送的反馈信息。进一步的,第一控制器在接收到该反馈信息之后,还可以输出该反馈信息。可选的,第一控制器例如可以通过显示装置显示该反馈信息。或者,第一控制器还可以通过语音输出装置播报该反馈信息。通过输出该反馈信息,使得用户可以知晓当前无法通过第二控制器控制该目标控制点位,提高了用户体验。
在一些实施例中,进一步的,第一控制器在接收到该反馈信息之后,还可以将自身存储的第二控制器的第一配置信息中的该目标控制点位的标识删除,以避免再次向第二控制器发送包括目标控制点位的标识的第一指令,进一步提高了第一控制器的运行效率。
下面以上述控制系统为应用于楼宇行业的暖通控制系统为例,对本公开提供的控制方法进行示例性说明:
示例性的,图7为本公开提供的又一种控制方法的流程示意图。如图7所示,该方法可以包括以下步骤:
步骤1、为各子控制系统中控制器配置具有唯一性的ID。
可选的,上述各控制器的ID可以是用户确定并预先存储在各控制器中的。或者,上述控制器的ID还可以与控制器的硬件配置相关。例如控制器ID可以为设备序列号或者媒体存取控制位址(Media Access Control Address,MAC地址)等。
步骤2、各控制器通过相同的通信协议,使用上述控制器的ID,通过以太网或者Wi-Fi接入到同一局域网络中。
其中,此处的所说的通信协议可以满足一下功能:
1、该通信协议可以借助传输控制协议/网际协议(Transmission Control Protocol/Internet Protocol,TCP/IP协议)可以在局域网中进行数据传播。
2、该通信协议支持以广播的形式对其他控制器发出信息获取请求。接受到该请求的控制器可以根据自身的第一配置信息对广播的请求进行回复。
3、该通信协议支持端对端的方式对数据进行查询与修改。端对端需要以独有的控制器ID对需要查询与修改的控制器进行约束,保证控制器ID的唯一性。
步骤3、各控制器获取控制器所属子控制系统中的各传输模块的ID和控制点位的ID,并根据控制器ID、传输模块ID以及控制点位ID,得到控制器的第一配置信息。
可选的,步骤3的具体实现方式可以参照前述一些实施例所述的方法,在此不再赘述。
步骤4、第一控制器使用第一控制器ID,通过广播方式向第二控制器发送配置信息获取请求。
步骤5、第二控制器响应该配置信息获取请求,向第一控制器发送第二控制器的第一配置信息。
步骤6、第一控制器还可以通过编程页面或者组态编辑页面接收用户输入的第二控制器的第二配置信息。
步骤7、第一控制器在进行自动化逻辑计算,确定需要对第二控制器所属子控制系统中的目标控制点位进行控制时,生成第一指令。
步骤8、第一控制器根据第二控制器的标识,向第二控制器发送该第一指令。
步骤9、第二控制器获取该第一指令中包括的目标控制点位的标识。
步骤10、第二控制器根据该目标控制点位的标识,判断该目标控制点位当前是否存在于该第二控制器所属子控制系统。
若是,则执行步骤11。若否,则执行步骤12和13。
步骤11、第二控制器根据第一指令,通过目标传输模块控制目标控制点位。
步骤12、第二控制器向第一控制器发送用于指示该目标控制点位不存在于该第二控制器所属子控制系统的反馈信息。
步骤13、第一控制器输出该反馈信息。
在一些实施例中,通过将控制系统中各子控制系统的控制器接入同一局域网,且各控制器获取其他控制器的配置信息,使得不同子控制系统之间,可以通过控制器实现跨控制器的控制,提高了控制系统运行的灵活性。通过一个控制器的编程页面和组态编辑页面获取其他控制器的配置信息,使得可以通过一个控制器实现跨控制器的编程和组态编辑。相较于现有技术中需要切换不同控制器的编程页面和组态编辑页面,每一个控制器都需要单独进行设置,本公开提供的跨设备编程和跨设备组态编辑的方法提高了控制系统中编程的灵活性,进一步提高了控制系统运行的灵活性。
图8为本公开提供的一种控制装置20的结构示意图。该控制装置可以应用于前述任一实施例所述的控制器。如图8所示,该控制装置20可以包括:第一处理模块21、第二处理模块22,以及,发送模块23。其中,
第一处理模块21,用于确定目标控制点位,以及,所述目标控制点位待执行的第一指令。其中,所述第一指令包括所述目标控制点位的标识。
第二处理模块22,用于根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识。
发送模块23,用于根据所述第二控制器的标识,向所述第二控制器发送所述第一指令,以使所述第二控制器根据所述第一指令,控制所述目标控制点位。
可选的,该控制装置20还可以包括:接收模块24,用于接收所述控制系统中各所述控制器发送的第一配置信息。其中,所述第一配置信息包括:控制器的标识,以及,至少一个控制点位的标识。可选的,第二处理模块22,还用于根据各所述控制器发送的第一配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
可选的,接收模块24,还用于通过所述第一控制器的编程页面或者组态编辑页面,接收用户输入的所述第二控制器的第二配置信息。其中,所述第二配置信息包括:所述第二控制器的标识,以及,除所述第一配置信息中包括的控制点位之外的至少一个控制点位的标识。可选的,第二处理模块22,还用于根据所述第二配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
可选的,所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标识。所述传输模块的标识包括下述至少一项信息:所述传输模块接入所述传输模块所属子控制系统中的控制器的路径标识、所述传输模块的设备序列号,以及,所述控制器的网络地址;针对任一传输模块,与该传输模块连接的各控制点位的标识,均与该传输模块所使用传输协议的协议地址相关且不存在重复。
可选的,接收模块24,还用于在所述根据所述第二控制器的标识,向所述第二控制器发送所述第一指令之后,接收来自所述第二控制器的反馈信息。其中,所述反馈信息为所述第二控制器在根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统时,向所述第一控制器反馈的;所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统。
可选的,该装置20还可以包括输出模块25,用于输出所述反馈信息。
本公开提供的控制装置20,用于执行前述第一控制器执行的控制方法的一些实施例,其实现原理与技术效果类似,对此不再赘述。
图9为本公开提供的一种控制装置30的结构示意图。该控制装置30可以应用于如前述任一实施例所述的第二控制器。如图9所示,该控制装置30可以包括:接收模块31和控制模块32。其中,
接收模块31,用于接收来自第一控制器的第一指令。其中,所述第一指令为所述第一控制器在根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之后,根据所述第二控制器的标识,向所述第二控制器发送的;所述第一指令包括所述目标控制点位的标识。
控制模块32,用于根据所述第一指令,控制所述目标控制点位。
可选的,该装置30还可以包括发送模块33,用于向所述第一控制器发送所述第二控制器的第一配置信息。其中,所述第一配置信息包括:所述第二控制器的标识,以及,至少一个控制点位的标识。
可选的,以所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标识为例,该控制装置30还可以包括获取模块34,用于在向所述第一控制器发送所述第二控制器的第一配置信息之前,获取所述第二控制器所属子控制系统中各传输模块的标识;针对任一所述传输模块,根据所述传输模块所使用传输协议,获取与所述传输模块连接的各控制点位的标识;根据所述第二控制器所属子控制系统中各传输模块的标识,以及,所述各控制点位的标识,获取所述第二控制器的第一配置信息。
可选的,控制模块32,还用于在所述根据所述第一指令,控制所述目标控制点位之前,在根据所述目标控制点位的标识,确定所述目标控制点位存在于所述第二控制器所属子控制系统时,根据所述第一指令,控制所述目标控制点位。可选的,发送模块33,还用于在根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统时,向所述第一控制器发送反馈信息。其中,所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统。
本公开提供的控制装置30,用于执行前述第二控制器执行的控制方法的一些实施例,其实现原理与技术效果类似,对此不再赘述。
本公开还提供一种暖通设备。该暖通设备可以包括如前述任一实施例所述的控制系统。该暖通设备的实现原理与技术效果与前述控制方法类似,在此不再赘述。
本公开还提供一种电子设备。该电子设备可以为上述控制系统中的任一控制器。该电子设备具有的技术效果与前述控制方法类似,在此不再赘述。图10为本公开提供的一种电子设备结构示意图。如图10所示,该电子设备400可以包括:至少一个处理器401和存储器402。
存储器402,用于存放程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。
存储器402可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
处理器401用于执行存储器402存储的计算机执行指令,以实现前述方法实施例所描述的控制方法。其中,处理器401可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本公开一些实施例的一个或多个集成电路。
可选的,该电子设备400还可以包括通信接口403。在具体实现上,如果通信接口403、存储器402和处理器401独立实现,则通信接口403、存储器402和处理器401可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,但并不表示仅有一根总线或一种类型的总线。
可选的,在具体实现上,如果通信接口403、存储器402和处理器401集成在一块芯 片上实现,则通信接口403、存储器402和处理器401可以通过内部接口完成通信。
本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质,具体的,该计算机可读存储介质中存储有程序指令,程序指令用于上述一些实施例中的方法。
本公开还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。电子设备可以从可读存储介质读取该执行指令,电子设备执行该执行指令使得实施上述的各种实施方式提供的控制方法。
最后应说明的是:以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的范围。

Claims (16)

  1. 一种控制方法,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述方法应用于第一控制器,所述第一控制器为任一所述子控制系统中的控制器,所述方法包括:
    确定目标控制点位,以及,所述目标控制点位待执行的第一指令;所述第一指令包括所述目标控制点位的标识;
    根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识;
    根据所述第二控制器的标识,向所述第二控制器发送所述第一指令,以使所述第二控制器根据所述第一指令,控制所述目标控制点位。
  2. 根据权利要求1所述的方法,其中,在所述根据所述目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之前,所述方法还包括:
    接收所述控制系统中各所述控制器发送的第一配置信息,所述第一配置信息包括:控制器的标识,以及,至少一个控制点位的标识;
    根据各所述控制器发送的第一配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    通过所述第一控制器的编程页面或者组态编辑页面,接收用户输入的所述第二控制器的第二配置信息,所述第二配置信息包括:所述第二控制器的标识,以及,除所述第一配置信息中包括的控制点位之外的至少一个控制点位的标识;
    根据所述第二配置信息,生成所述控制点位的标识与控制器的标识的映射关系。
  4. 根据权利要求2所述的方法,其中,所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标识,所述传输模块的标识包括下述至少一项信息:所述传输模块接入所述传输模块所属子控制系统中的控制器的路径标识、所述传输模块的设备序列号,以及,所述控制器的网络地址;针对任一传输模块,与该传输模块连接的各控制点位的标识,均与该传输模块所使用传输协议的协议地址相关且不存在重复。
  5. 根据权利要求1-4任一项所述的方法,其中,在所述根据所述第二控制器的标识,向所述第二控制器发送所述第一指令之后,所述方法还包括:
    接收来自所述第二控制器的反馈信息,所述反馈信息为所述第二控制器在根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统时,向所述第一控制器反馈的;所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统;
    输出所述反馈信息。
  6. 一种控制方法,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所 述子控制系统中,所述控制器用于控制至少一个控制点位;所述方法应用于第二控制器,所述第二控制器为任一所述子控制系统中的控制器,所述方法包括:
    接收来自第一控制器的第一指令;所述第一指令为所述第一控制器在根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之后,根据所述第二控制器的标识,向所述第二控制器发送的;所述第一指令包括所述目标控制点位的标识;
    根据所述第一指令,控制所述目标控制点位。
  7. 根据权利要求6所述的方法,其中,在所述接收来自第一控制器的第一指令之前,所述方法还包括:
    向所述第一控制器发送所述第二控制器的第一配置信息;所述第一配置信息包括:所述第二控制器的标识,以及,至少一个控制点位的标识。
  8. 根据权利要求7所述的方法,其中,所述第一配置信息还包括:所述控制器所属子控制系统中传输模块的标识,在向所述第一控制器发送所述第二控制器的第一配置信息之前,所述方法还包括:
    获取所述第二控制器所属子控制系统中各传输模块的标识;
    针对任一所述传输模块,根据所述传输模块所使用传输协议,获取与所述传输模块连接的各控制点位的标识;
    根据所述第二控制器所属子控制系统中各传输模块的标识,以及,所述各控制点位的标识,获取所述第二控制器的第一配置信息。
  9. 根据权利要求6-8任一项所述的方法,其中,在所述根据所述第一指令,控制所述目标控制点位之前,所述方法还包括:
    若根据所述目标控制点位的标识,确定所述目标控制点位存在于所述第二控制器所属子控制系统,则根据所述第一指令,控制所述目标控制点位;
    若根据所述目标控制点位的标识,确定所述目标控制点位不存在于所述第二控制器所属子控制系统,则向所述第一控制器发送反馈信息;所述反馈信息用于指示所述目标控制点位不存在于所述第二控制器所属子控制系统。
  10. 一种控制系统,所述控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个所述控制点位;所述控制器,用于执行如权利要求1-9任一项所述的方法。
  11. 一种暖通设备,包括如权利要求10所述的控制系统。
  12. 一种控制装置,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述装置应用于第一控制器,所述第一控制器为任一所述子控制系统中的控制器,所述装置包括:
    第一处理模块,用于确定目标控制点位,以及,所述目标控制点位待执行的第一指令;所述第一指令包括所述目标控制点位的标识;
    第二处理模块,用于根据所述目标控制点位的标识,以及,控制点位的标识与控 制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识;
    发送模块,用于根据所述第二控制器的标识,向所述第二控制器发送所述第一指令,以使所述第二控制器根据所述第一指令,控制所述目标控制点位。
  13. 一种控制装置,控制系统包括:至少两个子控制系统;所述子控制系统包括:控制器,以及,至少一个执行器;所述执行器包括至少一个控制点位;在任一所述子控制系统中,所述控制器用于控制至少一个控制点位;所述装置应用于第二控制器,所述第二控制器为任一所述子控制系统中的控制器,所述装置包括:
    接收模块,用于接收来自第一控制器的第一指令;所述第一指令为所述第一控制器在根据目标控制点位的标识,以及,控制点位的标识与控制器的标识的映射关系,确定所述目标控制点位所属子控制系统的第二控制器的标识之后,根据所述第二控制器的标识,向所述第二控制器发送的;所述第一指令包括所述目标控制点位的标识;
    控制模块,用于根据所述第一指令,控制所述目标控制点位。
  14. 一种电子设备,包括:至少一个处理器、存储器;
    所述存储器存储计算机执行指令;
    所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备执行权利要求1-9任一项所述的方法。
  15. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机执行指令,当所述计算机执行指令被电子设备执行时,实现权利要求1-9任一项所述的方法。
  16. 一种计算机程序产品,包括计算机程序,所述计算机程序被电子设备执行时实现权利要求1-9任一项所述的方法。
PCT/CN2023/117103 2022-09-08 2023-09-05 控制方法、系统、装置、电子设备、存储介质及程序产品 WO2024051708A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211093101.9 2022-09-08
CN202211093101.9A CN115576231A (zh) 2022-09-08 2022-09-08 控制方法、系统、装置、电子设备、存储介质及程序产品

Publications (1)

Publication Number Publication Date
WO2024051708A1 true WO2024051708A1 (zh) 2024-03-14

Family

ID=84582004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/117103 WO2024051708A1 (zh) 2022-09-08 2023-09-05 控制方法、系统、装置、电子设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN115576231A (zh)
WO (1) WO2024051708A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576231A (zh) * 2022-09-08 2023-01-06 上海美控智慧建筑有限公司 控制方法、系统、装置、电子设备、存储介质及程序产品

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859480A (zh) * 2010-04-29 2010-10-13 顾翠红 电器无线控制网络
CN101867599A (zh) * 2010-04-29 2010-10-20 顾翠红 电器无线控制网络的控制方法
CN101867990A (zh) * 2010-04-29 2010-10-20 顾翠红 具有优先级的电器无线控制网络
CN102692898A (zh) * 2012-05-08 2012-09-26 夏洋 一种电器控制方法、装置及系统
CN108398886A (zh) * 2017-02-08 2018-08-14 杭州老板电器股份有限公司 家用电器控制方法、家用电器及物联网关
CN110351377A (zh) * 2019-07-17 2019-10-18 成都鑫芯电子科技有限公司 一种多级联动控制方法及系统
US20200028734A1 (en) * 2018-07-20 2020-01-23 Brilliant Home Technology, Inc. Distributed system of home device controllers
CN111930496A (zh) * 2020-06-18 2020-11-13 珠海格力电器股份有限公司 集成控制方法、装置、楼宇控制系统、存储介质及处理器
CN115576231A (zh) * 2022-09-08 2023-01-06 上海美控智慧建筑有限公司 控制方法、系统、装置、电子设备、存储介质及程序产品

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859480A (zh) * 2010-04-29 2010-10-13 顾翠红 电器无线控制网络
CN101867599A (zh) * 2010-04-29 2010-10-20 顾翠红 电器无线控制网络的控制方法
CN101867990A (zh) * 2010-04-29 2010-10-20 顾翠红 具有优先级的电器无线控制网络
CN102692898A (zh) * 2012-05-08 2012-09-26 夏洋 一种电器控制方法、装置及系统
CN108398886A (zh) * 2017-02-08 2018-08-14 杭州老板电器股份有限公司 家用电器控制方法、家用电器及物联网关
US20200028734A1 (en) * 2018-07-20 2020-01-23 Brilliant Home Technology, Inc. Distributed system of home device controllers
CN110351377A (zh) * 2019-07-17 2019-10-18 成都鑫芯电子科技有限公司 一种多级联动控制方法及系统
CN111930496A (zh) * 2020-06-18 2020-11-13 珠海格力电器股份有限公司 集成控制方法、装置、楼宇控制系统、存储介质及处理器
CN115576231A (zh) * 2022-09-08 2023-01-06 上海美控智慧建筑有限公司 控制方法、系统、装置、电子设备、存储介质及程序产品

Also Published As

Publication number Publication date
CN115576231A (zh) 2023-01-06

Similar Documents

Publication Publication Date Title
US10826947B2 (en) Data management profile for a fabric network
WO2018108082A1 (zh) 物联网网关联动控制方法及物联网网关
KR101560470B1 (ko) 스마트 연결 장치 및 스마트 연결 장치를 활용하여 IoT 장치를 제어하기 위한 방법
US10797988B2 (en) Method and apparatus for controlling and managing a field device using an industry internet operating system
WO2024051708A1 (zh) 控制方法、系统、装置、电子设备、存储介质及程序产品
CN105308993B (zh) 用于配置节点的方法和因此配置的节点
US7650323B2 (en) CAN communication for building automation system
TWI470970B (zh) 開放式監控系統及其操作方法
US7433740B2 (en) CAN communication for building automation systems
US20150039670A1 (en) Fabric network
TW201732627A (zh) 控制物聯網設備的方法及裝置、伺服器、移動設備
WO2022142623A1 (zh) 智能设备控制方法、装置、电子设备和计算机可读介质
WO2020007372A1 (zh) 基于工业以太网的控制方法及装置
CN107450434B (zh) 一种基于二级网络的楼宇自控系统及方法
CN108833268B (zh) 一种家庭无线传感网变量描述设备的控制系统及运行方法
CN104954449B (zh) 物联网控制方法及装置
TW201826139A (zh) 多微控制器系統、物聯網閘道系統、以及基於橋接器的多微控制器系統之控制方法
TW201705737A (zh) 一種建構於實體通訊協定中的虛擬通訊協定
WO2015058413A1 (zh) 一种数据配置方法及网络管理服务器
JP4513506B2 (ja) 機器管理システムおよびゲートウェイ装置
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
CN106657093B (zh) 一种用于智能家居的网关协议
US20170094035A1 (en) Management method and management device
WO2020258099A1 (zh) 配置物联网设备的方法和物联网设备
EP3096505B1 (en) Method and apparatus for processing interactions between devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23862402

Country of ref document: EP

Kind code of ref document: A1