CN107846351A - A kind of chat messages sensitive information encryption method and device - Google Patents

A kind of chat messages sensitive information encryption method and device Download PDF

Info

Publication number
CN107846351A
CN107846351A CN201710991584.7A CN201710991584A CN107846351A CN 107846351 A CN107846351 A CN 107846351A CN 201710991584 A CN201710991584 A CN 201710991584A CN 107846351 A CN107846351 A CN 107846351A
Authority
CN
China
Prior art keywords
chat
sensitive information
chat messages
messages
keyword
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.)
Withdrawn
Application number
CN201710991584.7A
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.)
Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Original Assignee
Suzhou Billion Kesaizhuo Electronic Technology 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 Suzhou Billion Kesaizhuo Electronic Technology Co Ltd filed Critical Suzhou Billion Kesaizhuo Electronic Technology Co Ltd
Priority to CN201710991584.7A priority Critical patent/CN107846351A/en
Publication of CN107846351A publication Critical patent/CN107846351A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The invention discloses a kind of chat messages sensitive information encryption method and device, the chat window currently presented by determining chat application;Receive the trigger action to chat messages in the chat window;Detect whether the trigger action is the trigger event encrypted to the sensitive information of chat messages;If so, then the sensitive information of chat messages is encrypted;The chat messages after encryption are presented in chat window.The sensitive information of chat messages can be encrypted by the present invention, avoid important information from being leaked to other people, protect privacy of user.

Description

