CN106776854B - Data bonding structure and processing method suitable for subway comprehensive monitoring system - Google Patents

Data bonding structure and processing method suitable for subway comprehensive monitoring system Download PDF

Info

Publication number
CN106776854B
CN106776854B CN201611068439.3A CN201611068439A CN106776854B CN 106776854 B CN106776854 B CN 106776854B CN 201611068439 A CN201611068439 A CN 201611068439A CN 106776854 B CN106776854 B CN 106776854B
Authority
CN
China
Prior art keywords
data
calculation
bonder
unit
model
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.)
Active
Application number
CN201611068439.3A
Other languages
Chinese (zh)
Other versions
CN106776854A (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.)
Nanjing Sac Rail Traffic Engineering Co ltd
Original Assignee
Nanjing Sac Rail Traffic Engineering 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 Nanjing Sac Rail Traffic Engineering Co ltd filed Critical Nanjing Sac Rail Traffic Engineering Co ltd
Priority to CN201611068439.3A priority Critical patent/CN106776854B/en
Publication of CN106776854A publication Critical patent/CN106776854A/en
Application granted granted Critical
Publication of CN106776854B publication Critical patent/CN106776854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/313Logic programming, e.g. PROLOG programming language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven

Abstract

The invention discloses a data bonding structure suitable for a subway comprehensive monitoring system.A relational real-time database is constructed by adopting an object-oriented technology, each physical device is represented as a data object in the relational real-time database and has a unique identification ID (identity), multi-dimensional depiction of the data object is represented by a series of attributes of the object, and each attribute also has the unique identification ID; the bonder is designed according to application requirements, shields the existing structure organization, eliminates the partition boundary among station, professional and data type data, rearranges the application-interested data into an ordered structure in a data association mode from the application requirements, configures auxiliary information of a new structure, and finally presents the most accurate data organization form for high-level application; meanwhile, the preset calculation assistance of each bonder prepares predictable and regularly following logic processing for the application in advance, and provides convenience of data and logic support for upper-level application to the maximum.

Description

