CN108762961A - Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal - Google Patents

Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal Download PDF

Info

Publication number
CN108762961A
CN108762961A CN201810460241.2A CN201810460241A CN108762961A CN 108762961 A CN108762961 A CN 108762961A CN 201810460241 A CN201810460241 A CN 201810460241A CN 108762961 A CN108762961 A CN 108762961A
Authority
CN
China
Prior art keywords
apterium
event information
display terminal
failure
memory
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
CN201810460241.2A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201810460241.2A priority Critical patent/CN108762961A/en
Publication of CN108762961A publication Critical patent/CN108762961A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of failure retrogressive methods of display terminal, include the following steps:A part of region is divided in the physical memory of display terminal and is defined as apterium, for storing event information;Obtain the event information in the apterium;When the event information of end position is non-reset information in the apterium, then the display terminal failure is judged.The invention also discloses a kind of computer readable storage medium and a kind of display terminals, all software actions or application state are more comprehensive in the system that the scheme of the failure retrogressive method of display terminal of the present invention is recorded or stored by the apterium, various details will not be omitted because webserver data pressure is excessive, realize High Precision Monitor and backtracking;Meanwhile in a manner of collection event information under line, network server is not depended on, the event information of failure will not be acquired because of suspension.

Description

Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal
Technical field
The present invention relates to fault detection technique field more particularly to failure retrogressive method, the Yi Zhongji of a kind of display terminal Calculation machine readable storage medium storing program for executing and a kind of display terminal.
Background technology
Embedded system has been widely used for all kinds of intelligent display terminals, such as television set at present, wherein having very one big It is (SuSE) Linux OS to divide.Due to substantial amounts, when abnormal failure occur in these systems, acquisition fault message is one The very difficult thing of part, especially to the exception that occurs once in a while or be that the information of exceptional reset, task deadlock etc is collected more Add intractable.
In the prior art, since the operating system of display terminal is generally by Wi-Fi connection internet, so usually utilizing Network server is acquired or is monitored in real time to event information.But drawback is when display terminal substantial amounts Wait, the data pressure of server end is very big, can not System analyze thousands of online equipment, cause data volume low, Or real-time is low as a result, it is difficult to capture the event information of transient failure;And when occurring abnormal, probably due to suspension, To not acquire the event information of failure.
Furthermore it is also possible to add additional hardware module in display terminal, or utilize the Flash flash memories of display terminal Carry out the information that catchs the exception in real time, while generating record file, and carries out roller acquisition and recording.This mode data are not easy to lose It loses, reliability is high, and real-time is good;But it needs to increase additional hardware cost, and Flash devices are unfavorable for rushing repeatedly for a long time Brush, otherwise will be greatly reduced the service life of Flash flash memories;Which usually only uses in high-end devices, and also needs to consider empty Between and radiate.
Invention content
The main purpose of the present invention is to provide a kind of failure retrogressive methods of display terminal, it is intended to solve in the prior art Utilize network server acquisition or monitor event information.But server end may or suspension excessive because of data pressure, it is difficult to acquire To event information, data volume is low, and real-time is low.
To achieve the above object, the present invention provides a kind of failure retrogressive method of display terminal, includes the following steps:Aobvious Show that a part of region is divided in the physical memory of terminal is defined as apterium, for recording and storing event information;It obtains described naked Event information in area then judges the display when event information of end position is non-reset information in the apterium Terminal fault;When judging the display terminal failure, calls the event information for recording and storing in the apterium and preserve to sudden strain of a muscle To realize that failure is recalled in depositing.
Preferably, described to divide a part of region in the physical memory of display terminal and be defined as apterium, for recording simultaneously Store event information the step of include:In the kernel portion of the physical memory, to predeterminable area without virtual address Distribution, and the predeterminable area is defined as apterium.
Preferably, described to divide a part of region in the physical memory of display terminal and be defined as apterium, for recording simultaneously It is further comprising the steps of after the step of storing event information:Judge the original position in the apterium with the presence or absence of label; When there is label, then the system is judged for thermal starting, and call the content in the apterium;When there is no label, then The system is judged for cold start-up, and fills label in the original position.
Preferably, described when there is label, then the system is judged for thermal starting, and calls the content in the apterium The step of or it is described when there is no label when, then judge the system for cold start-up, and label is filled in the original position The step of after, further include:The event information in the apterium is traversed, and the end position in the apterium is marked.
Preferably, the event information in the traversal apterium, and the end position in the apterium is marked The step of after, further include:The apterium is written into the event information or reads the event information from the apterium.
Preferably, described that the apterium is written into the event information or reads the event information from the apterium Step includes:When the event information is written into, the timestamp when event information is written is obtained, and by the timestamp It is added in the event information;It is read out in the event information, parses the event information, and obtain the event letter The content of breath and the timestamp.
Preferably, described that the apterium is written into the event information or reads the event information from the apterium It is further comprising the steps of after step:When the memory in the apterium is filled with, the event letter of initial position in the apterium is deleted Breath, to store new event information in the end position;When the memory in the apterium is not filled with, then by the end position Backward along moving one, to store new event information.
Preferably, described to delete the event information of initial position in the apterium when the memory in the apterium is filled with, with It, then will be described in the step of end position stores new event information or described when the memory in the apterium is not filled with End position backward along moving one, the step of to store new event information before, further include:By predetermined fraction in the apterium Event information be saved in flash memory.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with fault detection program on storage medium, is realized when the fault detection program is executed by processor as any one of above-mentioned The step of failure retrogressive method of the display terminal.
In addition, to achieve the above object, the present invention also provides a kind of display terminal, institute as above is carried on the display terminal The computer readable storage medium stated is stored with fault detection program, the failure inspection on the computer readable storage medium The step of failure retrogressive method of the display terminal as described in any one of above-mentioned is realized when ranging sequence is executed by processor.
Failure retrogressive method, display terminal and the computer readable storage medium of display terminal provided by the invention, pass through A part of region is divided in the physical memory of display terminal and is defined as apterium, for storing event information, then is obtained described naked Event information in area, when the event information for detecting end position in the apterium is non-reset information, then described in judgement Display terminal failure.Recording medium is the physical memory in display terminal, by collection event information under line, does not depend on network clothes Business device, will not acquire the event information of failure because of suspension;Own in the system for recording or storing by the apterium Software action or application state are more comprehensive, will not omit various details because webserver data pressure is excessive, realize high-precision Degree monitoring and backtracking.
Description of the drawings
Fig. 1 is the flow diagram of the failure retrogressive method first embodiment of display terminal of the present invention;
Fig. 2 is the flow diagram that step S10 is further refined in Fig. 1;
Fig. 3 is the flow diagram of the failure retrogressive method second embodiment of display terminal of the present invention;
Fig. 4 is the flow diagram of the failure retrogressive method 3rd embodiment of display terminal of the present invention;
Fig. 5 is the flow diagram of the failure retrogressive method fourth embodiment of display terminal of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of failure retrogressive method of display terminal of the present invention;
Fig. 7 is the flow diagram of the failure retrogressive method sixth embodiment of display terminal of the present invention;
Fig. 8 is the flow diagram that step S70 is further refined in Fig. 7.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, the flow diagram of the failure retrogressive method first embodiment of display terminal of the present invention, the display is eventually The failure retrogressive method at end includes:
Step S10 divides a part of region in the physical memory of display terminal and is defined as apterium, for storing event letter Breath;
The present embodiment is by taking (SuSE) Linux OS as an example, when display terminal starts, is in and reflects in the physical memory of display terminal When the initial phase penetrated, physical memory is divided.A part of region is reserved in the physical memory, and by the region It is defined as apterium, the operation behavior trace for recording and storing all softwares in display terminal and state.In above process, Because of the limited storage space in apterium, in order to avoid there is redundancy, already recorded data should be well-designed, example Such as, the operation to Memory Test Start (memory test unlatching) and Memory Test End (memory test terminates) respectively When being acquired (Append), so that it may to leave operation trace in the apterium and be preserved, be similar to black box Characteristic, only import but no export.It is appreciated that (the either kernel portion or User Part of physical memory) can in any process Append is called in crucial program point, the response speed of Append is very fast, because of the physical memory where the apterium It is fast equipment, is not in the similar congestions at a slow speed such as network storage, Flash write-ins, so suitable in apterium space Under the premise of, elaboration can be captured with Append as far as possible.
It should be noted that technical scheme of the present invention is equally applicable in such as embedded operations such as VxWorks, QNX system On system, (SuSE) Linux OS and the not enough restriction of the present invention in pairs.
Step S20, obtains the event information in the apterium, and the event information of end position is non-in the apterium When repositioning information, then the display terminal failure is judged;
When it is a repositioning information to record the last item of event information in apterium, then being normal multiple before explanation Position;Conversely, being then exceptional reset before explanation, i.e., failure, the last item event information are then similar to display terminal in exception " dying words " before reset.In general, the value for getting " dying words " is the largest because display terminal into Exceptional reset, i.e. failure has occurred when the operation of row " dying words ".For example, found in apterium when starting there are effective content, And there is no reset message at record end, illustrate that exceptional reset occurred, Dump operations can be carried out, i.e., preserved apterium content It is primary to Flash.It only needs to carry out Dump when noting abnormalities, if it is normal reset to be recorded, it is not recommended that Dump.It avoids Flash flash memories are washed away repeatedly, to achieve the purpose that extend the service life of Flsha flash memories, reduce equipment cost.It will not make At similar congestions at a slow speed such as Flash write-ins etc..
Step S30 when judging the display terminal failure, calls the event information for recording and storing in the apterium and guarantor It deposits into flash memory to realize that failure is recalled;
When needing to read all records, (Dump) can be called to check in apterium the display terminal for recording and storing at any time In all softwares operation behavior trace and state.In above process, because physical memory is when display terminal powers on booting It will not be initialised, the data to be preserved in the apterium will not similarly be initialised, and the record in apterium also can It is saved always;So can still see that the display terminal last time is switched on from apterium after display terminal turns back on When all softwares operation behavior trace and state, with realize failure recall.
It is used for storage system event information by the physical memory of display terminal, establishing one in the present embodiment Apterium, recording medium are that the physical memory in display terminal does not depend on network server, no by collection event information under line The event information of failure can not be acquired because of suspension;All software actions in the system for recording or storing by the apterium Or application state is more comprehensive, will not omit various details because webserver data pressure is excessive, realize High Precision Monitor and Backtracking.Meanwhile Flash flash memories are not depended in the present embodiment equally to record, but recorded by physical memory, display terminal Physical memory will not all initialize when hanging dead or reset, just will when necessary to which the record in apterium can be also saved in always Record in apterium is saved in Flash flash memories, and calling is facilitated to check, will not directly be washed away, be prolonged repeatedly to Flash flash memories The service life of long Flsha flash memories;Without additional hardware module is increased, the cost of equipment is reduced.
It is further, described to divide a part of region in the physical memory of display terminal and be defined as apterium with reference to Fig. 2, Include for the step of storing event information:
S11:In the kernel portion of the physical memory, the distribution to predeterminable area without virtual address, and by institute It states predeterminable area and is defined as apterium;
It in the present embodiment,, can be to apterium due to the characteristic of " the block write-in " of Flash flash memories when planning apterium space Memory headroom take a suitable value so that the space of apterium memory is the integral multiple of Flash flash blocks, convenient to Flash Cooperation between flash memory and apterium is adjusted.In above process, because of the not directly externally mapping of apterium address, by kernel portion The read-write interface to apterium point is provided separately, because of the apterium individually isolated from physical memory, independently of memory management it Outside, so access can not be addressed, so that being substantially reduced by the probability that other software process is surprisingly trampled.
Further, reference Fig. 3, the flow diagram of the failure retrogressive method second embodiment of display terminal of the present invention, The present embodiment is based on above-mentioned embodiment shown in FIG. 1, described that a part of region definition is divided in the physical memory of display terminal It is further comprising the steps of after the step of storing event information for apterium:
S40:Judge the original position in the apterium with the presence or absence of label;
S50:When there is label, then the system is judged for thermal starting, and call the content in the apterium;
S60:When there is no label, then the system is judged for cold start-up, and fill label in the original position;
In this example it is shown that when terminal starts, check on the initial position on apterium with the presence or absence of label.If if It is not marked on detection initial position for the first time, then judges that display terminal for power-off reset or cold start-up, records in apterium at this time Event information without reference value, while on initial position be arranged a new label;If detection initial position for the first time On have label, then judge display terminal for exceptional reset or thermal starting, the event information recorded in apterium at this time has reference price Value then carries out Dump operations to the content in apterium, avoids staff from not checking the content recorded in apterium in time, cause naked By earliest record deletion when area's memory is filled with.It is appreciated that technical scheme of the present invention is equally applicable in other crucial positions The place of setting is marked, such as the end position in apterium is marked.For example, can be originated respectively to it, two, end position It sets and assigns particular value 0x5AA5.
It should be noted that no matter power-off reset, exceptional reset, cold start-up or thermal starting, not to the content in apterium It resets or initializes, retain the inside original sample data.Only one or more key positions, such as initial position or end position are done Special marking.
Further, reference Fig. 4, the flow diagram of the failure retrogressive method 3rd embodiment of display terminal of the present invention, The embodiment is based on above-mentioned embodiment shown in Fig. 3, described when there is label, then judges the system for thermal starting, and adjust With the step of content in the apterium or described when there is no label, then the system is judged for cold start-up, and described After original position fills the step of label, further include:
S70:The event information in the apterium is traversed, and the end position in the apterium is marked;
In the present embodiment, the event information in apterium is traversed, checks whether each node is in normal operating conditions.Together When end position in apterium be marked, end position is the latter position of the last item event recorded in apterium, When there is new message event to be recorded, the end position is then backward along shifting one.When end position can not move afterwards again, table Show that the memory headroom in apterium has been filled with, an earliest event information can be deleted at this time and stored newly for releasing space Event information.
Further, reference Fig. 5, the flow diagram of the failure retrogressive method fourth embodiment of display terminal of the present invention, The embodiment is based on above-mentioned embodiment shown in Fig. 4, the event information in the traversal apterium, and in the apterium After the step of end position is marked, further include:
S80:The apterium is written into the event information or reads the event information from the apterium;
In the present embodiment, apterium is built up in the kernel portion of physical memory, is provided to described naked by kernel code Event information is written in the apterium with realization or reads event information from the apterium by Read the and Write functions in area, Append and Dump interfaces are externally only provided.It should be noted that in the software of entire display terminal, can having ready conditions, it is naked to call Append the and Dump interfaces in area, for recording some critical datas, operation flowing water etc..
After system normal operation, (no matter user or kernel) can be in crucial program point tune in any process Use Append.For example, respectively to Memory Test Start (memory test unlatching) and Memory Test End (memory tests Terminate) operation when being acquired (Append), so that it may to leave operation trace in the apterium and be preserved, be similar to The characteristic of black box, only import but no export.
In above process, escape can also be carried out to the event information of record, does not use text entry mode, and used Digital record, to realize that the purpose for saving apterium memory space can be by means of tabling look-up when pending Dump operation calls data To translate the content in event information.
When needing to read all records, Dump can be called at any time.For example, finding exist in effectively in apterium when starting Hold, and there is no reset message at record end, illustrates that exceptional reset occurred, Dump operations can be carried out, i.e., by apterium content It is primary to be saved in Flash.It only needs to carry out Dump when noting abnormalities, if it is normal reset to be recorded, it is not recommended that Dump. It avoids washing away Flash flash memories repeatedly, to achieve the purpose that extend the service life of Flsha flash memories, reduces equipment cost.Also not It can cause similar congestions at a slow speed such as Flash write-ins etc..
In above process, if receive network request need to read or call in apterium the event information that records or Research staff reads or calls the event information recorded in apterium from telnet terminal requests, can also initiate Dump operations.With it is preceding Unlike face, at this time other than the content of the apteriums Dump, Flash can also be inquired, whether is also seen before having this reset Historical record, the event information that can be obtained with this Dump returns together.
Further, described that the apterium is written into or from the apterium described in reading in the event information with reference to Fig. 6 The step of event information includes:
S81:When the event information is written into, obtain be written the event information when timestamp, and will be described when Between stab and be added in the event information;
S82:It is read out in the event information, parses the event information, and obtain the content of the event information And the timestamp;
In the present embodiment, it storage size can limit according to actual needs and in apterium, in record event information When be added timestamp time, so as to staff can more intuitively find out display terminal carried out at what time what behaviour Make, it is more convenient.It is appreciated that when in display terminal, if when obtaining less than time, tick can also be used.
Further, reference Fig. 7, the flow diagram of the 5th embodiment of failure retrogressive method of display terminal of the present invention, The embodiment is based on above-mentioned embodiment shown in fig. 5, described by the event information write-in apterium or from the apterium It is further comprising the steps of after the step of reading the event information:
S90:When the memory in the apterium is filled with, the event information of initial position in the apterium is deleted, with described End position stores new event information;
S100:When the memory in the apterium is not filled with, then by the end position backward along moving one, to store newly Event information;
In the present embodiment, the read-write interface in apterium is designed by scroll mechanism, when apterium is fully written, can be picked automatically Except earliest data, it is newest that the moment, which keeps entire apterium data,.For example, end position is the last item recorded in apterium The latter position of event, when there is new message event to be recorded, the end position is then backward along shifting one.Work as last bit Set when can not move afterwards again, indicate that the memory headroom in apterium has been filled with, can delete at this time an earliest event information with New event information is stored in releasing space, i.e., directly covers oldest record, realizes that cycle is write with a brush dipped in Chinese ink.In above process, no With apterium is worried by Append how many times, because can add automatically last, if space is filled, can be automatically deleted earliest Record.
It is appreciated that can also directly come out the event information Dump recorded in apterium, a Flash flash memory is written, Then apterium is directly emptied, is recorded again.Because the event information recorded in apterium has all been saved in Flash flash memories, What which can more be stablized preserves the event information in display terminal.If it is more frequent usually to write with a brush dipped in Chinese ink apterium, It can be designed by scroll mechanism;If seldom writing apterium, the event information Dump recorded in apterium can be come out, write-in is primary Then Flash directly empties apterium, records again.
Further, reference Fig. 8, the flow diagram of the failure retrogressive method sixth embodiment of display terminal of the present invention, The embodiment is based on above-mentioned embodiment shown in Fig. 7,
It is described when the memory in the apterium is filled with, the event information of initial position in the apterium is deleted, with described End position stores the step of new event information or described when the memory in the apterium is not filled with, then by the last bit Set backward along moving one, the step of to store new event information before, further include:
S110:The event information of predetermined fraction in the apterium is saved in flash memory.
In the present embodiment, when system will shut down or close on restart when, it is also desirable to Append records are primary, by apterium The event information of middle storage deposits write-in flash, for marking this operation, normal termination, while avoiding and flash is made At washing away repeatedly.
In addition, the present invention also provides be stored on computer readable storage medium described in a kind of computer readable storage medium Fault detection program is realized when the fault detection program is executed by processor such as the display terminal as described in any one of above-mentioned The step of failure retrogressive method.The computer readable storage medium for storing fault detection program can be used for various intelligent families In electricity, and detect the fault message in different household electrical appliances.
In addition, the present invention also provides a kind of display terminal, with as described above computer-readable on the display terminal Storage medium is stored with fault detection program on the computer readable storage medium, and the fault detection program is by processor The step of failure retrogressive method of the display terminal as described in any one of above-mentioned is realized when execution.It is appreciated that the display Terminal can be television set, or other intelligent display terminals such as mobile phone, computer.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a display terminal (can be TV Machine, mobile phone, computer or other network equipments etc. with display function) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of failure retrogressive method of display terminal, which is characterized in that the failure retrogressive method of the display terminal include with Lower step:
A part of region is divided in the physical memory of display terminal and is defined as apterium, for recording and storing event information;
Obtain the event information in the apterium, when the event information of end position is non-reset information in the apterium, Then judge the display terminal failure;
When judging the display terminal failure, call the event information for recording and storing in the apterium and preserve in flash memory with Realize failure backtracking.
2. the failure retrogressive method of display terminal as described in claim 1, which is characterized in that the physics in display terminal A part of region is divided in memory and is defined as apterium, for recording and the step of storing event information includes:
In the kernel portion of the physical memory, the distribution to predeterminable area without virtual address, and by the preset areas Domain is defined as apterium.
3. the failure retrogressive method of display terminal as described in claim 1, which is characterized in that the physics in display terminal Divide a part of region in memory and be defined as apterium, for record and the step of store event information after, further include following step Suddenly:
Judge the original position in the apterium with the presence or absence of label;
When there is label, then the system is judged for thermal starting, and call the content in the apterium;
When there is no label, then the system is judged for cold start-up, and fill label in the original position.
4. the failure retrogressive method of display terminal as claimed in claim 3, which is characterized in that it is described when there is label, then The system is judged for thermal starting, and the step of calling the content in the apterium or described when there is no label, then judge The system is cold start-up, and after the step of original position fills label, further includes:
The event information in the apterium is traversed, and the end position in the apterium is marked.
5. the failure retrogressive method of display terminal as claimed in claim 4, which is characterized in that in the traversal apterium Event information, and after the step of end position in the apterium is marked, further include:
The apterium is written into the event information or reads the event information from the apterium.
6. the failure retrogressive method of display terminal as claimed in claim 5, which is characterized in that described to write the event information Enter the apterium or includes the step of reading the event information from the apterium:
When the event information is written into, the timestamp when event information is written is obtained, and the timestamp is added Into the event information;
Be read out in the event information, parse the event information, and obtain the event information content and it is described when Between stab.
7. the failure retrogressive method of display terminal as claimed in claim 5, which is characterized in that described to write the event information Enter the apterium or after the step of reading the event information in the apterium, it is further comprising the steps of:
When the memory in the apterium is filled with, the event information of initial position in the apterium is deleted, in the end position Store new event information;
When the memory in the apterium is not filled with, then by the end position backward along moving one, to store new event information.
8. the failure retrogressive method of display terminal as claimed in claim 7, which is characterized in that the memory when the apterium When being filled with, the event information of initial position in the apterium is deleted, to store the step of new event information in the end position Suddenly or it is described when the memory in the apterium is not filled with, then by the end position backward along moving one, to store new event Before the step of information, further include:
The event information of predetermined fraction in the apterium is saved in flash memory.
9. a kind of computer readable storage medium, which is characterized in that store faulty inspection on the computer readable storage medium Ranging sequence realizes such as display terminal described in any item of the claim 1 to 8 when the fault detection program is executed by processor Failure retrogressive method the step of.
10. a kind of display terminal, which is characterized in that with as claimed in claim 9 computer-readable on the display terminal Storage medium is stored with fault detection program on the computer readable storage medium, and the fault detection program is by processor The step of failure retrogressive method such as display terminal described in any item of the claim 1 to 8 is realized when execution.
CN201810460241.2A 2018-05-14 2018-05-14 Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal Pending CN108762961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460241.2A CN108762961A (en) 2018-05-14 2018-05-14 Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460241.2A CN108762961A (en) 2018-05-14 2018-05-14 Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal

Publications (1)

Publication Number Publication Date
CN108762961A true CN108762961A (en) 2018-11-06

Family

ID=64006830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460241.2A Pending CN108762961A (en) 2018-05-14 2018-05-14 Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal

Country Status (1)

Country Link
CN (1) CN108762961A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046765A (en) * 2006-03-29 2007-10-03 华为技术有限公司 Method for positioning fault of software
CN101071396A (en) * 2007-06-22 2007-11-14 中兴通讯股份有限公司 Method for setting system reset reason monitoring information and monitoring method
CN101149699A (en) * 2006-09-21 2008-03-26 中兴通讯股份有限公司 Method for reliably acquiring abnormal and repositioning information
CN101201770A (en) * 2006-12-15 2008-06-18 大唐移动通信设备有限公司 Method and system for storing important information before system collapse
CN103927240A (en) * 2014-05-06 2014-07-16 成都西加云杉科技有限公司 Information dumping method and device answering to software breakdown
US20160013992A1 (en) * 2014-07-11 2016-01-14 Vmware, Inc. Methods and apparatus to retire hosts in virtual server rack deployments for virtual computing environments
CN107544859A (en) * 2017-07-12 2018-01-05 上海交通大学 It is used for ensureing the inspection point methods of data consistency on mixing memory system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046765A (en) * 2006-03-29 2007-10-03 华为技术有限公司 Method for positioning fault of software
CN101149699A (en) * 2006-09-21 2008-03-26 中兴通讯股份有限公司 Method for reliably acquiring abnormal and repositioning information
CN101201770A (en) * 2006-12-15 2008-06-18 大唐移动通信设备有限公司 Method and system for storing important information before system collapse
CN101071396A (en) * 2007-06-22 2007-11-14 中兴通讯股份有限公司 Method for setting system reset reason monitoring information and monitoring method
CN103927240A (en) * 2014-05-06 2014-07-16 成都西加云杉科技有限公司 Information dumping method and device answering to software breakdown
US20160013992A1 (en) * 2014-07-11 2016-01-14 Vmware, Inc. Methods and apparatus to retire hosts in virtual server rack deployments for virtual computing environments
CN107544859A (en) * 2017-07-12 2018-01-05 上海交通大学 It is used for ensureing the inspection point methods of data consistency on mixing memory system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏广川,张笈: "《高级计算机结构技术及其应用》", 30 November 1998, 北京理工大学出版社 *

Similar Documents

Publication Publication Date Title
CN109522287B (en) Monitoring method, system, equipment and medium for distributed file storage cluster
CN108874624B (en) Server, method for monitoring Java process and storage medium
CN102117240B (en) A kind of method and device obtaining progress blocking information
EP3070591A1 (en) Cold and hot data identification threshold calculation method, apparatus and system
CN112230847B (en) Method, system, terminal and storage medium for monitoring K8s storage volume
CN110609778A (en) Method and system for storing server downtime log
CN113760652B (en) Method, system, device and storage medium for full link monitoring based on application
CN103473343A (en) File management method, device and terminal
CN110262917A (en) Host self-healing method, device, computer equipment and storage medium
CN115407943A (en) Memory dump file generation method, device and equipment and readable storage medium
CN105446848B (en) The test method and device of the data processing performance of electronic equipment
CN103778024A (en) Server system and message processing method thereof
CN117591327A (en) core file generation method and device, electronic equipment and storage medium
CN108762961A (en) Failure retrogressive method, display terminal and the readable storage medium storing program for executing of display terminal
CN111142787A (en) Storage-layered data exchange testing method, system, terminal and storage medium
CN111611138A (en) Log data capturing method and device, computer equipment and storage medium
CN116662285A (en) Storage method and device of server log, storage medium and electronic device
CN112579383A (en) Method and device for simulating system fault
CN115185778A (en) Database monitoring method and device
CN109614292A (en) Host operation data automatic collection monitoring system based on shell
CN114090382A (en) Health inspection method and device for super-converged cluster
CN111797032B (en) Storage structure, method, device, equipment and readable storage medium
CN104660968B (en) A kind of method using multi-memory card storage warning message
CN114884836A (en) High-availability method, device and medium for virtual machine
CN112540733A (en) Data management method and device, electronic equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication