CN109739877A - Database Systems and data managing method - Google Patents

Database Systems and data managing method Download PDF

Info

Publication number
CN109739877A
CN109739877A CN201811391621.1A CN201811391621A CN109739877A CN 109739877 A CN109739877 A CN 109739877A CN 201811391621 A CN201811391621 A CN 201811391621A CN 109739877 A CN109739877 A CN 109739877A
Authority
CN
China
Prior art keywords
database
module
business datum
data
unit
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
CN201811391621.1A
Other languages
Chinese (zh)
Other versions
CN109739877B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201811391621.1A priority Critical patent/CN109739877B/en
Publication of CN109739877A publication Critical patent/CN109739877A/en
Application granted granted Critical
Publication of CN109739877B publication Critical patent/CN109739877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes a kind of Database Systems and data managing method, the system includes in database module including multiple Database Unit, the business datum for meeting one group of monitoring node of preset condition is stored in each Database Unit, wherein, address space menagement module, for managing access address corresponding to multiple dummy nodes and each dummy node, wherein, the business datum of actual Database Unit is accessed by access address;Address space menagement module, it is also used to receive the business datum that each monitoring node generates, and the target access address of target data library unit belonging to business datum is analyzed, and business datum is transmitted in target data library unit indicated by target access address based on preset protocol;Database module is used for storage service data.The delay of service data visitation can be effectively avoided through the invention, and, the consistency and integrality of effective guarantee business datum promote service data visitation performance.

Description

