CN114125005A - Data processing method and device based on intelligent building system - Google Patents

Data processing method and device based on intelligent building system Download PDF

Info

Publication number
CN114125005A
CN114125005A CN202111424114.5A CN202111424114A CN114125005A CN 114125005 A CN114125005 A CN 114125005A CN 202111424114 A CN202111424114 A CN 202111424114A CN 114125005 A CN114125005 A CN 114125005A
Authority
CN
China
Prior art keywords
state information
period
gateway
real
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111424114.5A
Other languages
Chinese (zh)
Other versions
CN114125005B (en
Inventor
陈辉
李棉
刘苑洪
黄俊杰
叶创国
马鹏宇
余佳鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN202111424114.5A priority Critical patent/CN114125005B/en
Publication of CN114125005A publication Critical patent/CN114125005A/en
Application granted granted Critical
Publication of CN114125005B publication Critical patent/CN114125005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The application discloses a data processing method and device based on an intelligent building system, and the method comprises the following steps: matching object information of the target equipment object in the synchronous management table to obtain a matching data record of the target equipment object; acquiring state information of a target equipment object; if the object monitoring type is the gateway type, judging whether the target equipment object meets the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to an output equipment object; and if the object monitoring type is a non-gateway type, sending the state information to the output equipment object, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition. According to the method and the system, the multi-service subsystem linkage is realized by automatically constructing the synchronous management table, and the guarantee is provided for convenient deployment and high real-time performance of multi-service linkage management under a large-scale building comprehensive management scene.

Description

Data processing method and device based on intelligent building system
Technical Field
The embodiment of the application relates to the technical field of building intelligence, in particular to a data processing method and device based on an intelligent building system.
Background
The building integrated management is based on the integration and service fusion of various subsystems in a regional building group, and the intelligent building environment is created by performing centralized supervision and unified management on various building service subsystems. However, as the building scale increases, the types of the field subsystems increase, and the integration depth between the subsystems is not enough.
In some current applications, a method for processing linkage management among subsystems is mainly to deploy a building gateway locally, and the building gateway completes data integration, protocol conversion and data interaction, and linkage rule detection and control of various subsystems on site, but under the trends of continuously increasing building scale, continuously increasing linkage logic complexity and frequently changing linkage modes, the following problems or disadvantages still exist: (1) when the number and the types of the oriented services or subsystems are various, program codes of bottom data interaction corresponding to the building gateway need to be frequently modified when linkage logic or associated objects change, and the expandability of linkage management is insufficient; (2) due to the fact that the number of subsystems covered by a large-scale building is large, linkage business projects of the large-scale building are continuously increased, processor resources and network data processing capacity of a gateway are limited, and the requirement on real-time performance of data processing of multiple subsystems is difficult to guarantee.
Disclosure of Invention
The application provides a data processing method and device based on an intelligent building system, which solves the defects of the prior art in a linkage management method of multiple building subsystems so as to ensure the convenience and instantaneity of subsystem deployment during linkage of the multiple service subsystems.
In a first aspect, an embodiment of the present application provides a data processing method based on an intelligent building system, where the intelligent building system includes a building gateway and a plurality of device objects connected to the building gateway, and the method includes:
matching object information of a current target equipment object in a pre-constructed synchronization management table to obtain a matching data record of the current target equipment object in the synchronization management table, wherein the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record comprises: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types;
acquiring state information of the target equipment object;
if the object monitoring type is a gateway type, judging whether the target equipment object meets the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object;
and if the object monitoring type is a non-gateway type, sending the state information to the output equipment object, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition.
In a second aspect, an embodiment of the present application provides a data processing apparatus based on a smart building system, the smart building system includes a building gateway and a plurality of device objects connected to the building gateway, the apparatus includes:
a matching data record obtaining module, configured to match object information of a current target device object in a pre-constructed synchronization management table to obtain a matching data record of the current target device object in the synchronization management table, where the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record includes: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types;
the state information acquisition module is used for acquiring the state information of the target equipment object;
a gateway type matching condition judging module, configured to, when the object monitoring type is a gateway type, judge whether the target device object satisfies the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object;
and the non-gateway type matching condition judging module is used for sending the state information to the output equipment object when the object monitoring type is a non-gateway type, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above method when executing the program.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method described above.
The application has the following beneficial effects:
according to the embodiment of the application, the building gateway configures the table to construct the synchronous management table according to the pre-configured linkage rule, the synchronous management table is provided with the matching data records of each terminal, and the matching data records comprise: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types; firstly, determining a matching data record of a target equipment object in a synchronous management table, after state information of the target equipment object is obtained, if the object monitoring type is a gateway, judging whether a matching condition is met by the gateway, if so, generating a control instruction according to operation information and sending the control instruction to an output equipment object so that the output equipment object responds to operation; and if the object monitoring type is a non-gateway type, sending the state information to the output equipment object, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition. According to the embodiment of the application, the multi-service subsystem linkage is realized by automatically constructing the synchronous management table, and the guarantee is provided for convenient deployment and high real-time performance of multi-service linkage management in a large-scale building comprehensive management scene.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a data processing method based on intelligent building according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a building integrated management system architecture according to an embodiment of the present application;
fig. 3 is a system-wide association object definition table according to an embodiment of the present application;
fig. 4 is a device data interface mapping relationship table according to an embodiment of the present application;
fig. 5 is a table for configuring linkage rules according to an embodiment of the present application;
FIG. 6 is a table for synchronization management according to an embodiment of the present application;
fig. 7 is a schematic diagram of a data synchronization method adaptive adjustment routine based on gateway resource load sensing according to an embodiment of the present application;
fig. 8 is a schematic diagram of an early warning process for matching of gateway resource load rate and system scale according to an embodiment of the present application;
fig. 9 is a block diagram illustrating an embodiment of a data processing device based on an intelligent building system according to a second embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an embodiment of a data processing method based on an intelligent building system according to an embodiment of the present application, where the intelligent building system includes a building gateway and a plurality of device objects connected to the building gateway, and the device objects belong to a plurality of service subsystems under the building gateway. As shown in fig. 2, a building gateway is connected to field controllers of subsystems in a local area network in a designated area, such as a campus or a building, where one field controller can control a plurality of corresponding terminals.
With the increasing scale of buildings, the types of field subsystems are increasing, including sub-service systems such as security management, video monitoring, elevator control management, fire control management, energy management, lighting management and the like, how to realize linkage and cooperation among the subsystems is an important basis for the improvement of the automation and intelligence level of the comprehensive management of the buildings. The following describes a part of the architecture of the integrated building management system of fig. 2.
The application platform layer is generally deployed in a public cloud or a user enterprise network, provides a platform center for background data storage, monitoring, management and integration for each user site imported by the system, and can provide full-system, multi-site and combinable management and service for various users through a unified interface.
Each local business subsystem of the building can be generally widely deployed in a building site according to the category and the requirement of user building business management, and can comprise a security management subsystem, a video monitoring subsystem, a ladder control management subsystem, a fire control management subsystem, an energy management subsystem, an illumination management subsystem and the like; each type of service subsystem is composed of a plurality of field controllers which are deployed in corresponding position areas according to the field coverage area range.
The building gateway is generally deployed in a large-scale building area, has diversified protocol interfaces and flexible automatic discovery, verification and access functions of subsystem equipment for local regional field management and data access gateway equipment, and can establish a data interface mapping relation of each subsystem equipment; the object data synchronous management table can be automatically established by analyzing the business linkage rule; furthermore, the object data synchronization management table can be based on the object data synchronization management table, and the object data synchronization mode among the subsystems related to each linkage service is dynamically managed by combining the characteristics of the subsystem equipment data interface, the real-time requirement and the gateway resource load rate, so that the data interaction and linkage management level of large-scale building multi-service/multi-subsystem is promoted, and the deep fusion of service logic among various building subsystems is promoted.
The embodiment of the application provides a data processing method based on an intelligent building system, a building gateway can automatically complete dynamic construction of data interaction and synchronization mechanisms among subsystems in the building gateway according to the user import requirement, the method can adapt to various docking modes such as gateway centralized or field controller distributed hybrid linkage management deployment and data object active/passive acquisition, and particularly can adaptively adjust a data synchronization mode through self resource load perception, and convenient deployment and high real-time guarantee are provided for multi-service subsystem linkage in a large-scale application scene.
The first embodiment is described in detail below with reference to fig. 1.
As shown in fig. 1, the present embodiment may include the following steps:
step 110, matching object information of the current target device object in a pre-constructed synchronization management table to obtain a matching data record of the current target device object in the synchronization management table, wherein the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record includes: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types.
In this step, referring to the terminal layer in fig. 2, the field terminal devices/facilities are widely distributed at each site location of the building park, including various terminal devices/implementations, meters, and third party subsystems of the building that perform, switch, control, detection, alarm, sensing, etc. tasks on site.
In the pre-configured linkage rule configuration table, the contents of the linkage rule configuration table of all the equipment objects can be compiled by a user and finally uploaded to the building gateway, and partial contents of the linkage rule configuration table can be sent to the corresponding field controller through the building gateway. The synchronous management table records matching data records of a plurality of equipment objects, and the gateway manages all the equipment objects in a unified way, so that the gateway can obtain different equipment object data in real time or at regular time in the operation process, a target equipment object can be any terminal managed by the gateway or any field controller, and the field controller can carry out data interaction on the state information of the field controller and the gateway, and can also control the terminal to serve as an intermediary of the state information of the terminal, so that the state information of the terminal and the gateway can carry out data interaction.
The following explains the contents that can be recorded in the linkage rule configuration table by an example. The code number definition of each device object can refer to the full-system associated object definition table in fig. 3, and the attribution corresponding to the device object can be directly determined from the code number of the object, and the attribution corresponding to the device object comprises the system and the controller where the device object is located. Fig. 3 may be automatically generated by the gateway through the information of the linkage rule configuration table.
Meanwhile, as the types of the building subsystems are various, the service control functions and the data interaction interface characteristics of different subsystem devices can have great difference, and if the field controller of the brand subsystem has no fire-fighting linkage function, fire-fighting linkage needs to be newly added in the building gateway, and the field controller of the brand subsystem has consumption linkage, so that the building gateway does not need the fire-fighting linkage function; in addition, the inter-access characteristics of each subsystem data interface are also greatly different, and if data are actively uploaded, data are passively read, so that the adaptability of the traditional gateway in the aspects of linkage function deployment and data docking is insufficient. Fig. 3 may also indicate the number of internal communication interfaces, and the interface determination may be performed according to the interface number shown in fig. 3 when data interaction is performed.
Illustratively, when a business manager defines a linkage rule as: when the outdoor environment temperature of the building site a is lower than the target temperature T1 (for example, 27 ℃), or the total energy consumption of the building area B exceeds the warning value Emax (for example, 500000kwh), the air-conditioning operation mode of the building site a is automatically switched to ventilation (that is, no cooling is performed) (that is, the state is switched from the cooling state C to the ventilation state F). Setting the environment temperature code of the building site A as S1N1P1, and representing a site A sensing acquisition value P1 of a site controller S1N1 to which an environment management subsystem S1 belongs; the total energy consumption code of the building area B is set to be S2N3P6, and the total energy consumption code of the area B of the site controller S2N3 to which the energy management system S2 belongs is represented as P6; the building site air-conditioning operation mode A is represented by S3N5P5, and represents the site air-conditioning operation mode P5 of the site controller S3N5 to which S3 belongs. Then, in the linkage rule, the input object factors include S1N1P1, S2N3P6, and the linkage trigger condition may be expressed as: (S1N1P1< T1) | (S2N3P6> Emax), the output object is S3N5P 5: F.
the matching data record is according to the content of the linkage rule, and can match the linkage rule of the target equipment object in the linkage rule configuration table by determining the object information of one of the equipment objects, such as the code number, and the like, and finally determine the matching condition, the output equipment object, the operation information corresponding to the output equipment object, the object monitoring type and the like in the linkage rule in which each object code is located.
Step 120, obtaining the state information of the target device object.
In the step, the building gateway can firstly realize the unified management of each subsystem, complete the data interaction and synchronization between the gateway and each subsystem, and serve as the basis for the linkage of each subsystem.
The following steps are the process steps that each subsystem is accessed into the building gateway to realize the interaction with the building gateway:
(1) after each subsystem device is started, adding the same default multicast protocol;
(2) the gateway sends a new device adding query frame to the multicast according to a fixed period, the query frame carries unicast reply interface parameters (such as protocol type, port number and the like), after each subsystem device receives the query frame, whether the subsystem device is added into the building gateway or not is checked, the subsystem device which is not added into the building gateway returns a query response frame containing the interface parameters of a self transmission layer to a gateway unicast interface, and the device which is successfully added does not reply;
(3) the querying for the transport layer interface parameter carried in the response frame in step (2) may include: subsystem and device numbers, transport layer protocols and access validation parameters, such as transport protocol class (TCP, transmission control protocol, or UDP, user datagram protocol) and port number, encryption/authentication (e.g. AES, advanced encryption standard) and key, check mode (e.g. CRC, cyclic redundancy check), etc.;
(4) the gateway verifies and connects the transmission layer link access according to the parameter content of the transmission layer interface parameter of the corresponding subsystem equipment carried by the received query response frame, and if the verification is successful, the new transmission layer interface is used for sending an adding confirmation frame carrying the multicast address of the corresponding subsystem to the equipment to be added;
(5) after the joining-intending device receives the joining-in confirmation frame, the joining-intending device sends a confirmation success response frame carrying the object resolution protocol parameter to the gateway;
(6) after receiving the response frame of successful confirmation replied by the device, the gateway defines the configuration of the content resolution protocol corresponding to the device according to the response frame of successful confirmation, and establishes the device data interface mapping relation table of fig. 4, wherein the device data interface mapping relation table comprises: the internal communication interface code is a code naming rule containing three-level affiliation, such as C _ S1N1, the internal communication interface code represents a data interface of node equipment N1 in the subsystem S1, the docking equipment code represents a corresponding site controller code, the transport layer interface parameter includes a transport layer protocol (such as TCP/UDP), a transport protocol parameter (such as a port number of 5000, check ═ CRC), an encryption/authentication parameter (such as AES, or MD5, fifth version of a message digest algorithm), and the content resolution protocol parameter includes an object extraction resolution protocol (such as JSON/XML, etc.) and an object resolution protocol parameter.
Through the process, the building gateway establishes contact with each subsystem, and establishes the equipment data interface mapping relation table of fig. 4 for subsequent data acquisition and data push.
In addition, the field controller is an access device of field terminals of various service subsystems of the building, generally has abundant field buses and input/output interfaces, and can finish data acquisition, storage and uploading and local control of various terminals; generally, the interaction modes of the data interfaces of the field controllers of different brand manufacturers may be different, and are represented as follows: data synchronization from the field controller to the gateway, wherein some supports are actively inquired from the gateway to the field controller, and some supports are actively uploaded from the field controller to the gateway; data synchronization from the gateway to the field controller, active pushing from the gateway to the field controller and active query from the field controller to the gateway are supported.
In one embodiment, the target device object includes a target controller, and step 120 includes:
and receiving the state information uploaded by the target controller.
In this step, the gateway passively receives the state information uploaded by the target controller, where the state information may be actively uploaded to the gateway by the target controller after obtaining the state information of the terminal controlled by the target controller, that is, the state information of the terminal is received by the gateway at this time. In addition, the state information can also be the state information of the target controller actively uploading the state information to the gateway.
In one embodiment, matching the data records further comprises: timing the read cycle, step 120 includes: and if the state information uploaded by the target controller is not received in the timing reading period, requesting the state information from the target controller.
In this step, the gateway may check each device object in the data synchronization management table, classify the device object according to the device number field and the "timing reading period" value in the code number of the device object, and if the "timing reading period" value is a fixed value (e.g., a preset minimum value or a preset maximum value of the reading period), perform timing reading on the device object according to the time interval defined by the "timing reading period" of the device object, and use the data interface corresponding to the device in the device data interface mapping relationship table to perform timing reading on the device to which the corresponding subsystem belongs.
Before the time of the timed reading period is up, if a data object actively uploaded by the subsystem device is received, the gateway cancels the active reading operation of the data object in the current period.
The gateway can also request the state information from the target controller to actively read when the state information uploaded by the target controller is not received in the timing reading period.
Step 130, if the object monitoring type is the gateway type, judging whether the target equipment object meets the matching condition according to the state information; and if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object.
In this step, the object monitoring type may be determined according to the management deployment point location of this linkage, and the management deployment point location may be set by the user as required in the linkage rule configuration table. The management deployment site may be a gateway, and thus the object monitoring type may be a gateway type. The gateway can inquire the matching condition of the synchronous management table, judge whether the read state information is consistent with the matching condition, if the read state information is consistent with the matching condition, generate a control instruction according to the operation information corresponding to the output terminal in the synchronous management table, and send the control instruction to the output equipment object so that the output equipment object can complete the corresponding operation, thereby realizing linkage.
In one embodiment, the output device object includes an output controller, and matching the data records further includes: a push cycle;
before sending the status information to the output device object in step 130, the method further comprises the following steps:
and acquiring real-time grades of the target equipment object in the linkage rule configuration table according to the object information of the target equipment object, wherein the real-time grades comprise a high grade, a medium grade and a low grade.
In the step, the pre-configured linkage rule table contains real-time grade information of the linkage rule corresponding to each target equipment object, the real-time grades comprise a high grade, a medium grade and a low grade, and a user can set different real-time grades for linkage rules with different requirements when the real-time grades are configured.
For the transmission of the status information to the output device object in step 130, the method includes the following steps:
if the real-time level is high, the state information is sent to an output controller in real time;
if the real-time grade is a medium grade or a low grade and a request of an output controller is received in a push period, sending the state information to the output controller according to the request;
and if the real-time level is the middle level or the low level and the request of the output controller is not received in the push period, sending the state information to the output controller according to the push period.
In the process, because the linkage rules in different services have different importance scores, when a user carries out a linkage rule configuration table, the importance of different rules can be defined according to requirements, the rule with high importance degree is defined as the real-time grade of the rule with high importance degree as the high grade, and when the real-time grade is the high grade, the real-time requirement is ensured by correspondingly adapting a mode that the data interaction speed is high in data processing.
If the real-time level is high, the state information is sent to the output controller in real time, and the time required between interactions can be greatly shortened by directly forwarding the state information.
If the real-time level is a medium level or a low level, the importance degree is low, and even if a certain time difference exists in information interaction, the information interaction cannot generate large influence. When the real-time level is a medium level or a low level, the field controller can request the gateway for information according to a specified period. If the gateway receives the request of the output controller in the pushing period, the state information is sent to the output controller according to the request; if the gateway does not receive the request of the output controller in the push period, the gateway can send the state information to the output controller when the push period arrives.
In a specific implementation, the output device object may be determined according to the operation information in the synchronization management table, and when the operation information indicates that the terminal is responding to the operation at the time, the state information is sent to the site controller controlling the terminal to control the terminal to perform the responding operation by the site controller, and the output controller is used for controlling the terminal at the time. When the operation information indicates that the response operation is the field controller, the output controller at the moment is used for controlling the field controller to complete the response operation.
In one embodiment, matching the data records further comprises: the pushing type corresponds to a pushing period, and the pushing period comprises a fixed period and a synchronous period;
aiming at the steps, the method for sending the state information to the output equipment object when the push cycle arrives comprises the following steps:
if the pushing period is a fixed period and the state information is judged to be changed from the state information acquired last time, the state information is sent to the output controller when the fixed period is reached;
and if the pushing period is a synchronous period, sending the state information to the output controller when the synchronous period is reached.
In this process, the fixed period may be a preset push period maximum value (corresponding to Tgtf2[ max ] of fig. 6), a preset push period minimum value (corresponding to Tgtf2[ min ] of fig. 6), or a specified period value between the maximum value and the minimum value range (corresponding to Tgtf2[ min: max ] of fig. 6), and in a specific implementation, since the real-time level is a middle level or a low level, the fixed period may be generally set as the preset push period maximum value in order to reduce resource burden and the like. When the push period is a fixed period, in order to further improve the efficiency of the gateway, in a case of a low level, it may be simultaneously satisfied that when the received state information changes from the state information obtained last time and the fixed period arrives, the state information is sent to the output controller.
When the push cycle type is a synchronous cycle, the gateway forms a synchronous cycle time regulating value according to the self resource load condition and the time range defined by the synchronous cycle, namely between the preset push cycle minimum value and the preset push cycle maximum value range, and when the time of the synchronous cycle is reached, the state information is sent to the output controller.
Step 140, if the object monitoring type is a non-gateway type, the state information is sent to the output device object device, so that the output device object executes the operation corresponding to the operation information when judging that the state information satisfies the matching condition. .
In the step, the non-gateway type can be a field controller type, the field controller can support the mode of sending a linkage rule configuration table to the field controller by the gateway to realize linkage function import and change, can monitor the trigger conditions of each linkage rule in the linkage rule configuration table in real time, and executes corresponding linkage output control operation when the conditions are matched.
If the object monitoring type is the field controller type, the gateway sends the read state information to the output controller, the output controller judges whether the matching condition is met or not according to the state information, and when the matching condition is met, a control instruction can be generated to control a corresponding terminal under the control instruction to execute the operation corresponding to the operation information or control the terminal to execute the operation corresponding to the operation information.
Illustratively, referring to the linkage rule with the linkage rule number of 3 in the linkage rule configuration table of fig. 5, when one of the linkage rules in the linkage rule configuration table is defined as: when the entrance guard exit button P7 of the building point B has an action, the corresponding elevator C of the building area automatically drives by taking the floor where the entrance guard of the point B is located as a target floor, and when the entrance guard of the point B is located in a waiting hall, the beautiful light lamp is turned on. When the entrance guard exit button state code of the building site B is S4N7P7, the entrance guard exit button state value P1 of the site controller S4N7 to which the entrance guard management subsystem S4 belongs is represented; the set value code of a destination floor Fn (such as a floor 8) corresponding to the running of the elevator C in the building area to which the point B belongs is S5N8P6, and the current elevator running destination floor number P6 of the site controller S5N8 to which the elevator control management system S5 belongs is represented; the switch state code of the beautiful light lamp of the floor waiting hall to which the building site location B belongs is S6N5P5, and the beautiful light lamp state P5 of the floor waiting hall to which the site controller S6N5 to which the lighting management subsystem S6 belongs is shown. The object factor S4N7P7 is input, and the linkage trigger condition can be expressed as: (S4N7P7 ═ true), the output object is S5N8P 6: fn, S6N5P 5: and (4) ON.
Further, when the user determines that the real-time level of the rule is a high level and the object monitoring type is a non-gateway type, the gateway receives the state information of the door access exit button P7, and then sends the state information to the corresponding field controller, the controller performs matching judgment on the state information of the P7 and matching conditions of the linkage rule configuration table, and when the door access exit button P7 is monitored to act, the field controller outputs an output object S5N8P 6: fn, S6N5P 5: and ON, generating a control command, controlling the elevator to move to the appointed floor and controlling the beauty lamp to be turned ON.
In one embodiment, the synchronization management table is constructed as follows:
receiving a linkage rule configuration table sent by an application platform layer, wherein the linkage rule configuration table comprises a plurality of linkage rule data records;
and constructing a synchronous management table based on the linkage rule configuration table.
In the process of establishing the synchronous management table, after the user writes the linkage rule configuration table, the linkage rule configuration table can be sent to the gateway through the application platform layer, and after the linkage rule configuration table is received by the gateway, the synchronous management table is established according to the linkage rule content corresponding to each terminal in the table.
In one embodiment, the synchronization management table includes the following fields: the method comprises the following steps of object identification, a real-time associated equipment set, an active push equipment set and an object monitoring type; the object monitoring type comprises a gateway type and a non-gateway type; the linkage rule configuration table records a plurality of linkage rule records, and each linkage rule record comprises: inputting a set of objects, a real-time level of a current rule, and a set of output objects; the real-time level comprises a high level, a middle level and a low level;
aiming at the linkage rule configuration table based synchronization management table in the steps, the method comprises the following steps:
sequentially filling input objects of each input object set in the linkage rule configuration table into object identification fields of the synchronous management table;
reading a real-time grade from the linkage rule record of each input object, and taking an output object set recorded in the linkage rule record where the input object is located as a real-time associated equipment set of the current input object if the real-time grade is high and the corresponding object monitoring type is a non-gateway type;
and if the real-time level is a medium level or a low level, or the real-time level is a high level and the corresponding object monitoring type is a gateway type, taking the output object set recorded in the linkage rule record where the input object is located as an active push equipment set of the current input object.
In the process, the input objects of each input object set in the linkage rule configuration table are sequentially filled in the object identification fields of the synchronous management table, so that the gateway can clearly position each terminal and the corresponding matching data record when inquiring the synchronous management table. For example, referring to the linkage rule number 1 in the linkage rule configuration table of fig. 5, the input objects in the input object set are S1N1P1 and S2N3P6, and corresponding to the first and second pieces in the synchronization management table of fig. 6, the data object numbers are S1N1P1 and S2N3P6, respectively, and these two data object numbers are the input objects in the input object set and are sequentially filled in the object identification field of the synchronization management table, so that the linkage rule that both terminals are used as input objects can be inquired for both S1N1P1 and S2N3P 6.
For each input object in the process, reading the real-time grade from the linkage rule record of the input object, if the real-time grade is high grade and the corresponding object monitoring type is a non-gateway type, the output object set recorded in the linkage rule record where the input object is located is used as the real-time associated equipment set of the current input object, in the step, each linkage rule is preset to be a corresponding real-time grade, when the linkage rule is set to be a high grade in a linkage rule configuration table, a deployment point position is set to be a field controller, that is, the object monitoring type in the corresponding synchronization management table is a non-gateway type, at this time, in the synchronization management table, for the corresponding matching data record under the input object, the real-time association device set is composed of output objects in the output object set recorded in the linkage rule record where the input object is located.
In the step, if the real-time level is the middle level or the low level, or the real-time level is the high level and the corresponding object monitoring type is the gateway type, an output object set recorded in the linkage rule record where the input object is located is used as an active push device set of the current input object.
In one embodiment, the synchronization management table further includes the following fields: an active reading period, an active push type and an active push period;
aiming at the linkage rule configuration table based synchronization management table in the above steps, the method also comprises the following steps:
determining an active reading period and an active pushing type of each input object according to the real-time grade recorded by each input object in the linkage rule record of the input object;
and determining a corresponding active push period according to the active push type.
In the process, the real-time grade recorded by each input object in the linkage rule record determines the active reading period and the active pushing type of the input object. In a specific implementation, in order to ensure the real-time requirement and also ensure the information data interaction efficiency of the gateway and reduce the load of the gateway, when the real-time level is a high level, the active reading period may be set to a preset reading period minimum value (corresponding to Tgrf1[ min ] in fig. 6), when the real-time level is a medium level, the active reading period may be set to a range value between the preset reading period minimum value and a preset reading period maximum value (corresponding to Tgrf1[ min: max ] in fig. 6), and when the real-time level is a low level, the active reading period may be set to a preset reading period maximum value (corresponding to Tgrf1[ max ] in fig. 6).
When the recorded real-time level is a high level, the real-time push can be realized without processing the field of the active push type, and conditions such as period and the like do not need to be set. And when the data belongs to the middle level, adding a 'synchronization period' under the field of the active push type, and if the data belongs to the low-level real-time performance, adding a 'fixed period' under the field of the active push type.
Determining a corresponding active push period according to the active push type, when the field of the active push type is empty, performing real-time push by using a data interface corresponding to each device in a device data interface mapping relation table, when the field of the active push type is a synchronization period, setting the active push period to be a range value between a preset push period minimum value and a preset push period maximum value, and when the field of the active push type is a fixed period, setting the active push period to be the preset push period maximum value.
In one embodiment, the synchronization management table further includes the following fields: object combination matching conditions and a notification device set; the linkage rule record further includes: a linkage trigger condition;
aiming at the linkage rule configuration table based synchronization management table in the above steps, the method also comprises the following steps:
and if the real-time level of the current input object is a medium level or a low level, inputting the linkage trigger condition recorded by the current input object in the linkage rule configuration table to the object combination matching condition field of the synchronous management table, and taking the output object set recorded in the linkage rule record of the input object as the notification equipment set of the current input object.
In this step, when the level is low or medium, the corresponding linkage rule configuration table inputs the linkage trigger condition to the object combination matching condition field of the synchronous management table, the corresponding output object set is used as the notification device set of the current input object, after the gateway acquires the state information, the gateway can judge whether the condition that the linkage device needs to respond is met according to the object combination matching condition in the synchronous management table, and when the information state of the input object meets the corresponding object combination matching condition, the gateway generates the control instruction according to the output object recorded in the notification device set and the operation that the output object should respond.
When the real-time level is a high level, the gateway can directly send the state information to the controller corresponding to the output object in the set according to the real-time associated equipment set after acquiring the state information, and the controller judges the matching condition according to the linkage rule configuration table. Therefore, when the real-time level is a high level, in the synchronization management table, the object combination matching condition field and the notification device set may be empty sets, and when facing the empty sets of the two parts in the synchronization management table, it may indicate that the gateway does not need to determine the matching condition, and only needs to complete data forwarding.
In this embodiment, the building gateway may automatically generate the "full system associated object definition table" and the "synchronous management table" according to the service layer linkage rule, thereby implementing dynamic construction or adjustment of a bottom layer synchronous mode mechanism for data interaction of each subsystem adapted to the building gateway according to the service layer linkage requirement, and greatly improving the universality and expandability of multi-service linkage management deployment in a large-scale building integrated management application scenario.
In addition, through a mixed linkage management deployment mode of gateway centralized type or field controller distributed type, data objects belonging to each subsystem can be docked in any form such as active/passive acquisition, and the flexibility and adaptability of the system linkage deployment and docking mode are ensured particularly under the conditions that the types of the current building subsystems are various, and the service control functions and data interface modes of different subsystems are different.
In one embodiment, the method further comprises the following steps:
when the linkage rule configuration table is detected to be updated, acquiring the updated content;
and updating the synchronous management table according to the updated content.
In the process, the gateway can judge whether the linkage rule configuration table needs to be detected or not by checking whether a newly uploaded linkage rule configuration table exists or whether a user modifies the original linkage rule configuration table or not, if the detection result shows that the existing linkage rule configuration table is not completely consistent with the linkage rule configuration table in the last detection, the gateway can rebuild the synchronous management table according to the content of the existing linkage rule configuration table, can also screen out inconsistent contents in the two linkage rule configuration tables, and correspondingly updates the content of the synchronous management table according to the inconsistent contents.
In addition, when the field controller belongs to the first access gateway or the connection state with the gateway changes or the linkage trigger condition changes, the gateway sends the latest linkage trigger condition to the corresponding field controller.
In one embodiment, the method further comprises the following steps:
acquiring the resource load rate of the gateway;
adjusting the synchronization period by adopting the resource load rate, wherein the adjustment comprises the following steps: when the resource load rate does not exceed the preset minimum value, setting the synchronization period as the preset pushing period minimum value; when the resource load rate is in an ascending state compared with the previously acquired resource load rate, the synchronization period is increased by a specified increase amplitude; and when the resource load rate exceeds the preset maximum value, adjusting the synchronization period to the preset pushing period maximum value.
In the process, the gateway can dynamically adjust the synchronization period within a range from a preset pushing period minimum value to a preset pushing period maximum value defined by the active pushing period according to the current resource load condition, and when the resource load rate does not exceed the preset minimum value, the synchronization period can be set as the preset pushing period minimum value. When the resource load rate is increasing but does not reach the upper limit, the allowance of the current resource of the gateway is still larger, and the setting time of the synchronization period can be gradually reduced. In specific implementation, when the resource load rate reaches 80%, the synchronization period may be adjusted to a preset maximum value of the push period, so as to relieve the load pressure of the gateway.
In a specific implementation, referring to a data synchronization mode adaptive adjustment scheduling diagram based on gateway resource load sensing in fig. 7, when a push type is a fixed period, the fixed period is set to a preset push period maximum value, and when read state information changes with content of the previous time, a control instruction is sent to a corresponding controller through steps of determining an output device object, querying a corresponding interface relationship, and the like; when the resource load rate does not exceed the preset minimum value, setting the synchronization period as the preset pushing period minimum value; when the resource load rate does not reach a preset upper limit value, reducing according to a certain calculation mode, if a preset pushing period minimum value n is a reduction amplitude, n is a preset numerical value, exemplary n can be 0.2, subtracting the reduced numerical value from a current synchronization period value to obtain a difference value as a latest synchronization period, comparing the latest synchronization period with the preset pushing period minimum value, if the value is greater than or equal to the preset pushing period minimum value at the moment, setting the synchronization period as the latest synchronization period value, and if the value is less than the preset pushing period minimum value, setting the synchronization period as the preset pushing period minimum value; and when the resource load rate reaches a preset upper limit value, setting the synchronization period as a preset pushing period maximum value.
In this embodiment, the gateway can adaptively adjust the data synchronization mode through the gateway's own resource load sensing according to different real-time level requirements in the service layer linkage rules, thereby ensuring the linkage service real-time.
In specific implementation, referring to the schematic diagram of the early warning process of the gateway resource load rate and the system scale matching in fig. 8, the gateway may continuously detect the resource load rate of the gateway, determine that the scale of the subsystem or the number of controller nodes to which the gateway is connected exceeds the upper limit when both the active reading period and the synchronization period reach the maximum value and the gateway resource load rate still exceeds the preset maximum value, and immediately send out an alarm message, at this time, a system administrator should generally adjust or optimize the number of the subsystem devices to ensure the real-time performance of the linkage application.
According to the embodiment of the application, the building gateway configures the table to construct the synchronous management table according to the pre-configured linkage rule, the synchronous management table is provided with the matching data records of each terminal, and the matching data records comprise: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types; firstly, determining a matching data record of a target equipment object in a synchronous management table, after state information of the target equipment object is obtained, if the object monitoring type is a gateway, judging whether a matching condition is met by the gateway, if so, generating a control instruction according to operation information and sending the control instruction to an output equipment object so that the output equipment object responds to operation; and if the object monitoring type is a non-gateway type, sending the state information to the output equipment object, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition. According to the embodiment of the application, the multi-service subsystem linkage is realized by automatically constructing the synchronous management table, and the guarantee is provided for convenient deployment and high real-time performance of multi-service linkage management in a large-scale building comprehensive management scene.
Example two
Fig. 9 is a block diagram of an embodiment of a data processing apparatus based on a smart building system according to the present application, the smart building system includes a building gateway and a device object connected to the building gateway, the apparatus includes:
a matching data record obtaining module 910, configured to match object information of a current target device object in a pre-constructed synchronization management table to obtain a matching data record of the current target device object in the synchronization management table, where the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record includes: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types;
a status information obtaining module 920, configured to obtain status information of the target device object;
a gateway type matching condition determining module 930, configured to determine, when the object monitoring type is a gateway type, whether the target device object meets the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object;
a non-gateway type matching condition determining module 940, configured to send the status information to the output device object when the object monitoring type is a non-gateway type, so that the output device object performs an operation corresponding to the operation information when determining that the status information satisfies the matching condition. In an embodiment, the target device object includes a target controller, and the state information obtaining module 920 is specifically configured to:
and receiving the state information uploaded by the target controller.
In one embodiment, the matching data record further comprises: the timing reading period, the state information obtaining module 920 is specifically configured to:
and if the state information uploaded by the target controller is not received in the timing reading period, requesting the state information from the target controller.
In one embodiment, the output device object includes an output controller, the matching data record further includes: a push cycle;
the gateway type matching condition determining module 930 includes the following sub-modules for sending the status information to the output device object:
the real-time grade acquisition sub-module is used for acquiring the real-time grade of the target equipment object in the linkage rule configuration table according to the object information of the target equipment object, wherein the real-time grade comprises a high grade, a middle grade and a low grade;
the real-time status information sending submodule is used for sending the status information to the output controller in real time when the real-time level is a high level;
the sending submodule in the state information period is used for sending the state information to the output controller according to the request when the real-time grade is a medium grade or a low grade and the request of the output controller is received in the pushing period;
and the state information period sending submodule is used for sending the state information to the output controller according to the arrival of the pushing period when the real-time level is a middle level or a low level and the request of the output controller is not received in the pushing period.
In one embodiment, the matching data record further comprises: a push type corresponding to the push period, wherein the push period comprises a fixed period and a synchronous period;
in the status information period sending submodule, the following unit is included for sending the status information to the output controller according to the time when the push period arrives:
a fixed period sending unit, configured to send the state information to the output controller when the push period is a fixed period and it is determined that the state information changes from the state information obtained last time;
and the synchronous period sending unit is used for sending the state information to the output controller when the synchronous period is reached when the push period is the synchronous period.
In one embodiment, the synchronization management table is constructed by the following modules:
the linkage rule configuration table receiving module is used for receiving a linkage rule configuration table sent by an application platform layer, and the linkage rule configuration table comprises a plurality of linkage rule data records;
and the synchronous management table building module is used for building the synchronous management table based on the linkage rule configuration table.
In one embodiment, the synchronization management table includes the following fields: the method comprises the following steps of object identification, a real-time associated equipment set, an active push equipment set and an object monitoring type; the object monitoring type comprises a gateway type and a non-gateway type; the linkage rule configuration table is recorded with a plurality of linkage rule records, and each linkage rule record comprises: inputting a set of objects, a real-time level of a current rule, and a set of output objects; the real-time levels comprise a high level, a medium level and a low level; the synchronous management table building module comprises the following sub-modules:
the object identification field content filling sub-module is used for sequentially filling the input objects of each input object set in the linkage rule configuration table into the object identification fields of the synchronous management table;
a real-time associated equipment set content determining submodule, configured to read the real-time level from the linkage rule record of the input object for each input object, and if the real-time level is a high level and the corresponding object monitoring type is a non-gateway type, use an output object set recorded in the linkage rule record in which the input object is located as a real-time associated equipment set of the current input object;
and the active push equipment set content determining submodule is used for taking the output object set recorded in the linkage rule record where the input object is located as the active push equipment set of the current input object when the real-time level is the middle level or the low level, or the real-time level is the high level and the corresponding object monitoring type is the gateway type.
In one embodiment, the synchronization management table further includes the following fields: an active reading period, an active push type and an active push period;
the synchronization management table building module further comprises the following sub-modules:
the active reading period and active pushing type determining submodule is used for determining the active reading period and the active pushing type of the input object according to the real-time grade recorded by each input object in the linkage rule record of the input object;
and the active push period determining submodule is used for determining a corresponding active push period according to the active push type.
In one embodiment, the synchronization management table further includes the following fields: object combination matching conditions and a notification device set; the linkage rule record further includes: a linkage trigger condition;
the synchronization management table building module is further specifically configured to:
and if the real-time level of the current input object is a medium level or a low level, inputting the linkage trigger condition recorded by the current input object in the linkage rule configuration table to the object combination matching condition field of the synchronous management table, and taking the output object set recorded in the linkage rule record of the input object as the notification equipment set of the current input object.
In one embodiment, the method further comprises the following modules:
the updating content obtaining module is used for obtaining updating content when the linkage rule configuration table is detected to be updated;
and the synchronous management table updating module is used for updating the synchronous management table according to the updating content.
In one embodiment, the method further comprises the following modules:
the resource load rate acquisition module is used for acquiring the resource load rate of the gateway;
a synchronization cycle adjusting module, configured to adjust the synchronization cycle by using the resource load rate, where the adjusting includes: when the resource load rate does not exceed a preset minimum value, setting the synchronization period as a preset period minimum value; when the resource load rate is in an ascending state compared with the previously acquired resource load rate, increasing the synchronization period by a specified increase amplitude; and when the resource load rate exceeds a preset maximum value, adjusting the synchronization period to be a preset period maximum value.
The data processing device based on the intelligent building system provided by the embodiment of the present application can execute the data processing method based on the intelligent building system provided by the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 10 is a schematic structural diagram of an electronic device according to a third embodiment of the present application, as shown in fig. 10, the electronic device includes a processor 1010, a memory 1020, an input device 1030, and an output device 1040; the number of the processors 1010 in the electronic device may be one or more, and one processor 1010 is taken as an example in fig. 10; the processor 1010, the memory 1020, the input device 1030, and the output device 1040 in the electronic apparatus may be connected by a bus or other means, and fig. 10 illustrates an example of connection by a bus.
Memory 1020, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instruction modules corresponding to method embodiments in the embodiments of the present application. The processor 1010 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 1020, thereby implementing the above-described method.
The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 1020 may further include memory located remotely from the processor 1010, which may be connected to an electronic device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 1030 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function controls of an electronic apparatus. Output device 1040 may include a display device such as a display screen.
Example four
A storage medium containing computer-executable instructions for performing the method in the method embodiments when executed by a computer processor is also provided.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the foregoing apparatus, the modules and modules included in the apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (14)

1. A data processing method based on an intelligent building system, wherein the intelligent building system comprises a building gateway and a plurality of device objects connected with the building gateway, and the method comprises the following steps:
matching object information of a current target equipment object in a pre-constructed synchronization management table to obtain a matching data record of the current target equipment object in the synchronization management table, wherein the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record comprises: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types;
acquiring state information of the target equipment object;
if the object monitoring type is a gateway type, judging whether the target equipment object meets the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object;
and if the object monitoring type is a non-gateway type, sending the state information to the output equipment object, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition.
2. The method of claim 1, wherein the target device object comprises a target controller, and wherein the obtaining the status information of the target device object comprises:
and receiving the state information uploaded by the target controller.
3. The method of claim 1, wherein matching the data records further comprises: the timing reading cycle, the acquiring the state information of the target device object, includes:
and if the state information uploaded by the target controller is not received in the timing reading period, requesting the state information from the target controller.
4. The method of any of claims 1-3, wherein the output device object comprises an output controller, and wherein matching the data record further comprises: a push cycle;
prior to the sending the status information into the output device object, the method further comprises:
according to object information of a target equipment object, acquiring real-time levels of the target equipment object in a linkage rule configuration table, wherein the real-time levels comprise a high level, a middle level and a low level;
the sending the state information to the output device object includes:
if the real-time grade is a high grade, the state information is sent to the output controller in real time;
if the real-time level is a medium level or a low level and a request of the output controller is received in the push period, sending the state information to the output controller according to the request;
and if the real-time level is a medium level or a low level and the request of the output controller is not received in the push period, sending the state information to the output controller according to the push period.
5. The method of claim 4, wherein matching the data records further comprises: a push type corresponding to the push period, wherein the push period comprises a fixed period and a synchronous period;
the sending the state information to the output device object according to the push cycle arriving includes:
if the pushing period is a fixed period and the state information is judged to be changed from the state information acquired last time, the state information is sent to the output controller when the fixed period is reached;
and if the pushing period is a synchronous period, sending the state information to the output controller when the synchronous period is reached.
6. A method according to any of claims 1-3, characterized in that the synchronization management table is constructed in the following way:
receiving a linkage rule configuration table sent by an application platform layer, wherein the linkage rule configuration table comprises a plurality of linkage rule data records;
and constructing the synchronous management table based on the linkage rule configuration table.
7. The method of claim 6, wherein the synchronization management table comprises the following fields: the method comprises the following steps of object identification, a real-time associated equipment set, an active push equipment set and an object monitoring type; the object monitoring type comprises a gateway type and a non-gateway type; the linkage rule configuration table is recorded with a plurality of linkage rule records, and each linkage rule record comprises: inputting a set of objects, a real-time level of a current rule, and a set of output objects; the real-time levels comprise a high level, a medium level and a low level;
the constructing the synchronization management table based on the linkage rule configuration table comprises:
sequentially filling the input objects of each input object set in the linkage rule configuration table into the object identification fields of the synchronous management table;
for each input object, reading the real-time grade from the linkage rule record of the input object, and if the real-time grade is high grade and the corresponding object monitoring type is a non-gateway type, taking an output object set recorded in the linkage rule record where the input object is located as a real-time associated equipment set of the current input object;
and if the real-time level is a medium level or a low level, or the real-time level is a high level and the corresponding object monitoring type is a gateway type, taking an output object set recorded in the linkage rule record where the input object is located as an active push equipment set of the current input object.
8. The method of claim 7, wherein the synchronization management table further comprises the following fields: an active reading period, an active push type and an active push period;
the constructing the synchronous management table based on the linkage rule configuration table further comprises:
determining an active reading period and an active pushing type of each input object according to the real-time grade recorded in the linkage rule record of the input object by each input object;
and determining a corresponding active push period according to the active push type.
9. The method of claim 8, wherein the synchronization management table further comprises the following fields: object combination matching conditions and a notification device set; the linkage rule record further includes: a linkage trigger condition;
the constructing the synchronous management table based on the linkage rule configuration table further comprises:
and if the real-time level of the current input object is a medium level or a low level, inputting the linkage trigger condition recorded by the current input object in the linkage rule configuration table to the object combination matching condition field of the synchronous management table, and taking the output object set recorded in the linkage rule record of the input object as the notification equipment set of the current input object.
10. The method of claim 6, further comprising:
when the linkage rule configuration table is detected to be updated, acquiring updated content;
and updating the synchronous management table according to the updated content.
11. The method of claim 6, further comprising:
acquiring the resource load rate of the gateway;
adjusting the synchronization period by using the resource load rate, wherein the adjusting comprises: when the resource load rate does not exceed a preset minimum value, setting the synchronization period as a preset pushing period minimum value; when the resource load rate is in an ascending state compared with the previously acquired resource load rate, increasing the synchronization period by a specified increase amplitude; and when the resource load rate exceeds a preset maximum value, adjusting the synchronization period to be a preset pushing period maximum value.
12. A data processing device based on wisdom building system, its characterized in that wisdom building system includes building gateway and with the equipment object that building gateway is connected, the device includes:
a matching data record obtaining module, configured to match object information of a current target device object in a pre-constructed synchronization management table to obtain a matching data record of the current target device object in the synchronization management table, where the synchronization management table is generated according to a pre-configured linkage rule configuration table, and the matching data record includes: matching conditions, output equipment objects, operation information corresponding to the output equipment objects and object monitoring types;
the state information acquisition module is used for acquiring the state information of the target equipment object;
a gateway type matching condition judging module, configured to, when the object monitoring type is a gateway type, judge whether the target device object satisfies the matching condition according to the state information; if so, generating a control instruction according to the operation information, and sending the control instruction to the output equipment object;
and the non-gateway type matching condition judging module is used for sending the state information to the output equipment object when the object monitoring type is a non-gateway type, so that the output equipment object executes the operation corresponding to the operation information when judging that the state information meets the matching condition.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-11 when executing the program.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 11.
CN202111424114.5A 2021-11-26 2021-11-26 Data processing method and device based on intelligent building system Active CN114125005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111424114.5A CN114125005B (en) 2021-11-26 2021-11-26 Data processing method and device based on intelligent building system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111424114.5A CN114125005B (en) 2021-11-26 2021-11-26 Data processing method and device based on intelligent building system

Publications (2)

Publication Number Publication Date
CN114125005A true CN114125005A (en) 2022-03-01
CN114125005B CN114125005B (en) 2023-09-22

Family

ID=80370371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111424114.5A Active CN114125005B (en) 2021-11-26 2021-11-26 Data processing method and device based on intelligent building system

Country Status (1)

Country Link
CN (1) CN114125005B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348347A (en) * 2020-11-02 2021-02-09 日立楼宇技术(广州)有限公司 Building management system and processing method, device and equipment thereof
CN114679630A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Data transmission method, device and computer readable storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407443A (en) * 2001-08-21 2003-04-02 深圳市赛格信力德智能系统工程有限公司 Building intelligent system controlling method
CN101963803A (en) * 2010-09-09 2011-02-02 上海数字智能化系统工程有限公司 Intelligent building integrated system
CN103281337A (en) * 2013-06-20 2013-09-04 安科智慧城市技术(中国)有限公司 Method, server and system for equipment centralized management
CN106878416A (en) * 2017-02-15 2017-06-20 曾宪山 A kind of Architectural Equipment collaboration interconnection intelligent integrated management system
KR20180024137A (en) * 2016-08-29 2018-03-08 창신정보통신(주) Circumstantial recognition energy management type smart socket service system and method
US20180076978A1 (en) * 2016-09-09 2018-03-15 Johnson Controls Technology Company Smart gateway devices, systems and methods for providing communication between hvac system networks
CN108268019A (en) * 2018-02-11 2018-07-10 合肥图久智能科技有限公司 Building automatic control system based on P-BUS buses
CN108459565A (en) * 2017-12-25 2018-08-28 北京泰豪智能工程有限公司 A kind of flattening intelligent building control system
CN110740546A (en) * 2019-10-14 2020-01-31 国网山东省电力公司应急管理中心 night illumination sensing system based on intelligent Internet of things
CN110779573A (en) * 2019-10-30 2020-02-11 重庆瑞坤科技发展股份有限公司 Wisdom district thing networking data acquisition box
CN111210364A (en) * 2019-12-27 2020-05-29 湖南华宽通科技股份有限公司 Intelligent building comprehensive monitoring management platform system
US10819556B1 (en) * 2017-10-16 2020-10-27 Equinix, Inc. Data center agent for data center infrastructure monitoring data access and translation
US20200351645A1 (en) * 2019-05-02 2020-11-05 Samsung Electronics Co., Ltd. Method and apparatus for reporting ue capabilities using manufacturer-specific identifier of ue capability in next mobile communication systems
CN112087523A (en) * 2020-09-18 2020-12-15 成都聚家科技有限公司 Intelligent building management system and device based on cloud service and computer readable storage medium
CN112346347A (en) * 2020-10-19 2021-02-09 天筑科技股份有限公司 Intelligent building integrated management system and information processing method thereof
CN112348347A (en) * 2020-11-02 2021-02-09 日立楼宇技术(广州)有限公司 Building management system and processing method, device and equipment thereof
CN112422708A (en) * 2020-11-02 2021-02-26 日立楼宇技术(广州)有限公司 Building system and construction method, device and equipment thereof
CN113516331A (en) * 2020-11-25 2021-10-19 腾讯科技(深圳)有限公司 Building data processing method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407443A (en) * 2001-08-21 2003-04-02 深圳市赛格信力德智能系统工程有限公司 Building intelligent system controlling method
CN101963803A (en) * 2010-09-09 2011-02-02 上海数字智能化系统工程有限公司 Intelligent building integrated system
CN103281337A (en) * 2013-06-20 2013-09-04 安科智慧城市技术(中国)有限公司 Method, server and system for equipment centralized management
KR20180024137A (en) * 2016-08-29 2018-03-08 창신정보통신(주) Circumstantial recognition energy management type smart socket service system and method
US20180076978A1 (en) * 2016-09-09 2018-03-15 Johnson Controls Technology Company Smart gateway devices, systems and methods for providing communication between hvac system networks
CN106878416A (en) * 2017-02-15 2017-06-20 曾宪山 A kind of Architectural Equipment collaboration interconnection intelligent integrated management system
US10819556B1 (en) * 2017-10-16 2020-10-27 Equinix, Inc. Data center agent for data center infrastructure monitoring data access and translation
CN108459565A (en) * 2017-12-25 2018-08-28 北京泰豪智能工程有限公司 A kind of flattening intelligent building control system
CN108268019A (en) * 2018-02-11 2018-07-10 合肥图久智能科技有限公司 Building automatic control system based on P-BUS buses
US20200351645A1 (en) * 2019-05-02 2020-11-05 Samsung Electronics Co., Ltd. Method and apparatus for reporting ue capabilities using manufacturer-specific identifier of ue capability in next mobile communication systems
CN110740546A (en) * 2019-10-14 2020-01-31 国网山东省电力公司应急管理中心 night illumination sensing system based on intelligent Internet of things
CN110779573A (en) * 2019-10-30 2020-02-11 重庆瑞坤科技发展股份有限公司 Wisdom district thing networking data acquisition box
CN111210364A (en) * 2019-12-27 2020-05-29 湖南华宽通科技股份有限公司 Intelligent building comprehensive monitoring management platform system
CN112087523A (en) * 2020-09-18 2020-12-15 成都聚家科技有限公司 Intelligent building management system and device based on cloud service and computer readable storage medium
CN112346347A (en) * 2020-10-19 2021-02-09 天筑科技股份有限公司 Intelligent building integrated management system and information processing method thereof
CN112348347A (en) * 2020-11-02 2021-02-09 日立楼宇技术(广州)有限公司 Building management system and processing method, device and equipment thereof
CN112422708A (en) * 2020-11-02 2021-02-26 日立楼宇技术(广州)有限公司 Building system and construction method, device and equipment thereof
CN113516331A (en) * 2020-11-25 2021-10-19 腾讯科技(深圳)有限公司 Building data processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
S. WEI等: ""Research and Application of Intelligent Building System Integration Methods"", 《2009 PACIFIC-ASIA CONFERENCE ON CIRCUITS, COMMUNICATIONS AND SYSTEMS》 *
张博: "\"智能楼宇以Ifix为集成平台的系统联动\"", 《电子测试》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348347A (en) * 2020-11-02 2021-02-09 日立楼宇技术(广州)有限公司 Building management system and processing method, device and equipment thereof
CN112348347B (en) * 2020-11-02 2024-03-26 日立楼宇技术(广州)有限公司 Building management system and processing method, device and equipment thereof
CN114679630A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Data transmission method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN114125005B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US11678426B2 (en) Commissioning mesh network-capable devices, based on functions associated with a scenario assigned to a space
US9998297B2 (en) Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
US9612585B2 (en) Distributed building control system
CN114125005A (en) Data processing method and device based on intelligent building system
CN110557448A (en) Control method and system for smart home
EP3345057B1 (en) System, device and method for automatic commissioning of application control systems
CN106162639A (en) SDN wireless network management platform based on Floodlight and authentication method
CN112540545B (en) Intelligent equipment control method and system based on multiple intelligent systems
US11095471B2 (en) Home-automation system and method for constituting the topology of a home-automation system
WO2023024752A1 (en) Network optimization method and apparatus, and electronic device
US11805023B2 (en) Cloud-based IoT network virtualization system and networking method
CN109981424B (en) Linkage scheme processing method and device, electronic equipment and storage medium
CN113986349A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
WO2017093559A1 (en) Intelligent lighting and sensing system and method thereof
US20170094035A1 (en) Management method and management device
CN115486039A (en) Node control unit and network service equipment
CN114326420A (en) Intelligent grouping method and device for equipment, intelligent equipment and storage medium
CN117201551B (en) Building information processing method based on Internet of things
CN111768165B (en) Intelligent building design system and design method thereof
CN108954696B (en) Air conditioner control system and method based on Thread protocol
CN113645108B (en) Intelligent household equipment monitoring system and method
CN112925212B (en) Equipment control method and device
CN115190128B (en) Computing power perception and computing task distribution system based on embedded edge gateway
EP3258712B1 (en) Network architecture combining small cell and m2m systems, related method and related device
CN116390123A (en) Device control method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant