CN106529277A - Message preview method and device - Google Patents

Message preview method and device Download PDF

Info

Publication number
CN106529277A
CN106529277A CN201611151052.4A CN201611151052A CN106529277A CN 106529277 A CN106529277 A CN 106529277A CN 201611151052 A CN201611151052 A CN 201611151052A CN 106529277 A CN106529277 A CN 106529277A
Authority
CN
China
Prior art keywords
message
information
sensitive
sensitive information
account number
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.)
Pending
Application number
CN201611151052.4A
Other languages
Chinese (zh)
Inventor
陈信吉
赵安廷
牛坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611151052.4A priority Critical patent/CN106529277A/en
Publication of CN106529277A publication Critical patent/CN106529277A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/2133Verifying human interaction, e.g., Captcha

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a message preview method and device and belongs to the technical field of a computer. The method comprises the steps of identifying sensitive information in a to-be-previewed message; replacing the sensitive information in the message by fuzzy information, thereby obtaining preview information, wherein the fuzzy information is the information obtained after fuzzy processing is carried out on the sensitive information; and displaying the preview information. According to the method and the device, the sensitive information in the message is replaced by the fuzzy information, other content in the message is not changed, in this way, the sensitive information in the message is prevented from being leaked, the preview security of the message is improved, and a user can determine the message content rapidly according to the other content in the message.

Description