A kind of chat messages sensitive information encryption method and device
Technical field
The present invention relates to Internet technology, more particularly to a kind of chat messages sensitive information encryption method and device.
Background technology
Mobile terminal (such as mobile phone) bitcom is increasingly becoming interpersonal master with social software in daily life Flow communication media, these softwares are convenient using simple operations, increasing communication exchanges by mobile terminal communication software and Social software realizes that such case also brings information security leakage hidden danger, and other people can open mobile terminal communication easily The chat box content that software is checked in software, it is unfavorable for protecting individual privacy.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of chat messages sensitive information encryption method, including:
Determine the chat window that chat application is currently presented;
Receive the trigger action to chat messages in the chat window;
Detect whether the trigger action is the trigger event encrypted to the sensitive information of chat messages;
If so, then the sensitive information of chat messages is encrypted;
The chat messages after encryption are presented in chat window.
Further, before the sensitive information to chat messages is encrypted, in addition to:
The step of detecting the sensitive information in chat messages.
Further, the sensitive information in the detection chat messages, including:
Searched and the record of the Keywords matching, if finding, basis in chat messages according to default keyword Corresponding chat content is arranged to sensitive information by default rule.
Further, it is described that corresponding chat content is arranged to by sensitive information according to default rule, including:
If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are respectively provided with For sensitive information;
If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive letter Breath.
Present invention also offers a kind of chat messages sensitive information encryption device, including:
Window determining module, the chat window currently presented for determining chat application;
Trigger module, for receiving the trigger action to chat messages in the chat window;
Detection trigger module, for detecting whether the trigger action is triggering thing to the encryption of the sensitive informations of chat messages Part;
Encrypting module, for if so, then the sensitive information of chat messages is encrypted;
Display module, for the chat messages after encrypting to be presented in chat window.
Further, in addition to:
Detection module, for detecting the sensitive information in chat messages.
Further, the detection module includes:
Searched and the record of the Keywords matching, if finding, basis in chat messages according to default keyword Corresponding chat content is arranged to sensitive information by default rule.
Further, it is described that corresponding chat content is arranged to by sensitive information according to default rule, including:
If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are respectively provided with For sensitive information;
If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive letter Breath.
Present invention also offers a kind of mobile terminal, including above-mentioned device.
In summary, the invention provides a kind of chat messages sensitive information encryption method and device, by determining to chat The chat window that application program is currently presented;Receive the trigger action to chat messages in the chat window;Detect the triggering Whether operation is the trigger event encrypted to the sensitive information of chat messages;If so, then the sensitive information of chat messages is carried out Encryption;The chat messages after encryption are presented in chat window.The sensitive information of chat messages can be encrypted by the present invention, Avoid important information from being leaked to other people, protect privacy of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art and advantage, below will be to implementing The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method provided by the invention;
Fig. 2 is the block diagram of terminal provided by the invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment:
As shown in figure 1, the invention provides a kind of chat messages sensitive information encryption method, including:
S1, determine the chat window that chat application is currently presented;
S2, receive to the trigger actions of chat messages in the chat window;
S3, detect whether the trigger action is the trigger event encrypted to the sensitive information of chat messages;
S4, if so, then the sensitive information of chat messages is encrypted;
S5, the chat messages after encryption are presented in chat window.
Further, before the sensitive information to chat messages is encrypted, in addition to:
The step of detecting the sensitive information in chat messages.
Further, the sensitive information in the detection chat messages, including:
Searched and the record of the Keywords matching, if finding, basis in chat messages according to default keyword Corresponding chat content is arranged to sensitive information by default rule.
Further, it is described that corresponding chat content is arranged to by sensitive information according to default rule, including:
If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are respectively provided with For sensitive information;
If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive letter Breath.
Present invention also offers a kind of chat messages sensitive information encryption device, including:
Window determining module, the chat window currently presented for determining chat application;
Trigger module, for receiving the trigger action to chat messages in the chat window;
Detection trigger module, for detecting whether the trigger action is triggering thing to the encryption of the sensitive informations of chat messages Part;
Encrypting module, for if so, then the sensitive information of chat messages is encrypted;
Display module, for the chat messages after encrypting to be presented in chat window.
Further, in addition to:
Detection module, for detecting the sensitive information in chat messages.
Further, the detection module includes:
Searched and the record of the Keywords matching, if finding, basis in chat messages according to default keyword Corresponding chat content is arranged to sensitive information by default rule.
Further, it is described that corresponding chat content is arranged to by sensitive information according to default rule, including:
If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are respectively provided with For sensitive information;
If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive letter Breath.
Present invention also offers a kind of mobile terminal, including above-mentioned device.
In summary, the invention provides a kind of chat messages sensitive information encryption method, by determining chat application journey The chat window that sequence is currently presented;Receive the trigger action to chat messages in the chat window;Detecting the trigger action is No is the trigger event encrypted to the sensitive information of chat messages;If so, then the sensitive information of chat messages is encrypted; The chat messages after encryption are presented in chat window.The sensitive information of chat messages can be encrypted by the present invention, avoid weight Information leakage is wanted to protect privacy of user to other people.
As shown in Fig. 2 present invention also offers a kind of terminal device, device described above is included.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate and performed in device.Exemplified by running on computer terminals, Fig. 2 is the terminal of method according to embodiments of the present invention Hardware block diagram.Handled as shown in Fig. 2 terminal 100 can include one or more (one is only shown in figure) Device 102 (processor 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit), Memory 104 for data storage and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with Understand, the structure shown in Fig. 2 is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 100 may also include more either less components than shown in Fig. 2 or have the configuration different from shown in Fig. 2.
Memory 104 can be used for the software program and module of storage application software, such as the short essay in the embodiment of the present invention Programmed instruction/module corresponding to this sorting technique, processor 102 by operation be stored in software program in memory 104 with And module, so as to perform various function application and data processing, that is, realize above-mentioned short text classification method.Memory 104 May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102 Remotely located memory, these remote memories can pass through network connection to terminal 100.The example of above-mentioned network Including but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 100 provide.In an example, transmitting device 106 includes a network Adapter (Network Interface Controller, referred to as NIC), it can be connected by base station with other network equipments So as to be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, letter Referred to as RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides short text classification method as shown in Figure 1.This method can be applied In intelligent terminal, by the computing device in intelligent terminal, intelligent terminal can be smart mobile phone, flat board Computer etc..At least one application program is installed, the kind of not defining application of the embodiment of the present invention in intelligent terminal Class, can be system class application program, or software class application program.
It should be noted that:The method that above-described embodiment provides, only with the division of above-mentioned each functional module illustrate It is bright, in practical application, it can be completed as needed and by above-mentioned function distribution by different functional modules, object will be searched The internal structure of device is divided into different functional modules, to complete all or part of function described above.It is in addition, above-mentioned The device for the lookup object that embodiment provides belongs to same design with searching the embodiment of the method for object, and it is detailed that it implements process See embodiment of the method, repeat no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (9)

  1. A kind of 1. chat messages sensitive information encryption method, it is characterised in that including:
    Determine the chat window that chat application is currently presented;
    Receive the trigger action to chat messages in the chat window;
    Detect whether the trigger action is the trigger event encrypted to the sensitive information of chat messages;
    If so, then the sensitive information of chat messages is encrypted;
    The chat messages after encryption are presented in chat window.
  2. 2. according to the method for claim 1, it is characterised in that it is encrypted in the sensitive information to chat messages Before, in addition to:
    The step of detecting the sensitive information in chat messages.
  3. 3. according to the method for claim 2, it is characterised in that the sensitive information in the detection chat messages, including:
    Searched according to default keyword in chat messages with the record of the Keywords matching, if finding, according to default Rule corresponding chat content is arranged to sensitive information.
  4. 4. according to the method for claim 3, it is characterised in that described to be set corresponding chat content according to default rule Sensitive information is set to, including:
    If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are disposed as quick Feel information;
    If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive information.
  5. A kind of 5. chat messages sensitive information encryption device, it is characterised in that including:
    Window determining module, the chat window currently presented for determining chat application;
    Trigger module, for receiving the trigger action to chat messages in the chat window;
    Detection trigger module, for detecting whether the trigger action is trigger event to the encryption of the sensitive informations of chat messages;
    Encrypting module, for if so, then the sensitive information of chat messages is encrypted;
    Display module, for the chat messages after encrypting to be presented in chat window.
  6. 6. device according to claim 5, it is characterised in that also include:
    Detection module, for detecting the sensitive information in chat messages.
  7. 7. device according to claim 6, it is characterised in that the detection module includes:
    Searched according to default keyword in chat messages with the record of the Keywords matching, if finding, according to default Rule corresponding chat content is arranged to sensitive information.
  8. 8. device according to claim 7, it is characterised in that described to be set corresponding chat content according to default rule Sensitive information is set to, including:
    If keyword is money, the Chinese figure and Arabic numerals in the chat relevant with the keyword are disposed as quick Feel information;
    If keyword is password, the encrypted message in chat content is identified, and the encrypted message is arranged to sensitive information.
  9. 9. a kind of mobile terminal, it is characterised in that including any described device in claim 5-8.
CN201710991584.7A 2017-10-23 2017-10-23 A kind of chat messages sensitive information encryption method and device Withdrawn CN107846351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710991584.7A CN107846351A (en) 2017-10-23 2017-10-23 A kind of chat messages sensitive information encryption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710991584.7A CN107846351A (en) 2017-10-23 2017-10-23 A kind of chat messages sensitive information encryption method and device

Publications (1)

Publication Number Publication Date
CN107846351A true CN107846351A (en) 2018-03-27

Family

ID=61661548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710991584.7A Withdrawn CN107846351A (en) 2017-10-23 2017-10-23 A kind of chat messages sensitive information encryption method and device

Country Status (1)

Country Link
CN (1) CN107846351A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348474A (en) * 2018-08-31 2019-02-15 维沃移动通信有限公司 A kind of processing method and mobile terminal of message
CN111277489A (en) * 2020-01-20 2020-06-12 合肥高维数据技术有限公司 Instant messaging sending method, device and equipment
CN112163239A (en) * 2020-09-29 2021-01-01 维沃移动通信有限公司 Privacy information protection method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036879A (en) * 2012-12-12 2013-04-10 蓝盾信息安全技术股份有限公司 Method for auditing QQ chat contents
US20130268765A1 (en) * 2002-10-17 2013-10-10 At&T Intellectual Property I, L.P. Instant Messaging Private Tags
CN103916233A (en) * 2014-03-28 2014-07-09 小米科技有限责任公司 Information encryption method and device
CN103986642A (en) * 2014-05-15 2014-08-13 周奇 Delivery method and system of user subjective sensitive content
CN104700001A (en) * 2013-12-04 2015-06-10 腾讯科技(深圳)有限公司 Information encryption method and device of application program
CN106295358A (en) * 2015-05-20 2017-01-04 西安中兴新软件有限责任公司 A kind of information processing method and electronic equipment
CN106469280A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method and device of instant messaging interface processing
CN106534570A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Privacy protection method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130268765A1 (en) * 2002-10-17 2013-10-10 At&T Intellectual Property I, L.P. Instant Messaging Private Tags
CN103036879A (en) * 2012-12-12 2013-04-10 蓝盾信息安全技术股份有限公司 Method for auditing QQ chat contents
CN104700001A (en) * 2013-12-04 2015-06-10 腾讯科技(深圳)有限公司 Information encryption method and device of application program
CN103916233A (en) * 2014-03-28 2014-07-09 小米科技有限责任公司 Information encryption method and device
CN103986642A (en) * 2014-05-15 2014-08-13 周奇 Delivery method and system of user subjective sensitive content
CN106295358A (en) * 2015-05-20 2017-01-04 西安中兴新软件有限责任公司 A kind of information processing method and electronic equipment
CN106469280A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method and device of instant messaging interface processing
CN106534570A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Privacy protection method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348474A (en) * 2018-08-31 2019-02-15 维沃移动通信有限公司 A kind of processing method and mobile terminal of message
CN111277489A (en) * 2020-01-20 2020-06-12 合肥高维数据技术有限公司 Instant messaging sending method, device and equipment
WO2021147727A1 (en) * 2020-01-20 2021-07-29 合肥高维数据技术有限公司 Instant messaging sending method, apparatus and device
CN112163239A (en) * 2020-09-29 2021-01-01 维沃移动通信有限公司 Privacy information protection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US20230224232A1 (en) System and method for extracting identifiers from traffic of an unknown protocol
CN105900466B (en) Message processing method and device
CN109766700A (en) Access control method and device, the storage medium, electronic device of file
US20100074112A1 (en) Network traffic monitoring devices and monitoring systems, and associated methods
CN107580005A (en) Website protection method, device, website safeguard and readable storage medium storing program for executing
CN106921799A (en) A kind of mobile terminal safety means of defence and mobile terminal
CN104992096A (en) Data protection method and mobile terminal
CN109583226A (en) Data desensitization process method, apparatus and electronic equipment
CN102801706A (en) Terminal and security processing method for information contents
CN107846351A (en) A kind of chat messages sensitive information encryption method and device
CN107197462A (en) Detection method, device and the electronic equipment of wireless network type
CN110084053A (en) Data desensitization method, device, electronic equipment and storage medium
CN107948199B (en) Method and device for rapidly detecting terminal shared access
KR20090038189A (en) Apparatus and method for managing terminal users
CN107483386A (en) Analyze the method and device of network data
CN114465823A (en) Industrial Internet terminal encrypted flow data security detection method, device and equipment
CN115618403A (en) Data security processing method and device, computer equipment and readable storage medium
CN109547399A (en) Wireless network leak analysis method and system
CN107808106A (en) A kind of session content methods of exhibiting and device with scene handoff functionality
CN105160268B (en) Data tracking and monitoring system, intelligent router and its data tracking monitoring method
CN109871685B (en) RTF file analysis method and device
CN106559554A (en) A kind of communication processing method, device
CN114697052B (en) Network protection method and device
CN113794731B (en) Method, device, equipment and medium for identifying CDN (content delivery network) -based traffic masquerading attack
CN114553516A (en) Data processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180327