WO2016183891A1 - 一种信息处理方法、电子设备及计算机存储介质 - Google Patents

一种信息处理方法、电子设备及计算机存储介质 Download PDF

Info

Publication number
WO2016183891A1
WO2016183891A1 PCT/CN2015/081684 CN2015081684W WO2016183891A1 WO 2016183891 A1 WO2016183891 A1 WO 2016183891A1 CN 2015081684 W CN2015081684 W CN 2015081684W WO 2016183891 A1 WO2016183891 A1 WO 2016183891A1
Authority
WO
WIPO (PCT)
Prior art keywords
file data
electronic device
encryption
target file
triggering operation
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/CN2015/081684
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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to US15/575,227 priority Critical patent/US20180157846A1/en
Priority to EP15892269.0A priority patent/EP3299987B1/en
Publication of WO2016183891A1 publication Critical patent/WO2016183891A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24167Encryption, password, user access privileges
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/328Processing of the additional information
    • H04N2201/3281Encryption; Ciphering

Definitions

  • the present invention relates to communication technologies, and in particular, to an information processing method, an electronic device, and a computer storage medium.
  • electronic devices store various forms of files, such as multimedia file data such as video, images, and audio stored in a portable computer, particularly related to a user's own privacy file or a file containing important data.
  • multimedia file data such as video, images, and audio stored in a portable computer
  • the traditional file encryption method is mainly based on the pure software solution, and the only file encryption method relying on hardware is the fingerprint identification method.
  • the fingerprint identification method mainly adopts fingerprint recognition module to take fingerprints, software algorithms to make judgments, and further key management.
  • the fingerprint identification method based on the combination of software and hardware has complicated scheme, high cost and difficulty in implementation, and the software algorithm matched with the fingerprint identification method is not mature enough, and the security is relatively poor.
  • the embodiments of the present invention provide an information processing method, an electronic device, and a computer storage medium, which can implement file encryption by combining software and hardware.
  • An embodiment of the present invention provides an information processing method, which is applied to an electronic device, where the electronic device includes a sensing unit, and the method includes:
  • the detecting whether the at least one triggering operation meets a preset encryption condition comprises:
  • a cryptographic operation in the cryptographic operation database is detected to match the at least one triggering operation.
  • the at least one triggering operation comprises at least two triggering operations
  • the detecting, in the encryption operation database, whether there is an encryption operation matching the at least one trigger operation including:
  • the determining the target file data based on the preset rule comprises:
  • the file data currently acquired by the electronic device is determined as the target file data.
  • the encrypting the target file data includes:
  • the encrypting the target file data includes:
  • the target file data is re-encoded such that the target file data cannot be opened normally.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the embodiment of the present invention.
  • the information processing method is not limited to:
  • An embodiment of the present invention further provides an electronic device, where the electronic device includes a sensing unit, a detecting unit, a determining unit, and an encryption processing unit.
  • the sensing unit is configured to acquire at least one triggering operation
  • the detecting unit is configured to detect whether the at least one triggering operation satisfies a preset encryption condition, and obtain a detection result;
  • the determining unit is configured to determine target file data based on a preset rule when the detection result is that the at least one triggering operation satisfies a preset encryption condition;
  • the encryption processing unit is configured to perform encryption processing on the target file data.
  • the detecting unit is configured to detect whether an encryption operation matching the at least one triggering operation exists in the encryption operation database.
  • the at least one triggering operation comprises at least two triggering operations
  • the detecting unit is configured to detect, in a preset time period, whether an encryption operation matching the at least two trigger operations exists in the encryption operation database.
  • the determining unit is configured to determine file data currently opened in the electronic device as target file data; or determine all multimedia file data stored by the electronic device as target file data; Alternatively, the file data currently acquired by the electronic device is determined as the target file data.
  • the encryption processing unit is configured to perform encryption processing on the target file data based on an encryption key that matches the at least one triggering operation.
  • the encryption processing unit is configured to re-encode the target file data such that the target file data cannot be normally opened.
  • the electronic device acquires at least one triggering operation by the sensing unit, and detects whether the at least one triggering operation satisfies a preset encryption condition, and obtains a detection result;
  • the detection result is the at least one
  • the target file data is determined based on the preset rule; and the target file data is encrypted.
  • FIG. 1 is a schematic flowchart 1 of an implementation process of an information processing method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram 1 of a hardware side description of an electronic device according to an embodiment of the present invention.
  • FIG. 3 is a second schematic diagram of an implementation process of an information processing method according to an embodiment of the present invention.
  • FIG. 4 is a second schematic diagram of hardware on the electronic device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device acquires at least one triggering operation by the sensing unit, detects whether the at least one triggering operation satisfies a preset encryption condition, and obtains a detection result; when the detection result is that the at least one triggering operation is satisfied
  • the encryption condition is preset
  • the target file data is determined based on the preset rule; and the target file data is encrypted.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a schematic flowchart of an implementation of an information processing method according to an embodiment of the present invention, which is applied to an electronic device, where the electronic device includes a sensing unit.
  • the information processing method in the embodiment of the present invention includes:
  • Step S101 Acquire at least one trigger operation by using the sensing unit
  • the electronic device may be a mobile phone, a PC, a tablet, a personal digital assistant, or the like.
  • the sensing unit may be configured by a combination of different types of sensors disposed in an electronic device; wherein the different types of sensors include a temperature sensor, a light sensor, a pressure sensor, Acceleration sensor, etc.
  • three temperature sensors A, B, and C are disposed in the upper left side of the electronic device, and the temperature sensor can collect temperature quickly and accurately. If the user touches the temperature sensor, the temperature sensor will collect detailed data, including temperature changes at successive points in time. Specifically, as shown in FIG. 2, when the user needs to encrypt the file data in the electronic device, if the temperature sensors A, B, and C are sequentially touched from top to bottom, the three temperature sensors will record quickly and accurately. Data information such as "this operation”, “specific time” and “specific speed”. In this way, the operations of "1" and "2" as shown in FIG. 2 are sequentially ordered as a combined action, and at the same time, at least one triggering operation acquired by the sensing unit in the first embodiment of the present invention.
  • Step S102 detecting whether the at least one triggering operation satisfies a preset encryption condition, and obtaining a detection result
  • the electronic device detects whether the at least one triggering operation satisfies a preset encryption condition by detecting whether an encryption operation matching the at least one triggering operation exists in the encryption operation database, and obtains a detection result.
  • the user sets the preset encryption condition in the electronic device in advance and saves it to the encryption operation database; wherein the setting of the preset encryption condition can be set according to the specific composition of the sensing unit set in the electronic device. .
  • Step S103 When the detection result is that the at least one triggering operation satisfies a preset encryption condition, determining target file data based on a preset rule;
  • the determining, by the electronic device, the target file data according to the preset rule includes: determining file data currently opened in the electronic device as target file data; or determining all multimedia file data stored by the electronic device The target file data is determined; or the file data currently acquired by the electronic device is determined as the target file data.
  • the target file data may be multimedia file data such as video, image, audio, and the like stored in a portable computer, and particularly relates to a user's own privacy file or a file containing important data.
  • the electronic device determines the photo acquired by the current photographing operation as the target file data.
  • Step S104 Perform encryption processing on the target file data.
  • the electronic device may perform encryption processing on the target file data by using different encryption processing methods. Specifically, the electronic device may perform encryption processing on the target file data based on an encryption key that matches the at least one triggering operation. In addition, the electronic device may further re-encode the target file data such that the target file data cannot be normally opened.
  • setting a password corresponding to at least one triggering operation “1” “2” as shown in FIG. 2 is The number "12", or the English letter “one two” and so on.
  • the electronic device acquires at least one triggering operation by the sensing unit; further, when detecting that the at least one triggering operation satisfies the preset encryption condition, determining the target based on the preset rule File data, and encrypting the target file data.
  • file encryption is realized by a combination of software and hardware, which is difficult to implement, high in reliability, and does not require additional cost.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information processing method according to the first embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of an implementation of an information processing method according to an embodiment of the present invention, which is applied to an electronic device, where the electronic device includes a sensing unit.
  • the information processing method in the embodiment of the present invention includes:
  • Step S301 Acquire at least two trigger operations by using the sensing unit
  • At least one triggering operation in the first embodiment of the present invention may be limited to at least two triggering operations, that is, the electronic device acquires at least two triggering operations by using the sensing unit.
  • three temperature sensors A, B, and C are disposed in the upper left side of the electronic device, and the temperature sensor can collect temperature quickly and accurately.
  • the three temperature sensors are quickly and accurately. Record the data "this operation", “specific time”, “specific speed” and so on.
  • a light sensor S is disposed in the upper right corner of the electronic device, and the light sensor can quickly and accurately collect the specific intensity value of the light. If it is covered to attenuate the light, the light sensor will collect detailed data, including changes in light intensity at successive points in time. Specifically, as shown in FIG.
  • Step S302 detecting, in the preset time period, whether an encryption operation matching the at least two trigger operations exists in the encryption operation database;
  • the electronic device detects, in the preset time period, whether there is an encryption operation matching the at least two operation directions in the encryption operation database; wherein the setting of the preset time period may be performed according to the user performing the at least two
  • the length of time used to trigger the operation and the detection rate of the electronic device are determined.
  • the preset time period may be set. A period of time equivalent to the length of time used to perform the at least two triggering operations with a normal user.
  • the user can preset the encryption operations of operations “1", “2”, “3”, and “4" as shown in the figure, and store them in the encryption operation database.
  • the electronic device acquires at least two trigger operations such as operation “1” “2” “3” “4” through the sensing unit, it may be determined that the encryption operation database is in the preset time period. There is an encryption operation that matches the at least two triggering operations.
  • Step S303 When there is an encryption operation matching the at least two trigger operations in the encryption operation database within a preset time period, determining target file data based on a preset rule;
  • the determining, by the electronic device, the target file data according to the preset rule includes: determining file data currently opened in the electronic device as target file data; or determining all multimedia file data stored by the electronic device The target file data is determined; or the file data currently acquired by the electronic device is determined as the target file data.
  • the target file data may be multimedia file data such as video, image, audio, and the like stored in a portable computer, and particularly relates to a user's own privacy file or a file containing important data.
  • the electronic device determines the photo acquired by the current photographing operation. For the target file data.
  • Step S304 Perform encryption processing on the target file data.
  • the electronic device may perform encryption processing on the target file data by using different encryption processing methods. Specifically, the electronic device may perform encryption processing on the target file data based on an encryption key that matches the at least one triggering operation. In addition, the electronic device may further re-encode the target file data such that the target file data cannot be normally opened.
  • At least two trigger operations "1", “2", and “3" as shown in FIG. 4 are set.
  • the password corresponding to "4" is the number “1 2 3 4", or the English letter "one two three four".
  • the electronic device acquires at least two trigger operations by using the sensing unit; further, the at least two trigger operations exist in the encrypted operation database within a preset time period.
  • the matching encryption operation is performed, the target file data is determined based on a preset rule, and the target file data is encrypted.
  • file encryption is realized by a combination of software and hardware, which is difficult to implement, high in reliability, and does not require additional cost.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the information processing method according to the second embodiment of the present invention.
  • the electronic device includes a sensing unit 501, a detecting unit 502, a determining unit 503, and an encryption processing unit 504.
  • the sensing unit 501 is configured to acquire at least one triggering operation
  • the detecting unit 502 is configured to detect whether the at least one triggering operation meets a preset encryption condition, and obtain a detection result;
  • the detecting unit 502 detects whether there is an encryption operation matching the at least one triggering operation in the encryption operation database.
  • the detecting unit 502 detects, in a preset time period, whether there is a matching in the encrypted operation database with the at least two triggering operations. Encryption operation.
  • the determining unit 503 is configured to determine target file data based on a preset rule when the detection result is that the at least one triggering operation satisfies a preset encryption condition;
  • the determining unit 503 determines file data currently opened in the electronic device as target file data; or, all multimedia file data stored in the electronic device Determined as the target file data; or, the file data currently acquired by the electronic device is determined as the target file data.
  • the encryption processing unit 504 is configured to perform encryption processing on the target file data.
  • the encryption processing unit 504 performs encryption processing on the target file data based on an encryption key that matches the at least one trigger operation. In another embodiment, the encryption processing unit 504 re-encodes the target file data such that the target file data cannot be opened normally.
  • the sensing unit 501 in the electronic device may be configured by a combination of different types of sensors disposed in the electronic device, and the different types of sensors include a temperature sensor, a light sensor, a pressure sensor, an acceleration sensor, and the like.
  • the detection unit 502, the determining unit 503, and the encryption processing unit 504 in the electronic device may be implemented by a processor in the electronic device, or may be implemented by a specific logic circuit; for example, in an actual application, the electronic device may be located in the electronic device.
  • Central Processing Unit CPU
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the electronic device acquires at least one triggering operation by the sensing unit, and detects whether the at least one triggering operation satisfies a preset encryption condition, and obtains a detection result; when the detection result is the at least one When the triggering operation satisfies the preset encryption condition, the target file data is determined based on the preset rule; and the target file data is encrypted.
  • file encryption is realized by a combination of software and hardware, which is difficult to implement, high in reliability, and does not require additional cost.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种信息处理方法、电子设备及计算机存储介质,电子设备通过传感单元获取至少一个触发操作;检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;对所述目标文件数据进行加密处理。

Description

一种信息处理方法、电子设备及计算机存储介质 技术领域
本发明涉及通讯技术,尤其涉及一种信息处理方法、电子设备及计算机存储介质。
背景技术
目前,电子设备中存储有各种形式的文件,如便携式电脑中存储的视频、图像、音频类等多媒体文件数据,特别是涉及到用户自身的隐私文件、或者包含重要数据的文件。为了实现文件的安全管理,传统的文件加密方法主要以纯软件方案为主,唯一依托于硬件的文件加密方法为指纹识别法。所述指纹识别法主要通过指纹识别模组录取指纹、软件算法做判定、以及进一步的密钥管理等。
然而,基于软硬件结合的指纹识别法,其方案复杂,成本较高,实现难度大,而且与所述指纹识别法相配合的软件算法也不够成熟,安全性比较差。
发明内容
本发明实施例提供一种信息处理方法、电子设备及计算机存储介质,能够通过软硬件结合的方式实现文件加密。
本发明实施例的技术方案是这样实现的:
本发明实施例提供一种信息处理方法,应用于电子设备,所述电子设备包括传感单元,所述方法包括:
通过所述传感单元获取至少一个触发操作;
检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
对所述目标文件数据进行加密处理。
在一实施例中,所述检测所述至少一个触发操作是否满足预设加密条件,包括:
检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作。
在一实施例中,所述至少一个触发操作包括至少两个触发操作;
所述检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作,包括:
在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作。
在一实施例中,所述基于预设规则确定目标文件数据,包括:
将所述电子设备中当前被打开的文件数据确定为目标文件数据;
或者,将所述电子设备存储的所有多媒体文件数据确定为目标文件数据;
或者,将所述电子设备当前获取的文件数据确定为目标文件数据。
在一实施例中,所述对所述目标文件数据进行加密处理,包括:
基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。
在一实施例中,所述对所述目标文件数据进行加密处理,包括:
对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所 述信息处理方法。
本发明实施例还提供一种电子设备,所述电子设备包括传感单元、检测单元、确定单元和加密处理单元;
所述传感单元,配置为获取至少一个触发操作;
所述检测单元,配置为检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
所述确定单元,配置为当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
所述加密处理单元,配置为对所述目标文件数据进行加密处理。
在一实施例中,所述检测单元,配置为检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作。
在一实施例中,所述至少一个触发操作包括至少两个触发操作;
所述检测单元,配置为在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作。
在一实施例中,所述确定单元,配置为将所述电子设备中当前被打开的文件数据确定为目标文件数据;或者,将所述电子设备存储的所有多媒体文件数据确定为目标文件数据;或者,将所述电子设备当前获取的文件数据确定为目标文件数据。
在一实施例中,所述加密处理单元,配置为基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。
在一实施例中,所述加密处理单元,配置为对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
本发明实施例所提供的信息处理方法、电子设备及计算机存储介质,电子设备通过传感单元获取至少一个触发操作;检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;当所述检测结果为所述至少一 个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;对所述目标文件数据进行加密处理。如此,通过软硬件结合的方式实现文件加密,其实现难度小,可靠性高,且不需要增加额外的成本。
附图说明
图1为本发明实施例信息处理方法的实现流程示意图一;
图2为本发明实施例电子设备的硬件侧描述示意图一;
图3为本发明实施例信息处理方法的实现流程示意图二;
图4为本发明实施例电子设备的硬件侧描述示意图二;
图5为本发明实施例电子设备的组成结构示意图。
具体实施方式
在本发明实施例中,电子设备通过传感单元获取至少一个触发操作;检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;对所述目标文件数据进行加密处理。
下面结合附图及具体实施例对本发明再作进一步详细的说明。
实施例一:
图1为本发明实施例信息处理方法的实现流程示意图,应用于电子设备中,所述电子设备包括传感单元,如图1所示,本发明实施例信息处理方法包括:
步骤S101:通过所述传感单元获取至少一个触发操作;
这里,所述电子设备可以为手机、PC机、平板电脑、个人数字助理等。所述传感单元可以通过设置于电子设备中的不同类型的传感器组合构成;其中,所述不同类型的传感器包括温度传感器、光线传感器、压力传感器、 加速度传感器等。
在一示例中,在电子设备的左上侧边中设置有A、B、C三个温度传感器,所述温度传感器可以迅速且精确的采集温度。如果用户手指触碰温度传感器时,温度传感器会有详细的数据采集到,包括连续的时间点下的温度变化。具体的,如图2所示,当用户需要对电子设备中的文件数据进行加密时,若从上到下依次接触温度传感器A、B、C,那么这三个温度传感器会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据信息。这样,把如图2所示的操作“1”“2”顺序排序作为一个组合动作,同时也作为本发明实施例一通过所述传感单元获取的至少一个触发操作。
步骤S102:检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
具体地,电子设备通过检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作,来检测所述至少一个触发操作是否满足预设加密条件,得到检测结果。这里,用户会预先在电子设备中设置预设加密条件,并保存至加密操作数据库中;其中,所述预设加密条件的设置可以根据设置于电子设备中的传感单元的具体组成情况加以设置。
步骤S103:当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
具体地,所述电子设备基于预设规则确定目标文件数据,包括:将所述电子设备中当前被打开的文件数据确定为目标文件数据;或者,将所述电子设备存储的所有多媒体文件数据确定为目标文件数据;或者,将所述电子设备当前获取的文件数据确定为目标文件数据。举例来说,所述目标文件数据可以为便携式电脑中存储的视频、图像、音频类等多媒体文件数据,特别是涉及到用户自身的隐私文件、或者包含重要数据的文件。
在一示例中,当用户需要对当前拍照操作所获取的照片进行加密,则 当所述检测结果为所述至少一个触发操作满足预设加密条件时,电子设备将当前拍照操作所获取的照片确定为目标文件数据。
步骤S104:对所述目标文件数据进行加密处理。
这里,电子设备可以采用不同的加密处理方式对所述目标文件数据进行加密处理。具体地,电子设备可以基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。另外,电子设备还可以对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
在一示例中,如图2所示,基于所述至少一个触发操作与加密密钥之间的对应关系,设置如图2所示的至少一个触发操作“1”“2”相对应的密码为数字“12”,或英文字母“one two”等。
如此,通过本发明实施例所述信息处理方法,电子设备通过传感单元获取至少一个触发操作;进一步地,在检测有所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据,并对所述目标文件数据进行加密处理。这样,通过软硬件结合的方式实现文件加密,其实现难度小,可靠性高,且不需要增加额外的成本。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例一所述信息处理方法。
实施例二
图3为本发明实施例信息处理方法的实现流程示意图,应用于电子设备中,所述电子设备包括传感单元,如图3所示,本发明实施例信息处理方法包括:
步骤S301:通过所述传感单元获取至少两个触发操作;
这里,当在电子设备中仅设置对应于一个触发操作的加密处理过程时, 会由于用户的误操作,引起不必要的加密处理过程,使得加密处理过程过于频繁。为了解决这一问题,可以将本发明实施例一中的至少一个触发操作限定在至少两个触发操作,即电子设备通过所述传感单元获取至少两个触发操作。
在一示例中,在电子设备的左上侧边中设置有A、B、C三个温度传感器,所述温度传感器可以迅速且精确的采集温度。具体地,如图4所示,当用户需要对电子设备中的文件数据进行加密时,若用户手指从上到下依次接触温度传感器A、B、C,那么这三个温度传感器会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据。同时,在电子设备的右上角设置有光线传感器S,所述光线传感器可以迅速而精确的采集光线的具体强度值。如果被遮盖减弱光线,光线传感器会有详细的数据采集到,包括连续时间点下的光线强度变化。具体地,如图4所示,用户手指从左向右连续两次“打开—遮蔽—打开”所述光线传感器S,那么光线传感器S会迅速并准确的记录“这个操作”“具体时间”“具体速度”等数据信息。这样,把如图4所示的操作“1”“2”“3”“4”顺序排序作为一个组合动作,同时也作为本发明实施例二通过所述传感单元获取至少两个触发操作。
步骤S302:在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作;
具体的,电子设备在预设时间段内检测加密操作数据库中是否存在与所述至少两个操作向匹配的加密操作;其中,所述预设时间段的设置可以根据用户执行所述至少两个触发操作所用时长及电子设备的检测速率来确定。在实际应用中,由于所述电子设备用于检测加密操作数据库中是否存在与所述至少两个操作向匹配的加密操作的检测速率很快,可以忽略不计,故所述预设时间段可以设置为与普通用户执行所述至少两个触发操作所用时长相当的时间段。
在一示例中,如图4所示的电子设备,用户可以预先设置如图中操作“1”“2”“3”“4”的加密操作,并存储于加密操作数据库中。这样,当电子设备通过所述传感单元获取到如操作“1”“2”“3”“4”的至少两个触发操作时,即可确定在预设时间段内所述加密操作数据库中存在与所述至少两个触发操作相匹配的加密操作。
步骤S303:当在预设时间段内所述加密操作数据库中存在与所述至少两个触发操作相匹配的加密操作时,基于预设规则确定目标文件数据;
具体地,所述电子设备基于预设规则确定目标文件数据,包括:将所述电子设备中当前被打开的文件数据确定为目标文件数据;或者,将所述电子设备存储的所有多媒体文件数据确定为目标文件数据;或者,将所述电子设备当前获取的文件数据确定为目标文件数据。举例来说,所述目标文件数据可以为便携式电脑中存储的视频、图像、音频类等多媒体文件数据,特别是涉及到用户自身的隐私文件、或者包含重要数据的文件。
在一示例中,当用户需要对当前拍照操作所获取的照片进行加密,则当所述检测结果为所述至少一个触发操作满足预设加密条件时,电子设备将当前拍照操作所获取的照片确定为目标文件数据。
步骤S304:对所述目标文件数据进行加密处理。
这里,电子设备可以采用不同的加密处理方式对所述目标文件数据进行加密处理。具体地,电子设备可以基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。另外,电子设备还可以对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
在一示例中,如图4所示,基于所述至少两个触发操作与加密密钥之间的对应关系,设置如图4所示的至少两个触发操作“1”“2”“3”“4”相对应的密码为数字“1 2 3 4”,或英文字母“one two three four”等。
如此,通过本发明实施例所述信息处理方法,电子设备通过传感单元获取至少两个触发操作;进一步地,在预设时间段内所述加密操作数据库中存在与所述至少两个触发操作相匹配的加密操作时,基于预设规则确定目标文件数据,并对所述目标文件数据进行加密处理。这样,通过软硬件结合的方式实现文件加密,其实现难度小,可靠性高,且不需要增加额外的成本。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例二所述信息处理方法。
实施例三
图5为本发明实施例电子设备的组成结构示意图,如图5所示,所述电子设备包括传感单元501、检测单元502、确定单元503和加密处理单元504;
所述传感单元501,配置为获取至少一个触发操作;
所述检测单元502,配置为检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
具体地,所述检测单元502检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作。
在一实施例中,当所述至少一个触发操作包括至少两个触发操作时,所述检测单元502在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作。
所述确定单元503,配置为当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
具体的,所述确定单元503将所述电子设备中当前被打开的文件数据确定为目标文件数据;或者,将所述电子设备存储的所有多媒体文件数据 确定为目标文件数据;或者,将所述电子设备当前获取的文件数据确定为目标文件数据。
所述加密处理单元504,配置为对所述目标文件数据进行加密处理。
具体地,在一实施例中,所述加密处理单元504基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。在另一实施例中,所述加密处理单元504对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
本发明实施例所述电子设备中的传感单元501可以通过设置于电子设备中的不同类型的传感器组合构成,所述不同类型的传感器包括温度传感器、光线传感器、压力传感器、加速度传感器等。所述电子设备中的检测单元502、确定单元503和加密处理单元504均可以通过电子设备中的处理器实现,也可以通过具体的逻辑电路实现;比如,在实际应用中,可由位于所述电子设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。
工业实用性
本发明实施例所述信息处理方法,电子设备通过传感单元获取至少一个触发操作;检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;对所述目标文件数据进行加密处理。如此,通过软硬件结合的方式实现文件加密,其实现难度小,可靠性高,且不需要增加额外的成本。

Claims (13)

  1. 一种信息处理方法,应用于电子设备,所述电子设备包括传感单元,所述方法包括:
    通过所述传感单元获取至少一个触发操作;
    检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
    当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
    对所述目标文件数据进行加密处理。
  2. 根据权利要求1所述的方法,其中,所述检测所述至少一个触发操作是否满足预设加密条件,包括:
    检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作。
  3. 根据权利要求2所述的方法,其中,所述至少一个触发操作包括至少两个触发操作;
    所述检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作,包括:
    在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作。
  4. 根据权利要求1至3任一项所述的方法,其中,所述基于预设规则确定目标文件数据,包括:
    将所述电子设备中当前被打开的文件数据确定为目标文件数据;
    或者,将所述电子设备存储的所有多媒体文件数据确定为目标文件数据;
    或者,将所述电子设备当前获取的文件数据确定为目标文件数据。
  5. 根据权利要求1至3任一项所述的方法,其中,所述对所述目标文 件数据进行加密处理,包括:
    基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。
  6. 根据权利要求1至3任一项所述的方法,其中,所述对所述目标文件数据进行加密处理,包括:
    对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
  7. 一种电子设备,所述电子设备包括传感单元、检测单元、确定单元和加密处理单元;
    所述传感单元,配置为获取至少一个触发操作;
    所述检测单元,配置为检测所述至少一个触发操作是否满足预设加密条件,得到检测结果;
    所述确定单元,配置为当所述检测结果为所述至少一个触发操作满足预设加密条件时,基于预设规则确定目标文件数据;
    所述加密处理单元,配置为对所述目标文件数据进行加密处理。
  8. 根据权利要求7所述的电子设备,其中,
    所述检测单元,配置为检测加密操作数据库中是否存在与所述至少一个触发操作相匹配的加密操作。
  9. 根据权利要求8所述的电子设备,其中,所述至少一个触发操作包括至少两个触发操作;
    所述检测单元,配置为在预设时间段内检测加密操作数据库中是否存在与所述至少两个触发操作相匹配的加密操作。
  10. 根据权利要求7至9任一项所述的电子设备,其中,
    所述确定单元,配置为将所述电子设备中当前被打开的文件数据确定为目标文件数据;或者,将所述电子设备存储的所有多媒体文件数据确定 为目标文件数据;或者,将所述电子设备当前获取的文件数据确定为目标文件数据。
  11. 根据权利要求7至9任一项所述的电子设备,其中,
    所述加密处理单元,配置为基于与所述至少一个触发操作相匹配的加密密钥对所述目标文件数据进行加密处理。
  12. 根据权利要求7至9任一项所述的电子设备,其中,
    所述加密处理单元,配置为对所述目标文件数据进行重新编码,以使得所述目标文件数据无法被正常打开。
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述信息处理方法。
PCT/CN2015/081684 2015-05-20 2015-06-17 一种信息处理方法、电子设备及计算机存储介质 Ceased WO2016183891A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/575,227 US20180157846A1 (en) 2015-05-20 2015-06-17 Information processing method, electronic device and computer storage medium
EP15892269.0A EP3299987B1 (en) 2015-05-20 2015-06-17 Information processing method, electronic device, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510260039.1 2015-05-20
CN201510260039.1A CN106295358A (zh) 2015-05-20 2015-05-20 一种信息处理方法及电子设备

Publications (1)

Publication Number Publication Date
WO2016183891A1 true WO2016183891A1 (zh) 2016-11-24

Family

ID=57319208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081684 Ceased WO2016183891A1 (zh) 2015-05-20 2015-06-17 一种信息处理方法、电子设备及计算机存储介质

Country Status (4)

Country Link
US (1) US20180157846A1 (zh)
EP (1) EP3299987B1 (zh)
CN (1) CN106295358A (zh)
WO (1) WO2016183891A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337355B (zh) * 2017-01-19 2020-10-13 北京小米移动软件有限公司 对象加密方法及装置
CN107846351A (zh) * 2017-10-23 2018-03-27 苏州亿科赛卓电子科技有限公司 一种聊天消息敏感信息加密方法及装置
CN113449298B (zh) * 2020-03-24 2023-09-05 百度在线网络技术(北京)有限公司 一种反弹shell进程的检测方法、装置、设备和介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182706A (zh) * 2013-05-24 2014-12-03 中兴通讯股份有限公司 一种移动终端存储卡的保密方法、装置及移动终端
CN104239810A (zh) * 2013-06-20 2014-12-24 上海工程技术大学 一种基于遥控器的加密解密方法及装置
CN104408357A (zh) * 2014-12-01 2015-03-11 上海合合信息科技发展有限公司 指纹加密装置及方法,指纹解密装置及方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1908249B1 (en) * 2005-07-27 2012-08-15 International Business Machines Corporation Systems and method for secure delivery of files to authorized recipients
US9285840B2 (en) * 2010-08-19 2016-03-15 Michael S. Stamer Detachable sensory-interface device for a wireless personal communication device and method
US8533493B1 (en) * 2012-03-16 2013-09-10 National Chengchi University Method of securing transmission data
US9027108B2 (en) * 2012-05-23 2015-05-05 Box, Inc. Systems and methods for secure file portability between mobile applications on a mobile device
CN103024158A (zh) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 具有指纹识别功能的手机
CN104184875B (zh) * 2013-05-20 2019-01-11 中兴通讯股份有限公司 终端调试端口的开启方法、装置与终端
CN103702317B (zh) * 2013-12-13 2017-11-10 北京奇虎科技有限公司 移动终端防盗方法及客户端
CN103886262A (zh) * 2014-02-21 2014-06-25 联想(北京)有限公司 一种信息处理方法及电子设备
CA2949152A1 (en) * 2014-06-27 2015-12-30 Microsoft Technology Licensing, Llc Data protection based on user and gesture recognition
CN104573534B (zh) * 2014-12-24 2018-01-16 北京奇虎科技有限公司 一种在移动设备中处理隐私数据的方法和装置
US10073985B2 (en) * 2015-02-27 2018-09-11 Samsung Electronics Co., Ltd. Apparatus and method for trusted execution environment file protection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182706A (zh) * 2013-05-24 2014-12-03 中兴通讯股份有限公司 一种移动终端存储卡的保密方法、装置及移动终端
CN104239810A (zh) * 2013-06-20 2014-12-24 上海工程技术大学 一种基于遥控器的加密解密方法及装置
CN104408357A (zh) * 2014-12-01 2015-03-11 上海合合信息科技发展有限公司 指纹加密装置及方法,指纹解密装置及方法

