WO2016107024A1 - Information protection and display method, device and terminal - Google Patents

Information protection and display method, device and terminal Download PDF

Info

Publication number
WO2016107024A1
WO2016107024A1 PCT/CN2015/077417 CN2015077417W WO2016107024A1 WO 2016107024 A1 WO2016107024 A1 WO 2016107024A1 CN 2015077417 W CN2015077417 W CN 2015077417W WO 2016107024 A1 WO2016107024 A1 WO 2016107024A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
content
module
hidden
sensitive
Prior art date
Application number
PCT/CN2015/077417
Other languages
French (fr)
Chinese (zh)
Inventor
万强新
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016107024A1 publication Critical patent/WO2016107024A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Definitions

  • the present invention relates to the field of information security of mobile terminals, and in particular, to a protection information protection, display method, information protection, display device and terminal.
  • the existing information protection function often adopts a method of directly selecting the entire information for protection, so that after a certain period of protection, when a plurality of pieces of information are protected, it is inconvenient to query and read. At the same time, existing protection methods rely on the user to manually select the information that needs to be protected.
  • the present invention provides an information protection, a display method, an information protection, a display device, and a terminal, so as to protect the information containing sensitive content and facilitate the user to view.
  • An information protection method including:
  • the sensitive content is displayed as the hidden state content when the information is displayed.
  • the sensitive content included in the identification information includes:
  • hiding the sensitive content to obtain a hidden state content includes one of the following:
  • the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  • the hiding process includes:
  • the portion of the sensitive content to be hidden from being processed is processed in one of the following ways: hidden, deleted, and replaced with other content.
  • performing encryption processing on the sensitive content to obtain an encrypted status content includes:
  • the method before calculating the hash value of the encryption key by using a preset algorithm, the method further includes: performing encryption processing on the sensitive content content according to an encryption key input by the user, to obtain the encrypted state content.
  • An information display method includes:
  • the hidden state information is closed
  • the encrypted state content is decrypted, and the hidden content is hidden and processed before being hidden.
  • An information protection device includes: an information recognition module, a hidden module, an encryption module, a storage operation module, and a display control module;
  • the information identification module is configured to identify sensitive content included in the information
  • the hiding module is configured to perform hidden processing on the sensitive content to obtain a hidden state content
  • the encryption module is configured to perform encryption processing on the sensitive content to obtain an encrypted state content
  • the storage operation module is configured to associate the encrypted state content with the hidden state content
  • the display control module is configured to display the sensitive content as the hidden state content without decrypting the encrypted state content.
  • the information identification module includes a first extraction submodule and a matching submodule, and the first extraction submodule is configured to extract digital information in the information and acquire a feature of the digital information;
  • the matching sub The module is configured to match the feature of the digital information with a preset digital feature library, and if the matching is successful, determine that the digital information is sensitive content;
  • the information identification module includes a second extraction sub-module and a determination sub-module, and the second extraction sub-module is configured to extract digital information in the information; the determination sub-module is configured to determine the location according to a preset keyword library. Whether the keyword contains a keyword, if included, determines that the digital information is sensitive content.
  • the hiding module hides the sensitive content to obtain a hidden state content, which refers to one of the following:
  • the hiding module performs hidden processing on all the sensitive content to obtain the hidden state content
  • the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  • the hidden module includes one of the following: a hidden processing submodule, a deletion processing submodule, and a replacement submodule;
  • the hiding processing submodule is configured to hide a portion of the sensitive content to be hidden from being processed
  • the deletion processing sub-module is configured to directly delete the part of the sensitive content to be hidden and processed
  • the replacement sub-module is arranged to replace a portion of the sensitive content to be hidden from processing into other content.
  • the encryption module includes an expansion submodule and a calculation submodule
  • the extension submodule is configured to expand a cryptographic hash value storage field in the sensitive content or in the information;
  • the calculation submodule is configured to calculate a hash value of the encryption key according to an encryption key input by the user by using a preset algorithm and store the hash value in the password hash value storage field.
  • the encryption module further includes an encryption submodule, configured to be sensitive to the encryption key input by the user before the calculation submodule calculates the hash value of the encryption key by using a preset algorithm.
  • the content is encrypted to obtain the encrypted state content.
  • An information display device includes: a first display processing module and a second display processing module;
  • the first display processing module includes the information protection device described in the above item;
  • the second display processing module is configured to receive a decryption password input by the user, and perform decryption processing on the encrypted state content associated with the hidden state content according to the decryption password to obtain the sensitive content before the hidden state content is hidden and processed. Display.
  • a terminal includes a processor, a memory, and a display, the processor is configured to identify sensitive information in the information, and hide the sensitive information to obtain hidden state information. Encrypting the original information content of the information to obtain encrypted state information, and storing the encrypted state information in association with the hidden state information in the memory; and in a case where the encrypted state information is not decrypted, The sensitive information is displayed on the display as the hidden state information.
  • the embodiment of the invention can be applied to any system with information sending, receiving and displaying, and automatically recognizes and protects some sensitive content (such as ID number, courier number, bank account number, password, etc.) when new information is generated.
  • some sensitive content such as ID number, courier number, bank account number, password, etc.
  • the embodiment of the invention enhances the security of the user information and improves the user experience.
  • Embodiment 1 is a schematic flow chart of an information protection method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of an information protection apparatus according to Embodiment 2 of the present invention.
  • FIG. 3 is a flow chart of information processing in an embodiment of the present invention.
  • FIG. 5 is a flow chart of processing information containing sensitive content in an implementation example
  • Fig. 6 is a flow chart showing information displayed in the embodiment.
  • Embodiment 1 An information protection method, as shown in FIG. 1, includes:
  • the sensitive content included in the identification information includes:
  • hiding the sensitive content to obtain a hidden state content includes one of the following:
  • the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  • the hiding process includes:
  • the portion of the sensitive content to be hidden from being processed is processed in one of the following ways: hidden, deleted, and replaced with other content.
  • performing encryption processing on the sensitive content to obtain an encrypted status content includes:
  • the method before calculating the hash value of the encryption key by using a preset algorithm, the method further includes: performing encryption processing on the sensitive content content according to an encryption key input by the user, to obtain the encryption. Status content.
  • Embodiment 2 An information display method includes:
  • the information protection method displays information including sensitive content
  • Embodiment 3 an information protection device, as shown in Figure 2, comprising: information identification module 21, hidden module 22, encryption module 23, storage operation module 24 and display control module 25;
  • the information identification module 21 is configured to identify sensitive content included in the information
  • the hiding module 22 is configured to perform hidden processing on the sensitive content to obtain hidden state content
  • the encryption module 23 is configured to perform encryption processing on the sensitive content to obtain an encrypted state content
  • the storage operation module 24 is configured to associate the encrypted state content with the hidden state content
  • the display control module 25 is configured to display the sensitive content as the hidden state content without decrypting the encrypted state content.
  • the information identification module includes a first extraction submodule and a matching submodule, and the first extraction submodule is configured to extract digital information in the information and acquire a feature of the digital information;
  • the matching sub The module is configured to match the feature of the digital information with a preset digital feature library, and if the matching is successful, determine that the digital information is sensitive content;
  • the information identification module includes a second extraction sub-module and a determination sub-module, and the second extraction sub-module is configured to extract digital information in the information; the determination sub-module is configured to determine the location according to a preset keyword library. Whether the digital information contains a keyword, if included, the digital signal is determined Interest is sensitive content.
  • the hiding module hides the sensitive content to obtain a hidden state content, which refers to one of the following:
  • the hiding module performs hidden processing on all the sensitive content to obtain the hidden state content
  • the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  • the hidden module includes one of the following: a hidden processing submodule, a deletion processing submodule, and a replacement submodule;
  • the hiding processing submodule is configured to hide a portion of the sensitive content to be hidden from being processed
  • the deletion processing sub-module is configured to directly delete the part of the sensitive content to be hidden and processed
  • the replacement sub-module is arranged to replace a portion of the sensitive content to be hidden from processing into other content.
  • the encryption module includes an expansion submodule and a calculation submodule
  • the extension submodule is configured to expand a cryptographic hash value storage field in the sensitive content or in the information;
  • the calculation submodule is configured to calculate a hash value of the encryption key according to an encryption key input by the user by using a preset algorithm and store the hash value in the password hash value storage field.
  • the encryption module further includes an encryption submodule, configured to be sensitive to the encryption key input by the user before the calculation submodule calculates the hash value of the encryption key by using a preset algorithm.
  • the content is encrypted to obtain the encrypted state content.
  • Embodiment 4 An information display device includes: a first display processing module and a second display Management module
  • the first display processing module includes the information protection device described in Embodiment 3;
  • the second display processing module is configured to receive a decryption password input by the user, and perform decryption processing on the encrypted state content associated with the hidden state content according to the decryption password to obtain the sensitive content before the hidden state content is hidden and processed. Display.
  • Embodiment 5 A terminal, including a processor, a memory, and a display, the processor is configured to identify sensitive information in the information, and hide the sensitive information to obtain hidden state information, and the original information of the sensitive information. Encrypting the content to obtain encrypted state information, and storing the encrypted state information in association with the hidden state information in the memory; and for using the sensitive information without decrypting the encrypted state information The hidden state information is displayed on the display.
  • FIG. 3 is a general process flowchart of the present embodiment, including steps 102-106.
  • the monitoring information (step 102) and the information storage (in step 104) are general processing flows.
  • a process of identifying sensitive content is added after step 102 (step 103).
  • Modifying the information storage process (step 104), adding the following processing information before the information storage: the encryption flag bit marks whether the information is sensitive content, encrypts the sensitive content as a whole and encrypts the content, and stores the sensitive content.
  • the state content is hidden and stored in association with the encrypted state content.
  • the stored procedure further includes an information display process: in the process of displaying the information, the sensitive content is displayed as the hidden state content without decrypting the encrypted state content (step 105).
  • Step 201 detects whether the sub-text in the text of the information contains sensitive content (identification information such as ID number, courier number, bank account number, password, etc.).
  • the specific implementation includes two steps: 2011. Extracting the numeric string in the sub-text using the method of regular matching; 2012. judging whether the digital string is sensitive content according to the characteristics of the digital string, for example, for the ID number, the general feature is 18 consecutive digit strings or 17 digit strings +1 digits; for express delivery numbers, generally 10-12 is a numeric string; for bank accounts, generally 19 is a digit string; for transaction voucher numbers, for The voucher number of a common online transaction website establishes a feature library to judge.
  • 2012 can also be changed to: according to the established keywords (ID card, transfer, express, ticket collection, etc.) library, find out whether the above-mentioned keywords are included in the digital string to determine whether it is sensitive content, and further enhance information content sensitivity. Sexual judgment. According to the above method for judging sensitive content, if there is sensitive content, the process proceeds to step 202 to remind the user to process the sensitive content; if not, the process ends.
  • the established keywords ID card, transfer, express, ticket collection, etc.
  • FIG. 5 is a process of hiding the identified information containing sensitive content according to an embodiment of the present invention. For each piece of information that contains sensitive content:
  • Step 301 hiding the sensitive content in the information (replaced in this example) to obtain the hidden processing content, and retaining the part of the non-sensitive content as it is, and recording the password provided by the user; this step may have the following three implementation manners to obtain the hidden processing content. : 1. Automatically replace the characters of the last 25% of sensitive content (if 25% is not an integer, round up or down) to the same character (such as "*"), and the other parts of the sensitive content are unchanged; The editing area is provided, the user-defined selection needs to hide the processed part, the part selected by the user in the sensitive content is replaced, and the other parts of the sensitive content are unchanged; 3. The sensitive content is completely replaced.
  • Step 302 stores hidden state content
  • Step 303 encrypting the sensitive content to obtain an encrypted state content and storing the content in association with the hidden state content, and adding an encryption flag bit to mark whether the information includes sensitive content.
  • the specific implementation manner is: extending a field of the information database, adding an encryption flag field and a password hash value storage field; and encrypting the sensitive content according to a password provided by the user (the encryption algorithm is not limited, such as a sequence or a logical shift), and Set the encryption flag field to a valid value, and calculate the hash value of the password (the calculation method is not limited, such as md5) and save it in the password hash value storage field.
  • Fig. 6 is a flow chart showing information displayed in the embodiment.
  • the present embodiment can display the information content for the user according to the encrypted flag bit.
  • Step 401 When reading non-encrypted information, the information is normally displayed;
  • Step 402 when reading the encrypted information, the sensitive content in the information is displayed as the hidden state content that has been hidden and processed; at this time, if the user chooses to further view the entire content, proceed to step 403;
  • Step 403 Enter a password to decrypt to display sensitive content.
  • the specific decryption implementation manner is as follows: the hash value is calculated according to the password input by the user, and compared with the stored password hash value, if the same, the encrypted password content is decrypted to obtain the sensitive content. And display (can be displayed in the information or displayed separately), if different, prompt the user password input error.
  • the embodiment of the invention can be applied to any system with information sending, receiving and displaying, and automatically recognizes and protects some sensitive content (such as ID number, courier number, bank account number, password, etc.) when new information is generated.
  • some sensitive content such as ID number, courier number, bank account number, password, etc.
  • the embodiment of the invention enhances the security of the user information and improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

An information protection and display method, device and terminal, the protection method comprising: identifying sensitive content included in information; hiding the sensitive content to obtain hidden state content; encrypting the sensitive content to obtain encrypted state content; performing association storage for the encrypted state content and the hidden state content; and when the encrypted state content is not decrypted, and when displaying the information, displaying the sensitive content as the hidden state content. By means of the method in an embodiment of the present invention, the sensitive content is at least partially hidden, and other portions are normally displayed, thus facilitating a user to preview, look up and manage. Compared to the related art, the embodiment of the present invention enhances security of user information, and improves user experience.

Description

一种信息保护、显示方法、信息保护、显示装置及终端Information protection, display method, information protection, display device and terminal 技术领域Technical field
本发明涉及移动终端信息安全领域,特别涉及一种保护信息保护、显示方法、信息保护、显示装置及终端。The present invention relates to the field of information security of mobile terminals, and in particular, to a protection information protection, display method, information protection, display device and terminal.
背景技术Background technique
目前,通过移动终端网络发送或接收涉及个人的身份证号、快递单号、银行帐号、交易凭证号码等信息的情况非常常见。这些信息在使用之后,用户往往会保留在手机中,这部分信息很有可能面临泄漏。因此要求手机提供一些保护含有此类敏感内容信息的功能。At present, it is very common to send or receive information related to an individual's ID number, courier number, bank account number, transaction voucher number, etc. through the mobile terminal network. After the information is used, the user tends to keep it in the phone, and this part of the information is likely to be leaked. Therefore, mobile phones are required to provide some functions to protect information containing such sensitive content.
现有的信息保护功能,往往采用直接选择整条信息进行保护的方法,这样在保护一段时间之后,在有多条信息被保护的情况下,不便查询阅读。同时已有的保护方法均依靠用户手动选择需要保护的信息。The existing information protection function often adopts a method of directly selecting the entire information for protection, so that after a certain period of protection, when a plurality of pieces of information are protected, it is inconvenient to query and read. At the same time, existing protection methods rely on the user to manually select the information that needs to be protected.
发明内容Summary of the invention
基于以上背景,本发明提供一种信息保护、显示方法、信息保护、显示装置及终端,达到既保护含敏感内容信息,又方便用户查看的目的。Based on the above background, the present invention provides an information protection, a display method, an information protection, a display device, and a terminal, so as to protect the information containing sensitive content and facilitate the user to view.
为达到以上目的,采用如下技术方案:In order to achieve the above objectives, the following technical solutions are adopted:
一种信息保护方法,包括:An information protection method, including:
识别信息中所包含的敏感内容;Identify sensitive content contained in the information;
对所述敏感内容进行隐藏处理得到隐藏状态内容;Hiding the sensitive content to obtain hidden state content;
对所述敏感内容进行加密处理得到加密状态内容;Encrypting the sensitive content to obtain an encrypted state content;
将所述加密状态内容与所述隐藏状态内容进行关联存储;Associating the encrypted state content with the hidden state content;
在未解密所述加密状态内容的情况下,显示所述信息时将所述敏感内容显示为所述隐藏状态内容。In the case where the encrypted state content is not decrypted, the sensitive content is displayed as the hidden state content when the information is displayed.
可选地,所述识别信息中所包含的敏感内容包括: Optionally, the sensitive content included in the identification information includes:
提取所述信息中的数字信息并获取所述数字信息的特征,将所述特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容;Extracting digital information in the information and acquiring features of the digital information, matching the feature with a preset digital feature database, and determining that the digital information is sensitive content if the matching is successful;
或,or,
提取所述信息中的数字信息并根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信息为敏感内容。Extracting the digital information in the information and determining whether the digital information includes a keyword according to a preset keyword database, and if included, determining that the digital information is sensitive content.
可选地,对所述敏感内容进行隐藏处理得到隐藏状态内容包括以下之一:Optionally, hiding the sensitive content to obtain a hidden state content includes one of the following:
对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;Hiding all of the sensitive content to obtain the hidden state content;
对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容;Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
可选地,所述隐藏处理包括:Optionally, the hiding process includes:
对所述敏感内容中待隐藏处理的部分按以下方式之一进行处理:隐藏、删除、替换成其他内容。The portion of the sensitive content to be hidden from being processed is processed in one of the following ways: hidden, deleted, and replaced with other content.
可选地,对所述敏感内容进行加密处理得到加密状态内容包括:Optionally, performing encryption processing on the sensitive content to obtain an encrypted status content includes:
在所述敏感内容中或在所述信息中扩展密码散列值存储字段;Expanding a cryptographic hash value storage field in the sensitive content or in the information;
接收用户输入的加密密钥,采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。Receiving an encryption key input by the user, calculating a hash value of the encryption key by using a preset algorithm and storing the hash value in the password hash value storage field.
可选地,采用预设算法计算得到所述加密密钥的散列值之前,还包括:根据用户输入的加密密钥对所述敏感内容内容进行加密处理,得到所述加密状态内容。Optionally, before calculating the hash value of the encryption key by using a preset algorithm, the method further includes: performing encryption processing on the sensitive content content according to an encryption key input by the user, to obtain the encrypted state content.
一种信息显示方法,包括:An information display method includes:
按照上述的信息保护方法显示包含敏感内容的信息;Displaying information containing sensitive content according to the above information protection method;
接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态信息关 联的加密状态内容进行解密处理,得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。Receiving a decryption password input by the user, and according to the decryption password pair, the hidden state information is closed The encrypted state content is decrypted, and the hidden content is hidden and processed before being hidden.
一种信息保护装置,包括:信息识别模块、隐藏模块、加密模块、存储操作模块以及显示控制模块;An information protection device includes: an information recognition module, a hidden module, an encryption module, a storage operation module, and a display control module;
所述信息识别模块设置成识别信息中所包含的敏感内容;The information identification module is configured to identify sensitive content included in the information;
所述隐藏模块设置成对所述敏感内容进行隐藏处理得到隐藏状态内容;The hiding module is configured to perform hidden processing on the sensitive content to obtain a hidden state content;
所述加密模块设置成对所述敏感内容进行加密处理得到加密状态内容;The encryption module is configured to perform encryption processing on the sensitive content to obtain an encrypted state content;
所述存储操作模块设置成将所述加密状态内容与所述隐藏状态内容进行关联存储;The storage operation module is configured to associate the encrypted state content with the hidden state content;
所述显示控制模块设置成在未解密所述加密状态内容的情况下,将所述敏感内容显示为所述隐藏状态内容。The display control module is configured to display the sensitive content as the hidden state content without decrypting the encrypted state content.
可选地,所述信息识别模块包括第一提取子模块和匹配子模块,所述第一提取子模块设置成提取所述信息中的数字信息并获取所述数字信息的特征;所述匹配子模块设置成将所述数字信息的特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容;Optionally, the information identification module includes a first extraction submodule and a matching submodule, and the first extraction submodule is configured to extract digital information in the information and acquire a feature of the digital information; the matching sub The module is configured to match the feature of the digital information with a preset digital feature library, and if the matching is successful, determine that the digital information is sensitive content;
或,or,
所述信息识别模块包括第二提取子模块和判断子模块,所述第二提取子模块设置成提取所述信息中的数字信息;所述判断子模块设置成根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信息为敏感内容。The information identification module includes a second extraction sub-module and a determination sub-module, and the second extraction sub-module is configured to extract digital information in the information; the determination sub-module is configured to determine the location according to a preset keyword library. Whether the keyword contains a keyword, if included, determines that the digital information is sensitive content.
可选地,所述隐藏模块对所述敏感内容进行隐藏处理得到隐藏状态内容是指以下之一:Optionally, the hiding module hides the sensitive content to obtain a hidden state content, which refers to one of the following:
所述隐藏模块对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;The hiding module performs hidden processing on all the sensitive content to obtain the hidden state content;
对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容; Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
可选地,所述隐藏模块包括以下之一:隐藏处理子模块、删除处理子模块、替换子模块;Optionally, the hidden module includes one of the following: a hidden processing submodule, a deletion processing submodule, and a replacement submodule;
所述隐藏处理子模块设置成将所述敏感内容中待隐藏处理的部分隐藏掉;The hiding processing submodule is configured to hide a portion of the sensitive content to be hidden from being processed;
所述删除处理子模块设置成将所述敏感内容中待隐藏处理的部分直接删除;The deletion processing sub-module is configured to directly delete the part of the sensitive content to be hidden and processed;
所述替换子模块设置成将所述敏感内容中待隐藏处理的部分替换成其他内容。The replacement sub-module is arranged to replace a portion of the sensitive content to be hidden from processing into other content.
可选地,所述加密模块包括扩展子模块和计算子模块;Optionally, the encryption module includes an expansion submodule and a calculation submodule;
所述扩展子模块设置成在所述敏感内容中或在所述信息中扩展密码散列值存储字段;The extension submodule is configured to expand a cryptographic hash value storage field in the sensitive content or in the information;
所述计算子模块设置成根据用户输入的加密密钥采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。The calculation submodule is configured to calculate a hash value of the encryption key according to an encryption key input by the user by using a preset algorithm and store the hash value in the password hash value storage field.
可选地,所述加密模块还包括加密子模块,设置成在所述计算子模块采用预设算法计算得到所述加密密钥的散列值之前,根据用户输入的加密密钥对所述敏感内容进行加密处理,得到所述加密状态内容。Optionally, the encryption module further includes an encryption submodule, configured to be sensitive to the encryption key input by the user before the calculation submodule calculates the hash value of the encryption key by using a preset algorithm. The content is encrypted to obtain the encrypted state content.
一种信息显示装置,包括:第一显示处理模块和第二显示处理模块;An information display device includes: a first display processing module and a second display processing module;
所述第一显示处理模块包括上项所述的信息保护装置;The first display processing module includes the information protection device described in the above item;
所述第二显示处理模块设置成接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态内容关联的加密状态内容进行解密处理得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。The second display processing module is configured to receive a decryption password input by the user, and perform decryption processing on the encrypted state content associated with the hidden state content according to the decryption password to obtain the sensitive content before the hidden state content is hidden and processed. Display.
一种终端,包括处理器、存储器及显示器,所述处理器设置成识别信息中的敏感信息,对所述敏感信息进行隐藏处理得到隐藏状态信息,对所述敏 感信息的原信息内容进行加密处理得到加密状态信息,并将所述加密状态信息与所述隐藏状态信息进行关联存储到所述存储器;以及用于在未解密所述加密状态信息的情况下,将所述敏感信息在所述显示器上显示为所述隐藏状态信息。A terminal includes a processor, a memory, and a display, the processor is configured to identify sensitive information in the information, and hide the sensitive information to obtain hidden state information. Encrypting the original information content of the information to obtain encrypted state information, and storing the encrypted state information in association with the hidden state information in the memory; and in a case where the encrypted state information is not decrypted, The sensitive information is displayed on the display as the hidden state information.
本发明实施例可应用于任何一种具有信息发送、接收、显示的系统,当有新信息产生时,自动识别保护一些涉及敏感内容(如身份证号、快递单号、银行帐号、密码等)信息中的关键部分;与相关技术相比,本发明实施例增强了用户信息的安全性,提高了用户体验。The embodiment of the invention can be applied to any system with information sending, receiving and displaying, and automatically recognizes and protects some sensitive content (such as ID number, courier number, bank account number, password, etc.) when new information is generated. A key part of the information; compared with the related art, the embodiment of the invention enhances the security of the user information and improves the user experience.
附图概述BRIEF abstract
图1是本发明实施例一的信息保护方法的流程示意图;1 is a schematic flow chart of an information protection method according to Embodiment 1 of the present invention;
图2是本发明实施例二的信息保护装置的示意图;2 is a schematic diagram of an information protection apparatus according to Embodiment 2 of the present invention;
图3是本发明实施示例中的的信息处理流程图;3 is a flow chart of information processing in an embodiment of the present invention;
图4是实施示例中识别敏感内容的流程图;4 is a flow chart for identifying sensitive content in an implementation example;
图5是实施示例中处理包含敏感内容的信息的流程图;5 is a flow chart of processing information containing sensitive content in an implementation example;
图6是实施示例中显示信息的流程图。Fig. 6 is a flow chart showing information displayed in the embodiment.
本发明的较佳实施方式Preferred embodiment of the invention
为了便于本领域技术人员的理解,下面结合附图对本发明实施例作进一步的描述,并不能用来限制本发明实施例的保护范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的各种方式可以相互组合。The embodiments of the present invention are further described below in conjunction with the accompanying drawings, and are not intended to limit the scope of the embodiments of the present invention. It should be noted that the embodiments in the present application and the various manners in the embodiments may be combined with each other without conflict.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
实施例一、一种信息保护方法,如图1所示,包括:Embodiment 1 An information protection method, as shown in FIG. 1, includes:
S10、识别信息中所包含的敏感内容;S10. Identify sensitive content included in the information;
S20、对所述敏感内容进行隐藏处理得到隐藏状态内容; S20: hiding the sensitive content to obtain a hidden state content;
S30、对所述敏感内容进行加密处理得到加密状态内容;S30. Perform encryption processing on the sensitive content to obtain an encrypted state content.
S40、将所述加密状态内容与所述隐藏状态内容进行关联存储;S40. Associate the encrypted state content with the hidden state content.
S50、在未解密所述加密状态内容的情况下,显示所述信息时将所述敏感内容显示为所述隐藏状态内容。S50. When the encrypted state content is not decrypted, the sensitive content is displayed as the hidden state content when the information is displayed.
可选地,所述识别信息中所包含的敏感内容包括:Optionally, the sensitive content included in the identification information includes:
提取所述信息中的数字信息并获取所述数字信息的特征,将所述特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容;Extracting digital information in the information and acquiring features of the digital information, matching the feature with a preset digital feature database, and determining that the digital information is sensitive content if the matching is successful;
或,or,
提取所述信息中的数字信息并根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信息为敏感内容。Extracting the digital information in the information and determining whether the digital information includes a keyword according to a preset keyword database, and if included, determining that the digital information is sensitive content.
可选地,对所述敏感内容进行隐藏处理得到隐藏状态内容包括以下之一:Optionally, hiding the sensitive content to obtain a hidden state content includes one of the following:
对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;Hiding all of the sensitive content to obtain the hidden state content;
对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容;Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
可选地,所述隐藏处理包括:Optionally, the hiding process includes:
对所述敏感内容中待隐藏处理的部分按以下方式之一进行处理:隐藏、删除、替换成其他内容。The portion of the sensitive content to be hidden from being processed is processed in one of the following ways: hidden, deleted, and replaced with other content.
可选地,对所述敏感内容进行加密处理得到加密状态内容包括:Optionally, performing encryption processing on the sensitive content to obtain an encrypted status content includes:
在所述敏感内容中或在所述信息中扩展密码散列值存储字段;Expanding a cryptographic hash value storage field in the sensitive content or in the information;
接收用户输入的加密密钥,采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。Receiving an encryption key input by the user, calculating a hash value of the encryption key by using a preset algorithm and storing the hash value in the password hash value storage field.
可选地,采用预设算法计算得到所述加密密钥的散列值之前,还包括:根据用户输入的加密密钥对所述敏感内容内容进行加密处理,得到所述加密 状态内容。Optionally, before calculating the hash value of the encryption key by using a preset algorithm, the method further includes: performing encryption processing on the sensitive content content according to an encryption key input by the user, to obtain the encryption. Status content.
实施例二、一种信息显示方法,包括:Embodiment 2: An information display method includes:
按照实施例一所述的信息保护方法显示包含敏感内容的信息;The information protection method according to the first embodiment displays information including sensitive content;
接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态信息关联的加密状态内容进行解密处理,得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。Receiving a decryption password input by the user, decrypting the encrypted state content associated with the hidden state information according to the decryption password, and obtaining the sensitive content before the hidden state content is hidden and displayed.
实施例三、一种信息保护装置,如图2所示,包括:信息识别模块21、隐藏模块22、加密模块23、存储操作模块24以及显示控制模块25;Embodiment 3, an information protection device, as shown in Figure 2, comprising: information identification module 21, hidden module 22, encryption module 23, storage operation module 24 and display control module 25;
所述信息识别模块21设置成识别信息中所包含的敏感内容;The information identification module 21 is configured to identify sensitive content included in the information;
所述隐藏模块22设置成对所述敏感内容进行隐藏处理得到隐藏状态内容;The hiding module 22 is configured to perform hidden processing on the sensitive content to obtain hidden state content;
所述加密模块23设置成对所述敏感内容进行加密处理得到加密状态内容;The encryption module 23 is configured to perform encryption processing on the sensitive content to obtain an encrypted state content;
所述存储操作模块24设置成将所述加密状态内容与所述隐藏状态内容进行关联存储;The storage operation module 24 is configured to associate the encrypted state content with the hidden state content;
所述显示控制模块25设置成在未解密所述加密状态内容的情况下,将所述敏感内容显示为所述隐藏状态内容。The display control module 25 is configured to display the sensitive content as the hidden state content without decrypting the encrypted state content.
可选地,所述信息识别模块包括第一提取子模块和匹配子模块,所述第一提取子模块设置成提取所述信息中的数字信息并获取所述数字信息的特征;所述匹配子模块设置成将所述数字信息的特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容;Optionally, the information identification module includes a first extraction submodule and a matching submodule, and the first extraction submodule is configured to extract digital information in the information and acquire a feature of the digital information; the matching sub The module is configured to match the feature of the digital information with a preset digital feature library, and if the matching is successful, determine that the digital information is sensitive content;
或,or,
所述信息识别模块包括第二提取子模块和判断子模块,所述第二提取子模块设置成提取所述信息中的数字信息;所述判断子模块设置成根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信 息为敏感内容。The information identification module includes a second extraction sub-module and a determination sub-module, and the second extraction sub-module is configured to extract digital information in the information; the determination sub-module is configured to determine the location according to a preset keyword library. Whether the digital information contains a keyword, if included, the digital signal is determined Interest is sensitive content.
可选地,所述隐藏模块对所述敏感内容进行隐藏处理得到隐藏状态内容是指以下之一:Optionally, the hiding module hides the sensitive content to obtain a hidden state content, which refers to one of the following:
所述隐藏模块对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;The hiding module performs hidden processing on all the sensitive content to obtain the hidden state content;
对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容;Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
可选地,所述隐藏模块包括以下之一:隐藏处理子模块、删除处理子模块、替换子模块;Optionally, the hidden module includes one of the following: a hidden processing submodule, a deletion processing submodule, and a replacement submodule;
所述隐藏处理子模块设置成将所述敏感内容中待隐藏处理的部分隐藏掉;The hiding processing submodule is configured to hide a portion of the sensitive content to be hidden from being processed;
所述删除处理子模块设置成将所述敏感内容中待隐藏处理的部分直接删除;The deletion processing sub-module is configured to directly delete the part of the sensitive content to be hidden and processed;
所述替换子模块设置成将所述敏感内容中待隐藏处理的部分替换成其他内容。The replacement sub-module is arranged to replace a portion of the sensitive content to be hidden from processing into other content.
可选地,所述加密模块包括扩展子模块和计算子模块;Optionally, the encryption module includes an expansion submodule and a calculation submodule;
所述扩展子模块设置成在所述敏感内容中或在所述信息中扩展密码散列值存储字段;The extension submodule is configured to expand a cryptographic hash value storage field in the sensitive content or in the information;
所述计算子模块设置成根据用户输入的加密密钥采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。The calculation submodule is configured to calculate a hash value of the encryption key according to an encryption key input by the user by using a preset algorithm and store the hash value in the password hash value storage field.
可选地,所述加密模块还包括加密子模块,设置成在所述计算子模块采用预设算法计算得到所述加密密钥的散列值之前,根据用户输入的加密密钥对所述敏感内容进行加密处理,得到所述加密状态内容。Optionally, the encryption module further includes an encryption submodule, configured to be sensitive to the encryption key input by the user before the calculation submodule calculates the hash value of the encryption key by using a preset algorithm. The content is encrypted to obtain the encrypted state content.
实施例四、一种信息显示装置,包括:第一显示处理模块和第二显示处 理模块;Embodiment 4: An information display device includes: a first display processing module and a second display Management module
所述第一显示处理模块包括实施例三所述的信息保护装置;The first display processing module includes the information protection device described in Embodiment 3;
所述第二显示处理模块设置成接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态内容关联的加密状态内容进行解密处理得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。The second display processing module is configured to receive a decryption password input by the user, and perform decryption processing on the encrypted state content associated with the hidden state content according to the decryption password to obtain the sensitive content before the hidden state content is hidden and processed. Display.
实施例五、一种终端,包括处理器、存储器及显示器,所述处理器设置成识别信息中的敏感信息,对所述敏感信息进行隐藏处理得到隐藏状态信息,对所述敏感信息的原信息内容进行加密处理得到加密状态信息,并将所述加密状态信息与所述隐藏状态信息进行关联存储到所述存储器;以及用于在未解密所述加密状态信息的情况下,将所述敏感信息在所述显示器上显示为所述隐藏状态信息。Embodiment 5: A terminal, including a processor, a memory, and a display, the processor is configured to identify sensitive information in the information, and hide the sensitive information to obtain hidden state information, and the original information of the sensitive information. Encrypting the content to obtain encrypted state information, and storing the encrypted state information in association with the hidden state information in the memory; and for using the sensitive information without decrypting the encrypted state information The hidden state information is displayed on the display.
下面通过以下实施示例来进一步阐述本发明实施例所述的方案。The solution described in the embodiments of the present invention is further illustrated by the following implementation examples.
图3为本实施示例的总体处理流程图,包括步骤102~106。其中监听信息(步骤102)、信息存储(位于步骤104中)为一般的处理流程。FIG. 3 is a general process flowchart of the present embodiment, including steps 102-106. The monitoring information (step 102) and the information storage (in step 104) are general processing flows.
本实施示例在此基础上,新增或扩展的过程如下:Based on this implementation example, the process of adding or expanding is as follows:
在步骤102后新增识别敏感内容过程(步骤103)。A process of identifying sensitive content is added after step 102 (step 103).
修改信息存储过程(步骤104),在信息存储前增加以下处理信息的过程:加密标志位标记该信息是否为敏感内容,将敏感内容整体加密为加密状态内容后存储,将敏感内容进行隐藏处理得到隐藏状态内容并和所述加密状态内容进行关联存储。Modifying the information storage process (step 104), adding the following processing information before the information storage: the encryption flag bit marks whether the information is sensitive content, encrypts the sensitive content as a whole and encrypts the content, and stores the sensitive content. The state content is hidden and stored in association with the encrypted state content.
存储过程后还包括信息显示过程:显示信息的过程中,在未解密所述加密状态内容的情况下,将所述敏感内容显示为所述隐藏状态内容(步骤105)。The stored procedure further includes an information display process: in the process of displaying the information, the sensitive content is displayed as the hidden state content without decrypting the encrypted state content (step 105).
图4为本实施示例的识别敏感内容的流程图。对于每一条新增的信息进 行下述处理:4 is a flow chart of identifying sensitive content in the present embodiment. For each new piece of information The following processing is performed:
步骤201检测信息的文本中的子文本是否包含有敏感内容(身份证号、快递单号、银行帐号、密码等易识别信息)。具体实施方式包括两步:2011.使用正则匹配的方法提取出子文本中的数字串;2012.根据数字串的特征判断所述数字串是否为敏感内容,比如对于身份证号,其一般特征为18位连续的数字串或17位数字串+1位字符;对于快递单号,一般为10-12为的数字串;对于银行账号,一般为19为位数字串;对于交易凭证号码,可针对常见网络交易网站的凭证号码建立特征库来判断。另外,2012还可以改为:根据建立的关键字(身份证、转账、快递、取票等)库,查找所述数字串中是否含有上述关键字以判断是否为敏感内容,进一步增强信息内容敏感性的判断。根据以上判断敏感内容的方法,若有敏感内容,进入步骤202提醒用户处理敏感内容;若没有则结束。Step 201 detects whether the sub-text in the text of the information contains sensitive content (identification information such as ID number, courier number, bank account number, password, etc.). The specific implementation includes two steps: 2011. Extracting the numeric string in the sub-text using the method of regular matching; 2012. judging whether the digital string is sensitive content according to the characteristics of the digital string, for example, for the ID number, the general feature is 18 consecutive digit strings or 17 digit strings +1 digits; for express delivery numbers, generally 10-12 is a numeric string; for bank accounts, generally 19 is a digit string; for transaction voucher numbers, for The voucher number of a common online transaction website establishes a feature library to judge. In addition, 2012 can also be changed to: according to the established keywords (ID card, transfer, express, ticket collection, etc.) library, find out whether the above-mentioned keywords are included in the digital string to determine whether it is sensitive content, and further enhance information content sensitivity. Sexual judgment. According to the above method for judging sensitive content, if there is sensitive content, the process proceeds to step 202 to remind the user to process the sensitive content; if not, the process ends.
图5为本实施示例的对已识别出的包含敏感内容的信息作隐藏处理的过程。对于每一条包含敏感内容的信息:FIG. 5 is a process of hiding the identified information containing sensitive content according to an embodiment of the present invention. For each piece of information that contains sensitive content:
步骤301对信息中敏感内容做隐藏处理(本示例中为替换)得到隐藏处理内容,对非敏感内容的部分原样保留,记录用户提供的密码;此步骤可有以下三种实施方式得到隐藏处理内容:1.将敏感内容最后25%(如果25%不是整数,则进行向上或向下取整操作)的字符自动替换为同一字符(如“*”),敏感内容的其它部分不变;2.提供编辑区域,用户自定义选择需要隐藏处理的部分,将敏感内容中用户选择的部分替换,敏感内容其它部分不变;3.将敏感内容全部替换。Step 301: hiding the sensitive content in the information (replaced in this example) to obtain the hidden processing content, and retaining the part of the non-sensitive content as it is, and recording the password provided by the user; this step may have the following three implementation manners to obtain the hidden processing content. : 1. Automatically replace the characters of the last 25% of sensitive content (if 25% is not an integer, round up or down) to the same character (such as "*"), and the other parts of the sensitive content are unchanged; The editing area is provided, the user-defined selection needs to hide the processed part, the part selected by the user in the sensitive content is replaced, and the other parts of the sensitive content are unchanged; 3. The sensitive content is completely replaced.
步骤302存储隐藏状态内容;Step 302 stores hidden state content;
步骤303加密所述敏感内容得到加密状态内容并和所述隐藏状态内容进行关联存储,并新增加密标志位标记该信息是否包含敏感内容。其具体实施方式:扩展信息数据库的字段,加入加密标志字段、密码散列值存储字段;根据用户提供的密码对所述敏感内容加密(加密算法不限,如换序或逻辑移位),并设置加密标志字段为有效值,同时计算密码的散列值(计算方法不限,如md5)保存在密码散列值存储字段。 Step 303: encrypting the sensitive content to obtain an encrypted state content and storing the content in association with the hidden state content, and adding an encryption flag bit to mark whether the information includes sensitive content. The specific implementation manner is: extending a field of the information database, adding an encryption flag field and a password hash value storage field; and encrypting the sensitive content according to a password provided by the user (the encryption algorithm is not limited, such as a sequence or a logical shift), and Set the encryption flag field to a valid value, and calculate the hash value of the password (the calculation method is not limited, such as md5) and save it in the password hash value storage field.
图6为本实施示例中显示信息的流程图。Fig. 6 is a flow chart showing information displayed in the embodiment.
当用户查看信息时,本实施示例可根据加密标志位为用户显示信息内容。When the user views the information, the present embodiment can display the information content for the user according to the encrypted flag bit.
步骤401、阅读非加密信息时,正常显示信息即可;Step 401: When reading non-encrypted information, the information is normally displayed;
步骤402、阅读加密信息时,将信息中的敏感内容显示为已经过隐藏处理过的隐藏状态内容;此时若用户选择进一步查看全部内容,则进行步骤403; Step 402, when reading the encrypted information, the sensitive content in the information is displayed as the hidden state content that has been hidden and processed; at this time, if the user chooses to further view the entire content, proceed to step 403;
步骤403、输入密码解密以显示敏感内容。对应步骤303中的加密实施方式,具体的解密实施方式如下:根据用户输入的密码计算散列值,与已存储密码散列值比较,若相同,使用输入的密码对加密状态内容解密得到敏感内容并显示(可显示在信息中或单独显示),若不同,提示用户密码输入错误。Step 403: Enter a password to decrypt to display sensitive content. Corresponding to the encryption implementation in step 303, the specific decryption implementation manner is as follows: the hash value is calculated according to the password input by the user, and compared with the stored password hash value, if the same, the encrypted password content is decrypted to obtain the sensitive content. And display (can be displayed in the information or displayed separately), if different, prompt the user password input error.
工业实用性Industrial applicability
本发明实施例可应用于任何一种具有信息发送、接收、显示的系统,当有新信息产生时,自动识别保护一些涉及敏感内容(如身份证号、快递单号、银行帐号、密码等)信息中的关键部分;与相关技术相比,本发明实施例增强了用户信息的安全性,提高了用户体验。 The embodiment of the invention can be applied to any system with information sending, receiving and displaying, and automatically recognizes and protects some sensitive content (such as ID number, courier number, bank account number, password, etc.) when new information is generated. A key part of the information; compared with the related art, the embodiment of the invention enhances the security of the user information and improves the user experience.