Database Systems and data managing method
Technical field
The present invention relates to technical field of rail traffic more particularly to a kind of Database Systems and data managing methods.
Background technique
Each specialized subsystem includes more subordinate equipment in track traffic synthetic monitoring system, and each equipment includes again Several monitoring nodes monitors respectively for example, each camera for being directed to closed-circuit television subsystem is required to corresponding node The data of the parameters such as its switch state, direction, each monitoring node acquisition will be organized and managed in real-time database, practical to be The reasonability of data organization can generate very big influence to the performance of system in system.
In the related technology, in system monitoring to after there is data to change, by the access interface of real-time database by data It is written in the corresponding real-time database table of the changed monitoring node of data, does the data in corresponding real-time database table accordingly Variation.The real-time data base organized to data is substantially memory database or relevant database, and data are stored in In memory or database table, and the access interface of real-time database is mainly memory mapping or SQL (Structured Query Language, structured query language), substantially a kind of synchronization mechanism.
It is that newest number is searched by way of SQL query when upper layer application system needs to inquire data under this mode According to needing to consume the long period when there is mass data in table, be easy to cause the delay of data access, and since rail traffic is comprehensive It closes monitoring system and is related to multiple monitoring nodes, a large number of services data can be generated in synchronization, network condition is bad or system In the case that framework lacks safety assurance, it is difficult to guarantee the consistency and integrality of data.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, can effectively avoid industry it is an object of the invention to propose a kind of Database Systems and data managing method The delay of business data access, and, the consistency and integrality of effective guarantee business datum promote service data visitation performance.
In order to achieve the above objectives, the Database Systems that first aspect present invention embodiment proposes, comprising: address space menagement Module, and the database module being connected with the address space menagement module include multiple databases in the database module Unit is stored with the business datum for meeting one group of monitoring node of preset condition in each Database Unit, wherein describedly Location space management module, for managing access address corresponding to multiple dummy nodes and each dummy node, wherein The business datum of actual Database Unit is accessed by the access address;The address space menagement module, is also used to connect The business datum that each monitoring node generates is received, and with analyzing the target access of target data library unit belonging to the business datum Location, and the business datum is transmitted to target data library unit indicated by the target access address based on preset protocol In;The database module, for storing the business datum.
The Database Systems that first aspect present invention embodiment proposes, due to being via address space menagement module by business Data are transmitted in target data library unit indicated by target access address based on preset protocol, rather than are based on the relevant technologies In memory mapping or SQL syntax therefore can effectively avoid the delay of service data visitation, and, effective guarantee business number According to consistency and integrality, promoted service data visitation performance.
In order to achieve the above objectives, the data managing method that second aspect of the present invention embodiment proposes, comprising: manage multiple void Access address corresponding to quasi- node and each dummy node, wherein actual data are accessed by the access address The business datum of library unit;The business datum that each monitoring node generates is received, and analyzes number of targets belonging to the business datum According to the target access address of library unit, and the business datum is based on preset protocol and is transmitted to the target access address institute In the target data library unit of instruction.
The data managing method that second aspect of the present invention embodiment proposes, due to being to pass business datum based on preset protocol Transport in target data library unit indicated by target access address, rather than based in the related technology memory mapping or Therefore SQL syntax can effectively avoid the delay of service data visitation, and, the consistency of effective guarantee business datum and complete Property, promote service data visitation performance.
In order to achieve the above objectives, the data managing method that third aspect present invention embodiment proposes, comprising: based on default association View provides multiple standard data access interfaces, and each standard data access interface is corresponding with a Database Unit, via The standard data access interface is accessed corresponding Database Unit and is operated with performance objective.
The data managing method that third aspect present invention embodiment proposes, by providing multiple criterion numerals based on preset protocol According to access interface, each standard data access interface is corresponding with a Database Unit, accesses via the normal data Interface is accessed corresponding Database Unit and is operated with performance objective, therefore, can effectively avoid the delay of service data visitation, And the consistency and integrality of effective guarantee business datum, promote service data visitation performance.
In order to achieve the above objectives, the data managing method that fourth aspect present invention embodiment proposes, comprising: generate multiple pipes Example is managed, each admin instance is corresponding with each Database Unit respectively, and is based on the admin instance for each data The access address of library unit maps to corresponding dummy node in the address space menagement module.
The data managing method that fourth aspect present invention embodiment proposes, by generating multiple admin instances, each pipe It is corresponding with each Database Unit respectively to manage example, and based on the admin instance by the access address of each Database Unit Corresponding dummy node in the address space menagement module is mapped to, therefore, can effectively avoid prolonging for service data visitation Late, and, the consistency and integrality of effective guarantee business datum promote service data visitation performance.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the structural schematic diagram for the Database Systems that one embodiment of the invention proposes;
Fig. 2 is the structural schematic diagram for the Database Systems that another embodiment of the present invention proposes;
Fig. 3 is the functional schematic of address space menagement module in the embodiment of the present invention;
Fig. 4 is the flow diagram for the data managing method that one embodiment of the invention proposes;
Fig. 5 is the flow diagram for the data managing method that one embodiment of the invention proposes;
Fig. 6 is the flow diagram for the data managing method that one embodiment of the invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the structural schematic diagram for the Database Systems that one embodiment of the invention proposes.
Each specialized subsystem includes more subordinate equipment in track traffic synthetic monitoring system, and each equipment includes again Several monitoring nodes monitors respectively for example, each camera for being directed to closed-circuit television subsystem is required to corresponding node The data of the parameters such as its switch state, direction, each monitoring node acquisition will be organized and managed in real-time database, practical to be The reasonability of data organization can generate very big influence to the performance of system in system.
In the related technology, in system monitoring to after there is data to change, by the access interface of real-time database by data It is written in the corresponding real-time database table of the changed monitoring node of data, does the data in corresponding real-time database table accordingly Variation.The real-time data base organized to data is substantially memory database or relevant database, and data are stored in In memory or database table, and the access interface of real-time database is mainly memory mapping or SQL, substantially a kind of synchronization mechanism.
It is that newest number is searched by way of SQL query when upper layer application system needs to inquire data under this mode According to needing to consume the long period when there is mass data in table, be easy to cause the delay of data access, and since rail traffic is comprehensive It closes monitoring system and is related to multiple monitoring nodes, a large number of services data can be generated in synchronization, network condition is bad or system In the case that framework lacks safety assurance, it is difficult to guarantee the consistency and integrality of data.
In order to solve the above-mentioned technical problem the embodiment of the present invention, provides a kind of Database Systems, due to being via address sky Between management module business datum is transmitted in target data library unit indicated by target access address based on preset protocol, and Therefore the memory mapping or SQL syntax being not based in the related technology can effectively avoid the delay of service data visitation, And the consistency and integrality of effective guarantee business datum, promote service data visitation performance.
Referring to Fig. 1, which includes: address space menagement module 101 and is connected with address space menagement module 101 Database module 102 includes multiple Database Unit 1021 in database module 102, is stored in each Database Unit 1021 Meet the business datum of one group of monitoring node of preset condition, wherein
Address space menagement module 101, for managing access corresponding to multiple dummy nodes and each dummy node Location, wherein the business datum of actual Database Unit 1021 is accessed by access address.
Address space menagement module 101 is also used to receive the business datum that each monitoring node generates, and analyzes business datum The target access address of affiliated target data library unit 1021, and business datum is based on preset protocol and is transmitted to target visit It asks in target data library unit 1021 indicated by address.
Database module 102 is used for storage service data.
In the embodiment of the present invention, preset protocol is OPC UA agreement.
OPC UA agreement, i.e. Object Linking and Embedding for Process Control Unified Architecture agreement, be by OPC (Object Linking and Embedding for Process Control, For process control object connection and insertion) foundation propose it is a set of safe and reliable and independently of manufacturer and platform simultaneously For the Data Transport Protocol of communication engineering, the Data Transport Protocol make the equipment of different operating system and different manufacturers it Between can carry out data transmission.
Monitoring node therein can be, in track traffic synthetic monitoring system, the subordinate equipment of each specialized subsystem Node is monitored, for example, each camera of closed-circuit television subsystem, with no restriction to this.
The embodiment of the present invention is during specific execute, due to being via address space menagement module 101 by business number It is transmitted in target data library unit 1021 indicated by target access address according to based on preset protocol, wherein preset protocol is OPC UA agreement, rather than based in the related technology memory mapping or SQL syntax therefore effectively improve the biography of data Defeated performance, so that changing in data store set, technically convenient for the unified monitoring and management of data.
It is each to monitor Database Unit 1021 belonging to the business datum that node generates in the embodiment of the present invention, it can be claimed For target data library unit 1021, the access address of target data library unit 1021 can be by title target access address, the present invention Include multiple Database Unit 1021 in database module 102 in embodiment, is stored with satisfaction in each Database Unit 1021 The business datum of one group of monitoring node of preset condition, each Database Unit 1021 all have a corresponding access address.
Optionally, in some embodiments, referring to fig. 2, in database module 102 further include: configuration unit 1022, wherein Whether configuration unit 1022 for obtaining the attribute information of multiple monitoring nodes, and meets preset condition according to attribute information Judging result is grouped multiple monitoring nodes, multiple groups monitoring node is obtained, and be directed to every group of monitoring node, by every group The original service data that monitoring node is included is based on preset protocol and stores to Database Unit corresponding with every group of monitoring node In 1021.
Attribute information therein can be, for example, the geographical location (for example, at some station) where monitoring node, or For the type for monitoring node, the type specifically can serve to indicate that the type for the function that monitoring node can be provided.
Preset condition therein can be set to, if multiple monitoring nodes in identical geographical location, can should In multiple monitoring node divisions to identical group, then, by business number caused by the monitoring node history for being included in each group According to as original service data, storing into corresponding Database Unit 1021.
Optionally, the type of business datum includes one of following or a variety of: OPC UA type of foundation, real-time database object Type, analog input type, analog output type, analog input and output type, discrete magnitude input type, discrete magnitude are defeated Type, discrete magnitude input and output type, area type, device attribute type, front end processor object type, channel type, equipment out Address style, tag variable type, data object type.
The embodiment of the present invention is during specific execute, address space menagement module 101, is also used to receive each monitoring section The business datum that point generates, and the target type of business datum is analyzed, and, it is called according to target type and executes corresponding mesh Admin instance is marked, to determine target access address.
Wherein, type belonging to business datum can be referred to as target type, and target type can be specially above-mentioned listed One or more of type of act, admin instance corresponding with target type can be referred to as objective management example, execute The obtained access address of objective management example can be referred to as target access address.
Database Systems 10 provided in the embodiment of the present invention can be specially real-time dataBase system, the database System 10 is the kernel service of track traffic synthetic monitoring system, is responsible for the real-time of entire track traffic synthetic monitoring system Business datum is managed and stores, and the business datum of the service data updating and upper layer application system that receive lower layer's terminal is looked into It askes.
Optionally, in some embodiments, referring to fig. 2, system 10 further include: node administration module 103, wherein node pipe Module 103 is managed, for generating multiple admin instances, each admin instance is corresponding with each Database Unit 1021 respectively, and is based on The access address of each Database Unit 1021 is mapped to corresponding virtual section in address space menagement module 101 by admin instance Point.
Optionally, in some embodiments, referring to fig. 2, system 10 further include: document analysis module 104, wherein file solution Module 104 is analysed, carries out dissection process for obtaining the database file of each Database Unit 1021, and to each database file, And the database file after dissection process is transmitted to node administration module 103;Node administration module 103 is based on each parsing Treated database file generates admin instance corresponding with each Database Unit 1021;Address space menagement module 101, by calling the simultaneously corresponding objective management example of performance objective Database Unit 1021, to determine target access address.
Wherein, node administration module 103 can be generated corresponding with each Database Unit 1021 based on OPC UA agreement Admin instance.
Optionally, in some embodiments, database module 102 is also used to provide multiple normal datas based on preset protocol Access interface, each standard data access interface is corresponding with a Database Unit 1021, visits via standard data access interface Ask that corresponding Database Unit 1021 is operated with performance objective.
Wherein, object run includes: to grasp to the synchronization read-write operation of business datum in Database Unit and asynchronous subscription Make, wherein the corresponding client of Database Systems subscribes to the target monitoring node of demand via asynchronous subscription operation.
Optionally, in some embodiments, referring to fig. 2, system 10 further include: notification module 105, wherein
Notification module 105, for target monitoring node business datum generate change events when, generate and change events Corresponding notification message, and notification message is sent to client.
It is achieved in that with the real-time database of track traffic synthetic monitoring system in the related technology through data such as relationship libraries The mode that organization business data are carried out in library is different, is to use address space menagement based on OPC UA agreement in the embodiment of the present invention Mode carrys out management business data.
In the embodiment of the present invention, node administration module 103 is that multiple admin instances are generated by the way of object-oriented, The object that node definition is admin instance is commonly monitored in track traffic synthetic monitoring system, different geographical positions are realized with this The monitoring node for setting middle same alike result information only defines the admin instance of the monitoring node of same alike result information, can share Its identical attribute.
In the embodiment of the present invention, the access interface of Database Systems 10 is not memory mapping or SQL in the related technology, But follow the standard interface of OPC UA agreement, support synchronous read-write operation or asynchronous subscription operation, and, different monitoring node with The docking of Database Systems 10 is simple and easy, does not need to be converted for different agreement because, monitoring node also in compliance with OPC UA agreement.
It, can be to database list based on standard data access interface provided by OPC UA agreement in the embodiment of the present invention The synchronization read-write operation of business datum and asynchronous subscription operation in member, wherein the corresponding client of Database Systems is via different Subscription operation is walked, the target monitoring node of demand is subscribed to, by asynchronous subscription operation, so that user can be with the monitoring of customized demand Node can effectively avoid multiple client from accessing pressure to server synchronization.
In the present embodiment, due to being that business datum is based on preset protocol via address space menagement module to be transmitted to target In target data library unit indicated by access address, rather than based in the related technology memory mapping or SQL syntax, because This, can effectively be avoided the delay of service data visitation, and, the consistency and integrality of effective guarantee business datum promote industry Business data access performance.
HMI, i.e. Human Machine Interface, man-machine interface (or user interface or user interface) are The medium interacted between system and user.
FEP, i.e. Front End Processor, front end processor, an a front end processor i.e. computer are responsible for and each terminal The conversion of data between equipment.
Configuration: Configuration, in industrial control software, with provided in application software tool, method, complete in engineering The process of a certain specific tasks.
As an example, the functional schematic of address space menagement module can be exemplified below in the embodiment of the present invention, It is the functional schematic of address space menagement module in the embodiment of the present invention referring to Fig. 3, Fig. 3, wherein include:
Database Unit 21, be track traffic synthetic monitoring system actual user via configuration instrument, and according to one The database file that the formula of fixing defines, for example, binary system or XML (Extensible Markup Language, expansible mark Remember language) file, Database Systems real time service starting after, automatically loading of databases file can be triggered, then, warp Dissection process is carried out by document analysis module, and to each database file, and the database file after dissection process is transmitted It is generated and each database to node administration module, and via node administration module based on the database file after each dissection process The corresponding admin instance of unit, wherein each admin instance corresponds to a type of business datum.
Real-time database type of foundation Database Unit 211.According to service sub-systems all in track traffic synthetic monitoring system Monitoring of tools type, take out basis template type.If a station or several stations can be defined as a region, electricity The amount of the consecutive variations in a certain range such as pressure, electric current is abstracted into analog quantity, and the Push And Release of valve is defined as discrete magnitude.
FEP type of foundation Database Unit 212.The infrastructure devices of FEP and comprehensive monitoring system are attached, in order to describe The essential attribute of connection takes out several basic template types.Channel type is for defining driving, port etc. between equipment Attribute, device type are used to define the attribute of lower end equipment, and tag variable defines the channel attributes between real-time database and FEP.
Real-time database configuration data Database Unit 213.Track traffic synthetic monitoring system actual use person can be according to system Actual deployment situation, such as several routes form a region, how many website of each region, what business each website has System defines several data cells using configuration instrument, these Database Unit reflection whole system is actually subjected to the number of monitoring According to attribute.
FEP configuration data Database Unit 214.Track traffic synthetic monitoring system actual use person can be according in system The driving that FEP and equipment connection, such as each equipment use, the defined attributes information such as device type.
Address space menagement module 22 is that management is parsed and modeled to the database file of all Database Unit in fact Example.
OPC UA type of foundation 221.
Real-time database object type 222 is the object that real-time database type of foundation Database Unit is parsed and created.Address is empty Between in management module data be to be constructed based on Object--oriented method.
Analog input type 2221 defines the analog data acquired from infrastructure devices, and is arranged and prohibits to input quantity Only and failure two methods.
Analog output type 2222 defines a kind of analogue value that can be set from upper layer application system, corresponding fixed The method that justice is configured point.
Analog input and output type 2223, defining a kind of can input to real-time database again can be to the mould of lower layer's output Analog quantity data type is the derived class of AI type.
Discrete magnitude input type 2224 defines the measures of dispersion evidence acquired from infrastructure devices, and is arranged and prohibits to input quantity Only and failure two methods.
Discrete magnitude output type 2225 defines a kind of discrete value that can be set from upper layer application system, corresponding fixed The method that justice is configured point.
Discrete magnitude input and output type 2226, define it is a kind of can be inputted to real-time database can be exported again to lower layer from Amount data type is dissipated, is the derived class of DI type.
It can be pushed away to region when the case where area type 2227 defines the range of elementary organization's data, alarms Figure.
Device attribute type 2228 defines equipment association attributes, mainly related to alert process in real-time database, such as all kinds of The confirmation of alarm.
Front end processor object type 223 is the object that FEP type of foundation Database Unit is parsed and created.The object class Type is also based on the creation of OPCUA type of foundation and will become the base class of creation actual monitored system business data.
Channel type 2231 actually enter the definition of output operation, such as sends order, setting obtain driving title and I/O port etc..
Device address type 2232 is arranged device address, judges whether equipment is online, maintenance tag variable etc..
Tag variable type 2233, the attributes such as state when for safeguarding that real-time database is connect with FEP.
Data object type 224 is that the configuration data library unit that track traffic synthetic monitoring actual operation personnel define exists The final embodiment of address space reflects the organizational form of real system data.
Fig. 4 is the flow diagram for the data managing method that one embodiment of the invention proposes.
Referring to fig. 4, this method comprises:
S401: access address corresponding to multiple dummy nodes and each dummy node is managed, wherein pass through access Location accesses the business datum of actual Database Unit.
S402: the business datum that each monitoring node generates is received, and analyzes target data library unit belonging to business datum Target access address, and business datum is transmitted to target database indicated by target access address based on preset protocol In unit.
Optionally, in some embodiments, preset protocol is OPC UA agreement.
It should be noted that being also suitable in earlier figures 1- Fig. 3 embodiment to the explanation of 10 embodiment of Database Systems In the data managing method of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, as being that business datum is transmitted to target indicated by target access address based on preset protocol In Database Unit, rather than based in the related technology memory mapping or SQL syntax therefore can effectively avoid business The delay of data access, and, the consistency and integrality of effective guarantee business datum promote service data visitation performance.
Fig. 5 is the flow diagram for the data managing method that one embodiment of the invention proposes.
Referring to Fig. 5, this method comprises:
S501: multiple standard data access interfaces, each standard data access interface and a number are provided based on preset protocol It is corresponding according to library unit.
S502: corresponding Database Unit is accessed via standard data access interface and is operated with performance objective.
Optionally, in some embodiments, object run includes: the synchronous read-write behaviour to business datum in Database Unit Work and asynchronous subscription operation, wherein the corresponding client of Database Systems subscribes to the mesh of demand via asynchronous subscription operation Mark monitoring node.
Optionally, in some embodiments, preset protocol is OPC UA agreement.
It should be noted that being also suitable in earlier figures 1- Fig. 3 embodiment to the explanation of 10 embodiment of Database Systems In the data managing method of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by providing multiple standard data access interfaces based on preset protocol, each normal data access is connect Mouth is corresponding with a Database Unit, accesses corresponding Database Unit via standard data access interface and is grasped with performance objective Make, therefore, can effectively avoid the delay of service data visitation, and, the consistency and integrality of effective guarantee business datum mention Rise service data visitation performance.
Fig. 6 is the flow diagram for the data managing method that one embodiment of the invention proposes.
Referring to Fig. 6, this method comprises:
S601: generating multiple admin instances, and each admin instance is corresponding with each Database Unit respectively.
S602: the access address of each Database Unit is mapped in address space menagement module based on admin instance and is corresponded to Dummy node.
Optionally, in some embodiments, further includes:
The database file of each Database Unit is obtained, and dissection process is carried out to each database file, and will parsing Treated, and database file is transmitted to node administration module;
It is generated opposite with each Database Unit via node administration module based on the database file after each dissection process The admin instance answered.
Optionally, in some embodiments, the attribute information of multiple monitoring nodes is obtained, and whether is met according to attribute information The judging result of preset condition is grouped multiple monitoring nodes, obtains multiple groups monitoring node, and be directed to every group of monitoring section The original service data that every group of monitoring node is included is based on preset protocol and stored to number corresponding with every group of monitoring node by point According in library unit.
Optionally, in some embodiments, preset protocol is OPC UA agreement.
It should be noted that being also suitable in earlier figures 1- Fig. 3 embodiment to the explanation of 10 embodiment of Database Systems In the data managing method of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by generating multiple admin instances, each admin instance is corresponding with each Database Unit respectively, and The access address of each Database Unit is mapped into corresponding dummy node in address space menagement module based on admin instance, because This, can effectively be avoided the delay of service data visitation, and, the consistency and integrality of effective guarantee business datum promote industry Business data access performance.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (17)

1. a kind of Database Systems, which is characterized in that the system comprises: address space menagement module, and it is empty with the address Between the connected database module of management module, include multiple Database Unit, each database list in the database module The business datum for meeting one group of monitoring node of preset condition is stored in member, wherein
The address space menagement module, for managing access corresponding to multiple dummy nodes and each dummy node Address, wherein the business datum of actual Database Unit is accessed by the access address;
The address space menagement module is also used to receive the business datum that each monitoring node generates, and analyzes the business number According to the target access address of affiliated target data library unit, and by the business datum be based on preset protocol be transmitted to it is described In target data library unit indicated by target access address;
The database module, for storing the business datum.
2. Database Systems as described in claim 1, which is characterized in that wherein,
The database module is also used to provide multiple standard data access interfaces, each standard based on the preset protocol Data access interface is corresponding with a Database Unit, accesses corresponding database list via the standard data access interface Member is operated with performance objective.
3. Database Systems as claimed in claim 2, which is characterized in that wherein,
The object run includes: to grasp to the synchronization read-write operation of business datum in the Database Unit and asynchronous subscription Make, wherein the corresponding client of the Database Systems subscribes to the target monitoring section of demand via the asynchronous subscription operation Point;
The system comprises: notification module, wherein
The notification module, for generating and the change when the business datum of the target monitoring node generates change events The corresponding notification message of change event, and the notification message is sent to the client.
4. Database Systems as described in claim 1, which is characterized in that the system also includes: node administration module, In, the node administration module, for generating multiple admin instances, each admin instance is opposite with each Database Unit respectively It answers, and is mapped to the access address of each Database Unit in the address space menagement module based on the admin instance Corresponding dummy node.
5. Database Systems as claimed in claim 4, which is characterized in that the system also includes: document analysis module, In,
The document analysis module, for obtaining the database file of each Database Unit, and to each data library text Part carries out dissection process, and the database file after dissection process is transmitted to the node administration module;
The node administration module is generated and each Database Unit based on the database file after each dissection process Corresponding admin instance;
The address space menagement module, by calling and executing the corresponding objective management example of the target data library unit, With the determination target access address.
6. Database Systems as described in claim 1, which is characterized in that in the database module further include: configuration unit, Wherein,
Whether the configuration unit for obtaining the attribute information of multiple monitoring nodes, and meets institute according to the attribute information The judging result for stating preset condition is grouped the multiple monitoring node, obtains multiple groups monitoring node, and be directed to every group Monitor node, by original service data that every group of monitoring node is included be based on the preset protocol store to it is described every In the corresponding Database Unit of group monitoring node.
7. Database Systems as described in claim 1, which is characterized in that the type of the business datum includes one in following Kind is a variety of: OPC UA type of foundation, real-time database object type, analog input type, analog output type, analog quantity are defeated Enter output type, discrete magnitude input type, discrete magnitude output type, discrete magnitude input and output type, area type, device attribute Type, front end processor object type, channel type, device address type, tag variable type, data object type.
8. such as the described in any item Database Systems of claim 1-7, which is characterized in that the preset protocol is OPC UA association View.
9. a kind of data managing method, which is characterized in that wherein,
Manage access address corresponding to multiple dummy nodes and each dummy node, wherein pass through the access address Access the business datum of actual Database Unit;
The business datum that each monitoring node generates is received, and analyzes the target of target data library unit belonging to the business datum Access address, and the business datum is transmitted to target data indicated by the target access address based on preset protocol In library unit.
10. data managing method as claimed in claim 9, which is characterized in that the preset protocol is OPC UA agreement.
11. a kind of data managing method, which is characterized in that wherein,
Multiple standard data access interfaces, each standard data access interface and a database list are provided based on preset protocol Member is corresponding;
Corresponding Database Unit is accessed via the standard data access interface to operate with performance objective.
12. data managing method as claimed in claim 11, which is characterized in that wherein,
The object run includes: to grasp to the synchronization read-write operation of business datum in the Database Unit and asynchronous subscription Make, wherein the corresponding client of Database Systems subscribes to the target monitoring node of demand via the asynchronous subscription operation.
13. data managing method as claimed in claim 11, which is characterized in that the preset protocol is OPC UA agreement.
14. a kind of data managing method characterized by comprising
Multiple admin instances are generated, each admin instance is corresponding with each Database Unit respectively;
The access address of each Database Unit is mapped in the address space menagement module based on the admin instance Corresponding dummy node.
15. data managing method as claimed in claim 14, which is characterized in that further include:
The database file of each Database Unit is obtained, and dissection process is carried out to each database file, and will Database file after dissection process is transmitted to the node administration module;
It is generated and each database via the node administration module based on the database file after each dissection process The corresponding admin instance of unit.
16. Database Systems as claimed in claim 14, which is characterized in that further include:
The attribute information of multiple monitoring nodes is obtained, and whether meets the judgement knot of the preset condition according to the attribute information Fruit is grouped the multiple monitoring node, obtains multiple groups monitoring node, and be directed to every group of monitoring node, will be described every The original service data that group monitoring node is included is based on the preset protocol and stores to corresponding with every group of monitoring node In Database Unit.
17. Database Systems as claimed in claim 14, which is characterized in that the preset protocol is OPC UA agreement.
CN201811391621.1A 2018-11-21 2018-11-21 Database system and data management method Active CN109739877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811391621.1A CN109739877B (en) 2018-11-21 2018-11-21 Database system and data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811391621.1A CN109739877B (en) 2018-11-21 2018-11-21 Database system and data management method

Publications (2)

Publication Number Publication Date
CN109739877A true CN109739877A (en) 2019-05-10
CN109739877B CN109739877B (en) 2020-03-31

Family

ID=66356984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811391621.1A Active CN109739877B (en) 2018-11-21 2018-11-21 Database system and data management method

Country Status (1)

Country Link
CN (1) CN109739877B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739877B (en) * 2018-11-21 2020-03-31 比亚迪股份有限公司 Database system and data management method
CN111131291A (en) * 2019-12-30 2020-05-08 广东中鹏热能科技有限公司 Protocol implementation method using upper computer software as lower computer equipment
CN111367983A (en) * 2020-03-10 2020-07-03 中国联合网络通信集团有限公司 Database access method, system, device and storage medium
CN112527247A (en) * 2019-09-17 2021-03-19 西安诺瓦星云科技股份有限公司 LED display control system simulation method, device and system
CN112688959A (en) * 2020-12-30 2021-04-20 北京天融信网络安全技术有限公司 Address protection method and device and electronic equipment
CN112860657A (en) * 2021-01-14 2021-05-28 中车青岛四方车辆研究所有限公司 Method and system for constructing address space of real-time database of TIAS (geographic information System)
CN113626869A (en) * 2021-08-17 2021-11-09 未鲲(上海)科技服务有限公司 Data processing method, system, electronic device and storage medium
CN115062092A (en) * 2022-08-10 2022-09-16 阿里云计算有限公司 Database access method, device, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634863A (en) * 2017-10-25 2018-01-26 北京百悟科技有限公司 Distributed monitoring device and method for domain name mapping disaster tolerance service
CN108270618A (en) * 2017-12-30 2018-07-10 杭州华为数字技术有限公司 Alert the method, apparatus and warning system of judgement
US20180212873A1 (en) * 2014-01-08 2018-07-26 Microsoft Technology Licensing, Llc Routing messages between virtual networks
CN108459574A (en) * 2018-03-27 2018-08-28 重庆邮电大学 It is a kind of that system is managed based on the semantic field device information with OPC UA
CN108628717A (en) * 2018-03-02 2018-10-09 北京辰森世纪科技股份有限公司 A kind of Database Systems and monitoring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739877B (en) * 2018-11-21 2020-03-31 比亚迪股份有限公司 Database system and data management method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180212873A1 (en) * 2014-01-08 2018-07-26 Microsoft Technology Licensing, Llc Routing messages between virtual networks
CN107634863A (en) * 2017-10-25 2018-01-26 北京百悟科技有限公司 Distributed monitoring device and method for domain name mapping disaster tolerance service
CN108270618A (en) * 2017-12-30 2018-07-10 杭州华为数字技术有限公司 Alert the method, apparatus and warning system of judgement
CN108628717A (en) * 2018-03-02 2018-10-09 北京辰森世纪科技股份有限公司 A kind of Database Systems and monitoring method
CN108459574A (en) * 2018-03-27 2018-08-28 重庆邮电大学 It is a kind of that system is managed based on the semantic field device information with OPC UA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐兵兵: ""基于OPC_UA的数据采集与监控***关键模块的设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
陈兵: ""基于OPC UA的地铁综合监控***关键模块的研究与实现"", 《万方在线出版》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739877B (en) * 2018-11-21 2020-03-31 比亚迪股份有限公司 Database system and data management method
CN112527247A (en) * 2019-09-17 2021-03-19 西安诺瓦星云科技股份有限公司 LED display control system simulation method, device and system
CN112527247B (en) * 2019-09-17 2024-05-14 西安诺瓦星云科技股份有限公司 LED display control system simulation method, device and system
CN111131291B (en) * 2019-12-30 2023-05-26 广东中鹏热能科技有限公司 Protocol implementation method using upper computer software as lower computer equipment
CN111131291A (en) * 2019-12-30 2020-05-08 广东中鹏热能科技有限公司 Protocol implementation method using upper computer software as lower computer equipment
CN111367983A (en) * 2020-03-10 2020-07-03 中国联合网络通信集团有限公司 Database access method, system, device and storage medium
CN111367983B (en) * 2020-03-10 2023-08-15 中国联合网络通信集团有限公司 Database access method, system, device and storage medium
CN112688959A (en) * 2020-12-30 2021-04-20 北京天融信网络安全技术有限公司 Address protection method and device and electronic equipment
CN112688959B (en) * 2020-12-30 2022-07-12 北京天融信网络安全技术有限公司 Address protection method and device and electronic equipment
CN112860657A (en) * 2021-01-14 2021-05-28 中车青岛四方车辆研究所有限公司 Method and system for constructing address space of real-time database of TIAS (geographic information System)
CN113626869A (en) * 2021-08-17 2021-11-09 未鲲(上海)科技服务有限公司 Data processing method, system, electronic device and storage medium
CN115062092B (en) * 2022-08-10 2023-02-03 阿里云计算有限公司 Database access method, device, system and storage medium
CN115062092A (en) * 2022-08-10 2022-09-16 阿里云计算有限公司 Database access method, device, system and storage medium

Also Published As

Publication number Publication date
CN109739877B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN109739877A (en) Database Systems and data managing method
JP7460237B2 (en) Distributed Industrial Performance Monitoring and Analysis
US12013842B2 (en) Web services platform with integration and interface of smart entities with enterprise applications
JP6978156B2 (en) Decentralized industrial performance monitoring and analysis
JP2020017302A (en) Distributed industrial performance monitoring and analysis platform
CN106933207B (en) Data analysis service for distributed industrial performance monitoring
CN105706469B (en) Managing machine-to-machine devices
JP6651510B2 (en) Equipment hierarchy for remote terminals
US20080195576A1 (en) Method, and Computer Based-System and Virtual Asset Register
JP2017076387A (en) Source-independent queries in distributed type industrial system
KR20150112357A (en) Sensor data processing system and method thereof
US20190095517A1 (en) Web services platform with integration of data into smart entities
Cejka et al. Java embedded storage for time series and meta data in Smart Grids
CN114791846A (en) Method for realizing observability aiming at cloud native chaos engineering experiment
CN116708266A (en) Cloud service topological graph real-time updating method, device, equipment and medium
CN109733444A (en) Database Systems and train supervision management equipment
WO2003034338A2 (en) Management platform and environment
CN102047610A (en) Behaviour model for a communications network
CN103414717A (en) Simulation monitoring method and system in regard to C / S structure service system
EP3582034A1 (en) Method and apparatus, in the field of automation technology, of updating processing data
US20170097632A1 (en) Method of cloud data services of industrial process automation systems
KR102288068B1 (en) Cpps automatic construction system through centric opc-ua modeling
US20220030083A1 (en) Aggregating server and method for forwarding node data
CN115914345A (en) Data processing system, method, device and medium suitable for industrial big data
Mailer et al. Dynamic Deployment of Fault Detection Models

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