Data bonding structure and processing method suitable for subway comprehensive monitoring system
Technical Field
The invention relates to a data bonding structure and a processing method for a real-time comprehensive monitoring control system in the field of rail transit such as subways, light rails, monorail and trams.
Background
An Integrated software and hardware platform and a special communication network are adopted by a subway/light rail/single rail/tram Integrated supervisory control System (ISCS Integrated supervisory control System) to acquire a plurality of professional real-time data and environmental parameters such as a power supply System, an environment and equipment monitoring System, a fire alarm System, a signal System, a broadcasting System, a passenger information System and the like, and the operation of each professional System is remotely controlled; this inevitably involves the deployment, structural organization and logical use of thousands of operating devices and hundreds of thousands of data sites. Meanwhile, with the improvement of intelligent requirements of subway operation management and control and the continuous penetration application of industrial big data analysis and mining technology, the demands of operation on engineering measuring point capacity and deep data analysis continue to show a continuously rapid rising trend. Therefore, the efficient and easy-to-use data organization architecture has a vital influence on the engineering implementation workload, the actual operation efficiency of the system and the application expansibility of the system.
The prior art has the following disadvantages: the existing comprehensive monitoring system database generally organizes data according to 'location + specialty + data type' as unit dimension, keeps mapping consistency with the distribution of physical equipment objects of subway lines, and is easy to understand configuration; however, with the increasing demand of subway operation on the level of refinement and intelligence of equipment and data management, the trend of association, extraction and analysis of big data is rising day by day, the existing structure cannot reflect the association and interactivity among multiple types of equipment and measuring points, and the association is inevitably and widely existed in a comprehensive monitoring system, so that the data support layer is often a soft rib when the development and expansion of more and more new high-grade applications are faced. Developers of each module have to draw efforts to consider how to develop secondary organization of data to meet own program requirements under the condition that the existing structure is maintained unchanged while thinking about own application specific logic; meanwhile, many conventional recyclable similar logic codes cannot be shared, development difficulty and period are increased, and the efficiency of resource use is reduced due to extra codes.
Disclosure of Invention
Aiming at the defects in the prior art, the invention precisely organizes the associated measuring points and the relationship according to the special requirements of application development by a unique bonding structure design constructed on the structure of the prior database in a configuration mode, shields the segmentation and solidification limitations of the existing stations, specialties and data types, and makes the high-level application development clearer, simpler and easier to use on the data support level; meanwhile, a strong programming support can be arranged in the adhesive, and predictable regular follow-up common logic processing is completed in the adhesive; therefore, on the basis of maintaining the existing data structure unchanged, the method can directly replace high-level application development or provide flexible and appropriate data and logic preparation for the application development, greatly improves the development efficiency, and provides a high design flexibility and convenient solution for the application expansion after the system is formed.
In order to achieve the purpose of the invention, the invention adopts the technical scheme that: the utility model provides a structure is glued to adaptation subway integrated monitoring system's data which characterized in that: the system comprises a high-level application, a relation real-time database and an agglutinator, wherein the relation real-time database is constructed by adopting an object-oriented technology, each physical device is represented as a data object in the relation real-time database and has a unique identification ID (identity), multi-dimensional portrayal of the data object is represented by a series of attributes of the object, and each attribute also has the unique identification ID; the bonder is designed according to application requirements, shields the existing structure organization, eliminates the partition boundary among station, professional and data type data, and only rearranges the application-interested data into an ordered structure in a data association mode and configures auxiliary information of a new structure from the application requirements, and finally presents the most accurate data organization form for high-level application; meanwhile, the preset calculation assistance is carried out on each bonder, the predictable regular logic processing is prepared for the application in advance, and the convenience of data and logic support is provided for the upper-level application to the maximum extent; the high-level application not only comprises the expanded high-level application of the basic platform of the subway comprehensive monitoring system, but also comprises various professional and various types of new development requirements of continuous accumulation and excavation of subway operation and maintenance.
The bonder consists of a data unit, a structural unit, a calculation unit and a calculation model;
the data unit is a trigger unit for the operation of the bonder and is also an interaction unit with the relation real-time database; the data unit registers a data change notification request to the relational real-time database according to data measuring point storage of the structural unit, and provides a callback interface, when the concerned data changes and is monitored, the callback interface is automatically called, pushes the data to the computing unit, and completes subsequent logic computation by the computing unit; each frame of data in a data unit is a fixed format combination: change data point ID + change attribute ID + change value; the data unit provides data preparation for the computing unit, and the computing unit is a final execution unit of logic;
the structural unit is a data reconstruction core of the bonder and organizes measuring points interested in high-level application in a certain data structure to form a new data model which is more convenient to process; the complete structural unit is composed of two types of objects: a bonder object (BondingAgent) and a calculation object (callargent), each bonder object (BondingAgent) comprising at least two important data items: UniqueID, a globally unique identifier of the bonder, and also an identification parameter for providing operation objects such as construction, search, traversal, and command; ParticipantList, a list of child objects governed by the binder, and a UniqueID ordered sequence of child nodes in the list; after the organization of the bonder object is completed, configuring auxiliary computing object (CalcArgument) child nodes participating in internal computation under the bonder object;
the calculation unit bears all real-time calculation tasks of the bonder, receives all data changes of the data unit, searches and calls all configured calculation models related to the changed data, and writes back calculation results to a real-time database so as to complete a complete bonder operation process; the calculation unit comprises a one-to-many mapping table, wherein a key is an object ID set related to an InputObjectList in a structural unit, and a value is a combination of an attribute ID + a calculation object CalcArgumetID (possibly multiple) in the InputAttributeList; when data change is received, a mapping table is searched, all calculation objects CalcArgumetID where the object and the attribute participate are obtained, then the calculation model pointed by the ModelLink corresponding to the CalcArgumetID is obtained, and the calculation process is executed after the calculation models are checked to be effective one by one; after the calculation is finished, writing the result into the object attribute values corresponding to the OutputObjectList and the OutputAttributeList to finish the updating of the relational real-time database;
the calculation model is a module set which is preset in the bonder and can be programmed and expanded on line at any time; the customizer of the bonder can compile calculation logic in a certain model by using a high-level language, and then compile to generate a module library for the calculation unit to call at any time according to the requirement; the calculation model can be reused, i.e. the same calculation model can be used no matter how many bonders bondingagents, only once coding, as long as the calculation logic is the same.
The invention also discloses a data adhesion processing method suitable for the subway comprehensive monitoring system, which is characterized by comprising the following steps of:
the first step is as follows: constructing a plurality of new bonders (BondingAgents) according to the secondary organization mode of the planning data required by advanced application based on the existing database structure;
the second step is that: for each bonder (BondingAgent), configuring its partitionantlist data entry, including existing data points within the subject jurisdiction;
the third step: planning a calculation logic and input and output parameters, configuring a new calculation Model, compiling a logic code, generating and compiling a complete code by utilizing a compiling function provided by a calculation Model, and generating a module library; if the existing calculation model is used, skipping the step;
the fourth step: configuring a plurality of calculation objects CalcArgument under a binder (BondingAgent) with calculation requirements, and configuring a plurality of calculation logics namely a plurality of objects; configuring InputObjectList, InputAttributeList, OutputObjectList and OutputAttributeList for each CalcArgument, configuring ModelLink, and linking the calculation model in the third step to complete the association of the InputObjectList, the InputAttributeList and the OutputAttributeList;
the fifth step: and starting the whole data bonding structure to realize flow operation, and controlling the starting or the failure of the calculation function in real time in the operation process.
Has the advantages that: according to the invention, through a unique adhesive structure design on the existing database structure, associated measuring points and relationships are accurately organized by using a configuration mode according to special requirements of application development, the segmentation and solidification limits of stations, professions and data types are shielded, and high-level application development is clearer, simpler and easier to use on a data support layer; meanwhile, a strong programming support can be built in, and predictable regular and recyclable logic processing can be quickly realized in the bonder; therefore, on the basis of maintaining the existing data structure unchanged, the method can directly replace advanced application development or provide flexible and appropriate data and logic preparation for the application development, reduces the difficulty and complexity of the existing conventional secondary development, greatly improves the development efficiency, and provides higher design flexibility and convenient solutions for the application expansion after the system is formed.
Drawings
Fig. 1 is a schematic view of the upper and lower relationship and the internal structure of the bonder in accordance with the embodiment of the present invention.
Fig. 2 is a schematic diagram of a stacked structural network of bonder configurations according to an embodiment of the invention.
FIG. 3 is a diagram illustrating an exemplary calculation model according to an embodiment of the present invention.
Detailed Description
The system constitution and the processing flow of the bonder are described below, the working principle of the flow is explained in detail, and finally, an application example is given.
The invention provides an extremely flexible freely-organized data structure for monitored equipment and measuring points by aiming at the requirements of integrating a large number of multi-professional data organization management and modeling in the rail transit field such as subways, light rails, single rails, trams and the like, namely, a novel data organization system which can be closely matched with high-grade application is reconstructed on the existing database structure by adopting the bonder technology, so that the data preparation of various novel application development is easily realized on the premise of keeping the original data organization stable, and the automation and multi-dimensional control intelligent level of a main control system is improved.
1. Fig. 1 shows a schematic view of the upper and lower relationship and internal structure of the bonder in this embodiment.
Figure BDA0001163763550000041
Relational/real-time database
The commercial relational database (or file system) and the real-time memory database derived from the same are the data core of the monitoring system, are configured in an existing structure and are constructed by adopting an object-oriented technology, each physical device is represented as a data object (measuring point) in the database and has a unique identification ID, the multi-dimensional depiction of the object is represented by a series of attributes of the object, and each attribute also has the unique identification ID. If the "temperature and humidity sensor H-8" is represented as an object in the database, the ID is identified as "32905856", and it is described in detail with several dozen attributes such as name (ID: 3), location (ID: 5), temperature measurement value (ID: 12), humidity measurement value (ID: 57), manual location value (ID: 26), fault status (ID: 20), alarm status (ID: 68), responsibility area (ID: 18), and the like. This allows the detailed information of the data points and dimensions described to be accurately located using two IDs.
The object-oriented structure provides data measuring points in all monitoring ranges of the whole subway line, and data organization is usually carried out by taking a location, a specialty and a data type as units. The storage structure has the advantages that the storage structure is completely mapped with the distribution of the real physical line object, and engineering configuration and management are facilitated; meanwhile, the structure naturally weakens or even ignores the relevance among a plurality of professions, equipment and data, and is not beneficial to the development of deep data development work.
Figure BDA0001163763550000051
Adhesive device
The bonder is a novel structure designed according to application requirements, shields the existing structure organization, eliminates the partition boundary among data such as stations, specialties, data types and the like, and starts from the application requirements, only rearranges the data interested in application into an ordered structure in a data association mode, configures auxiliary information of the new structure, and finally presents the most accurate data organization form for high-level application; at the same time, the pre-set computational assistance (optional, extensible) for each bonder, prepares predictable regularly traceable logic processes for applications ahead of time, maximizing the convenience of providing data, logic support for upper level applications.
Figure BDA0001163763550000052
Advanced applications
The high-level application comprises the expansion high-level application of a basic platform of a subway comprehensive monitoring system, and simultaneously comprises various professional and various types of new development requirements of continuous accumulation and excavation of subway operation and maintenance, and a package data reconstruction scheme is provided for the subway operation and maintenance system by an adhesive structure.
2. Principle of bonder
As shown in fig. 1, the bonder contains a total of 4 key working components:
2.1 data Unit
The data unit is a trigger unit for the operation of the bonder and is also an interactive unit with the real-time database. The main work of the data unit is to register (subscribe) a notification request of data change to the real-time database according to the data measuring point reserve of the structural unit, provide a callback interface, and when the concerned data changes and is monitored, the callback interface is automatically called and pushes the data to the computing unit, so that the subsequent logic computation is completed by the computing unit.
There are several cases of data changes:
1) change of state of the measuring point: if a certain measuring point representing the switch state of the circuit breaker is changed from 'closing' to 'opening';
2) issuing an upper layer application command: if a certain ventilation mode is initiated by the schedule, indicating that the associated device needs to execute the mode;
3) and (3) real-time configuration management: and modifying the data of the structural unit on line, such as adding or deleting a measuring point managed by the bonder.
Each frame of data in a data unit is a fixed format combination: change data point ID + change attribute ID + change value.
The data unit provides data preparation for the computing unit, and the computing unit is a logic final execution unit, and the functions of the computing unit and the final execution unit are separated to ensure that interaction between the data unit and the real-time library is not blocked (such as monitoring timeout or missing change push) due to complex execution processes and resource consumption of the computing unit.
2.2 structural units
The structural unit is a data reconstruction core of the bonder, and the measuring points of interest are organized in a certain data structure to form a new data model which is more convenient to process.
The complete structural unit is composed of two types of objects: a bonder object (BondingAgent) and a calculation object (callargent).
Each BondingAgent contains 2 important data items, and other data items can be added as required:
1)UniqueID
the globally unique identifier of the bonder is also an identification parameter for providing operation objects such as construction, search, traversal, command and the like.
2)ParticipantList
The list of child objects administered by the binder is a unique ID ordered sequence of child nodes in the list, which is in the form of (A)1,b2,C1,D3,e2….)。
The child objects may be:
a) nesting the bonder: namely, the whole bonder which is organized at the next stage is used as a child of the object;
b) and (3) measuring points independently: and configuring the actual engineering data points in the existing database. Because the engineering data configuration in this embodiment is constructed by an object-oriented technology, each device and each measurement parameter are represented as an object and have a unique identifier; when the basic configuration database is constructed in other ways, the method is similar, and only the unique index identification of the child data measuring point is filled in the participientlist of the bonder.
FIG. 2 is a schematic diagram of a case showing the organization structure of a plurality of stacked application bonders and measuring points and the corresponding relationship with the original database structure, in which the newly-built bonders are represented by capital letters (in the form of A)1,C1…) with existing data points represented by lower case letters (shaped as b)1,h5…), it can be seen that one bonder can contain multiple bonders and stations, and that one station can be attached to multiple bonders as needed to form a new structural network that is fully built upon application.
Fig. 2 is a schematic diagram of a structure network after the configuration of the bonder in this embodiment is overlapped.
After the organization of the bonder object is completed, auxiliary computation object (calc) child nodes participating in internal computation are configured under the bonder object:
each calc algorithm object contains the following important configuration items:
1) InputObjectList: the number of the input data point ordered sequences required by the execution of the calculation unit is not limited, and the objects correspond to the data points which are registered and pushed by the data units and change, namely, the change information pushed by the data units can find corresponding items in the InputObjectList necessarily, so that a subsequent series of calling processes can be completed; the configuration may be empty when no parameters need to be entered;
2) InputAttributeList: the data points of the InputObjectList are respectively corresponding to the attribute ordered sequences, the number of the attribute ordered sequences is consistent with that of the InputObjectList, and since the same object can have a plurality of dynamic attribute changes, which attribute of the object participates in the calculation needs to be determined; the configuration may be empty when no parameters need to be entered;
3) OutputObjectList: the data points are output in an ordered sequence required by the execution of the calculation unit, and the number of the data points is not limited at the result storage position after the execution is triggered by the calculation unit. The updated values of the objects in the real-time library are the final result of the whole calculation process, and the upper-level application judges whether the logic requirements are correctly executed; the configuration may be empty when no output parameters are needed;
4) OutputAttributeList: the respective corresponding attribute ordered sequences of the data points of the OutputObjectList are consistent with the OutputObjectList in number; the configuration may be empty when no output parameters are needed;
5) ModelLink: the calculation process used by the calculation object, i.e. the preset (or extended) calculation model is connected. And the model takes the parameters as input and output items to carry out calculation code execution. The configuration may be empty when computational logic is not needed;
6) and (4) Locked: the computing functions are enabled/disabled, whereby the real-time execution of all computing functions can be freely controlled as desired.
2.3 computing Unit
The calculation unit bears all real-time calculation tasks of the bonder, receives all data changes of the data unit, searches and calls all configured calculation models related to the changed data, and writes back calculation results to a real-time database, so that a complete bonder operation process is completed.
The calculation unit contains a one-to-many mapping table, the "key" is the set of object IDs referred to by the InputObjectList in the structuring unit, and the "value" is the combination of the attribute ID + the calculation object callargmentid (there may be more) in the inputtatributelist. When data change is received, a mapping table is searched, all calculation objects CalcArgumetID where the object and the attribute participate are obtained, then the calculation model pointed by the ModelLink corresponding to the CalcArgumetID is obtained, and the calculation process is executed after the calculation models are checked to be effective one by one; and after the calculation is finished, writing the result into the object attribute values corresponding to the OutputObjectList and the OutputAttributeList, and finishing the updating of the real-time database.
2.4 computational model
The calculation model is a module set which is preset in the bonder and can be programmed and expanded on line at any time. The customizer of the bonder can write the computation logic in a certain model by using C language, and then compile to generate a module library for the computation unit to call as required at any time. The calculation model can be reused, i.e. the same calculation model can be used no matter how many bonders bondingagents can be used, only once coding, as long as the calculation logic is the same.
The calculation Model (Model) comprises the following components:
1) the model name: the model is unique in identification and can not be repeated, and a complete code file is generated according to a code written by a user and a corresponding module library is generated when the model is calculated.
2) Inputting parameters: corresponding to the input objects and attributes in the structuring element callargent, the difference is that the structuring element is concerned about which data object instance and which attribute change, i.e. it is strongly associated with the database object; and the calculation model only concerns what data types and numbers of the attributes are, and the input items of the final structural unit are transmitted into the calculation model as function parameters and participate in calculation. And may be empty when no parameters need to be entered.
3) Outputting parameters: similar to the input parameter principle, the final calculation result of the model is written into the output object of the structural unit. And may be empty when no output parameters are needed.
4) Introducing a module: the calculation model is a reusable logic module, so that the modules can be used for embedding and quoting the realized parts, and the utilization rate of the codes is improved.
5) Program code for: and the logic realization of the model is realized by adopting C language with stronger adaptability and execution efficiency. Providing a code template, wherein a user only needs to fill in necessary codes for realizing logic, and other supplementary codes such as variable definition, unified header files, unified calling interfaces and the like are automatically realized by the module.
Meanwhile, rich interface sets provided by a basic system platform can be easily called in the program codes, such as functions of reading/writing (Read/Write) real-time databases, traversing (retrieve) object groups governed in the property of the partitionantList of the bonder binding agent and the like, so that the program block has a powerful expansion function and can completely meet the complex requirements of high-level applications.
FIG. 3 illustrates an exemplary diagram of a computational model.
Because the number and the type of the parameters of the program code segments are dynamically variable, in order to ensure that the calculation unit calls the program code segments conveniently, the calculation model provides a uniform packaging calling interface with the name of the interface being 'model name' + 'entry', namely 'cm _ faultclean _ entry' in the above example, and the calling of the user-defined code segments is realized in the function, so that the confusion that the number and the type of the parameters are unknown when the calculation unit calls the user codes is shielded.
Example codes generated are as follows:
Figure BDA0001163763550000091
3. processing method
The procedure for construction and use of the bonder is given below:
the first step is as follows: constructing a plurality of new bonders BondingAgents according to a secondary organization mode of planning data according to the requirements of advanced application based on the existing database structure;
the second step is that: configuring a partitionantList data item of each BondingAgent, and taking an existing data measuring point (or other BondingAgents) into the jurisdiction range of the object;
the third step: planning a calculation logic and input and output parameters, configuring a new calculation Model, compiling a logic code, generating and compiling a complete code by utilizing a compiling function provided by a calculation Model, and generating a module library; if the existing calculation model is used, skipping the step;
the fourth step: configuring a plurality of calculation objects CalcArgument under a BondingAgent with calculation requirements, and configuring a plurality of calculation logics namely a plurality of objects; configuring InputObjectList, InputAttributeList, OutputObjectList and OutputAttributeList for each CalcArgument, configuring ModelLink, and linking the calculation model in the third step to complete the association of the InputObjectList, the InputAttributeList and the OutputAttributeList;
the fifth step: and starting the whole bonder module to realize flow operation, and controlling the starting or the failure of the calculation function in real time in the operation process.
4. Examples of the applications
a. Linkage function of vehicle in tunnel under locomotive/in-vehicle/rear-vehicle condition of catching fire: when the vehicle has a fire in the tunnel, the vehicle transmits a fire signal to the control center, after confirmation, the vehicle starts A, B the fans in the two adjacent station sections to discharge smoke and evacuate, and simultaneously, the broadcasting system and the passenger information system of the adjacent stations are started to inform the fire.
The implementation process comprises the following steps:
the real-time library points involved in the above logic are distributed over different geographical locations and specialties and can be solved well by using bonders.
1) Configuring a new BondingAgent, and bringing the existing vehicle body fire measuring point, the fire position measuring point, the central HMI confirmation measuring point, the associated fan command measuring point between A, B sections, the broadcast starting command measuring point and the passenger information issuing command measuring point into the lower part of the binder;
2) adding a new CalcArgument under the BondingAgent, configuring a vehicle body fire measuring point, a fire position measuring point and a center HMI confirmation measuring point as CalcArgument input measuring points, and configuring a related fan command measuring point, a broadcast starting command measuring point and a passenger information issuing command measuring point as CalcArgument output measuring points; configuring corresponding attributes;
3) compiling a new Model, configuring input parameters and output parameters according to corresponding quantity, and respectively realizing forward and reverse rotation logic, broadcasting and passenger information command output of the fan under three conditions of head of a vehicle, middle of the vehicle and tail of the vehicle in codes; linking the compiled Model to CalcArgument;
4) and simulating the fire working condition, and testing and verifying the function realization through an output result.
b. The alarm of the equipment with the damage condition of a plurality of stations is locked, and the fault state and the normal state are prevented from being switched back and forth and frequently displayed on an alarm window.
The implementation process comprises the following steps:
1) configuring a new BondingAgent, and bringing the measuring point of the existing damaged equipment into the position below the bonder no matter which station or which type of equipment the existing damaged equipment belongs to;
2) adding a new CalcArgument under the BondingAgent, and configuring a BondingAgent object and a locking attribute (AlarmLocked) thereof as an input measuring point and an input attribute of the CalcArgument;
3) writing a new Model, traversing damaged equipment measuring points contained in a partitionantList attribute of the BondingAgent in the code, and setting AlarmLocked of the measuring points to be consistent with the BondingAgentAlarmLocked; linking the compiled Model to CalcArgument;
4) the HMI directly sets the AlarmLocked of the BondingAgent to be in a locking state or an unlocking state, and the bonder automatically completes the unlocking and locking functions of all measuring points.
The design related to the application has feasibility and successful experience of practical application, and the design is applied to a plurality of cases of a subway comprehensive monitoring large system software platform.
1. The model code is mainly compiled by adopting a Qt development kit and C language, has the characteristic of crossing operating system platforms, and is very convenient to transplant.
2. The design thought of the model is not limited by service logic, the model is widely applied to a subway comprehensive monitoring system, and relates to a plurality of scenes such as complex linkage control, environment-controlled mode control, emergency plan design, energy consumption comprehensive analysis and the like, so that the model becomes an integrated convenient scheme capable of directly replacing secondary development of high-level application programs under various requirements.
3. The above embodiments do not limit the scope of the present invention, and the technologies not related to the present invention can be realized by the existing technologies.

Claims (6)

1. The utility model provides a structure is glued to adaptation subway integrated monitoring system's data which characterized in that: the system comprises a high-level application, a relation real-time database and an agglutinator, wherein the relation real-time database is constructed by adopting an object-oriented technology, each physical device is represented as a data object in the relation real-time database and has a unique identification ID (identity), multi-dimensional portrayal of the data object is represented by a series of attributes of the object, and each attribute also has the unique identification ID; the bonder is designed according to application requirements, shields the existing structure organization, eliminates the partition boundary among station, professional and data type data, and only rearranges the application-interested data into an ordered structure in a data association mode and configures auxiliary information of a new structure from the application requirements, and finally presents the most accurate data organization form for high-level application; meanwhile, the preset calculation assistance is carried out on each bonder, the predictable regular logic processing is prepared for the application in advance, and the convenience of data and logic support is provided for the upper-level application to the maximum extent; the high-level application not only comprises the expanded high-level application of the basic platform of the subway comprehensive monitoring system, but also comprises various professional and various types of new development requirements of continuous accumulation and excavation of subway operation and maintenance; the method is characterized in that:
the bonder consists of a data unit, a structural unit, a calculation unit and a calculation model;
the data unit is a trigger unit for the operation of the bonder and is also an interaction unit with the relation real-time database; the data unit registers a data change notification request to the relational real-time database according to data measuring point storage of the structural unit, and provides a callback interface, when the concerned data changes and is monitored, the callback interface is automatically called, pushes the data to the computing unit, and completes subsequent logic computation by the computing unit; each frame of data in a data unit is a fixed format combination: change data point ID + change attribute ID + change value; the data unit provides data preparation for the computing unit, and the computing unit is a final execution unit of logic;
the structural unit is a data reconstruction core of the bonder and organizes measuring points interested in high-level application in a certain data structure to form a new data model which is more convenient to process; the complete structural unit is composed of two types of objects: the bonder object BondingAgent and the calculation object callargent, each of which contains at least two important data items: UniqueID, the globally unique identifier of the bonder, and also the identifier parameters for providing objects of construction, search, traversal, and command operations; ParticipantList, a list of child objects governed by the binder, and a UniqueID ordered sequence of child nodes in the list; after the tissue of the bonder object is finished, configuring an auxiliary calculation object CalcArgument child node participating in internal calculation under the bonder object;
the calculation unit bears all real-time calculation tasks of the bonder, receives all data changes of the data unit, searches and calls all configured calculation models related to the changed data, and writes back calculation results to a real-time database so as to complete a complete bonder operation process; the calculation unit comprises a one-to-many mapping table, wherein a key is an object ID set related to an InputObjectList in a structural unit, and a value is a combination of an attribute ID + a calculation object CalcArgumetID in the InputrimiteList; when data change is received, a mapping table is searched, all calculation objects CalcArgumetID where the object and the attribute participate are obtained, then the calculation model pointed by the ModelLink corresponding to the CalcArgumetID is obtained, and the calculation process is executed after the calculation models are checked to be effective one by one; after the calculation is finished, writing the result into the object attribute values corresponding to the OutputObjectList and the OutputAttributeList to finish the updating of the relational real-time database;
the calculation model is a module set which is preset in the bonder and can be programmed and expanded on line at any time; the customizer of the bonder can compile calculation logic in a certain model by using a high-level language, and then compile to generate a module library for the calculation unit to call at any time according to the requirement; the calculation model can be reused, i.e. the same calculation model can be used no matter how many bonders bondingagents, only once coding, as long as the calculation logic is the same.
2. The data bonding structure of claim 1, wherein: the object-oriented technology structure provides data measuring points in all monitoring ranges of the whole subway line, and data organization is carried out according to the unit of 'place + specialty + data type'.
3. The data bonding structure of claim 1, wherein the child object is:
(a) nesting the bonder: namely, the whole bonder which is organized at the next stage is used as a child of the object;
(b) and (3) measuring points independently: actual engineering data points configured in the existing database; because the engineering data configuration is constructed by adopting an object-oriented technology, each device and each measurement parameter are represented as an object and have unique identifier (UniqueID); when the basic configuration database is constructed in other ways, the method is similar, and only the unique index identification of the child data measuring point is filled in the participientlist of the bonder.
4. The data binding structure according to claim 1, wherein the calc algorithm comprises the following configuration items:
(a) InputObjectList: the number of the input data point ordered sequences required by the execution of the calculation unit is not limited, and the objects correspond to the data points which are registered and pushed by the data units and change, namely, the change information pushed by the data units can find corresponding items in the InputObjectList necessarily, so that a subsequent series of calling processes can be completed; the configuration is null when no parameters need to be entered;
(b) InputAttributeList: the data points of the InputObjectList are respectively corresponding to the attribute ordered sequences, the number of the attribute ordered sequences is consistent with that of the InputObjectList, and since the same object can have a plurality of dynamic attribute changes, which attribute of the object participates in the calculation needs to be determined; the configuration is null when no parameters need to be entered;
(c) OutputObjectList: the data point sequence is output by the computing unit, and the number of the data point sequence is not limited; the updated values of the objects in the real-time library are the final result of the whole calculation process, and the upper-level application judges whether the logic requirements are correctly executed; the configuration is null when no output parameters are needed;
(d) OutputAttributeList: the respective corresponding attribute ordered sequences of the data points of the OutputObjectList are consistent with the OutputObjectList in number; the configuration is null when no output parameters are needed;
(e) ModelLink: the calculation process used by the calculation object is to connect a preset calculation model; the model takes the parameters as input and output items to execute calculation codes; the configuration is null when computational logic is not required;
(f) and (4) Locked: the computing functions are enabled/disabled, whereby the real-time execution of all computing functions can be freely controlled as desired.
5. The data bonding structure of claim 1, wherein the Model comprises the following components:
(a) the model name: the model is unique in identification and can not be repeated, and a calculation model needs to generate a complete code file according to a code written by a user and generate a corresponding module library;
(b) inputting parameters: corresponding to the input object and attribute in the structural unit CalcArgument; null when no parameter input is required;
(c) outputting parameters: similar to the input parameter principle, the final calculation result of the model is written into an output object of the structural unit; null when no output parameters are needed;
(d) introducing a module: the calculation model is a reusable logic module, so that the modules can be used for embedding and quoting the realized part, and the utilization rate of the code is improved;
(e) program code for: the logic realization of the model is realized by adopting a high-level language with stronger adaptability and execution efficiency.
6. A data bonding processing method adapted to a subway integrated monitoring system, constructing the data bonding structure as claimed in one of claims 1 to 5, characterized in that:
the first step is as follows: constructing a plurality of new bonders BondingAgents according to a secondary organization mode of planning data according to the requirements of advanced application based on the existing database structure;
the second step is that: configuring a partitionantList data item of each bonder for the bonders BondingAgents, and bringing the existing data measuring points into the range governed by the bonders object BondingAgents;
the third step: planning a calculation logic and input and output parameters, configuring a new calculation Model, compiling a logic code, generating and compiling a complete code by utilizing a compiling function provided by a calculation Model, and generating a module library; if the existing calculation model is used, skipping the step;
the fourth step: configuring a plurality of calculation objects CalcArgument under a bonder BondingAgent with calculation requirements, and configuring a plurality of calculation logics namely a plurality of objects; configuring InputObjectList, InputAttributeList, OutputObjectList and OutputAttributeList for each CalcArgument, configuring ModelLink, and linking the calculation model in the third step to complete the association of the InputObjectList, the InputAttributeList and the OutputAttributeList;
the fifth step: and starting the whole data bonding structure to realize flow operation, and controlling the starting or the failure of the calculation function in real time in the operation process.
CN201611068439.3A 2016-11-28 2016-11-28 Data bonding structure and processing method suitable for subway comprehensive monitoring system Active CN106776854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611068439.3A CN106776854B (en) 2016-11-28 2016-11-28 Data bonding structure and processing method suitable for subway comprehensive monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611068439.3A CN106776854B (en) 2016-11-28 2016-11-28 Data bonding structure and processing method suitable for subway comprehensive monitoring system