Message preview method and device
Technical field
It relates to field of computer technology, more particularly to a kind of message preview method and device.
Background technology
Terminal can carry out preview to message when receiving message, so that user checks the message in time.Due in message Sensitive information may be included, therefore, how not reveal sensitive information in preview message becomes hot issue.
In correlation technique, terminal generates the pre-review information not including message content when message is received, and to generation Pre-review information is shown.Such as, terminal shows the pre- of " you receive a piece of news " when the message comprising identifying code is received Look at information.
The content of the invention
To solve the problems, such as in correlation technique, present disclose provides a kind of message preview method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of message preview method, methods described include:
The sensitive information in the message of preview is treated in identification;
The sensitive information in the message is replaced with into fuzzy message, pre-review information is obtained, the fuzzy message is The information obtained after Fuzzy Processing is carried out to the sensitive information;
The pre-review information is shown.
Optionally, methods described, also includes:
When the message is received, whether detection terminal is in screen lock state;
When the terminal is in screen lock state, triggering performs the step for recognizing the sensitive information treated in the message of preview Suddenly.
Optionally, methods described, also includes:
Detect whether the terminal enables unlocking pin, the unlocking pin is used for the identity for verifying user;
When the terminal enables unlocking pin, triggering performs the sensitive information treated in the message of preview of recognizing Step.
Optionally, methods described, also includes:
Determine the Fuzzy Processing mode corresponding to the sensitive information;
The sensitive information is processed according to the Fuzzy Processing mode, the fuzzy message is obtained.
Optionally, it is described that the pre-review information is shown, including:
The pre-review information is shown in the locking screen interface of terminal;Or,
The pre-review information is shown in the informing of terminal.
Optionally, the sensitive information in the message of preview is treated in the identification, including:
Obtain the message content of sender's account number and the message of the message;
The message mould matched with described sender account number and the message content is searched in default source template storehouse Plate;
The source template according to finding recognizes the sensitive information in the message.
Optionally, methods described, also includes:
Obtain sender's account number of the message;
Whether detection described sender account number belongs to sensitive account number, and the sensitive account number is to send to include disappearing for sensitive information The account number of breath;
When described sender account number belongs to the sensitive account number, determine that the message is the message for including sensitive information.
Optionally, the sensitive information in the message of preview is treated in the identification, including:
Obtain the sensitive keys word corresponding to the sensitive account number;
The sensitive keys word is searched in the message content of the message;
It is the sensitive information by the content recognition of the correspondence position of the sensitive keys word.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of message preview device, described device include:
Identification module, the sensitive information for being configured to recognize in the message for treating preview;
Generation module, the sensitive information being configured in the message for identifying the identification module are replaced with Fuzzy message, obtains pre-review information, the fuzzy message be Fuzzy Processing is carried out to the sensitive information after the information that obtains;
Display module, is configured to show the pre-review information that the generation module is obtained.
Optionally, described device, also includes:
First detection module, is configured to when the message is received, and whether detection terminal is in screen lock state;
Trigger module, be configured as the first detection module determine the terminal be in screen lock state when, triggering is held Row is described the step of recognize the sensitive information treated in the message of preview.
Optionally, described device, also includes:
Second detection module, is configured to detect whether the terminal enables unlocking pin, the unlocking pin is used for The identity of checking user;
The trigger module, is additionally configured to determine that the terminal enables unlocking pin when second detection module When, triggering perform it is described recognize and treat in the message of preview sensitive information the step of.
Optionally, described device, also includes:
First determining module, the Fuzzy Processing mode being configured to determine that corresponding to the sensitive information;
Processing module, the Fuzzy Processing mode for being configured to determine according to first determining module process described quick Sense information, obtains the fuzzy message.
Optionally, the display module, is additionally configured to:
The pre-review information is shown in the locking screen interface of terminal;Or,
The pre-review information is shown in the informing of terminal.
Optionally, the identification module, is additionally configured to:
Obtain the message content of sender's account number and the message of the message;
The message mould matched with described sender account number and the message content is searched in default source template storehouse Plate;
The source template according to finding recognizes the sensitive information in the message.
Optionally, described device, also includes:
Acquisition module, is configured to obtain sender's account number of the message;
3rd detection module, is configured to detect whether the described sender account number that the acquisition module is obtained belongs to sensitive Account number, the sensitive account number are the account numbers for sending the message for including sensitive information;
Second determining module, is configured as the 3rd detection module and determines that described sender account number belongs to the sensitivity During account number, determine that the message is the message for including sensitive information.
Optionally, the identification module, is additionally configured to:
Obtain the sensitive keys word corresponding to the sensitive account number;
The sensitive keys word is searched in the message content of the message;
It is the sensitive information by the content recognition of the correspondence position of the sensitive keys word.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of message preview device, described device include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
The sensitive information in the message of preview is treated in identification;
The sensitive information in the message is replaced with into fuzzy message, pre-review information is obtained, the fuzzy message is The information obtained after Fuzzy Processing is carried out to the sensitive information;
The pre-review information is shown.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
Sensitive information in the message of preview is treated by identification;Sensitive information in message is replaced with into fuzzy message, is obtained To pre-review information;Pre-review information is shown, due to fuzzy message be Fuzzy Processing is carried out to sensitive information after the letter that obtains Sensitive information in message and is only replaced with fuzzy message by breath, and does not change the other guide in message, so, both can be with The sensitive information leakage in message is prevented, the security of message preview is improved;User can be made again according in other in message Hold quick determination message content.
As most of users do not allow others to use the terminal of oneself, and user may during using terminal Need to read the sensitive information in message, therefore, when message is received, whether detection terminal is in screen lock state;Work as terminal In screen lock state when, the step of triggering performs the sensitive information during the message of preview is treated in identification, i.e. in user not using eventually Sensitive information is replaced with into fuzzy message just during end, it is to avoid read of sensitive information is needed in user, need user to check manually Original message so that the acquisition operation of sensitive information is relatively complicated to obtain problem, so as to improve the acquisition efficiency of sensitive information.
When user is not intended to others uses the terminal of oneself, unlocking pin can be enabled, therefore, whether detection terminal enables Unlocking pin, unlocking pin are used for the identity for verifying user;When terminal enables unlocking pin, triggering performs identification and treats pre- The step of sensitive information in the message look at, such that it is able to according to user to the security requirement of terminal determining whether sensitivity Information replaces with fuzzy message.
Determine the Fuzzy Processing mode corresponding to sensitive information;Sensitive information is processed according to Fuzzy Processing mode, mould is obtained Paste information, so, different sensitive informations likely corresponds to different Fuzzy Processing modes, so as to extend the life of fuzzy message Into mode.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited It is open.
Description of the drawings
During accompanying drawing herein is merged in specification and the part of present disclosure specification is constituted, show and meet the disclosure Embodiment, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the message preview method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the message preview method for implementing to exemplify according to another exemplary.
Fig. 3 is the first display schematic diagram for the pre-review information for implementing to exemplify according to another exemplary.
Fig. 4 is second display schematic diagram of the pre-review information for implementing to exemplify according to another exemplary.
Fig. 5 is a kind of flow chart of the message preview method for implementing to exemplify according to another exemplary.
Fig. 6 is a kind of flow chart of the message preview method for implementing to exemplify according to another exemplary.
Fig. 7 is a kind of block diagram of the message preview device according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the message preview device according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the device for message preview according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the message preview method according to an exemplary embodiment, the message preview method It is applied in terminal, as shown in figure 1, the message preview method is comprised the following steps.
In a step 101, the sensitive information in the message of preview is treated in identification.
In a step 102, the sensitive information in message is replaced with into fuzzy message, obtains pre-review information, fuzzy message is The information obtained after Fuzzy Processing is carried out to sensitive information.
In step 103, pre-review information is shown.
In sum, the message preview method that the disclosure is provided, treats the sensitive information in the message of preview by identification;Will Sensitive information in message replaces with fuzzy message, obtains pre-review information;Pre-review information is shown, as fuzzy message is The information obtained after Fuzzy Processing is carried out to sensitive information, and the sensitive information in message is replaced with into fuzzy message only, and not Change the other guide in message, so, can both prevent the sensitive information leakage in message, and improve the safety of message preview Property;User can be made again quickly to determine message content according to the other guide in message.
Fig. 2 is to implement the flow chart of a kind of message preview method that exemplifies, the message preview side according to another exemplary Method is applied in terminal, as shown in Fig. 2 the message preview method comprises the steps.
In step 201, the sensitive information in the message of preview is treated in identification.
Message can be instant messaging class message, such as, note, mail, Twitter message, rice chat message, wechat message etc. Deng the present embodiment is not construed as limiting.Due to the real-time of instant messaging class message it is stronger, therefore, user can be set to this kind of message Preview function is put, so, when terminal receives this kind of message, preview can be carried out to this kind of message, it is timely in order to user Check this kind of message.
Sensitive information is the information for being related to privacy of user, and such as, sensitive information includes the bank card remaining sum of user, wage gold Volume, password, identifying code etc..
Terminal is when message is received, it is thus necessary to determine that whether the message includes sensitive information;When message includes sensitive information When, identify sensitive information therein;When message does not include sensitive information, the message is not processed, directly this is disappeared Breath carries out preview.Two kinds of RMs to the sensitive information in message are present embodiments provided, separately below both are known Other mode is introduced.
In the first RM, the sensitive information in the message of preview is treated in identification, including:Obtain the sender of message The message content of account number and message;Search and disappearing that sender's account number and message content match in default source template storehouse Breath template;According to the sensitive information in the source template identification message for finding.
Source template storehouse is prestored in terminal, and source template storehouse can be downloaded from server and be obtained.Wrap in source template storehouse Include source template, each source template be feature extraction is carried out to the message including sensitive information after the template that obtains.Such as, silver Sender's account number of row type of financial mechanism is included credit line xx, is proceeded to the amount of money with the account number of 955 beginnings, and sensitive information Xx, remaining sum xx etc., then terminal by amount xx, proceed at least one of amount of money xx, remaining sum xx and with 955 beginning sender's account numbers It is set to a source template.Again such as, sender's account number of service mechanism is and the sensitive information with the account numbers of 1065 beginnings Including identifying code xx, dynamic password xx etc., then terminal is opened at least one in identifying code xx, dynamic password xx and with 1065 Sender's account number of head is set to a source template.
Terminal is searched when message is received, in source template storehouse and is matched with sender's account number and message content simultaneously Source template;When the source template is found, determine that the message includes sensitive information, recognized in message according to source template Sensitive information;When the source template is not found, determine that the message does not include sensitive information.
When sensitive information position in the message template is fixed, terminal can determine sensitive information in the message template Position, then the content in message positioned at the position is defined as into sensitive information;Or, terminal can determine quick from source template The sensitive keys word of sense information, searches the sensitive keys word in the message, and the content of the correspondence position of the sensitive keys word is known Wei not sensitive information.Such as, sensitive keys word is " identifying code ", and the content of identifying code is usually located at " identifying code " these three passes After key word, then after being located at " identifying code ", and the character string including numeral and/or letter is identified as sensitive information.
When non-presetting message ATL in terminal, according to sender's account number, terminal first can determine whether message includes quick Sense information, further according to the sensitive information in keyword recognition message.So, in second RM, the method is also wrapped Include:Obtain sender's account number of message;Whether detection sender's account number belongs to sensitive account number, and sensitive account number is to send to include sensitivity The account number of the message of information;When sender's account number belongs to sensitive account number, determine that message is the message for including sensitive information.
Such as, sensitive account number can be that the present embodiment is not made with the account number of 955 beginnings, with account number of 1065 beginnings etc. Limit.
Now, the sensitive information in the message of preview is treated in identification, including:Obtain the sensitive keys corresponding to sensitive account number Word;Sensitive keys word is searched in the message content of message;It is sensitive letter by the content recognition of the correspondence position of sensitive keys word Breath.
As different sensitive account numbers corresponds to different sensitive keys words, such as, with the sensitive account number correspondence of 955 beginnings Sensitive keys word be credit line, proceed to the amount of money, remaining sum etc.;With the 1065 corresponding sensitive keys words of sensitive account number for starting it is Identifying code, dynamic password etc.;Therefore, terminal can also obtain the corresponding sensitive keys word of sensitive account number, and lookup should in message Sensitive keys word, is sensitive information by the content recognition of the correspondence position of the sensitive keys word, and related content refers to the first to be known Description in other mode.
In step 202., determine the Fuzzy Processing mode corresponding to sensitive information, sensitivity is processed according to Fuzzy Processing mode Information, obtains fuzzy message.
Fuzzy Processing mode is used to process sensitive information so that the fuzzy message that Fuzzy Processing is obtained cannot be known by user Not.Such as, Fuzzy Processing mode can be the character that each in sensitive information is substituted for such as " * ", " # " etc;Or Person, Fuzzy Processing mode can be that nontransparent figure layer is covered on sensitive information;Or, Fuzzy Processing mode can be to sensitivity Information breaks mosaic etc., and the present embodiment is not construed as limiting.
In the present embodiment, terminal can be to arrange different Fuzzy Processing modes to different sensitive informations, so as to extend The generating mode of fuzzy message.Such as, the corresponding Fuzzy Processing mode of sensitive information of the finance such as credit line, remaining sum class is Cover nontransparent figure layer;The corresponding Fuzzy Processing mode of sensitive information of the checking class such as identifying code, dynamic password is by sensitive letter Each in breath is substituted for the character of such as " * ", " # " etc.
In step 203, the sensitive information in message is replaced with into fuzzy message, obtains pre-review information.
Sensitive information in message is only replaced with fuzzy message by terminal, and does not change the other guide in message, is obtained Pre-review information.
In step 204, the locking screen interface in terminal shows pre-review information;Or, preview is shown in the informing of terminal Information.
When user is currently in use terminal, i.e. when terminal is in screen lock state, terminal includes pre-review information in locking screen interface In, refer to the first display schematic diagram of the pre-review information shown in Fig. 3.
When user is currently in use terminal, i.e. when terminal is in released state, terminal includes pre-review information in informing In, refer to second display schematic diagram of the pre-review information shown in Fig. 4.
In sum, the message preview method that the disclosure is provided, treats the sensitive information in the message of preview by identification;Will Sensitive information in message replaces with fuzzy message, obtains pre-review information;Pre-review information is shown, as fuzzy message is The information obtained after Fuzzy Processing is carried out to sensitive information, and the sensitive information in message is replaced with into fuzzy message only, and not Change the other guide in message, so, can both prevent the sensitive information leakage in message, and improve the safety of message preview Property;User can be made again quickly to determine message content according to the other guide in message.
Determine the Fuzzy Processing mode corresponding to sensitive information;Sensitive information is processed according to Fuzzy Processing mode, mould is obtained Paste information, so, different sensitive informations likely corresponds to different Fuzzy Processing modes, so as to extend the life of fuzzy message Into mode.
Scene is realized one kind is possible, and user is currently in use terminal and account number is registered in certain application, generally, in account In number registration process, user needs to fill in phone number in the enrollment page of application, and the server of application is to the phone number Identifying code is sent, user's needs in the enrollment page are filled in identifying code and are sent to server.If now terminal is in informing Pre-review information is shown, user directly cannot read identifying code from pre-review information, but need first to leave the enrollment page, then open Dynamic note application is come the identifying code checked in message, then opens the enrollment page, and in the enrollment page, input validation code, causes Registration process it is time-consuming longer.Therefore, terminal is when message is received, in addition it is also necessary to determine the need for carrying out mould to sensitive information Paste process.The flow chart that refer to the message preview method shown in Fig. 5, before execution step 201, terminal also execution step 205 and 206.
In step 205, when message is received, whether detection terminal is in screen lock state.
In step 206, when terminal is in screen lock state, trigger execution step 201.
Wherein, technology of the detection terminal whether in screen lock state is highly developed, does not repeat herein.
As most of users do not allow others to use the terminal of oneself, and user may during using terminal Need to read the sensitive information in message, therefore, when message is received, whether detection terminal is in screen lock state;Work as terminal In screen lock state when, the step of triggering performs the sensitive information during the message of preview is treated in identification, i.e. in user not using eventually Sensitive information is replaced with into fuzzy message just during end, it is to avoid read of sensitive information is needed in user, need user to check manually Original message so that the acquisition operation of sensitive information is relatively complicated to obtain problem, so as to improve the acquisition efficiency of sensitive information.
Some users are higher to the demand of the security of terminal, and these users are not intended to others and use the terminal of oneself, this When, user can enable unlocking pin.When user enables unlocking pin, in the screen of user's unlock terminal, terminal can be wanted User input unlocking pin is sought, when the unlocking pin of user input is consistent with default unlocking pin, terminal just solves lock screen; When the unlocking pin of user input is inconsistent with default unlocking pin, terminal may proceed to keep screen lock state, it is to avoid terminal It is used by others.Therefore, the terminal higher for security requirement, terminal can carry out Fuzzy Processing to sensitive information;For The relatively low terminal of security requirement, the message that terminal can be directly to receiving carry out preview.The message that refer to shown in Fig. 6 is pre- Look at the flow chart of method, before execution step 201, terminal also execution step 207 and 208.
In step 207, whether detection terminal enables unlocking pin, and unlocking pin is used for the identity for verifying user.
Wherein, terminal can read the unlocking configuration information of user's setting, determine whether to enable according to unlocking configuration information Unlocking pin.
In a step 208, when terminal enables unlocking pin, trigger execution step 201.
Optionally, terminal can be so that when message is received, whether detection terminal be in screen lock state;When terminal is in lock During screen state, whether detection terminal enables unlocking pin;When terminal enables unlocking pin, execution step 201 is triggered.
When user is not intended to others uses the terminal of oneself, unlocking pin can be enabled, therefore, whether detection terminal enables Unlocking pin, unlocking pin are used for the identity for verifying user;When terminal enables unlocking pin, triggering performs identification and treats pre- The step of sensitive information in the message look at, such that it is able to according to user to the security requirement of terminal determining whether sensitivity Information replaces with fuzzy message.
Fig. 7 is a kind of block diagram of the message preview device according to an exemplary embodiment, and the message preview device should In for terminal, as shown in fig. 7, the message preview device includes:Identification module 701, generation module 702 and display module 703.
The identification module 701, the sensitive information for being configured to recognize in the message for treating preview;
The generation module 702, the sensitive information being configured in the message for identifying identification module 701 replaces with fuzzy Information, obtains pre-review information, fuzzy message be Fuzzy Processing is carried out to sensitive information after the information that obtains;
The display module 703, is configured to show the pre-review information that generation module 702 is obtained.
In sum, the message preview device that the disclosure is provided, treats the sensitive information in the message of preview by identification;Will Sensitive information in message replaces with fuzzy message, obtains pre-review information;Pre-review information is shown, as fuzzy message is The information obtained after Fuzzy Processing is carried out to sensitive information, and the sensitive information in message is replaced with into fuzzy message only, and not Change the other guide in message, so, can both prevent the sensitive information leakage in message, and improve the safety of message preview Property;User can be made again quickly to determine message content according to the other guide in message.
Fig. 8 is a kind of block diagram of the message preview device according to an exemplary embodiment, and the message preview device should In for terminal, as shown in figure 8, the message preview device includes:Identification module 801, generation module 802 and display module 803.
The identification module 801, the sensitive information for being configured to recognize in the message for treating preview;
The generation module 802, the sensitive information being configured in the message for identifying identification module 801 replaces with fuzzy Information, obtains pre-review information, fuzzy message be Fuzzy Processing is carried out to sensitive information after the information that obtains;
The display module 803, is configured to show the pre-review information that generation module 802 is obtained.
Optionally, device, also includes:First detection module 804 and trigger module 805;
The first detection module 804, is configured to when message is received, and whether detection terminal is in screen lock state;
The trigger module 805, be configured as first detection module 804 determine terminal be in screen lock state when, triggering is held The step of sensitive information in the message of preview is treated in row identification.
Optionally, device, also includes:Second detection module 806;
Second detection module 806, is configured to whether detection terminal enables unlocking pin, and unlocking pin is used to verify The identity of user;
The trigger module 805, is additionally configured to, when the second detection module 806 determines that terminal enables unlocking pin, touch The step of sending out the sensitive information performed during the message of preview is treated in identification.
Optionally, device, also includes:First determining module 807 and processing module 808;
First determining module 807, the Fuzzy Processing mode being configured to determine that corresponding to sensitive information;
The processing module 808, the Fuzzy Processing mode for being configured to determine according to the first determining module 807 process sensitive letter Breath, obtains fuzzy message.
Optionally, display module 803, are additionally configured to:
Pre-review information is shown in the locking screen interface of terminal;Or,
Pre-review information is shown in the informing of terminal.
Optionally, identification module 801, are additionally configured to:
Obtain the message content of sender's account number and message of message;
The source template matched with sender's account number and message content is searched in default source template storehouse;
According to the sensitive information in the source template identification message for finding.
Optionally, device, also includes:Acquisition module 809, the 3rd detection module 810 and the second determining module 811;
The acquisition module 809, is configured to obtain sender's account number of message;
3rd detection module 810, is configured to detect whether sender's account number that acquisition module 809 is obtained belongs to sensitive Account number, sensitive account number are the account numbers for sending the message for including sensitive information;
Second determining module 811, is configured as the 3rd detection module 810 and determines that sender's account number belongs to sensitive account number When, determine that message is the message for including sensitive information.
Optionally, identification module 801, are additionally configured to:
Obtain the sensitive keys word corresponding to sensitive account number;
Sensitive keys word is searched in the message content of message;
It is sensitive information by the content recognition of the correspondence position of sensitive keys word.
In sum, the message preview device that the disclosure is provided, treats the sensitive information in the message of preview by identification;Will Sensitive information in message replaces with fuzzy message, obtains pre-review information;Pre-review information is shown, as fuzzy message is The information obtained after Fuzzy Processing is carried out to sensitive information, and the sensitive information in message is replaced with into fuzzy message only, and not Change the other guide in message, so, can both prevent the sensitive information leakage in message, and improve the safety of message preview Property;User can be made again quickly to determine message content according to the other guide in message.
As most of users do not allow others to use the terminal of oneself, and user may during using terminal Need to read the sensitive information in message, therefore, when message is received, whether detection terminal is in screen lock state;Work as terminal In screen lock state when, the step of triggering performs the sensitive information during the message of preview is treated in identification, i.e. in user not using eventually Sensitive information is replaced with into fuzzy message just during end, it is to avoid read of sensitive information is needed in user, need user to check manually Original message so that the acquisition operation of sensitive information is relatively complicated to obtain problem, so as to improve the acquisition efficiency of sensitive information.
When user is not intended to others uses the terminal of oneself, unlocking pin can be enabled, therefore, whether detection terminal enables Unlocking pin, unlocking pin are used for the identity for verifying user;When terminal enables unlocking pin, triggering performs identification and treats pre- The step of sensitive information in the message look at, such that it is able to according to user to the security requirement of terminal determining whether sensitivity Information replaces with fuzzy message.
Determine the Fuzzy Processing mode corresponding to sensitive information;Sensitive information is processed according to Fuzzy Processing mode, mould is obtained Paste information, so, different sensitive informations likely corresponds to different Fuzzy Processing modes, so as to extend the life of fuzzy message Into mode.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of message preview device, can realize that the message that the disclosure is provided is pre- Look at method, the message preview device includes:Processor, the memory for storing processor executable;
Wherein, processor is configured to:
The sensitive information in the message of preview is treated in identification;
Sensitive information in message is replaced with into fuzzy message, pre-review information is obtained, fuzzy message is that sensitive information is entered The information obtained after row Fuzzy Processing;
Pre-review information is shown.
Fig. 9 is a kind of block diagram of the device 900 for message preview according to an exemplary embodiment.For example, fill It can be mobile phone to put 900, and computer, digital broadcast terminal, messaging devices, game console, tablet device are medical Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assemblies:Process assembly 902, memory 904, power supply Component 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914, and Communication component 916.
The integrated operation of 902 usual control device 900 of process assembly, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 902 can refer to perform including one or more processors 918 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 902 can include one or more modules, just Interaction between process assembly 902 and other assemblies.For example, process assembly 902 can include multi-media module, many to facilitate Interaction between media component 908 and process assembly 902.
Memory 904 is configured to store various types of data to support the operation in device 900.These data are shown Example includes the instruction of any application program or method for operating on device 900, and contact data, telephone book data disappear Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 900.
Multimedia groupware 908 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 908 includes a front-facing camera and/or post-positioned pick-up head.When device 900 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 910 is configured to output and/or input audio signal.For example, audio-frequency assembly 910 includes a Mike Wind (MIC), when device 900 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 904 or via communication set Part 916 sends.In certain embodiments, audio-frequency assembly 910 also includes a loudspeaker, for exports audio signal.
, for interface is provided between process assembly 902 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 912 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 914 includes one or more sensors, and the state for various aspects are provided for device 900 is commented Estimate.For example, sensor cluster 914 can detect the opening/closed mode of device 900, and the relative positioning of component is for example described Display and keypad of the component for device 900, sensor cluster 914 can be with 900 1 components of detection means 900 or device Position change, user is presence or absence of with what device 900 was contacted, 900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor cluster 914 can include proximity transducer, be configured to detect when not having any physical contact The presence of object nearby.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 914 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 916 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memory 904 of instruction, above-mentioned instruction can be performed to complete said method by the processor 918 of device 900.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to other realities of the disclosure after considering specification and putting into practice disclosure herein Apply scheme.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or suitable The change of answering property follows the general principle of the disclosure and including the undocumented common knowledge or used in the art of the disclosure Use technological means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following right Requirement is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appended claim.

