WO2012130043A1 - 一种手机数据处理方法和装置 - Google Patents

一种手机数据处理方法和装置 Download PDF

Info

Publication number
WO2012130043A1
WO2012130043A1 PCT/CN2012/072353 CN2012072353W WO2012130043A1 WO 2012130043 A1 WO2012130043 A1 WO 2012130043A1 CN 2012072353 W CN2012072353 W CN 2012072353W WO 2012130043 A1 WO2012130043 A1 WO 2012130043A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processing
processed
user
mobile phone
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.)
Ceased
Application number
PCT/CN2012/072353
Other languages
English (en)
French (fr)
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to EP12764832.7A priority Critical patent/EP2680549A4/en
Publication of WO2012130043A1 publication Critical patent/WO2012130043A1/zh
Priority to US14/039,507 priority patent/US20140031087A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1474Error detection or correction of the data by redundancy in operations in transactions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data

Definitions

  • the invention relates to a mobile phone data processing method and device.
  • the embodiment of the invention provides a mobile phone data processing method and device, which can improve the data processing speed, and at the same time, can ensure the consistency of the data after the cancellation process and the pre-processing mobile phone data during the processing.
  • a mobile phone data processing method comprising:
  • the stored handle identifier is cleared; if the instruction for canceling the processing by the user is not received, the data to be processed is processed after the process of storing the handle identifier of the data to be processed is completed. Perform unified processing.
  • a mobile phone data processing device comprising:
  • a pre-processing unit configured to traverse the data to be processed, and store the handle identifier of the data to be processed;
  • the determining unit configured to determine, in the process of storing, by the pre-processing unit, the handle identifier of the data to be processed The instruction that the user cancels the processing;
  • a first processing unit configured to: when the determining unit determines that the instruction for canceling the processing by the user is received, clear the stored handle identifier;
  • the second processing unit is configured to perform unified processing on the to-be-processed data after the process of storing the handle identifier of the to-be-processed data is completed, when the determining unit determines that the instruction for canceling the user is not received.
  • the embodiment of the present invention stores the handle identifier of the to-be-processed data when traversing the data to be processed, and after the storage of the handle identifier of the to-be-processed data is completed, the data to be processed is uniformly processed, which is
  • the embodiment of the present invention adopts a phased batch processing technology, so that the data processing speed can be improved and the user experience can be enhanced, and the embodiment of the present invention stores the In the handle identification process of processing data, once the user cancels the processing, the stored handle identifier is cleared. Since the data is not processed in the process of storing or clearing the handle identifier, it is ensured that the processing is canceled and the mobile phone is processed before processing. The consistency of the data, thus effectively solving the data loss or confusion caused by abnormal operations.
  • FIG. 1 is a schematic flowchart of a mobile phone data processing method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a mobile phone data processing device according to an embodiment of the present invention
  • Another structural schematic diagram of a mobile phone data processing device is also structural schematic diagram of a mobile phone data processing device.
  • a mobile phone data processing method provided by an embodiment of the present invention includes:
  • the mobile phone operation background The selected contact data is read one by one, and the handle identifiers of the selected contact data are stored in the process of reading, and each pending data is corresponding to a handle identifier.
  • the process of storing the handle identifier is performed one by one.
  • the types of mobile phone data that the user can select include, but are not limited to, contacts, short messages, files, etc., and the processing operations that the user can select include, but are not limited to, copying, cutting, deleting, backing up, importing, or exporting.
  • the stored handle identifier is cleared. Still taking the above operation of "delete selected contact” as an example, when the mobile phone displays the processing information of the deleted contact one by one to the user on the display interface, if the user finds that the data being processed is incorrect or suspicious, just click " Cancel the "Operation", the phone clears these stored handle IDs in the operation background. The process of clearing the handle identifier is also performed one by one. At this time, what the user sees on the display interface of the mobile phone is that the contact information is being deleted one by one, and the user can also see the processing progress on the display interface of the mobile phone. Processing progress can be displayed in the form of processing progress bars or completion rates.
  • the user may also pop up a prompt for successfully processing the data on the display interface of the mobile phone, but the data is not actually deleted, backed up, etc.
  • the mobile phone operation background performs unified processing on the to-be-processed data through the stored handle identifier, where the unified processing includes: copying, cutting, deleting, backing up, importing, or exporting Etc., but at this time, the background processing is not displayed to the user on the mobile phone display interface.
  • the mobile phone data processing method of the embodiment of the present invention stores the handle identifier of the to-be-processed data when traversing the data to be processed, and after completing the storage of the handle identifier of the to-be-processed data,
  • the data to be processed is processed in a unified manner, which is compared with the solution in which the processing of the data to be processed is processed one by one in the prior art.
  • the embodiment of the present invention adopts a staged batch processing technology, thereby improving data processing speed and enhancing User experience; at the same time, in the process of storing the handle identifier of the to-be-processed data in the embodiment of the present invention, once the user performs the cancel processing operation, the stored handle identifier is cleared, because the data is not in the process of storing or clearing the handle identifier.
  • the actual processing operation can ensure the consistency of the data after the processing and the data before the processing, thus effectively solving the data loss or disorder caused by the abnormal operation.
  • the pointer object operation technology may be utilized, and first, according to a specific processing operation selected by the user, a corresponding class, such as a replication class, a deletion class, a backup class, an import class, etc., is established. Then, for all the data to be processed selected by the user, the data interface is instantiated in the class initialization function, the action member function is encapsulated in the class member, and the action encapsulation is performed on the actual operation object.
  • a corresponding class such as a replication class, a deletion class, a backup class, an import class, etc.
  • the object pointer is used as an operation object, and when all the data to be processed is deleted or copied, the data table is opened, and after the data resource is read item by item, only the data object pointer is stored to the defined object.
  • the corresponding processing is reported to the user at the same time, but the real deletion, copying, and the like are not performed; and, in the first step of processing, once the user cancels the processing, the program terminates the current operation, at this time, only The data pointer object already stored in the class member needs to be emptied without any change to the real data.
  • the second step after the first step of processing is completed, while the user successfully pops up the processing success prompt, the background automatically calls the action function of the member of the class, and completes the final deletion, copying, etc. through the data object pointer stored in the class member. .
  • the class member architecture can be reused to improve coding efficiency and maintainability;
  • Batch processing of data object pointers can improve data processing speed and enhance user experience;
  • a mobile phone data processing apparatus includes:
  • the pre-processing unit 21 is configured to: traverse the data to be processed, and store the handle identifier of the data to be processed; the determining unit 22 is configured to determine, in the process of storing the handle identifier of the data to be processed, by the pre-processing unit 21 Whether the instruction to cancel the processing by the user is received;
  • the first processing unit 23 is configured to: when the determining unit 22 determines that the instruction for canceling the processing by the user is received, clear the stored handle identifier;
  • a second processing unit 24 configured to: after the determining unit 22 determines that the user cancel processing is not received, after the process of storing the handle identifier of the to-be-processed data is completed by the pre-processing unit 21, Process data for unified processing.
  • the pre-processing unit 21 selects some or all of the contacts, short messages, files, and the like selected by the user according to the operations of copying, deleting, backing up, importing, etc. selected by the user, and processes the data to be processed one by one in the background of the mobile phone operation. Reading is performed, and during the reading process, the handle identifier of the data to be processed is stored.
  • the mobile phone data processing apparatus of the embodiment of the present invention further includes a display unit 25, and the display unit 25 displays the data to be displayed one by one on the display interface of the mobile phone when the preprocessing unit 21 traverses the data to be processed.
  • the processed data is being processed, and the processing progress is displayed; wherein the processing progress is displayed in the form of a progress bar and/or a completion rate.
  • the display unit 25 clears the stored handle identifier when the first processing unit 23 clears the stored handle identifier.
  • the data that is being canceled is displayed one by one to the user, and the processing progress is displayed, for example, the processing progress bar is returned from the current operating point to the zero point with the cancellation progress.
  • the display unit 25 pops up a prompt for successful data processing to the user on the mobile phone display interface.
  • the second processing unit 24 After the user confirms the display prompt, the second processing unit 24 performs unified processing on the data to be processed by using the stored handle identifier in the background of the mobile phone operation; wherein the unified processing includes: copying, cutting, Delete, backup, import, or export.
  • the mobile phone data processing device of the embodiment of the present invention can utilize the object operation technology in the specific implementation, and takes the object pointer as an operation object, and when processing all the data to be processed, the data table is opened, and when the data resource is read item by item, The data object pointer is stored by the pre-processing unit 21 into the defined class member, and the corresponding processing is reported to the user at the same time, but the real data processing is not performed; and, once the user cancels the processing, the first processing unit 23
  • the data pointer object already stored in the class member is emptied without any change to the real data, thereby ensuring the consistency of the data before the processing and the data before the processing, and effectively solving the data loss or disorder caused by the abnormal operation. .
  • the display unit 25 After the pre-processing unit 21 finishes storing all the handle identifiers of the to-be-processed data, the display unit 25 automatically invokes the action function of the member of the class, while passing through the class member, while the display unit 25 pops up the processing success prompt to the user.
  • the data object pointer stored in the batch completes the final data processing in batches, thereby improving the data processing speed and enhancing the user experience.
  • the mobile phone data processing method and apparatus fully utilizes the pointer object operation technology, and performs step-by-step processing on the mobile phone data.
  • the first step is to store only the handle identifier of the processed data, and does not perform real The processing of meaning, once misoperation, clears the stored handle identifier, thereby effectively solving the data loss or confusion caused by the abnormal operation; the second step, after completing the handle identifier of the data to be processed, batch processing the data object pointer, thereby Increased data processing speed.
  • the method for multi-step operation using the pointer object of the present invention can be applied to the file tube of the mobile phone. Management, memory management, contact management, SMS management and other related fields.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

一种手 ML据处理方法和装置
本申请要求于 2011年 03月 29提交中国专利局、申请号为 201110077302.5、 发明名称为 "一种手机数据处理方法和装置" 的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域
本发明涉及一种手机数据处理方法和装置。
背景技术
随着手机性能提升, 存储空间越来越大, 手机存储的数据越来越多, 涉及 到的数据处理也越来越多。 现有手机的数据处理方案, 如: 联系人、 短信数据 的处理, 通常是从一条或多条待处理数据中逐条读取数据, 逐一进行复制、 删 除、 备份、 导入等处理, 处理速度较慢; 并且在处理过程中, 一旦用户发现误 操作取消处理时, 现有方案仅可以对当前未处理数据中止处理, 对已处理的数 据缺少有效的数据还原能力, 无法确保取消处理后与处理前手机数据的一致性。 发明内容
本发明实施例提供了一种手机数据处理方法和装置, 能够提升数据处理速 度, 同时在处理过程中, 能够确保取消处理后与处理前手机数据的一致性。
本发明实施例采用如下技术方案:
一种手机数据处理方法, 包括:
遍历待处理数据, 并存储所述待处理数据的句柄标识;
在存储所述待处理数据的句柄标识过程中, 判断是否接收到用户取消处理 的指令;
如果接收到用户取消处理的指令, 则对存储的句柄标识进行清除; 如果没有接收到用户取消处理的指令, 则在存储所述待处理数据的句柄标 识的过程完成后, 对所述待处理数据进行统一处理。
一种手机数据处理装置, 包括:
预处理单元, 用于遍历待处理数据, 并存储所述待处理数据的句柄标识; 判断单元, 用于在所述预处理单元存储所述待处理数据的句柄标识的过程 中, 判断是否接收到用户取消处理的指令;
第一处理单元, 用于在所述判断单元判断接收到用户取消处理的指令时, 对存储的句柄标识进行清除;
第二处理单元, 用于在所述判断单元判断没有接收到用户取消处理的指令 时, 在存储所述待处理数据的句柄标识的过程完成后, 对所述待处理数据进行 统一处理。
本发明实施例通过在遍历待处理数据时存储所述待处理数据的句柄标识, 并在完成存储所述待处理数据的句柄标识后, 再对所述待处理数据进行统一处 理, 这与现有技术对待处理数据逐条读取并同时逐条进行处理的方案相比, 本 发明实施例采用了分阶段批处理技术, 因此能够提升数据处理速度, 增强用户 体验; 同时本发明实施例在存储所述待处理数据的句柄标识过程中, 一旦用户 取消处理, 则对存储的句柄标识进行清除, 由于在存储或清除句柄标识过程中 并未对数据进行真实的处理操作, 能够确保取消处理后与处理前手机数据的一 致性, 因此有效解决了异常操作引起的数据丢失或错乱。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例中所需要 使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一 些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种手机数据处理方法的流程示意图; 图 2为本发明实施例提供的一种手机数据处理装置的一结构示意图; 图 3为本发明实施例提供的一种手机数据处理装置的另一结构示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
参见图 1 , 本发明实施例提供的一种手机数据处理方法, 包括:
S11 , 遍历待处理数据, 并存储所述待处理数据的句柄标识。
例如, 当用户在手机显示界面上, 选择全部联系人或者通过选择(Check ) 框选中需要处理的联系人作为待处理数据, 然后点击 "删除选中联系人" 的操 作时, 此时在手机操作后台上将对这些选中联系人数据逐一进行读取, 并在读 取的过程中存储这些选中联系人数据的句柄标识, 每个待处理数据与一个句柄 标识进行——对应。 存储句柄标识的过程是逐一数据进行的, 此时用户在手机 显示界面上所看到的是, 逐个正在进行删除的联系人信息, 同时还可以在手机 显示界面上看到处理进度, 所述处理进度可以通过处理进度条或完成率的形式 进行显示。 其中, 用户可以选择的手机数据类型包括但不限于联系人、 短信、 文件等, 用户可以选择的处理操作包括但不限于复制、 剪切、 删除、 备份、 导入、 或导 出等。
512, 在存储所述待处理数据的句柄标识的过程中, 判断是否接收到用户取 消处理的指令。
513, 如果接收到用户取消处理的指令, 则对存储的句柄标识进行清除。 仍以上述 "删除选中联系人" 的操作为例, 当手机在显示界面正在逐条向 用户显示正在删除的联系人的处理信息时, 用户一旦发现正在处理的数据有误 或可疑, 只需点击 "取消" 操作, 则手机在操作后台上对这些已经存储的句柄 标识进行清除。 清除句柄标识的过程也是逐一数据进行的, 此时用户在手机显 示界面上所看到的是, 逐个正在取消删除的联系人信息, 同时用户还可以在手 机显示界面上看到处理进度, 所述处理进度可以通过处理进度条或完成率的形 式进行显示。
514, 如果没有接收到用户取消处理的指令, 则在存储所述待处理数据的句 柄标识的过程完成后, 对所述待处理数据进行统一处理。
本步骤中, 在完成存储所述待处理数据的句柄标识后, 还可以在手机显示 界面上, 向用户弹出数据处理成功的提示, 但此时并未对数据进行真正的删除、 备份等处理, 只有用户对该显示提示进行确认后, 手机操作后台才通过存储的 句柄标识对所述待处理数据进行统一处理, 其中, 所述统一处理包括: 复制、 剪切、 删除、 备份、 导入、 或导出等, 但此时在手机显示界面上并不向用户显 示该后台处理。
由此可知, 本发明实施例的手机数据处理方法, 通过在遍历待处理数据时 存储所述待处理数据的句柄标识, 并在完成存储所述待处理数据的句柄标识后, 再对所述待处理数据进行统一处理, 这与现有技术对待处理数据逐条读取逐一 进行处理的方案相比, 本发明实施例采用了分阶段批处理技术, 因此能够提升 数据处理速度, 增强用户体验; 同时本发明实施例在存储所述待处理数据的句 柄标识过程中, 一旦用户进行取消处理操作, 则对存储的句柄标识进行清除, 由于在存储或清除句柄标识过程中并未对数据进行真实的处理操作, 能够确保 取消处理后与处理前手机数据的一致性, 因此有效解决了异常操作引起的数据 丢失或错乱。
需要说明的是, 为实现本发明实施例的手机数据处理方法, 可以利用指针 对象操作技术, 首先根据用户选择的具体处理操作, 建立相应类, 例如复制类、 删除类、 备份类、 导入类等, 然后对用户选择的全部待处理数据, 在类初始化 函数中完成数据接口的实例化, 在类成员中封装动作成员函数, 针对实际操作 对象进行动作封装。
具体地, 第一步, 以对象指针为操作对象, 在对全部待处理数据进行删除、 复制等操作时, 打开数据表, 逐项读取数据资源后, 仅将数据对象指针存放到 已定义的类成员中, 并同时向用户上报相应的处理, 但并不进行真正的删除、 复制等处理; 并且, 在进行第一步处理中, 用户一旦取消处理, 程序将终止当 前操作, 此时, 只需将类成员中已经存放的数据指针对象进行清空, 而不会对 真实数据带来任何变化。 第二步, 在第一步处理完成后, 在向用户弹出处理成 功提示的同时, 后台自动调用该类成员的动作函数, 通过类成员中存储的数据 对象指针, 完成最终的删除、 复制等处理。
上述利用指针对象处理手机数据, 可以带来如下有益效果:
( 1 )有效解决了异常操作引起的数据丢失或错乱;
( 2 )可以复用类成员架构, 提升编码效率和可维护性; ( 3 )对数据对象指针批量处理, 能够提升数据处理速度, 增强用户体验;
( 4 ) 由于类成员中仅保存数据对象指针, 避免占用大量系统内存。
参见图 2, 本发明实施例提供的一种手机数据处理装置, 包括:
预处理单元 21 , 用于遍历待处理数据, 并存储所述待处理数据的句柄标识; 判断单元 22,用于在所述预处理单元 21存储所述待处理数据的句柄标识的 过程中, 判断是否接收到用户取消处理的指令;
第一处理单元 23 ,用于在所述判断单元 22判断接收到用户取消处理的指令 时, 对存储的句柄标识进行清除;
第二处理单元 24,用于在所述判断单元 22判断没有接收到用户取消处理的 指令时, 在所述预处理单元 21存储所述待处理数据的句柄标识的过程完成后, 对所述待处理数据进行统一处理。
具体地, 所述预处理单元 21根据用户选择的复制、 删除、 备份、 导入等操 作, 对用户选择的部分或全部的联系人、 短信、 文件等, 在手机操作后台上将 这些待处理数据逐一进行读取, 并在读取过程中, 存储所述待处理数据的句柄 标识。
进一步地, 参见图 3 , 本发明实施例的手机数据处理装置还包括显示单元 25 , 所述显示单元 25在所述预处理单元 21遍历待处理数据时, 在手机显示界 面上, 向用户逐条显示正在进行处理的数据, 并显示处理进度; 其中, 所述处 理进度通过进度条和 /或完成率的形式进行显示。
在用户在显示界面上点击 "取消" 操作时, 在手机操作后台则对存储的句 柄标识进行清除; 此时, 所述显示单元 25在所述第一处理单元 23对存储的句 柄标识进行清除时, 在手机显示界面上, 向用户逐条显示正在取消处理的数据, 并显示处理进度, 例如将处理进度条随着取消进度从当前操作点开始向零点回 在所述预处理单元 21在完成存储所述待处理数据的句柄标识后, 所述显示 单元 25在手机显示界面上, 向用户弹出数据处理成功的提示。 在用户对该显示 提示进行确认后, 将由所述第二处理单元 24在手机操作后台通过存储的句柄标 识对所述待处理数据进行统一处理; 其中, 所述统一处理包括: 复制、 剪切、 删除、 备份、 导入、 或导出。
本发明实施例的手机数据处理装置, 在具体实现时可以利用对象操作技术, 以对象指针为操作对象, 在对全部待处理数据进行处理时, 打开数据表, 在逐 项读取数据资源时,由预处理单元 21将数据对象指针存放到已定义的类成员中, 并同时向用户上报相应的处理, 但并不进行真正的数据处理; 并且, 一旦用户 取消处理时,由第一处理单元 23将类成员中已经存放的数据指针对象进行清空, 而不会对真实数据带来任何变化, 从而能够确保取消处理后与处理前手机数据 的一致性, 有效解决了异常操作引起的数据丢失或错乱。 当预处理单元 21完成 对所述待处理数据全部句柄标识存储后, 由显示单元 25在向用户弹出处理成功 提示的同时, 由第二处理单元 24自动调用该类成员的动作函数, 通过类成员中 存储的数据对象指针, 批量完成最终的数据处理, 从而能够提升数据处理速度, 增强用户体验。
最后要说明的是, 本发明实施例的手机数据处理方法和装置, 充分利用了 指针对象操作技术, 对手机数据分步处理, 第一步仅对待处理数据的句柄标识 进行存储, 并不进行真正意义的处理, 一旦误操作则清除存储的句柄标识, 从 而有效解决了异常操作引起的数据丢失或错乱; 第二步, 在完成存储待处理数 据的句柄标识后, 对数据对象指针批量处理, 从而提升了数据处理速度。 可以 理解的是, 本发明利用指针对象进行多步操作的方法可以应用到手机的文件管 理、 内存管理、 联系人管理、 短信管理等相关领域。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 该以权利要求的保护范围为准。

Claims

权利要求
1、 一种手机数据处理方法, 其特征在于, 包括:
遍历待处理数据, 并存储所述待处理数据的句柄标识;
在存储所述待处理数据的句柄标识的过程中, 判断是否接收到用户取 消处理的指令;
如果接收到用户取消处理的指令, 则对存储的句柄标识进行清除; 如果没有接收到用户取消处理的指令, 则在存储所述待处理数据的句 柄标识的过程完成后, 对所述待处理数据进行统一处理。
2、 根据权利要求 1所述的方法, 其特征在于, 在遍历待处理数据时, 所述方法还包括:
在手机显示界面上, 向用户逐条显示正在进行处理的数据, 并显示处 理进度; 其中, 所述处理进度通过进度条和 /或完成率的形式进行显示。
3、 根据权利要求 1所述的方法, 其特征在于, 在对存储的句柄标识进 行清除时, 所述方法还包括:
在手机显示界面上, 向用户逐条显示正在取消处理的数据, 并显示处 理进度; 其中, 所述处理进度通过进度条和 /或完成率的形式进行显示。
4、 根据权利要求 1所述的方法, 其特征在于, 在完成存储所述待处理 数据的句柄标识后, 所述方法还包括:
在手机显示界面上, 向用户弹出数据处理成功的提示。
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 所述对所述待 处理数据进行统一处理包括:
在手机操作系统后台, 通过存储的句柄标识对所述待处理数据进行统 一处理; 其中, 所述统一处理包括: 复制、 剪切、 删除、 备份、 导入、 或 导出。
6、 一种手机数据处理装置, 其特征在于, 包括:
预处理单元, 用于遍历待处理数据, 并存储所述待处理数据的句柄标 识;
判断单元, 用于在所述预处理单元存储所述待处理数据的句柄标识的 过程中, 判断是否接收到用户取消处理的指令;
第一处理单元, 用于在所述判断单元判断接收到用户取消处理的指令 时, 对存储的句柄标识进行清除;
第二处理单元, 用于在所述判断单元判断没有接收到用户取消处理的 指令时, 在所述预处理单元存储所述待处理数据的句柄标识的过程完成后, 对所述待处理数据进行统一处理。
7、 根据权利要求 6所述的装置, 其特征在于, 所述装置还包括: 显示单元, 用于在所述预处理单元遍历待处理数据时, 在手机显示界 面上, 向用户逐条显示正在进行处理的数据, 并显示处理进度; 其中, 所 述处理进度通过进度条和 /或完成率的形式进行显示。
8、 根据权利要求 7所述的装置, 其特征在于, 所述显示单元, 还用于 在所述第一处理单元对存储的句柄标识进行清除时, 在手机显示界面上, 向用户逐条显示正在取消处理的数据, 并显示处理进度。
9、 根据权利要求 8所述的装置, 其特征在于, 所述显示单元, 还用于 在所述第二处理单元完成存储所述待处理数据的句柄标识后, 在手机显示 界面上, 向用户弹出数据处理成功的提示。
10、根据权利要求 6-9任一项所述的装置, 其特征在于, 所述第二处理 单元具体用于, 在手机操作系统后台, 通过存储的句柄标识对所述待处理 数据进行统一处理; 其中, 所述统一处理包括: 复制、 剪切、 删除、 备份、 导入、 或导出。
PCT/CN2012/072353 2011-03-29 2012-03-15 一种手机数据处理方法和装置 Ceased WO2012130043A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP12764832.7A EP2680549A4 (en) 2011-03-29 2012-03-15 METHOD AND DEVICE FOR PROCESSING MOBILE TELEPHONE DATA
US14/039,507 US20140031087A1 (en) 2011-03-29 2013-09-27 Method and device for processing mobile phone data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110077302.5A CN102131002B (zh) 2011-03-29 2011-03-29 一种手机数据处理方法和装置
CN201110077302.5 2011-03-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/039,507 Continuation US20140031087A1 (en) 2011-03-29 2013-09-27 Method and device for processing mobile phone data

Publications (1)

Publication Number Publication Date
WO2012130043A1 true WO2012130043A1 (zh) 2012-10-04

Family

ID=44268889

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072353 Ceased WO2012130043A1 (zh) 2011-03-29 2012-03-15 一种手机数据处理方法和装置

Country Status (4)

Country Link
US (1) US20140031087A1 (zh)
EP (1) EP2680549A4 (zh)
CN (1) CN102131002B (zh)
WO (1) WO2012130043A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131002B (zh) * 2011-03-29 2016-10-05 华为终端有限公司 一种手机数据处理方法和装置
CN104424049B (zh) * 2013-09-02 2018-06-01 联想(北京)有限公司 一种数据处理方法及电子设备
CN106445582A (zh) * 2016-08-30 2017-02-22 宇龙计算机通信科技(深圳)有限公司 一种删除应用程序分身的方法及终端
CN106850974A (zh) * 2017-01-12 2017-06-13 深圳市金立通信设备有限公司 一种备份方法及终端
CN116431066B (zh) * 2023-03-21 2024-04-26 深圳市万翼数字技术有限公司 数据存储方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642190A (zh) * 2004-01-17 2005-07-20 上海迪比特实业有限公司 一种移动电话通讯录数据删除和恢复的方法
CN101082952A (zh) * 2006-05-30 2007-12-05 国际商业机器公司 在计算环境中保护打开文件的安全的方法和系统
CN101187887A (zh) * 2006-11-15 2008-05-28 鸿富锦精密工业(深圳)有限公司 具有数据临时保护功能的存储装置及方法
CN102131002A (zh) * 2011-03-29 2011-07-20 华为终端有限公司 一种手机数据处理方法和装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI115739B (fi) * 1994-05-19 2005-06-30 Nokia Corp Laite henkilökohtaiseen viestintään, tietojenkeruuseen ja -käsittelyyn ja piirikortti
JP4237354B2 (ja) * 1999-09-29 2009-03-11 株式会社東芝 トランザクション処理方法及びトランザクション処理システム
GB2370192A (en) * 2000-12-15 2002-06-19 Nokia Mobile Phones Ltd Mobile phone with electronic trash can
JP2002366410A (ja) * 2001-06-06 2002-12-20 Fujitsu Ltd ごみ箱サーバおよびごみ箱処理プログラム
US6901558B1 (en) * 2002-01-09 2005-05-31 International Business Machines Corporation System and method for displaying status of background worker threads
US7386577B2 (en) * 2004-02-04 2008-06-10 International Business Machines Corporation Dynamic determination of transaction boundaries in workflow systems
US7792521B2 (en) * 2005-11-28 2010-09-07 Nokia Corporation Method, apparatus, and computer program product for managing content items
GB0623237D0 (en) * 2006-11-22 2007-01-03 Ibm Issuing syncpoints during execution of a batch application
JP4259588B2 (ja) * 2007-03-30 2009-04-30 富士ゼロックス株式会社 情報処理システム及び情報処理プログラム
US20080263106A1 (en) * 2007-04-12 2008-10-23 Steven Asherman Database queuing and distributed computing
CN101296422A (zh) * 2008-06-20 2008-10-29 中兴通讯股份有限公司 数据备份的方法、短信平台和客户端
CN101370212A (zh) * 2008-09-22 2009-02-18 深圳华为通信技术有限公司 数据处理的方法和装置
US20110004845A1 (en) * 2009-05-19 2011-01-06 Intelliborn Corporation Method and System For Notifying A User of An Event Or Information Using Motion And Transparency On A Small Screen Display
GB2472620B (en) * 2009-08-12 2016-05-18 Cloudtran Inc Distributed transaction processing
US8635250B2 (en) * 2010-04-26 2014-01-21 Vinod Mehra Methods and systems for deleting large amounts of data from a multitenant database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642190A (zh) * 2004-01-17 2005-07-20 上海迪比特实业有限公司 一种移动电话通讯录数据删除和恢复的方法
CN101082952A (zh) * 2006-05-30 2007-12-05 国际商业机器公司 在计算环境中保护打开文件的安全的方法和系统
CN101187887A (zh) * 2006-11-15 2008-05-28 鸿富锦精密工业(深圳)有限公司 具有数据临时保护功能的存储装置及方法
CN102131002A (zh) * 2011-03-29 2011-07-20 华为终端有限公司 一种手机数据处理方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2680549A4 *