Also Published As

Publication number Publication date
EP3299987A1 (en) 2018-03-28
EP3299987A4 (en) 2018-04-11
US20180157846A1 (en) 2018-06-07
CN106295358A (zh) 2017-01-04
EP3299987B1 (en) 2021-03-31

Similar Documents

Publication Publication Date Title
JP6166749B2 (ja) コンテキストベースのデータアクセス制御
EP3355224B1 (en) Methods for digitally signing an electronic file, and authenticating method
US9218474B1 (en) Enhanced biometric security measures
TW201939337A (zh) 行為識別、數據處理方法及裝置
CN110321757B (zh) 跨端生物特征识别系统、生物特征管理系统、方法及装置
CN105320874A (zh) 用于对内容进行加密或解密的方法和装置
JP2017517797A5 (zh)
US9639839B2 (en) Fingerprint recognition control methods for payment and non-payment applications
CN104915601A (zh) 对装置中的文件夹进行加密的系统和方法
WO2017097057A1 (zh) 基于人物识别的相片加/解密方法及系统、移动终端
US11113371B2 (en) Continuous authentication based on motion input data
WO2023061262A1 (zh) 图像处理方法、装置、设备及存储介质
WO2018166484A1 (zh) 数据加密、解密方法、装置、电子设备及可读存储介质
KR102065912B1 (ko) 압력 감지를 이용한 사용자 인증 영상 획득 장치 및 방법
US20150256344A1 (en) Memory system and method of generating management information
TW201339990A (zh) 資料保護系統及方法
JP6698707B2 (ja) バイナリ併合装置、その方法及び該コンピュータプログラム
WO2016183891A1 (zh) 一种信息处理方法、电子设备及计算机存储介质
JP2007215162A5 (zh)
CN106127013A (zh) 加密与解密方法、装置和移动终端
US20230195928A1 (en) Detection and protection of personal data in audio/video calls
KR102375973B1 (ko) 사례기반 추론엔진을 이용한 보안 서버 및 보안 기능의 설치를 위한 저장 매체
TW202018562A (zh) 基於區塊鏈的生物特徵資訊處理方法和裝置、終端設備
CN106325710B (zh) 移动终端的控制方法、装置和移动终端
CN111125020A (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: 15892269

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15575227

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2015892269

Country of ref document: EP