Electric window control method and system based on fire-fighting linkage
By acquiring and analyzing multi-dimensional information from the building's fire protection system, a set of electric window control strategies is generated, which solves the problem of the single control method for electric windows and improves fire safety performance.
Patent Information
- Application Number
- CN202511050966.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2025-11-28
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN121024443A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically, to a method and system for controlling electric windows based on fire alarm linkage. Background Technology
[0002] In the field of building fire protection, ensuring the safety of people and minimizing property damage are paramount objectives. Traditional building fire protection systems often employ relatively simple and independent control methods for motorized windows. On the one hand, some motorized windows rely solely on manual operation or simple timed control, failing to respond promptly and effectively to the actual fire situation during emergencies such as fires. For example, when there is a lack of effective correlation between the fire area and the location of the motorized window, the window may fail to open at the appropriate time to expel smoke and heat, or it may close incorrectly, hindering evacuation and fire rescue efforts. On the other hand, existing fire protection systems lack comprehensive and precise information exchange and analysis mechanisms between themselves and motorized windows. Fire protection systems typically only provide basic fire alarm signals without comprehensively considering multi-dimensional information such as building structure, fire protection facility layout, and the installation location of the motorized window itself. This results in unscientific and unreasonable control strategies for motorized windows, making it difficult to adapt to complex and ever-changing fire scenarios and failing to fully leverage the important role of motorized windows in fire linkage, thus impacting the overall fire safety performance of the building. Summary of the Invention
[0003] In view of the aforementioned problems, and in conjunction with the first aspect of the present invention, embodiments of the present invention provide a method for controlling electric windows based on fire-fighting linkage, the method comprising:
[0004] Obtain a set of basic information on fire protection linkage of the building fire protection system. The set of basic information on fire protection linkage includes building structure information, fire protection facility layout information, electric window installation location information and real-time fire monitoring data.
[0005] The fire alarm linkage basic information set is subjected to multi-dimensional state analysis and processing to obtain building fire risk status information and electric window equipment linkage status information;
[0006] Based on the multi-dimensional state analysis results, fire linkage rule matching processing is performed to generate a set of electric window control strategies corresponding to the building fire risk state information and the electric window equipment linkage state information.
[0007] The electric window control strategy set is sorted according to the control priority parameter in the electric window control strategy set to obtain an electric window control instruction set arranged in execution order;
[0008] The electric window control command set is sent to the corresponding electric window actuator. The electric window actuator performs the opening, closing or adjustment operation of the electric window according to the command parameters in the electric window control command set, and returns the operation execution status information.
[0009] In another aspect, embodiments of the present invention also provide an electric window control system based on fire-fighting linkage, including a processor and a machine-readable storage medium connected to the processor. The machine-readable storage medium is used to store programs, instructions, or code, and the processor is used to execute the programs, instructions, or code in the machine-readable storage medium to implement the above-mentioned method.
[0010] Based on the above, by acquiring the basic information set of the building's fire protection system, which comprehensively covers key information such as building structure, fire protection facility layout, electric window installation location, and real-time fire monitoring data, multi-dimensional state analysis of the basic information set of fire protection linkage is performed. This allows for in-depth analysis of the building's fire risk status and the linkage status of the electric window equipment. Based on the results of the multi-dimensional state analysis, fire protection linkage rule matching is performed to generate a corresponding set of electric window control strategies. This achieves close adaptation between the control strategies and the actual fire situation, improving the targeting and effectiveness of the control. The control strategy set is sorted according to the control priority parameters, resulting in a set of electric window control instructions arranged in execution order. This ensures that electric windows can operate in a reasonable sequence in emergency situations, avoiding confusion and disorder. Finally, the control instruction set is sent to the electric window actuators and the operation execution status information is obtained, making the entire electric window control process more reliable and efficient, significantly improving the building's fire safety assurance capabilities in emergencies such as fires. Attached Figure Description
[0011] Figure 1 This is a schematic diagram of the execution flow of the electric window control method based on fire alarm linkage provided in an embodiment of the present invention.
[0012] Figure 2 This is a schematic diagram of exemplary hardware and software components of an electric window control system based on fire-fighting linkage provided in an embodiment of the present invention. Detailed Implementation
[0013] The present invention will now be described in detail with reference to the accompanying drawings. Figure 1 This is a flowchart illustrating an embodiment of the electric window control method based on fire alarm linkage provided by the present invention. The electric window control method based on fire alarm linkage will be described in detail below.
[0014] Step S110: Obtain the basic information set of fire linkage of the building fire protection system. The basic information set of fire linkage includes building structure information, fire protection facility layout information, electric window installation location information and real-time fire monitoring data.
[0015] This embodiment uses a commercial complex as an application scenario. The complex comprises multiple floors, each divided into different functional zones, such as shopping areas, dining areas, and office areas. When acquiring the basic information set of the building's fire protection system's fire linkage mechanism, relevant data needs to be collected from multiple systems and devices.
[0016] Step S111: Obtain building structure information through the building information model interface. The building structure information includes building floor distribution information, building functional zoning information, building component fire resistance rating information, and building evacuation route distribution information.
[0017] The Building Information Modeling (BIM) interface connects to the BIM system of the commercial complex, which stores detailed structural data about the complex. Floor distribution information includes floor identification, connections between floors, and floor heights. For example, the complex may have two underground floors and eight above-ground floors, each numbered B1, B2, F1 to F8. Floors are connected by staircases and elevators, and floor heights vary depending on the design. Functional zoning information details the division of different functional areas on each floor. For instance, F1 may be divided into a jewelry area, a cosmetics area, and a customer service center, with each area having clearly defined boundaries and size. Fire resistance rating information covers the fire resistance ratings of various building components, such as walls, columns, and floors. Different components have different fire resistance ratings based on their location and function within the building. Building evacuation route distribution information includes the location, width, and direction of evacuation staircases, evacuation corridors, and safety exits. For example, evacuation staircases on each floor are located at both ends and in the middle of the building, evacuation corridors run through the entire floor, and safety exits are located at the end of the evacuation route.
[0018] Step S112: Obtain fire protection facility layout information through the fire protection facility management system. The fire protection facility layout information includes fire detector installation location information, sprinkler system coverage area information, smoke exhaust system distribution information, and fire alarm device location information.
[0019] The fire protection facility management system stores data on all fire protection facilities in the commercial complex. The fire detector installation location information details the location of each fire detector, including the floor and specific area. For example, in the food and beverage area on floor F2, a fire detector is installed at predetermined intervals, and each detector has a unique identification number. The sprinkler system coverage area information describes the installation location of sprinkler heads and the area they cover. For example, sprinkler heads are evenly installed on the ceiling of the shopping area, with each sprinkler head covering a circular area. The coverage areas of multiple sprinkler heads overlap to ensure no blind spots. The smoke exhaust system distribution information includes the location and distribution of smoke exhaust fans and vents. For example, smoke exhaust vents are installed on the ceiling of corridors on each floor, and smoke exhaust fans are located on the roof and connected to the vents via pipes. The fire alarm device location information records the installation locations of devices such as manual alarm buttons and audible / visual alarms. For example, manual alarm buttons and audible / visual alarms are installed at corners of evacuation routes and near safety exits.
[0020] Step S113: Obtain the installation location information of the electric window through the building equipment management system. The installation location information of the electric window includes the building floor information where the electric window is located, the orientation information of the wall where the electric window is located, the size and specifications information of the electric window, and the communication address information of the electric window control module.
[0021] The building equipment management system stores installation information for all motorized windows in the commercial complex. The building floor information specifies the floor each motorized window is located on; for example, some are on F3, some on F5, etc. The wall orientation information records the orientation of the wall where the motorized window is installed; for example, some are installed on south-facing walls, some on north-facing walls, and others on east- or west-facing walls. The size specifications of the motorized windows include their length, width, and opening method. Motorized windows in different locations have different sizes and opening methods depending on their needs; for example, some motorized windows are larger for rapid smoke extraction, while others are relatively smaller. The communication address information for each motorized window control module is a unique communication identifier. This address allows for data transmission and command sending with the control module; for example, each motorized window control module has a unique network address.
[0022] Step S114: Obtain real-time fire monitoring data through the fire monitoring sensor network. The real-time fire monitoring data includes temperature monitoring data, smoke concentration monitoring data, gas composition monitoring data, and flame detection data.
[0023] The fire monitoring sensor network consists of sensors distributed throughout the commercial complex. These sensors collect relevant data in real time and transmit it to the data processing center. Temperature monitoring data is collected by temperature sensors, which monitor the temperature around their location, creating multiple temperature data points. Smoke concentration monitoring data is collected by smoke sensors, reflecting the smoke concentration in different areas; the smoke concentration data varies from area to area. Gas composition monitoring data is acquired by gas sensors, detecting the composition and concentration of gases such as carbon monoxide and carbon dioxide in the air. Flame detection data is collected by flame detectors to determine the presence of a flame; the data reflects the presence and characteristics of a flame.
[0024] Step S115: Perform unified data format processing on the building structure information, the fire protection facility layout information, the electric window installation location information, and the real-time fire monitoring data to generate a set of basic fire linkage information with unified data identifiers and timestamps.
[0025] The collected building structure information, fire protection facility layout information, electric window installation location information, and real-time fire monitoring data may have different data formats, such as text, tables, and binary data. These data need to be converted to a standard format, such as JSON. During the conversion process, it is crucial to ensure data integrity and accuracy, without losing any critical information. Simultaneously, a unique data identifier should be added to each data entry to uniquely identify it, facilitating subsequent data processing and querying. Furthermore, each data entry should be timestamped to record the time of its generation, allowing for chronological processing during analysis to understand data changes. After processing, the above information is combined to form a basic fire linkage information set.
[0026] Step S120: Perform multi-dimensional state analysis processing on the fire linkage basic information set to obtain building fire risk status information and electric window equipment linkage status information.
[0027] After obtaining the basic information on fire alarm linkage, it is necessary to conduct multi-dimensional analysis to understand the fire protection status of the building and the status of the electric window equipment from different perspectives.
[0028] Step S121: Extract real-time fire monitoring data from the fire linkage basic information set, perform outlier detection processing on the real-time fire monitoring data, identify abnormal monitoring data that exceeds the preset threshold range, and mark the monitoring location information corresponding to the abnormal monitoring data.
[0029] Real-time fire monitoring data is selected from the basic fire alarm information set. This data includes information on temperature, smoke concentration, gas composition, and flame detection. Anomaly detection and processing employ statistical methods. First, preset threshold ranges are determined for each type of data. These preset threshold ranges are reasonable intervals determined based on fire safety regulations and historical data. For example, the preset threshold range for temperature data is determined based on the temperature fluctuation range under normal conditions in the commercial complex. When a temperature data point exceeds this range, it may be considered an anomaly. By comparing each piece of real-time collected data with its corresponding preset threshold range, those data points exceeding the range are identified as anomaly monitoring data. Simultaneously, based on the monitoring location information contained in the data, the locations corresponding to the anomaly monitoring data are marked, such as marking an anomaly in temperature data at a specific location in the F3 floor catering area.
[0030] Step S122: Based on the abnormal monitoring data and the building floor distribution information and building functional zoning information in the building structure information, conduct fire risk level assessment processing to determine the fire risk level of each building functional zone.
[0031] Using the abnormal monitoring data obtained in step S121, and combining it with the building floor distribution information and building functional zoning information from the building structure information, a fire risk level assessment is conducted. The building floor distribution information helps determine the floor where the abnormal monitoring data is located, while the building functional zoning information clarifies the functional zoning within that floor. For each functional zoning, the quantity, type, and severity of the abnormal monitoring data it contains are statistically analyzed. For example, if multiple abnormal temperature and smoke concentration data exist in a certain functional zoning, it indicates a high fire risk in that area. According to preset assessment criteria, these abnormalities are converted into risk indicators, and by comprehensively calculating these risk indicators, the fire risk level of each building functional zoning is determined.
[0032] Step S1221: Perform spatial association processing between the anomaly monitoring data and the building functional zoning information in the building structure information to determine the anomaly monitoring data type and data value contained in each building functional zoning.
[0033] Anomaly monitoring data is correlated with building functional zoning information through spatial coordinate matching. Each anomaly monitoring data point has corresponding monitoring location coordinates, and the building functional zoning information also includes the boundary coordinates of each zone. By comparing the coordinates of the anomaly monitoring data with the boundary coordinates of each functional zone, it is determined which functional zone the anomaly monitoring data belongs to. Then, the anomaly monitoring data within each functional zone is statistically analyzed to identify its type, such as temperature anomaly, smoke concentration anomaly, etc., and its corresponding specific data values, thereby determining the type and severity of the anomalies within each functional zone.
[0034] Step S1222: Based on the preset risk assessment index system, perform index quantification on the abnormal monitoring data in each building functional zone, and convert different types of abnormal monitoring data into corresponding risk index values.
[0035] The pre-defined risk assessment indicator system includes quantitative standards for different types of abnormal monitoring data. For example, abnormal temperature data corresponds to different risk indicator values based on the degree to which it exceeds a threshold, and abnormal smoke concentration data also has corresponding conversion rules. Following this risk assessment indicator system, various types of abnormal monitoring data within each building functional zone are quantified one by one and converted into risk indicator values of a uniform scale.
[0036] Step S1223: Based on the risk index value and the fire resistance rating information of building components in the building structure information, calculate the basic risk index for each building functional zone.
[0037] Fire resistance ratings of building components reflect their ability to resist fire within a functional zone. Higher fire resistance ratings mean components remain stable for longer periods during a fire, resulting in relatively lower risk. By combining the risk index value of each functional zone with the corresponding fire resistance rating of its building components, and using a pre-defined calculation method—such as multiplying the risk index value by a coefficient corresponding to the fire resistance rating—a basic risk index is obtained for each functional zone. This basic risk index initially reflects the basic fire risk level of that zone.
[0038] Step S1224: Based on the building evacuation route distribution information in the building structure information, calculate the evacuation difficulty coefficient of each building functional zone. The evacuation difficulty coefficient is negatively correlated with the number of evacuation routes and negatively correlated with the width of the evacuation routes.
[0039] The building evacuation route distribution information includes the number and width of evacuation routes within and around each functional area. The more numerous and wider the evacuation routes, the easier it is to evacuate people, and the lower the evacuation difficulty coefficient. Based on a preset calculation formula, the number and width of evacuation routes are converted into an evacuation difficulty coefficient. For example, a larger number and wider evacuation routes result in a lower calculated evacuation difficulty coefficient; conversely, fewer and smaller routes result in a higher coefficient.
[0040] Step S1225: Based on the basic risk index and the evacuation difficulty coefficient, calculate the comprehensive risk index of each building functional zone through the risk level assessment model. The comprehensive risk index is the weighted sum of the basic risk index and the evacuation difficulty coefficient.
[0041] The risk level assessment model is a trained model that comprehensively considers a basic risk index and an evacuation difficulty coefficient. The basic risk index and the evacuation difficulty coefficient are each assigned a corresponding weight, determined based on their respective impact on fire risk. The basic risk index is multiplied by its weight, and the evacuation difficulty coefficient is multiplied by its weight; the two results are then added together to obtain a comprehensive risk index for each building functional zone. This comprehensive risk index reflects the fire risk status of that zone.
[0042] Step S1226: Compare the comprehensive risk index with the preset risk level threshold to determine the fire risk level corresponding to each building functional area. The fire risk level includes multiple progressively increasing level classifications.
[0043] The preset risk level thresholds are multiple values set based on fire safety standards and practical experience. These values divide the range of the comprehensive risk index into different intervals, each interval corresponding to a fire risk level. The comprehensive risk index of each building functional area is compared with these thresholds to determine its corresponding interval, thereby determining the fire risk level of that functional area, such as low risk, medium risk, relatively high risk, and high risk, etc., in ascending order.
[0044] Step S123: Based on the fire risk level and the fire detector installation location information in the fire protection facility layout information, determine the spatial distribution range of the fire risk area and generate building fire risk status information, which includes risk area coordinate information, risk level information and risk spread trend information.
[0045] Based on the fire risk level of each building's functional zones, and combined with the fire detector installation location information from the fire protection facility layout information, the spatial distribution range of fire risk areas is determined. Fire detector installation location information helps to more accurately locate risk points because the detectors are densely distributed and reflect specific risk locations. For functional zones with higher fire risk levels, the boundary coordinates of the risk area are determined by combining the alarm status of the fire detectors within that area, forming risk area coordinate information. Simultaneously, the fire risk level of each risk area is incorporated into this information, forming risk level information. By analyzing environmental factors surrounding the risk area, such as airflow direction and building structure, the possible direction and speed of fire spread are predicted, generating risk spread trend information. All of the above information collectively constitutes the building fire risk status information.
[0046] Step S124: Extract the installation location information of the electric window and the communication address information of the electric window control module from the fire linkage basic information set, and send a status query command to each electric window control module through the electric window control network.
[0047] The installation location information and communication address information of the electric window control modules are extracted from the fire alarm linkage basic information set, thus clarifying the location of each electric window and the communication address of its control module. The electric window control network is a communication network connecting the control center and each electric window control module. Through this network, the control center can send status query commands to each electric window control module. The status query command contains query content, such as the current open / closed status of the electric window and motor operating parameters. The command is accurately sent to the corresponding module through the communication address of the electric window control module.
[0048] Step S125: Receive status response data returned by each electric window control module. The status response data includes the current open / closed status information of the electric window, the operating parameters of the electric window motor, the communication status information of the electric window control module, and the fault diagnosis information of the electric window.
[0049] Upon receiving a status query command, each electric window control module can collect its own relevant status data and generate status response data. The current open / closed status information of the electric window indicates whether it is open or closed, and the degree of openness. The electric window motor operating parameters include current, voltage, and speed, reflecting the motor's operating status. The communication status information of the electric window control module displays the communication connection quality between the control module and the control center, such as signal strength and data transmission rate. The electric window fault diagnosis information records whether a fault exists in the electric window, as well as the type and location of the fault. The above status response data is returned to the control center through the electric window control network.
[0050] Step S126: Based on the status response data, perform linkage availability assessment processing on each electric window device to generate linkage status information of the electric window device. The linkage status information of the electric window device includes electric window device identification information, device availability status information and device control priority information.
[0051] Using the status response data received in step S125, an interlocking availability assessment is performed on each electric window device to determine whether it can participate in fire alarm control and to ascertain its control priority. The assessment process involves multiple checks and calculations, ultimately generating interlocking status information for the electric window device that includes its identifier, availability status, and control priority.
[0052] Step S1261: Extract the current switch status information and motor operating parameter information of the electric window from the status response data, and determine whether the electric window is in normal working state. When the current switch status information of the electric window is consistent with the preset initial status information and the motor operating parameter information of the electric window is within the preset parameter range, mark it as a preliminary usable state.
[0053] The preset initial state information represents the normal open / closed state of the electric window, such as the default closed or half-open state. Comparing the current open / closed state information of the electric window with the preset initial state information, if they match, the open / closed state is normal. Simultaneously, the preset parameter range represents the normal range of motor operating parameters. Comparing the electric window motor operating parameters with this preset parameter range, if they are within the preset parameter range, the motor is operating normally. When both conditions are met, the electric window is marked as initially usable.
[0054] Step S1262: Extract the communication status information of the electric window control module from the status response data, detect the communication connection quality between the electric window control module and the control center, and mark it as a communication available state when the communication connection quality parameter is higher than the preset communication threshold.
[0055] Communication connection quality parameters include signal strength and data transmission success rate. The preset communication threshold is the minimum standard to ensure normal communication. The extracted communication connection quality parameters are compared with the preset communication threshold. If the parameters are higher than the preset threshold, it indicates that the communication between the control module and the control center is good, and the electric window is marked as having a usable communication status.
[0056] Step S1263: Extract fault diagnosis information of the electric window from the status response data, identify whether there is a potential fault or historical fault record in the electric window device, and mark it as fault-free status when there is no fault record or the fault record has been repaired.
[0057] Analyze the fault diagnosis information of the electric window to check for potential fault indications or unresolved historical fault records. If there are no fault records, or if historical fault records show that the fault has been repaired, it indicates that the electric window device has no fault-related issues and is marked as troubleshootable.
[0058] Step S1264: When the electric window device simultaneously meets the initial availability status, communication availability status, and troubleshooting status, it is determined to be in the device availability status; otherwise, it is determined to be in the device unavailability status.
[0059] Based on the marking results of steps S1261, S1262, and S1263, the availability status of the electric window device is determined. The electric window device can only be determined to be available when all three statuses are met; if any one status is not met, the device is considered unavailable.
[0060] Step S1265: Based on the building floor information and wall orientation information of the electric window in the electric window installation location information, and combined with the risk area coordinate information in the building fire risk status information, calculate the spatial distance parameters between each electric window device and the risk area.
[0061] Based on the floor and wall orientation of the motorized window, and combined with the coordinate information of the risk area, spatial distance calculation methods, such as three-dimensional coordinate distance calculation, are used to derive the spatial distance parameter from each motorized window device to the risk area. This spatial distance parameter reflects the proximity of the motorized window to the fire risk area.
[0062] Step S1266: Based on the spatial distance parameters and the size specifications of the electric windows, determine the smoke exhaust efficiency coefficient and ventilation efficiency coefficient of each electric window device. The smoke exhaust efficiency coefficient is negatively correlated with the spatial distance parameters and positively correlated with the size specifications of the electric windows.
[0063] Smoke extraction efficiency coefficient and ventilation efficiency coefficient are indicators that measure the effectiveness of motorized windows in fire alarm linkage. The smaller the spatial distance parameter, the closer the motorized window is to the risk area, and the higher the smoke extraction efficiency coefficient. Conversely, the larger the size of the motorized window, the stronger its smoke extraction capacity, and the higher its smoke extraction efficiency coefficient. In this commercial complex, for example, a motorized window in the F3 floor dining area has a smaller spatial distance parameter and a larger size, so its smoke extraction efficiency coefficient will be relatively higher.
[0064] Determining the ventilation efficiency coefficient requires considering not only spatial distance parameters and the dimensions of the motorized window, but also the orientation of the wall where the window is located. In this commercial complex, the ventilation effect varies depending on the wind direction and force of the walls. For example, south-facing walls generally receive more wind, so motorized windows installed on south-facing walls will have a slightly higher ventilation efficiency coefficient than those installed on north-facing walls, all other things being equal. Specifically, a basic ventilation coefficient is first calculated based on the spatial distance parameters and the dimensions of the motorized window. Then, this basic ventilation coefficient is adjusted according to the wall orientation information to obtain the final ventilation efficiency coefficient. For example, if the basic ventilation coefficient is a certain value, when the motorized window is located on a south-facing wall, the basic ventilation coefficient is multiplied by an adjustment factor greater than 1; when it is located on a north-facing wall, it is multiplied by an adjustment factor less than 1, thus reflecting the impact of orientation on ventilation efficiency.
[0065] Step S1267: Based on the smoke exhaust efficiency coefficient and ventilation efficiency coefficient, calculate the linkage control priority index of each electric window device, sort the linkage control priority index from high to low, and generate device control priority information.
[0066] In this commercial complex, when assigning appropriate weights to the smoke extraction efficiency coefficient and the ventilation efficiency coefficient, the importance of both in a fire situation can be comprehensively considered. Generally, smoke extraction can effectively reduce smoke concentration in the early stages of a fire, ensuring personnel evacuation and firefighting rescue; therefore, the weight of the smoke extraction efficiency coefficient will be slightly higher than that of the ventilation efficiency coefficient. Assume the weight of the smoke extraction efficiency coefficient is 'a', the weight of the ventilation efficiency coefficient is 'b', and a + b = 1, a > b.
[0067] When calculating the linkage control priority index, the smoke exhaust efficiency coefficient is multiplied by a weight 'a' to obtain the smoke exhaust contribution value; the ventilation efficiency coefficient is multiplied by a weight 'b' to obtain the ventilation contribution value. Then, the smoke exhaust contribution value and the ventilation contribution value are concatenated to form a two-dimensional linkage control priority index. For example, if the smoke exhaust contribution value of a certain electric window is p and the ventilation contribution value is v, then its linkage control priority index is [p, v].
[0068] When ranking the priority indices of all motorized window devices, the smoke extraction contribution value is compared first, with the motorized window having a larger smoke extraction contribution value having a higher priority. If the smoke extraction contribution values are the same, the ventilation contribution values are compared, with the ventilation contribution value having a higher priority. This ranking method determines the order of the motorized window devices, thus generating device control priority information. For example, on floor F3 of this commercial complex, after calculation and ranking, motorized window W301 is determined to have the highest priority, followed by W302, then W303, and so on.
[0069] Step S1268: Link and store the electric window device identification information, device availability status information and device control priority information to generate electric window device linkage status information.
[0070] In this commercial complex, the identification information for each electric window device is a unique number, such as W101, W102...W805, where the first number represents the floor and the second number represents the serial number of the electric window on that floor. The device availability status information is indicated by "available" or "unavailable," and the device control priority information is the sorting result obtained in step S1267.
[0071] When storing the associated information, a database table is used. The table contains three fields: the electric window device identifier, the device availability status, and the device control priority. The relevant information for each electric window is stored in the table. For example, the record for electric window W301 is "W301, Available, 1", indicating that W301 is available and has a priority of 1; the record for electric window W305 is "W305, Unavailable, -", indicating that W305 is unavailable and has no priority. This associated storage creates the linked status information for the electric window devices, facilitating quick querying and retrieval in subsequent steps.
[0072] Step S130: Based on the multi-dimensional state analysis results, perform fire linkage rule matching processing to generate a set of electric window control strategies corresponding to the building fire risk state information and the electric window device linkage state information.
[0073] In this commercial complex, the multi-dimensional state analysis results have effectively presented the building's fire risk status and the linkage capability of the electric window equipment. The next step is to match appropriate rules from the preset rule base based on these results, and then generate control strategies.
[0074] Step S131: Extract building fire risk status information and electric window device linkage status information from the multi-dimensional status analysis results.
[0075] When extracting information from multidimensional status analysis results, the system can accurately locate and extract building fire risk status information and electric window device linkage status information from complex multidimensional status analysis results according to a preset data format. For example, in the data storage structure, building fire risk status information is stored in a designated folder path with the file name "BuildingFireRiskStatus_datetime", and electric window device linkage status information is stored in another path with the file name "ElectricWindowLinkageStatus_datetime". The extraction program will automatically identify these files and read their contents to ensure that the extracted information is complete and accurate.
[0076] Step S132: Call the pre-stored fire linkage rule library. The fire linkage rule library contains multiple rule entries corresponding to different building fire risk status information and electric window device linkage status information. Each rule entry contains trigger condition information, control action information and execution parameter information.
[0077] The fire safety linkage rule base for this commercial complex is stored on a database server and managed using a relational database to facilitate the querying, addition, modification, and deletion of rules. Each rule entry in the rule base has a unique rule number, such as Rule001, Rule002, etc.
[0078] The trigger condition information details the specific circumstances under which the rule is triggered. For example, the trigger condition information for Rule001 is "The risk level of a certain functional area in the building fire risk status information is high risk, and there is abnormal monitoring data within that functional area. The coordinates of the risk area are within the catering area on the F3 floor." The control action information clarifies the action that the electric window should perform. For example, the control action information for Rule001 is "Open all available electric windows within a 10-meter radius of this functional area." The execution parameter information specifies the details of the action. For example, the execution parameter information for Rule001 is "Opening angle is 90 degrees, opening speed is medium."
[0079] Step S133: Match the risk level information and risk area coordinate information in the building fire risk status information with the trigger condition information of each rule entry, and filter out the candidate rule entry set that matches the trigger condition information with the building fire risk status information.
[0080] During the matching process, a combination of string comparison and spatial coordinate comparison is used. For risk level information, the risk level in the building fire risk status information is compared with the risk level conditions in the rule entry. If they match completely, the matching condition is passed. For risk area coordinate information, a specialized spatial coordinate matching algorithm is used to determine whether the risk area coordinates are within the area coordinate range defined by the risk area conditions of the rule entry. If they are within the range, the matching condition is passed. Only rule entries that match both risk level information and risk area coordinate information are included in the candidate rule entry set.
[0081] Step S1331: Parse the triggering condition information of each rule entry, and extract the risk level condition and risk area condition from the triggering condition information. The risk level condition includes the risk level range, and the risk area condition includes the area coordinate range.
[0082] When parsing trigger condition information, natural language processing (NLP) technology is used to segment and semantically analyze the text content of the trigger condition information. For example, for the trigger condition information of Rule002, "when the risk level of a certain functional area is medium risk or above, and the coordinates of the risk area are within the coordinate range of the shopping area on layer F2", NLP technology extracts the risk level condition as "medium risk or above", that is, the risk level range is medium risk and high risk; and extracts the risk area condition as "the coordinate range of the shopping area on layer F2", which consists of multiple coordinate points, such as (x1, y1, z1), (x2, y2, z2)...(xn, yn, zn), and these coordinate points constitute a closed area.
[0083] Step S1332: Compare the risk level information in the building fire risk status information with the risk level conditions of each rule entry, and filter out the rule entries whose risk level conditions contain the risk level information to obtain the first set of filtering rules.
[0084] In this commercial complex, the risk level information in the building fire safety risk status information may be "low risk," "medium risk," or "high risk," etc. This risk level information is compared with the risk level conditions of each rule entry. If the risk level information falls within the risk level range of the rule entry, then that rule entry is selected. For example, if the risk level in the building fire safety risk status information is "medium risk," then all rule entries whose risk level conditions include "medium risk," such as rule entries with risk level conditions of "medium risk" or "medium risk and above," will be included in the first set of filtering rules.
[0085] Step S1333: Determine the spatial inclusion relationship between the risk area coordinate information in the building fire risk status information and the risk area conditions of each rule entry in the first filtering rule set, and determine whether the risk area coordinate information is within the area coordinate range defined by the risk area conditions of the rule entry.
[0086] Spatial inclusion relationship determination uses the ray casting method. This involves radiating a ray from a coordinate point within the risk area in any direction and counting the number of intersections between this ray and the boundary defined by the risk area condition in the rule entry. If the number of intersections is odd, the coordinate point is within the area; if it is even, it is outside the area. By performing this determination on multiple feature points in the risk area coordinate information, it is determined whether the entire risk area is within the coordinate range defined by the risk area condition in the rule entry. For example, in this commercial complex, if the risk area coordinate information is a section of the F3 floor dining area, and multiple feature points of this area are within the F3 floor dining area and surrounding area defined by the risk area condition of Rule003, then the risk area coordinate information is within the coordinate range of this rule entry.
[0087] Step S1334: Filter out the rule entries whose risk area coordinate information is within its area coordinate range to obtain the second set of filtering rules.
[0088] Based on the judgment result of step S1333, rule entries whose risk area coordinate information falls within their respective area coordinate ranges are selected from the first filtering rule set to form the second filtering rule set. For example, if the first filtering rule set contains three rule entries: Rule001, Rule002, and Rule003, and after spatial inclusion relationship judgment, the area coordinate ranges of Rule001 and Rule003 contain the risk area coordinate information, while Rule002 does not, then the second filtering rule set is {Rule001, Rule003}.
[0089] Step S1335: Extract risk spread trend information from the building fire risk status information, and analyze whether the trigger condition information of each rule entry in the second filtering rule set includes a spread trend condition.
[0090] When extracting risk spread trend information from building fire safety risk status information, one can examine fields such as "spread direction" and "spread speed" within this information. Similarly, when parsing the trigger condition information for each rule entry in the second filtering rule set, natural language processing technology is used to check whether it contains descriptions related to "spread direction" and "spread speed," thus determining whether a spread trend condition is included. For example, if Rule003's trigger condition information includes "risk spread direction is east, spread speed is relatively fast," then this rule entry contains a spread trend condition; if Rule001's trigger condition information does not contain such a description, then it does not contain a spread trend condition.
[0091] Step S1336: When the triggering condition information of a rule entry includes a spread trend condition, the risk spread trend information is matched with the spread trend condition, and rule entries whose spread trend conditions are consistent with the risk spread trend information are selected to obtain the third set of filtering rules.
[0092] During matching, the specific details such as "spread direction" and "spread speed" in the risk spread trend information are compared one by one with the spread trend conditions of the rule entries. For example, if the risk spread trend information is "spread direction eastward, spread speed moderate," and the spread trend condition of Rule003 is "spread direction eastward, spread speed moderate or higher," then the two match. However, if the spread trend condition of Rule004 is "spread direction southward, spread speed relatively fast," then it does not match the risk spread trend information. The successfully matched rule entries are filtered out and, together with the rule entries that do not contain spread trend conditions, form a third set of filtering rules.
[0093] Step S1337: When the triggering condition information of a rule entry does not include a propagation trend condition, the rule entry is directly retained in the third filtering rule set.
[0094] For rule entries whose triggering condition information does not include a propagation trend condition, no propagation trend matching is required, and they are directly retained in the third filtering rule set. For example, Rule001 does not contain a propagation trend condition, and after filtering in step S1336, it directly enters the third filtering rule set.
[0095] Step S1338: The rule entries in the third filtering rule set are used as a candidate rule entry set, which contains all rule entries that match the triggering condition information with the building fire risk status information.
[0096] After the above multi-step screening, the rule entries in the third screening rule set match the building fire safety risk status information in terms of risk level, risk area, and spread trend (if any), and are therefore selected as the candidate rule entry set. For example, if the third screening rule set is {Rule001, Rule003}, then the candidate rule entry set consists of these two rule entries.
[0097] Step S134: Extract device availability status information and device control priority information from the linkage status information of the electric window device, perform device availability verification processing on the rule entries in the candidate rule entry set, remove rule entries containing unavailable electric window devices, and obtain the available rule entry set.
[0098] When extracting device availability status information and device control priority information from the linkage status information of electric window devices, this is achieved by querying the associated stored database tables. For example, querying the "Device Availability Status Information" field in the table will show whether each electric window is available; querying the "Device Control Priority Information" field will show the priority ranking.
[0099] When performing device availability verification on rule entries in the candidate rule entry set, the device identification information of the motorized window involved in each rule entry is first parsed. Then, the availability status information of these devices is checked to see if they are available. For example, if the candidate rule entry set Rule001 involves motorized windows W301, W302, and W303, querying the device availability status information shows that W301 and W302 are available, while W303 is unavailable. Therefore, Rule001 is removed because it contains unavailable devices. Rule003 involves motorized windows W304 and W305, and both are available. Therefore, Rule003 is retained. After the above verification process, the available rule entry set is obtained.
[0100] Step S135: Based on the device control priority information in the linkage status information of the electric window device, perform priority sorting on the rule entries in the available rule entry set to determine the execution order weight of each rule entry.
[0101] In this commercial complex, each rule entry in the available rule set involves multiple electric window devices. The control priority information of these devices is combined to determine the execution order weight of the rule entry. For example, if Rule003 involves W304 with a priority of 2 and W305 with a priority of 3, the average of these two priorities is calculated as a reference value for Rule003. If another rule, Rule005, involves devices with a higher average priority, then Rule005 has a greater execution order weight. The determination of the execution order weight also considers the overall importance of the rule entries; for rule entries that can more effectively control the spread of fire and ensure personnel safety, their execution order weight can be appropriately increased.
[0102] Step S136: Based on the execution order weight, select a preset number of rule entries from the set of available rule entries as the final matching rule entries.
[0103] The preset number is set based on the size of the commercial complex and its fire safety requirements, for example, 5 rules. Following the execution order and weighting from highest to lowest, the first 5 rules are selected from the set of available rules as the final matching rules. If the number of available rules is less than the preset number, all rules are selected.
[0104] Step S137: Parse the control action information and execution parameter information in the final matching rule entry to generate a set of electric window control strategies that includes the electric window device identifier, control action type, action execution time, and action execution parameters.
[0105] The final matching rule entries are analyzed in depth to extract various information related to electric window control and integrate them into a set of control strategies.
[0106] Step S1371: Extract control action information from the final matching rule entry, parse the action type field in the control action information, and determine the control action type of the electric window. The control action type includes opening action, closing action, adjustment action, and holding action.
[0107] In the control action information of the final matching rule entries, the action type field is usually represented by explicit terms such as "open," "close," "adjust," and "hold." By identifying these terms, the control action type of the electric window is determined. For example, if the action type field in the control action information of Rule003 is "open," then the corresponding control action type is an open action; if the action type field in Rule005 is "adjust," then it is an adjust action.
[0108] Step S1372: Extract the execution parameter information from the final matching rule entry, and parse the corresponding execution parameters according to the control action type. When the control action type is an opening action, the execution parameters include the opening angle parameter and the opening speed parameter; when the control action type is a closing action, the execution parameters include the closing speed parameter and the closing confirmation parameter; when the control action type is an adjustment action, the execution parameters include the target angle parameter, the adjustment speed parameter, and the adjustment accuracy parameter; when the control action type is a holding action, the execution parameters include the holding time parameter and the status monitoring interval parameter.
[0109] Different control action types correspond to different execution parameters, which can be extracted specifically based on the action type during parsing. For example, for the opening action, the execution parameter information can be used to extract content related to "opening angle" and "opening speed", such as "opening angle 90 degrees" and "opening speed fast"; for the closing action, the information related to "closing speed" and "closing position confirmation" can be extracted, such as "closing speed medium" and "closing position confirmation opening"; for the adjustment action, the information related to "target angle", "adjustment speed", and "adjustment accuracy" can be extracted, such as "target angle 45 degrees", "adjustment speed slow" and "adjustment accuracy ±5 degrees"; for the holding action, the information related to "holding time" and "status monitoring interval" can be extracted, such as "holding time 30 minutes" and "status monitoring interval 5 minutes".
[0110] Step S1373: Extract the associated electric window device identification information from the final matching rule entry, and associate and bind the electric window device identification information with the control action type and execution parameters.
[0111] The final matching rule entry will explicitly specify the associated electric window device identification information, such as Rule003 being associated with electric window device identifiers W304 and W305. Associating and binding these device identifiers with the corresponding control action types and execution parameters is achieved by establishing a data association table. In the system of this commercial complex, a temporary data association table can be created, containing three fields: "Electric Window Device Identifier," "Control Action Type," and "Execution Parameters."
[0112] For Rule003, its control action type is "open," and the execution parameters are an opening angle of 90 degrees and a medium opening speed. In the data association table, a record can be created for W304 and W305 respectively. The "Electric Window Device Identifier" field should be filled with W304 and W305 respectively, the "Control Action Type" field should be filled with "Open," and the "Execution Parameters" field should be filled with "Opening Angle 90 Degrees, Opening Speed Medium." This method establishes a one-to-one correspondence between the electric window device identification information and the control action type and execution parameters, ensuring that each electric window device clearly knows the action it needs to perform and its related parameters.
[0113] Step S1374: Based on the risk spread trend information in the building fire risk status information and the equipment control priority information in the electric window equipment linkage status information, calculate the action execution time of each electric window equipment. The action execution time is positively correlated with the equipment control priority information and negatively correlated with the spread speed in the risk spread trend information.
[0114] In this commercial complex, when calculating the execution time of actions, quantified values are first assigned to the propagation speed in both the equipment control priority information and the risk propagation trend information. In the equipment control priority information, the higher the priority, the larger the quantified value; for example, priority 1 has a quantified value of 10, priority 2 has a quantified value of 8, priority 3 has a quantified value of 6, and so on. Similarly, the propagation speed in the risk propagation trend information is also assigned a corresponding quantified value based on its rate of spread; the faster the propagation speed, the larger the quantified value. For example, fast propagation has a quantified value of 10, medium propagation has a quantified value of 7, and slow propagation has a quantified value of 4.
[0115] Then, two weighting coefficients are set: device priority weight c and spread rate weight d, where c + d = 1. Generally, a higher weight can be given to spread rate to ensure that electric windows can respond faster when the fire spreads rapidly; for example, c = 0.3 and d = 0.7.
[0116] The formula for calculating the base time coefficient is: Base Time Coefficient = (Equipment Control Priority Quantization Value × c) + (Spread Speed Quantization Value × d). After obtaining the base time coefficient, the action execution time is calculated based on the preset base time of the commercial complex. For example, if the base time is set to a fixed time period, the action execution time = base time / base time coefficient.
[0117] Taking W304 as an example, its equipment control priority is 2, with a quantification value of 8; the spread speed in the risk spread trend information is medium, with a quantification value of 7. Therefore, the base time coefficient = (8 × 0.3) + (7 × 0.7) = 2.4 + 4.9 = 7.3. If the base time is a certain value, then the action execution time of W304 = base time / 7.3. Since the equipment control priority information is positively correlated with the action execution time (i.e., the higher the priority (the larger the quantification value), the earlier the action execution time), and the risk spread speed is negatively correlated with the action execution time (i.e., the faster the spread speed (the larger the quantification value), the earlier the action execution time), the above calculation method allows the action execution time to better reflect the actual fire situation and the importance of the equipment.
[0118] Step S1375: Combine the electric window device identification information, control action type, action execution time and corresponding execution parameters to form an electric window control strategy unit.
[0119] After calculating the execution time of each electric window device, the device identification information, control action type, action execution time, and corresponding execution parameters are integrated to form a complete electric window control strategy unit. Each control strategy unit is an independent basic module of control instructions, containing all the key information required to execute the control.
[0120] For example, for W304, the content of its electric window control strategy unit is: electric window device identifier W304, control action type opening action, action execution time T1, execution parameters opening angle 90 degrees, opening speed medium. For W305, its control strategy unit is: electric window device identifier W305, control action type opening action, action execution time T2, execution parameters opening angle 90 degrees, opening speed medium. T1 and T2 are determined based on the calculation results of step S1374, and since the device control priority of W304 is higher than that of W305, T1 precedes T2.
[0121] Step S1376: Sort all electric window control strategy units according to the order of their action execution time to generate an electric window control strategy set, wherein the electric window control strategy set contains multiple electric window control strategy units arranged in chronological order.
[0122] In this embodiment, all generated motorized window control strategy units can be scanned to extract the action execution time of each unit. Then, these control strategy units are sorted according to their action execution times from earliest to latest. During the sorting process, if two control strategy units have the same action execution time, they are further sorted according to the motorized window device control priority information, with the higher priority unit ranked first.
[0123] After sorting, these control strategy units are combined to form a set of electric window control strategies. For example, the sorted control strategy units are W304(T1), W305(T2), W201(T3), etc., which together constitute the set of electric window control strategies.
[0124] Step S140: Sort the electric window control strategy set according to the control priority parameter in the electric window control strategy set to obtain an electric window control instruction set arranged in execution order.
[0125] After obtaining the set of electric window control strategies, further sorting processing is required based on the control priority parameters to ensure the rationality and efficiency of instruction execution and avoid instruction conflicts or improper execution order.
[0126] Step S141: Extract the control priority parameter from each electric window control strategy unit in the electric window control strategy set. The control priority parameter is jointly determined by the device control priority information in the electric window device linkage status information and the execution order weight in the fire linkage rule matching process.
[0127] Each power window control strategy unit contains data related to control priority parameters, which is hidden in the strategy unit's metadata. During extraction, the device control priority information and execution order weights can be read from the metadata of each strategy unit.
[0128] For example, in the control strategy unit of W304, the quantization value corresponding to the equipment control priority information is 8, and the execution order weight in the fire linkage rule matching process is 0.8. The calculation method for the control priority parameter is: Control priority parameter = Equipment control priority quantization value × 0.6 + Execution order weight × 10 × 0.4 (where multiplying the execution order weight by 10 is to quantize it to a level close to the equipment control priority quantization value, ensuring that the weight ratio of the two is reasonable in the calculation). Therefore, the control priority parameter of W304 is 8.
[0129] Using the above method, the control priority parameters are extracted and calculated from each electric window control strategy unit.
[0130] Step S142: Sort all electric window control strategy units in the electric window control strategy set in descending order according to the control priority parameter to obtain a preliminary sorted electric window control strategy sequence.
[0131] In this embodiment, a sorting algorithm can be invoked to arrange all control strategy units in the electric window control strategy set in descending order of their control priority parameters. During the sorting process, the control priority parameters of each unit are compared one by one, with units corresponding to larger parameters listed first and smaller parameters listed later.
[0132] For example, if the control priority parameter of control strategy unit W304 is 8, that of W305 is 7.5, and that of W201 is 9, then the preliminary sorted sequence of electric window control strategies is W201, W304, W305, etc. Through the above sorting, a preliminary ordered strategy sequence is obtained.
[0133] Step S143: Check whether there are multiple control strategy units of the same electric window device in the pre-sorted electric window control strategy sequence. If so, retain the control strategy unit with the highest control priority parameter and remove the other control strategy units to obtain the deduplicated electric window control strategy sequence.
[0134] In this embodiment, the initially sorted sequence of motorized window control strategies can be traversed, recording the number of times each motorized window device identifier appears. When a motorized window device identifier appears multiple times, indicating the existence of multiple control strategy units, the control priority parameters of these units are compared. Only the unit with the highest control priority parameter is retained, and the rest are deleted from the motorized window control strategy sequence.
[0135] For example, if W304 appears twice in the initially sorted sequence, with corresponding control priority parameters of 8 and 6 respectively, then only the W304 control strategy unit with parameter 8 is retained, and the unit with parameter 6 is deleted. After the above deduplication process, a deduplicated electric window control strategy sequence is obtained, ensuring that each electric window device receives only one highest priority control command.
[0136] Step S144: Extract risk spread trend information from the building fire risk status information, perform time calibration processing on the deduplicated electric window control strategy sequence based on the risk spread trend information, and adjust the action execution time of each electric window control strategy unit so that the action execution time interval of adjacent electric window devices matches the risk spread speed.
[0137] First, the spread speed and direction are extracted from the risk spread trend information from the building fire safety risk status information. The spread speed is divided into several levels, such as fast, medium, and slow, with different levels corresponding to different time interval coefficients. For example, the time interval coefficient is k1 for a fast spread speed, k2 for a medium spread speed, and k3 for a slow spread speed, with k1... <k2<k3。
[0138] Then, based on the position information and spread direction of each motorized window device in the deduplicated motorized window control strategy sequence, the spatial distance between adjacent motorized window devices is determined. Combining this with the time interval coefficient corresponding to the spread speed, the execution time interval between adjacent motorized window devices is calculated as: Time Interval = Spatial Distance × Time Interval Coefficient.
[0139] For example, in the deduplicated sequence, the spatial distance between adjacent electric window devices W201 and W304 is 5 meters, the risk spread rate is medium, and the corresponding time interval coefficient k2 is 0.5. Therefore, the time interval between their actions should be 5 × 0.5 = 2.5 minutes. If the original action execution time of W201 is T3 and that of W304 is T1, and T1 - T3 is not equal to 2.5 minutes, then T1 needs to be adjusted to meet the time interval requirement.
[0140] Through the above time calibration process, the time interval between the actions of adjacent electric window devices is matched with the speed of risk spread, ensuring that the electric windows can perform their actions in a reasonable time sequence during the fire spread process, effectively playing their roles in smoke extraction and ventilation.
[0141] Step S145: Based on the adjusted action execution time, the deduplicated electric window control strategy sequence is divided into multiple time windows, each time window containing electric window control strategy units executed within the same time period.
[0142] In this embodiment, a time window duration can be set, which is determined based on the risk spread rate and building layout, for example, 2 minutes. Then, starting from the execution time of the first adjusted electric window control strategy unit, a time window is divided into 2-minute intervals.
[0143] The execution time of each unit in the deduplicated electric window control strategy sequence is compared with the time window. Control strategy units whose execution times fall within the same time window are grouped together, with each group corresponding to a time window. For example, control strategy units whose execution times are between T0 and T0+2 minutes are assigned to the first time window, those between T0+2 minutes and T0+4 minutes are assigned to the second time window, and so on. Through this division, the ordered control strategy sequence can be converted into a grouped form based on time windows.
[0144] Step S146: Perform a feasibility assessment of parallel execution for the motorized window control strategy units within each time window. When the motorized window devices corresponding to multiple motorized window control strategy units are in different power supply circuits and the communication channels of the control modules do not conflict, they are determined to be able to be executed in parallel.
[0145] For each time window's motorized window control strategy unit, the first step is to query the power supply circuit information for each motorized window device. In the power supply system of this commercial complex, motorized window devices in different areas are distributed on different power supply circuits, and each power supply circuit has a unique circuit identifier. If multiple motorized window devices have different circuit identifiers, it indicates that they are on different power supply circuits.
[0146] Simultaneously, the communication channel occupancy status of each electric window control module can be checked. The communication channels of the control modules use time-division multiplexing, with each channel having a specific communication time window. If the communication time windows of multiple electric window control modules do not overlap within this time window, it indicates that the communication channels do not conflict.
[0147] Only when the electric window control strategy units corresponding to multiple electric window devices are in different power supply circuits and there is no communication channel conflict between the control modules, can these electric window control strategy units be determined to be able to execute in parallel. For example, W201 and W304 within time window 1, W201 is in power supply circuit L1 with a communication channel period of t1-t2; W304 is in power supply circuit L2 with a communication channel period of t1-t2, and L1≠L2, and their communication channel periods do not conflict, can be executed in parallel.
[0148] Step S147: Merge the parallel-executable electric window control strategy units into a parallel execution group, and assign a unique group identifier to each parallel execution group.
[0149] For motorized window control strategy units that are determined to be executable in parallel, they can be merged into a parallel execution group. During merging, a group data structure can be created to include the information of these motorized window control strategy units.
[0150] Each parallel execution group is assigned a unique group identifier, which is in the form of letters and numbers, such as PG001, PG002, etc. For example, W201 and W304, which can be executed in parallel within time window 1, are merged into parallel execution group PG001, which contains the control strategy unit information of W201 and W304.
[0151] Step S148: Arrange the parallel execution group and the non-parallel execution electric window control strategy unit according to the time window order to generate an electric window control instruction set arranged in execution order. The electric window control instruction set contains multiple instruction units arranged in execution order. Each instruction unit contains a group identifier or electric window device identifier, control action type, action execution time, and execution parameters.
[0152] In this embodiment, the parallel execution groups and non-parallel-executable motorized window control strategy units within each time window can be arranged sequentially according to the order of the time windows. The non-parallel-executable motorized window control strategy units exist as separate instruction units, and the information they contain is consistent with the control strategy units, only presented in the form of instruction units.
[0153] For example, if time window 1 contains parallel execution group PG001 and non-parallel execution control strategy unit W401, and time window 2 contains parallel execution group PG002, then the generated motorized window control instruction set will be PG001, W401, PG002, etc. Within each instruction unit, the instruction unit for the parallel execution group includes the group identifier, control action type (the control action types of each unit within the group may be the same or different, and must be listed separately), action execution time, and execution parameters (the execution parameters of each unit within the group may be the same or different, and must be listed separately); the individual instruction unit includes the motorized window device identifier, control action type, action execution time, and execution parameters.
[0154] The above arrangement forms a set of electric window control instructions arranged in execution order.
[0155] Step S150: The electric window control instruction set is sent to the corresponding electric window actuator. The electric window actuator performs the opening, closing or adjustment operation of the electric window according to the instruction parameters in the electric window control instruction set, and returns the operation execution status information.
[0156] After generating the electric window control instruction set, it is necessary to accurately and promptly send it to the corresponding electric window actuator and receive the operation execution status information returned by the actuator to ensure the smooth operation of the control and the process is monitorable.
[0157] For example, step S151: establish a communication connection with each electric window actuator. The communication connection adopts a preset communication protocol, which includes data transmission format, verification method and retransmission mechanism.
[0158] In this embodiment, a connection request signal can first be sent to each electric window actuator. This connection request signal contains the system's identity and encryption information. After receiving the connection request signal, the electric window actuator can verify the system's identity and encryption information, and return a connection confirmation signal upon successful verification.
[0159] The default communication protocol uses a custom protocol based on TCP / IP, and the data transmission format is JSON, which includes a command header, command body, and command trailer. The command header contains information such as command type, sending time, and sender identifier; the command body contains the specific control command content; and the command trailer contains a checksum.
[0160] The verification method uses CRC32 checksum. The sender calculates the CRC32 checksum of the data before sending it and includes it in the command tail. The receiver recalculates the CRC32 checksum after receiving the data and compares it with the checksum in the command tail. If they match, the data transmission is correct; otherwise, there is a transmission error.
[0161] The retransmission mechanism stipulates that when the receiver returns a data transmission error or fails to return an acknowledgment information after a timeout, the sender will retransmit the data. The maximum number of retransmissions is 3, and the time interval between each retransmission increases sequentially to 1 second, 2 seconds, and 4 seconds.
[0162] Through the above methods, a stable and reliable communication connection is established with each electric window actuator.
[0163] Step S152: Extract instruction units from the electric window control instruction set according to the execution order, and parse the group identifier or electric window device identifier, control action type, action execution time and execution parameters in the instruction unit.
[0164] In this embodiment, each instruction unit can be extracted sequentially according to the execution order of the electric window control instruction set. For instruction units containing group identifiers, the group identifier and the control action type, action execution time, and execution parameters of each electric window device within the group are parsed out; for single instruction units containing electric window device identifiers, the electric window device identifier, control action type, action execution time, and execution parameters are directly parsed out.
[0165] During the parsing process, the data format of the instruction unit can be verified to ensure that it conforms to the preset JSON format requirements. If the format is incorrect, the instruction unit is marked as abnormal, not sent temporarily, and the error information is recorded.
[0166] For example, the extracted instruction unit is PG001. After parsing, it is found that the group contains W201 and W304. The control action type of W201 is an opening action, the action execution time is T3, and the execution parameters are opening angle 90 degrees and opening speed fast. The control action type of W304 is an opening action, the action execution time is T1, and the execution parameters are opening angle 90 degrees and opening speed medium.
[0167] Step S153: When the instruction unit is a parallel execution group, extract all electric window control strategy units within the parallel execution group based on the group identifier. In this commercial complex, each parallel execution group has a unique group identifier, such as G1, G2, G3, etc. These group identifiers have an association mapping relationship with the electric window control strategy units within the group and are stored in the system's association database table.
[0168] When it is necessary to extract the control strategy units for motorized windows within a parallel execution group, a query can be performed in the associated database table based on the received group identifier. For example, when the group identifier is G2, the database table query reveals that the group contains control strategy units corresponding to motorized windows W301, W302, and W303. These control strategy units can then be accurately extracted from the deduplicated sequence of motorized window control strategies.
[0169] After extraction, corresponding control sub-instructions are generated for each control strategy unit. The generation of control sub-instructions depends on the motorized window device identifier, control action type, action execution time, and execution parameters within the control strategy unit. For example, for the control strategy unit of motorized window W301, its control action type is opening, the execution parameters are an opening angle of 90 degrees, a medium opening speed, and an action execution time of T1. The generated control sub-instructions contain this information, and the instruction format conforms to the preset communication protocol requirements, ensuring that the motorized window actuator can accurately parse the command.
[0170] Step S154: The control sub-instruction is simultaneously sent to the corresponding multiple electric window actuators via the communication connection.
[0171] Within this commercial complex, communication between the various electric window actuators can be achieved using a hybrid network of wired Ethernet and wireless LoRa. Control sub-instructions for parallel execution groups can be encapsulated and packaged according to a preset communication protocol format. Each control sub-instruction contains a unique address identifier for the target electric window actuator, such as a MAC address or IP address.
[0172] During transmission, the communication module can simultaneously activate the communication channels corresponding to each motorized window actuator within the parallel execution group. For example, for W301, W302, and W303 in group G2, the communication ports connected to these three motorized window actuators can be activated simultaneously, and the encapsulated control sub-instructions can be sent out through the corresponding communication channels.
[0173] To ensure the reliability of simultaneous transmission, a time synchronization mechanism can be used, where the trigger signals for all control sub-commands are issued at the same time. During data transmission, the communication protocol includes a verification field, such as a CRC checksum, used by the electric window actuator to verify data integrity after receiving the control sub-commands. If the verification fails, the actuator will report an error message to the system.
[0174] Step S155: When the instruction unit is a single electric window control strategy unit, generate the corresponding control instruction and send it to the corresponding electric window actuator through the communication connection.
[0175] For a single motorized window control strategy unit, an independent control instruction can be generated based on its motorized window device identifier, control action type, action execution time, and execution parameters. The format of the control instruction is consistent with that of the control sub-instruction, and it also includes the address identifier of the target actuator and a verification field.
[0176] During transmission, the corresponding communication channel can be determined based on the electric window device identifier, establishing a point-to-point communication connection with the target electric window actuator. For example, if the electric window corresponding to a single electric window control strategy unit is W501, the communication channel connected to the W501 actuator can be found, and the generated control commands can be sent out through this communication channel.
[0177] During transmission, the status of the communication link, such as signal strength and data transmission rate, can be monitored in real time. If an abnormality is detected in the link, the system can try to switch to a backup communication channel and retransmit the message to ensure that the control command is successfully delivered.
[0178] Step S156: After sending the control command or control sub-command, start the preset response waiting timer.
[0179] The preset response wait timer duration is set based on the response performance and communication latency of the electric window actuators in this commercial complex, and is typically 1-3 seconds. The timer starts counting immediately the moment the control command or control sub-command is sent from the system.
[0180] During the timer's operation, its remaining time can be monitored in real time, and a warning signal will be issued before it expires (e.g., when 0.5 seconds remain), reminding the system to prepare for timeout handling. Simultaneously, the timer's status will be recorded in the system log in real time, including start time, preset duration, and remaining time, facilitating subsequent troubleshooting and system optimization.
[0181] Step S157: Before the response waiting timer expires, receive the operation execution status information returned by the electric window actuator. The operation execution status information includes the actuator identifier, instruction receiving status, instruction execution progress, current action status, and fault code.
[0182] Upon receiving a control command or sub-command, the electric window actuator can immediately parse and process it. If parsing is successful, it returns operation execution status information. This operation execution status information is transmitted in the form of a data packet and contains multiple fields: The actuator identifier identifies which electric window actuator returned the information; for example, the identifier of the W301 actuator is consistent with its corresponding electric window device identifier. The command reception status field indicates whether the actuator successfully received and parsed the command, such as "success" or "failure." The command execution progress field indicates the completion status of the command execution as a percentage, such as "30%" indicating that three-tenths has been executed. The current action status field describes the current action of the actuator, such as "opening" or "closed." The fault code field is filled in when a fault occurs during execution; for example, "E01" indicates a motor fault, and this fault code field is empty when there is no fault.
[0183] After receiving the operation execution status information, the data packet can be verified first, using a checksum to confirm the data's integrity and authenticity. Once verification is successful, each field is parsed, and the information is stored in the corresponding database table, associated with the sent control commands or sub-commands, facilitating subsequent querying and analysis.
[0184] Step S158: When no operation execution status information is received after the response waiting timer expires, or when the received operation execution status information contains an instruction reception failure status, the retransmission mechanism is started to resend the control instruction or control sub-instruction. The number of retransmissions shall not exceed the preset maximum number of retransmissions.
[0185] In this commercial complex, the preset maximum number of retransmissions is 3. When the response waiting timer times out and no operation execution status information is received, or when the received information indicates that the instruction reception status is "failed", the retransmission mechanism can be automatically activated.
[0186] After the retransmission mechanism is activated, the communication link status is checked first. If a link failure is found, the communication channel can be switched. Then, the control command or control sub-command is regenerated, with the same content as the command sent for the first time, but a retransmission flag and the number of retransmissions are added to the command header, such as "retransmit 1 time" or "retransmit 2 times".
[0187] After each retransmission, the response waiting timer will restart, waiting for the actuator to return information. If the retransmission still fails after 3 attempts, this situation can be recorded as a fault event. The corresponding electric window actuator will be marked as "communication failure" or "command reception failure" in the operation execution status report, and an alarm mechanism will be triggered to notify maintenance personnel for handling.
[0188] Step S159: Associate and store all received operation execution status information with the corresponding instruction unit to generate an operation execution status report. The operation execution status report is used for subsequent control effect evaluation and strategy optimization.
[0189] In this embodiment, a dedicated association storage table can be established, containing fields such as instruction unit identifier, electric window device identifier, control action type, action execution time, execution parameters, and operation execution status information. The received operation execution status information is then filled into the association storage table one by one according to the corresponding instruction unit identifier.
[0190] For example, if the instruction unit identifier C12 corresponds to the electric window device identifier W301 and the control action type is opening action, then the contents of the operation execution status information returned by W301 are filled into the corresponding row of the instruction unit in the associated storage table.
[0191] After all information is associated and stored, an operation execution status report can be automatically generated. The report is in tabular format, arranged in the execution order of the instruction units, and displays the execution status of each instruction unit in detail, including whether it was successfully executed, its progress, and whether any failures occurred. The report also includes statistical information such as the number of successfully executed instruction units, the number of failures, and the failure rate.
[0192] The operation execution status report is stored in a historical database and can be retrieved and viewed using query tools. Maintenance and system optimization personnel can analyze the execution effect of control strategies based on the report, such as which electric window actuators respond quickly and which are prone to failure. This allows them to optimize the fire linkage rule base and control strategy generation algorithm, thereby improving the system's reliability and effectiveness.
[0193] Figure 2The illustration shows exemplary hardware and software components of a fire-fighting-linked electric window control system 100 that can implement the ideas of this application, according to some embodiments of this application. For example, a processor 120 can be used in the fire-fighting-linked electric window control system 100 and to perform the functions described in this application.
[0194] For example, a fire-fighting-linked electric window control system 100 may include a network port 110 connected to a network, one or more processors 120 for executing program instructions, a communication bus 130, and various forms of storage media 140, such as a disk, ROM, or RAM, or any combination thereof. Exemplarily, the fire-fighting-linked electric window control system 100 may also include program instructions stored in ROM, RAM, or other types of non-transitory storage media, or any combination thereof. The methods of this application can be implemented according to these program instructions. The fire-fighting-linked electric window control system 100 also includes an input / output (I / O) interface 150 between a computer and other input / output devices.
[0195] Furthermore, this embodiment of the invention also provides a readable storage medium, wherein computer-executable instructions are preset in the readable storage medium, and when the processor executes the computer-executable instructions, the above-mentioned electric window control method based on fire linkage is implemented.
[0196] It should be noted that, in order to simplify the description of the present invention and thus help to understand one or more embodiments of the invention, multiple features may sometimes be grouped into one embodiment, drawing or description thereof in the foregoing description of the embodiments of the present invention.
Claims
1. A fire linkage-based electric window control method, characterized by, The method comprises: acquiring a set of fire-fighting linkage basic information of a building fire-fighting system, the set of fire-fighting linkage basic information comprising building structure information, fire-fighting facility layout information, electric window installation position information, and real-time fire-fighting monitoring data; performing multi-dimensional state analysis processing on the set of fire-fighting linkage basic information to obtain building fire-fighting risk state information and electric window equipment linkage state information; performing fire-fighting linkage rule matching processing based on the multi-dimensional state analysis result to generate a set of electric window control strategies corresponding to the building fire-fighting risk state information and the electric window equipment linkage state information; performing strategy sorting processing on the set of electric window control strategies according to a control priority parameter in the set of electric window control strategies to obtain an electric window control instruction set arranged in execution order; sending the electric window control instruction set to a corresponding electric window execution mechanism, and the electric window execution mechanism performing opening, closing, or adjusting operations of the electric window according to instruction parameters in the electric window control instruction set and returning operation execution state information.
2. The fire linkage-based electric window control method according to claim 1, characterized by, The acquiring a set of fire-fighting linkage basic information of a building fire-fighting system comprises: acquiring building structure information through a building information model interface, the building structure information comprising building floor distribution information, building function partition information, building component fire resistance level information, and building evacuation passage distribution information; acquiring fire-fighting facility layout information through a fire-fighting facility management system, the fire-fighting facility layout information comprising fire detector installation position information, sprinkler system coverage area information, smoke exhaust system distribution information, and fire alarm device position information; acquiring electric window installation position information through a building equipment management system, the electric window installation position information comprising building floor information where the electric window is located, wall orientation information where the electric window is located, electric window size specification information, and electric window control module communication address information; acquiring real-time fire-fighting monitoring data through a fire-fighting monitoring sensor network, the real-time fire-fighting monitoring data comprising temperature monitoring data, smoke concentration monitoring data, gas component monitoring data, and flame detection data; performing data format uniform processing on the building structure information, the fire-fighting facility layout information, the electric window installation position information, and the real-time fire-fighting monitoring data to generate a set of fire-fighting linkage basic information having uniform data identifiers and time stamp markers.
3. The fire linkage based electric window control method according to claim 1, characterized by, The multi-dimensional state analysis processing on the set of fire-fighting linkage basic information to obtain building fire-fighting risk state information and electric window equipment linkage state information comprises: extracting real-time fire-fighting monitoring data from the set of fire-fighting linkage basic information, performing outlier detection processing on the real-time fire-fighting monitoring data, identifying abnormal monitoring data that exceeds a preset threshold range, and marking monitoring position information corresponding to the abnormal monitoring data; performing fire risk level evaluation processing based on the abnormal monitoring data and building floor distribution information and building function partition information in the building structure information to determine fire risk levels of each building function partition; According to the fire risk level and the fire detector installation position information in the fire-fighting facility layout information, a spatial distribution range of a fire risk area is determined, building fire risk state information is generated, and the building fire risk state information includes risk area coordinate information, risk level information, and risk spread trend information; From the fire-fighting linkage basic information set, electric window installation position information and electric window control module communication address information are extracted, and a state query instruction is sent to each electric window control module through an electric window control network; State response data returned by each electric window control module is received, and the state response data includes electric window current opening and closing state information, electric window motor operating parameter information, electric window control module communication state information, and electric window fault diagnosis information; Based on the state response data, a linkage availability evaluation process is performed on each electric window device, and electric window device linkage state information is generated, and the electric window device linkage state information includes electric window device identification information, device availability state information, and device control priority information.
4. The fire linkage-based electric window control method according to claim 3, characterized by, The fire risk level evaluation process based on the abnormal monitoring data and the building structure information, including building floor distribution information and building function partition information, determines the fire risk level of each building function partition, including: The abnormal monitoring data and the building function partition information in the building structure information are spatially associated to determine the types and values of the abnormal monitoring data contained in each building function partition; According to a preset risk evaluation index system, the abnormal monitoring data in each building function partition is quantitatively processed, and different types of abnormal monitoring data are converted into corresponding risk index values; Based on the risk index values and the building component fire resistance level information in the building structure information, the basic risk index of each building function partition is calculated; Combined with the building evacuation passage distribution information in the building structure information, the evacuation difficulty coefficient of each building function partition is calculated, and the evacuation difficulty coefficient is negatively correlated with the number of evacuation passages and the width of evacuation passages; According to the basic risk index and the evacuation difficulty coefficient, the comprehensive risk index of each building function partition is calculated through a risk level evaluation model, and the comprehensive risk index is the weighted sum of the basic risk index and the evacuation difficulty coefficient; The comprehensive risk index is compared with a preset risk level threshold to determine the corresponding fire risk level of each building function partition, and the fire risk level includes multiple sequentially increasing level divisions.
5. The fire linkage based electric window control method according to claim 3, wherein, The linkage availability evaluation process based on the state response data on each electric window device to generate electric window device linkage state information, including: From the state response data, the current opening and closing state information of the electric window and the motor operating parameter information of the electric window are extracted, and it is judged whether the electric window is in a normal working state. When the current opening and closing state information of the electric window is consistent with the preset initial state information and the motor operating parameter information of the electric window is within the preset parameter range, it is marked as a preliminary available state. extracting motor window control module communication state information from the state response data, detecting the communication connection quality between the motor window control module and the control center, and marking as a communication available state when the communication connection quality parameter is higher than a preset communication threshold; extracting motor window fault diagnosis information from the state response data, identifying whether the motor window device has a potential fault or a historical fault record, and marking as a fault elimination state when there is no fault record or the fault record has been repaired; determining a device available state when the motor window device simultaneously satisfies the preliminary available state, the communication available state, and the fault elimination state, and determining a device unavailable state otherwise; calculating spatial distance parameters of each motor window device from a risk area based on motor window building floor information and motor window wall orientation information in the motor window installation location information, in combination with risk area coordinate information in the building fire risk state information; determining smoke exhaust efficiency coefficients and ventilation efficiency coefficients of each motor window device according to the spatial distance parameters and motor window size specification information, the smoke exhaust efficiency coefficients being negatively correlated with the spatial distance parameters and positively correlated with the motor window size specification information; calculating a linkage control priority index of each motor window device based on the smoke exhaust efficiency coefficients and the ventilation efficiency coefficients, sorting the linkage control priority index from high to low to generate device control priority information; storing motor window device identification information, device available state information, and device control priority information in association to generate motor window device linkage state information.
6. The fire linkage based electric window control method according to claim 1, wherein The fire linkage rule matching processing based on the multi-dimensional state analysis result generates a motor window control strategy set corresponding to the building fire risk state information and the motor window device linkage state information, including: extracting building fire risk state information and motor window device linkage state information from the multi-dimensional state analysis result; calling a pre-stored fire linkage rule library, the fire linkage rule library including multiple rule entries corresponding to different building fire risk state information and motor window device linkage state information, each rule entry including trigger condition information, control action information, and execution parameter information; performing matching processing on risk level information and risk area coordinate information in the building fire risk state information and trigger condition information of each rule entry to filter out a candidate rule entry set whose trigger condition information matches the building fire risk state information; extracting device available state information and device control priority information from the motor window device linkage state information, performing device availability verification processing on rule entries in the candidate rule entry set, removing rule entries containing unavailable motor window devices, and obtaining an available rule entry set; performing priority sorting processing on rule entries in the available rule entry set according to device control priority information in the motor window device linkage state information to determine execution order weights of each rule entry; selecting a preset number of rule entries from the available rule entry set as final matching rule entries based on the execution order weights. The control action information and the execution parameter information in the final matching rule item are analyzed to generate a set of electric window control strategies containing electric window device identification, control action type, action execution time and action execution parameter.
7. The fire linkage based electric window control method according to claim 6, wherein The matching processing of the risk level information and the risk area coordinate information in the building fire risk state information with the trigger condition information of each rule item, the screening of the candidate rule item set whose trigger condition information matches the building fire risk state information, comprises: The trigger condition information of each rule item is analyzed to extract the risk level condition and the risk area condition in the trigger condition information, the risk level condition contains a risk level range, and the risk area condition contains an area coordinate range; The risk level information in the building fire risk state information is compared with the risk level condition of each rule item to screen the rule item whose risk level condition contains the risk level information, and a first screening rule set is obtained; The spatial inclusion relationship judgment of the risk area coordinate information in the building fire risk state information with the risk area condition of each rule item in the first screening rule set is performed to determine whether the risk area coordinate information is within the area coordinate range defined by the risk area condition of the rule item; The rule item whose risk area coordinate information is within the area coordinate range is screened to obtain a second screening rule set; The risk spread trend information is extracted from the building fire risk state information, and the trigger condition information of each rule item in the second screening rule set is analyzed to determine whether the spread trend condition is contained; When the trigger condition information of the rule item contains the spread trend condition, the risk spread trend information is matched with the spread trend condition to screen the rule item whose spread trend condition is consistent with the risk spread trend information, and a third screening rule set is obtained; When the trigger condition information of the rule item does not contain the spread trend condition, the rule item is directly retained to the third screening rule set; The rule item in the third screening rule set is taken as the candidate rule item set, and the candidate rule item set contains all rule items whose trigger condition information matches the building fire risk state information.
8. The fire linkage based electric window control method according to claim 6, wherein, The control action information and the execution parameter information in the final matching rule item are analyzed to generate a set of electric window control strategies containing electric window device identification, control action type, action execution time and action execution parameter. The control action information in the final matching rule item is extracted, the action type field in the control action information is analyzed, and the control action type of the electric window is determined, the control action type contains the start action, the close action, the adjustment action and the keep action; extracting execution parameter information in the final matched rule item, and analyzing corresponding execution parameters according to a control action type; when the control action type is an opening action, the execution parameters include an opening angle parameter and an opening speed parameter; when the control action type is a closing action, the execution parameters include a closing speed parameter and a closing-to-position confirmation parameter; when the control action type is an adjusting action, the execution parameters include a target angle parameter, an adjusting speed parameter, and an adjusting precision parameter; and when the control action type is a maintaining action, the execution parameters include a maintaining time parameter and a state monitoring interval parameter; extracting associated electric window device identification information from the final matched rule item, and associating and binding the electric window device identification information with the control action type and the execution parameters; based on risk spreading trend information in the building fire risk state information and device control priority information in the electric window device linkage state information, calculating action execution times of the electric window devices, the action execution times being positively correlated with the device control priority information and negatively correlated with a spreading speed in the risk spreading trend information; combining the electric window device identification information, the control action type, the action execution times, and the corresponding execution parameters to form an electric window control strategy unit; sorting all electric window control strategy units according to the order of the action execution times to generate an electric window control strategy set, the electric window control strategy set including multiple electric window control strategy units arranged in time sequence.
9. The fire linkage based motorized window control method according to claim 1, wherein, The strategy sorting processing of the electric window control strategy set according to the control priority parameters in the electric window control strategy set to obtain an electric window control instruction set arranged in execution order includes: extracting control priority parameters from each electric window control strategy unit in the electric window control strategy set, the control priority parameters being determined by the device control priority information in the electric window device linkage state information and an execution order weight in the fire linkage rule matching processing; sorting all electric window control strategy units in the electric window control strategy set in descending order according to the control priority parameters to obtain a preliminarily sorted electric window control strategy sequence; checking whether multiple control strategy units of the same electric window device exist in the preliminarily sorted electric window control strategy sequence, and when they exist, retaining a control strategy unit with the highest control priority parameter and removing other control strategy units to obtain a deduplicated electric window control strategy sequence; extracting risk spreading trend information from the building fire risk state information, and performing time calibration processing on the deduplicated electric window control strategy sequence based on the risk spreading trend information to adjust the action execution times of the electric window control strategy units, so that the action execution time intervals of adjacent electric window devices are matched with the risk spreading speed; dividing the deduplicated electric window control strategy sequence into multiple time windows according to the adjusted action execution times, each time window including electric window control strategy units executed in the same time period; and generating an electric window control instruction set arranged in execution order by performing strategy sorting processing of the electric window control strategy set according to the control priority parameters in the electric window control strategy set. The parallel execution feasibility of each electric window control strategy unit in each time window is judged, and when the electric window devices corresponding to multiple electric window control strategy units are in different power supply circuits and the control module communication channels do not conflict, it is determined that they can be executed in parallel; The electric window control strategy units that can be executed in parallel are combined into one parallel execution group, and each parallel execution group is assigned a unique group identifier; The parallel execution groups and the electric window control strategy units that cannot be executed in parallel are arranged in order of time windows to generate an electric window control instruction set arranged in execution order, and the electric window control instruction set contains multiple instruction units arranged in execution order, each instruction unit containing a group identifier or an electric window device identifier, a control action type, an action execution time and an execution parameter.
10. A fire linkage based electric window control system, characterized by, The device comprises a processor and a memory, the memory and the processor are connected, the memory is used for storing programs, instructions or codes, and the processor is used for executing the programs, instructions or codes in the memory to realize the fire-fighting linkage-based electric window control method in any one of claims 1-9.
Citation Information
Cited By
Building fire-fighting facility electric leakage monitoring method and system
CN121935807A