CN109743349A - File management method, system and its equipment based on rail traffic - Google Patents

File management method, system and its equipment based on rail traffic Download PDF

Info

Publication number
CN109743349A
CN109743349A CN201811446230.5A CN201811446230A CN109743349A CN 109743349 A CN109743349 A CN 109743349A CN 201811446230 A CN201811446230 A CN 201811446230A CN 109743349 A CN109743349 A CN 109743349A
Authority
CN
China
Prior art keywords
file
opc
download
node
management
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
CN201811446230.5A
Other languages
Chinese (zh)
Other versions
CN109743349B (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 Communication Signal 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 CN201811446230.5A priority Critical patent/CN109743349B/en
Publication of CN109743349A publication Critical patent/CN109743349A/en
Application granted granted Critical
Publication of CN109743349B publication Critical patent/CN109743349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of file management method based on rail traffic, system and its equipment, wherein method includes: to receive the download file that configuration server is sent by the first OPC UA standard interface;The document storing section point in the node space of OPC UA is called to log on to file-management services unit, control file-management services unit receives and stores download file;The downloading request that lower dress agent node equipment is sent is received by the 2nd OPC UA standard interface, calls file download node corresponding with downloading request in the node space of OPC UA;According to file download Node registers to file-management services unit, the target download file in file-management services unit acquisition download file corresponding with downloading request is controlled;Target download file is fed back into lower dress agent node by the 2nd OPC UA standard interface.OPC UA agreement is introduced as a result, and uniformly realizes file management, so that nuclear interface standardizing between each module of comprehensive monitoring system, communicates decouplingization, and enrich the function of file management.

Description

File management method, system and its equipment based on rail traffic
Technical field
The present invention relates to technical field of rail transit communication more particularly to a kind of file management sides based on rail traffic Method, system and its equipment.
Background technique
Urban track traffic comprehensive monitoring system is a highly integrated integrated automatic monitoring system, is mainly passed through The multiple strong and weak electric systems of integrated rail traffic, form unification monitor supervision platform, realize to equipment centralized monitor each in rail traffic and Management function, the information sharing being finally completed between each specialized subsystem and linkage function.In comprehensive monitoring system, file conduct The carrier of data largely uses in the scene of data transmitting.Such as usage log file is believed to record the operating status of service Breath, installation and upgrade function of component etc. are completed using installation file.
In the related technology, it is serviced usually using traditional File Transfer Protocol (File Transfer Protocol, FTP) Device does document storage server, borrows that FTP is transmitted in file and the function of management aspect realizes configuration file and database list The issuing of member, the functions such as the upload of journal file, and in the related technology comprehensive monitoring system generally communicated with open platform it is unified Framework (OLE for Process Control Unified Architecture, OPC UA) is used as communication bus, if according to The transmission that FTP service realizes file is so continued to use, then the rights management that will lead to ftp server can not be with the power of comprehensively monitoring entirety Limit system carries out unification, causes the mode of the related communication interaction in file-management services complicated.
Summary of the invention
The present invention provides a kind of file management method based on rail traffic, system and its equipment, to solve the prior art The rights management of middle ftp server can not carry out unification with the permission system of comprehensively monitoring entirety, cause in file-management services Related communication interaction mode complexity technical problem.
One aspect of the present invention embodiment provides a kind of file management method of comprehensive monitoring system based on rail traffic, packet It includes following steps: the download file that configuration server is sent is received by the first OPC UA standard interface;Call the section of OPC UA Document storing section point in the space of points logs on to file-management services unit, controls the file-management services unit and receives and deposit Store up the download file;The downloading request that lower dress agent node equipment is sent is received by the 2nd OPC UA standard interface, is called File download node corresponding with the downloading request in the node space of the OPC UA;It is stepped on according to the file download node The file-management services unit is recorded, it is corresponding with the downloading request described to control the file-management services unit acquisition Target download file in download file;The target download file is fed back into institute by the 2nd OPC UA standard interface State lower dress agent node equipment.
Another aspect of the present invention embodiment provides a kind of file management method of comprehensive monitoring system based on rail traffic, The following steps are included: starting offline configuration software when receiving file operation requests with the file operation requests are corresponding File be compiled into configuration file;Control configuration service unit generates download file according to the configuration file;Pass through the first OPC UA standard interface sends download file to file server, in order to which the file server is receiving the download file Afterwards, file operation corresponding with the file operation requests is executed to the download file.
Another aspect of the invention embodiment provides a kind of file server, comprising: the first receiving module, for passing through first OPC UA standard interface receives the download file that configuration server is sent;First control module, for calling the node of OPC UA Document storing section point in space logs on to file-management services unit, controls the file-management services unit and receives and stores The download file;Second receiving module is sent for receiving lower dress agent node equipment by the 2nd OPC UA standard interface Downloading request;Calling module, in the node space for calling the OPC UA under file corresponding with the downloading request Carry node;First control module is also used to according to the file download Node registers to the file-management services unit, Control the target download file in the file-management services unit acquisition download file corresponding with the downloading request; Feedback module, for the target download file to be fed back to the lower dress agency section by the 2nd OPC UA standard interface Point device.
Further aspect of the present invention embodiment provides a kind of configuration server, comprising: starting module, for receiving file When operation requests, start offline configuration software so that the corresponding file of the file operation requests is compiled into configuration file;Second Control module generates download file according to the configuration file for controlling configuration service unit;Sending module, for passing through the One OPC UA standard interface sends download file to file server, in order to which the file server is receiving the lower dress After file, file operation corresponding with the file operation requests is executed to the download file.
Further aspect of the present invention embodiment provides a kind of file management system of comprehensive monitoring system based on rail traffic, Including file server as described above, configuration server as described above and lower dress agent node equipment, wherein institute Configuration server and the lower dress agent node equipment is stated to connect with the file server based on OPC UA communication protocol communication It connects.
Technical solution provided by the invention at least has following advantageous effects:
On the one hand, it is used uniformly OPC UA bus protocol and standard interface is provided, so that the file management of comprehensive monitoring system When data interaction simplify, the safety of performance and data access to data exchange is all guaranteed.On the other hand, using OPC UA does bus protocol to realize the file management and transmission of comprehensive monitoring system, practical.And file is carried out based on OPC UA Management has been unified the file management mode for accessing comprehensive monitoring system, has been reduced each mould of system using the universal model of OPC UA Coupling between block, extends file management facilities.
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 file management method of the comprehensive monitoring system according to an embodiment of the invention based on rail traffic Flow chart;
Fig. 2 is the file management method of the comprehensive monitoring system according to an embodiment of the invention based on rail traffic Frame diagram;
Fig. 3 is the file management method of the comprehensive monitoring system in accordance with another embodiment of the present invention based on rail traffic Flow chart;
Fig. 4 is the file management method of the comprehensive monitoring system in accordance with another embodiment of the present invention based on rail traffic Frame diagram;
Fig. 5 is the file management method of the comprehensive monitoring system based on rail traffic of another embodiment according to the present invention Flow chart;
Fig. 6 is the file management method of the comprehensive monitoring system based on rail traffic of further embodiment according to the present invention Flow chart;
Fig. 7 is the structural schematic diagram of file server according to an embodiment of the invention;
Fig. 8 is the structural schematic diagram of configuration server according to an embodiment of the invention;And
Fig. 9 is the file management system of the comprehensive monitoring system according to an embodiment of the invention based on rail traffic Structural schematic diagram.
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, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the file management method based on rail traffic of the embodiment of the present invention, system are described and its is set It is standby.
In order to make it easy to understand, technical term involved in the embodiment of the present invention is explained first, it is described as follows:
Open platform communicates unified shader (OLE for Process Control Unified Architecture, OPC UA): i.e. OPC unified shader covers OPC real-time data access specification (OPC DA), OPC historical data access specification, OPC report The different aspect of alert event access specification and OPC security protocol, but Function Extension has been carried out on its basis.OPC UA is Obtain another breakthrough very after ten-strike in traditional OPC technology, allow data acquisition, information modelling and factory's bottom with Communication between enterprise level is safer and more reliable.Since OPC UA has thus been obscured between different vendor independently of manufacturer Otherness.
Man-machine interface (Human Machine Interface, HMI): also it is man-machine interface.Man-machine interface (also known as user Interface or user interface) it is the medium interacted between system and user with information exchange, it realizes the inside shape of information Formula and the mankind can receive the conversion between form.All there is man-machine interfaces in the field of all participant's machine information exchanges.
The interface (Front-End Processor, FEP) with integrated and interacted system is monitored for management comprehensive: FEP is used The interface with integrated and interacted system is monitored in management comprehensive, there is the ability for converting various hardware interfaces, software protocol, simultaneously Effectively ISCS can be isolated with each integrated and interacted system data.
File Transfer Protocol (File Transfer Protocol, FTP) is for transmitting in the enterprising style of writing part of network A set of standard agreement, uses Client/Server.It belongs to the application layer of the network transmission protocol.
Real-time data base (Real Time DataBase, RTDB) is a branch of Database Systems development, is data What library technology combination real-time processing technique generated, it can directly acquire in real time, obtain various data during enterprise operation, and general It is converted into the effective public information of all kinds of business.
Historical data base (History Database, HDB): for storing the historical data of real-time data base.
Software Development Kit (Software Development Kit, SDK): some software engineers are commonly referred to as The set of developing instrument when establishing application software for specific software package, software frame, hardware platform, operating system etc..
Lower dress agency: it operates on each website (FEP), realizes from newest download file is filled under file server to local Function.
Lower dress service: operating on file server, and the download file etc. come is loaded under reception.
Configuration file: the data file that configuration server compiling generates, file, HMI file, power including Database Unit Limit data file etc. is referred to as configuration file.
Download file: configuration server is packaged the compressed package files that compression generates.
As analyzing above, in the related technology, the file management of ftp file server can not with comprehensive monitoring system into Row is unified, and industry uses OPC UA as communication bus mostly, and File Transfer Protocol does not meet OPC UA standard, is difficult to pass through OPC UA agreement and other function module (such as real time service, lower dress service, HMI, FEP service) realize the system integration.It is appreciated that File Transfer Protocol is a kind of general File Upload and Download agreement, both agreements want biggish difference, OPC UA on application scenarios More emphasize that, by interconnecting between unified protocol realization system, this is the main reason for causing the above problem to occur.
Based on the above technical problem, the present invention provides design a kind of urban track traffic comprehensively monitoring based on OPC UA The file management method of system, using unified OPC UA standard interface, provide in comprehensive monitoring system the upload of file and under The service such as load introduces OPC UA agreement in urban track traffic comprehensive monitoring system and uniformly realizes file management, technically Information is decoupled using unified business model and bussing technique, so that interface standard between each module of comprehensive monitoring system Change, the mode of its data interaction is allowed to simplify, the agreement used is unitized.
Due to it is found by the applicant that existing urban track traffic comprehensive monitoring system in construction operation, in order to quickly pass File is passed, the requirement to file security control is weakened, transmits file using the mode of relatively simple network share, thus, In an embodiment of the present invention, the storage, upload and download management embodiment side for focusing first on file are described.
For convenience of description, following embodiments concentrate on the description of file server side.
Specifically, Fig. 1 is the file of the comprehensive monitoring system according to an embodiment of the invention based on rail traffic The flow chart of management method, as shown in Figure 1, this method comprises:
Step 101, the download file that configuration server is sent is received by the first OPC UA standard interface.
Wherein, configuration server provides the configuration service of the configuration personnel of comprehensive monitoring system, and configuration server is based on matching The generation of download file is realized in the operation for setting personnel, which is the file, HMI file, permission number by Database Unit Pass through according to configuration files such as files and configure what service compression packing generated, which includes the agreement based on OPC UA agreement Conversion etc., wherein configuration file is the compiling of the file according to needed for communication interaction between subsystems in comprehensive monitoring system The data file of generation.
Specifically, in the present embodiment, by configuration server automatically generate with subsystems in comprehensive monitoring system it Between the corresponding download file of file needed for communication interaction, and configuration server via the first OPC UA standard interface to file Server sends download file, hereby it is achieved that transmission of the download file based on OPC UA agreement.
Wherein, the first OPC UA standard interface is leading to what the lower dress of configuration server realization serviced for file server offer Believe interface, the first OPC UA standard interface includes the common OPC UA standard such as method call interface, subscribing interface, notification interface Interface has the interface of that function using the first OPC UA standard, according to the communication of configuration server and file server Demand determines.
Step 102, it calls the document storing section point in the node space of OPC UA to log on to file-management services unit, controls File-management services unit processed receives and stores download file.
It is appreciated that in an embodiment of the present invention, needing to construct the node space of OPC UA, in order to empty based on node Between the function realized OPC UA standard interface is provided.In the node space include file management data object and method node, Wherein, data object corresponds to download file etc., and method node corresponds to upload, management, the storage, method for down loading of download file Deng lower dress service.Corresponding server, which can be logged on to, based on method node executes method operation corresponding with this method node.
In the present embodiment, after the download file for receiving configuration server transmission, based on the node space of OPC UA, File memory node in the node space of OPC UA is called to log on to file-management services unit, wherein file-management services list Member has the communication interface with node space, for executing method operation corresponding with method node in node space, thus, it steps on After recording file-management services unit, control file-management services unit receives and stores corresponding download file.
In an embodiment of the present invention, the entity of download file is stored in the file system of file server, thus, File-management services unit directly downloads the relevant operation of file to file system, wherein file-management services unit exists When storing download file into file system, for the ease of management, storage rule can also be formulated to store, for example, being directed to down The type of dress file carries out the distributed storage of different types of download file, in order to improve the calling efficiency of download file Deng.
Step 103, the downloading that lower dress agent node equipment is sent is received by the 2nd OPC UA standard interface to request, call File download node corresponding with downloading request in the node space of OPC UA.
Wherein, the 2nd OPC UA standard interface is taking with the lower dress of lower dress agent node equipment realization for file server offer The communication interface of business, the 2nd OPC UA standard interface include that the common OPC UA standard such as method call interface, subscribing interface connects Mouthful, there is the interface of that function using the 2nd OPC UA standard, according to lower dress agent node equipment and file server Communication requirement determines.
Step 104, it according to file download Node registers to file-management services unit, controls file-management services unit and obtains Take the target download file in download file corresponding with downloading request.
Step 105, target download file is fed back to by lower dress agent node by the 2nd OPC UA standard interface.
Referring to Fig. 2, lower dress agent node equipment includes being connected to each online equipment of file server, including RTDB is (in real time Database), HDB (historical data base), FEP (front end processor), the comprehensively monitorings module such as HMI (human-computer interaction terminal) etc., wherein it is each It include that the lower dress agency of lower dress service is provided in online equipment, which can be regular based on the 2nd OPC UA standard interface The version querying information of download file is sent, in order to which the node space of OPC UA will be in the corresponding attribute node of the download file The version information for including is fed back via the 2nd OPC UA standard interface, can be with when detecting the download file of new version It will be attached to local under download file from file server, and is stored in local file system.
Certainly, in actually executing, when download file is uploaded to file server, in the node space in file server Attribute information (version information, uplink time including download file etc.) corresponding with the download file will be updated, and the node is empty Between middle download file attribute information update when, be also based on attribute information and judge whether the version of download file updates, such as There is update, then by under the OPC UA notification interface in the 2nd OPC UA standard interface actively dress agent node equipment transmission downwards Fill file update notification.
In an embodiment of the present invention, it referring to Fig. 2, is set file server as configuration server and lower dress agent node For the bridge of communication, service is filled under realizing in file server based on OPC UA interface, file server provides and configures service First OPC UA standard interface of device communication, and the 2nd OPC UA standard communicated with lower dress agent node equipment is provided and is connect Mouthful, realize upload and the downloading etc. that download file is realized based on unified OPC UA standard interface.
Specifically, receiving the update notification of download file in lower dress agent node equipment or having found that download file has After having more new version, downloading request is sent to file server based on the 2nd OPC UA standard interface, thus, based on OPC UA's Node space calls file download node corresponding with download file request in the node space of OPC UA, according to this document Download Node registers arrive file-management services unit, control file-management services unit execute this document download node it is corresponding under Corresponding target download file is downloaded in support method operation from file system, and passes through the 2nd OPC UA standard interface for target Download file feeds back to lower dress agent node.
Storage, upload and download service due to ftp server in addition to realizing file, possess perfect user authority management The functions such as user management, file access permission may be implemented in system, thus, in an embodiment of the present invention, in order to realize OPC Purpose of the UA as unified communication bus is also needed based on OPC UA protocol realization user management and file access rights management Deng.
Secondly, concentrating on file server realizes that user management and the present invention of file access rights management side description are implemented The file management method of the comprehensive monitoring system based on rail traffic of example.
Specifically, in one embodiment of the invention, as shown in figure 3, in the node space for calling OPC UA with Downloading is requested before corresponding file download node, further includes:
Step 201, the facility information that lower dress agent node equipment is sent is obtained by the 2nd OPC UA standard interface.
In order to guarantee the safety of download file, avoids download file from being downloaded by illegal download agent node device, need The role of download agent node device is verified, i.e., the 2nd OPC UA standard interface of acquisition obtains lower dress agent node and sets The facility information for the node device that preparation is sent, the facility information include that node equipment identification of download agent node device etc. is unique Identify the information of download agent node device.Wherein, which can be lower dress agent node equipment and sends downloading request When synchronous send.
Step 202, the authenticating node in the node space of OPC UA is called to start authentication management service unit, so that authentication Management service unit feeds back authenticating result notice, wherein authenticating result notice is authentication management service unit according to prestoring down Authority information and facility information are filled, whether there is download permission to be authenticated agent node equipment.
It should be understood that in the file server provided in the embodiment of the present invention, as shown in figure 4, including authentication management Service unit, the authentication management service unit and node space have communication interface, and authentication management service unit is for realizing right The authentication of download file operation, the creation principle based on node space further include control mirror in the present embodiment, in node space It weighs management service unit and executes the method node of corresponding method for authenticating, for example, including that control authentication management service unit executes mirror The authenticating node etc. for weighing function, the lower dress authority information that download file is stored in authentication management service unit (including can play dress Lower dress agent node device identification etc.), wherein lower dress authority information can be configuration server in the upload of download file It sends, i.e., the lower dress authority information that configuration server is sent is received by the first OPC UA standard interface, call OPC UA's Authority information memory node in node space logs on to authentication management service unit, and control authentication management service unit receives simultaneously Storage is lower to fill authority information.
In turn, file server calls the authenticating node in the node space of OPC UA to start authentication management service unit, So that whether authentication management service unit has lower dress agent node equipment according to the lower dress authority information and facility information that prestore There is download permission to be authenticated, that is, in the lower dress authority information for verifying corresponding download file, if to indicate that the facility information is corresponding Lower dress agent node equipment belong to lower dress range.
Step 203, the authenticating result notice for receiving authentication management service unit feedback, if notifying to determine according to authenticating result Lower dress agent node equipment has download permission, then allows to call file corresponding with downloading request in the node space of OPC UA Download node.
Specifically, authenticating result is notified power result to feed back to node space by authentication management service unit after authentication, with Convenient for node space after receiving authenticating result notice, determine that lower dress agent node equipment has download permission, for example, determining Comprising the identification information being proved to be successful for corresponding lower dress agent node equipment, (identification information can in authenticating result notice Think the identifier etc. that the representative demarcated in advance is proved to be successful), just allow to call in the node space of OPC UA and be requested with downloading Corresponding file download node, downloads corresponding download file.
In one embodiment of the invention, after receiving authenticating result notice, however, it is determined that lower to fill agent node equipment Without download permission, then forbid calling file download node corresponding with downloading request in the node space of OPC UA, to protect The safety of download file is protected, and the transmission of agent node equipment is filled downwards by the 2nd OPC UA standard interface and forbids downloading logical Know.
In addition in view of in practical application, comprehensive monitoring system is for file management, in addition to the functions discussed above, it is also necessary to The functions such as file discovery, file edition management, file content parsing, file type management are provided, above-mentioned function is supervised for comprehensive Control system is extremely important, but ftp server can not provide above-mentioned service, thus, in an embodiment of the present invention, also extend The function of ftp server, compensating for ftp server, there are afunction in terms of the file managements such as document analysis.
Finally, functioning side describes handing over based on track for the embodiment of the present invention in terms of realizing file management based on file server The file management method of logical comprehensive monitoring system.
Specifically, as shown in figure 5, this method further include:
Step 301, the management that management node device is sent is received by the 2nd OPC UA standard interface to request, call OPC File management nodes corresponding with management request in the node space of UA.
Step 302, file-management services unit is logged on to according to file management nodes, control file-management services unit pair Download file executes management corresponding with management request and operates, and obtains implementing result.
Step 303, implementing result is fed back to by management node device by the 2nd OPC UA standard interface.
Wherein, management node device may include above-mentioned download agent node device, be also possible to any other with text The equipment of part regulatory requirement, this is not restricted.
In the present embodiment, the management request that management node device is sent is received based on the 2nd OPC UA standard interface, it can To include the analysis request etc. of file, file management nodes corresponding with management request in the node space of OPC UA are called, with File-management services unit is logged on to according to file management nodes, and control file-management services unit executes corresponding with management request Management operation, for example, control file-management services unit carries out corresponding management operation to the download file in file system, And implementing result is obtained, in turn, implementing result is fed back to by management node device by the 2nd OPC UA standard interface, such as will The parsing result of file feeds back to management node device.
The file management method of the comprehensive monitoring system based on rail traffic of the embodiment of the present invention as a result, based on unified Protocol realization comprehensive monitoring system in file storage, upload, lower dress, permission control, parsing, verification etc. functions.
In order to more comprehensively illustrate the embodiment of the present invention the comprehensive monitoring system based on rail traffic file management Method concentrates on configuration server side below and is described.
Fig. 6 is the file management method of the comprehensive monitoring system based on rail traffic of further embodiment according to the present invention Flow chart, as shown in fig. 6, this method comprises:
Step 401, when receiving file operation requests, start offline configuration software so that file operation requests are corresponding File is compiled into configuration file.
Wherein, file operation requests include updating operation, the configuration operation etc. for lower dress agent node equipment.
Specifically, when generating corresponding file in comprehensive monitoring system, configuration personnel send file to configuration server Operation requests, to start offline configuration software so that the corresponding file of file operation requests is compiled into configuration file, wherein reference Fig. 2 and Fig. 4 includes offline configuration software in the configuration server, configuration file may be implemented based on the offline configuration software Compiling generates.
Step 402, control configuration service unit generates download file according to configuration file.
It specifically, further include configuration service unit in the configuration server, which carries out configuration file The configuration that the download file of file server can be transferred to generates, and configuration service unit carries out protocol conversion etc. to configuration file It is packaged compression after processing and generates download file.
Step 403, download file is sent to file server by the first OPC UA standard interface, in order to file service Device executes file operation corresponding with file operation requests after receiving download file, to download file.
In practical applications, configuration software send configuration file when, can also by the lower dress of the configuration file instruct and under Dress authority information synchronizes and is sent to configuration service unit, receive lower dress instruction that configuration software is sent to configuration service unit and After lower dress authority information, configuration server is instructed according to lower dress passes through first in turn according to configuration file generation download file OPC UA standard interface sends lower dress authority information to file server, is stored lower dress authority information to mirror with file server It weighs in management service unit.I.e. at the configuration server end of comprehensively monitoring, compiled configuration file, define lower dress instruction and under Fill authority information, lower dress agency can based on the inspection completed with the information exchange of file server to FileVersion, downloading and Authorization check substantially increases the degree of automation of comprehensive monitoring system.
In order to enable those skilled in the art, more comprehensively understand the embodiment of the present invention based on the comprehensive of rail traffic The file management method for closing monitoring system, is described, in the present embodiment, with a FEP below with reference to specifically embodiment For lower dress Database Unit file, in this example, using OPC UA as software service bus.Download file is upgrading text Part is compiled by configuration server and generates upgrade file, is uploaded to file server, the file-management services of file server are to liter Grade file is classified, and is saved to file system.FileVersion on lower dress agency's detection file server of FEP, discovery have New version then obtains download file from file server and is upgraded to local.
In this example, the lower dress process framework figure of upgrade file is referred to Fig. 4, includes offline group in configuration server State software and configuration service unit, when comprehensive monitoring system configuration personnel will to FEP under fill software to carry out updating operation when, need Start offline configuration software, the upgrade file of FEP is compiled by configuration software and generates configuration file, is beaten by configuring service Packet compression generates download file.After configuration service receives the instruction of lower dress and the lower dress authority information of configuration software sending, it will beat The download file wrapped receives configuration server by the first OPC UA standard interface and sends.
Referring to Fig. 4, file server is based on OPC UA standard interface and realizes that lower dress service, reception fill under configuration server After the download file to get off, calls file memory node in the node space of OPC UA to log on to file-management services unit, control File-management services unit processed receives and stores download file to corresponding file system.
Lower dress agency service in FEP equipment is realized based on OPC UA standard interface, when detecting corresponding lower dress After file updates, the version information of download file is obtained based on the 2nd OPC UA standard interface, when updated version is higher than it After local download file version, the downloading that lower dress agent node equipment is sent is received by the 2nd OPC UA standard interface and is requested With the facility information of FEP equipment, file server calls the authenticating node starting authentication management clothes in the node space of OPC UA Business unit, so that authentication management service unit is according to lower dress authority information and facility information verifying the agent node equipment prestored It is no that there is download permission, after the notice with download permission for receiving authentication management service unit feedback, according to file download Node registers control file-management services unit and obtain dress text under target corresponding with downloading request to file-management services unit Target download file is fed back to lower dress agent node equipment by the 2nd OPC UA standard interface by part.
To sum up, the file management method of the comprehensive monitoring system based on rail traffic of the embodiment of the present invention, on the one hand, system One provides standard interface using OPC UA bus protocol, so that the data interaction when file management of comprehensive monitoring system is simple Change, the safety of performance and data access to data exchange is all guaranteed.On the other hand, bus protocol is done in fact using OPC UA The file management and transmission of existing comprehensive monitoring system, it is practical.And file management is carried out based on OPC UA, use OPC UA's Universal model has unified the file management mode for accessing comprehensive monitoring system, has reduced the coupling between each module of system, extended File management facilities.
In order to realize above-described embodiment, the invention also provides a kind of file server, Fig. 7 is a reality according to the present invention The structural schematic diagram of the file server of example is applied, as shown in fig. 7, this document server includes: the first receiving module 110, first Control module 120, the second receiving module 130, calling module 140 and feedback module 150.
Wherein, the first receiving module 110, for being received under configuration server transmission by the first OPC UA standard interface Fill file.
First control module 120, the document storing section point in the node space for calling OPC UA log on to file pipe Service unit is managed, control file-management services unit receives and stores download file.
Second receiving module 130, for receiving what lower dress agent node equipment was sent by the 2nd OPC UA standard interface Downloading request.
Calling module 140, file download node corresponding with downloading request in the node space for calling OPC UA.
First control module 120 is also used to control file according to file download Node registers to file-management services unit Management service unit obtains the target download file in download file corresponding with downloading request;
Feedback module 150, for target download file to be fed back to lower dress agency section by the 2nd OPC UA standard interface Point device.
It should be noted that the aforementioned comprehensive monitoring system based on rail traffic for concentrating on the description of file server side File management method is also applied for the file server of the embodiment of the present invention, and it is similar that the realization principle and technical effect are similar, herein not It repeats again.
In order to realize above-described embodiment, the invention also provides a kind of configuration server, Fig. 8 is a reality according to the present invention The structural schematic diagram of the configuration server of example is applied, as shown in figure 8, the configuration server includes: that starting module 210, second controls Module 220 and sending module 230.
Wherein, starting module 210, for when receiving file operation requests, starting offline configuration software with by file The corresponding file of operation requests is compiled into configuration file.
Second control module 220 generates download file according to configuration file for controlling configuration service unit.
Sending module 230, for sending download file to file server by the first OPC UA standard interface, in order to File server executes file operation corresponding with file operation requests after receiving download file, to download file.
It should be noted that the aforementioned comprehensive monitoring system based on rail traffic for concentrating on the description of configuration server side File management method is also applied for the configuration server of the embodiment of the present invention, and it is similar that the realization principle and technical effect are similar, herein not It repeats again.
In order to realize above-described embodiment, the invention also provides a kind of files of comprehensive monitoring system based on rail traffic Management system, Fig. 9 are the file management systems of the comprehensive monitoring system according to an embodiment of the invention based on rail traffic Structural schematic diagram, as shown in figure 9, should the file management system of comprehensive monitoring system based on rail traffic include file service Device 100, configuration server 200 and lower dress agent node equipment 300, wherein configuration server and lower dress agent node equipment OPC UA communication protocol communication is based on file server to connect.
It should be noted that the aforementioned file management method embodiment for concentrating the comprehensive monitoring system based on rail traffic Illustrate, be also applied for the file management system of the comprehensive monitoring system based on rail traffic of the embodiment of the present invention, realizes former Reason is similar with technical effect, and details are not described herein.
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 It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
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 custom logic 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.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
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.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey 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..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (11)

1. a kind of file management method of the comprehensive monitoring system based on rail traffic, which is characterized in that the method is applied to In file server, it the described method comprises the following steps:
The download file that configuration server is sent is received by the first OPC UA standard interface;
It calls the document storing section point in the node space of OPC UA to log on to file-management services unit, controls the file pipe Reason service unit receives and stores the download file;
The downloading request that lower dress agent node equipment is sent is received by the 2nd OPC UA standard interface, calls the OPC UA's File download node corresponding with the downloading request in node space;
According to the file download Node registers to the file-management services unit, controls the file-management services unit and obtain Take the target download file in the download file corresponding with the downloading request;
The target download file is fed back into the lower dress agent node equipment by the 2nd OPC UA standard interface.
2. the method as described in claim 1, which is characterized in that in the node space for calling the OPC UA with it is described Downloading is requested before corresponding file download node, further includes:
The facility information that the lower dress agent node equipment is sent is obtained by the 2nd OPC UA standard interface;
The authenticating node in the node space of OPC UA is called to start authentication management service unit, so that the authentication management service Unit feeds back authenticating result notice, wherein authenticating result notice is the authentication management service unit according to prestoring down Authority information and the facility information are filled, whether there is download permission to be authenticated the agent node equipment;
The authenticating result notice for receiving the authentication management service unit feedback, if notifying to determine according to the authenticating result The lower dress agent node equipment has download permission, then allows to ask in the node space for calling the OPC UA with the downloading Seek corresponding file download node.
3. method according to claim 2, which is characterized in that in the institute for receiving the authentication management service unit feedback State authenticating result notice after, further includes:
If determining that the lower dress agent equipment does not have download permission according to authenticating result notice;
Then forbid calling file download node corresponding with the downloading request in the node space of the OPC UA, and passes through institute It states the 2nd OPC UA standard interface and forbids downloading to notify to the lower dress agent node equipment transmission.
4. method according to claim 2, which is characterized in that the authenticating node in the node space for calling OPC UA Before starting authentication management service unit, further includes:
The lower dress authority information that configuration server is sent is received by the first OPC UA standard interface;
It calls the authority information memory node in the node space of OPC UA to log on to the authentication management service unit, controls institute It states authentication management service unit and receives and stores the lower dress authority information.
5. the method as described in claim 1, which is characterized in that fill generation in described pass through under the 2nd OPC UA standard interface receives Before the downloading request for managing node device transmission, further includes:
Download file update notification is sent to the lower dress agent node equipment by the 2nd OPC UA standard interface.
6. the method as described in claim 1, which is characterized in that further include:
The management request that management node device is sent is received by the 2nd OPC UA standard interface, calls the OPC UA's File management nodes corresponding with the management request in node space;
The file-management services unit is logged on to according to the file management nodes, controls the file-management services unit pair The download file executes management operation corresponding with the management request, and obtains implementing result;
The implementing result is fed back into the management node device by the 2nd OPC UA standard interface.
7. a kind of file management method of the comprehensive monitoring system based on rail traffic, which is characterized in that the method is applied to In configuration server, it the described method comprises the following steps:
When receiving the file operation requests of configuration personnel transmission, start offline configuration software with by the file operation requests Corresponding file is compiled into configuration file;
Control configuration service unit generates download file according to the configuration file;
Download file is sent to file server by the first OPC UA standard interface, in order to which the file server is receiving To after the download file, file operation corresponding with the file operation requests is executed to the download file.
8. the method for claim 7, which is characterized in that the control configuration service unit is raw according to the configuration file At download file, specifically include:
Receive the instruction of lower dress and lower dress authority information that the configuration software is sent to the configuration service unit;
The configuration file is generated into the download file according to the lower dress instruction;
The lower dress authority information is sent to the file server by the first OPC UA standard interface, so that the text Part server stores the lower dress authority information to authentication management service unit.
9. a kind of file server characterized by comprising
First receiving module, for receiving the download file that configuration server is sent by the first OPC UA standard interface;
First control module, the document storing section point in the node space for calling OPC UA log on to file-management services list Member controls the file-management services unit and receives and stores the download file;
Second receiving module is asked for receiving the downloading that lower dress agent node equipment is sent by the 2nd OPC UA standard interface It asks;
Calling module, file download node corresponding with the downloading request in the node space for calling the OPC UA;
First control module is also used to according to the file download Node registers to the file-management services unit, control Make the target download file in the file-management services unit acquisition download file corresponding with the downloading request;
Feedback module, for the target download file to be fed back to the lower dress generation by the 2nd OPC UA standard interface Manage node device.
10. a kind of configuration server characterized by comprising
Starting module, for starting offline configuration software with by institute when receiving the file operation requests of configuration personnel transmission It states the corresponding file of file operation requests and is compiled into configuration file;
Second control module generates download file according to the configuration file for controlling configuration service unit;
Sending module, for sending download file to file server by the first OPC UA standard interface, in order to the text Part server executes file corresponding with the file operation requests after receiving the download file, to the download file Operation.
11. a kind of file management system of the comprehensive monitoring system based on rail traffic, which is characterized in that including such as claim File server described in 9, configuration server as claimed in claim 10 and lower dress agent node equipment, wherein described Configuration server is based on OPC UA communication protocol communication with the file server with the lower dress agent node equipment and connects.
CN201811446230.5A 2018-11-29 2018-11-29 File management method, system and equipment based on rail transit Active CN109743349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811446230.5A CN109743349B (en) 2018-11-29 2018-11-29 File management method, system and equipment based on rail transit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811446230.5A CN109743349B (en) 2018-11-29 2018-11-29 File management method, system and equipment based on rail transit

Publications (2)

Publication Number Publication Date
CN109743349A true CN109743349A (en) 2019-05-10
CN109743349B CN109743349B (en) 2019-12-10

Family

ID=66358312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811446230.5A Active CN109743349B (en) 2018-11-29 2018-11-29 File management method, system and equipment based on rail transit

Country Status (1)

Country Link
CN (1) CN109743349B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321979A (en) * 2019-06-21 2019-10-11 上海翊视皓瞳信息科技有限公司 A kind of management method and system applied to wisdom factory
CN112668027A (en) * 2021-01-04 2021-04-16 中车青岛四方车辆研究所有限公司 Data downloading method for distributed system and TIAS system data downloading method
CN113468116A (en) * 2020-03-31 2021-10-01 比亚迪股份有限公司 Configuration method and system for display screen file of railway vehicle
CN114697355A (en) * 2020-12-28 2022-07-01 比亚迪股份有限公司 Data processing method and Internet of things gateway equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101488A1 (en) * 2012-10-08 2014-04-10 General Electric Company System and method for application debugging
CN103738369A (en) * 2013-12-26 2014-04-23 北京交控科技有限公司 ATS device and system based on OPC UA technology
CN105530240A (en) * 2015-11-27 2016-04-27 机械工业仪器仪表综合技术经济研究所 Method for automatically mapping multiple industrial protocols to OPC UA address space
CN107065813A (en) * 2017-06-13 2017-08-18 苏州弘铭检测科技有限公司 A kind of workshop appliance data monitoring system and method
CN107077128A (en) * 2014-09-15 2017-08-18 Abb瑞士股份有限公司 Control the real world objects in industrial plants

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101488A1 (en) * 2012-10-08 2014-04-10 General Electric Company System and method for application debugging
CN103738369A (en) * 2013-12-26 2014-04-23 北京交控科技有限公司 ATS device and system based on OPC UA technology
CN107077128A (en) * 2014-09-15 2017-08-18 Abb瑞士股份有限公司 Control the real world objects in industrial plants
CN105530240A (en) * 2015-11-27 2016-04-27 机械工业仪器仪表综合技术经济研究所 Method for automatically mapping multiple industrial protocols to OPC UA address space
CN107065813A (en) * 2017-06-13 2017-08-18 苏州弘铭检测科技有限公司 A kind of workshop appliance data monitoring system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈兵: "基于OPC UA的地铁综合监控系统关键模块的研究与实现", 《万方在线出版》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321979A (en) * 2019-06-21 2019-10-11 上海翊视皓瞳信息科技有限公司 A kind of management method and system applied to wisdom factory
CN113468116A (en) * 2020-03-31 2021-10-01 比亚迪股份有限公司 Configuration method and system for display screen file of railway vehicle
CN114697355A (en) * 2020-12-28 2022-07-01 比亚迪股份有限公司 Data processing method and Internet of things gateway equipment
CN112668027A (en) * 2021-01-04 2021-04-16 中车青岛四方车辆研究所有限公司 Data downloading method for distributed system and TIAS system data downloading method

Also Published As

Publication number Publication date
CN109743349B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN109743349A (en) File management method, system and its equipment based on rail traffic
EP3085135B1 (en) System, method, and computer program for inter-module communication in a network based on network function virtualization (nfv)
US9217998B2 (en) Management and development of an industrial environment
CN104395888B (en) Establish the method, system and medium of the initial configuration of hardware inventory
Johnson et al. Evolving standards for IT service management
US8086538B2 (en) Meeting usage of services in a environment
KR20190109542A (en) Aerospace Commerce Exchange
CN109948356A (en) One kind is based on service call authority control method under micro services framework
US20140289391A1 (en) Framework for facilitating implementation of multi-tenant saas architecture
CN101867569B (en) Policy provisioning
CN104639361B (en) The management method and device of network service moulding plate
CN107430712A (en) Resource management system is can access with the network that can be allocated management of
CN110933187A (en) Internet of things data transmission system based on block chain consensus encryption mechanism
CN110673938B (en) Task processing method, system, server and storage medium
CN104168333A (en) Working method of PROXZONE service platform
CN101827115B (en) Holographic enterprise service bus
CN103067235A (en) Enterprise service bus
CN112732534B (en) ESB system supporting distributed micro-service
US11151122B2 (en) Distributed ledger data linkage management
CN110658794A (en) Manufacturing execution system
US20200099591A1 (en) Systems and methods for secure network function virtualization license management
US20090328070A1 (en) Event Driven Disposition
CN109033823A (en) Method and apparatus for intelligent contract to be verified and run in block chain network
CN109756557B (en) User authority server and service method and system based on user authority
CN109743249A (en) Forming method, integrated gateway and the integrated system of the integrated gateway of passenger information system

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
TR01 Transfer of patent right

Effective date of registration: 20200717

Address after: No. 3009, BYD Road, Jiangling community, Malan street, Pingshan District, Shenzhen, Guangdong Province

Patentee after: BYD communication signal Co.,Ltd.

Address before: BYD 518118 Shenzhen Road, Guangdong province Pingshan New District No. 3009

Patentee before: BYD Co.,Ltd.

TR01 Transfer of patent right