CN100447752C - Electronic recovery system and method - Google Patents

Electronic recovery system and method Download PDF

Info

Publication number
CN100447752C
CN100447752C CNB2006101645108A CN200610164510A CN100447752C CN 100447752 C CN100447752 C CN 100447752C CN B2006101645108 A CNB2006101645108 A CN B2006101645108A CN 200610164510 A CN200610164510 A CN 200610164510A CN 100447752 C CN100447752 C CN 100447752C
Authority
CN
China
Prior art keywords
setting
electronic system
memory module
destination apparatus
restoration methods
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
Application number
CNB2006101645108A
Other languages
Chinese (zh)
Other versions
CN1979437A (en
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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Publication of CN1979437A publication Critical patent/CN1979437A/en
Application granted granted Critical
Publication of CN100447752C publication Critical patent/CN100447752C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An electronic system capable of automatically recovering from an abnormal condition. The electronic system comprises a target device, a memory module, a driving device and a processor. The memory module stores a plurality of settings for the target device. The driving device directs operations of the target device according to the settings stored in the memory module. The processor, coupled to the driving device, checks the settings in the memory module to determine whether the settings have been abnormally changed and corrects the settings in the memory module when the settings have been abnormally changed.

Description

Electronic system and restoration methods
Technical field
The invention relates to a kind of electronics recovery system, and particularly relevant for a kind of method (ELECTRONIC SYSTEM AND RECOVERYMETHOD) that electronic system can be recovered automatically from abnormality.
Background technology
Electronic installation may be because of various reasons such as design mistakes and is entered abnormality.Can comprise in the electronic system that a large amount of assemblies is to reach the function of expection.In general, can built-in at least one memory module, for example buffer or random access memory (Random Access Memory, RAM) impact damper in electronic system.The data that are stored in the memory module only change according to some signal.Yet it is may be because of manufacturing process variation and static discharge etc. former thereby by abnormal change to be stored in data in the memory module.Therefore, electronic system may cause fault or work as machine because of incorrect data in the memory module.Therefore, a kind of electronic system that can detect abnormality automatically and can recover from abnormality automatically of desired design.
Summary of the invention
In view of this, the invention provides a kind of electronic system that can automatically recover from abnormality, comprise destination apparatus, memory module, drive unit and processor.Memory module is in order to store the setting in the destination apparatus.Drive unit drives described destination apparatus according to the setting that is stored in the memory module.Processor is coupled to drive unit, in order to check the setting in the memory module, whether is subjected to unusual change to judge setting, and proofreaies and correct the setting in the memory module when setting is subjected to abnormal change.
Moreover, the invention provides a kind of restoration methods, be applicable to electronic system is recovered from abnormality automatically, wherein electronic system has drive unit and destination apparatus, comprise: check the setting that is stored in the memory module, to judge whether to take place abnormality, wherein drive unit drives destination apparatus according to setting; And the setting in the correction memory module when abnormality takes place.
Description of drawings
Fig. 1 shows the synoptic diagram according to the described electronic system of the embodiment of the invention.
Fig. 2 shows according to the described process flow diagram with electronic system automatic method of recovering from abnormality of the embodiment of the invention.
Fig. 3 shows the synoptic diagram according to the described electronic system of the embodiment of the invention, and electronic system in this embodiment is a mobile phone.
Fig. 4 shows the synoptic diagram of the mobile phone software system architecture of mobile phone shown in Figure 3.
Fig. 5 shows according to the described state machine in order to the designing driver logic of the embodiment of the invention.
The primary clustering symbol description
10,30~electronic system; 12,32~processor;
122~processing unit; 124~programmed memory;
126~input/output interface; 14~drive unit;
142,362~memory module; 16~destination apparatus;
18~wireless receiver; 34~radio-frequency (RF) transceiver;
342~antenna; 36~lcd driver;
38~LCD panel; 44~operating system;
421,422~application program; 423~test procedure;
461,462,463~device driver.
Embodiment
For above and other objects of the present invention, feature and advantage can be become apparent, cited below particularlyly go out preferred embodiment, and cooperate appended graphicly, be described in detail below:
Embodiment:
Below will introduce according to preferred embodiment of the present invention.Mandatory declaration be, the invention provides many applicable inventive concepts, disclosed specific embodiment only is that explanation is reached and used ad hoc fashion of the present invention, and is unavailable to limit the scope of the invention.
Fig. 1 shows the synoptic diagram according to the described electronic system 10 of the embodiment of the invention, comprises processor 12, drive unit 14 and destination apparatus 16.Processor 12 comprises processing unit 122, programmed memory 124 and input/output interface 126.Processing unit 122 is carried out the program code that is stored in the programmed memory 124, and links up with destination apparatus 16 through input/output interface 126 and drive unit 14.Drive unit 14 comprises memory module 142, and for example buffer drives the setting of destination apparatus 16 in order to storage processor 12.Memory module 142 comprises at least one buffer, and wherein the setting of buffer comprises the environmental variance of direct control destination apparatus 16.When initial electronic system 10, processing unit 122 is carried out the initial program code that is stored in the programmed memory and is come setting in the initial storage module 142, and destination apparatus 16 is operated normally.Moreover in the operating period of electronic system 10, processor 12 can be in the setting in changing memory module 142 in case of necessity, makes destination apparatus 16 be operable in the pattern of expectation or makes the function of destination apparatus 16 carry out desired.When the setting in the setting memory module 142, the backup of processor 12 storing and setting is as reference settings.Processor 12 captures the setting of memory modules 142, and the setting and the reference settings that are captured are carried out relatively, whether is subjected to unusual change to judge the setting in the memory module 142 according to comparative result.When the setting that is captured and reference settings are inconsistent (setting in the memory module 142 is subjected to unusual change), processor 12 will replace setting in the memory module 142 with reference settings.It should be noted that does not need settings all in the memory module 142 to be saved as reference settings or settings all in the memory module 142 and reference settings are carried out relatively.Demand according to design, the setting of part in the memory module 142 can be saved as reference settings, same, only need compare partly setting and reference settings in the memory module 142, thus, can accelerate to detect the speed of abnormality step in given time, to finish in real time.The step that processor 12 inspection memory modules 142 are set can periodically or only be carried out when incident is triggered.For example, when destination apparatus 16 was display module, processor 12 can be carried out the setting of checking when upgrading in the memory module 142 in memory module 142.Moreover when destination apparatus 16 operated in park mode (sleep mode) and is waken up, processor 12 can be checked the setting in the memory module 142.Electronic system 10 more comprises wireless receiver 18.The wireless receiver 18 that is coupled to processor 12 is the receiving cycle signal periodically, and processor 12 check the setting in the memory modules 142 time can with the time unifying of periodic signal, wherein wireless receiver can for gsm module and periodic signal for dividing a page signal (paging signal).
Fig. 2 shows that wherein electronic system comprises drive unit and destination apparatus according to the described process flow diagram that makes electronic system automatic method 200 of recovering from abnormality of the embodiment of the invention.Method 200 can see through processor carry out the batch processing code or in be built in the logical circuit in the drive unit and realize.In step S202, see through and check a plurality of settings that are stored in the memory module judge whether memory module abnormality takes place, and wherein drive unit is according to the operation that is stored in the setting indicating target device in the memory module, and memory module can comprise environmental variance.The setting that is captured from memory module is carried out relatively with the previous a plurality of reference settings that store, and wherein reference settings is for carrying out the copy of being preserved when setting to the setting of memory module during initial or operation store module.If the setting that from memory module, captured and reference settings is inconsistent promptly represents the data in the internal memory to be subjected to unusual change.When the setting that is captured from memory module and reference settings are inconsistent, the step S204 of manner of execution 200.When the setting that is captured from memory module was consistent with reference settings, method 200 was got back to step S202, to detect abnormality once more.Can periodically check the setting of memory module whether abnormality to take place according to hardware or software timer to judge memory module.In addition, also can trigger the setting of checking memory module according to incident.For example, when destination apparatus was display module, trigger can comprise refresh display or wake drive unit up.Moreover, check that the setting in the memory module can be alignd with the periodic signal that wireless receiver was received of electronic system to judge the time whether memory module abnormality takes place, wherein wireless receiver is that gsm module and periodic signal are a minute page signal.In addition, do not need to store settings all in the memory module in the reference settings, the setting that only needs to store part in the memory module gets final product.Moreover, owing to do not need relatively more all settings when carrying out relatively, make that step relatively is quick more and can in given time, finish the setting that from memory module, captured and reference settings.In step S204, when memory module generation abnormality, can see through with the setting in the reference settings replacement memory module and to memory module and carry out correction.Then after step S204, method 200 is got back to step 202, to continue to detect abnormality.The present invention can be used in many application systems.
Fig. 3 shows the synoptic diagram according to the described electronic system 30 of the embodiment of the invention, wherein electronic system 30 is a mobile phone, comprise processor 32, be coupled to radio frequency (the radio frequency of antenna 342, RF) transceiver (transceiver) 34, LCD (liquid crystal display, LCD) driver 36 and LCD panel 38.Fig. 4 shows the synoptic diagram by the mobile phone software system architecture of the performed mobile phone 30 of processor 32.In this embodiment, operating system 44 is just in executive utility 421 and 422 and test procedure 423.When application program 421 and 422 must be carried out communication with hardware unit, carry out corresponding device driver 461 and 462, make corresponding device that the function of expection can be provided.In the operation of reality, operating system 44 can have a plurality of layers, and wherein each layer can provide specific function.Application program 421 and 422 can comprise a plurality of functions that are recorded in the operating system 44, to activate corresponding function in incident or when interrupt taking place.Can use different tissue (organization) software in action in the telephone system.For example, operating system 44 can be the simple working management system, and the software in the action telephone system comprises many work.When the effort access hardware unit (for example keyboard of mobile phone), corresponding software driver can be activated, and handles so that request is carried out.
With reference to Fig. 3, lcd driver among Fig. 3 36 and LCD panel 38 can merge into that a module sells or as the single module that is contained in the processor 32.Lcd driver 36 comprises memory module 362, sets in order to store the buffer that can make 38 normal operations of LCD panel.For example, buffer can be noted down the setting of the form of expression pixel color, for example RGB555 or RGB666.For pixel color form RGB555, processor 32 is wherein represented redness with 5 positions with 16 colors of coming remarked pixel, represents green and represents blueness with 5 positions with 6 positions.For pixel color form RGB666, processor 32 is wherein represented redness with 6 positions with 18 colors of coming remarked pixel, represents green and represents blueness with 6 positions with 6 positions.In case of necessity, the initial or operating period of phone 30 is carried out setting to the buffer in the memory module 362 to processor 32 in action.When the buffer in the setting memory module 362, processor 32 is left reference settings with the backup of the setting of buffer.Processor 32 is set the buffer in the memory module 362 that is captured with reference settings and is carried out relatively.Owing to upgrade reference settings during the buffer of processor 32 in setting memory module 362, therefore set should be consistent with reference settings for the buffer that is captured from memory module 362.Therefore, when the setting of the buffer in the memory module 362 was changed unexpectedly, processor 32 can detect abnormality, and saw through with reference settings replacement buffer setting and to memory module 362 execution corrections.As mentioned above, processor 32 can be set or see through trigger event according to the inspection buffer of timer cycle and check the buffer setting.For example, when upgrading LCD panel 38 or waking lcd driver 36 up, check the setting of buffer.Moreover if mobile phone is the GSM mobile phone, because action telephone system can periodically be waken up receive dividing page signal, to judge whether incoming call is arranged when the park mode, wherein timer and paging signal alignment are with periodic inspection buffer setting.Therefore, can avoid extra power consumption.Can return park mode once more in order to ensure the GSM mobile phone, cycle of timer is set at surpasses the cycle of dividing page signal, for example 2,3 or 10 seconds.Moreover, in order to reduce power consumption, do not need to check all buffers set with and/or store the frame buffer of the Pixel Information of LCD panel 38.Choosing some buffer setting just can be in order to judge whether to take place abnormality.Seeing through the suitable cycle checks that buffer in the memory module 362 sets or choose suitable buffer and set and check, owing to reduced power consumption, thereby can improve the usefulness of GSM mobile phone.
Fig. 5 shows in order to the synoptic diagram of the state machine of choosing the lcd driver program, combines scrutiny program and recovery routine in the lcd driver program.When initial system (for example action telephone system of Fig. 3), driver procedure can enter LCD_IDLE_STATE state and these two states of LCD_INITIAL_STATE state, sets and numeric data code frame buffer (frame buffer) 53 with initial corresponding cache device.After initialization was finished, driver can enter LCD_STANDBY_STATE state 54.See through the setting timer in this embodiment and drive scrutiny program and recovery routine 51.When timer overtime (time out), scrutiny program and recovery routine enter the LCD_ESD_STATE state, and in this state, scrutiny program and recovery routine can be checked corresponding data in the setting of buffer and the LCD drive IC 36.When check result pointed out that buffer setting or other data are suffered unusual change, driver can enter LCD_IDLE_STATE state 521 and replacement lcd driver IC 36.Otherwise driver can be got back to LCD_STANDBY_STATE state 522, and in this state, other work can see through driver access lcd driver IC 36, for example drawing image 55 on LCD panel 38.After work was complete, driver can return LCD_STANDBY_STATE state 56.
Because mobile phone 30 is that the user is entrained for a long time, therefore be subjected to the destruction of ESD easily.When LCD panel 38 during as Trackpad, what such problem can be better is serious.When the setting in order to the buffer that stores color format is subjected to esd event and influence (for example, the setting value in the change buffer), LCD panel 38 can be affected immediately and show the setting of incorrect color format.In general, run into such situation mobile phone device 30 of must resetting, will reduce effective utilization thus.Though mobile phone 30 provides many ESD protection circuit to be subjected to the destruction of ESD to avoid mobile phone 30, yet mobile phone 30 also needs other mechanism to improve its robustness (robustness).The present invention can recover mobile phone 30 automatically from abnormality (for example ESD), with load that reduces the user and the effective utilization of improving mobile phone 30.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limiting scope of the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, thus protection scope of the present invention when with claim the person of being defined be as the criterion.

Claims (25)

1. electronic system, this electronic system are applicable to from an abnormality to be recovered automatically, and described electronic system comprises:
One destination apparatus;
One memory module, it is in order to store a plurality of settings of described destination apparatus;
One drive unit, it is in order to drive described destination apparatus according to the setting that is stored in the described memory module; And
One processor, it is coupled to described drive unit, in order to checking setting in the described memory module judging whether described setting is subjected to unusual change, and proofreaies and correct the setting in the described memory module when described setting is subjected to abnormal change.
2. electronic system as claimed in claim 1, it is characterized in that, described electronic system more comprises a wireless receiver, this wireless receiver is coupled to described processor, in order to receiving the one-period signal, wherein said processor detects the time whether described setting be subjected to abnormal change and aligns with described periodic signal.
3. electronic system as claimed in claim 2 is characterized in that, described wireless receiver is that a gsm module and described periodic signal are one fen page signal.
4. electronic system as claimed in claim 1 is characterized in that, when initial described electronic system, described processor is carried out one group of initial program code with the setting of initial storage in described memory module.
5. electronic system as claimed in claim 1, it is characterized in that, the described setting value of the near small part of described processor saves as a plurality of reference values, and described reference value and the setting that is stored in the described memory module are carried out relatively, whether is subjected to abnormal change to detect described setting.
6. electronic system as claimed in claim 5 is characterized in that, checks some described setting, makes the step of checking described setting to finish in a given time.
7. electronic system as claimed in claim 1 is characterized in that described memory module comprises at least one buffer, and described setting comprises in order to drive a plurality of environmental variances of described destination apparatus.
8. electronic system as claimed in claim 1 is characterized in that, described memory module comprises that a display memory and described setting comprise an image data format.
9. electronic system as claimed in claim 1 is characterized in that, the described setting of the periodic inspection of described processor.
10. electronic system as claimed in claim 1 is characterized in that, described processor is checked described setting when an incident of the described destination apparatus of operation takes place.
11. electronic system as claimed in claim 10 is characterized in that, described destination apparatus is a display module, and described incident is for upgrading described display module.
12. electronic system as claimed in claim 10 is characterized in that, described destination apparatus is a display module, and described incident is for waking described display module up.
13. a restoration methods, this method are applicable to an electronic system is recovered from an abnormality automatically, wherein said electronic system has a memory module, a drive unit and a destination apparatus, and described restoration methods may further comprise the steps:
Inspection is stored in a plurality of settings in this memory module, and to judge whether to take place described abnormality, wherein said drive unit drives described destination apparatus according to described setting; And
When taking place, described abnormality proofreaies and correct described setting.
14. restoration methods as claimed in claim 13 is characterized in that, checks the one-period signal alignment that described setting is received with the time that judges whether to take place described abnormality and a wireless receiver by described electronic system.
15. restoration methods as claimed in claim 14 is characterized in that, described wireless receiver is a gsm module, and described periodic signal is one fen page signal.
16. restoration methods as claimed in claim 13 is characterized in that, the described setting value of near small part saved as a plurality of reference values before this method more was included in and checks described setting.
17. restoration methods as claimed in claim 16 is characterized in that, is stored when the initial described electronic system to the described setting value of small part to be a plurality of reference values.
18. restoration methods as claimed in claim 16, it is characterized in that, check that described setting comprises the described setting of acquisition from described memory module, and the described setting and the described reference value that are captured are carried out relatively, whether be subjected to unusual change to detect described setting.
19. restoration methods as claimed in claim 18 is characterized in that, checks some described setting, makes the step of checking described setting to finish in a given time.
20. restoration methods as claimed in claim 13 is characterized in that, described memory module comprises at least one buffer, and described setting comprises in order to drive a plurality of environmental variances of described destination apparatus.
21. restoration methods as claimed in claim 13 is characterized in that, described memory module comprises that a display memory and described setting comprise an image data format.
22. restoration methods as claimed in claim 13 is characterized in that, checks that described setting is to judge whether that described abnormality takes place periodically to be carried out.
23. restoration methods as claimed in claim 13 is characterized in that, checks that described setting is to judge whether that described abnormality takes place to be carried out when an incident of the described destination apparatus of operation takes place.
24. restoration methods as claimed in claim 23 is characterized in that, described destination apparatus is a display module, and described incident is for upgrading described display module.
25. restoration methods as claimed in claim 23 is characterized in that, described destination apparatus is a display module, and described incident is for waking described display module up.
CNB2006101645108A 2005-12-06 2006-12-06 Electronic recovery system and method Expired - Fee Related CN100447752C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US74259505P 2005-12-06 2005-12-06
US60/742,595 2005-12-06
US11/462,081 2006-08-03

Publications (2)

Publication Number Publication Date
CN1979437A CN1979437A (en) 2007-06-13
CN100447752C true CN100447752C (en) 2008-12-31

Family

ID=38130615

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101645108A Expired - Fee Related CN100447752C (en) 2005-12-06 2006-12-06 Electronic recovery system and method

Country Status (1)

Country Link
CN (1) CN100447752C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4835671A (en) * 1986-09-19 1989-05-30 Nippondenso Co., Ltd. Communication control unit providing isolation of failure condition of electronic control unit
CN1119305A (en) * 1994-08-05 1996-03-27 汤姆森消费电子有限公司 Automatic instrument turn off/on for error correction
JP2001297359A (en) * 2000-04-14 2001-10-26 Omron Corp Electronic equipment and electronic equipment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4835671A (en) * 1986-09-19 1989-05-30 Nippondenso Co., Ltd. Communication control unit providing isolation of failure condition of electronic control unit
CN1119305A (en) * 1994-08-05 1996-03-27 汤姆森消费电子有限公司 Automatic instrument turn off/on for error correction
JP2001297359A (en) * 2000-04-14 2001-10-26 Omron Corp Electronic equipment and electronic equipment system

Also Published As

Publication number Publication date
CN1979437A (en) 2007-06-13

Similar Documents

Publication Publication Date Title
EP3522508B1 (en) Recovery method for power-on failure of terminal device, and terminal device
CN101884029B (en) Multithreaded processor with lock indicator
CN100401820C (en) Cellular phone and operational mode switching method thereof
CN101470615B (en) Single-key controlled method for automatically repairing system configuration
US11071085B2 (en) Apparatus and method for forming event picture in mobile communication terminal
CN101751876A (en) Software solution to LCD (liquid crystal display) display problem caused by ESD (electro-static discharge)
CN107172304A (en) A kind of mobile terminal power consumption detection method and mobile terminal
US10871972B2 (en) Method for loading driver during terminal starting up and terminal device
CN100447752C (en) Electronic recovery system and method
TWI310555B (en) Electronic system and recovery method
US9652259B2 (en) Apparatus and method for managing register information in a processing system
CN106598323B (en) Method and device for eliminating touch screen fault and mobile terminal
CN101923503B (en) Method for regulating internal parameters of internal storage and computer system using same
CN101646227A (en) Power management method for mobile terminal and mobile terminal
US20110320875A1 (en) Information terminal and information processing method
CN106598656A (en) Mobile terminal and starting method and apparatus for banned application therefor
CN100367147C (en) Method and device for setting working clock by detecting state of BIOS
CN108646909A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN114510374A (en) Automatic recovery system and method for peripheral mounting failure
CN107193556B (en) Linux lower-level input method
CN106658556A (en) Data receiving method and mobile terminal
CN109271284A (en) A kind of fault recovery method, device and the equipment of server boot subregion
KR100455766B1 (en) Method of notifying any defects in mobile phone
JP2000293408A (en) Reset counting process system for process system
CN115878360A (en) Stability information processing method, apparatus, medium, and device

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: 20081231

Termination date: 20181206