Claims (15)

  1. 一种信息保护方法,包括:An information protection method, including:
    识别信息中所包含的敏感内容;Identify sensitive content contained in the information;
    对所述敏感内容进行隐藏处理得到隐藏状态内容;Hiding the sensitive content to obtain hidden state content;
    对所述敏感内容进行加密处理得到加密状态内容;Encrypting the sensitive content to obtain an encrypted state content;
    将所述加密状态内容与所述隐藏状态内容进行关联存储;Associating the encrypted state content with the hidden state content;
    在未解密所述加密状态内容的情况下,显示所述信息时将所述敏感内容显示为所述隐藏状态内容。In the case where the encrypted state content is not decrypted, the sensitive content is displayed as the hidden state content when the information is displayed.
  2. 如权利要求1所述的信息保护方法,其中,所述识别信息中所包含的敏感内容包括:The information protection method according to claim 1, wherein the sensitive content included in the identification information comprises:
    提取所述信息中的数字信息并获取所述数字信息的特征,将所述特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容;Extracting digital information in the information and acquiring features of the digital information, matching the feature with a preset digital feature database, and determining that the digital information is sensitive content if the matching is successful;
    或,or,
    提取所述信息中的数字信息并根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信息为敏感内容。Extracting the digital information in the information and determining whether the digital information includes a keyword according to a preset keyword database, and if included, determining that the digital information is sensitive content.
  3. 如权利要求1所述的信息保护方法,其中,对所述敏感内容进行隐藏处理得到隐藏状态内容包括以下之一:The information protection method according to claim 1, wherein the hiding the sensitive content to obtain the hidden state content comprises one of the following:
    对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;Hiding all of the sensitive content to obtain the hidden state content;
    对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容;Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
    基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  4. 如权利要求3所述的信息保护方法,其中,所述隐藏处理包括:The information protection method according to claim 3, wherein said concealing processing comprises:
    对所述敏感内容中待隐藏处理的部分按以下方式之一进行处理:隐藏、删除、替换成其他内容。 The portion of the sensitive content to be hidden from being processed is processed in one of the following ways: hidden, deleted, and replaced with other content.
  5. 如权利要求1-4任一项所述的信息保护方法,其中,对所述敏感内容进行加密处理得到加密状态内容包括:The information protection method according to any one of claims 1 to 4, wherein the encrypting the encrypted content to obtain the encrypted state content comprises:
    在所述敏感内容中或在所述信息中扩展密码散列值存储字段;Expanding a cryptographic hash value storage field in the sensitive content or in the information;
    接收用户输入的加密密钥,采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。Receiving an encryption key input by the user, calculating a hash value of the encryption key by using a preset algorithm and storing the hash value in the password hash value storage field.
  6. 如权利要求5所述的信息保护方法,其中,采用预设算法计算得到所述加密密钥的散列值之前,还包括:根据用户输入的加密密钥对所述敏感内容内容进行加密处理,得到所述加密状态内容。The information protection method according to claim 5, wherein before the hash value of the encryption key is calculated by using a preset algorithm, the method further comprises: encrypting the sensitive content according to an encryption key input by the user, The encrypted state content is obtained.
  7. 一种信息显示方法,包括:An information display method includes:
    按照如权1~6任一项所述的信息保护方法显示包含敏感内容的信息;Displaying information containing sensitive content according to the information protection method according to any one of claims 1 to 6;
    接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态信息关联的加密状态内容进行解密处理,得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。Receiving a decryption password input by the user, decrypting the encrypted state content associated with the hidden state information according to the decryption password, and obtaining the sensitive content before the hidden state content is hidden and displayed.
  8. 一种信息保护装置,包括:信息识别模块、隐藏模块、加密模块、存储操作模块以及显示控制模块;An information protection device includes: an information recognition module, a hidden module, an encryption module, a storage operation module, and a display control module;
    所述信息识别模块设置成识别信息中所包含的敏感内容;The information identification module is configured to identify sensitive content included in the information;
    所述隐藏模块设置成对所述敏感内容进行隐藏处理得到隐藏状态内容;The hiding module is configured to perform hidden processing on the sensitive content to obtain a hidden state content;
    所述加密模块设置成对所述敏感内容进行加密处理得到加密状态内容;The encryption module is configured to perform encryption processing on the sensitive content to obtain an encrypted state content;
    所述存储操作模块设置成将所述加密状态内容与所述隐藏状态内容进行关联存储;The storage operation module is configured to associate the encrypted state content with the hidden state content;
    所述显示控制模块设置成在未解密所述加密状态内容的情况下,将所述敏感内容显示为所述隐藏状态内容。The display control module is configured to display the sensitive content as the hidden state content without decrypting the encrypted state content.
  9. 如权利要求8所述的信息保护装置,其中:The information protection device of claim 8 wherein:
    所述信息识别模块包括第一提取子模块和匹配子模块,所述第一提取子模块设置成提取所述信息中的数字信息并获取所述数字信息的特征;所述匹配子模块设置成将所述数字信息的特征与预设的数字特征库进行匹配,如果能匹配成功则判定所述数字信息为敏感内容; The information identification module includes a first extraction submodule and a matching submodule, the first extraction submodule being configured to extract digital information in the information and acquire features of the digital information; the matching submodule is configured to The feature of the digital information is matched with a preset digital feature database, and if the matching is successful, the digital information is determined to be sensitive content;
    或,or,
    所述信息识别模块包括第二提取子模块和判断子模块,所述第二提取子模块设置成提取所述信息中的数字信息;所述判断子模块设置成根据预设的关键字库判断所述数字信息中是否包含关键字,如包含,则判定所述数字信息为敏感内容。The information identification module includes a second extraction sub-module and a determination sub-module, and the second extraction sub-module is configured to extract digital information in the information; the determination sub-module is configured to determine the location according to a preset keyword library. Whether the keyword contains a keyword, if included, determines that the digital information is sensitive content.
  10. 如权利要求8所述的信息保护装置,其中,所述隐藏模块对所述敏感内容进行隐藏处理得到隐藏状态内容是指以下之一:The information protection device according to claim 8, wherein the hiding module performs hidden processing on the sensitive content to obtain a hidden state content, which is one of the following:
    所述隐藏模块对所述敏感内容的全部进行隐藏处理,得到所述隐藏状态内容;The hiding module performs hidden processing on all the sensitive content to obtain the hidden state content;
    对所述敏感内容的一部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容;Hiding a part of the sensitive content, keeping the other parts of the sensitive content unchanged, and obtaining the hidden state content;
    基于用户选择,对所述敏感内容的指定部分进行隐藏处理,保持所述敏感内容其它部分不变,得到所述隐藏状态内容。Based on the user selection, the specified portion of the sensitive content is hidden, and the other portions of the sensitive content are kept unchanged, and the hidden state content is obtained.
  11. 如权利要求10所述的信息保护装置,其中,所述隐藏模块包括以下之一:隐藏处理子模块、删除处理子模块、替换子模块;The information protection device according to claim 10, wherein the hiding module comprises one of: a hidden processing sub-module, a deletion processing sub-module, and a replacement sub-module;
    所述隐藏处理子模块设置成将所述敏感内容中待隐藏处理的部分隐藏掉;The hiding processing submodule is configured to hide a portion of the sensitive content to be hidden from being processed;
    所述删除处理子模块设置成将所述敏感内容中待隐藏处理的部分直接删除;The deletion processing sub-module is configured to directly delete the part of the sensitive content to be hidden and processed;
    所述替换子模块设置成将所述敏感内容中待隐藏处理的部分替换成其他内容。The replacement sub-module is arranged to replace a portion of the sensitive content to be hidden from processing into other content.
  12. 如权利要求8-11任一项所述的信息保护装置,其中,所述加密模块包括扩展子模块和计算子模块;The information protection device according to any one of claims 8 to 11, wherein the encryption module comprises an extension submodule and a calculation submodule;
    所述扩展子模块设置成在所述敏感内容中或在所述信息中扩展密码散列值存储字段;The extension submodule is configured to expand a cryptographic hash value storage field in the sensitive content or in the information;
    所述计算子模块设置成根据用户输入的加密密钥采用预设算法计算得到所述加密密钥的散列值并存储到所述密码散列值存储字段中。 The calculation submodule is configured to calculate a hash value of the encryption key according to an encryption key input by the user by using a preset algorithm and store the hash value in the password hash value storage field.
  13. 如权利要求11所述的信息保护装置,其中,所述加密模块还包括加密子模块,设置成在所述计算子模块采用预设算法计算得到所述加密密钥的散列值之前,根据用户输入的加密密钥对所述敏感内容进行加密处理,得到所述加密状态内容。The information protection apparatus according to claim 11, wherein said encryption module further comprises an encryption sub-module, configured to: before said calculation sub-module calculates a hash value of said encryption key using a preset algorithm, according to the user The input encryption key encrypts the sensitive content to obtain the encrypted status content.
  14. 一种信息显示装置,包括:第一显示处理模块和第二显示处理模块;An information display device includes: a first display processing module and a second display processing module;
    所述第一显示处理模块包括权利要求8-13任一项所述的信息保护装置;The first display processing module includes the information protection device according to any one of claims 8-13;
    所述第二显示处理模块设置成接收用户输入的解密密码,根据所述解密密码对与所述隐藏状态内容关联的加密状态内容进行解密处理得到所述隐藏状态内容进行隐藏处理前的敏感内容并进行显示。The second display processing module is configured to receive a decryption password input by the user, and perform decryption processing on the encrypted state content associated with the hidden state content according to the decryption password to obtain the sensitive content before the hidden state content is hidden and processed. Display.
  15. 一种终端,包括处理器、存储器及显示器,所述处理器设置成识别信息中的敏感信息,对所述敏感信息进行隐藏处理得到隐藏状态信息,对所述敏感信息的原信息内容进行加密处理得到加密状态信息,并将所述加密状态信息与所述隐藏状态信息进行关联存储到所述存储器;以及用于在未解密所述加密状态信息的情况下,将所述敏感信息在所述显示器上显示为所述隐藏状态信息。 A terminal includes a processor, a memory, and a display, the processor is configured to identify sensitive information in the information, hide the sensitive information to obtain hidden state information, and encrypt the original information content of the sensitive information. Obtaining encrypted state information, and storing the encrypted state information in association with the hidden state information in the memory; and for using the sensitive information on the display without decrypting the encrypted state information The above is displayed as the hidden state information.
PCT/CN2015/077417 2014-12-31 2015-04-24 Information protection and display method, device and terminal WO2016107024A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410851604.7A CN105809042A (en) 2014-12-31 2014-12-31 Information protection method and device, information display method and device, and terminal
CN201410851604.7 2014-12-31

Publications (1)

Publication Number Publication Date
WO2016107024A1 true WO2016107024A1 (en) 2016-07-07

Family

ID=56284070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/077417 WO2016107024A1 (en) 2014-12-31 2015-04-24 Information protection and display method, device and terminal

Country Status (2)

Country Link
CN (1) CN105809042A (en)
WO (1) WO2016107024A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184230A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Information masking method and device, terminal, and computer readable storage medium
CN110719365A (en) * 2019-09-27 2020-01-21 深圳传音控股股份有限公司 Information processing method, mobile terminal and computer storage medium
CN110943834A (en) * 2019-12-06 2020-03-31 歌尔股份有限公司 Network device, password processing method thereof, control device and readable storage medium
CN114793172A (en) * 2022-04-15 2022-07-26 广东迅数智联科技有限公司 Private letter processing method and system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293751B (en) * 2016-08-15 2021-02-05 华为技术有限公司 Method for displaying information on terminal equipment and terminal equipment
CN106372518A (en) * 2016-08-31 2017-02-01 维沃移动通信有限公司 Information protection method and mobile terminal
CN106791025A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 Mobile terminal control device and method
CN106604271A (en) * 2016-12-12 2017-04-26 努比亚技术有限公司 Mobile terminal and message check method
CN107133993A (en) * 2017-04-19 2017-09-05 珠海市魅族科技有限公司 A kind of image processing method and device
CN106921805B (en) * 2017-04-20 2021-04-23 维沃移动通信有限公司 Encryption method and mobile terminal
CN108932099A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 A kind of anti-peeping method and device
CN107862214A (en) * 2017-06-16 2018-03-30 平安科技(深圳)有限公司 Prevent the method, apparatus and storage medium of sensitive information leakage
CN109916424A (en) * 2017-12-12 2019-06-21 上海博泰悦臻网络技术服务有限公司 Data processing method, navigation terminal, server, navigation system
CN110598489B (en) * 2018-06-13 2024-05-28 北京搜狗科技发展有限公司 Privacy protection method and related device for input prompt information
CN111182169B (en) * 2019-11-13 2022-02-25 腾讯科技(深圳)有限公司 Image processing method, image processing device, computer readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486063A (en) * 2002-09-28 2004-03-31 深圳市中兴通讯股份有限公司 Method for protecting the content of mobile phone short message
CN101002417A (en) * 2004-06-17 2007-07-18 伊露西斯有限公司 System and method for dis-identifying sensitive information and assocaites records
CN104202735A (en) * 2014-08-11 2014-12-10 上海一端科技有限公司 Method of hiding short message

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559451A (en) * 2013-10-21 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Method and device for protecting and displaying privacy information
CN103778380A (en) * 2013-12-31 2014-05-07 网秦(北京)科技有限公司 Data desensitization method and device and data anti-desensitization method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486063A (en) * 2002-09-28 2004-03-31 深圳市中兴通讯股份有限公司 Method for protecting the content of mobile phone short message
CN101002417A (en) * 2004-06-17 2007-07-18 伊露西斯有限公司 System and method for dis-identifying sensitive information and assocaites records
CN104202735A (en) * 2014-08-11 2014-12-10 上海一端科技有限公司 Method of hiding short message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184230A1 (en) * 2018-03-30 2019-10-03 平安科技(深圳)有限公司 Information masking method and device, terminal, and computer readable storage medium
CN110719365A (en) * 2019-09-27 2020-01-21 深圳传音控股股份有限公司 Information processing method, mobile terminal and computer storage medium
CN110943834A (en) * 2019-12-06 2020-03-31 歌尔股份有限公司 Network device, password processing method thereof, control device and readable storage medium
CN114793172A (en) * 2022-04-15 2022-07-26 广东迅数智联科技有限公司 Private letter processing method and system

