CN115497191A - Method and device for polling and reporting derailed original data of running gear monitoring system - Google Patents

Method and device for polling and reporting derailed original data of running gear monitoring system Download PDF

Info

Publication number
CN115497191A
CN115497191A CN202211122777.6A CN202211122777A CN115497191A CN 115497191 A CN115497191 A CN 115497191A CN 202211122777 A CN202211122777 A CN 202211122777A CN 115497191 A CN115497191 A CN 115497191A
Authority
CN
China
Prior art keywords
list
log
carriage
executing
empty
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211122777.6A
Other languages
Chinese (zh)
Other versions
CN115497191B (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.)
Xiamen Attiot Intelligent Technology Co ltd
Original Assignee
Xiamen Attiot Intelligent Technology 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 Xiamen Attiot Intelligent Technology Co ltd filed Critical Xiamen Attiot Intelligent Technology Co ltd
Priority to CN202211122777.6A priority Critical patent/CN115497191B/en
Publication of CN115497191A publication Critical patent/CN115497191A/en
Application granted granted Critical
Publication of CN115497191B publication Critical patent/CN115497191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • H04Q2209/75Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a method for polling and reporting derailed original data of a monitoring system of a running gear. The data volume can be effectively reduced, the loads of the host and the extension are reduced, and the occupation of storage resources is reduced. Meanwhile, the period for collecting the derailment original vibration data of a train is short, the continuity of the measuring point data is good, and the collected data can be effectively analyzed and can be used as the basis of a derailment algorithm.

Description

Method and device for polling and reporting derailed original data of running gear monitoring system
Technical Field
The application relates to the technical field of monitoring of derailed original data of a train running gear, in particular to a method and a device for polling and reporting the derailed original data of a running gear monitoring system.
Background
The running part monitoring system monitors the vibration and temperature of each bearing, tread, motor and gear of the train bogie. By analyzing the vibration and the temperature, whether the monitoring object has a fault is diagnosed. And meanwhile, whether the train is derailed or not can be detected by analyzing the vibration condition of the shaft end bearing. Because the derailment algorithm is complex and has a large relation with the train, the track and the actual running condition, a large amount of vibration original data is needed for analyzing, calculating the threshold value, optimizing and customizing the algorithm when the train is put into the initial running stage. The train monitoring method has the advantages that the number of train monitoring measuring points is large, the original vibration data amount is large, how much data is obtained from each measuring point is how much data is obtained, and no suitable method exists in the prior art.
Disclosure of Invention
In order to solve the technical problems, the application provides a method and a device for polling and reporting derailed original data of a running gear monitoring system.
In a first aspect, the present application provides a method for polling and reporting derailed original data of a running gear monitoring system, including the following steps:
s1: inquiring configuration information reported by derailing data of all carriages and the latest time of issuing a log table at regular time;
s2: traversing all the configuration information, inquiring the issued log according to the IP in the configuration information and the latest time of the issued log table, if the log is empty, executing S3, otherwise executing S4;
s3: generating a log entity adding untreated list according to the log information, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log identification is failed, if so, adding the log into a failed list;
s6: judging whether the log is an opened log, if so, marking that a certain carriage is opened, and otherwise, processing the next log;
s7: judging whether the configuration information is traversed or not, if so, executing S8, otherwise, returning to the step S2;
s8: according to the starting state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or an IP in the first data of the untreated list is selected as an IP to be started;
s9: judging whether the log of the current day exists or not and the failed list is not empty, if so, executing S10, otherwise, executing S11;
s10: integrating the untreated list and the failed list, traversing the integrated log list, sequentially issuing the log list to a corresponding carriage to open or close, and executing S15;
s11: calculating the next open carriage according to the all list;
s12: traversing all the carriage configuration information, generating a log entity and generating instruction information, issuing a derail starting original data reporting function to the next carriage to be started, and issuing a derail starting original data reporting function to other carriages;
s13: synchronously waiting for the extension to return a result, filling the result into a log entity, and storing the log entity into a database;
s14: judging whether the configuration information is traversed or not, if so, executing S15, otherwise, returning to the step S12;
s15: and waiting for the triggering of the next timing task.
Preferably, S8 specifically includes:
s801: judging whether a certain compartment is opened and the uncondensed list is not empty, if so, processing all the uncondensed lists to be closed;
s802: and judging whether a certain carriage is not started and the uncondensed list is not empty, if so, selecting the IP in the first data of the uncondensed list as the IP to be started, and then executing S9, otherwise, directly executing S9.
Preferably, in the S10, the integrating the uncondensed list and the failed list specifically includes: and adding the data in the untreated list into the failed list.
Preferably, S11 specifically includes:
s1101: defaulting the next starting carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise, executing S16;
s1102: and traversing all the list, taking the next carriage number as the carriage to be opened according to the carriage number sequence, and executing S12.
In a second aspect, the present application further provides a device for polling and reporting derailed original data of a running gear monitoring system, where the device includes:
the log query module is configured for regularly querying configuration information reported by derailment data of all carriages and the latest time of a delivered log table, traversing all the configuration information, and querying the delivered log according to the IP in the configuration information and the latest time of the delivered log table;
the log judging module is configured to generate a log entity adding untreated list according to log information, add a log into an all list, judge whether log identification is failed, add the log into a failed list and judge whether the log is an opened log if the log identification is failed, and mark that a certain carriage is opened if the log is opened;
a carriage opening instruction module configured to, according to an opening state of a carriage and whether the uncondensed list is empty, completely process the uncondensed list to be closed or select an IP in first data of the uncondensed list as an IP to be opened, judge that there is a log of today or there is no log of today and the failed list is not empty, integrate the uncondensed list and the failed list, traversing the integrated log list, sequentially issuing the log list to corresponding carriages for opening or closing, calculating the next carriage to be opened according to the all list, traversing all carriage configuration information, generating a log entity and generating instruction information, issuing a function of reporting the original data of starting derailment to the next carriage to be opened, and issuing a function of reporting the original data of starting derailment to other carriages;
and the timing task module is configured for executing the functions of the modules at regular time.
Preferably, the processing all the untreated lists to be closed or selecting an IP in the first piece of data of the untreated list as an IP to be opened according to the opening state of the car and whether the untreated list is empty specifically includes: judging whether a certain carriage is started and the uncondensed list is not empty, if so, processing all the uncondensed list to be closed; : judging whether a certain compartment is not opened and the untreated list is not empty, if so, selecting the IP in the first data of the untreated list as the IP to be opened, and then executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty, otherwise, directly executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty.
Preferably, the integrating the uncondored list and the failed list specifically comprises: and adding the data in the untreated list into the failed list.
Preferably, the calculating the next open car according to the all list specifically includes: and defaulting the next carriage to be opened to be 1, checking whether the all list is not empty, traversing all the all lists, and taking the next carriage number as the carriage to be opened according to the carriage number sequence.
In a third aspect, the present application further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as described in the first aspect.
In a fourth aspect, the present application also proposes a computer-readable storage medium, on which a computer program is stored, characterized in that said program, when executed by a processor, implements the method according to the first aspect.
According to the method for polling and reporting the derailed original data of the running gear monitoring system, the host controls a polling mechanism, and issues the acquisition instruction to the extension sets distributed in each carriage, so that the data volume can be effectively reduced, the loads of the host and the extension sets are reduced, and the occupation of storage resources is reduced. Meanwhile, the period for collecting the derailment original vibration data of a train is short, the continuity of the measuring point data is good, and the collected data can be effectively analyzed and can be used as the basis of a derailment algorithm.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments and together with the description serve to explain the principles of the application. Other embodiments and many of the intended advantages of embodiments will be readily appreciated as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.
Fig. 1 is a flowchart of a method for polling and reporting derailed original data of a running gear monitoring system according to the present application.
Fig. 2 is a schematic distribution diagram of the main units and the extension units of the train in one embodiment of the present application.
Fig. 3 is a schematic diagram of an embodiment of a method for polling and reporting derailed original data of a running gear monitoring system according to the present application.
Fig. 4 is a schematic block diagram of an apparatus for polling and reporting derailed original data of a running gear monitoring system according to an embodiment of the present disclosure.
FIG. 5 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows a flowchart of a method for polling and reporting derailed original data of a running gear monitoring system according to the present application, and with reference to fig. 1, the method specifically includes the following steps:
s1: inquiring configuration information reported by derailing data of all carriages and the latest time of issuing a log table at regular time;
s2: traversing all the configuration information, inquiring the issued log according to the IP in the configuration information and the latest time of the issued log table, if the log is empty, executing S3, otherwise executing S4;
s3: generating a log entity adding untreated list according to the log information, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log identification is failed, if so, adding the log into a failed list;
s6: judging whether the log is an opened log, if so, marking that a certain carriage is opened, and otherwise, processing the next log;
s7: judging whether the configuration information is traversed or not, if so, executing S8, otherwise, returning to the step S2;
s8: according to the starting state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or an IP in the first data of the untreated list is selected as an IP to be started;
in some alternative embodiments, the process of S8 may be completed according to the following steps:
s801: judging whether a certain compartment is opened and the uncondensed list is not empty, if so, processing all the uncondensed lists to be closed;
s802: and judging whether a certain carriage is not opened and the uncondensed list is not empty, if so, selecting the IP in the first data of the uncondensed list as the IP to be opened, and then executing S9, otherwise, directly executing S9.
S9: judging whether the log of the current day exists or not and the failed list is not empty, if so, executing S10, otherwise, executing S11;
s10: integrating the untreated list and the failed list, traversing the integrated log list, sequentially issuing the log list to the corresponding carriage to open or close, and executing S16;
in some optional embodiments, in the S10, the integrating the uncondeted list and the failed list specifically includes: and adding the data in the untreated list into the failed list.
S11: calculating the next open carriage according to the all list;
in some alternative embodiments, the process of S11 may be completed according to the following steps:
s1101: defaulting the next starting carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise, executing S16;
s1102: and traversing all the list, taking the next carriage number as the carriage to be opened according to the carriage number sequence, and executing S12.
S12: traversing all the carriage configuration information, generating a log entity and generating instruction information, issuing a starting derailment original data reporting function to the next starting carriage, and issuing a stopping starting derailment original data reporting function to other carriages;
s13: synchronously waiting for the extension to return a result, filling the result into a log entity, and storing the log entity into a database;
s14: judging whether the configuration information is traversed or not, if so, executing S15, otherwise, returning to the step S12;
s15: and waiting for the triggering of the next timing task.
In a specific embodiment, and referring to fig. 2, each car of the train has a running gear, each of the head and tail cars has a main machine, and each of the middle cars has an extension. The train consists of 6 marshalled trains as a train, each train is provided with two independent main machines (with built-in extension functions) and four independent extensions, 6 traveling devices are shared, and the 6 devices form a local area network through built-in switches. Under normal conditions, the host 1 is a host, the host 2 is a standby, and the extension is connected with the host 1 in a TCP mode and is not connected with the host 2. The host computer sends an instruction to control each extension to poll, collect and report the derailed vibration original data of each carriage through a TCP mode. In the application, each carriage collects and reports derailing original data one day, the polled extension sets collect and report all measuring points of the carriages to the host, and the host stores the data and waits for manual downloading and analysis.
Fig. 3 is a schematic diagram illustrating a specific embodiment that can be applied to a method for polling and reporting derailed original data of a running gear monitoring system according to the present application, and with reference to fig. 3, a specific process of the embodiment is as follows:
the host computer has a timing task, and the timing task is triggered once every 10 min. And after the timing task is triggered, inquiring the latest time of a log issuing table, and if not, taking the time of today.
And inquiring configuration information reported by derailing data of all the carriages, judging whether the configuration information is empty, and directly waiting for triggering the next timing task if the configuration information is empty. And if not, traversing all the configuration information (each compartment IP has one piece of configuration information), and inquiring the delivered log according to the IP in the configuration information and the latest time in the delivered log table just inquired.
If the log is empty, a log entity is generated according to the log information and added into an unprocessed (unprocessed) list, and the next log is processed. If the log is not empty, adding the log into an all list, then judging whether the log identification is failure, if so, adding the log into a failed list, and if not, then judging whether the log is an opened log, if so, marking that a certain carriage is opened, and if not, processing the next log.
After traversing the configuration information, judging whether a certain compartment is opened and the unprocessed (unprocessed) list is not empty, if so, processing all the unprocessed (unprocessed) list to be closed. Whether the conditions are met or not, then if a certain carriage is not started and the unprocessed (unprocessed) list is not empty, selecting the IP in the first data of the unprocessed list as the IP to be started, otherwise, directly judging that the current log exists or the current log does not exist and the failed list is not empty, if so, integrating the unprocessed list and the failed list, traversing all data, sequentially issuing the data to the corresponding carriage, starting or closing the carriage, and waiting for triggering of the next timing task. And if not, defaulting the next starting carriage to be 1, checking whether the all list is not empty, if so, waiting for the triggering of the next timing task, otherwise, traversing all the all lists, and taking the next carriage number as the carriage to be started according to the carriage number sequence. And traversing all the carriage configuration information, generating a log entity, generating instruction information, issuing a function of starting derailing original data reporting to the next carriage, issuing a function of stopping starting derailing original data reporting to other carriages, synchronously waiting for the extension to return a result, filling the result into the log entity, and storing the result into a database. And after traversing, waiting for triggering the next timing task.
With further reference to fig. 4, as an implementation of the foregoing method, the present application provides an embodiment of a polling reporting device for derailed original data of a running gear monitoring system, where the embodiment of the system corresponds to the embodiment of the method shown in fig. 1, and the system may be specifically applied to various electronic devices.
Referring to fig. 4, a device for polling and reporting derailed original data of a running gear monitoring system includes:
the log query module 101 is configured to query configuration information reported by derailed data of all carriages and the latest time of issuing a log table at regular time, traverse all the configuration information, and query the issued log according to the IP in the configuration information and the latest time of issuing the log table;
the log judging module 102 is configured to generate a log entity adding untreated list according to log information, add a log to an all list, judge whether a log identifier fails, add the log to a failed list and judge whether the log is an opened log if the log identifier fails, and mark that a certain carriage is opened if the log identifier fails;
the car body opening instruction module 103 is configured to, according to the opening state of the car body and whether the untreated list is empty, completely process the untreated list to be closed or select an IP in the first data of the untreated list as an IP to be opened, judge that a today's log exists or the today's log does not exist and the failed list is not empty, integrate the untreated list and the failed list, traverse the integrated log list, sequentially issue the integrated log list to a corresponding car body to be opened or closed, calculate the next car body to be opened according to the all list, traverse all car body configuration information, generate a log entity and generate instruction information, issue an original data report function of opening derailment for the next car body to be opened, and issue an original data report function of closing derailment for other car bodies;
and the timing task module 104 is configured to execute the functions of the modules at regular time.
Wherein, the step of completely processing the uncondensed list as closed or selecting the IP in the first piece of data of the uncondensed list as the IP to be opened according to the opening state of the car and whether the uncondensed list is empty specifically comprises: judging whether a certain carriage is started and the uncondensed list is not empty, if so, processing all the uncondensed list to be closed; judging whether a certain compartment is not opened and the untreated list is not empty, if so, selecting the IP in the first data of the untreated list as the IP to be opened, and then executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty, otherwise, directly executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty.
The integrating the uncondensed list and the failed list specifically comprises: and adding the data in the untreated list into the failed list.
The step of calculating the next opened carriage according to the all list specifically comprises the following steps: and defaulting the next carriage to be opened to be 1, checking whether the all list is not empty, traversing all the all lists, and taking the next carriage number as the carriage to be opened according to the carriage number sequence.
Referring now to FIG. 5, shown is a block diagram of a computer system 200 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the computer system 200 includes a Central Processing Unit (CPU) 201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for the operation of the system 200 are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Liquid Crystal Display (LCD) and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. The driver 120 is also connected to the I/O interface 205 as needed. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 120 as necessary, so that a computer program read out therefrom is mounted into the storage section 208 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The above-described functions defined in the method of the present application are performed when the computer program is executed by the Central Processing Unit (CPU) 201.
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method shown in fig. 1.
It should be noted that the computer readable storage medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
While the present invention has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
In the description of the present application, it is to be understood that the terms "upper", "lower", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present application and simplifying the description, and do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application. The word 'comprising' does not exclude the presence of elements or steps not listed in a claim. The word 'a' or 'an' preceding an element does not exclude the presence of a plurality of such elements. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims shall not be construed as limiting the scope.

Claims (10)

1. A method for polling and reporting derailed original data of a running gear monitoring system is characterized by comprising the following steps: the method comprises the following steps:
s1: inquiring configuration information reported by derailing data of all carriages and the latest time of issuing a log table at regular time;
s2: traversing all the configuration information, inquiring the issued log according to the IP in the configuration information and the latest time of the issued log table, if the log is empty, executing S3, otherwise executing S4;
s3: generating a log entity adding into the uncondensed list according to the log information, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log identification is failed, if so, adding the log into a failed list;
s6: judging whether the log is an opened log, if so, marking that a certain carriage is opened, and otherwise, processing the next log;
s7: judging whether the configuration information is traversed or not, if so, executing S8, otherwise, returning to the step S2;
s8: according to the starting state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or an IP in the first data of the untreated list is selected as an IP to be started;
s9: judging whether the log of the current day exists or not and the failed list is not empty, if so, executing S10, otherwise, executing S11;
s10: integrating the untreated list and the failed list, traversing the integrated log list, sequentially issuing the log list to a corresponding carriage to open or close, and executing S15;
s11: calculating the next open carriage according to the all list;
s12: traversing all the carriage configuration information, generating a log entity and generating instruction information, issuing a derail starting original data reporting function to the next carriage to be started, and issuing a derail starting original data reporting function to other carriages;
s13: synchronously waiting for the extension to return a result, filling the result into a log entity, and storing the log entity into a database;
s14: judging whether the configuration information is traversed or not, if so, executing S15, otherwise, returning to the step S12;
s15: waiting for the next triggering of the timing task.
2. The method for polling and reporting the derailed original data of the running gear monitoring system according to claim 1, wherein the method comprises the following steps: the S8 specifically includes:
s801: judging whether a certain carriage is started and the uncondensed list is not empty, if so, processing all the uncondensed list to be closed;
s802: and judging whether a certain carriage is not started and the uncondensed list is not empty, if so, selecting the IP in the first data of the uncondensed list as the IP to be started, and then executing S9, otherwise, directly executing S9.
3. The method for polling and reporting the derailed original data of the running gear monitoring system according to claim 1, wherein the method comprises the following steps: in the S10, the integrating the uncondensed list and the failed list specifically includes: and adding the data in the untreated list into the failed list.
4. The method for polling and reporting the derailed original data of the running gear monitoring system according to claim 1, wherein the method comprises the following steps: the S11 specifically includes:
s1101: defaulting the next starting carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise, executing S16;
s1102: and traversing all the list, taking the next carriage number as the carriage to be opened according to the carriage number sequence, and executing S12.
5. A device for polling and reporting derailed original data of a running gear monitoring system is characterized in that: the device comprises:
the log query module is configured for regularly querying the configuration information reported by the derailed data of all the carriages and the latest time of issuing the log table, traversing all the configuration information, and querying the issued log according to the IP in the configuration information and the latest time of issuing the log table;
the log judging module is configured to generate a log entity adding untreated list according to log information, add a log into an all list, judge whether log identification is failed, add the log into a failed list and judge whether the log is an opened log if the log identification is failed, and mark that a certain carriage is opened if the log is opened;
a carriage opening instruction module configured to, according to an opening state of a carriage and whether the uncondensed list is empty, completely process the uncondensed list to be closed or select an IP in first data of the uncondensed list as an IP to be opened, judge that there is a log of today or there is no log of today and the failed list is not empty, integrate the uncondensed list and the failed list, traversing the integrated log list, sequentially issuing the log list to corresponding carriages for opening or closing, calculating the next carriage to be opened according to the all list, traversing all carriage configuration information, generating a log entity and generating instruction information, issuing a function of reporting the original data of starting derailment to the next carriage to be opened, and issuing a function of reporting the original data of starting derailment to other carriages;
and the timing task module is configured for executing the functions of the modules at regular time.
6. The device for polling and reporting derailed original data of a running gear monitoring system according to claim 5, wherein: the specifically processing all the untreated lists as closed or selecting the IP in the first piece of data of the untreated lists as the IP to be opened according to the opening state of the car and whether the untreated lists are empty includes: judging whether a certain carriage is started and the uncondensed list is not empty, if so, processing all the uncondensed list to be closed; : judging whether a certain compartment is not opened and the untreated list is not empty, if so, selecting the IP in the first data of the untreated list as the IP to be opened, and then executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty, otherwise, directly executing the step of judging that the today's log exists or the today's log does not exist and the failed list is not empty.
7. The device for polling and reporting derailed original data of a running gear monitoring system according to claim 5, wherein: the integrating the uncondored list and the failed list specifically comprises: and adding the data in the untreated list into the failed list.
8. The device for polling and reporting derailed original data of a running gear monitoring system according to claim 5, wherein: the step of calculating the next starting carriage according to the all list specifically comprises the following steps: and defaulting the next carriage to be opened to be 1, checking whether the all list is not empty, traversing all the all lists, and taking the next carriage number as the carriage to be opened according to the carriage number sequence.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202211122777.6A 2022-09-15 2022-09-15 Derailment original data polling reporting method and device for running part monitoring system Active CN115497191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211122777.6A CN115497191B (en) 2022-09-15 2022-09-15 Derailment original data polling reporting method and device for running part monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211122777.6A CN115497191B (en) 2022-09-15 2022-09-15 Derailment original data polling reporting method and device for running part monitoring system

Publications (2)

Publication Number Publication Date
CN115497191A true CN115497191A (en) 2022-12-20
CN115497191B CN115497191B (en) 2023-11-17

Family

ID=84468374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211122777.6A Active CN115497191B (en) 2022-09-15 2022-09-15 Derailment original data polling reporting method and device for running part monitoring system

Country Status (1)

Country Link
CN (1) CN115497191B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105460027A (en) * 2016-01-04 2016-04-06 唐智科技湖南发展有限公司 Vehicle-mounted distributed running part fault diagnostic system for urban rail transit train
JP2020021453A (en) * 2018-07-19 2020-02-06 パナソニックIpマネジメント株式会社 Information processing method, information processor and information processing system
JP2020023255A (en) * 2018-08-07 2020-02-13 川崎重工業株式会社 Railway vehicle abnormal travel detection device
US20200090424A1 (en) * 2017-06-02 2020-03-19 Hitachi, Ltd. Automatic inspection system and method for controlling automatic inspection system
CN111089878A (en) * 2020-01-16 2020-05-01 沈阳铁道科学技术研究所有限公司 Switch point rail damage nondestructive monitoring system
CN111723064A (en) * 2019-03-22 2020-09-29 顺丰科技有限公司 Log collection method and device, server and storage medium
CN112084193A (en) * 2020-09-04 2020-12-15 山东英信计算机技术有限公司 Log query method, log storage method and related equipment
CN112258690A (en) * 2020-10-23 2021-01-22 中车青岛四方机车车辆股份有限公司 Data access method and device and data storage method and device
EP3778344A2 (en) * 2019-08-05 2021-02-17 PJ Monitoring GmbH Device for the recognition of the derailing of a wheelset which can be displayed for information purposes
CN113329070A (en) * 2021-05-25 2021-08-31 中寰卫星导航通信有限公司 Method, device and equipment for acquiring vehicle operation data and storage medium
CN216185152U (en) * 2021-11-10 2022-04-05 大连柏盛源科技有限公司 Safety monitoring system for running part of urban railway vehicle
CN114778152A (en) * 2022-04-20 2022-07-22 厦门物之联智能科技有限公司 Method and system for adaptively and dynamically adjusting train derailment vibration threshold

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105460027A (en) * 2016-01-04 2016-04-06 唐智科技湖南发展有限公司 Vehicle-mounted distributed running part fault diagnostic system for urban rail transit train
US20200090424A1 (en) * 2017-06-02 2020-03-19 Hitachi, Ltd. Automatic inspection system and method for controlling automatic inspection system
JP2020021453A (en) * 2018-07-19 2020-02-06 パナソニックIpマネジメント株式会社 Information processing method, information processor and information processing system
JP2020023255A (en) * 2018-08-07 2020-02-13 川崎重工業株式会社 Railway vehicle abnormal travel detection device
CN111723064A (en) * 2019-03-22 2020-09-29 顺丰科技有限公司 Log collection method and device, server and storage medium
EP3778344A2 (en) * 2019-08-05 2021-02-17 PJ Monitoring GmbH Device for the recognition of the derailing of a wheelset which can be displayed for information purposes
CN111089878A (en) * 2020-01-16 2020-05-01 沈阳铁道科学技术研究所有限公司 Switch point rail damage nondestructive monitoring system
CN112084193A (en) * 2020-09-04 2020-12-15 山东英信计算机技术有限公司 Log query method, log storage method and related equipment
CN112258690A (en) * 2020-10-23 2021-01-22 中车青岛四方机车车辆股份有限公司 Data access method and device and data storage method and device
CN113329070A (en) * 2021-05-25 2021-08-31 中寰卫星导航通信有限公司 Method, device and equipment for acquiring vehicle operation data and storage medium
CN216185152U (en) * 2021-11-10 2022-04-05 大连柏盛源科技有限公司 Safety monitoring system for running part of urban railway vehicle
CN114778152A (en) * 2022-04-20 2022-07-22 厦门物之联智能科技有限公司 Method and system for adaptively and dynamically adjusting train derailment vibration threshold

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
程春玲;崔国亮;隋宗见;: "基于广播SNMP的网络管理并行轮询算法", 计算机应用研究, no. 12, pages 4711 - 4714 *
赵宗平;: "城铁车辆走行部及脱轨检测系统应用", 上海节能, no. 09, pages 120 - 123 *

