CN100347681C - System and method for promptly back-up operating recodings of user before system halted - Google Patents
System and method for promptly back-up operating recodings of user before system halted Download PDFInfo
- Publication number
- CN100347681C CN100347681C CNB2004100150541A CN200410015054A CN100347681C CN 100347681 C CN100347681 C CN 100347681C CN B2004100150541 A CNB2004100150541 A CN B2004100150541A CN 200410015054 A CN200410015054 A CN 200410015054A CN 100347681 C CN100347681 C CN 100347681C
- Authority
- CN
- China
- Prior art keywords
- control signal
- error message
- execution
- random access
- access 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 18
- 230000006870 function Effects 0.000 claims abstract description 7
- 238000003860 storage Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 3
- 238000009333 weeding Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a system and a method thereof for promptly backing up operation records for a user before a system halt. The system comprises an execution module, a central processing module, a random access memory and a flash memory, wherein the execution module receives control signals, executes the functions of the control signals, and generates error messages when the execution generates errors; the central processing module receives the control signals and the error messages, and distributes the control signals and the error messages; the random access memory receives and stores the control signals and the error messages; when an operation system generates system execution error messages, the flash memory stores the control signals, the error messages and the system execution error messages; when the central processing module receives the system execution error messages, the control signals in the random access memory, the error messages and the system execution error messages generated by the operation system are retrieved, and are written in the flash memory. Thereby, the present invention can achieve the purpose of promptly backing up the operation records of the user before a system halt.
Description
Technical field
The present invention is a kind of system and method thereof that backs up user's operation note, particularly a kind of system and method thereof that in time backs up user's operation note before deadlock.
Background technology
But all rely on as far as possible under the trend of computer executive's interface (PC, notebook computer, palmtop computer, panel computer and personal digital assistant etc.) in daily life at present, the deadlock of operating system causes work to carry out very big puzzlement really.
The reason that crashes is a lot, the instability that is attributable to computer part haply, the quality control that mainly is product is not good, under the demand of low-price computers, gets numerous consuming public's approval for fighting, manufacturer thereby reduce cost, cause the imbalance of some quality keyholed back plates, and computer part is all linked with one another, as long as one of them goes wrong, the deadlock situation emerges in an endless stream, and unique settling mode is changed it then for finding root-cause.
The problems referred to above belong to the problem of manufacture process, the deadlock reason that the consumption user can't grasp naturally, yet the generation of the situation that sometimes crashes, the user can not avoid suspicion, because when the user operates this operation-interface, often because wrong use habit or operation improperly, to cause the entanglement of system on carrying out, thereby cause operating system to carry out normally, when the user seeks help from the Engineering Service personnel by the time, also because originally be stored in the interior operation signal of random access memory from the user, and application program or the driver error message of sending, because the relation that crashes causes the information of operation note and relevant auxiliary debug to disappear in internal memory.Therefore, will have no way of learning whether the deadlock root rises because hardware problem also or the problem of user's operation, causes great puzzlement to user and maintenance of works personnel.
Summary of the invention
How the technical matters that institute of the present invention desire solves be after system in case of system halt, can retain auxiliary debug and from user's control signal, and the information of warning that program is sent in system's implementation or execution error.
In time back up the system and the method thereof of user's operation note before a kind of deadlock that the present invention proposes, its system comprises execution module, central processing module, random access memory and flash memory, wherein execution module receives control signal and carries out institute's function of dominant, and when making a mistake, execution produces error message, central processing module receives control signal and error message, and distribute control signal and error message, random access memory receives and stores control signal and error message, when flash memory produces system's execution error information in operating system, store control signal, error message and system's execution error information, thereby make central processing module when receiving system execution error information, obtain the control signal in the random access memory, system's execution error information that error message and operating system are sent, and write flash memory, finish the disclosed method flow of the present invention.
Utilize the present invention, can allow the service engineering personnel no longer be the reason in some manual operation, suspect the running of testing each position function then painstakingly, the consumption user also can be provided correct use consulting in addition, effectively get rid of hardware because the factor of haveing obstacles that the manual operation careless mistake causes, and promote the service quality of sales company, and then promote corporate image.
Description of drawings
Before crashing for the present invention discloses, in time backs up Fig. 1 the system architecture synoptic diagram of user's operation note;
Before crashing for the present invention discloses, in time backs up Fig. 2 the method flow diagram of user's operation note; And
Backup in time may cause the steering order of system in case of system halt and the method flow diagram of error message before Fig. 3 crashed for the present invention discloses.
Embodiment
Please refer to Fig. 1, illustrate that the present invention discloses the system architecture synoptic diagram of the preceding user of the backup in time operation note of crashing, it is applied on the computer executable platform, as PC, notebook computer, palmtop computer, panel computer and personal digital assistant etc., its module architectures includes execution module 100, central processing module 200, random access memory 300 and flash memory 400.
The control signal that central processing module 200 receives from the user, and execution module 100 error message of being sent, and distribute control signal and error message, be central processing unit (Central Processing Unit in the present embodiment, CPU, but the flow direction of its distributing signal, to finish the instruction that the user assigns, and the present invention also utilizes the distribution function of central processing module 200, receives from each application program and driver to back up because error message that execution error is sent and assigned address store; Its control signal is passed through the steering order that user's operation-interface 205 receives from the user, and by central processing module 200 steering order is dispensed into affiliated functional module execution.
(RAM 300 receives and stores control signal and error message to random access memory, because the access time is short than other internal memory, just access rate is very fast, and by first in first out (First In First Out, the storage principle of FIFO stores received control information and error message, when expiring (about 300) at capacity, the document weeding that stores at first, the initial point of its storage is to carry out immediately after user's start, automatically eliminate the data that includes after person to be used shuts down, press standby the intermediate user and enter the holding state (data that keeps internal memory during Suspended State.
Flash memory is (when Flash 400 produces system's execution error information in operating system 500, store control signal, error message and system execution error information, this also is emphasis of the present invention place, flash memory 400 belongs to non-voltile memory (Non-Volatile Random Access Memory, NVRAM, in case power supply disappears, the internal memory that data can not run off; Generally speaking, though non-voltile memory can the permanent storage data, but access speed is less than dynamic RAM (volatile memory (Volatile Memory such as DRAM, go up the quick storage characteristics of random access memory 300 so need collocation, the neither execution of delay system in program implementation can not erased the data in the internal memory because of power-off yet after deadlock; In addition, if the data quantity that writes is excessive, also follow first in first out, with the document weeding that storage is at first gone into, to preserve up-to-date data, the Engineering Service personnel are as the reference of deadlock reason evaluation after providing.
Please refer to Fig. 2, disclose the method flow diagram of the preceding user of the backup in time operation note of crashing for the present invention.
At first system receives control signal, and store control signal in random access memory 300 (step 110), this program is carried out when steering order is sent in each user's operation, because the quick storage characteristics of random access memory 300 is procrastinateed situation so can't cause in user's operation.
Then receive error message (step 120), and store error message, by all during operation control behaviors of this step record user, with the reference of judgement deadlock reason when crashing in the future in random access memory 300 (step 130); If do not have when receiving error message, flow process will be got back to system and be received control signal therebetween, and store control signal step of (step 110) in random access memory 300, with the reception of the next control signal that continues.
When operating system is carried out generation gross error, receive operating system 500 and send system's execution error information (step 140), and system's execution error information that control signal, error message and operating system 500 in the storage random access memory are sent is to this flash memory 400 (step 150), when system is about to crash, when each program is about to close, at any time the operation note data that stores at ordinary times is transferred in the non-voltile memory, behind this electronic device after current failure, the data of record user operation can be preserved, with the reference as Engineering Service personnel debug; If during the system execution error information that does not receive that operating system 500 sends, flow process will be got back to system and be received control signal, and store the step of control signal in random access memory 300 (step 110) therebetween.
The embodiment system module framework that spirit is extended according to the present invention also as shown in Figure 1, utilize two tables of comparisons, be respectively the signal table of comparisons and the error message table of comparisons, all be stored in the random access memory 300 of native system, its guiding may cause this operating system to carry out control signal and the error message that makes a mistake, carrying out backup in random access memory 300 stores, and the category setting of its control signal and error message is to pass through the research staff, data conclusion by the research and development test phase provides, so that the consumption user is when crashing in the use, the real machine memory content identification and analysis by the Engineering Service personnel provides the user correct consulting.
With reference to Fig. 3, for disclosing the preceding backup in time of crashing, the present invention may cause the steering order of system in case of system halt and the method flow diagram of error message, at first need set up the signal table of comparisons and the error message table of comparisons (step 210), this stage is made a living post-partum period during software set, the engineering staff is set up with as the foundation of removal of obstacle in the future at the software test result, but when computer executive's interface operation operation, receive control signal, and this control signal and this signal table of comparisons are compared (step 220), utilize this step guiding may cause operating system 500 to carry out the control signal that makes a mistake, if control signal does not meet the control signal (step 230) in the signal table of comparisons, then get back to the reception control signal, and this control signal and this signal table of comparisons are compared (step 220) step, then store control signal in random access memory 300 (step 240) if meet.
Please refer to Fig. 3, receive error message, and this error message and this error message table of comparisons are compared (step 250), utilize this step guiding may cause operating system 500 to carry out the error message that makes a mistake, if error message does not meet the error message (step 260) in the erropr message list, then get back to the reception control signal, and this control signal and this signal table of comparisons are compared (step 220) step, then store error message on random access memory 300 (step 270) if meet, again when operating system is carried out generation gross error, receiving system execution error information (step 280), and the control signal in the storage random access memory, system's execution error information that error message and operating system 500 are sent is to this flash memory 400 (step 290), if the system that do not receive carries out information, that is operating system 500 executing states are good at present, then get back to the reception control signal, and this control signal and this signal table of comparisons are compared the step of (step 220).
Therefore, can allow the service engineering personnel no longer be the reason in some manual operation by the present invention, suspect the running of testing each position function then painstakingly, the consumption user also can be provided correct use consulting in addition, effectively get rid of hardware because the factor of haveing obstacles that the manual operation careless mistake causes is increased work efficiency.
Claims (17)
1. the system of the preceding backup in time of deadlock user operation note is applied on the computer executable platform, it is characterized in that: include:
One execution module in order to receive a control signal, is carried out institute's function of dominant according to this control signal, and when this execution module execution makes a mistake, produces an error message;
One central processing module in order to receiving this control signal and this error message, and distributes this control signal and this error message;
One random access memory is in order to receive and to store this control signal and this error message; And
One flash memory when producing system execution error information in an operating system, stores this control signal, this error message and this system's execution error information;
Wherein this central processing module obtains this system's execution error information that this control signal, this error message and this operating system in this random access memory are sent, and writes this flash memory when receiving this system execution error information.
2. in time back up the system of user's operation note before the deadlock as claimed in claim 1, it is characterized in that: this random access memory is followed first in first out and is stored this control signal and this error message.
3. the system of backup user operation note in time before the deadlock as claimed in claim 1, it is characterized in that: this flash memory is followed first in first out and is stored this control signal, this error message and this system's execution error information.
4. the timely system of backup user operation note before the deadlock as claimed in claim 1 is characterized in that: it also comprises user's operation-interface in order to receiving a steering order, and produces a control signal.
5. the timely method of backup user operation note before the deadlock is characterized in that this method step includes:
Receive a control signal, and store this control signal on a random access memory;
Receive an error message, and store this error message on a random access memory; And
Receive system execution error information, and store this system's execution error information that this control signal, this error message and this operating system in this random access memory sends to this flash memory.
6. in time back up the method for user's operation note before the deadlock as claimed in claim 5, it is characterized in that: this control signal and this error message are followed first in first out and are stored on this random access memory.
7. in time back up the method for user's operation note before the deadlock as claimed in claim 5, it is characterized in that: this control signal, this error message and this system's execution error information are followed first in first out and are stored in this flash memory.
8. the system of the preceding backup in time of deadlock user operation note is applied on the computer executable platform, and it is characterized in that: this system includes:
One execution module in order to receive this control signal, is carried out its function according to this control signal, and when this execution module execution makes a mistake, produces an error message;
One random access memory in order to receiving and to store this control signal and this error message, and stores the signal table of comparisons and the error message table of comparisons;
One central processing module in order to receiving this control signal and this error message, and distributes this control signal and this error message according to this signal table of comparisons and this error message table of comparisons respectively;
One flash memory when producing system execution error information in an operating system, stores this control signal, this error message and this system's execution error information;
Wherein this central processing module obtains this system's execution error information that this control signal, this error message and this operating system in this random access memory are sent, and writes this flash memory when receiving this system execution error information.
9. in time back up the system of user's operation note before the deadlock as claimed in claim 8, it is characterized in that: this random access memory is followed first in first out and is stored this control signal and this error message.
10. in time back up the system of user's operation note before the deadlock as claimed in claim 8, it is characterized in that: this flash memory is followed first in first out and is stored this control signal, this error message and this system's execution error information.
11. in time back up the system of user's operation note before the deadlock as claimed in claim 8, it is characterized in that: this signal table of comparisons comprises more than one this control signal, carries out the backup storage in order to this control signal that guiding may cause this operating system execution to make a mistake in this random access memory.
12. in time back up the system of user's operation note before the deadlock as claimed in claim 8, it is characterized in that: this error message table of comparisons comprises more than one error message, may cause this operating system to carry out this error message that makes a mistake in order to guiding, carry out backup in this random access memory and store.
13. the timely method that backs up user's operation note before the deadlock is characterized in that this method step includes:
Set up a signal table of comparisons and an error message table of comparisons;
Receive a control signal, and this control signal and this signal table of comparisons are compared;
Judge whether this control signal meets this signal table of comparisons;
If the above-mentioned "Yes" that is judged as stores this control signal on a random access memory;
Receive an error message, and this error message and this error message table of comparisons are compared;
Judge whether this error message meets this error message table of comparisons;
If the above-mentioned "Yes" that is judged as stores this error message on a random access memory; And receive system execution error information, and this system's execution error information that stores this control signal, this error message and this operating system in this random access memory is to this flash memory,
If above-mentioned steps: judge whether this control signal meets this signal table of comparisons; Be judged as "No", then return step: receive a control signal, and this control signal and this signal table of comparisons are compared,
If above-mentioned steps: judge whether this error message meets this error message table of comparisons; Be judged as "No", then return step: receive a control signal, and this control signal and this signal table of comparisons are compared.
14. in time back up the method for user's operation note before the deadlock as claimed in claim 13, it is characterized in that: this control signal and this error message are followed first in first out and are stored in this random access memory.
15. in time back up the method for user's operation note before the deadlock as claimed in claim 13, it is characterized in that: this control signal, this error message and this system's execution error information are followed first in first out and are stored in this flash memory.
16. in time back up the method for user's operation note before the deadlock as claimed in claim 13, it is characterized in that: this signal table of comparisons comprises more than one this control signal, may cause this operating system to carry out this control signal that makes a mistake in order to guiding, in this random access memory, carry out backup and store.
17. in time back up the method for user's operation note before the deadlock as claimed in claim 13, it is characterized in that: this error message table of comparisons comprises more than one error message, may cause this operating system to carry out this error message that makes a mistake in order to guiding, carry out backup in this random access memory and store.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100150541A CN100347681C (en) | 2004-01-09 | 2004-01-09 | System and method for promptly back-up operating recodings of user before system halted |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100150541A CN100347681C (en) | 2004-01-09 | 2004-01-09 | System and method for promptly back-up operating recodings of user before system halted |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1641599A CN1641599A (en) | 2005-07-20 |
CN100347681C true CN100347681C (en) | 2007-11-07 |
Family
ID=34867892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100150541A Expired - Fee Related CN100347681C (en) | 2004-01-09 | 2004-01-09 | System and method for promptly back-up operating recodings of user before system halted |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100347681C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8645738B2 (en) | 2009-10-27 | 2014-02-04 | Nokia Corporation | Nonvolatile device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100495351C (en) * | 2006-04-13 | 2009-06-03 | 广达电脑股份有限公司 | Method for obtaining computer crash picture |
CN103559743A (en) * | 2013-10-24 | 2014-02-05 | 天瀚科技(吴江)有限公司 | Recording system for control behaviors of camera |
CN111240888A (en) * | 2020-03-01 | 2020-06-05 | 江苏华存电子科技有限公司 | Method for detecting access state and error of flash memory in real time |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04216152A (en) * | 1990-12-17 | 1992-08-06 | Nec Kyushu Ltd | Backup controller |
WO2004012060A2 (en) * | 2002-07-30 | 2004-02-05 | O2Micro, Inc. | Low power digital audio decoding/playing system for computing devices |
-
2004
- 2004-01-09 CN CNB2004100150541A patent/CN100347681C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04216152A (en) * | 1990-12-17 | 1992-08-06 | Nec Kyushu Ltd | Backup controller |
WO2004012060A2 (en) * | 2002-07-30 | 2004-02-05 | O2Micro, Inc. | Low power digital audio decoding/playing system for computing devices |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8645738B2 (en) | 2009-10-27 | 2014-02-04 | Nokia Corporation | Nonvolatile device |
Also Published As
Publication number | Publication date |
---|---|
CN1641599A (en) | 2005-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9122480B2 (en) | Sleep wake event logging | |
JP3106401B2 (en) | Information processing system | |
US20090006745A1 (en) | Accessing snapshot data image of a data mirroring volume | |
US7360045B2 (en) | System and method for backing up data from a quiesced storage device | |
CN1826590A (en) | Cache integrity apparatus, systems, and methods | |
EP0636979B1 (en) | Information processing system | |
CN110032465A (en) | A kind of BMC restarts log recording method and device | |
CN100347681C (en) | System and method for promptly back-up operating recodings of user before system halted | |
EP0636983A1 (en) | Information processing system | |
US7290172B2 (en) | Computer system maintenance and diagnostics techniques | |
CN1261876C (en) | Device with update and test BIOS | |
CN102455979A (en) | Data protection method for damaged memory cell | |
CN101000570A (en) | Computer platform power-on configuration memory backup processing method and system | |
CN100442253C (en) | A hot backup method for server data hot mirroring underlying driver | |
CN101819419B (en) | Active plc intelligent liquid crystal display | |
CN107506212B (en) | Method for dynamically loading sound card drive on real-time operating system | |
US20050097208A1 (en) | Node removal using remote back-up system memory | |
US20100115333A1 (en) | Dynamic driver loading for recovery boot media | |
EP0636980A1 (en) | Apparatus and method for hibernation file creation | |
CN119201762A (en) | A memory management method, device and apparatus for relay protection device | |
EP0636982B1 (en) | Information processing system and method | |
CN114398914A (en) | Method for detecting fault of electronic tag and related product | |
TWI224277B (en) | Method displaying redirected data on remote computer and computer system using the method | |
CN101055534A (en) | How to Get Computer Crash Screen | |
CN116795917A (en) | Magnetic disk lamp management method, magnetic disk lamp management device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071107 Termination date: 20160109 |