CN115756524A - Maintenance method of train display system and related equipment - Google Patents

Maintenance method of train display system and related equipment Download PDF

Info

Publication number
CN115756524A
CN115756524A CN202111028185.3A CN202111028185A CN115756524A CN 115756524 A CN115756524 A CN 115756524A CN 202111028185 A CN202111028185 A CN 202111028185A CN 115756524 A CN115756524 A CN 115756524A
Authority
CN
China
Prior art keywords
object code
firmware
preset
firmware object
maintenance
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.)
Pending
Application number
CN202111028185.3A
Other languages
Chinese (zh)
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.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute 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 CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN202111028185.3A priority Critical patent/CN115756524A/en
Publication of CN115756524A publication Critical patent/CN115756524A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present disclosure provides a maintenance method of a train display system and related equipment, the method comprising: detecting whether preset maintenance conditions are met or not in a boot stage before starting a Linux system; and if so, updating the first firmware object code of the train display by using the second firmware object code in the external memory. The technical scheme of the disclosure solves the problem that the rail transit train display system is inconvenient to update, avoids the problem that the system cannot normally operate after system failure, and greatly improves the reliability, maintainability and convenience of the train display system.

Description

Maintenance method of train display system and related equipment
Technical Field
The present disclosure relates to the field of train display maintenance technologies, and in particular, to a train display system maintenance method and related devices.
Background
The rail transit vehicle-mounted display device is a main human-computer interaction device on a driver platform of a train cab, is a key component influencing the driving safety, and the intelligent train display is more and more widely used.
With the increase of customers, the probability of crash of the Linux system in the using process is higher and higher, the system software realizes the functions of interacting with hardware and providing an application program execution environment, and once a problem occurs, the train display is in an unavailable state. Generally speaking, if system software finds that a bug is self-repairable in the running process, however, if the system is currently in the upgrading process, the system is in a low-defense state, and the upgrading is interrupted due to power failure, network interruption and the like, so that the system cannot run, and therefore a train display is in an unavailable state. When a train display usually breaks down, the train display is generally updated and restored in a serial port and network port mode, the operation is complex, and the premise is that an operating system needs to run normally.
Disclosure of Invention
In view of the above, the present disclosure is directed to a maintenance method of a train display system and related apparatus for solving the above problems.
In view of the above, a first aspect of the present disclosure provides a maintenance method for a train display system, including:
detecting whether preset maintenance conditions are met or not in a boot stage before starting a Linux system;
and if so, updating the first firmware object code of the train display by using the second firmware object code in the external memory.
Further, the preset maintenance condition includes: at least one of a first preset condition, a second preset condition and a third preset condition;
the first preset condition is as follows: presetting a touch action on the train display;
the second preset condition is as follows: pressing a preset button;
the third preset condition is as follows: there is a designated external memory.
Further, the detecting whether the preset maintenance condition is met includes:
sequentially judging whether the first preset condition, the second preset condition and the third preset condition are met;
when at least one of the first preset condition, the second preset condition and the third preset condition is met, updating a first firmware object code of the train display by using a second firmware object code in an external memory;
otherwise, starting the Linux system.
Further, the updating the first firmware object code of the train display by using the second firmware object code in the external memory includes:
judging whether the firmware name and the firmware size corresponding to the second firmware object code in the established directory in the external memory are the same as those corresponding to the first firmware object code, and if so, writing a firmware update package containing the second object firmware code into a preset memory address;
judging whether kernel mirror image head information of the firmware update package is the same as kernel head information of a Linux system or not, judging whether a CRC value of the external memory is the same as a CRC value of the Linux system or not, and if the CRC values are the same, erasing a Flash area in the Linux system, wherein the Flash area stores the first firmware object code, by using an erasing function;
and reading the second firmware object code from the firmware update package, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
Further, the method further comprises:
and responding to a backup system instruction input by a user and an access request of an external memory, and transmitting the second firmware object code of the external memory to an address of a preset backup area of the Linux system for storage.
Further, the method further comprises:
responding to a restoration system instruction input by a user, and erasing a Flash area storing the first firmware object code in the Linux system through an erasing function;
reading the second firmware object code from the first address of the preset backup area to a preset memory address by using a reading function;
and reading the second firmware object code in the memory, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
Further, the erasing, by an erase function, a Flash area in the Linux system, where the first firmware object code is stored, in response to a system restoring instruction input by a user, before further comprising:
reading a starting state word of the Linux system in a boot stage before the Linux system is started;
and judging whether the starting state word is a preset abnormal state word, if so, sending a prompt of the last operation abnormality of the system to a user and determining a system restoring instruction.
Further, the reading the second firmware object code in the memory, and writing the second firmware object code into the Flash area storing the first firmware object code through a write-burn function, and then further includes:
and judging whether the running state of the Linux system is converted from the abnormal state into the normal state or not, and if so, updating the starting state word into a preset normal state word.
Based on the same inventive concept, a second aspect of the present disclosure provides a maintenance device of a train display system, including:
a maintenance detection module: the method comprises the steps of detecting whether preset maintenance conditions are met or not at a boot stage before the start of the Linux system;
a system update module: and the first firmware object code of the train display is updated by utilizing the second firmware object code in the external memory if the preset maintenance condition is met.
Based on the same inventive concept, a third aspect of the present disclosure provides a train display, comprising a display panel, a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the method of the first aspect when executing the program.
As can be seen from the foregoing, the maintenance method and the related device for the train display system provided by the present disclosure perform maintenance on the system in the guidance stage of the train display system, including system update, system backup and system restore, without requiring kernel loading of the operating system. When any one of the three maintenance conditions is met, a user is prompted to select which maintenance is to be performed on the system, the running state of the operating system is not required, and the train display system can be updated. In addition, the train display system is backed up and restored, so that the normal running state can be quickly recovered after the system fails, and the train display system is always in an available state.
Drawings
In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method of maintaining a train display system in accordance with an embodiment of the present disclosure;
FIG. 2 is a flow chart of updating a train display system according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a restore of a train display system according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a maintenance device of a train display system according to an embodiment of the disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It is to be noted that technical terms or scientific terms used in the embodiments of the present disclosure should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the disclosure is not intended to indicate any order, quantity, or importance, but rather to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items.
As discussed in the background section, existing solutions for maintaining a train display system are also difficult to meet. In the process of implementing the present disclosure, the applicant finds that the following problems exist in the prior art: the train display system can update the operating system only on the premise of normal operation, and adopts the updating and recovering modes of serial ports and network ports, so that the operation is complex, the workload of workers is increased, and more time is wasted; in addition, when the system is updated, the system cannot run due to power failure and network interruption, and unrepairable system bugs occur, so that the system of the train display is also paralyzed, the train display cannot be used, and the normal operation of the train is seriously influenced.
In view of the above considerations, the embodiment of the present disclosure provides a maintenance method for a train display system, which is performed in a Bootloader (Bootloader) layer, and does not need to rely on normal operation of the train display system, so long as one of three preset system maintenance conditions is met, a user can update, backup or restore the system according to actual needs, thereby ensuring that the train display system is always in an available state.
Hereinafter, the maintenance method of the train display system provided by the present disclosure is further described in detail by specific examples.
Referring to fig. 1, a maintenance method of a train display system according to an embodiment of the present disclosure specifically includes the following steps:
step S101, in a boot stage before the Linux system is started, whether a preset maintenance condition is met or not is detected.
In this step, first, the operation information of the user is obtained, where the operation information of the user may be pressing a key (for example, pressing a "2" key), touching a display screen (for example, continuously touching the display screen 5) and accessing an external memory (for example, accessing a 128G usb disk), and then determining whether the operation of the user meets a preset maintenance condition.
And S102, if the preset maintenance condition is met, updating the first firmware object code of the train display by using the second firmware object code in the external memory.
In this step, as long as the obtained user operation information satisfies any maintenance condition, the system maintenance can be triggered, and a maintenance instruction prompt is displayed on the display screen, and the maintenance instruction prompt can be set according to actual conditions, for example: please select the following system maintenance function-1, update the system; 2. a backup system; 3. and (5) restoring the system.
It should be noted that the second firmware object code in the external memory is a new firmware object code, and the first firmware object code is an old firmware object code in the train display. And inputting a 1 selection updating system by a user according to the maintenance instruction prompt, accessing the external memory into the train display, and updating the first firmware object code by using the second firmware object code in the external memory.
Specifically, the first firmware object code and the second firmware object code both include: bottom software object code, application configuration file and system configuration file; wherein the underlying software object code comprises: bootLoader, device tree, kernel, and file system.
Therefore, the method of the embodiment is carried out on the Bootloader layer, the train display system can be updated without normal operation of an operating system, the problem that the train display is inconvenient to update is solved, and the maintainability, reliability and convenience of the train display are improved.
In some embodiments, the preset maintenance condition includes: at least one of a first preset condition, a second preset condition and a third preset condition;
the first preset condition is as follows: presetting touch control action on the train display;
the second preset condition is as follows: pressing a preset button;
the third preset condition is as follows: there is a designated external memory.
It is easy to understand that, if a user continuously touches a preset area of the train display for a preset number of times, and if the user presses a preset key of the train display for a preset number of times, the user accesses an external memory of a preset supplier identification code (Vendor ID, VID) and a preset Product identification code (Product ID, PID) to the train display, and a condition for maintaining the system can be triggered.
Specifically, for example: if the user continuously touches the upper right corner area of the display screen of the display for 5 times, the touch maintenance condition is met; if the user presses the '2' key on the train display for 6 times, the key maintenance condition is met; in another example, the user would have a U disk with VID _046D and PID _ C05A & REV _6900 whose VID and PID are consistent with the preset values, which triggers the access maintenance condition.
In some embodiments, the step S101 may specifically include the following steps:
step S1011, sequentially determining whether the first preset condition, the second preset condition, and the third preset condition are satisfied.
Step S1012, when at least one of the first preset condition, the second preset condition, and the third preset condition is satisfied, updating a first firmware object code of the train display with a second firmware object code in an external memory; otherwise, starting the Linux system.
In some embodiments, with reference to fig. 2, the step S102 may specifically include the following steps:
step S1021, determining whether the firmware name and the firmware size corresponding to the second firmware object code in the established directory in the external memory are the same as the firmware name and the firmware size corresponding to the first firmware object code, and if so, writing the firmware update package including the second firmware object code into a preset memory address.
In this step, when the firmware name and the firmware size corresponding to the second firmware object code in the predetermined directory in the external memory are not the same as at most one of the firmware name and the firmware size corresponding to the first firmware object code, the user is prompted that the firmware name or the firmware size of the firmware update package is not the same.
Step S1022, determining whether the kernel mirror image header information of the firmware update package is the same as the kernel header information of the Linux system, and determining whether a Cyclic Redundancy Check (CRC) value is the same as the CRC value of the Linux system, if so, erasing the Flash area storing the first firmware object code in the Linux system by using an erasing function.
In this step, the kernel mirror header information and the kernel header information include: version information, service type, packet length, packet identification, protocol type, source IP, destination IP, source port number, destination port number, sequence number, acknowledgment number, and window size.
It should be noted that the usb flash disk calculates a CRC value and sends the CRC value to the train display along with the firmware update packet data, and the train display recalculates the CRC value for the received firmware update packet data and compares the calculated CRC value with the received CRC value, if the two CRC values are different, it indicates that an error occurs in data communication. In addition, the erase function may select a Flash erase function.
Step S1023, reading the second firmware object code from the firmware update package, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
In this step, since the storage of Flash is in a paging mode, and the size of each page is fixed, the firmware update package data needs to be read into the memory according to the size of the page, and then the second firmware object code is written into the Flash area storing the first firmware object code through the Flash write function. In addition, when the hardware platform changes, the size of the programming function and the paging size are changed accordingly.
And when the programming is finished, the system updating is finished, and the operating system can normally run by restarting.
In some embodiments, step S102 may be further followed by:
and responding to a backup system instruction input by a user and an access request of an external memory, and transmitting the second firmware object code of the external memory to an address of a preset backup area of the Linux system for storage.
In this embodiment, the backup system mainly backs up the firmware of the train display, adds a dedicated backup area on the original system partition for storing the firmware object code, and transmits the second firmware object code in the usb disk to the address of the backup area for storage.
In some embodiments, referring to fig. 3, step S102 may be further followed by the steps of:
step S301, in response to a system restoring instruction input by a user, erasing a Flash area storing the first firmware object code in the Linux system through an erasing function.
In the step, after the user confirms the restoration system by touching the display panel, the Flash area storing the first firmware object code in the Linux system is erased by the Flash erase function.
Step S302, using a read function to read the second firmware object code from the first address of the preset backup area to a predetermined memory address.
In this step, the read function may be a Flash write function, and it should be noted that the erase function, the write function, and the read function may all be selected according to actual situations, which is not specifically limited herein.
Step S303, reading the second firmware object code in the memory, and writing the second firmware object code into the Flash area storing the first firmware object code through a programming function.
In this step, the firmware restoration can be completed by obtaining the first address of the partition table storing the second firmware object code and writing the second firmware object code into the Flash area storing the first firmware object code through the Flash write function.
In some embodiments, referring to fig. 3, the foregoing step S301 may further include the following steps before:
step S304, reading the starting state word of the Linux system in the boot stage before the Linux system is started.
In this step, the startup status word is stored in Flash and used for judging whether the Linux system is normally started.
Step S305, determining whether the start status word is a preset abnormal status word, and if so, sending a previous abnormal operation prompt of the system to the user and determining to restore the system instruction.
In this step, the abnormal status word may be set to 0xaa, if the start status word is the abnormal status word, it indicates that the last system loading fails or an abnormal interrupt is generated when the program is updated, otherwise, it indicates that the last system start is normal. When the status word at this time is 0xaa, the user is prompted through the display screen: if the system is abnormal in last operation and needs to be restored, if the user selects yes, the system is restored, namely, steps S301 to S303 are executed.
In some embodiments, in conjunction with fig. 3, the foregoing step S303 may further include the following steps:
step S306, determining whether the operating state of the Linux system is converted from the abnormal state to the normal state, and if so, updating the start state word to a preset normal state word.
In this step, the normal status word may be set to 0xbb, and after the system is restored, that is, after steps S301 to S303 are performed, the train display system can normally operate, the abnormal status word 0xaa at this time is corrected to 0xbb.
It should be noted that the method of the embodiments of the present disclosure may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the devices may interact with each other to complete the method.
It should be noted that the above describes some embodiments of the disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any embodiment, the disclosure also provides a maintenance device of the train display system.
Referring to fig. 4, the maintenance apparatus of the train display system includes:
the maintenance detection module 401: the method is configured to detect whether preset maintenance conditions are met in a boot stage before the Linux system is started.
The system update module 402: and the first firmware object code of the train display is updated by utilizing the second firmware object code in the external memory if the preset maintenance condition is met.
As an optional embodiment, the preset maintenance condition includes: at least one of a first preset condition, a second preset condition and a third preset condition; the first preset condition is as follows: presetting a touch action on the train display; the second preset condition is as follows: pressing a preset button; the third preset condition is as follows: there is a designated external memory.
As an optional embodiment, the maintenance detecting module 401 is specifically configured to sequentially determine whether the first preset condition, the second preset condition, and the third preset condition are met; when at least one of the first preset condition, the second preset condition and the third preset condition is met, updating a first firmware object code of the train display by using a second firmware object code in an external memory; otherwise, starting the Linux system.
As an alternative embodiment, the foregoing system updating module 402 is specifically configured to: judging whether the firmware name and the firmware size corresponding to the second firmware object code in the established directory in the external memory are the same as those corresponding to the first firmware object code, and if so, writing a firmware update package containing the second object firmware code into a preset memory address; judging whether kernel mirror image head information of the firmware update package is the same as kernel head information of a Linux system or not, judging whether a CRC value of the external memory is the same as a CRC value of the Linux system or not, and if the CRC values are the same, erasing a Flash area in the Linux system, wherein the Flash area stores the first firmware object code, by using an erasing function; and reading the second firmware object code from the firmware update package, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
As an alternative embodiment, referring to fig. 4, the maintenance apparatus further includes a system backup module 403, configured to respond to a backup system command input by a user and an access request of an external memory, and transmit the second firmware object code of the external memory to an address of a preset backup area of the Linux system for storage.
As an alternative embodiment, referring to fig. 4, the maintenance apparatus further includes a system restoring module 404, configured to respond to a restoring system instruction input by a user, and erase, by an erasing function, a Flash area in the Linux system where the first firmware object code is stored; reading the second firmware object code from the first address of the preset backup area to a preset memory address by using a reading function; and reading the second firmware object code in the memory, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
As an alternative embodiment, the aforementioned system restoring module 404 is further configured to, in a boot phase before the Linux system is started, read a start state word of the Linux system; and judging whether the starting state word is a preset abnormal state word, if so, sending a prompt of the last operation abnormality of the system to a user and determining a system restoring instruction.
As an optional embodiment, the system restoring module 404 is further configured to determine whether the operating state of the Linux system is converted from an abnormal state to a normal state, and if so, update the start-up status word to a preset normal status word.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations of the present disclosure.
The device of the above embodiment is used for implementing the maintenance method of the train display system corresponding to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment, the disclosure further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, the method for maintaining the train display system according to any embodiment is implemented.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
The bus 1050 includes a path to transfer information between various components of the device, such as the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only the components necessary to implement the embodiments of the present disclosure, and need not include all of the components shown in the figures.
The electronic device of the above embodiment is used for implementing the maintenance method of the train display system corresponding to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-described embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the maintenance method of the train display system according to any of the above-described embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the maintenance method of the train display system according to any one of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the present disclosure, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the disclosure. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the present disclosure, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present disclosure are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that the embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures, such as Dynamic RAM (DRAM), may use the discussed embodiments.
The disclosed embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalents, improvements, and the like that may be made within the spirit and principles of the embodiments of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A method of maintaining a train display system, comprising:
detecting whether preset maintenance conditions are met or not in a boot stage before starting a Linux system;
and if so, updating the first firmware object code of the train display by using the second firmware object code in the external memory.
2. The maintenance method according to claim 1, wherein the preset maintenance condition includes: at least one of a first preset condition, a second preset condition and a third preset condition;
the first preset condition is as follows: presetting touch control action on the train display;
the second preset condition is as follows: pressing a preset button;
the third preset condition is as follows: there is a designated external memory.
3. The maintenance method according to claim 2, wherein the detecting whether the preset maintenance condition is met comprises:
sequentially judging whether the first preset condition, the second preset condition and the third preset condition are met;
when at least one of the first preset condition, the second preset condition and the third preset condition is met, updating a first firmware object code of the train display by using a second firmware object code in an external memory;
otherwise, starting the Linux system.
4. The maintenance method according to claim 1, wherein the updating the first firmware object code of the train display with the second firmware object code in the external memory comprises:
judging whether the firmware name and the firmware size corresponding to the second firmware object code in the established directory in the external memory are the same as those corresponding to the first firmware object code, and if so, writing a firmware update package containing the second object firmware code into a preset memory address;
judging whether kernel mirror image head information of the firmware update package is the same as kernel head information of a Linux system or not, judging whether a CRC value of the external memory is the same as a CRC value of the Linux system or not, and if the CRC values are the same, erasing a Flash area in the Linux system, wherein the Flash area stores the first firmware object code, by using an erasing function;
and reading the second firmware object code from the firmware update package, and writing the second firmware object code into a Flash area storing the first firmware object code through a programming function.
5. The method of claim 1, further comprising:
and responding to a backup system instruction input by a user and an access request of an external memory, and transmitting the second firmware object code of the external memory to an address of a preset backup area of the Linux system for storage.
6. The method of claim 5, wherein the method further comprises:
responding to a restoration system instruction input by a user, and erasing a Flash area storing the first firmware object code in the Linux system through an erasing function;
reading the second firmware object code from the first address of the preset backup area to a preset memory address by using a reading function;
and reading the second firmware object code in the memory, and writing the second firmware object code into a Flash area for storing the first firmware object code through a programming function.
7. The method of claim 6, wherein the erasing the Flash area of the Linux system storing the first firmware object code by an erase function in response to a restore system instruction input by a user further comprises:
reading a starting state word of the Linux system in a boot stage before the Linux system is started;
and judging whether the starting state word is a preset abnormal state word, if so, sending a prompt of the last operation abnormality of the system to a user and determining a system restoring instruction.
8. The method of claim 6, wherein reading the second firmware object code in the memory and writing the second firmware object code into a Flash area storing the first firmware object code by a write-burn function further comprises:
and judging whether the running state of the Linux system is converted from the abnormal state into the normal state or not, and if so, updating the starting state word into a preset normal state word.
9. A maintenance device for a train display system, comprising:
a maintenance detection module: the method comprises the steps of detecting whether preset maintenance conditions are met or not at a boot stage before the start of the Linux system;
a system update module: and the first firmware object code of the train display is updated by utilizing the second firmware object code in the external memory if the preset maintenance condition is met.
10. A train display comprising a display panel, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the method of any one of claims 1 to 8.
CN202111028185.3A 2021-09-02 2021-09-02 Maintenance method of train display system and related equipment Pending CN115756524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111028185.3A CN115756524A (en) 2021-09-02 2021-09-02 Maintenance method of train display system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111028185.3A CN115756524A (en) 2021-09-02 2021-09-02 Maintenance method of train display system and related equipment

