CN104935494B - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN104935494B CN104935494B CN201410102706.9A CN201410102706A CN104935494B CN 104935494 B CN104935494 B CN 104935494B CN 201410102706 A CN201410102706 A CN 201410102706A CN 104935494 B CN104935494 B CN 104935494B
- Authority
- CN
- China
- Prior art keywords
- information
- sensitive information
- display position
- sensitive
- floating layer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of information processing method and devices, belong to network technique field.The described method includes: obtaining information to be shown;According to presetting database, judge that the presetting database is at least used to store at least one in the sensitive information collected in advance and sensitive information type whether comprising sensitive information in the information;If, with the display mode different from the information in the information in addition to the sensitive information, shown to the sensitive information comprising sensitive information when showing the information in the information.The present invention passes through when showing the information, it will be with the display mode different from the information in the information in addition to the sensitive information, the sensitive information is shown, the sensitive information and the information in addition to the sensitive information are distinctly displayed, the difference of the prominent sensitive information, prompt user takes precautions against the sensitive information, avoids the loss of user.
Description
Technical field
The present invention relates to network technique field, in particular to a kind of information processing method and device.
Background technique
Universal with network with the development of internet technology, the flames such as various fraud informations and junk information start
Occur, such as remittance swindle message, waste advertisements, virus link.
In order to avoid these flames are that user brings loss, the keyword conduct in flame can be collected in advance
Sensitive information, and the network information got is monitored, if detected comprising sensitive information in the network information, aobvious
Display reminding information when showing the network information, to prompt user to take precautions against the network information.
In order to avoid influencing the normal display of the network information, can generally be shown other than the display area of the network information
The prompt information, such as the lower section on the right side of chat window, chained address, at this time if user's not to be noted prompt information,
It is just unable to reach the purpose of prompt user, be easy to cause the loss of user.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of information processing method and devices.It is described
Technical solution is as follows:
In a first aspect, providing a kind of information processing method, which comprises
Obtain information to be shown;
According to presetting database, judge that the presetting database is at least used for whether comprising sensitive information in the information
Store at least one in the sensitive information and sensitive information type collected in advance;
If including sensitive information in the information, when show the information, with in the information except the sensitivity
The different display mode of information other than information, shows the sensitive information.
Second aspect, provides a kind of information processing unit, and described device includes:
Data obtaining module, for obtaining information to be shown;
Judgment module, for whether according to presetting database, judging in the information comprising sensitive information, the present count
At least it is used to store at least one in the sensitive information collected in advance and sensitive information type according to library;
Display module, if for including sensitive information in the information, when showing the information, with the information
In the different display mode of information in addition to the sensitive information, the sensitive information is shown.
Technical solution provided in an embodiment of the present invention has the benefit that
Method and apparatus provided in an embodiment of the present invention, by judging in information to be shown according to the presetting database
Whether include sensitive information, if it is determined that in the information include sensitive information, then when showing the information, will with in the information
The different display mode of information in addition to the sensitive information, shows the sensitive information, by the sensitive information with except should
Information other than sensitive information distinctly displays, and the difference of the prominent sensitive information prompts user to take precautions against the sensitive information,
Avoid the loss of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 3 is the effect diagram provided in an embodiment of the present invention for drawing floating layer;
Fig. 4 is variation schematic diagram in display position provided in an embodiment of the present invention;
Fig. 5 is the effect diagram provided in an embodiment of the present invention for closing floating layer;
Fig. 6 is a kind of information processing unit structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of information processing method provided in an embodiment of the present invention, referring to Fig. 1, this method comprises:
101, information to be shown is obtained.
102, according to presetting database, judge that the presetting database is at least used for whether comprising sensitive information in the information
Store at least one in the sensitive information and sensitive information type collected in advance.
If 103, including sensitive information in the information, when show the information, with in the information except the sensitive information
The different display mode of information in addition, shows the sensitive information.
Method provided in an embodiment of the present invention, by judging whether wrap in information to be shown according to the presetting database
Containing sensitive information, if it is determined that include sensitive information in the information, then when show the information, will with in the information except this is quick
Feel the different display mode of information other than information, which shown, by the sensitive information with except sensitivity letter
Information other than breath distinctly displays, and the difference of the prominent sensitive information prompts user to take precautions against the sensitive information, avoids making
At the loss of user.
Optionally, when showing the information, with the display side different from the information in the information in addition to the sensitive information
Formula, carrying out display to the sensitive information includes:
When showing the information, the floating layer for covering the sensitive information is drawn in the top layer of the sensitive information.
Optionally, when showing the information, the floating layer for covering the sensitive information is drawn in the top layer of the sensitive information
Include:
When showing the information, obtains the starting display position of the sensitive information and terminate display position;
According to the starting display position and the termination display position, the display position of the sensitive information is determined;
Top layer in the display position of the sensitive information draws the floating layer.
Optionally, when showing the information, the starting display position and termination display position for obtaining the sensitive information include:
First identifier is added in the initial position of the sensitive information, in the second mark of final position addition of the sensitive information
Know;
When showing the information, the starting display position of the sensitive information is obtained according to the first identifier, according to this second
Mark obtains the termination display position of the sensitive information.
Optionally, after the top layer of the display position of the sensitive information draws the floating layer, this method further include:
When the display position of the information changes, the starting after sensitive information variation is obtained according to the first identifier
Display position obtains the termination display position after sensitive information variation according to the second identifier;
According to the starting display position after sensitive information variation and display position is terminated, after determining sensitive information variation
Display position;
The top layer of display position after sensitive information variation draws the floating layer.
Optionally, when the top layer of the sensitive information draws the floating layer for covering the sensitive information, this method further include:
During drawing the floating layer, prompt information is drawn in the floating layer.
Optionally, when showing the information, the floating layer for covering the sensitive information is drawn in the top layer of the sensitive information
Later, this method further include:
When receiving the request for closing the floating layer, the floating layer is closed.
Optionally, this method further include:
Receive report request, it is described report request carry user reported instant communication users number, telephone number and
At least one of fiscard number;
The entrained number of the report request is determined as sensitive information, and is stored into the presetting database.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
Fig. 2 is a kind of flow chart of information processing method provided in an embodiment of the present invention.The interaction master of the inventive embodiments
Body is server and client side, referring to fig. 2, this method comprises:
201, the server obtains information on the client to be shown.
Wherein, which can be browser client, instant communication client etc., correspondingly, this is to be shown at this
Information in client can be information, web page popup window information, pushed information or the other users place client in webpage
The instant communication message etc. sent, it is not limited in the embodiment of the present invention.
Specifically, which sends the instruction of browsing webpage to the server, when the server receives the browsing net
When the instruction of page, the information in the webpage is obtained, alternatively, client where the first user is sent to the server carries the second use
The instant communication message of family mark, which receives the instant communication message, so that the instant communication message is sent to the
Client where two users.
202, whether the server judges in the information according to presetting database comprising sensitive information.
In embodiments of the present invention, which is at least used to store the sensitive information and sensitive information collected in advance
At least one of in type, i.e., the presetting database can store sensitive information, and the information of presetting database storage can be with
It is considered sensitive information, which can also be stored in advance sensitive information type, belong to presetting database storage
The information of type may be considered sensitive information.In addition, can be also used for storing the mesh collected in advance in the presetting database
User identifier is marked, the information which issues may be considered sensitive information, and the embodiment of the present invention is to the preset data
The information type of the information or storage that store in library is without limitation.
Wherein, presetting database can have following steps during collecting sensitive information: receive report request, the act
It submits a report asking for ask and carries at least one of instant communication users number, telephone number and fiscard number that user is reported;By the act
It submits a report asking for the number for asking entrained and is determined as sensitive information, and store into the presetting database.The process of network is used in user
In, it can be potentially encountered many malice numbers, such as always send the instant communication users number of junk information, or often play harassing and wrecking
The telephone number of phone, or be fiscard number (such as bank's card number or network gold that some fishing websites etc. are commonly used
Melt account etc.), user can report these numbers by way of reporting to server at this time, when server receives report
When request, the entrained number of report request is stored to presetting database, to remind subsequent login clothes as sensitive information
The user of business device, provides the safety of the web page browsing carried out based on the server.
Specifically, which may comprise steps of at least one in (1)-(4):
(1) server identifies the information, obtains multiple keywords, for each keyword in the information,
The server judges the keyword whether has been stored in the presetting database, when having stored the keyword in the presetting database
When, which is determined as sensitive information for the keyword.
Wherein, the keyword can be Chinese word group, numeric string, character string or any of the above-described or multinomial combination,
It is not limited in the embodiment of the present invention.
The server will identify the information below, with judge in the information whether include sensitive information process
It is illustrated.
(1-1) when in the information including the information that the unblinds such as space, asterisk are mixed with Chinese character, which can be with
It is identified again after the unblind is deleted.For example, A, B, C, D, E indicate five Chinese characters, when in the information comprising " AB C
It when D*E ", is obtained after unblind is deleted " ABCDE ", then " ABCDE " is segmented, obtain multiple keywords.
(1-2) when in the information comprising Chinese sentence, which carries out Chinese word segmentation to the Chinese sentence, obtains more
A Chinese phrase, for each Chinese phrase, which judges the Chinese phrase whether has been stored in the presetting database, when
When having stored the Chinese phrase in the presetting database, which is determined as sensitive information.For example, A, B, C, D, E table
Show five Chinese characters, Chinese phrase " AB " has been stored in the presetting database, it is assumed that the information is " ABCDE ", and the server is to this
Information obtains Chinese phrase " AB " and " DE " after being segmented, then the server, which determines, has stored the Chinese in the presetting database
The Chinese phrase " AB " is determined as sensitive information by phrase " AB ".
(1-3) when in the information comprising English sentence, which carries out English string segmentation to the English sentence, obtains more
A character string, for each character string, which judges the character string whether has been stored in the presetting database, when this is default
When having stored the character string in database, which is determined as sensitive information.For example, the information is " Penicillin is
On sale " (in penicillin discount sales), the server obtain two keywords after carrying out English string segmentation to the information
" Penicillin " and " on sale ", and judge " Penicillin " (penicillin) whether has been stored in the presetting database
" on sale " (discount sales) have stored " Penicillin " when determining in the presetting database, " Penicillin " is true
It is set to sensitive information.
(1-4) when in the information including picture, which carries out image recognition to the picture, obtains wrapping in the picture
The keyword contained, for each keyword, which judges the keyword whether has been stored in the presetting database, when this is pre-
If stored the keyword in database, which is determined as sensitive information.For example, A, B, C, D, E indicate five Chinese
Word, the server carry out image recognition to the picture in the information, obtain comprising " ABCDE " in the picture, after being segmented
To keyword " AB " and " DE ", when the server, which determines, has stored keyword " DE " in the presetting database, by the key
Word " DE " is determined as sensitive information.
(1-5) when in the information including numeric string, which judges the number whether has been stored in the presetting database
The numeric string is determined as sensitive information when having stored the numeric string in the presetting database by word string.For example, in the information
When comprising numeric string " 13821123948 ", which judges whether stored numeric string in the presetting database
" 13821123948 " have stored the numeric string " 13821123948 " when the server determines, by the number in the presetting database
Word string " 13821123948 " is determined as sensitive information.
(1-6) when in the information comprising number and Chinese character mixing information when, the server by the information number and
Chinese character is arranged respectively, obtains digital information and Chinese character information, then is segmented respectively to the digital information and Chinese character information,
Multiple keywords are obtained, for each keyword, which judges the keyword whether has been stored in the presetting database, when
When having stored the keyword in the presetting database, which is determined as sensitive information.For example, including " 138 in the information
When one 2,112 two 3948 ", which arranges number and Chinese character respectively, obtains numeric string " 13821123948 " and the Chinese
Words group " one or two ", then the server judges numeric string " 13821123948 " and Chinese character whether have been stored in the presetting database
Phrase " one or two " has stored the numeric string " 13821123948 " when the server determines, by the numeric string in the presetting database
" 13821123948 " are determined as sensitive information.
(1-7) when in the information including the Chinese phonetic alphabet, which closes according to the Chinese phonetic alphabet and Chinese character that pre-establish
The Chinese phonetic alphabet in the information is converted Chinese character keyword by corresponding relationship between keyword, should for each Chinese character keyword
Server judges the Chinese character keyword whether has been stored in the presetting database, closes when having stored the Chinese character in the presetting database
When keyword, which is determined as sensitive information.For example, including in the information
" sirenzhentan tigong jianting genzong paizhao dengfuwu ", the server is according to pre-establishing
The Chinese phonetic alphabet and Chinese character keyword between corresponding relationship, convert Chinese character " private detective for the Chinese phonetic alphabet in the information
There is provided and monitor the tracking service of taking pictures etc. ", which judges " private detective " whether has been stored in the presetting database respectively,
" monitoring ", " tracking ", " taking pictures ", when the server, which determines, has stored " monitoring ", " tracking " in the presetting database, by the letter
" jianting ", " genzong " in breath are determined as sensitive information.
(2) server identifies the information, obtains multiple keywords, parses, obtains to multiple keyword
The type for taking multiple keyword judges the type that each keyword whether has been stored in the presetting database, when the present count
When having stored the type of the second keyword according to library, which is determined as sensitive information for second keyword.
In embodiments of the present invention, the type of keyword can be user's pet name, community name, telephone number, identity card
Number, bank's card number etc., it is not limited in the embodiment of the present invention.
For a numeric string in the information, which can be according to the composition rule of sensitive numeric string, such as basis
The digital number and former bit digitals that the numeric string is included, and the key figure string collected in advance judge that the numeric string is
Telephone number, identification card number, bank's card number are still managed money matters the types such as account number.Such as server detects that the numeric string includes
11 bit digitals, and the front three of the numeric string is key figure string " 138 ", then the numeric string may be a telephone number.
For example, bank's card number type has been stored in the presetting database, when the server determines in the information comprising number
When string " 6220200015484560 ", judge that the numeric string " 6220200015484560 " is telephone number, identification card number, bank
Card number is still managed money matters account number, when determining the numeric string " 6220200015484560 " is bank's card number, by the numeric string
" 6220200015484560 " are determined as sensitive information.
(3) server obtains the user identifier for issuing the information, judges the use whether has been stored in the presetting database
Family mark, when having stored the user identifier in the presetting database, which is determined as sensitive information for the information.
For example, judging the present count when server receives the message issued by user identifier " dani*fer "
According to whether having stored the user identifier " dani*fer " in library, when having stored the user identifier " dani* in the presetting database
When fer ", the message which issues is determined as sensitive information.
(4) server identifies the information, obtains multiple keywords, parses, obtains to multiple keyword
The type for taking multiple keyword judges the type that each keyword whether has been stored in the presetting database, when the present count
When having stored the type of the second keyword according to library, which obtains the user identifier for issuing the information, judges the preset data
Whether the user identifier has been stored in library, it is when having stored the user identifier in the presetting database, second keyword is true
It is set to sensitive information, when not stored user identifier in the presetting database, determines and do not include sensitive information in the information.
For example, bank's card number type and multiple target users mark have been stored in the presetting database, when the server is true
When including bank's card number " 6220200015484560 " in the fixed information, the user identifier for issuing the information is judged
Whether " honeysugar " is the target user's mark stored in the presetting database, issues the information when the server determines
When user identifier is not the target user's mark stored in the presetting database, determines and do not include sensitive information in the information.
Before the step 202, this method further include: the server collects sensitive information, is stored in the presetting database
In.Information that the server can report the information of user's report, network monitoring personnel etc. is used as sensitive information, is stored in this
In presetting database, the user identifier for issuing the sensitive information is identified as target user, is stored in the presetting database,
It is subsequent to be also used as sensitive information when the target user be identified the other information issued by the server, it is default to be stored in this
In database.
By taking bank's card number as an example, the report of one short message comprising bank's card number is asked when the server receives user
When asking, by the bank, card number is stored in the presetting database, and the telephone number for issuing the short message is stored in the data
In library, later, which can monitor the short message and instant communication message that the telephone number is issued, when the server is examined
Measure the telephone number have issued again one include other bank's card numbers instant communication message when, by the instant communication message packet
The bank's card number contained also is stored in the presetting database.For example, the server receives user to by telephone number
When the report request for the short message " 6220200015484560 ... " that " 13821123948 " issue, by bank's card number
" 6220200015484560 " are stored in the presetting database, and the telephone number " 13821123948 " also is stored in this
In presetting database, the short message and instant messaging that the server monitoring telephone number " 13821123948 " issues later disappear
Breath, when the server detects that the telephone number " 13821123948 " has issued an instant communication message, and the instant messaging
When in message including bank's card number " 6220258615232160 ", which also is stored in
In the presetting database.
203, when the server determines in the information comprising sensitive information, the start bit of the sensitive information in the information
Addition first identifier is set, adds second identifier in the final position of the sensitive information.
Optionally, which is inserted into a hiding OLE(Object in the information before the sensitive information
Linking and Embedding, object connection and insertion) object, is inserted into another hiding OLE after the sensitive information
Object, so as to the subsequent client by calling the two ole objects, can obtain the sensitive information starting display position and
Terminate display position.
In another embodiment provided in an embodiment of the present invention, which can be replaced by following steps: when the service
When device is determined in the information not comprising sensitive information, the client is sent that information to, which is receiving the information
When show the information, terminate.
204, the server sends that information to the client.
In another embodiment provided in an embodiment of the present invention, step 201-204 can be replaced by following steps: the clothes
Business device establishes the presetting database, and the client downloads presetting database is pre- according to this when getting information to be shown
If database judges that, when in the information including sensitive information, the client is quick at this whether comprising sensitive information in the information
First identifier is added in the initial position for feeling information, adds second identifier in the final position of the sensitive information.
In another embodiment provided in an embodiment of the present invention, step 201-204 can also be replaced by following steps: when
When the client gets information to be shown, which is identified, obtains multiple keywords, the multiple keys that will be obtained
Word is sent to the server, which judges whether multiple keyword is sensitive information, when this according to the presetting database
When server determines that any keyword is sensitive information, the sensitive information is sent to the client, which believes in the sensitivity
First identifier is added in the initial position of breath, adds second identifier in the final position of the sensitive information.
205, the client shows position according to the starting that the first identifier obtains the sensitive information when showing the information
It sets, the termination display position of the sensitive information is obtained according to the second identifier.
In embodiments of the present invention, which is located at the initial position of the sensitive information, which is located at should
The final position of sensitive information, the client show the information, and obtain the corresponding display position of the first identifier, quick as this
The starting display position for feeling information, obtains the corresponding display position of the second identifier, and the termination as the sensitive information shows position
It sets.
206, the client determines the sensitive information according to the starting display position and termination display position of the sensitive information
Display position.
Specifically, which is determined as the sensitivity for the region between the starting display position and the termination display position
The display position of information.
207, top layer of the client in the display position of the sensitive information draws the floating layer for covering the sensitive information,
And prompt information is drawn in the floating layer.
Optionally, client call RichEdit control, it is floating that the top layer in the display position of the sensitive information draws this
Layer, alternatively, the client is in the corresponding HTML(HyperText Markup Language of the information, hypertext markup language)
Insertion corresponds to the floating layer label of the sensitive information in code, can be in the display position of the sensitive information when showing the information
Top layer draw the floating layer.
In embodiments of the present invention, which can draw prompt information in the floating layer, which can root
It is determined according to the type of the sensitive information.Such as referring to Fig. 3, which receives the instant communication message of user's " pet name 1 ", should be i.e.
When communication information in include bank's card number, then the client bank's card number top layer draw floating layer, drawn in the floating layer
Prompting message " such as encounters the request of remittance class, it may be possible to which fraudulent act woulds you please confirm other side's identity, can lift when finding the problem
Report ".
Further, when the degree of danger difference of sensitive information, the prompt information which draws can be different.The clothes
Business device can report number and the type of the sensitive information according to the report number of the sensitive information, network monitoring personnel,
The danger classes for determining the sensitive information is sent to the client, which can be according to the type and danger of the sensitive information
Dangerous grade selects suitable prompt information to draw.For example, the bank's card number for being 1 for danger classes, the client can be drawn
Prompt information " this chat is related to property problem, it may be possible to fraudulent act, would you please confirm other side's identity ", be for danger classes
5 bank's card number, the client can draw prompt information " bank's card number have confirmed that for swindle card number, ask not be taken in by
It deceives ".
In addition, after the step 207, this method further include: when the display position of the information changes, the client
End obtains the starting display position after sensitive information variation according to the first identifier, obtains sensitivity letter according to the second identifier
Termination display position after breath variation according to the starting display position after sensitive information variation and terminates display position, determines
The top layer of display position after sensitive information variation, the display position after sensitive information variation draws the floating layer.
For example, during two users carry out instant messaging, when delivering new instant messaging between two users
When message, the history message in instant communication session window can be moved up, when user rolls mouse during browsing webpage
When mark, the display position of information can also change in webpage.In order to avoid the display position in the sensitive information changes
When the floating layer can cover the other information other than the sensitive information, the server real-time monitoring first identifier and second mark
Know, when the display position of the information changes, which can get this according to the first identifier and second identifier
Display position after sensitive information variation makes to repaint the floating layer according to the display position after sensitive information variation
It obtains the floating layer and covers the sensitive information always, and the normal display of other information will not be interfered.
Such as referring to Fig. 3 and Fig. 4, user's " pet name 2 " of the client to user's " pet name 1 " send instant communication message it
Afterwards, the instant communication message which sends can move up, at this point, the server changes according to bank's card number
Display position afterwards repaints the floating layer, so that the floating layer covers bank's card number always.
In embodiments of the present invention, the floating layer for covering the sensitive information is drawn by the top layer in the sensitive information,
Promote user to notice the information there are problem, is avoided as much as causing the loss of user.
It is floated it should be noted that being drawn with the client in the top layer of the sensitive information in above-mentioned steps 203- step 207
Layer is illustrated for prompting user, in fact, the client can when show the information, with in the information except this is quick
Feel the different display mode of the information other than information and it is not limited in the embodiment of the present invention is shown to the sensitive information.
Optionally, which is adjusted at least one of the font of the sensitive information, font color, when showing the information,
The sensitive information or the client hidden sensitive information are shown according to font adjusted or font color, and only display should
Information in information in addition to the sensitive information.
For example, the client can be by the font color of the sensitive information when font color of information setting is black
It is adjusted to grey, promotes user to notice the sensitive information, or the font color of the sensitive information is adjusted to red, with prominent
The sensitive information is shown out, or the font color of the sensitive information is adjusted to identical as the background colour of current interface, with hidden
Hide the sensitive information.
208, when the client receives the request for closing the floating layer, the floating layer is closed.
In embodiments of the present invention, which closes the floating layer, shows when receiving the request for closing the floating layer
The sensitive information covered by the floating layer, such as referring to Fig. 5, which detects that user clicks the behaviour of the close button in the floating layer
When making, the floating layer is closed, shows bank's card number.
The client draws floating layer, and the pass when receiving the request for closing the floating layer by the top layer in the sensitive information
The floating layer is closed, user can either be prompted to take precautions against the sensitive information, and does not interfere with the normal display of the sensitive information.
It should be noted that the embodiment of the present invention is only said so that executing subject is the server and the client as an example
It is bright, in fact, the executing subject can also be information processing unit, when which gets information to be shown,
According to the presetting database, judge whether comprising sensitive information in the information, if so, the information processing unit shows the letter
Breath, and with the display mode different from the information in the information in addition to the sensitive information, which is shown.
Method provided in an embodiment of the present invention, by judged in information to be shown according to the presetting database whether include
Sensitive information, if it is determined that include sensitive information in the information, then when show the information, will with in the information except the sensitivity
The different display mode of information other than information, shows the sensitive information, by the sensitive information with remove the sensitive information
Information in addition distinctly displays, and the difference of the prominent sensitive information prompts user to take precautions against the sensitive information, avoids
The loss of user.Further, it when showing the information, draws in the top layer of the sensitive information for covering the sensitive information
Floating layer covers the sensitive information in real time, and user is promoted to notice the floating layer, enhances the dynamics of prompt user, as much as possible
The loss of user is avoided, while the normal display of the other information other than the sensitive information will not be interfered.For including silver
The information of row card number, after covering bank's card number with the floating layer, the channel for having blocked the user for issuing the information to make a profit, and at this
Prompt information is drawn in floating layer, effectively prevents the generation of fraudulent act.
Fig. 6 is a kind of information processing unit structural schematic diagram provided in an embodiment of the present invention, and referring to Fig. 6, which includes:
Data obtaining module 601, judgment module 602 and display module 603,
Wherein, data obtaining module 601 is for obtaining information to be shown;Judgment module 602 and data obtaining module 601
Connection, for according to presetting database, judging that the presetting database is at least used to store whether comprising sensitive information in the information
At least one of in the sensitive information and sensitive information type collected in advance;Display module 603 respectively with data obtaining module 601
Connected with judgment module 602, if for including sensitive information in the information, when showing the information, with removed in the information
The different display mode of information other than the sensitive information, shows the sensitive information.
Optionally, which includes:
Floating layer drawing unit, for being drawn for covering the sensitivity in the top layer of the sensitive information when showing the information
The floating layer of information.
Optionally, which includes:
First position obtains subelement, for when show the information, obtain the starting display position of the sensitive information with
Terminate display position;
The second position determines subelement, for determining the sensitivity according to the starting display position and the termination display position
The display position of information;
Floating layer draws subelement, draws the floating layer for the top layer in the display position of the sensitive information.
Optionally, first identifier is added in the initial position which obtains that subelement is used in the sensitive information,
The final position of the sensitive information adds second identifier;When showing the information, which is obtained according to the first identifier
Starting display position, the termination display position of the sensitive information is obtained according to the second identifier.
Optionally, the device further include:
Change location obtains module, for being obtained according to the first identifier when the display position of the information changes
Starting display position after sensitive information variation shows position according to the termination that the second identifier obtains after sensitive information variation
It sets;
Change display position determining module, for showing according to the starting display position after sensitive information variation with termination
Position, the display position after determining sensitive information variation;
Change floating layer drafting module, the top layer for the display position after sensitive information variation draws the floating layer.
Optionally, the device further include:
Prompt information drafting module, for drawing prompt information in the floating layer during drawing the floating layer.
Optionally, the device further include:
Floating layer closedown module, for closing the floating layer when receiving the request for closing the floating layer.
Optionally, described device further include:
Receiving module, for receiving report request, the report request carries the instant communication users number that user is reported
At least one of code, telephone number and fiscard number;
Database update module, for the entrained number of the report request to be determined as sensitive information, and store to
In the presetting database.
Device provided in an embodiment of the present invention, by judged in information to be shown according to the presetting database whether include
Sensitive information, if it is determined that include sensitive information in the information, then when show the information, will with in the information except the sensitivity
The different display mode of information other than information, shows the sensitive information, by the sensitive information with remove the sensitive information
Information in addition distinctly displays, and the difference of the prominent sensitive information prompts user to take precautions against the sensitive information, avoids
The loss of user.
It should be understood that information processing unit provided by the above embodiment is in information processing, only with above-mentioned each function
The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds
Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of function described above
Energy.In addition, information processing unit provided by the above embodiment and information processing method embodiment belong to same design, it is specific real
Existing process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of information processing method, which is characterized in that the described method includes:
Obtain information to be shown;
According to presetting database, judge that the presetting database is at least used to store whether comprising sensitive information in the information
At least one of in the sensitive information and sensitive information type collected in advance;
If including sensitive information in the information, when showing the information, it is used in the top layer drafting of the sensitive information
Cover the floating layer of the sensitive information;
When receiving the request for closing the floating layer, the floating layer is closed.
2. the method according to claim 1, wherein when showing the information, on the top of the sensitive information
Layer draws floating layer for covering the sensitive information
When showing the information, obtains the starting display position of the sensitive information and terminate display position;
According to the starting display position and the termination display position, the display position of the sensitive information is determined;
Top layer in the display position of the sensitive information draws the floating layer.
3. according to the method described in claim 2, it is characterized in that, obtaining the sensitive information when showing the information
Starting display position and termination display position include:
First identifier is added in the initial position of the sensitive information, in the second mark of final position addition of the sensitive information
Know;
When showing the information, the starting display position of the sensitive information is obtained according to the first identifier, according to described
Second identifier obtains the termination display position of the sensitive information.
4. according to the method described in claim 3, it is characterized in that, the top layer in the display position of the sensitive information draws institute
After stating floating layer, the method also includes:
When the display position of the information changes, after the sensitive information variation is obtained according to the first identifier
Beginning display position obtains the termination display position after the sensitive information variation according to the second identifier;
According to the starting display position after sensitive information variation and display position is terminated, after determining the sensitive information variation
Display position;
The top layer of display position after sensitive information variation draws the floating layer.
5. the method according to claim 1, wherein the top layer drafting in the sensitive information is described for covering
When the floating layer of sensitive information, the method also includes:
During drawing the floating layer, prompt information is drawn in the floating layer.
6. the method according to claim 1, wherein the method also includes:
Report request is received, the report request carries instant communication users number, telephone number and finance that user is reported
At least one of card number code;
The entrained number of the report request is determined as sensitive information, and is stored into the presetting database.
7. a kind of information processing unit, which is characterized in that described device includes:
Data obtaining module, for obtaining information to be shown;
Judgment module, for whether according to presetting database, judging in the information comprising sensitive information, the presetting database
At least for storing at least one in the sensitive information collected in advance and sensitive information type;
Floating layer drafting module, if for including sensitive information in the information, when showing the information, in the sensitive letter
The top layer of breath draws the floating layer for covering the sensitive information;
Floating layer closedown module, for closing the floating layer when receiving the request for closing the floating layer.
8. device according to claim 7, which is characterized in that the floating layer drafting module includes:
First position obtains subelement, for when show the information, obtain the starting display position of the sensitive information with
Terminate display position;
The second position determines subelement, for determining described quick according to the starting display position and the termination display position
Feel the display position of information;
Floating layer draws subelement, draws the floating layer for the top layer in the display position of the sensitive information.
9. device according to claim 8, which is characterized in that the first position obtains subelement and is used in the sensitivity
First identifier is added in the initial position of information, adds second identifier in the final position of the sensitive information;Showing the letter
When breath, the starting display position of the sensitive information is obtained according to the first identifier, according to second identifier acquisition
The termination display position of sensitive information.
10. device according to claim 9, which is characterized in that described device further include:
Change location obtains module, for being obtained according to the first identifier when the display position of the information changes
Starting display position after the sensitive information variation obtains the termination after the sensitive information variation according to the second identifier
Display position;
Change display position determining module, for according to the starting display position and termination display position after sensitive information variation
It sets, the display position after determining the sensitive information variation;
Change floating layer drafting module, the top layer for the display position after sensitive information variation draws the floating layer.
11. device according to claim 7, which is characterized in that described device further include:
Prompt information drafting module, for drawing prompt information in the floating layer during drawing the floating layer.
12. device according to claim 7, which is characterized in that described device further include:
Receiving module, for receiving report request, the report request carries instant communication users number, electricity that user is reported
Talk about at least one of number and fiscard number;
Database update module for the entrained number of the report request to be determined as sensitive information, and is stored to described
In presetting database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410102706.9A CN104935494B (en) | 2014-03-19 | 2014-03-19 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410102706.9A CN104935494B (en) | 2014-03-19 | 2014-03-19 | Information processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104935494A CN104935494A (en) | 2015-09-23 |
CN104935494B true CN104935494B (en) | 2019-04-23 |
Family
ID=54122469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410102706.9A Active CN104935494B (en) | 2014-03-19 | 2014-03-19 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104935494B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106570408A (en) * | 2015-10-08 | 2017-04-19 | 阿里巴巴集团控股有限公司 | Sensitive information display method and apparatus |
CN105718855A (en) * | 2015-12-03 | 2016-06-29 | 王晓龙 | Online composition assessment method and system |
CN105610834A (en) * | 2015-12-31 | 2016-05-25 | 北京元心科技有限公司 | Monitoring method and device of transferred information |
CN106066884A (en) * | 2016-06-06 | 2016-11-02 | 珠海市小源科技有限公司 | A kind of information security recognition methods and device |
CN106408425A (en) * | 2016-09-28 | 2017-02-15 | 北京小米移动软件有限公司 | Social information cautioning method, apparatus and cautioning server |
CN106570698A (en) * | 2016-11-18 | 2017-04-19 | 北京奇虎科技有限公司 | Message processing method applied to account transaction platform, and mobile communication terminal |
CN106708361A (en) * | 2016-11-28 | 2017-05-24 | 努比亚技术有限公司 | Information processing method and mobile terminal |
CN106598609A (en) * | 2016-12-19 | 2017-04-26 | 深圳天珑无线科技有限公司 | Information processing method and apparatus, and terminal |
CN106878309B (en) * | 2017-02-21 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Safety early warning method and device applied to network payment |
CN108848020B (en) * | 2018-05-14 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Message processing method, device and related equipment |
CN109145636A (en) * | 2018-07-18 | 2019-01-04 | 阿里巴巴集团控股有限公司 | Method, apparatus, equipment and the readable medium of information are presented on the computing device |
CN113630395B (en) * | 2021-07-28 | 2023-06-06 | 上海纽盾网安科技有限公司 | Anti-phishing method, client and system for communication content |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102227113A (en) * | 2011-05-31 | 2011-10-26 | 广州华多网络科技有限公司 | System and method for realizing filtering communication message |
CN102238097A (en) * | 2010-05-07 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Instant messaging (IM)-based information reminding method and device |
CN102323933A (en) * | 2011-08-31 | 2012-01-18 | 张潇 | Information embedding and interaction system facing real-time communication and method |
US8443049B1 (en) * | 2004-08-20 | 2013-05-14 | Sprint Spectrum L.P. | Call processing using trust scores based on messaging patterns of message source |
CN103530562A (en) * | 2013-10-23 | 2014-01-22 | 腾讯科技(深圳)有限公司 | Method and device for identifying malicious websites |
-
2014
- 2014-03-19 CN CN201410102706.9A patent/CN104935494B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8443049B1 (en) * | 2004-08-20 | 2013-05-14 | Sprint Spectrum L.P. | Call processing using trust scores based on messaging patterns of message source |
CN102238097A (en) * | 2010-05-07 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Instant messaging (IM)-based information reminding method and device |
CN102227113A (en) * | 2011-05-31 | 2011-10-26 | 广州华多网络科技有限公司 | System and method for realizing filtering communication message |
CN102323933A (en) * | 2011-08-31 | 2012-01-18 | 张潇 | Information embedding and interaction system facing real-time communication and method |
CN103530562A (en) * | 2013-10-23 | 2014-01-22 | 腾讯科技(深圳)有限公司 | Method and device for identifying malicious websites |
Also Published As
Publication number | Publication date |
---|---|
CN104935494A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104935494B (en) | Information processing method and device | |
CN113098870B (en) | Phishing detection method and device, electronic equipment and storage medium | |
CN104580093B (en) | The processing method of website notification message, apparatus and system | |
CN106650398B (en) | Verification code identification system and identification method of mobile platform | |
CN107229638A (en) | A kind of text message processing method and device | |
CN106803168A (en) | A kind of abnormal transfer accounts method for detecting and device | |
CN111917708B (en) | Multi-target cooperative network security monitoring method, client and system | |
CN111147268B (en) | Group chatting method and device, electronic equipment and storage medium | |
CN107689936A (en) | Security verification system, the method and device of logon account | |
CN106489159A (en) | A kind of user's portrait based on deep neural network represents learning system and method | |
CN106503111B (en) | Webpage code-transferring method, device and client terminal | |
CN106656748A (en) | Information display method and device, and electronic equipment | |
CN108173814A (en) | Detection method for phishing site, terminal device and storage medium | |
CN104852916A (en) | Social engineering-based webpage verification code recognition method and system | |
CN105391860A (en) | Method and apparatus for processing communication request | |
Sunkara et al. | Towards better semantic understanding of mobile interfaces | |
CN113242223A (en) | Website detection method and device | |
CN109240775A (en) | A kind of chat interface information interpretation method, device and terminal device | |
CN112016317A (en) | Sensitive word recognition method and device based on artificial intelligence and computer equipment | |
CN113949560A (en) | Network security identification method, device, server and storage medium | |
CN106886245A (en) | A kind of accurate countdown realization method and system | |
CN110163013B (en) | Method and equipment for detecting sensitive information | |
CN114390011B (en) | Message processing method and device and readable storage medium | |
CN109635214A (en) | Learning resource pushing method and electronic equipment | |
CN106714332A (en) | Wireless network access method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190731 Address after: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Co-patentee after: Tencent cloud computing (Beijing) limited liability company Patentee after: Tencent Technology (Shenzhen) Co., Ltd. Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Patentee before: Tencent Technology (Shenzhen) Co., Ltd. |