Also Published As

Publication number Publication date
CN115497191B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
US9715378B2 (en) Automated software update scheduling
CN104503429B (en) Rail traffic vehicles static test datamation processing method and processing device
CN115437338A (en) Remote diagnosis method and device, electronic equipment and storage medium
CN104914849A (en) Fault recording device and method
CN114490161B (en) Fault diagnosis method and device, vehicle and storage medium
CN109660533B (en) Method and device for identifying abnormal flow in real time, computer equipment and storage medium
CN110989555A (en) Vehicle diagnosis and alarm method, device and system
US20180082342A1 (en) Predicting automobile future value and operational costs from automobile and driver information for service and ownership decision optimization
CN112116154A (en) Data processing method, data processing apparatus, storage medium, and electronic device
CN107215361A (en) Time-table display methods and device based on Locomotive Running Monitor System
CN114095299A (en) Vehicle-mounted fault intelligent reminding system, method, equipment and storage medium
CN111352853A (en) Compatibility testing method, device, server and storage medium
KR20140050221A (en) Method and apparatus for manintenance service of vehicle
KR101730874B1 (en) Apparatus for managing train information
CN115497191B (en) Derailment original data polling reporting method and device for running part monitoring system
CN113703665A (en) Method and device for reducing loss of control terminal data after gateway breakdown and electronic equipment
CN111783485A (en) Train inspection platform, terminal and system
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN115065563B (en) Civil aviation data processing system based on block chain prediction machine
CN115188184B (en) Vehicle speed limit processing method, device and apparatus
CN114488997B (en) ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium
CN109861884A (en) Communication performance test method, the device and system of automated driving system
AU2021245132B2 (en) Method for identifying characteristics of a rail vehicle and an apparatus suitable for implementing the method
CN112637783B (en) Rail transit safety management method and device based on visible light positioning technology
CN114446042B (en) Method, device, equipment and storage medium for early warning traffic accidents

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