CN109743349B - File management method, system and equipment based on rail transit - Google Patents

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

Info

Publication number
CN109743349B
CN109743349B CN201811446230.5A CN201811446230A CN109743349B CN 109743349 B CN109743349 B CN 109743349B CN 201811446230 A CN201811446230 A CN 201811446230A CN 109743349 B CN109743349 B CN 109743349B
Authority
CN
China
Prior art keywords
file
opc
downloading
download
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811446230.5A
Other languages
Chinese (zh)
Other versions
CN109743349A (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 invention provides a file management method, a file management system and file management equipment based on rail transit, wherein the method comprises the following steps: receiving a download file sent by a configuration server through a first OPC UA standard interface; calling a file storage node in a node space of an OPC UA to log in a file management service unit, and controlling the file management service unit to receive and store a download file; receiving a downloading request sent by the downloading agent node equipment through a second OPC UA standard interface, and calling a file downloading node corresponding to the downloading request in a node space of the OPC UA; logging in a file management service unit according to the file downloading node, and controlling the file management service unit to acquire a target downloading file in the downloading files corresponding to the downloading request; and feeding back the target download file to the download proxy node through a second OPC UA standard interface. Therefore, the OPC UA protocol is introduced to realize file management uniformly, so that interfaces among all modules of the integrated monitoring system are standardized and communication is decoupled, and the file management function is enriched.

Description

File management method, system and equipment based on rail transit
Technical Field
the invention relates to the technical field of rail transit communication, in particular to a file management method, a file management system and file management equipment based on rail transit.
Background
The urban rail transit comprehensive monitoring system is a highly integrated comprehensive automatic monitoring system, and mainly integrates a plurality of strong and weak electric systems of rail transit to form a unified monitoring platform, so that the functions of centralized monitoring and management of all equipment in rail transit are realized, and the functions of information sharing and linkage among professional subsystems are finally completed. In the integrated monitoring system, files are used as carriers of data and are largely used in a data transmission scene. Such as using a log file to record information such as the operational status of the service, using an installation file to complete the installation and upgrade functions of the component, etc.
In the related art, a conventional File Transfer Protocol (FTP) server is usually used as a File storage server, and functions of File Transfer and management of the FTP are used to implement functions of issuing a configuration File and a database unit, uploading a log File, and the like, whereas in the related art, an integrated monitoring system generally uses an open platform communication Unified Architecture (OLE for Process Control Unified Architecture, OPC UA) as a communication bus, and if the FTP service is still used to implement File Transfer, the access management of the FTP server cannot be Unified with the access system of the integrated monitoring system, which results in a complex manner of related communication interaction in the File management service.
Disclosure of Invention
The invention provides a file management method, a file management system and file management equipment based on rail transit, and aims to solve the technical problem that in the prior art, the authority management of an FTP server cannot be unified with an integral authority system for comprehensive monitoring, so that the related communication interaction mode in a file management service is complex.
An embodiment of the invention provides a file management method of a comprehensive monitoring system based on rail transit, which comprises the following steps: receiving a download file sent by a configuration server through a first OPC UA standard interface; calling a file storage node in a node space of an OPC UA (OLE for process control) to log in a file management service unit, and controlling the file management service unit to receive and store the downloaded file; receiving a downloading request sent by a downloading agent node device through a second OPC UA standard interface, and calling a file downloading node corresponding to the downloading request in a node space of the OPC UA; logging in the file management service unit according to the file downloading node, and controlling the file management service unit to acquire a target downloading file in the downloading files corresponding to the downloading request; and feeding back the target download file to the download proxy node equipment through the second OPC UA standard interface.
Another embodiment of the present invention provides a file management method for a rail transit-based integrated monitoring system, including the following steps: when a file operation request is received, starting off-line configuration software to compile a file corresponding to the file operation request into a configuration file; the control configuration service unit generates a downloading file according to the configuration file; and sending the download file to a file server through a first OPCUA standard interface, so that the file server executes file operation corresponding to the file operation request on the download file after receiving the download file.
In another aspect, an embodiment of the present invention provides a file server, including: the first receiving module is used for receiving the download file sent by the configuration server through a first OPC UA standard interface; the first control module is used for calling a file storage node in a node space of OPC UA to log in a file management service unit and controlling the file management service unit to receive and store the downloaded file; the second receiving module is used for receiving a downloading request sent by the downloading agent node equipment through a second OPC UA standard interface; the calling module is used for calling a file downloading node corresponding to the downloading request in the node space of the OPC UA; the first control module is further configured to log in the file management service unit according to the file download node, and control the file management service unit to obtain a target download file in the download files corresponding to the download request; and the feedback module is used for feeding the target download file back to the download proxy node equipment through the second OPC UA standard interface.
An embodiment of another aspect of the present invention provides a configuration server, including: the starting module is used for starting off-line configuration software to compile a file corresponding to the file operation request into a configuration file when the file operation request is received; the second control module is used for controlling the configuration service unit to generate a downloading file according to the configuration file; and the sending module is used for sending the downloaded file to a file server through a first OPC UA standard interface so that the file server executes file operation corresponding to the file operation request on the downloaded file after receiving the downloaded file.
In another embodiment of the present invention, a file management system of a rail transit-based integrated monitoring system is provided, including the above-mentioned file server, the above-mentioned configuration server, and a download proxy node device, where both the configuration server and the download proxy node device are in communication connection with the file server based on OPC UA communication protocol.
The technical scheme provided by the invention at least has the following beneficial technical effects:
On one hand, an OPC UA bus protocol is uniformly adopted to provide a standard interface, so that data interaction is simplified when the file of the comprehensive monitoring system is managed, and the performance of data exchange and the safety of data access are guaranteed. On the other hand, the OPCUA is used as a bus protocol to realize file management and transmission of the comprehensive monitoring system, and the practicability is high. And the file management is carried out based on OPC UA, and a general model of OPC UA is used, so that the file management mode of accessing the comprehensive monitoring system is unified, the coupling among all modules of the system is reduced, and the file management function is expanded.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
the foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
Fig. 1 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to an embodiment of the present invention;
fig. 2 is a block diagram of a file management method of the rail transit-based integrated monitoring system according to an embodiment of the present invention;
Fig. 3 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to another embodiment of the present invention;
Fig. 4 is a block diagram of a file management method of a rail transit-based integrated monitoring system according to another embodiment of the present invention;
fig. 5 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to still another embodiment of the present invention;
Fig. 6 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to still another embodiment of the present invention;
FIG. 7 is a schematic diagram of a file server according to one embodiment of the present invention;
FIG. 8 is a block diagram of a configuration server according to one embodiment of the invention; and
fig. 9 is a schematic structural diagram of a file management system of the rail transit-based integrated monitoring system according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A file management method, system and device based on rail transit according to an embodiment of the present invention will be described with reference to the accompanying drawings.
for the sake of understanding, the terms of art referred to in the embodiments of the present invention are first explained as follows:
An open platform communication Unified Architecture (OLE for Process Control Unified Architecture, OPC UA), namely, an OPC Unified Architecture, covers different aspects of OPC real-time data access specification (OPC DA), OPC historical data access specification, OPC alarm event access specification and OPC security protocol, but has a function extension on the basis. OPC UA is a further breakthrough after the traditional OPC technology has been very successful, making data collection, information modeling, and communication between factory floor and enterprise floor safer and more reliable. Because OPC UA is vendor independent, the variability between different vendors is blurred.
Human Machine Interface (HMI): also called human-machine interface. A human-machine interface (also called user interface or user interface) is a medium for interaction and information exchange between a system and a user, and it implements conversion between an internal form of information and a human-acceptable form. Human-machine interfaces exist in all fields participating in human-machine information exchange.
Interface for managing integrated monitoring and integration and interconnection systems (Front-End Processor, FEP): the FEP is used for managing the interfaces of the integrated monitoring and integration and interconnection system, has the capability of converting various hardware interfaces and software protocols, and can effectively isolate the ISCS from the data of each integrated and interconnection system.
The File Transfer Protocol (FTP) is a standard set of protocols for File Transfer over a network, and uses a client/server model. It belongs to the application layer of the network transport protocol.
The Real Time DataBase (RTDB) is a branch of DataBase system development, is generated by combining DataBase technology with Real-Time processing technology, and can directly collect and acquire various data in the running process of an enterprise in Real Time and convert the data into public information effective to various services.
History Database (HDB): for storing historical data of the real-time database.
Software Development Kit (SDK): and generally refers to a collection of development tools used by some software engineers to build application software for a particular software package, software framework, hardware platform, operating system, and so forth.
Downloading an agent: the file downloading device runs on each site (FEP) and realizes the function of downloading the latest downloading file from the file server to the local.
Downloading service: the file downloading method runs on a file server, and receives downloaded files and the like.
Configuration files: the configuration server compiles the generated data files, including database unit files, HMI files, permission data files, and the like, collectively referred to as configuration files.
downloading a file: and the configuration server packs and compresses the generated compressed pack file.
as analyzed above, in the related art, file management of the FTP file server cannot be unified with the integrated monitoring system, and the industry mostly uses OPC UA as a communication bus, and the FTP protocol does not conform to the OPC UA standard, so that it is difficult to realize system integration by the OPC UA protocol and other functional modules (e.g., real-time service, download service, HMI, FEP service). It can be understood that the FTP protocol is a general file uploading and downloading protocol, the two protocols have great difference in application scenarios, and OPC UA emphasizes the implementation of interconnection and interworking between systems through a unified protocol, which is a main reason for the above problems.
Based on the technical problems, the invention provides a file management method for an urban rail transit comprehensive monitoring system based on OPC UA, which uses a uniform OPC UA standard interface to provide services such as uploading and downloading of files in the comprehensive monitoring system, introduces OPC UA protocol into the urban rail transit comprehensive monitoring system to uniformly realize file management, technically decouples information by using a uniform service model and bus technology, standardizes interfaces among modules of the comprehensive monitoring system, simplifies data interaction mode and unifies used protocols.
Since the applicant finds that, in the construction and operation of the existing urban rail transit integrated monitoring system, in order to transfer files quickly, and weaken the requirement for file security management, the files are transferred in a relatively simple network sharing manner, in the embodiment of the present invention, description is first focused on the file storage, upload, and download management implementation manner.
for convenience of description, the following embodiments focus on the file server side description.
specifically, fig. 1 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to an embodiment of the present invention, as shown in fig. 1, the method including:
step 101, receiving a download file sent by a configuration server through a first OPC UA standard interface.
The configuration server provides configuration services of configuration personnel of the comprehensive monitoring system, the configuration server realizes generation of a download file based on operation of the configuration personnel, the download file is generated by compressing and packaging configuration files such as files of a database unit, HMI files, authority data files and the like through the configuration services, the configuration services comprise protocol conversion and the like based on an OPC UA protocol, and the configuration files are data files generated by compiling according to files required by communication interaction among subsystems in the comprehensive monitoring system.
Specifically, in this embodiment, a download file corresponding to a file required for communication interaction between subsystems in the integrated monitoring system is automatically generated by the configuration server, and the configuration server sends the download file to the file server via the first OPC UA standard interface, thereby implementing transmission of the download file based on the OPC UA protocol.
the first OPC UA standard interface is a communication interface which is provided by the file server and realizes downloading service with the configuration server, comprises common OPC UA standard interfaces such as a method call interface, a subscription interface and a notification interface, has a function using the first OPC UA standard, and is determined according to the communication requirements of the configuration server and the file server.
step 102, calling a file storage node in a node space of the OPC UA to log in a file management service unit, and controlling the file management service unit to receive and store a download file.
it is understood that in the embodiment of the present invention, the node space of the OPC UA needs to be constructed so as to provide the OPC UA standard interface based on the function implemented by the node space. The node space comprises data objects and method nodes for file management, wherein the data objects correspond to download files and the like, and the method nodes correspond to download services such as uploading, managing, storing and downloading methods of the download files. Based on the method, the node can log in the corresponding server to execute the method operation corresponding to the method node.
In this embodiment, after receiving a download file sent by a configuration server, based on a node space of an OPC UA, a file storage node in the node space of the OPC UA is called to log in to a file management service unit, where the file management service unit has a communication interface with the node space for executing a method operation corresponding to a method node in the node space, and thus, after logging in to the file management service unit, the file management service unit is controlled to receive and store the corresponding download file.
In the embodiment of the present invention, an entity of a downloaded file is stored in a file system of a file server, so that a file management service unit directly performs operations related to the downloaded file on the file system, where in order to facilitate management when the file management service unit stores the downloaded file in the file system, a storage rule may be formulated for storage, for example, distributed storage of different types of downloaded files is performed according to the type of the downloaded file, so as to improve the calling efficiency of the downloaded file.
and 103, receiving a downloading request sent by the downloading proxy node equipment through a second OPC UA standard interface, and calling a file downloading node corresponding to the downloading request in the node space of the OPC UA.
the second OPC UA standard interface is a communication interface provided by the file server and used for implementing the download service with the download proxy node device, and includes a method call interface, a subscription interface, and other common OPC UA standard interfaces, an interface having a function using the second OPC UA standard, and is determined according to a communication requirement between the download proxy node device and the file server.
And 104, logging in a file management service unit according to the file downloading node, and controlling the file management service unit to acquire a target downloading file in the downloading files corresponding to the downloading request.
And 105, feeding back the target download file to the download proxy node through a second OPC UA standard interface.
Referring to fig. 2, the node device of the downloading agent includes each online device connected to the file server, including an integrated monitoring module such as RTDB (real time database), HDB (historical database), FEP (front end processor), HMI (human machine interaction terminal), etc., wherein each online device includes a downloading agent providing a downloading service, and the downloading agent may periodically send version query information of the downloading file based on the second OPC UA standard interface, so that the node space of the OPC UA feeds back version information included in the attribute node corresponding to the downloading file via the second OPC UA standard interface, and when a new version of the downloading file is detected, the downloading file may be downloaded locally from the file server and stored in a local file system.
certainly, in actual execution, when a download file is uploaded to the file server, attribute information (including version information of the download file, upload time, and the like) corresponding to the download file in a node space in the file server is updated, when the attribute information of the download file in the node space is updated, whether the version of the download file is updated or not may be determined based on the attribute information, and if the version of the download file is updated, a download file update notification is actively sent to the download proxy node device through the OPC UA notification interface in the second OPC UA standard interface.
in the embodiment of the present invention, referring to fig. 2, a file server is used as a bridge for communication between a configuration server and a download proxy node device, the download service is implemented in the file server based on an OPC UA interface, the file server provides a first OPC UA standard interface for communication with the configuration server and a second OPC UA standard interface for communication with the download proxy node device, and uploading and downloading of a download file based on a unified OPC UA standard interface are implemented.
Specifically, after the download agent node device receives an update notification of the download file or finds that the download file has an updated version, a download request is sent to the file server based on the second OPC UA standard interface, so that, based on the node space of the OPC UA, a file download node corresponding to the download file request in the node space of the OPC UA is called, so as to log in to the file management service unit according to the file download node, control the file management service unit to execute a download method operation corresponding to the file download node, download the corresponding target download file from the file system, and feed back the target download file to the download agent node through the second OPC UA standard interface.
in the embodiment of the present invention, in order to implement the purpose of using the opua as a unified communication bus, the FTP server needs to implement user management, file access right management, and the like based on the OPC UA protocol, because the FTP server has a perfect user right management system in addition to implementing storage, upload, and download services of files, and can implement functions such as user management, file access right, and the like.
And secondly, the file management method of the rail transit-based integrated monitoring system is centralized on a file server to realize user management and file access authority management side description.
specifically, in an embodiment of the present invention, as shown in fig. 3, before calling a file download node corresponding to a download request in a node space of the OPC UA, the method further includes:
Step 201, obtaining the device information sent by the downloading proxy node device through the second OPC UA standard interface.
in order to ensure the security of the downloaded file and avoid the downloaded file being downloaded by an illegal downloading agent node device, the role of the downloading agent node device needs to be verified, that is, the second OPC UA standard interface is acquired to acquire the device information of the node device sent by the downloading agent node device, where the device information includes information uniquely identifying the downloading agent node device, such as the node device identifier of the downloading agent node device. The permission information may be synchronously sent when the download agent node device sends the download request.
Step 202, calling an authentication node in a node space of the OPC UA to start an authentication management service unit, so that the authentication management service unit feeds back an authentication result notification, wherein the authentication result notification is obtained by the authentication management service unit authenticating whether the proxy node device has a download right according to pre-stored download right information and device information. .
It should be understood that, as shown in fig. 4, the file server provided in the embodiment of the present invention includes an authentication management service unit, the authentication management service unit has a communication interface with a node space, the authentication management service unit is configured to implement authentication on a download file operation, based on a creation principle of the node space, in this embodiment, the node space further includes a method node for controlling the authentication management service unit to execute a corresponding authentication method, for example, an authentication node for controlling the authentication management service unit to execute an authentication function, and the authentication management service unit stores download authority information (including a download proxy node device identifier that can be downloaded) of the download file, where the download authority information may be sent by the configuration server during uploading of the download file, that is, the download authority information sent by the configuration server is received through the first OPC UA standard interface, and calling an authority information storage node in a node space of the OPC UA to log in an authentication management service unit, and controlling the authentication management service unit to receive and store downloading authority information.
And then, the file server calls an authentication node in a node space of the OPC UA to start an authentication management service unit so that the authentication management service unit authenticates whether the downloading proxy node equipment has downloading authority according to the prestored downloading authority information and equipment information, namely, whether the downloading proxy node equipment corresponding to the equipment information belongs to a downloading range is verified in the downloading authority information corresponding to the downloading file.
Step 203, receiving the authentication result notification fed back by the authentication management service unit, and if it is determined that the downloading proxy node device has the downloading authority according to the authentication result notification, allowing to call a file downloading node corresponding to the downloading request in the node space of the OPC UA.
specifically, after the authentication, the authentication management service unit feeds back the authentication result notification right result to the node space, so that after the node space receives the authentication result notification, it is determined that the download proxy node device has the download right, for example, it is determined that the authentication result notification includes identification information (the identification information may be a pre-calibrated identifier representing successful verification, or the like) for the corresponding download proxy node device, and the file download node corresponding to the download request in the node space of the OPC UA is allowed to be called, and the corresponding download file is downloaded.
In an embodiment of the present invention, after receiving the authentication result notification, if it is determined that the download proxy node device does not have the download authority, the file download node corresponding to the download request in the node space of the OPC UA is prohibited from being invoked, so as to protect the security of the download file, and the download prohibition notification is sent to the download proxy node device through the second OPC UA standard interface.
In addition, in practical application, the integrated monitoring system needs to provide functions such as file discovery, file version management, file content analysis, file type management and the like for file management besides the above functions, which are very important for the integrated monitoring system, but the FTP server cannot provide the above services, so that in the implementation of the invention, the functions of the FTP server are also expanded, and the functional deficiency of the FTP server in file management such as file analysis and the like is made up.
Finally, the file management method of the rail transit-based integrated monitoring system according to the embodiment of the invention is described on the functional side of realizing file management based on the file server.
Specifically, as shown in fig. 5, the method further includes:
Step 301, receiving a management request sent by a management node device through a second OPC UA standard interface, and calling a file management node corresponding to the management request in a node space of the OPC UA.
Step 302, according to the file management node logging in the file management service unit, controlling the file management service unit to execute the management operation corresponding to the management request on the downloaded file, and obtaining the execution result.
And step 303, feeding back the execution result to the management node device through the second OPC UA standard interface.
the management node device may include the download agent node device, or may be any other device having a file management requirement, which is not limited herein.
In this embodiment, the management request sent by the management node device is received based on the second OPC UA standard interface, which may include a file parsing request, and the like, the file management node corresponding to the management request in the node space of the OPC UA is called, so as to log in the file management service unit according to the file management node, and control the file management service unit to execute the management operation corresponding to the management request, for example, control the file management service unit to perform a corresponding management operation on a downloaded file in the file system, and obtain an execution result, and further feed back the execution result to the management node device through the second OPC UA standard interface, for example, feed back the parsing result of the file to the management node device.
Therefore, the file management method of the rail transit-based integrated monitoring system in the embodiment of the invention realizes the functions of file storage, uploading, downloading, authority control, analysis, verification and the like in the integrated monitoring system based on a uniform protocol.
In order to more fully describe the file management method of the rail transit-based integrated monitoring system according to the embodiment of the present invention, the following description focuses on the configuration server side.
Fig. 6 is a flowchart of a file management method of a rail transit-based integrated monitoring system according to still another embodiment of the present invention, as shown in fig. 6, the method including:
step 401, when receiving the file operation request, starting the offline configuration software to compile the file corresponding to the file operation request into a configuration file.
The file operation request comprises upgrading operation, configuration operation and the like aiming at the downloading agent node equipment.
Specifically, when a corresponding file is generated in the integrated monitoring system, the configuration personnel sends a file operation request to the configuration server to start the offline configuration software to compile the file corresponding to the file operation request into a configuration file, where, referring to fig. 2 and 4, the configuration server includes the offline configuration software, and the configuration file can be compiled and generated based on the offline configuration software.
Step 402, the control configuration service unit generates a download file according to the configuration file.
specifically, the configuration server further includes a configuration service unit, where the configuration service unit performs configuration generation of a download file that can be transmitted to the file server on the configuration file, and the configuration service unit performs processing such as protocol conversion on the configuration file, and then performs packing compression to generate the download file.
Step 403, sending the downloaded file to the file server through the first OPC UA standard interface, so that the file server executes a file operation corresponding to the file operation request on the downloaded file after receiving the downloaded file.
In practical application, when the configuration software sends the configuration file, the downloading instruction and the downloading authority information of the configuration file can be synchronously sent to the configuration service unit, after the downloading instruction and the downloading authority information sent to the configuration service unit by the configuration software are received, the configuration server generates the downloading file according to the downloading instruction and the configuration file, and then the downloading authority information is sent to the file server through the first OPC UA standard interface, and the file server stores the downloading authority information into the authentication management service unit. The configuration file is compiled at the configuration server end of the comprehensive monitoring, the downloading instruction and the downloading authority information are defined, and the downloading agent can finish the checking, downloading and authority verification of the file version based on the information interaction with the file server, so that the automation degree of the comprehensive monitoring system is greatly improved.
in order to enable those skilled in the art to more fully understand the file management method of the integrated monitoring system based on rail transit according to the embodiment of the present invention, the following description is provided with reference to a specific embodiment, in this embodiment, an FEP download database unit file is taken as an example, and in this example, OPC UA is used as a software service bus. The download file is an upgrade file, the upgrade file is generated by compiling the configuration server and uploaded to the file server, and the file management service of the file server classifies the upgrade file and stores the upgrade file in a file system. And the FEP download agent detects the file version on the file server, and acquires the download file from the file server to be upgraded locally if finding that a new version exists.
In this example, the framework diagram of the downloading process of the upgrade file may refer to fig. 4, where the configuration server includes offline configuration software and a configuration service unit, when the configuration staff of the integrated monitoring system needs to perform an upgrade operation on the FEP downloading software, the offline configuration software needs to be started, the upgrade file of the FEP is compiled by the configuration software to generate a configuration file, and the downloading file is generated by packaging and compressing the configuration service. And after receiving the downloading instruction and the downloading authority information sent by the configuration software, the configuration service receives the packaged downloading file and sends the file to the configuration server through the first OPC UA standard interface.
Referring to fig. 4, the file server implements a download service based on the OPC UA standard interface, calls a file storage node in a node space of the OPC UA to log in to the file management service unit after receiving a download file downloaded from the configuration server, and controls the file management service unit to receive and store the download file to a corresponding file system.
the downloading agent service in the FEP device is realized based on an OPC UA standard interface, when the updating of the corresponding downloading file is detected, the version information of the downloading file is obtained based on a second OPC UA standard interface, when the updated version is higher than the local downloading file version, the downloading request sent by the downloading agent node device and the device information of the FEP device are received through the second OPC UA standard interface, the file server calls an authentication node in a node space of the OPC UA to start an authentication management service unit, so that the authentication management service unit verifies whether the proxy node device has the downloading authority according to the pre-stored downloading authority information and the device information, after the notification with the downloading authority fed back by the authentication management service unit is received, the file management service unit is logged in the file management service unit according to the file downloading node, and is controlled to obtain the target downloading file corresponding to the downloading request, and feeding back the target download file to the download proxy node equipment through a second OPC UA standard interface.
To sum up, in the file management method of the integrated monitoring system based on the rail transit according to the embodiment of the present invention, on one hand, the OPC UA bus protocol is uniformly used to provide a standard interface, so that data interaction during file management of the integrated monitoring system is simplified, and both the performance of data exchange and the security of data access are guaranteed. On the other hand, the OPC UA is used as a bus protocol to realize the file management and transmission of the comprehensive monitoring system, and the practicability is high. And the file management is carried out based on OPC UA, and a general model of OPC UA is used, so that the file management mode of accessing the comprehensive monitoring system is unified, the coupling among all modules of the system is reduced, and the file management function is expanded.
In order to implement the foregoing embodiment, the present invention further provides a file server, and fig. 7 is a schematic structural diagram of a file server according to an embodiment of the present invention, as shown in fig. 7, where the file server includes: a first receiving module 110, a first control module 120, a second receiving module 130, a calling module 140, and a feedback module 150.
The first receiving module 110 is configured to receive a download file sent by a configuration server through a first OPC UA standard interface.
the first control module 120 is configured to call a file storage node in a node space of the OPC UA to log in to the file management service unit, and control the file management service unit to receive and store the download file.
A second receiving module 130, configured to receive, through the second OPC UA standard interface, a download request sent by the download agent node device.
The invoking module 140 is configured to invoke a file downloading node corresponding to the downloading request in the node space of the OPC UA.
The first control module 120 is further configured to log in to the file management service unit according to the file download node, and control the file management service unit to obtain a target download file in the download files corresponding to the download request;
And the feedback module 150 is configured to feed back the target download file to the download proxy node device through the second OPC UA standard interface.
It should be noted that the file management method of the rail transit-based integrated monitoring system, which is described above with a focus on the file server side, is also applicable to the file server in the embodiment of the present invention, and the implementation principle and the technical effect are similar, and are not described herein again.
In order to implement the foregoing embodiment, the present invention further provides a configuration server, and fig. 8 is a schematic structural diagram of the configuration server according to an embodiment of the present invention, as shown in fig. 8, the configuration server includes: a start module 210, a second control module 220, and a transmit module 230.
the starting module 210 is configured to, when receiving the file operation request, start the offline configuration software to compile a file corresponding to the file operation request into a configuration file.
The second control module 220 is configured to control the configuration service unit to generate a download file according to the configuration file.
the sending module 230 is configured to send the downloaded file to the file server through the first OPC UA standard interface, so that the file server executes a file operation corresponding to the file operation request on the downloaded file after receiving the downloaded file.
it should be noted that the file management method of the rail transit-based integrated monitoring system, which is described above with a focus on the configuration server side, is also applicable to the configuration server in the embodiment of the present invention, and the implementation principle and the technical effect are similar, and are not described herein again.
In order to implement the foregoing embodiment, the present invention further provides a file management system of an integrated monitoring system based on rail transit, fig. 9 is a schematic structural diagram of the file management system of the integrated monitoring system based on rail transit according to an embodiment of the present invention, and as shown in fig. 9, the file management system of the integrated monitoring system based on rail transit includes a file server 100, a configuration server 200, and a drop proxy node device 300, where the configuration server and the drop proxy node device are both in communication connection with the file server based on OPC UA communication protocol.
It should be noted that the foregoing description of the embodiment of the file management method for the integrated monitoring system based on rail transit is also applicable to the file management system of the integrated monitoring system based on rail transit in the embodiment of the present invention, and the implementation principle and the technical effect are similar, and are not described herein again.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
in addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (11)

1. A file management method of a comprehensive monitoring system based on rail transit is characterized in that the method is applied to a file server and comprises the following steps:
Receiving a download file sent by a configuration server through a first OPC UA standard interface;
Calling a file storage node in a node space of an OPC UA to log in a file management service unit of the file server, and controlling the file management service unit to receive and store the downloaded file;
receiving a downloading request sent by a downloading agent node device through a second OPC UA standard interface, and calling a file downloading node corresponding to the downloading request in a node space of the OPC UA;
Logging in the file management service unit according to the file downloading node, and controlling the file management service unit to acquire a target downloading file in the downloading files corresponding to the downloading request;
And feeding back the target download file to the download proxy node equipment through the second OPC UA standard interface.
2. The method of claim 1, wherein prior to said invoking a file download node in a node space of said OPC UA corresponding to said download request, further comprising:
Acquiring equipment information sent by the downloading agent node equipment through the second OPC UA standard interface;
Calling an authentication node in a node space of OPC UA to start an authentication management service unit so that the authentication management service unit feeds back an authentication result notification, wherein the authentication result notification is obtained by authenticating whether the proxy node equipment has a downloading right or not according to prestored downloading right information and equipment information by the authentication management service unit;
And receiving the authentication result notification fed back by the authentication management service unit, and if the download proxy node equipment is determined to have the download authority according to the authentication result notification, allowing to call a file download node corresponding to the download request in the node space of the OPC UA.
3. the method as claimed in claim 2, wherein after said receiving said authentication result notification fed back by said authentication management service unit, further comprising:
If the download agent equipment does not have the download authority according to the authentication result notification;
And prohibiting to call a file downloading node corresponding to the downloading request in the node space of the OPC UA, and sending a downloading prohibition notice to the downloading agent node equipment through the second OPC UA standard interface.
4. The method of claim 2, wherein prior to the authentication node in the node space invoking the OPC UA initiating the authentication management service, further comprising:
Receiving downloading authority information sent by a configuration server through the first OPC UA standard interface;
And calling an authority information storage node in a node space of the OPC UA to log in the authentication management service unit, and controlling the authentication management service unit to receive and store the downloading authority information.
5. the method of claim 1, wherein prior to said receiving a download request sent by a download agent node device via a second OPC UA standard interface, further comprising:
And sending a download file update notification to the download agent node equipment through the second OPC UA standard interface.
6. the method of claim 1, further comprising:
Receiving a management request sent by management node equipment through the second OPC UA standard interface, and calling a file management node corresponding to the management request in a node space of the OPC UA;
Logging in the file management service unit according to the file management node, controlling the file management service unit to execute management operation corresponding to the management request on the downloaded file, and acquiring an execution result;
And feeding back the execution result to the management node equipment through the second OPC UA standard interface.
7. A file management method of a rail transit-based integrated monitoring system is applied to a configuration server, and comprises the following steps:
When a file operation request sent by a configurator is received, starting off-line configuration software to compile a file corresponding to the file operation request into a configuration file;
the control configuration service unit generates a downloading file according to the configuration file;
sending a download file to a file server through a first OPC UA standard interface, so that the file server performs the file management method of the integrated rail transit-based monitoring system according to any one of claims 1 to 6 on the download file after receiving the download file.
8. the method of claim 7, wherein the controlling a configuration service unit to generate an installation file according to the configuration file comprises:
Receiving a downloading instruction and downloading authority information sent to the configuration service unit by the configuration software;
Generating the configuration file into the downloading file according to the downloading instruction;
And sending the downloading authority information to the file server through the first OPC UA standard interface so that the file server stores the downloading authority information to an authentication management service unit.
9. A file server, comprising:
the first receiving module is used for receiving the download file sent by the configuration server through a first OPC UA standard interface;
the first control module is used for calling a file storage node in a node space of OPC UA to log in a file management service unit of the file server, and controlling the file management service unit to receive and store the downloaded file;
The second receiving module is used for receiving a downloading request sent by the downloading agent node equipment through a second OPC UA standard interface;
the calling module is used for calling a file downloading node corresponding to the downloading request in the node space of the OPC UA;
The first control module is further configured to log in the file management service unit according to the file download node, and control the file management service unit to obtain a target download file in the download files corresponding to the download request;
And the feedback module is used for feeding the target download file back to the download proxy node equipment through the second OPC UA standard interface.
10. a configuration server, comprising:
The starting module is used for starting off-line configuration software to compile a file corresponding to a file operation request into a configuration file when the file operation request sent by a configurator is received;
The second control module is used for controlling the configuration service unit to generate a downloading file according to the configuration file;
A sending module, configured to send a download file to a file server through a first OPC UA standard interface, so that the file server, after receiving the download file, performs the file management method of the integrated monitoring system based on rail transit according to any one of claims 1 to 6 on the download file.
11. A file management system of an integrated monitoring system based on rail transit, comprising the file server of claim 9, the configuration server of claim 10, and a download proxy node device, wherein the configuration server and the download proxy node device are both communicatively connected to the file server based on OPC UA communication protocol.
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 CN109743349A (en) 2019-05-10
CN109743349B true 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)

Families Citing this family (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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8972797B2 (en) * 2012-10-08 2015-03-03 General Electric Company System and method for application debugging
WO2016041571A1 (en) * 2014-09-15 2016-03-24 Abb Technology Ltd Controlling real world objects in an industrial installation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于OPC UA的地铁综合监控系统关键模块的研究与实现;陈兵;《万方在线出版》;20180929;正文第5章,第2.2.5节 *

Also Published As

Publication number Publication date
CN109743349A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109743349B (en) File management method, system and equipment based on rail transit
CN111543031B (en) Method and control system for controlling and/or monitoring a device
US10248405B2 (en) Method and device for the robust updating of firmware of a vehicle via an air interface
CN108880788B (en) Authentication method in a control system for a technical installation and control system
KR101954480B1 (en) Automated build-out of a cloud-computing stamp
CN110933163B (en) Block chain contract deployment method, device, equipment and storage medium
CN104395888A (en) Establishing an initial configuration of a hardware inventory
CN108011767B (en) Non-invasive configurable operation and maintenance system
CN111492355B (en) Method and control system for controlling and/or monitoring a device
CN109739816B (en) Data storage method and device of comprehensive monitoring system based on rail transit
CN109756557B (en) User authority server and service method and system based on user authority
AU2019201237A1 (en) Updating software packets in water installation controlling apparatus
CN101945086A (en) Security system access business platform for video type security gateway and information transmission method
CN111869165B (en) Method and control system for controlling and/or monitoring a device
CN111935195B (en) Distributed system management method, device, storage medium and distributed management system
CN116760822A (en) Method, system and device for transmitting files of Internet of things equipment
KR101580548B1 (en) Method to manage security algorithm for ecu of vehicle
CN111367840B (en) Method and device for realizing plug and play
CN111767524B (en) Authority management method, device, system, server and medium
CN116939018B (en) General Internet of things PaaS platform
CN115987976B (en) Method and equipment for upgrading node
CN114844961B (en) Distributed system protocol intercommunication method, device, equipment and storage medium
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
CN115827377A (en) Accelerator equipment monitoring system based on EPICS
US20210270247A1 (en) System and method for managing a plurality of wind power plants

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
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.