[go: up one dir, main page]

CN103164351B - data access method - Google Patents

data access method Download PDF

Info

Publication number
CN103164351B
CN103164351B CN201110424204.4A CN201110424204A CN103164351B CN 103164351 B CN103164351 B CN 103164351B CN 201110424204 A CN201110424204 A CN 201110424204A CN 103164351 B CN103164351 B CN 103164351B
Authority
CN
China
Prior art keywords
protection mode
operation data
enabled
data
state
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.)
Active
Application number
CN201110424204.4A
Other languages
Chinese (zh)
Other versions
CN103164351A (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.)
Acer Inc
Original Assignee
Acer 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 Acer Inc filed Critical Acer Inc
Priority to CN201110424204.4A priority Critical patent/CN103164351B/en
Priority to TW101116932A priority patent/TWI450126B/en
Publication of CN103164351A publication Critical patent/CN103164351A/en
Application granted granted Critical
Publication of CN103164351B publication Critical patent/CN103164351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A data access method is suitable for a mobile communication device. The storage unit of the mobile communication device comprises a specific block and an original block. In the method, in the protection mode, when the executed operation data adopts a mapping mode, the specific block is accessed according to the mapping mode. On the other hand, when the executed operation data does not adopt the mapping mode, the operation data is recorded to the original block.

Description

数据存取方法data access method

技术领域 technical field

本发明涉及一种数据保护机制,尤其涉及一种具有保护模式的移动通信装置的数据存取方法。The invention relates to a data protection mechanism, in particular to a data access method of a mobile communication device with a protection mode.

背景技术 Background technique

随着科技的发展,例如个人数字化助理(PersonalDigitalAssistant,PDA)、可携式计算机以及智能型移动电话(SmartPhone)等消费性电子产品日益普及,不仅体积日益轻薄短小,价格日趋便宜,功能上更趋多元化。例如,许多使用者通过移动通信装置不仅可接听与播打电话,还能够通过移动通信装置来记录日常生活事项或是工作事项。消费性电子产品俨然成为生活或工作上不可或缺的工具。With the development of technology, consumer electronic products such as personal digital assistants (Personal Digital Assistant, PDA), portable computers and smart mobile phones (SmartPhone) are becoming more and more popular. Diversification. For example, many users can not only answer and make phone calls through the mobile communication device, but also record daily life items or work items through the mobile communication device. Consumer electronics products have become an indispensable tool in life or work.

然而,倘若其他使用者在使用移动通信装置时误更改设定,或误删原有数据,将会造成移动通信装置的拥有者在使用上的困扰。例如,使用者的家中具有其他成员,如较年幼的儿童拿爸爸的手机来玩,不小心将手机中的设定值更改,或者不小心将通讯录删除等等,这些行为都会造成原来使用者的困扰。However, if other users mistakenly change the settings or delete the original data by mistake when using the mobile communication device, it will cause confusion to the owner of the mobile communication device in use. For example, there are other members in the user's family, such as younger children playing with their father's mobile phone, accidentally changing the settings in the mobile phone, or accidentally deleting the address book, etc. troubles of those.

发明内容 Contents of the invention

本发明提供一种数据存取方法,通过在移动通信装置中设置保护模式来实现对原有数据的保护。The invention provides a data access method, which realizes the protection of original data by setting a protection mode in a mobile communication device.

本发明提出一种数据存取方法,适用于移动通信装置。在所述方法中,于移动通信装置的储存单元中划分一特定区块,以将在保护模式被使能的状态下所执行的操作数据储存在特定区块中。而储存单元中还包括一原始区块,以储存在保护模式被禁能的状态下所执行的操作数据。并且,判断在保护模式被使能的状态下所执行的操作数据是否采用映射(mapping)方式。当判定在保护模式被使能的状态下所执行的操作数据为采用映射方式时,依据映射方式,存取特定区块。当判定在保护模式被使能的状态下所执行的操作数据非采用映射方式时,将操作数据记录至原始区块。The invention proposes a data access method suitable for mobile communication devices. In the method, a specific block is divided in the storage unit of the mobile communication device, so that the operation data executed when the protection mode is enabled is stored in the specific block. The storage unit also includes a raw block for storing operation data executed when the protection mode is disabled. In addition, it is determined whether the operation data executed in the state where the protection mode is enabled adopts a mapping (mapping) method. When it is determined that the operation data executed in the state where the protection mode is enabled adopts the mapping method, the specific block is accessed according to the mapping method. When it is determined that the operation data executed in the state where the protection mode is enabled does not use the mapping method, the operation data is recorded in the original block.

在本发明的一实施例中,当判定在保护模式被使能的状态下所执行的操作数据为采用映射方式时,还可判断在保护模式被使能的状态下所执行的操作为读取操作或写入操作。当在保护模式被使能的状态下执行写入操作时,将操作数据写入至特定区块。当在保护模式被使能的状态下执行读取操作时,自特定区块内读取对应的文件。In an embodiment of the present invention, when it is determined that the operation data performed in the state where the protection mode is enabled adopts the mapping method, it can also be determined that the operation performed in the state where the protection mode is enabled is read operation or write operation. When performing a write operation in a state where the protection mode is enabled, the operation data is written into a specific block. When the read operation is performed with the protection mode enabled, the corresponding file is read from a specific block.

在本发明的一实施例中,当在保护模式被使能的状态下执行读取操作时,还可判断特定区块内是否存在读取操作对应的文件。倘若特定区块中存在对应的文件,读取此文件;反之,倘若特定区块中不存在对应的文件,则自原始区块中读取对应的文件。In an embodiment of the present invention, when the read operation is performed when the protection mode is enabled, it may also be determined whether a file corresponding to the read operation exists in the specific block. If the corresponding file exists in the specific block, the file is read; otherwise, if the corresponding file does not exist in the specific block, the corresponding file is read from the original block.

在本发明的一实施例中,当在保护模式被使能的状态下执行写入操作时,可将原始区块中对应的文件复制到特定区块,以将操作数据写入至特定区块中的文件。In one embodiment of the present invention, when the write operation is performed in the state where the protection mode is enabled, the corresponding file in the original block can be copied to the specific block, so as to write the operation data into the specific block files in .

在本发明的一实施例中,上述数据存取方法还包括在非采用映射方式的操作数据中加入识别标志。据此,可藉由判断操作数据是否具有识别标志,来判断在保护模式被使能的状态下所执行的操作数据是否采用映射方式。将具有识别标志的操作数据判定为非采用映射方式,而将不具有识别标志的操作数据判定为采用映射方式。In an embodiment of the present invention, the above-mentioned data access method further includes adding an identification mark to the operation data not using the mapping method. Accordingly, by judging whether the operation data has an identification mark, it can be judged whether the operation data executed in the state where the protection mode is enabled adopts the mapping method. The operation data with the identification flag is determined not to adopt the mapping method, and the operation data without the identification flag is determined to adopt the mapping method.

在本发明的一实施例中,上述数据存取方法还包括判断保护模式是否被使能。倘若保护模式未被使能,存取原始区块。倘若保护模式被使能,执行判断在保护模式被使能的状态下所执行的操作数据是否采用映射方式的步骤。In an embodiment of the present invention, the above data access method further includes determining whether the protection mode is enabled. If protected mode is not enabled, access the original block. If the protection mode is enabled, a step of judging whether the operation data executed in the state of the protection mode is enabled adopts a mapping method is performed.

在本发明的一实施例中,上述数据存取方法还包括在禁能所述保护模式之后,删除特定区块的操作数据。In an embodiment of the present invention, the above data access method further includes deleting the operation data of the specific block after disabling the protection mode.

在本发明的一实施例中,上述采用映射方式的操作数据例如为普通文件、数据库文件、属性值以及注册表其中之一。而上述非采用映射方式的操作数据为电话信号或短信息。In an embodiment of the present invention, the above-mentioned operation data in a mapping manner is, for example, one of ordinary files, database files, attribute values, and registry tables. The above-mentioned operation data not using the mapping method is a telephone signal or a short message.