Also Published As

Publication number Publication date
EP2680549A1 (en) 2014-01-01
US20140031087A1 (en) 2014-01-30
CN102131002A (zh) 2011-07-20
EP2680549A4 (en) 2014-02-26
CN102131002B (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
CN106547635B (zh) 一种作业的操作重试方法和装置
WO2012130043A1 (zh) 一种手机数据处理方法和装置
CN103645825A (zh) 消息的处理方法及装置
CN111382008B (zh) 一种虚拟机数据的备份方法、装置及系统
CN102591668B (zh) 对弹性计算云系统升级的装置、方法及系统
CN103312549A (zh) 一种事务管理方法及装置和系统
CN116149559A (zh) 队列处理方法、装置、服务器、电子设备和存储介质
CN107633059A (zh) 一种用于分布式文件系统的数据处理方法和系统
CN107533693B (zh) 丰富附件的重新生成
US20150220517A1 (en) Efficient conflict resolution among stateless processes
CN103377071B (zh) 一种数据批量删除方法和系统
CN109347896B (zh) 一种信息处理方法、设备和计算机可读存储介质
WO2018064938A1 (zh) 一种在应用中实现辅助功能的方法及装置
CN111737055A (zh) 业务处理方法、装置、设备及计算机可读存储介质
CN110928630A (zh) 应用程序窗口的激活控制方法、装置、设备及存储介质
CN106227413A (zh) 一种基于移动终端的应用启动检测方法及系统
CN106354773A (zh) 应用程序存储数据的方法及装置
CN105446516A (zh) 一种信息输入的方法和设备
CN105468974B (zh) 一种文件访问方法、装置及移动终端
CN105897498A (zh) 一种监控业务的方法及设备
CN113240528A (zh) 金融交易处理方法及系统
CN108037972A (zh) 一种完全隐藏光标的方法及装置
CN107463450A (zh) 容器的数据处理方法和装置
CN102567105B (zh) 隐藏Windows系统托盘的方法
CN109101253B (zh) 云计算系统中主机的管理方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12764832

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2012764832

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012764832

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE