Urban rail transit line network level signal professional data management and interface method
By establishing a data resource pool platform in the urban rail transit network traffic control system, the problem of signal professional data management and interface has been solved, efficient and secure data sharing and collaborative management have been achieved, the system's collaborative efficiency and security have been improved, and the needs of data scale growth have been adapted.
Patent Information
- Application Number
- CN202511025563.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-10-17
AI Technical Summary
In existing technologies, the urban rail transit network traffic control system lacks professional signal data management and interfaces, resulting in high difficulty in data analysis, poor security and maintainability, and difficulty in meeting large-scale data sharing needs.
Establish a data resource pool platform, including data access, transmission, storage, and subscription modules. Through data extraction, cleaning, conversion, and labeling, form a structured data management system, and build a full-link security management and control mechanism to achieve precise data subscription and secure access.
It lowers the threshold for data analysis, improves cross-disciplinary collaboration efficiency, enhances system security and maintainability, adapts to the growth of data scale, and supports intelligent operation decisions at the line network level.
Smart Images

Figure CN120811685A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of urban rail transit signal professional data management, more particularly to a kind of urban rail transit line network level signal professional data management and interface method. BACKGROUND
[0002] There is no signal professional data management and interface in the existing line network driving command system (Comprehensive Operation Coordination Center, COCC), which usually relies on signal professional communication front-end machine to transmit and forward signal data to other related professionals. This data interface method has some disadvantages: 1. The existing communication front-end machine transmits signal data to other professionals based on tcp protocol, and other professionals need to analyze signal data in full amount, which is very difficult; 2. With the increasing demand for external interface, new requirements for data access security and interface access maintainability are put forward. The existing data interface method is difficult to support real-time monitoring of external access, dynamically isolate abnormal access interface, and dynamically manage access data and other new needs; 3. In recent years, with the increase of subway lines and the promotion of new signal systems, the types and quantities of signal professional data have also increased significantly. The original communication front-end machine transmission interface is difficult to meet the needs of large amount of data sharing. SUMMARY
[0003] In order to overcome the defects and deficiencies in the prior art, the present application provides a kind of urban rail transit line network level signal professional data management and interface method, the purpose of the present application is to solve at least one of the technical problems in the problems of other professionals needing to analyze signal data in full amount, the existing data interface method being difficult to support real-time monitoring of external access, dynamically isolating abnormal access interface, and the original communication front-end machine transmission interface being difficult to meet the needs of large amount of data sharing.
[0004] In order to solve the problems existing in the prior art, the present application is realized by the following technical scheme.
[0005] The present application provides a kind of urban rail transit line network level signal professional data management and interface method, which is specifically to establish a data resource pool platform between line network signal professional communication front-end machine and external interface, and collect, transmit, store, manage and subscribe line network level signal data through the data resource pool platform; The data resource pool platform includes data access module, data transmission module, data storage module, data subscription module and data service module. The data access module receives signal data of each line from a line network signal professional communication preprocessor, and performs data extraction, data cleaning and data conversion on the received signal data of each line; when receiving the signal data of each line, the accessed data is monitored, and an alarm is given when data access is abnormal; The data transmission module establishes a label for signal data and classifies and manages the signal data; the data transmission module is used for designing and managing the label, including formulating a classification system, standards and rules of the label, formulating a data range and type of the label; according to the designed label rules, the label is assigned to the corresponding data, and is marked and used according to the label in subsequent data storage, retrieval and analysis processes; The data storage module is used for standardizing the signal data after the label is established and classified, and storing the standardized data into a pre-defined real-time database or non-real-time database; The data subscription module provides subscription service registration and subscription content configuration for external interfaces; the subscription service registration refers to that an external interface provides its basic information, registers with the data subscription module, and after registration is completed, performs individualized data subscription content configuration according to data labels and standardized data contents; The data service module performs identity authentication on external interfaces, verifies whether the external interfaces are registered with the data subscription module, and after identity authentication is passed, provides data subscribed by the external interfaces to the external interfaces.
[0006] Further preferably, the data access module configures data extraction rules and strategies, and extracts required data elements from received line data according to the configured data extraction rules and strategies.
[0007] Further preferably, the data access module monitors the accessed data and gives an alarm when data access is abnormal, specifically referring to that the data access module monitors a data access process in real time, monitors a state of an access line, a quality of data transmission, monitors whether received line data has errors and / or abnormalities, and gives an alarm when an abnormality is monitored.
[0008] Further preferably, the data storage module standardizes the signal data after the label is established and classified, specifically referring to that the signal data after the label is established and classified is subjected to secondary data cleaning, data conversion, data modeling and data mapping.
[0009] Further preferably, the data subscription module manages external interfaces, including external interface addition, external interface modification, external interface deletion, external interface state query, external interface information query and / or external interface enabling and disabling.
[0010] Further preferably, when the external interface registers with the data subscription module, the basic information provided includes the external interface service name, subscription period, network parameters of the external service, and function description.
[0011] Further preferably, the network parameters of the external service include the network IP, port, Mac address, interface name, and interface password of the external interface.
[0012] Further preferably, when the data subscription module configures the personalized data subscription content, the external interface subscribes to specific signal data tags.
[0013] Further preferably, when the data service module provides the data subscribed by the external interface to the external interface, the provision mode includes push or request and response.
[0014] Compared with the prior art, the beneficial technical effects brought by the present application are as follows: 1. The present application can reduce the professional data analysis threshold and improve the collaboration efficiency. In the prior art, signal data is directly transmitted based on the TCP protocol through a communication front-end machine, and other professionals need to face full-quantity raw data with disordered formats and no unified standard, which is extremely difficult to analyze. In the present application, the data access module performs preprocessing such as extraction, conversion, and cleaning on the raw data, eliminates invalid information, and establishes a preliminary data model; then the data transmission module completes the tagging process (including data identification, tag design, distribution, management, and application), forming a structured classification system. Finally, the output to other professionals is standardized and tagged "finished data", completely eliminating the complex process of cross-professional analysis in the traditional mode, upgrading data interaction from "unordered raw data transmission" to "precise information sharing", significantly reducing the technical collaboration threshold and improving the cross-professional collaboration efficiency.
[0015] 2. The present application constructs a full-link security management system and strengthens the interface dynamic management capability. In view of the problem that the prior art cannot meet the data access security and interface maintainability, the present application forms a closed-loop management through the linkage of the data subscription module and the data service module: the external interface needs to complete registration first, submit the interface name, network parameters, and authentication information (IP, port, password, etc.), realize the whole life cycle management of the interface (add, modify, disable, etc.), the data service module verifies the interface identity through the authentication mechanism, only allows the authorized interface to access the data within the subscription range, prevents illegal access from the source, supports real-time monitoring of external access behavior, dynamically isolates abnormal interfaces, and can flexibly adjust the interface permission and data access range. This mechanism changes the data security from "passive defense" to "active control", and upgrades the interface maintenance from "static solidification" to "dynamic adaptation", greatly improving the system security and maintainability.
[0016] 3、The application can efficiently adapt to data scale growth and meet the demand of line network expansion. With the increase of subway lines and the promotion of new signal systems, the amount of signal data increases explosively, and traditional transparent interfaces are difficult to bear the large-scale sharing demand. The application realizes precise management through a data storage module and a subscription service mechanism: the storage module, aiming at the data differences of different manufacturers, lines and systems, realizes the orderly management of massive data by secondary cleaning, format conversion, standardized modeling and mapping, and stores the data in real-time / non-real-time databases; the subscription module supports multi-dimensional configuration of personalized demand according to lines, data types and centralized stations, and the data service module only pushes the subscription content, avoiding the waste of bandwidth caused by full data transmission. This "standardized storage + precise distribution" mode can not only efficiently bear the data scale growth, but also reduce more than 90% of invalid data transmission, perfectly adapting to the large-scale data sharing demand after the expansion of line network.
[0017] 4、The application forms a line network level data management capability and supports intelligent operation decision-making. The application realizes the whole life cycle management of signal data from access to service through the cooperation of five modules: the monitoring and error handling in the data access stage ensure the quality of source data; the labeling and standardized processing make the data form a unified "language" in the whole line network; the precise subscription and safe service guarantee the efficient flow and controllable sharing of data. This systematic management capability provides reliable data support for the line network command center (COCC), and various professionals can efficiently cooperate based on the unified data foundation, significantly improving the intelligent level and decision-making efficiency of line network operation, and providing core technical support for the safe and efficient operation of urban rail transit. BRIEF DESCRIPTION OF DRAWINGS
[0018] Figure 1 The application is a line network level signal professional data management and interface structure diagram. DETAILED DESCRIPTION
[0019] The technical implementation details of each embodiment of the application will be described in detail below with reference to the drawings. It should be noted that the embodiments covered in this specification are only exemplary and do not constitute a limitation on the scope of protection of the claims; any embodiment based on this disclosure, obtained by equivalent replacement, technical extension or conventional test means within the technical concept framework of the application, should be considered to fall within the protection scope of the claims of the application.
[0020] Embodiment 1 As a preferred embodiment of the application, the drawings attached to the specification are referred to Figure 1As shown, the embodiment discloses a kind of urban rail transit network level signal professional data management and interface method, the method specifically is, between line network signal professional communication front-end and external interface, a data resource pool platform is established;Line network level signal data is collected, transmission, storage, management and subscription by the data resource pool platform; The data resource pool platform includes data access module, data transmission module, data storage module, data subscription module and data service module; The data access module receives the signal data of each line from the line network signal professional communication front-end, and carries out data extraction, data cleaning and data conversion on the received signal data of each line;When receiving the signal data of each line, the accessed data is monitored, and an alarm is given when data access is abnormal; In the embodiment, the signal data of each line is usually sent in the form of binary byte stream, and the data extraction of the data access module on the received signal data of each line means that the binary byte stream is parsed field by field according to the interface protocol, and the data that meets the set rules and strategies (such as interface protocol) is extracted from the received signal data. Data cleaning means that data that does not meet the set rules and strategies (interface protocol) is removed. Data conversion means that the extracted binary byte stream data is converted into other format data field by field. When the data access module accesses the signal data of each line transmitted by the line network signal professional communication front-end, the accessed data is monitored, and an alarm is given to the system administrator when data access is abnormal (such as data transmission interruption and the like). The system administrator handles the exception generated in the data access process.
[0021] The data processed by the data access module is transmitted to the data transmission module for processing. As an example of the embodiment, the data transmission mechanism from the data access module to the data transmission module adopts a "real-time push + verification confirmation" mechanism. Specifically, after completing data extraction, data cleaning and data conversion, the data access module generates a data packet with a data digest (such as MD5 hash value) and pushes it to the data transmission module in real time through an internal private protocol (such as a custom protocol based on TCP). After receiving, the data transmission module immediately verifies the integrity of the data packet (such as comparing the data digest value), and returns a "successful reception" confirmation signal if the verification is passed. If the verification fails, a retry mechanism (such as 3 retries, with an interval of 2s, etc.) is triggered. If the retry still fails, an exception log is recorded and an alarm is given. As another example of the embodiment, the data transmission mechanism from the data access module to the data transmission module adopts an "interval transmission + verification confirmation" mechanism. The data access module aggregates the data received and processed within 2s, and sends it to the data transmission module. The data transmission mechanism from the data access module to the data transmission module can be adjusted according to the actual working condition requirements, which is not limited in the embodiment.
[0022] The data transmission module establishes a label for signal data and classifies and manages the signal data; the data transmission module is used for designing and managing the label, including formulating a classification system, standards and rules of the label, formulating a data range and type of the label; according to the designed label rules, the label is assigned to the corresponding data, and is marked and used according to the label in the subsequent data storage, retrieval and analysis process. In the data transmission module, the label can be configured, for example, the classification system, classification standards and rules of the label, and the data range and type corresponding to the label, when the label is configured, the label is assigned to the corresponding data, in the subsequent classification management of signal data, the label management is mainly used, and in the subsequent data storage, retrieval and analysis process, the label is indexed to facilitate the calling of data.
[0023] The data storage module is used for standardizing the signal data after the label is established and classified, and storing the standardized data into a pre-defined real-time database or non-real-time database; in this embodiment, the signal data received by the data access module is divided into real-time data and non-real-time data (i.e. historical data), and the real-time data is generally a memory database, which is stored in a real-time database, and has higher read-write efficiency. The non-real-time data is historical data, and the non-real-time database is a common relational database.
[0024] As an example of this embodiment, after the data transmission module assigns a label to the data, the data is aggregated according to the "label group" (such as triggering synchronization once every 5 minutes or when the data volume reaches 1000), and the label metadata (such as label ID, data type, generation time, etc.) is carried during synchronization. After receiving by the data storage module, the matching of the label and the data is verified (according to the pre-set label-data mapping rules), and if the matching is passed, the standardization processing procedure is entered, and if the matching is not passed, the acceptance is rejected and the error type is fed back (such as label ID does not exist, data type is not compatible with the label, etc.).
[0025] The data subscription module provides subscription service registration and subscription content configuration for external interfaces; the subscription service registration refers to that the external interfaces provide their basic information to the data subscription module for registration, and after the registration is completed, individualized data subscription content configuration is performed according to data tags and standardized data content. As an example of this embodiment, the external interfaces submit registration information (in JSON format) through an HTTPS POST request, including: interface service name (such as a No. 1 line dispatching system), subscription period (start time + end time), IP address (IP whitelist allowed to access), and function description (such as obtaining real-time position of a No. 1 line train); the system automatically checks the IP format and time validity (the end time needs to be later than the start time), and after the check is passed, a unique subscription ID is generated, and confirmation information including the subscription ID and a key (used for subsequent authentication) is returned, and if the check fails, specific errors (such as the IP address is not in the allowed network segment) are returned.
[0026] As another example of this embodiment, for the subscription service, the external interfaces call a configuration interface through a subscription ID to set subscription conditions. For example, line dimension, data type dimension, data subtype dimension, and time dimension, the data subscription module automatically associates a tag system to generate a subscription data list and feed back to the external interfaces for confirmation.
[0027] The data service module performs identity authentication on the external interfaces to verify whether the external interfaces are registered in the data subscription module, and after the identity authentication is passed, the data subscribed by the external interfaces is provided to the external interfaces. As an example of this embodiment, when the external interfaces initiate a data request, the subscription ID + timestamp + signature need to be carried in the HTTP header; the data service module performs verification, such as that the time stamp and the server time difference are within a set time range (such as ≤ 300s to prevent replay attacks), the signature is consistent with the server calculation result, and the subscription ID is within the valid period; after the authentication is passed, the data subscription module sends data meeting the subscription conditions to the external interfaces.
[0028] Embodiment 2 As another preferred embodiment of this embodiment, this embodiment is a further detailed supplement and elaboration of the technical solution of the application on the basis of the above-mentioned embodiment 1. As an implementation manner of this embodiment, the data access module configures data extraction rules and strategies, and extracts required data elements from received line data according to the configured data extraction rules and strategies.
[0029] As an example of this embodiment, the extraction rules and strategies of the data access module take an “interface protocol analysis template” as a core carrier, and parameter definition is completed through a visual configuration tool. Specific configuration items include: Protocol Type: distinguish different manufacturers' signal data protocols (e.g., "CBTC-v1.0 protocol" of manufacturer A, "ATP-2020 protocol" of manufacturer B); Field Offset: define the starting position of each data element in the binary byte stream (unit: byte); Data Length: set the number of bytes occupied by each field (e.g., 4 bytes for integer type field, 8 bytes for string type field); Data Type: specify the storage format of the field (e.g., unsigned integer, floating point, enumeration value); Check Rule: configure the validity range of the field (e.g., speed value ≤ 120 km / h); Priority Strategy: when multiple line data are accessed at the same time, sort by "line number + timestamp", and prioritize processing line data during peak hours (7:00-9:00, 17:00-19:00).
[0030] Take the binary byte stream data of "CBTC-v1.0 protocol" of manufacturer A as an example (total length 32 bytes), the specific extraction process is as follows: 1. Configuration Rule: Protocol Template Definition: The first 2 bytes are "line number" (unsigned integer, range 1-20); the 3rd-6th bytes are "train speed" (floating point, unit m / s, offset 2, length 4 bytes); the 7th-14th bytes are "train ID" (string, 8 bytes, offset 6); the 15th-16th bytes are "door status" (enumeration value, 1 byte: 0 = closed, 1 = open, offset 14); Check Rule: line number ≠ 0, speed ≥ 0.
[0031] 2. Extraction Process: Receive binary byte stream: 0x01 0x00 0x41 0x48 0x00 0x00 0x4C 0x54 0x30 0x31 0x32 0x33 0x34 0x35 0x01...; Extract "line number": parse the first 2 bytes to get the decimal value "1" (consistent with the range 1-20); Extract "train speed": parse the 3rd-6th bytes (0x41 0x48 0x00 0x00) to get "10.0 m / s" (consistent with the check rule ≥ 0); Extract "train ID": convert the ASCII code of the 7th-14th bytes to the string "LT012345"; Extract "door status": parse the 15th byte to get "1", which maps to "open".
[0032] If the data of line 1 (peak hours) and line 5 (non-peak hours) are received at the same time, the priority strategy is triggered, the key fields such as "train speed" and "door status" of line 1 are extracted preferentially, and the data of line 5 is processed after a delay of 100 ms; when the data of a line fails to pass the verification for three times in succession (for example, the speed is -5 m / s), the abnormal line temporary storage strategy is triggered, and the data of the line is cached locally until it is confirmed by a human whether the protocol template needs to be updated.
[0033] As another embodiment of the present embodiment, the data access module monitors the accessed data and alarms when the data access is abnormal. Specifically, the data access module monitors the data access process in real time, monitors the state of the access line, the quality of data transmission, whether the received line data has errors and / or abnormalities, and alarms when an abnormality is detected.
[0034] Embodiment 3 As another preferred embodiment of the present application, the present embodiment is a further detailed supplement and elaboration of the technical solution of the present application based on the above-mentioned embodiment 1 or embodiment 2. In the present embodiment, the data storage module performs standardized processing on the signal data after the label is established and classified, specifically, the signal data after the label is established and classified is subjected to secondary data cleaning, data conversion, data modeling and data mapping.
[0035] During the secondary data cleaning, on the basis of the preliminary cleaning of the data access module, the data that does not conform to the storage and service rules after the label classification is subjected to deep screening, so as to ensure that the data entering the subsequent process meets the standardized basic requirements. The core operation is to perform secondary verification on the data according to the preset storage level data rule library (including field format, logical relationship, business constraints, etc.), such as edge value elimination: for example, the "train speed" field, although negative values are excluded after preliminary cleaning, secondary cleaning will further eliminate abnormal values (such as 120 km / h data due to sensor failure) exceeding the design speed of the line (such as 80 km / h); format uniformity verification: the "device ID" field under the same label needs to be unified to the format of "line number + device type + serial number" (such as "L1-SIG-001"), and secondary cleaning will eliminate IDs that do not conform to the format (such as "turnout No. 1" and "No. 2 signal machine" and other non-standardized names); logical conflict detection: for the "train position + track section" associated data, if there is a logical contradiction that "the train position is displayed in section A, but the track section status is idle", the secondary cleaning will mark and eliminate the conflict data, so as to avoid affecting the subsequent analysis.
[0036] Data conversion is to convert the format data after secondary cleaning into standard format data to eliminate the inconsistent representation caused by the differences of manufacturers, lines and standards, and to provide a unified input for data modeling. For example, unit unification (the "train speed" of manufacturer A is in "m / s", and the "train speed" of manufacturer B is in "km / h", and the conversion is unified to "km / h"); enumeration value standardization (in the "door status" field, manufacturer A uses "0 = closed, 1 = open", and manufacturer B uses "C = closed, O = open", and the conversion is unified to the standard enumeration "0 = closed, 1 = open"); precision alignment (the longitude and latitude data of "train position" is unified to keep 6 decimal places (such as converting "39.9087°" to "39.908700°"), to ensure the spatial precision of data of different lines to be consistent), etc.
[0037] Data modeling is to build a standardized data model for external services, and to provide interface services to the outside with a unified data model. The purpose of data modeling is to standardize the unified data interface. By defining a unified field structure, data type and business constraints, the standardization of interface services is realized, so that external systems do not need to pay attention to the differences of original data, and only need to connect to a standard model.
[0038] For example, taking business generality as the core, covering the common needs of line and network level signal data (such as train status, device status, alarm information, etc.); including "basic fields + extended fields", the basic fields are mandatory (such as data ID, timestamp, line number), and the extended fields support personalized needs (such as device parameters of a specific manufacturer). As an example of the embodiment, the following table is a standard model of train real-time status:
[0039] The model ensures that the train status data of all lines is provided to the outside in the same structure through fixed fields and constraints.
[0040] Data mapping is to convert the data after secondary cleaning and data conversion into a unified interface form according to the correspondence between the original data fields and the standard model fields.
[0041] Embodiment 4 As another preferred embodiment of the present application, the embodiment is a further detailed supplement and elaboration of the technical solution of the present application based on the above-mentioned embodiment 1, embodiment 2 or embodiment 3. In the embodiment, the data subscription module manages the external interface, including external interface addition, external interface modification, external interface deletion, external interface state query, external interface information query and / or external interface enablement and disablement.
[0042] As an example of the present embodiment, the data subscription module realizes the whole life cycle management of external interfaces through the combination of visual management interface and API interface, and the specific operation and process are as follows: 1. Add an external interface: an external system submits an application for addition by calling an "interface registration API", and needs to include complete registration information (see "registration basic information" below). The system automatically checks the information integrity (such as IP format, port range 8000-9000), and after the check is passed, a temporary state ("to be reviewed") is assigned, which is manually reviewed by an administrator (checks the interface unit and function compliance), and after the review is passed, a unique interface ID (such as "INT-20250716-002") is generated, and the state is updated to "enabled". For example, a certain dispatching system submits an application for addition, the network parameters are IP "192.168.1.100", port "8080", and Mac address "00:1B:44:11:3A:B7", and after the review is passed, the interface ID is obtained, and the state is "enabled".
[0043] 2. Modify an external interface: a registered interface can submit a change application (such as updating the subscription period and IP address) through an "information modification API", the system checks the legality of the modification content (such as the new IP needs to be in the white list), and after the modification, it is automatically synchronized to the permission management library, and the modification log (records the pre-modification value, modification time, and operator) is kept. For example, a certain interface needs to extend the subscription period from "2025.12.31" to "2026.12.31", after submitting the modification, the system checks the validity of the time, and the log records "2025.07.1610:00**modify the subscription period" after the update.
[0044] 3. Delete an external interface: only the "disabled" interface can be deleted, and the administrator needs to input a secondary confirmation password when deleting, the system clears the interface information (keeps the archive log), and synchronously cancels the authentication permission of the interface in the data service module, to prevent residual access risks.
[0045] 4. State query and information query of an external interface: provide a "state query API" (returns "enabled / disabled / to be reviewed / abnormal") and an "information query API" (returns complete registration information). For example, calling the query interface input ID "INT-20250716-002" returns the state "enabled" and detailed information (IP "192.168.1.100", subscription label "L1+train status", etc.).
[0046] 5. Enable / disable an external interface: the administrator can switch the interface state through the management interface: the interface cannot access the data service in the "disabled" state (returns 403 error directly when authenticating), and the access permission is restored in the "enabled" state, and the state switching takes effect in real time (delay ≤1 second).
[0047] As a further embodiment of the present embodiment, when the external interface registers with the data subscription module, the basic information provided includes the external interface service name, the subscription period, the network parameters of the external service, and the function description. The network parameters of the external service include the network IP, port, Mac address, interface name, and interface password of the external interface. When the data subscription module configures the personalized data subscription content, the external interface subscribes to specific signal data tags.
[0048] As an example, after the external interface completes the registration, the specific signal data tags are selected through the "subscription configuration interface" to achieve personalized subscription, and the configuration process is as follows: (1) Tag selection: the system displays a line network level tag system tree (such as "line -> data type -> sub-type"), and the interface can select the tags by checking or searching, supporting "accurate selection" and "batch selection".
[0049] (2) Filter condition supplement: the selected tags can be supplemented with filter conditions (such as time range, value range). For example, when subscribing to "L1 -> train status -> speed", set "speed >= 60 km / h" to only receive overspeed data.
[0050] (3) Configuration takes effect: after submitting the configuration, the system generates a "subscription configuration ID" and synchronizes it to the data service module, which takes effect within 10 seconds. The interface can modify the configuration at any time (such as adding "L1 -> signal state" tags), and the data push / query range is updated in real time after modification.
[0051] When the data service module provides data subscribed by the external interface to the external interface, the provided mode includes push type or request and response type. The trigger condition of the push type is that when the data corresponding to the subscription tags is updated (such as the train speed changes from 50 km / h to 60 km / h), or the preset push period (such as every 30 seconds) is reached, it is automatically triggered. The process is that the data service module first verifies the interface state (needs to be "enabled" and within the subscription period), then encapsulates the data according to the standard model format, pushes it through the IP and port registered by the interface (uses TCP long connection to ensure real-time), and waits for the interface to return "reception confirmation", and retries 3 times (interval 5 seconds) if not confirmed.
[0052] The trigger condition of the request and response type is that the external interface initiates an HTTP / HTTPS request, carrying "interface ID + timestamp + signature" (authentication information) and "subscription configuration ID". The process is that the system first completes authentication (verifies signature, interface state, and subscription validity), then queries the tag data corresponding to the configuration ID after authentication, and returns according to the standard model; if the requested data exceeds the subscription range (such as "L2 train data" not subscribed), return 403 error.
[0053] Embodiment 5 As another preferred embodiment of the present application, the embodiment is based on the above-mentioned embodiment 1, embodiment 2, embodiment 3 or embodiment 4, and further details the technical solutions of the present application. In the embodiment, a city rail transit network-level signal professional data management and interface and method are disclosed, and a data resource pool platform is established for providing collection, transmission, storage, management and subscription services of network-level signal data. The platform is divided into a data access module, a data transmission module, a data storage module, a data subscription module and a data service module.
[0054] The data access module realizes receiving line data from the network signal professional communication front-end machine, and realizes functions such as data extraction, data conversion, data cleaning, data access monitoring and error handling.
[0055] Data extraction: configure rules and strategies to extract required data elements from various types of data.
[0056] Data conversion: clean, convert, map and format the extracted data to ensure data quality and establish a data model.
[0057] Data access monitoring: real-time monitoring of data access process, including the state of access line, data transmission quality, and providing alarm mechanism.
[0058] Error handling: monitor errors and exceptions of access data to ensure data correctness and integrity.
[0059] The data transmission module establishes tags for signal data and classifies and manages the data. The data tag is the basis for personalized subscription of data. The establishment of data tags includes the following steps: 1. Data identification, data range and type of tag are formulated; 2. Tag design, classification system, standards and rules of the tag are formulated; 3. Tag allocation, according to the designed rules, the tag is allocated to the corresponding data; 4. Tag management, maintain the tag library to ensure the consistency and correctness of the tag; 5. Tag application, mark and use according to the tag system in the process of data storage, retrieval and analysis.
[0060] After the signal data is tagged, a complete correspondence between the tags and the data is established, forming a tag system classification management.
[0061] The data storage module stores the signal data classified by the tags. Due to different manufacturers, different lines, different systems and other reasons, there are various differences in data field definition, data length, etc., and standardization processing of data is required when storing data to ensure the consistency of data services. The specific steps are as follows: 1. Data secondary cleaning, identifying and correcting errors, duplicates and inconsistencies in the data; 2. Data conversion, converting data from original format to standard format, such as unit of measurement, enumeration definition of data elements, etc.; 3. Data modeling, designing standardized data models, defining data structures, relationships and constraints; 4. Data mapping, determining the mapping of data elements to fields of the standardized data model; 5. Storing the converted data into the defined real-time database, non-real-time database.
[0062] The data subscription module provides subscription service registration and subscription content configuration functions for external interfaces, and manages external interfaces, including but not limited to external interface addition, external interface modification, external interface deletion, external interface state query, external interface information query, external interface enablement and disablement, etc. The external interface fills in the interface service name, subscription period, network parameters of external service (network IP, port, MAC address, interface name, interface password of external interface), function description and other basic information as service registration information. After the subscription service registration is completed, the individualized data subscription content configuration is performed according to the data label and the standardized data content, and the data can be subscribed according to different dimensions such as line, data type, data subtype and centralized station.
[0063] The data service module provides authentication services and data interface services for external interface services. The data interface service mode includes but is not limited to push type, request and response type, etc. When accessing the subscription data service, the external interface service needs to pass the identity verification (identity verification is performed through authentication information such as network IP, port, MAC address, interface name and interface password of the external interface), and only the subscription authorized external interface request can obtain data; the external interface can only obtain the subscribed data.
[0064] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. Urban rail transit network-level signal professional data management and interface method, characterized by: Specifically, the method is to establish a data resource pool platform between the line network signal professional communication front-end and the external interface, and collect, transmit, store, manage and subscribe line network level signal data through the data resource pool platform; The data resource pool platform includes a data access module, a data transmission module, a data storage module, a data subscription module and a data service module; The data access module receives signal data of each line from the line network signal professional communication front-end, and performs data extraction, data cleaning and data conversion on the received signal data of each line; when receiving the signal data of each line, it monitors the accessed data and issues an alarm when the data access is abnormal; The data transmission module creates tags for signal data and manages the signal data by category. The data transmission module is used to design and manage tags, including developing a classification system, standards, and rules for tags, and establishing the data range and type for tags. Tags are assigned to corresponding data according to the designed tagging rules, and are marked and used according to the tags in subsequent data storage, retrieval, and analysis processes. The data storage module is used to perform standardization processing on the signal data after labeling and classification, and store the standardized data in a predefined real-time database or a non-real-time database; The data subscription module provides subscription service registration and subscription content configuration for the external interface; the subscription service registration means that the external interface provides its basic information and registers with the data subscription module. After registration, personalized data subscription content configuration is performed based on data tags and standardized data content; The data service module performs identity authentication on the external interface to verify whether the external interface is registered in the data subscription module. After the identity authentication is passed, the data subscribed by the external interface is provided to the external interface.
2. The urban rail transit network-level signal professional data management and interface method according to claim 1, characterized in that: The data access module configures data extraction rules and strategies, and extracts required data elements from the received line data according to the configured data extraction rules and strategies.
3. The urban rail transit network-level signal professional data management and interface method according to claim 1, characterized in that: The data access module monitors the accessed data and issues an alarm when data access is abnormal. Specifically, the data access module monitors the data access process in real time, monitors the status of the access line, the quality of data transmission, and monitors whether the received line data has errors and / or abnormalities. And issue an alarm when an abnormality is detected.
4. The urban rail transit network-level signal professional data management and interface method according to claim 1, characterized in that: The data storage module performs standardization processing on the labeled and classified signal data, specifically, performs secondary data cleaning, data conversion, data modeling and data mapping on the labeled and classified signal data.
5. The urban rail transit network-level signal professional data management and interface method according to any one of claims 1 to 4, characterized in that: The data subscription module manages the external interface, including adding an external interface, modifying an external interface, deleting an external interface, querying the status of an external interface, querying the information of an external interface and / or enabling and disabling an external interface.
6. The urban rail transit network-level signal professional data management and interface method according to claim 5, characterized in that: When an external interface registers with the data subscription module, the basic information provided includes the external interface service name, subscription period, network parameters of the external service, and function description.
7. The urban rail transit network-level signal professional data management and interface method according to claim 6, characterized in that: The network parameters of the external service include the network IP, port, Mac address, interface name and interface password of the external interface.
8. The urban rail transit network-level signal professional data management and interface method according to any one of claims 1 to 4, characterized in that: The external interface subscribes to a specific signal data tag when performing personalized data subscription content configuration in the data subscription module.
9. The urban rail transit network-level signal professional data management and interface method according to any one of claims 1 to 4, characterized in that: When the data service module provides the data subscribed by the external interface to the external interface, the providing manner includes a push manner or a request-response manner.