基于上述,通过在移动通信装置的储存单元划分原始区块与特定区块,在使能保护模式时,存取特定区块,而在没有使能保护模式时,存取原始区块。因此,通过保护模式来实现对原有数据的保护,在保护模式状态下的操作数据不会影响到原始区块中的操作数据。Based on the above, by dividing the original block and the specific block in the storage unit of the mobile communication device, the specific block is accessed when the protection mode is enabled, and the original block is accessed when the protection mode is not enabled. Therefore, the protection of the original data is realized through the protection mode, and the operation data in the protection mode state will not affect the operation data in the original block.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.

附图说明 Description of drawings

图1是依照本发明第一实施例的数据存取方法的流程图。FIG. 1 is a flowchart of a data access method according to a first embodiment of the present invention.

图2是依照本发明第二实施例的数据存取方法的流程图。FIG. 2 is a flowchart of a data access method according to a second embodiment of the present invention.

附图标记:Reference signs:

S105~S120:第一实施例的数据存取方法各步骤S105-S120: each step of the data access method in the first embodiment

S205~S245:第二实施例的数据存取方法各步骤S205-S245: each step of the data access method in the second embodiment

具体实施方式 detailed description

消费性电子产品成为生活或工作上不可或缺的工具,而如何让家中其他成员(例:儿童)亦能购随心所欲地操作同一部移动通信装置,并且在使用后不会破坏原有的设置和数据。为此,本发明提出一种数据存取方法,通过在移动通信装置中设置保护模式来实现对原有数据的保护。为了使本发明的内容更为明了,以下特举实施例作为本发明确实能够据以实施的范例。Consumer electronic products have become an indispensable tool in life or work, and how to make other members of the family (such as children) buy and operate the same mobile communication device as they like without destroying the original settings and data. Therefore, the present invention proposes a data access method, which realizes the protection of original data by setting a protection mode in the mobile communication device. In order to make the content of the present invention clearer, the following specific examples are given as examples in which the present invention can actually be implemented.

第一实施例first embodiment

图1是依照本发明第一实施例的数据存取方法的流程图。在本实施例中,为了不让其他使用者破坏原有的设置与数据,于移动通信装置中设置了保护模式。例如,当移动通信装置欲给其他使用者来使用时,可将保护模式使能,以防止其他使用者变更移动通信装置中原有的数据。底下即详细来说明移动通信装置的数据存取方法的各步骤。FIG. 1 is a flowchart of a data access method according to a first embodiment of the present invention. In this embodiment, in order to prevent other users from destroying the original settings and data, a protection mode is set in the mobile communication device. For example, when the mobile communication device is intended to be used by other users, the protection mode can be enabled to prevent other users from changing the original data in the mobile communication device. The steps of the data access method of the mobile communication device will be described in detail below.

请参照图1,在步骤S105中,在移动通信装置的储存单元中划分出一特定区块,以储存在保护模式被使能的状态下所执行的操作数据。进一步地说,储存单元中包括原始区块与特定区块,其中原始区块用以储存在一般状态之下(也就是在保护模式被禁能的状态下)所执行的操作数据。例如,在保护模式禁能的状态下,移动通信装置会去存取原始区块;而在保护模式使能的状态下,移动通信装置会去存取特定区块。另外,在禁能保护模式之后,特定区块的操作数据将会被删除。Referring to FIG. 1 , in step S105 , a specific block is divided in the storage unit of the mobile communication device to store operation data executed when the protection mode is enabled. Furthermore, the storage unit includes an original block and a specific block, wherein the original block is used to store operation data executed under a normal state (that is, when the protection mode is disabled). For example, when the protection mode is disabled, the mobile communication device will access the original block; and when the protection mode is enabled, the mobile communication device will access the specific block. In addition, after disabling the protection mode, the operation data of the specific block will be deleted.

接着,在步骤S110中,移动通信装置会去判断在保护模式被使能的状态下所执行的操作数据是否采用映射方式。映射方式例如为内存映射(memorymapping)方式,然并不以此为限。例如,可在非采用映射方式的操作数据中加入识别标志。据此,可藉由判断操作数据是否具有识别标志,来判断在保护模式被使能的状态下所执行的操作数据是否采用映射方式。将具有识别标志的操作数据判定为非采用映射方式,而将不具有识别标志的操作数据判定为采用映射方式。Next, in step S110, the mobile communication device will determine whether the operation data executed in the state where the protection mode is enabled adopts the mapping method. The mapping method is, for example, a memory mapping method, but it is not limited thereto. For example, an identification flag can be added to the operation data that does not adopt the mapping method. Accordingly, by judging whether the operation data has an identification mark, it can be judged whether the operation data executed in the state where the protection mode is enabled adopts the mapping method. The operation data with the identification flag is determined not to adopt the mapping method, and the operation data without the identification flag is determined to adopt the mapping method.

举例来说,一般的操作数据可用其路径名称(例“/system/usr/...”)来做为识别。而不采用映射方法的操作数据可以在常规的路径名称前加上特殊标志,例如“^”。因此,倘若操作数据的路径名称不具有特殊标志,便代表此操作数据是采用映射方式。For example, general operation data can be identified by its path name (such as "/system/usr/..."). Operation data that does not use the mapping method can be preceded by a special mark, such as "^", in front of the regular path name. Therefore, if the path name of the operation data does not have a special flag, it means that the operation data is mapped.

当判定在保护模式被使能的状态下所执行的操作数据为采用映射方式时,执行步骤S115,依据映射方式,存取特定区块。例如,移动通信装置会藉由映射方式来存取特定区块中的映射文件(mapfile)。在此,操作数据例如为普通文件、数据库文件、属性值或是注册表。也就是说,特定区块是为了在保护模式之下供使用者进行存取的区块,据以避免原始区块中的数据被更改。When it is determined that the operation data executed in the state where the protection mode is enabled adopts the mapping method, step S115 is executed to access the specific block according to the mapping method. For example, the mobile communication device accesses a map file (mapfile) in a specific block through a mapping method. Here, the operation data is, for example, an ordinary file, a database file, an attribute value or a registry. That is to say, the specific block is a block for users to access under the protection mode, so as to prevent the data in the original block from being changed.

另一方面,当判定在保护模式被使能的状态下所执行的操作数据非采用映射方式时,执行步骤S120,将操作数据记录至原始区块。在此,非采用映射方式的操作数据例如为电话信号或短信息。也就是说,在保护模式下,移动通信装置仍旧可以接听电话或是接收短信息,并且将这些操作数据记录至原始区块。因此,当离开保护模式之后,仍旧可存取在保护模式下所接收到的电话或短信息的相关数据。On the other hand, when it is determined that the operation data executed in the state where the protection mode is enabled does not use the mapping method, step S120 is executed to record the operation data into the original block. Here, the operation data that does not use the mapping method is, for example, a telephone signal or a short message. That is to say, in the protected mode, the mobile communication device can still answer calls or receive short messages, and record these operating data in the original block. Therefore, after leaving the protection mode, the related data of the phone calls or short messages received in the protection mode can still be accessed.

第二实施例second embodiment

图2是依照本发明第二实施例的数据存取方法的流程图。在本实施例中,移动通信装置的储存单元包括有一原始区块与一特定区块。其中,原始区块用以储存在一般状态之下(也就是在保护模式被禁能的状态下)所执行的操作数据。特定区块则是用以储存在保护模式被使能的状态下所执行的操作数据。FIG. 2 is a flowchart of a data access method according to a second embodiment of the present invention. In this embodiment, the storage unit of the mobile communication device includes an original block and a specific block. Wherein, the original block is used to store the operation data executed in the normal state (that is, the state in which the protection mode is disabled). The specific block is used to store operation data executed when the protection mode is enabled.

请参照图2,在步骤S205中,判断保护模式是否被使能。例如,可在移动通信装置上设置一热键,藉由此热键来使能保护模式。或者,于移动通信装置的选单(menu)中设置一选项来使能保护模式。若保护模式并未被使能,执行步骤S210,存取原始区块。也就是如同一般数据的处理。Referring to FIG. 2, in step S205, it is determined whether the protection mode is enabled. For example, a hotkey may be set on the mobile communication device by which the protected mode is enabled. Alternatively, set an option in the menu of the mobile communication device to enable the protected mode. If the protection mode is not enabled, execute step S210 to access the original block. That is, it is processed like general data.

若保护模式被使能,表示使用者不希望原始区块中的数据被更改。此时,执行步骤S215,先判断在保护模式被使能的状态下所执行的操作数据是否采用映射方式。例如,在非采用映射方式的操作数据中加入识别标志,将具有识别标志的操作数据判定为非采用映射方式,而将不具有识别标志的操作数据判定为采用映射方式。If the protection mode is enabled, it means that the user does not want the data in the original block to be changed. At this time, step S215 is executed to first determine whether the operation data executed in the state where the protection mode is enabled adopts the mapping method. For example, an identification flag is added to the operation data not using the mapping method, and the operation data with the identification flag is determined as not using the mapping method, while the operation data without the identification flag is determined as using the mapping method.

当移动通信装置判定在保护模式被使能的状态下所执行的操作数据非采用映射方式时,执行步骤S220,将操作数据记录至原始区块。这是因为,倘若操作数据非采用映射方式,则操作数据可能为电话信号或短信息。因此,为了在离开保护模式之后能够保存电话信号或短信息的操作数据,便将此操作数据记录在原始区块中。When the mobile communication device determines that the operation data executed in the state where the protection mode is enabled does not adopt the mapping method, step S220 is performed to record the operation data into the original block. This is because, if the operation data is not mapped, the operation data may be a telephone signal or a short message. Therefore, in order to save the operation data of the telephone signal or short message after leaving the protection mode, the operation data is recorded in the original block.

另外,当移动通信装置判定在保护模式被使能的状态下所执行的操作数据为采用映射方式时,执行步骤S225,进一步判断在保护模式被使能的状态下所执行的操作为读取操作或写入操作。当在保护模式被使能的状态下执行写入操作时,执行步骤S230,将操作数据写入至特定区块。例如,可直接将操作数据写入至特定区块的文件中。或者,将原始区块中对应的文件复制到特定区块,以将操作数据写入至特定区块中的文件。In addition, when the mobile communication device determines that the operation data performed in the state where the protection mode is enabled is a mapping method, step S225 is executed to further determine that the operation performed in the state where the protection mode is enabled is a read operation or write operations. When the write operation is performed in the state where the protection mode is enabled, step S230 is executed to write the operation data into the specific block. For example, operation data can be directly written to a file of a specific block. Or, copy the corresponding file in the original block to the specific block, so as to write the operation data into the file in the specific block.

举例来说,使用者欲对位置路径“/system/usr/data.txt”的文件执行写入操作,则会先将此文件复制到特定区块,然后特定区块中的文件执行写入操作。例如,特定区块所在位置路径为“/Map/...”,则将上述文件即会被复制到位置路径“/Map/system/usr/data.txt”下。For example, if the user wants to perform a write operation on the file at the location path "/system/usr/data.txt", the file will be copied to a specific block first, and then the file in the specific block will be written. . For example, if the location path of a specific block is "/Map/...", the above files will be copied to the location path "/Map/system/usr/data.txt".

当在保护模式被使能的状态下执行读取操作时,执行步骤S235,判断特定区块内是否存在读取操作对应的文件。倘若特定区块中存在对应的文件,执行步骤S240,自特定区域读取此文件。反之,倘若特定区块中不存在对应的文件,则执行步骤S245,自原始区块中读取对应的文件。When the read operation is performed when the protection mode is enabled, step S235 is executed to determine whether there is a file corresponding to the read operation in the specific block. If there is a corresponding file in the specific block, execute step S240 to read the file from the specific area. On the contrary, if there is no corresponding file in the specific block, step S245 is executed to read the corresponding file from the original block.

举例来说,假设欲读取位置路径“/system/usr/data.txt”的文件,此时,判断特定区块是否存在对应的文件,例如,特定区块所在位置路径为“/Map/...”,则判断是否存在位置路径“/Map/system/usr/data.txt”。倘若存在,则读取位置路径“/Map/system/usr/data.txt”的文件。倘若不存在,则直接读取原始区块中的文件,即位置路径“/system/usr/data.txt”的文件。For example, suppose you want to read the file with the location path "/system/usr/data.txt". At this time, determine whether the corresponding file exists in the specific block. For example, the location path of the specific block is "/Map/. ..", then determine whether there is a location path "/Map/system/usr/data.txt". If it exists, read the file at the location path "/Map/system/usr/data.txt". If it does not exist, directly read the file in the original block, that is, the file with the location path "/system/usr/data.txt".

再举一实例来说明,启动保护模式之后,将移动通信装置交给家中的儿童来使用,由于在保护模式的状态下,操作数据是写入在特定区块中,因此即便在保护模式下修改移动通信装置的设定,并不会变更到移动通信装置的原始设定。假设儿童在移动通信装置中执行一游戏程序,而在保护模式下的游戏数据会被保存在特定区块中。并且,可进一步设定在离开保护模式之后,将特定区块的操作数据删除或保留。Another example is used to illustrate that after the protection mode is activated, the mobile communication device is handed over to children at home for use. Since the operation data is written in a specific block in the state of the protection mode, even if it is modified in the protection mode The settings of the mobile communication device will not be changed to the original settings of the mobile communication device. Suppose a child executes a game program in the mobile communication device, and the game data in the protected mode will be saved in a specific block. Moreover, it can be further set to delete or retain the operation data of a specific block after leaving the protection mode.

综上所述,本发明通过在移动通信装置的储存单元划分原始区块与特定区块,在使能保护模式时,存取特定区块,而在没有使能保护模式时,存取原始区块。因此,当移动通信装置欲给其他使用者来使用时,可将保护模式使能,通过保护模式来实现对原有数据的保护,在保护模式状态下的操作数据不会影响到原始区块中的操作数据,藉以防止其他使用者变更移动通信装置中原有的数据。To sum up, the present invention divides the original block and the specific block in the storage unit of the mobile communication device, when the protection mode is enabled, the specific block is accessed, and when the protection mode is not enabled, the original area is accessed piece. Therefore, when the mobile communication device is intended to be used by other users, the protection mode can be enabled to realize the protection of the original data through the protection mode, and the operation data in the protection mode state will not affect the original block operation data, so as to prevent other users from changing the original data in the mobile communication device.

虽然本发明已以实施例揭示如上,然其并非用以限定本发明,任何所属技术领域的普通技术人员,当可作些许更动与润饰,而不脱离本发明的精神和范围。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention, and any person of ordinary skill in the art may make some changes and modifications without departing from the spirit and scope of the present invention.

Claims (9)

1.一种数据存取方法,适用于移动通信装置,所述方法包括:1. A data access method, applicable to a mobile communication device, said method comprising: 在所述移动通信装置的储存单元中划分特定区块,以储存在保护模式被使能的状态下所执行的操作数据,并且所述储存单元还包括原始区块,以储存在所述保护模式被禁能的状态下所执行的操作数据,所述保护模式用以防止所述移动通信装置中的原有数据被变更;A specific block is divided in the storage unit of the mobile communication device to store operation data executed in a state where the protection mode is enabled, and the storage unit also includes an original block to store in the protection mode The operation data executed in the disabled state, the protection mode is used to prevent the original data in the mobile communication device from being changed; 判断在所述保护模式被使能的状态下所执行的所述操作数据是否采用映射方式;judging whether the operation data executed in the state where the protection mode is enabled adopts a mapping method; 当判定在所述保护模式被使能的状态下所执行的所述操作数据为采用所述映射方式时,判断在所述保护模式被使能的状态下所执行的操作为读取操作或写入操作;当在所述保护模式被使能的状态下执行所述读取操作时,判断所述特定区块内是否存在所述读取操作对应的文件,倘若所述特定区块中存在所述文件,读取所述文件,倘若所述特定区块中不存在所述文件,自所述原始区块中读取所述文件;以及When it is determined that the operation data performed in the state in which the protection mode is enabled adopts the mapping method, it is determined that the operation performed in the state in which the protection mode is enabled is a read operation or a write operation input operation; when the read operation is performed in the state where the protection mode is enabled, it is judged whether there is a file corresponding to the read operation in the specific block, if there is the file corresponding to the read operation in the specific block said file, read said file, if said file does not exist in said particular block, read said file from said original block; and 当判定在所述保护模式被使能的状态下所执行的所述操作数据非采用所述映射方式时,将所述操作数据记录至所述原始区块。When it is determined that the operation data executed in the state where the protection mode is enabled does not adopt the mapping method, recording the operation data into the original block. 2.根据权利要求1所述的数据存取方法,其中当判定在所述保护模式被使能的状态下所执行的所述操作数据为采用所述映射方式时,还包括:2. The data access method according to claim 1, wherein when it is determined that the operation data executed in the state where the protection mode is enabled adopts the mapping method, further comprising: 当在所述保护模式被使能的状态下执行所述写入操作时,将所述操作数据写入至所述特定区块。When the write operation is performed in the state where the protection mode is enabled, the operation data is written into the specific block. 3.根据权利要求2所述的数据存取方法,其中当在所述保护模式被使能的状态下执行所述写入操作时,还包括:3. The data access method according to claim 2, wherein when performing the write operation in a state where the protection mode is enabled, further comprising: 将所述原始区块中对应的文件复制到所述特定区块,以将所述操作数据写入至所述特定区块中的所述文件。copying the corresponding file in the original block to the specific block, so as to write the operation data into the file in the specific block. 4.根据权利要求1所述的数据存取方法,其中还包括:4. The data access method according to claim 1, further comprising: 在非采用所述映射方式的所述操作数据中加入识别标志。An identification mark is added to the operation data that does not adopt the mapping method. 5.根据权利要求4所述的数据存取方法,其中判断在所述保护模式被使能的状态下所执行的所述操作数据是否采用所述映射方式的步骤包括:5. The data access method according to claim 4, wherein the step of judging whether the operation data executed in the state where the protection mode is enabled adopts the mapping method comprises: 判断所述操作数据是否具有所述识别标志,以将具有所述识别标志的所述操作数据判定为非采用所述映射方式,而将不具有所述识别标志的所述操作数据判定为采用所述映射方式。judging whether the operation data has the identification mark, so as to determine the operation data with the identification mark as not using the mapping method, and determine the operation data without the identification mark as using the mapping method The mapping method described above. 6.根据权利要求1所述的数据存取方法,其中还包括:6. The data access method according to claim 1, further comprising: 判断所述保护模式是否被使能;judging whether the protection mode is enabled; 倘若所述保护模式未被使能,存取所述原始区块;以及accessing the original block if the protection mode is not enabled; and 倘若所述保护模式被使能,执行判断在所述保护模式被使能的状态下所执行的所述操作数据是否采用所述映射方式的步骤。If the protection mode is enabled, a step of judging whether the operation data executed in the state of the protection mode is enabled adopts the mapping method is performed. 7.根据权利要求1所述的数据存取方法,其中还包括:7. The data access method according to claim 1, further comprising: 禁能所述保护模式之后,删除所述特定区块的操作数据。After the protection mode is disabled, the operation data of the specific block is deleted. 8.根据权利要求1所述的数据存取方法,其中采用所述映射方式的所述操作数据为普通文件、数据库文件、属性值以及注册表其中之一。8. The data access method according to claim 1, wherein the operation data using the mapping method is one of ordinary files, database files, attribute values and registry. 9.根据权利要求1所述的数据存取方法,其中非采用所述映射方式的所述操作数据为电话信号或短信息。9. The data access method according to claim 1, wherein the operation data not using the mapping method is a telephone signal or a short message.
CN201110424204.4A 2011-12-16 2011-12-16 data access method Active CN103164351B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110424204.4A CN103164351B (en) 2011-12-16 2011-12-16 data access method
TW101116932A TWI450126B (en) 2011-12-16 2012-05-11 Data access method of mobile communication device with protection mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110424204.4A CN103164351B (en) 2011-12-16 2011-12-16 data access method

Publications (2)

Publication Number Publication Date
CN103164351A CN103164351A (en) 2013-06-19
CN103164351B true CN103164351B (en) 2016-04-27

Family

ID=48587453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110424204.4A Active CN103164351B (en) 2011-12-16 2011-12-16 data access method

Country Status (2)

Country Link
CN (1) CN103164351B (en)
TW (1) TWI450126B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462110A (en) * 2013-09-17 2015-03-25 昆盈企业股份有限公司 File access method and file access device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458666A (en) * 2008-12-05 2009-06-17 北京安高科技有限公司 Data access control method
CN102075618A (en) * 2010-12-14 2011-05-25 东莞宇龙通信科技有限公司 Personal information management method, system and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7130229B2 (en) * 2002-11-08 2006-10-31 Intel Corporation Interleaved mirrored memory systems
US20050120265A1 (en) * 2003-12-02 2005-06-02 Pline Steven L. Data storage system with error correction code and replaceable defective memory
US7774596B2 (en) * 2005-02-02 2010-08-10 Insyde Software Corporation System and method for updating firmware in a secure manner
US8000502B2 (en) * 2005-03-09 2011-08-16 Sandisk Technologies Inc. Portable memory storage device with biometric identification security
JP4700562B2 (en) * 2006-05-18 2011-06-15 株式会社バッファロー Data storage device and data storage method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458666A (en) * 2008-12-05 2009-06-17 北京安高科技有限公司 Data access control method
CN102075618A (en) * 2010-12-14 2011-05-25 东莞宇龙通信科技有限公司 Personal information management method, system and mobile terminal

Also Published As

Publication number Publication date
CN103164351A (en) 2013-06-19
TWI450126B (en) 2014-08-21
TW201327263A (en) 2013-07-01

Similar Documents

Publication Publication Date Title
Morrissey et al. iOS Forensic Analysis: for iPhone, iPad, and iPod touch
CN108541310B (en) A method, device and graphical user interface for displaying candidate words
US8516036B2 (en) Method and apparatus to manage files for a portable device
WO2017032312A1 (en) Method and apparatus for presenting to-be-cleaned data, and electronic device
TW201433967A (en) Auto-complete with persisted atomically linked entities
CN105183902A (en) File cleaning method and device and terminal
WO2017032313A1 (en) Method and apparatus for identifying to-be-cleaned data, and electronic device
CN106776908B (en) Data cleaning method and device and terminal
CN106201777A (en) The method of information processing and mobile device
CN104182479B (en) A kind of method and device handling information
CN108140039B (en) Streaming records from database access of parallel batches
US10963635B2 (en) Extensibility of compound data objects
WO2011103765A1 (en) Method and device for switching display in electronic reader
WO2017148194A1 (en) Image presenting method and apparatus, and electronic device
CN103164351B (en) data access method
US9256754B2 (en) Data protection method and electronic device capable of creating a private folder having a same name as a public folder to hide private data
CN107016296B (en) Data index construction method, data index reading method, data index construction device, data reading device and electronic equipment
US20080288098A1 (en) Method for avoiding refreshing a database of metadata associated with digital media content
US20080288099A1 (en) Digital media player with improved user experience
CN108021301A (en) A kind of volume adjusting method, terminal device and computer-readable recording medium
US9426277B2 (en) Method and apparatus for operating message function in connection with note function
CN112036133B (en) File storage method and device, electronic equipment and storage medium
US20080288096A1 (en) Digital media player with circuitry for avoiding refreshing a database of metadata associated with digital media content
US20050206611A1 (en) Audio and video playing method
JP6034255B2 (en) Communication terminal

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