Claims (17)

1. a kind of message preview method, it is characterised in that methods described includes:
The sensitive information in the message of preview is treated in identification;
The sensitive information in the message is replaced with into fuzzy message, pre-review information is obtained, the fuzzy message is to institute State the information obtained after sensitive information carries out Fuzzy Processing;
The pre-review information is shown.
2. method according to claim 1, it is characterised in that methods described, also includes:
When the message is received, whether detection terminal is in screen lock state;
When the terminal is in screen lock state, triggering perform it is described recognize and treat in the message of preview sensitive information the step of.
3. method according to claim 2, it is characterised in that methods described, also includes:
Detect whether the terminal enables unlocking pin, the unlocking pin is used for the identity for verifying user;
When the terminal enables unlocking pin, triggering performs the step for recognizing the sensitive information treated in the message of preview Suddenly.
4. method according to claim 1, it is characterised in that methods described, also includes:
Determine the Fuzzy Processing mode corresponding to the sensitive information;
The sensitive information is processed according to the Fuzzy Processing mode, the fuzzy message is obtained.
5. method according to claim 1, it is characterised in that described that the pre-review information is shown, including:
The pre-review information is shown in the locking screen interface of terminal;Or,
The pre-review information is shown in the informing of terminal.
6. according to the arbitrary described method of claim 1 to 5, it is characterised in that the sensitivity in the message of preview is treated in the identification Information, including:
Obtain the message content of sender's account number and the message of the message;
The source template matched with described sender account number and the message content is searched in default source template storehouse;
The source template according to finding recognizes the sensitive information in the message.
7., according to the arbitrary described method of claim 1 to 5, it is characterised in that methods described, also include:
Obtain sender's account number of the message;
Whether detection described sender account number belongs to sensitive account number, and the sensitive account number is to send the message for including sensitive information Account number;
When described sender account number belongs to the sensitive account number, determine that the message is the message for including sensitive information.
8. method according to claim 7, it is characterised in that the sensitive information in the message of preview is treated in the identification, bag Include:
Obtain the sensitive keys word corresponding to the sensitive account number;
The sensitive keys word is searched in the message content of the message;
It is the sensitive information by the content recognition of the correspondence position of the sensitive keys word.
9. a kind of message preview device, it is characterised in that described device includes:
Identification module, the sensitive information for being configured to recognize in the message for treating preview;
Generation module, the sensitive information being configured in the message for identifying the identification module replace with fuzzy Information, obtains pre-review information, the fuzzy message be Fuzzy Processing is carried out to the sensitive information after the information that obtains;
Display module, is configured to show the pre-review information that the generation module is obtained.
10. device according to claim 9, it is characterised in that described device, also includes:
First detection module, is configured to when the message is received, and whether detection terminal is in screen lock state;
Trigger module, be configured as the first detection module determine the terminal be in screen lock state when, triggering perform institute The step of stating the sensitive information during the message of preview is treated in identification.
11. device according to claim 10, it is characterised in that described device, also includes:
Second detection module, is configured to detect whether the terminal enables unlocking pin, the unlocking pin is used to verify The identity of user;
The trigger module, is additionally configured to, when second detection module determines that the terminal enables unlocking pin, touch The step of sending out the sensitive information performed during the message of preview is treated in the identification.
12. devices according to claim 9, it is characterised in that described device, also include:
First determining module, the Fuzzy Processing mode being configured to determine that corresponding to the sensitive information;
Processing module, the Fuzzy Processing mode for being configured to determine according to first determining module process the sensitive letter Breath, obtains the fuzzy message.
13. devices according to claim 9, it is characterised in that the display module, are additionally configured to:
The pre-review information is shown in the locking screen interface of terminal;Or,
The pre-review information is shown in the informing of terminal.
14. according to the arbitrary described device of claim 9 to 13, it is characterised in that the identification module, is additionally configured to:
Obtain the message content of sender's account number and the message of the message;
The source template matched with described sender account number and the message content is searched in default source template storehouse;
The source template according to finding recognizes the sensitive information in the message.
15. according to the arbitrary described device of claim 9 to 13, it is characterised in that described device, also includes:
Acquisition module, is configured to obtain sender's account number of the message;
3rd detection module, is configured to detect whether the described sender account number that the acquisition module is obtained belongs to sensitive account Number, the sensitive account number is the account number for sending the message for including sensitive information;
Second determining module, is configured as the 3rd detection module and determines that described sender account number belongs to the sensitive account number When, determine that the message is the message for including sensitive information.
16. devices according to claim 15, it is characterised in that the identification module, are additionally configured to:
Obtain the sensitive keys word corresponding to the sensitive account number;
The sensitive keys word is searched in the message content of the message;
It is the sensitive information by the content recognition of the correspondence position of the sensitive keys word.
17. a kind of message preview devices, it is characterised in that described device includes:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
The sensitive information in the message of preview is treated in identification;
The sensitive information in the message is replaced with into fuzzy message, pre-review information is obtained, the fuzzy message is to institute State the information obtained after sensitive information carries out Fuzzy Processing;
The pre-review information is shown.
CN201611151052.4A 2016-12-14 2016-12-14 Message preview method and device Pending CN106529277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611151052.4A CN106529277A (en) 2016-12-14 2016-12-14 Message preview method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611151052.4A CN106529277A (en) 2016-12-14 2016-12-14 Message preview method and device

