Disclosure of Invention
The invention aims to provide a fault diagnosis and display system for urban rail transit vehicles, which realizes synchronous update of databases corresponding to a fault diagnosis unit and a fault display unit in the using process, is more convenient for operation and maintenance of the databases, reduces the workload of workers to a certain extent, and saves human resources.
In order to solve the technical problem, the invention provides a fault diagnosis and display system for an urban rail transit vehicle, which comprises a logic processing unit, a fault diagnosis unit, a fault display unit and a database, wherein:
the logic processing unit is used for receiving data information, determining fault information to be displayed from the fault information when the data information is fault information, and sending the fault information to be displayed and fault codes thereof, wherein the fault information comprises the fault codes and fault contents;
the fault diagnosis unit is used for receiving the fault information to be displayed and storing the fault information to be displayed into the database according to a preset rule;
and the fault display unit is used for acquiring the fault content of the fault information to be displayed from the database according to the fault code of the fault information to be displayed and displaying the fault content.
Preferably, the fault display unit is further configured to receive a display instruction and send the display instruction out;
correspondingly, the process of determining the fault information to be displayed from the fault information specifically comprises the following steps:
and receiving the display instruction, and determining the fault information to be displayed from the fault information according to a preset logic corresponding to the display instruction.
Preferably, the fault content includes a fault time, a fault level and a fault type.
Preferably, the display instruction is a single display instruction;
correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic corresponding to the display instruction is as follows:
selecting the fault information with the earliest fault time from all the fault information as the fault information to be displayed;
correspondingly, the process of storing the fault information to be displayed in the database according to the preset rule specifically comprises the following steps:
and directly storing the fault information to be displayed into the database.
Preferably, when the number of the fault information with the earliest fault time is multiple, correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic corresponding to the display instruction is as follows:
and selecting the fault information with the highest fault grade from the fault information with the earliest fault time as the fault information to be displayed.
Preferably, the process of displaying the fault content specifically includes:
and displaying the fault content through a main interface of the display unit.
Preferably, the display instruction is a plurality of display instructions;
correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic is as follows:
sequencing all the fault information according to the sequence of the fault time;
determining a preset number of pieces of fault information as to-be-displayed fault information, wherein the preset number is calculated from the earliest time fault information in the code list;
the process of storing the fault information to be displayed in the database according to the preset rule specifically comprises the following steps:
storing the preset number of pieces of fault information into the database in a page form;
and the fault codes of the fault information to be displayed are the fault codes corresponding to the preset number of pieces of fault information respectively.
Preferably, the preset number is 10.
Preferably, the process of displaying the fault content specifically includes:
and displaying the fault content in a page form through a first auxiliary interface of the display unit.
Preferably, in the system for diagnosing and displaying a fault of an urban rail transit vehicle, when the data information is status information; then correspondingly:
the logic processing unit is also used for sending the state information;
the fault diagnosis unit is also used for receiving the state information and sending the state information to the database for storage;
and the fault display unit is also used for receiving the state information and displaying the state information through a second auxiliary interface of the fault display unit.
Preferably, the status information includes one or more of a combination of voltage, current and temperature.
The invention provides a fault diagnosis and display system for urban rail transit vehicles, which stores fault information to be displayed sent by a logic processing unit into a database according to a preset rule through a fault diagnosis unit, searches the fault information to be displayed in the database through fault codes of the fault information to be displayed sent by the logic processing unit, acquires fault content of the fault information to be displayed, and displays the acquired fault content. Therefore, the fault diagnosis unit and the fault display unit correspond to the same database, when the database is updated, synchronous updating of the databases corresponding to the fault diagnosis unit and the fault display unit is achieved, operation and maintenance of the databases are facilitated, workload of workers is reduced to a certain extent, and human resources are saved.
Detailed Description
The core of the invention is to provide a fault diagnosis and display system for urban rail transit vehicles, which realizes synchronous update of databases corresponding to a fault diagnosis unit and a fault display unit in the using process, is more convenient for operation and maintenance of the databases, reduces the workload of workers to a certain extent, and saves human resources.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a system for diagnosing and displaying a fault of an urban rail transit vehicle according to the present invention.
The system comprises alogic processing unit 1, a fault diagnosis unit 2, adatabase 3 and a fault display unit 4, wherein:
thelogic processing unit 1 is used for receiving the data information, determining fault information to be displayed from the fault information when the data information is fault information, and sending the fault information to be displayed and fault codes thereof, wherein the fault information comprises the fault codes and fault content;
the fault diagnosis unit 2 is used for receiving fault information to be displayed and storing the fault information to be displayed into thedatabase 3 according to a preset rule;
and the fault display unit 4 is used for acquiring the fault content of the fault information to be displayed from thedatabase 3 according to the fault code of the fault information to be displayed and displaying the fault content.
It should be noted that each piece of data information obtained by thelogic processing unit 1 has a unique information identifier, and the data information can be divided into two types, i.e., type a information and type B information, according to the information identifier, where the type a information is status information and the type B information is failure information.
When the data information received by thelogic processing unit 1 is fault information, determining fault information to be displayed from the fault information, sending the fault information to be displayed to the fault diagnosis unit 2 after the fault information to be displayed is determined, and sending the fault information to be displayed to thedatabase 3 according to a preset rule after the fault diagnosis unit 2 receives the fault information to be displayed so that thedatabase 3 can store the fault information to be displayed; thelogic processing unit 1 not only sends the fault information to be displayed to the fault diagnosis unit 2, but also sends the fault code of the fault information to be displayed to the fault display unit 4, after the fault display unit 4 acquires the fault code of the fault information to be displayed, the fault display unit searches the fault information corresponding to the fault code in thedatabase 3 according to the fault code, acquires the fault content in the fault information, and displays the acquired fault content, wherein the specific display mode can be displayed through a display screen of the fault display unit 4.
Preferably, the fault display unit 4 is further configured to receive a display instruction and send the display instruction;
correspondingly, the process of determining the fault information to be displayed from the fault information specifically includes:
and receiving a display instruction, and determining fault information to be displayed from the fault information according to a preset logic corresponding to the display instruction.
It should be noted that, the fault display unit 4 may send the display instruction to thelogic processing unit 1 after receiving the display instruction, and thelogic processing unit 1 determines the fault information to be displayed from the fault information according to the display instruction, and since different display instructions correspond to different preset logics, thelogic processing unit 1 determines the fault information to be displayed from the fault information received by thelogic processing unit 1 according to the preset logic corresponding to the display instruction after receiving the display instruction. Specifically, the display instruction may be a display instruction input by a user, and may also be a display instruction acquired in other manners.
Preferably, the fault contents include a fault time, a fault level, and a fault type.
It should be noted that the failure time refers to the time when the failure occurs, the failure level indicates the severity of the failure, and the failure type refers to which device has failed and where the failure has occurred.
Of course, the fault content of the fault information may also include other information, and the present invention is not limited specifically herein, and the object of the present invention may be achieved.
Preferably, the display instruction is a single display instruction;
correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic corresponding to the display instruction is as follows:
selecting the fault information with the earliest fault time from all the fault information as the fault information to be displayed;
correspondingly, the process of storing the fault information to be displayed in thedatabase 3 according to the preset rule specifically includes:
the fault information to be displayed is directly stored in thedatabase 3.
It should be noted that when the user needs to read a single piece of fault information, a corresponding instruction, for example, a single piece of display instruction, is input through the fault display unit 4. The fault display unit 4 sends a single display instruction to thelogic processing unit 1, and thelogic processing unit 1 determines fault information to be displayed from the fault information according to the single display instruction and corresponding preset logic. The preset logic corresponding to the single display instruction is to determine the fault information with the earliest fault time in the fault information received by thelogic processing unit 1 this time as the fault information to be displayed, and of course, the specific rule of the preset logic in the actual application may be determined according to the actual situation, for example, the fault information with the earliest fault time in a certain time range may be determined as the fault information to be displayed, which is not particularly limited herein.
When the display instruction is a single display instruction, the to-be-displayed fault information is sent to the fault diagnosis unit 2 after the to-be-displayed fault information is determined by the to-be-logic processing unit 1, and then the to-be-displayed fault information is sent to thedatabase 3 for storage by the fault diagnosis unit 2.
Preferably, when the number of the fault information with the earliest fault time is multiple, correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic corresponding to the display instruction is as follows:
and selecting the fault information with the highest fault grade from the fault information with the earliest fault time as the fault information to be displayed.
Specifically, in the above case, there may be a plurality of pieces of fault information with the earliest fault time, and when the number of pieces of fault information with the earliest fault time is multiple, that is, when there are two or more pieces of fault information with the earliest fault time, the preset logic is to determine the fault information with the highest fault level in the pieces of fault information with the earliest fault time as the fault information to be displayed. Of course, the specific rule of the preset logic in the actual application may be determined according to the actual situation, for example, the specific fault information of a certain level may be determined as the fault information to be displayed.
Preferably, the process of displaying the fault content specifically includes:
and displaying the fault content through a main interface of the display unit.
It should be noted that, when the fault content of a single piece of fault information is displayed, the fault content can be displayed through the main interface of the display unit so as to be conveniently viewed by the user. Of course, the display may also be performed through other interfaces according to the actual requirements of the user, and the present invention is not limited specifically herein.
Preferably, the display instruction is a plurality of display instructions;
correspondingly, the process of determining the fault information to be displayed from the fault information according to the preset logic is as follows:
sequencing all fault information according to the sequence of fault time;
determining a preset number of pieces of fault information as to-be-displayed fault information, wherein the preset number is calculated from the earliest time fault information in the code list;
the process of storing the fault information to be displayed in thedatabase 3 according to the preset rule specifically includes:
storing a preset number of pieces of fault information into adatabase 3 in a page form;
the fault codes of the fault information to be displayed are fault codes corresponding to a preset number of pieces of fault information respectively.
It should be noted that, according to different user requirements, a user may need to read not only a single piece of fault information but also multiple pieces of fault information. When a user needs to read a plurality of pieces of failure information, the user can input a corresponding display instruction through the failure display unit 4, for example, a plurality of display instructions, the fault display unit 4 sends the plurality of display instructions to the logic processing unit 1, the logic processing unit 1 determines fault information to be displayed from the fault information according to the plurality of display instructions and according to preset logic corresponding to the instructions, specifically, the logic processing unit 1 sorts all the fault information received by the logic processing unit according to the sequence of the fault time, for example, the fault information with the earliest fault time is arranged in the first line, the logic processing unit 1 determines a preset number of pieces of failure information from the first piece as failure information to be displayed, transmits the preset number of pieces of failure information to the logic processing unit 1, sending fault codes corresponding to all pieces of fault information to be displayed to a fault display unit 4; after receiving the plurality of pieces of fault information to be displayed, the fault diagnosis unit 2 sends the plurality of pieces of fault information to be displayed to the database 3, and stores the plurality of pieces of fault information to the database 3 in a page form, after receiving the plurality of fault codes, the fault display unit 4 searches the database 3 according to the plurality of fault codes, finds out the fault information to be displayed corresponding to the plurality of fault codes, obtains fault contents corresponding to the plurality of pieces of fault information, and displays the fault contents to complete display of the plurality of pieces of fault information, wherein a specific display mode of the fault diagnosis unit can be displayed in a page form.
Preferably, the predetermined number is 10.
Specifically, the 10 pieces of fault information with the earliest fault time are determined as the fault information to be displayed, the preset number is not limited to 10 pieces of fault information, the specific numerical value may be determined according to the actual situation, and the invention is not particularly limited herein.
Preferably, the process of displaying the fault content specifically includes:
and displaying the fault content in a page form through a first auxiliary interface of the display unit.
It should be noted that, when the fault contents of the plurality of pieces of fault information are displayed, the fault contents may be displayed through the first auxiliary interface of the display unit, and the display mode may be displayed in a page form for the user to view. Of course, the display may be performed through other interfaces or in other forms according to the actual needs of the user, and the present invention is not limited specifically herein.
Preferably, the system for diagnosing and displaying the fault of the urban rail transit vehicle is used when the data information is status information; then correspondingly:
thelogic processing unit 1 is also used for sending out the state information;
the fault diagnosis unit 2 is also used for receiving the state information and sending the state information to thedatabase 3 for storage;
and the fault display unit 4 is further configured to receive the state information, and display the state information through a second auxiliary interface of the fault display unit 4.
The above description describes the case when the data information is type a information, i.e. failure information, then when the data information received by thelogic processing unit 1 is type B information, i.e. state information, then thelogic processing unit 1 on one hand sends the state information to the failure diagnosis unit 2, so that the failure diagnosis unit 2 sends the state information to thedatabase 3 for storage; on the other hand, the state information is sent to the fault display unit 4, and the fault display unit 4 displays the state information through a second auxiliary interface of the unit after receiving the state information, so that the user can check the information conveniently.
It should be noted that, because the display interfaces of the fault information and the state information in the fault display unit 4 are different, the classified display of the data information is realized, which is more convenient for the user to know the category of the displayed information, and makes the work of the user more convenient.
Preferably, the status information comprises a combination of one or more of voltage, current and temperature.
It should be noted that, in practical applications, the information included in the status information may be determined according to practical situations, and is not limited to the above information, but may also include other information.
The invention provides a fault diagnosis and display system for urban rail transit vehicles, which stores fault information to be displayed sent by a logic processing unit into a database according to a preset rule through a fault diagnosis unit, searches the fault information to be displayed in the database through fault codes of the fault information to be displayed sent by the logic processing unit, acquires fault content of the fault information to be displayed, and displays the acquired fault content. Therefore, the fault diagnosis unit and the fault display unit correspond to the same database, when the database is updated, synchronous updating of the databases corresponding to the fault diagnosis unit and the fault display unit is achieved, operation and maintenance of the databases are facilitated, workload of workers is reduced to a certain extent, and human resources are saved.
It should also be noted that in this specification, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.