CN115497191B - Derailment original data polling reporting method and device for running part monitoring system - Google Patents
Derailment original data polling reporting method and device for running part monitoring system Download PDFInfo
- Publication number
- CN115497191B CN115497191B CN202211122777.6A CN202211122777A CN115497191B CN 115497191 B CN115497191 B CN 115497191B CN 202211122777 A CN202211122777 A CN 202211122777A CN 115497191 B CN115497191 B CN 115497191B
- Authority
- CN
- China
- Prior art keywords
- list
- log
- carriage
- empty
- derailment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012544 monitoring process Methods 0.000 title claims abstract description 26
- 238000003860 storage Methods 0.000 claims abstract description 21
- 230000006870 function Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 7
- 238000005304 joining Methods 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 abstract description 4
- 238000005259 measurement Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/008—Registering or indicating the working of vehicles communicating information to a remotely located station
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0808—Diagnosing performance data
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/70—Arrangements in the main station, i.e. central controller
- H04Q2209/75—Arrangements 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)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a method for polling and reporting derailment original data of a running part monitoring system. The data volume can be effectively reduced, the loads of the host and the extension can be reduced, and the occupation of storage resources can be reduced. Meanwhile, the period of acquiring the derailment original vibration data of a train is shorter, the continuity of the measurement point data is better, the acquired data can be effectively analyzed, and the data can be used as the basis of a derailment algorithm.
Description
Technical Field
The application relates to the technical field of monitoring of derailment raw data of a train running part, in particular to a method and a device for polling and reporting the derailment raw data of a running part monitoring system.
Background
The running part monitoring system monitors vibration and temperature of each bearing, tread, motor and gear of the train bogie. And diagnosing whether the monitored object has faults or not by analyzing the vibration and the temperature. 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, has a great relation with the train, the track and the actual running condition, a large amount of vibration original data is needed for analysis, threshold calculation, optimization and algorithm customization at the initial stage of train input running. The number of the train monitoring measuring points is large, the original vibration data amount is large, how to acquire the original data, and the number of the data acquired by each measuring point is not a suitable method in the prior art.
Disclosure of Invention
Aiming at the technical problems, the application provides a method and a device for reporting derailment original data polling of a running part monitoring system.
In a first aspect, the present application provides a method for reporting derailment raw data in a running part monitoring system, including the following steps:
s1: inquiring configuration information reported by all carriage derailment data at regular time and issuing the latest time of a log table;
s2: traversing all the configuration information, inquiring and issuing logs according to the IP in the configuration information and the latest time of issuing log tables, executing S3 if the logs are empty, and executing S4 if the logs are empty;
s3: generating a log entity according to the log information, adding the log entity into an untracked list, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log mark 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 carriage is opened, otherwise, performing next log processing;
s7: judging whether the configuration information is traversed, if so, executing S8, otherwise, returning to the step S2;
s8: according to the opening state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or the IP in the first piece of data of the untreated list is selected as the IP to be opened;
s9: judging that the present log and the failed list are not empty, or that the present log and the failed list are not empty, if the present log and the failed list are not empty, executing S10, otherwise executing S11;
s10: integrating the untread list and the failed list, traversing the integrated log list, sequentially issuing the log list to corresponding carriages for opening or closing, and executing S15;
s11: calculating the next open carriage according to the all list;
s12: traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an opening derailment original data reporting function to the next opening carriage, and issuing a closing opening 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 result into a database;
s14: judging whether the configuration information is traversed, if so, executing S15, otherwise, returning to the step S12;
s15: waiting for the next trigger of a timed task.
Preferably, the step S8 specifically includes:
s801: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed;
s802: and judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, executing S9, and if not, directly executing S9.
Preferably, in the step S10, the integrating the untracked list and the failed list is specifically: and adding the data in the untread list into the failed list.
Preferably, the step S11 specifically includes:
s1101: defaulting the next opening carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise executing S15;
s1102: and traversing all the all lists, taking the next carriage number as the carriage to be started according to the carriage number sequence, and executing S12.
In a second aspect, the present application further provides a device for reporting derailed raw data in a running gear monitoring system, where the device includes:
the log inquiry module is configured to inquire configuration information reported by all carriage derailment data and the latest time of issuing a log table at regular time, traverse all the configuration information and inquire the issuing 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 joining in an untread list according to the log information; adding the log into an all list; judging whether the log mark is failed, if so, adding the log into a failed list and judging whether the log is an opened log, if so, marking that a carriage is opened;
the carriage opening instruction module is configured to process the untreated list into closed or select 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 carriage and whether the untreated list is empty; judging that the present log is not empty or the present log is not empty, integrating the untracked list and the failed list, traversing the integrated log list, and sequentially issuing the integrated log list to corresponding carriages for opening or closing; calculating the next open carriage according to the all list, traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an open derailment original data reporting function to the next open carriage, and issuing a close open derailment original data reporting function to other carriages;
and the timing task module is configured to perform the functions of the modules at regular time.
Preferably, the processing the untreated list to close or select the IP in the first piece of data of the untreated list as the IP to be opened specifically includes: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed; judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, then executing the step of judging that the present-day log and the failed list are not empty or the present-day log and the failed list are not empty, otherwise, directly executing the step of executing the present-day log and the failed list are not empty or the present-day log and the failed list are not empty.
Preferably, the integrating the untracked list and the failed list is specifically: and adding the data in the untread list into the failed list.
Preferably, the calculating the next open compartment according to the all list specifically includes: and (3) defaulting the next opening carriage to be 1, checking whether all lists are 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 also proposes an electronic device, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of the first aspect.
In a fourth aspect, the application also proposes a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method according to the first aspect.
According to the method for polling and reporting the derailment original data of the running part monitoring system, which is provided by the application, the host controls the polling mechanism, and the host transmits 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 of acquiring the derailment original vibration data of a train is shorter, the continuity of the measurement point data is better, the acquired data can be effectively analyzed, and the data 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. Many of the intended advantages of other embodiments and 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 reporting derailment raw data polling of a running gear monitoring system according to the present application.
Figure 2 is a schematic diagram of the distribution of the master and slave units of the train in one embodiment of the application.
Fig. 3 is a schematic diagram of one embodiment of a derailment raw data poll reporting method that may be applied to the running gear monitoring system of the present application.
Fig. 4 is a schematic block diagram of a derailment raw data polling reporting device of a running gear monitoring system according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the application.
Description of the embodiments
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 shows a flowchart of a method for reporting derailment raw data polling of a running gear monitoring system according to the present application, and referring to fig. 1, the method specifically includes the following steps:
s1: inquiring configuration information reported by all carriage derailment data at regular time and issuing the latest time of a log table;
s2: traversing all the configuration information, inquiring and issuing logs according to the IP in the configuration information and the latest time of issuing log tables, executing S3 if the logs are empty, and executing S4 if the logs are empty;
s3: generating a log entity according to the log information, adding the log entity into an untracked list, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log mark 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 carriage is opened, otherwise, performing next log processing;
s7: judging whether the configuration information is traversed, if so, executing S8, otherwise, returning to the step S2;
s8: according to the opening state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or the IP in the first piece of data of the untreated list is selected as the IP to be opened;
in some alternative embodiments, the process of S8 may be accomplished as follows:
s801: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed;
s802: and judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, executing S9, and if not, directly executing S9.
S9: judging that the present log and the failed list are not empty, or that the present log and the failed list are not empty, if the present log and the failed list are not empty, executing S10, otherwise executing S11;
s10: integrating the untracked list and the failed list, traversing the integrated log list, sequentially issuing the integrated log list to corresponding carriages for opening or closing, and executing S16;
in some optional embodiments, in S10, the integrating the untracked list and the failed list is specifically: and adding the data in the untread 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 accomplished as follows:
s1101: defaulting the next opening carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise executing S15;
s1102: and traversing all the all lists, taking the next carriage number as the carriage to be started according to the carriage number sequence, and executing S12.
S12: traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an opening derailment original data reporting function to the next opening carriage, and issuing a closing opening 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 result into a database;
s14: judging whether the configuration information is traversed, if so, executing S15, otherwise, returning to the step S12;
s15: waiting for the next trigger of a timed task.
In a particular embodiment, referring to fig. 2, each car of the train has a running gear, each head and tail car has a main machine, and each intermediate car has a sub-machine. The 6-group train is used as a train, each train is provided with two independent main machines (built-in extension functions), four independent extension machines and 6 running devices, and the 6 devices form a local area network through a built-in exchanger. Under normal conditions, the host 1 is a host, the host 2 is a standby, and the extension establishes connection with the host 1 in a TCP mode and is not connected with the host 2. The host computer transmits a command to control each extension to poll and collect and report the original data of the derailment vibration of each carriage in a TCP mode. In the application, each carriage collects and reports the derailment original data for one day, and the polled extension machine collects all the measuring points of the carriage and reports the measuring points to the host machine, and the host machine stores the data for manual downloading and analysis.
Fig. 3 is a schematic diagram of a specific embodiment of a method for reporting derailment raw data polling that can be applied to the running gear monitoring system of the present application, and referring to fig. 3, a specific flow of this embodiment is as follows:
the host has a timing task, and the timing task is triggered every 10 min. After triggering the timing task, inquiring the latest time of the issuing log table, and taking the today time if the latest time is not available.
Inquiring configuration information reported by all carriage derailment data, if the configuration information is empty, directly waiting for triggering of the next timing task if the configuration information is empty. If the configuration information is not empty, traversing all the configuration information (each carriage IP has one piece of configuration information), and inquiring the issuing log according to the IP in the configuration information and the latest time in the issuing log table which is just inquired.
If the log is empty, generating a log entity according to the log information, adding an unprocessed (unprocessed) list, and processing the next log. If the log is not empty, the log is added into an all list, whether the log identification is failed is judged, if the log is failed, the log is added into a failed list, whether the log is started is judged, if the log is started, a carriage is marked to be started, and if the log is not started, the next log processing is carried out.
After traversing the configuration information, judging whether a carriage is started and an unprocessed (unprocessed) list is not empty, and if so, processing all unprocessed (unprocessed) lists to be closed. Whether the conditions are met or not, if a carriage is not started and an unprocessed (unprocessed) list is not empty, selecting the IP in the first piece of data of the unprocessed list as the IP to be started, otherwise, directly judging that the current log exists or that the current log does not exist and a failure list (failed) is not empty, if so, integrating the unprocessed list and the failure list, traversing all the data, sequentially issuing the data to the corresponding carriage, starting or closing, and waiting for triggering of the next timing task. If not, defaulting to the next opening carriage as 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 opened according to the carriage number sequence. And traversing all carriage configuration information to generate a log entity, generating instruction information, issuing an opening derailment original data reporting function to the next opening carriage, issuing a closing derailment original data reporting function to other carriages, synchronously waiting for an extension to return a result, filling the result into the log entity, and storing the result into a database. After traversing, waiting for the triggering of the next timing task.
With further reference to fig. 4, as an implementation of the method described above, the present application provides an embodiment of a derailment raw data polling reporting device of a running gear monitoring system, where the system embodiment corresponds to the method embodiment shown in fig. 1, and the system is specifically applicable to various electronic devices.
Referring to fig. 4, a running gear monitoring system derailment raw data polling reporting device includes:
the log inquiry module 101 is configured to inquire configuration information reported by all carriage derailment data and the latest time of issuing a log table at regular time, traverse all configuration information, and inquire the issuing 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 joining in an untracked list according to the log information; adding the log into an all list; judging whether the log mark is failed, if so, adding the log into a failed list and judging whether the log is an opened log, if so, marking that a carriage is opened;
a compartment opening instruction module 103, configured to process the untread list entirely as closed or select an IP in the first piece of data of the untread list as an IP to be opened according to an opening state of the compartment and whether the untread list is empty; judging that the present log is not empty or the present log is not empty, integrating the untracked list and the failed list, traversing the integrated log list, and sequentially issuing the integrated log list to corresponding carriages for opening or closing; calculating the next open carriage according to the all list, traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an open derailment original data reporting function to the next open carriage, and issuing a close open derailment original data reporting function to other carriages;
a timed task module 104 configured to perform the functions of the various modules at regular time.
The processing the untreated list to close or selecting the IP in the first piece of data of the untreated list as the IP to be opened specifically includes: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed; judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, then executing the step of judging that the present-day log and the failed list are not empty or the present-day log and the failed list are not empty, otherwise, directly executing the step of executing the present-day log and the failed list are not empty or the present-day log and the failed list are not empty.
The integrating the untracked list and the failed list specifically includes: and adding the data in the untread list into the failed list.
The calculating the next opening carriage according to the all list specifically comprises the following steps: and (3) defaulting the next opening carriage to be 1, checking whether all lists are 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, a schematic diagram of a computer system 200 suitable for use in implementing an electronic device of an embodiment of the present application is shown. The electronic device shown in fig. 5 is only an example and should not be construed as limiting the functionality and 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, which can perform various appropriate actions and processes according to 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 required for the operation of the system 200 are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other through 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 section 206 including a keyboard, a mouse, and the like; an output section 207 including a Liquid Crystal Display (LCD) or the like, a speaker or the like; a storage section 208 including a hard disk or the like; and a communication section 209 including a network interface card such as a LAN card, a modem, and the like. The communication section 209 performs communication processing via a network such as the internet. The drive 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 installed on the drive 120 as needed, so that a computer program read out therefrom is installed into the storage section 208 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 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 a Central Processing Unit (CPU) 201.
As another aspect, the present application also provides a computer-readable storage medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated 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 as shown in fig. 1.
The computer readable storage medium according to the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 document, 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 the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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 ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 application has been described with reference to specific embodiments, the scope of the application is not limited thereto, and any changes or substitutions can be easily made by those skilled in the art within the scope of the application disclosed herein, and are intended to be covered by the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
In the description of the present application, it should be understood that the directions or positional relationships indicated by the terms "upper", "lower", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of description and simplification of the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, be constructed and operated in a specific orientation, 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 reporting derailment original data polling of a running part monitoring system is characterized by comprising the following steps of: the method comprises the following steps:
s1: inquiring configuration information reported by all carriage derailment data at regular time and issuing the latest time of a log table;
s2: traversing all the configuration information, inquiring and issuing logs according to the IP in the configuration information and the latest time of issuing log tables, executing S3 if the logs are empty, and executing S4 if the logs are empty;
s3: generating a log entity according to the log information, adding the log entity into an untracked list, processing the next log, and executing S5;
s4: adding the log into an all list;
s5: judging whether the log mark 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 carriage is opened, otherwise, performing next log processing;
s7: judging whether the configuration information is traversed, if so, executing S8, otherwise, returning to the step S2;
s8: according to the opening state of the carriage and whether the untreated list is empty, all the untreated list is processed to be closed or the IP in the first piece of data of the untreated list is selected as the IP to be opened;
s9: judging that the present log and the failed list are not empty, or that the present log and the failed list are not empty, if the present log and the failed list are not empty, executing S10, otherwise executing S11;
s10: integrating the untread list and the failed list, traversing the integrated log list, sequentially issuing the log list to corresponding carriages for opening or closing, and executing S15;
s11: calculating the next open carriage according to the all list;
s12: traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an opening derailment original data reporting function to the next opening carriage, and issuing a closing opening 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 result into a database;
s14: judging whether the configuration information is traversed, if so, executing S15, otherwise, returning to the step S12;
s15: waiting for the next trigger of a timed task.
2. The method for reporting derailment raw data polling of a running gear monitoring system according to claim 1, wherein the method comprises the following steps: the step S8 specifically comprises the following steps:
s801: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed;
s802: and judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, executing S9, and if not, directly executing S9.
3. The method for reporting derailment raw data polling of a running gear monitoring system according to claim 1, wherein the method comprises the following steps: in the step S10, the integrating the untracked list and the failed list is specifically: and adding the data in the untread list into the failed list.
4. The method for reporting derailment raw data polling of a running gear monitoring system according to claim 1, wherein the method comprises the following steps: the step S11 specifically comprises the following steps:
s1101: defaulting the next opening carriage to be 1, checking whether the all list is not empty, if not, executing S1102, otherwise executing S15;
s1102: and traversing all the all lists, taking the next carriage number as the carriage to be started according to the carriage number sequence, and executing S12.
5. The utility model provides a walk department monitoring system derailment raw data polling reporting device which characterized in that: the device comprises:
the log inquiry module is configured to inquire configuration information reported by all carriage derailment data and the latest time of issuing a log table at regular time, traverse all the configuration information and inquire the issuing 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 joining in an untread list according to the log information; adding the log into an all list; judging whether the log mark is failed, if so, adding the log into a failed list and judging whether the log is an opened log, if so, marking that a carriage is opened;
the carriage opening instruction module is configured to process the untreated list into closed or select 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 carriage and whether the untreated list is empty; judging that the present log is not empty or the present log is not empty, integrating the untracked list and the failed list, traversing the integrated log list, and sequentially issuing the integrated log list to corresponding carriages for opening or closing; calculating the next open carriage according to the all list, traversing all carriage configuration information, generating a log entity and generating instruction information, issuing an open derailment original data reporting function to the next open carriage, and issuing a close open derailment original data reporting function to other carriages;
and the timing task module is configured to perform the functions of the modules at regular time.
6. The running gear monitoring system derailment raw data polling reporting device of claim 5, wherein: according to the opening state of the carriage and whether the untreated list is empty, the processing of all the untreated list into closing or selecting the IP in the first piece of data of the untreated list as the IP to be opened specifically comprises: judging whether a carriage is started or not and the untread list is not empty, if yes, processing all untread lists as closed; judging whether a carriage is not started and the untracked list is not empty, if so, selecting the IP in the first piece of data of the untracked list as the IP to be started, then executing the step of judging that the present-day log and the failed list are not empty or that the present-day log and the failed list are not empty, otherwise, directly executing the step of judging that the present-day log and the failed list are not empty or that the present-day log and the failed list are not empty.
7. The running gear monitoring system derailment raw data polling reporting device of claim 5, wherein: the integrating the untracked list and the failed list specifically includes: and adding the data in the untread list into the failed list.
8. The running gear monitoring system derailment raw data polling reporting device of claim 5, wherein: the calculating the next opening carriage according to the all list specifically comprises the following steps: and (3) defaulting the next opening carriage to be 1, checking whether all lists are 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;
a storage means for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
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 CN115497191A (en) | 2022-12-20 |
CN115497191B true 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 (11)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6782194B2 (en) * | 2017-06-02 | 2020-11-11 | 株式会社日立製作所 | Automatic inspection system |
-
2022
- 2022-09-15 CN CN202211122777.6A patent/CN115497191B/en active Active
Patent Citations (11)
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 |
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)
Title |
---|
城铁车辆走行部及脱轨检测系统应用;赵宗平;;上海节能(09);第120-123页 * |
基于广播SNMP的网络管理并行轮询算法;程春玲;崔国亮;隋宗见;;计算机应用研究(12);第4711-4714页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115497191A (en) | 2022-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109164783B (en) | Vehicle diagnosis method, apparatus, device, and medium | |
US20150169311A1 (en) | Automated Software Update Scheduling | |
CN108076043A (en) | For the virtual key of vehicle maintenance | |
US10127093B1 (en) | Method and apparatus for monitoring a message transmission frequency in a robot operating system | |
CN109660533B (en) | Method and device for identifying abnormal flow in real time, computer equipment and storage medium | |
CN111447251A (en) | System and method for collecting, monitoring and analyzing vehicle data from multiple vehicles using edge calculations | |
CN111352853B (en) | Compatibility testing method, device, server and storage medium | |
CN110989555A (en) | Vehicle diagnosis and alarm method, device and system | |
CN108228378A (en) | The data processing method and device of train groups failure predication | |
CN112116154A (en) | Data processing method, data processing apparatus, storage medium, and electronic device | |
CN109101330A (en) | Data capture method, device and system | |
CN115437339A (en) | Remote diagnosis method and device, electronic equipment and storage medium | |
CN115497191B (en) | Derailment original data polling reporting method and device for running part monitoring system | |
CN111240721B (en) | Method and system for monitoring software version of high-speed railway equipment | |
CN113859306A (en) | Locomotive data expert diagnostic analysis method, device and system | |
CN112816933A (en) | Maintenance diagnosis method and system for electric energy meter terminal | |
CN114896168B (en) | Quick debugging system, method and memory for automatic driving algorithm development | |
CN115065563B (en) | Civil aviation data processing system based on block chain prediction machine | |
CN115858378A (en) | Test system and method | |
CN114596640B (en) | Automatic monitoring method, device, equipment and medium for ticket checking system | |
CN111783485A (en) | Train inspection platform, terminal and system | |
KR20210145509A (en) | Methods of Provide Manpower for Car Washing Service | |
US11861509B2 (en) | Automated positive train control event data extraction and analysis engine for performing root cause analysis of unstructured data | |
CN117933963A (en) | Intelligent operation and maintenance method, device and equipment for rail transit and storage medium | |
CN115904954A (en) | Interface general use case generation method and device, electronic equipment and medium |
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 |