Publications (1)

Publication Number Publication Date
CN115756524A true CN115756524A (en) 2023-03-07

Family

ID=85332280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111028185.3A Pending CN115756524A (en) 2021-09-02 2021-09-02 Maintenance method of train display system and related equipment

Country Status (1)

Country Link
CN (1) CN115756524A (en)

Similar Documents

Publication Publication Date Title
US11392461B2 (en) Method and apparatus for processing information
US8499295B2 (en) Microcontroller firmware running from RAM and applications of the same
KR102147970B1 (en) Method of reparing non-volatile memory based storage device and operation method of electronic system including the storage device
US9205809B2 (en) Vehicle unit and method for operating the vehicle unit
WO2013103023A1 (en) Information processing device, information processing method, and computer program
US9262283B2 (en) Method for reading kernel log upon kernel panic in operating system
CN110502357B (en) Stack backtracking method, device, medium and equipment
CN101183345B (en) Apparatus and method for controlling operation processing in nonvolatile memory
US9448889B2 (en) BIOS failover update with service processor
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
KR102331926B1 (en) Operation method of host system including storage device and operation method of storage device controller
CN113064748B (en) Process succession method, device, electronic equipment and storage medium
CN113377392B (en) System capable of updating firmware in background and method for updating firmware in background
CN114765051A (en) Memory test method and device, readable storage medium and electronic equipment
US9852028B2 (en) Managing a computing system crash
CN114443442B (en) Log storage method and electronic equipment
CN115756524A (en) Maintenance method of train display system and related equipment
CN114968644A (en) System software dump method and device, electronic equipment and readable storage medium
CN111258617B (en) Electronic equipment
CN113778485A (en) System operation method and device of electronic chip, electronic chip and storage medium
CN113961370A (en) Method, device, server and storage medium for communication between BMC and BIOS
CN111382009B (en) Automatic system maintenance method and computer equipment with automatic maintenance function
US9128873B2 (en) Memory bus attached input/output (‘I/O’) subsystem management in a computing system
JP5277217B2 (en) Information processing apparatus and computer program
CN117827547B (en) Method and system for recovering touch abnormality of vehicle-mounted display screen, 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