CN1333345C - 可检测并清除一电子装置的应用数据的错误的方法 - Google Patents

可检测并清除一电子装置的应用数据的错误的方法 Download PDF

Info

Publication number
CN1333345C
CN1333345C CNB2004100861651A CN200410086165A CN1333345C CN 1333345 C CN1333345 C CN 1333345C CN B2004100861651 A CNB2004100861651 A CN B2004100861651A CN 200410086165 A CN200410086165 A CN 200410086165A CN 1333345 C CN1333345 C CN 1333345C
Authority
CN
China
Prior art keywords
application data
application
electronic installation
mistake
storer
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
CNB2004100861651A
Other languages
English (en)
Other versions
CN1667586A (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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Publication of CN1667586A publication Critical patent/CN1667586A/zh
Application granted granted Critical
Publication of CN1333345C publication Critical patent/CN1333345C/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/0793Remedial or corrective actions
    • 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/0706Error 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 the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error 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 the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0742Error 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 the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices

Abstract

一种可检测并清除存储于一电子装置的存储器的一区段的应用数据的错误的方法,其方法包含提供一应用程序于一电子装置,该应用程序包含一错误检查演算法,启动该应用程序,用以存取该应用数据,以及执行该错误检查演算法,用以检测该应用数据的错误。当该错误检查演算法检测出该应用数据的一错误时,仅清除该应用程序所存取的该应用数据。

Description

可检测并清除一电子装置的应用数据的错误的方法
技术领域
本发明提供一种可检测并清除应用数据的错误的方法,特别是指一种可检测并清除一电子装置的应用数据的错误的方法。
背景技术
当利用软件来运作电子装置时,软件所存取的应用数据很可能在某些地方会产生错误,电子装置的使用者可能在使用软件时不小心造成应用数据的错误,此外,也有可能由于其他硬件设备的问题,如存储器存取错误,亦会造成应用数据产生错误。
然而,一般解决应用数据有错误的方法就是将电子装置送回制造商处修理,而制造商处理的方式为将电子装置内所有的应用数据重新设定,但即使只有一应用程序的应用数据有错误,制造商仍需将所有应用程序的应用数据重新设定。除了将电子装置送回制造商以及清除应用数据这些麻烦之外,电子装置的数据的错误也会减少使用者对电子装置的信任。
发明内容
本发明提供一种可检测并清除一电子装置的应用数据的错误的方法,以解决上述的问题。
本发明公开一种可检测并清除存储于一电子装置的存储器的一区段的应用数据的错误的方法,其方法包含提供一应用程序于一电子装置,该应用程序包含一错误检查演算法,启动该应用程序,用以存取该应用数据,以及执行该错误检查演算法,用以检测该应用数据的错误。当该错误检查演算法检测出该应用数据的一错误时,仅清除该应用程序所存取的该应用数据。
本发明的优点在于不需要将电子装置送回制造商处以清除应用数据的错误,此外,仅需将单一应用程序的应用数据清除,因此可保留其他应用程序的应用数据。
附图说明
图1为本发明电子装置的存储器的示意图。
图2表示有错误的应用数据的目录。
图3为本发明检测应用数据错误的流程图。
附图符号说明
2存储器6错误检查演算法
8数据管理功能  A软件应用程序
B存储器区段
具体实施方式
本发明将一错误检查演算法置入一电子装置所执行的多个软件应用程序中,本发明可应用于任何一种电子装置,该电子装置包含一存储器,用来存储软件应用程序的应用数据,这些电子装置可为移动电话、个人数字助理、计算机等,并不局限于所列的装置。为了方便说明本发明,以下将以移动电话作为实施例说明的。
请参考图1,图1为本发明电子装置的存储器2的示意图,存储器2存储多个软件应用程序A,软件应用程序A所使用的应用数据存储于存储器2的多个区段B内。举例来说,存储器2的区段中标示为“区段1”者相对应于标示为“软件应用程序1”的软件应用程序,因此,标示为“软件应用程序1”的软件应用程序使用存储于存储器2标示为“区段1”中的数据。不同的软件应用程序A可包含不同功能,例如移动电话的电话簿或行事历。此外,本发明亦将一错误检查演算法6与一数据管理功能8置入每一软件应用程序A中,当执行其中一个软件应用程序A时,错误检查演算法6则自动地检测软件应用程序A所存取的应用数据中是否有错误,假如无错误,软件应用程序A将继续执行一般的程序。假如检测出错误时,以存储于标示为“区段1”的存储器2的应用数据为例,当标示为“软件应用程序1”的软件应用程序的错误检查演算法6检测出应用数据中的错误时,数据管理功能8将清除该应用数据并重新设定相对应的存储器2的区段B至起始状态,假如仅有软件应用程序1所使用的应用数据有错误,则不需要清除其他的存储器2的区段B的数据。换句话说,本发明不需要如常规技术将每一软件应用程序A的应用数据清除。
请参考图2,图2显示错误的应用数据的目录,该目录显示相对应于一电话簿软件应用程序的应用数据,电话簿中列出四个名字,一般来说,每一个名字应有相对应的电话号码,但「苏」这个名字却无相对应的电话号码,此问题可能为电子装置的硬件或软件问题所导致,当启动电话簿软件应用程序时,相对应的错误检查演算法6将检测出电话簿应用数据中的该错误,因此,错误检查演算法6可检测出相对应的软件应用程序正常运作时不应发生在应用数据中的逻辑上的错误。
为了阐明本发明的运作,请参考图3,图3为本发明检测应用数据错误的流程图,步骤如下:
步骤20:启动软件应用程序A。
步骤22:错误检查演算法6检测软件应用程序A所使用的应用数据是否有错误。
步骤24:假如错误检查演算法6检测出应用数据的错误,继续至步骤28;假如无检测出错误,继续至步骤26。
步骤26:由于错误检查演算法6未检测出错误,电子装置将继续执行软件应用程序A。
步骤28:执行数据管理功能8。
步骤30:确认电子装置的使用者是否想清除软件应用程序A所使用的应用数据,若为是,则至步骤34;若为否,则至步骤32。
步骤32:由于应用数据的错误未被修正,电子装置将于下次执行软件应用程序A时显示一错误信息于电子装置,以提醒使用者该应用数据仍存有错误。
步骤34:数据管理功能8清除软件应用程序A所使用的应用数据并重新设定存储该应用数据的存储器2的区段B至起始状态。
步骤36:重新启动电子装置以使改变后的应用数据生效。
为了方便重新设定数据,存储器2最好为一非易失性存储器,如闪速存储器。相较于先前技术,利用本发明来检测并移除应用数据的错误有许多的优点,举例来说,一旦启动软件应用程序A,可立即检测出应用数据中的错误,并通过减少存取具有错误的应用数据的存储器区段时软件应用程序A可能发生的损坏,用以增加软件应用程序A的稳定性。此外,由于使用者可立即清除有错误的应用数据,因此无须将电子装置送回制造商处,又由于错误可被检测出并可立即校正,其可增加使用者对电子装置的信任度。
使用者通常会将电子装置送至服务中心升级软件以清除任何软件的错误,对于居住于乡村的使用者而言,去服务中心是相当不方便的事,一但使用本发明后,使用者便无须立即去升级软件,因为本发明可检测出错误并校正错误,因此,使用者仅需在自己方便的时候去服务中心升级电子装置的软件。
总结,本发明使用一错误检查演算法来检测一软件应用程序所使用的应用数据中的错误,然后数据管理功能仅清除该软件应用程序所使用的应用数据,而重新设定存储该应用数据的存储器区段至起始状态。因此,电子装置不需要被送至制造商处来清除应用数据中的错误。此外,只有单一应用程序所使用的应用数据需要被清除,因此,可保留其他应用程序所使用的应用数据。
以上所述仅为本发明的较佳实施例,凡依本发明权利要求所进行的等效变化与修改,皆应属本发明的涵盖范围。

Claims (9)

1.一种可检测并清除一应用数据的错误的方法,该应用数据存储于一电子装置的一存储器的一区段中,其方法包含:
提供一应用程序于一电子装置,该应用程序包含一错误检查演算法;
启动该应用程序,用以存取该应用数据;
执行该错误检查演算法;以及
当该错误检查演算法检测出该应用数据的一错误时,仅清除该应用程序所存取的该应用数据。
2.如权利要求1所述的方法,其中于该存储器的该区段的该应用数据被清除后,重设该存储器的该区段至一起始状态。
3.如权利要求1所述的方法,其中于该应用数据被清除后,重新启动该电子装置。
4.如权利要求1所述的方法,其中该错误检查演算法检测出该应用数据中的该错误,为一逻辑错误。
5.如权利要求1所述的方法,其中该存储器为一非易失性存储器。
6.如权利要求5所述的方法,其中该存储器为一闪速存储器。
7.如权利要求1所述的方法,其中该电子装置为一移动电话。
8.如权利要求1所述的方法,其中该电子装置为一个人数字助理。
9.如权利要求1所述的方法,其中该电子装置为一计算机。
CNB2004100861651A 2004-03-14 2004-10-19 可检测并清除一电子装置的应用数据的错误的方法 Expired - Fee Related CN1333345C (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/708,601 2004-03-14
US10/708,601 US7213177B2 (en) 2004-03-14 2004-03-14 Method for detecting and eliminating errors in application data of an electronic device

Publications (2)

Publication Number Publication Date
CN1667586A CN1667586A (zh) 2005-09-14
CN1333345C true CN1333345C (zh) 2007-08-22

Family

ID=34919652

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100861651A Expired - Fee Related CN1333345C (zh) 2004-03-14 2004-10-19 可检测并清除一电子装置的应用数据的错误的方法

Country Status (3)

Country Link
US (1) US7213177B2 (zh)
CN (1) CN1333345C (zh)
TW (1) TWI248569B (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10061661B2 (en) * 2016-06-14 2018-08-28 International Business Machines Corporation Managing the execution of software applications running on devices having device functions

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742548A (en) * 1993-11-23 1998-04-21 Sgs-Thomson Microelectronics, S.A. Electrically modifiable non-volatile memory with write checking
US6298443B1 (en) * 1998-04-24 2001-10-02 Dell Usa, L.P. Method and system for supplying a custom software image to a computer system
US6446236B1 (en) * 1999-10-13 2002-09-03 Maxtor Corporation Reading encoded information subject to random and transient errors
CN1477801A (zh) * 2002-08-19 2004-02-25 上海贝尔有限公司 一种用于通信系统的基于自陷保护与调试装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6412083B1 (en) * 1999-09-16 2002-06-25 Western Digital Technologies, Inc. Disk drive that supports a list-requesting command for enabling a host computer to assist in rescuing a rescue-candidate location having a drive-unrecoverable data
US6349056B1 (en) * 2000-12-28 2002-02-19 Sandisk Corporation Method and structure for efficient data verification operation for non-volatile memories
US6931552B2 (en) * 2001-05-02 2005-08-16 James B. Pritchard Apparatus and method for protecting a computer system against computer viruses and unauthorized access

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742548A (en) * 1993-11-23 1998-04-21 Sgs-Thomson Microelectronics, S.A. Electrically modifiable non-volatile memory with write checking
US6298443B1 (en) * 1998-04-24 2001-10-02 Dell Usa, L.P. Method and system for supplying a custom software image to a computer system
US6446236B1 (en) * 1999-10-13 2002-09-03 Maxtor Corporation Reading encoded information subject to random and transient errors
CN1477801A (zh) * 2002-08-19 2004-02-25 上海贝尔有限公司 一种用于通信系统的基于自陷保护与调试装置

Also Published As

Publication number Publication date
TWI248569B (en) 2006-02-01
TW200530799A (en) 2005-09-16
US20050204203A1 (en) 2005-09-15
US7213177B2 (en) 2007-05-01
CN1667586A (zh) 2005-09-14

Similar Documents

Publication Publication Date Title
CN105893084B (zh) 版本升级方法及终端设备
TWI248579B (en) Method and system for restoring backup data
US7725889B2 (en) Mobile handset capable of updating its update agent
CN101719959B (zh) 移动终端关键文件自动备份和自动恢复的方法及装置
US8341386B2 (en) Method for updating basic input/output system and method for repairing thereof
US20070055969A1 (en) System and method for updating firmware
US7512777B2 (en) Method and system for maintaining system management BIOS
US7689981B1 (en) Mobile handset with efficient interruption point detection during a multiple-pass update process
CN101571807A (zh) 具有固件的系统及其启动方法
CN101308470A (zh) 主动恢复、备份及更新bios的电脑系统
CN108255524A (zh) 一种开机Logo显示方法、装置及嵌入式设备
CN102346673A (zh) 一种手机系统升级的方法及装置
CN106775610A (zh) 一种电子设备启动方法及一种电子设备
CN106325916A (zh) 一种gnss接收机系统升级方法
CN101196839A (zh) 双快闪只读存储器的数据修复与同步方法
CN1333345C (zh) 可检测并清除一电子装置的应用数据的错误的方法
CN104765631A (zh) 一种移动终端的应用程序恢复方法及装置
CN101464814A (zh) 一种嵌入式系统、嵌入式系统实现方法及嵌入式设备
CN108829455A (zh) 一种设备标识获取方法、装置及设备
CN101414284A (zh) 数据保护方法及其存取权限管理方法
CN103108070A (zh) 电话簿备份系统及其方法
CN112579346A (zh) 一种通过断电恢复出厂设置的方法
CN110109775A (zh) 虚拟机恢复方法、装置、终端设备及存储介质
TW201005643A (en) Backup system of embedded system for storing booting files in different storage sections and method thereof
KR20090005906A (ko) 휴대 단말기의 데이타 백업장치 및 방법

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070822

Termination date: 20091119