Publications (2)

Publication Number Publication Date
CN106776854A CN106776854A (en) 2017-05-31
CN106776854B true CN106776854B (en) 2020-05-12

Family

ID=58905062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611068439.3A Active CN106776854B (en) 2016-11-28 2016-11-28 Data bonding structure and processing method suitable for subway comprehensive monitoring system

Country Status (1)

Country Link
CN (1) CN106776854B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930102B (en) * 2020-08-11 2022-12-09 南京国电南自轨道交通工程有限公司 Object-based comprehensive monitoring linkage logic configuration method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1928815A (en) * 2006-08-16 2007-03-14 中国航天科技集团公司第一研究院 Module based fast engineering design method
CN103310040A (en) * 2013-05-23 2013-09-18 南京南瑞继保工程技术有限公司 Construction method for universal customized platform for electrical secondary device simulation
CN103529707A (en) * 2013-11-07 2014-01-22 南京国电南自轨道交通工程有限公司 Design method for full object-oriented intelligent alarm model in integrated supervisory control system of metro
CN104462157A (en) * 2013-09-24 2015-03-25 北大方正集团有限公司 Method and device for secondary structuralizing of text data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8849862B2 (en) * 2004-05-21 2014-09-30 Rsvpro, Llc Architectural frameworks, functions and interfaces for relationship management (AFFIRM)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1928815A (en) * 2006-08-16 2007-03-14 中国航天科技集团公司第一研究院 Module based fast engineering design method
CN103310040A (en) * 2013-05-23 2013-09-18 南京南瑞继保工程技术有限公司 Construction method for universal customized platform for electrical secondary device simulation
CN104462157A (en) * 2013-09-24 2015-03-25 北大方正集团有限公司 Method and device for secondary structuralizing of text data
CN103529707A (en) * 2013-11-07 2014-01-22 南京国电南自轨道交通工程有限公司 Design method for full object-oriented intelligent alarm model in integrated supervisory control system of metro