Also Published As

Publication number Publication date
CN105809042A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
WO2016107024A1 (en) Information protection and display method, device and terminal
US9191811B2 (en) Method and system for managing information on mobile devices
US20130262863A1 (en) Searchable encryption processing system
JP6814147B2 (en) Terminals, methods, non-volatile storage media
US20180278797A1 (en) Image Encryption Method, Image Viewing Method, System, and Terminal
WO2017113790A1 (en) Method for implementing code-scan bluetooth automatic connection, master device, slave device, and system
WO2016115887A1 (en) Image camouflaging method, method viewing method, system, and terminal
CN110175475B (en) Smart card data processing method and device and computer readable storage medium
US20140133651A1 (en) Encryption device, cipher-text comparison system, cipher-text comparison method, and cipher-text comparison program
CN111242611B (en) Method and system for recovering digital wallet key
US20120284534A1 (en) Memory Device and Method for Accessing the Same
KR102411883B1 (en) Electronic device, server and control method thereof
CN105337742B (en) LFSR file encryption and decryption method based on facial image feature and GPS information
US20150286843A1 (en) Method and system for modular digital watermarking of electronic files
CN107248972B (en) Data encryption and decryption method and device and electronic equipment
CN101488172A (en) Document handwriting encryption and decryption method and its application terminal
CN104866773B (en) A kind of fingerprint search method, apparatus and terminal
CN112860933B (en) Ciphertext image retrieval method, device, terminal equipment and storage medium
WO2017078626A1 (en) Method and system for generating ciphertext by pin entry device
US20090268056A1 (en) Digital camera with portrait image protecting function and portrait image protecting method thereof
CN105809494A (en) method and system for invoice generation and invoice verification
JP2011133991A (en) Confidential data protection system, confidential data protection method, and confidential data protection program
KR102375973B1 (en) Security server using case based reasoning engine and storage medium for installing security function
WO2016188079A1 (en) Data storage method for terminal device and terminal device
US8144876B2 (en) Validating encrypted archive keys with MAC value

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15874717

Country of ref document: EP

Kind code of ref document: A1