Publications (1)

Publication Number Publication Date
CN106529277A true CN106529277A (en) 2017-03-22

Family

ID=58339384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611151052.4A Pending CN106529277A (en) 2016-12-14 2016-12-14 Message preview method and device

Country Status (1)

Country Link
CN (1) CN106529277A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107508799A (en) * 2017-07-31 2017-12-22 珠海格力电器股份有限公司 Information presentation method and device based on instant messaging
CN107958161A (en) * 2017-11-30 2018-04-24 维沃移动通信有限公司 A kind of multitask display methods and mobile terminal
WO2019041181A1 (en) * 2017-08-30 2019-03-07 深圳传音通讯有限公司 Application information display method and device, and computer-readable storage medium
CN109446823A (en) * 2018-09-30 2019-03-08 天津字节跳动科技有限公司 Preview file method, apparatus, electronic equipment and readable storage medium storing program for executing
CN110447035A (en) * 2017-03-23 2019-11-12 微软技术许可有限责任公司 User content is fuzzy in structuring subscriber data file
CN110472446A (en) * 2019-07-19 2019-11-19 平安科技(深圳)有限公司 Message display method, device and storage medium, computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484612A (en) * 2014-11-19 2015-04-01 中电长城(长沙)信息技术有限公司 Sensitive information shielding method and system for remote desktop applications
US9177174B1 (en) * 2014-02-06 2015-11-03 Google Inc. Systems and methods for protecting sensitive data in communications
CN105068974A (en) * 2015-06-30 2015-11-18 联想(北京)有限公司 Information processing method and electronic device
CN105260673A (en) * 2015-09-18 2016-01-20 小米科技有限责任公司 Short message reading method and apparatus
CN106020587A (en) * 2016-04-29 2016-10-12 北京小米移动软件有限公司 Method and device for message display
CN106066884A (en) * 2016-06-06 2016-11-02 珠海市小源科技有限公司 A kind of information security recognition methods and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9177174B1 (en) * 2014-02-06 2015-11-03 Google Inc. Systems and methods for protecting sensitive data in communications
CN104484612A (en) * 2014-11-19 2015-04-01 中电长城(长沙)信息技术有限公司 Sensitive information shielding method and system for remote desktop applications
CN105068974A (en) * 2015-06-30 2015-11-18 联想(北京)有限公司 Information processing method and electronic device
CN105260673A (en) * 2015-09-18 2016-01-20 小米科技有限责任公司 Short message reading method and apparatus
CN106020587A (en) * 2016-04-29 2016-10-12 北京小米移动软件有限公司 Method and device for message display
CN106066884A (en) * 2016-06-06 2016-11-02 珠海市小源科技有限公司 A kind of information security recognition methods and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110447035A (en) * 2017-03-23 2019-11-12 微软技术许可有限责任公司 User content is fuzzy in structuring subscriber data file
CN110447035B (en) * 2017-03-23 2023-08-29 微软技术许可有限责任公司 User content obfuscation in structured user data files
CN107508799A (en) * 2017-07-31 2017-12-22 珠海格力电器股份有限公司 Information presentation method and device based on instant messaging
CN107508799B (en) * 2017-07-31 2018-12-04 珠海格力电器股份有限公司 Information presentation method and device based on instant messaging
WO2019041181A1 (en) * 2017-08-30 2019-03-07 深圳传音通讯有限公司 Application information display method and device, and computer-readable storage medium
CN107958161A (en) * 2017-11-30 2018-04-24 维沃移动通信有限公司 A kind of multitask display methods and mobile terminal
CN109446823A (en) * 2018-09-30 2019-03-08 天津字节跳动科技有限公司 Preview file method, apparatus, electronic equipment and readable storage medium storing program for executing
CN110472446A (en) * 2019-07-19 2019-11-19 平安科技(深圳)有限公司 Message display method, device and storage medium, computer equipment
WO2021012517A1 (en) * 2019-07-19 2021-01-28 平安科技(深圳)有限公司 Message display method and apparatus, and storage medium and computer device