Also Published As

Publication number Publication date
CN106776854A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN107220064B (en) A kind of digital control system interface configuration development approach
CN113033001B (en) Three-dimensional digital factory modeling method and system for digital twin application
CN108509185B (en) System and method for arbitrary software logic modeling
CN108805470B (en) Automatic configuration method and device for production orders
CN103093023A (en) Computer aided design model analysis system
CN103558767A (en) Train control system test sequence auxiliary generation method and system
CN103646348B (en) Method for saving factory station wiring diagram panoramic inversion context
CN104978411A (en) Train model development method and apparatus for high-speed train
CN107480208A (en) Multi-source electric power data method for amalgamation processing and device
CN108460199A (en) CNI modelings
CN110020834A (en) A kind of on-line intelligence big data development approach of modeling and debugging fusion
CN114528613A (en) Intelligent park digital twin system visual editing method
CN109274742A (en) A kind of internet of things data acquisition and supervisor control
CN106407580B (en) Rule detection romote controlled locking method based on script
CN116774977A (en) Design method of coal mine industrial Internet of things development platform based on low codes
CN115098472A (en) Digital twinning method, device and equipment for full life cycle of physical entity
CN106776854B (en) Data bonding structure and processing method suitable for subway comprehensive monitoring system
Adiga et al. Object-oriented software modeling of a flexible manufacturing system
CN107992560A (en) A kind of Information System configuration device based on configuration
CN105527920A (en) B/S-based numerical control machine tool fault diagnosis system
CN111784192A (en) Industrial park emergency plan executable system based on dynamic evolution
CN106599502A (en) Mine ventilation network visual and real-time calculating system
CN114707315A (en) Method for creating auxiliary model in digital twin scene
CN106293643A (en) The flowing water type product manufacturing equipment software and hardware integration modeling method of model configuration
CN109840184B (en) Scheduling method, system and equipment for operation display of power grid equipment

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