Similar Documents

Publication Publication Date Title
CN106529277A (en) Message preview method and device
CN104216742B (en) Brush machine control method and device based on password
CN105654302B (en) Payment method and device
CN103942469A (en) Picture processing method, device and terminal
CN104991789A (en) Method and apparatus for starting application
CN105389516A (en) Sensitive picture reminding method and apparatus
CN106204046A (en) The method and device that order pays
CN105447109A (en) Key word searching method and apparatus
CN106023370A (en) Unlocking method and device for NFC equipment
CN107748991A (en) Account safety management method and device
CN106126082A (en) Control the method for terminal, device and terminal
CN107734178A (en) Presentation of information processing method, device, equipment and storage medium
CN107045604A (en) Information processing method and device
CN107247936A (en) Image-recognizing method and device
CN104899501A (en) Dialog list display method and device and terminal
CN109324863A (en) The method, apparatus and computer readable storage medium of fingerprint recognition
CN107257555A (en) Method for network access and device
CN108710791A (en) The method and device of voice control
CN106547850A (en) Expression annotation method and device
CN106845199A (en) Object authentication method and device
CN106372943A (en) Message processing method and device
CN106789070A (en) The decryption method of data, device and terminal
CN106534551A (en) Information display method and apparatus
CN107360322B (en) Information prompting method and device
CN106887075A (en) The method and device of currency examination is carried out using mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication