CN105138932A - Text display method, text display device, and mobile terminal - Google Patents

Text display method, text display device, and mobile terminal Download PDF

Info

Publication number
CN105138932A
CN105138932A CN201510508629.1A CN201510508629A CN105138932A CN 105138932 A CN105138932 A CN 105138932A CN 201510508629 A CN201510508629 A CN 201510508629A CN 105138932 A CN105138932 A CN 105138932A
Authority
CN
China
Prior art keywords
text
display
interference color
interference
color lump
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.)
Granted
Application number
CN201510508629.1A
Other languages
Chinese (zh)
Other versions
CN105138932B (en
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.)
Shanghai Chuanggong Telecom Technology Co Ltd
Original Assignee
Shanghai Chuanggong Telecom 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 Shanghai Chuanggong Telecom Technology Co Ltd filed Critical Shanghai Chuanggong Telecom Technology Co Ltd
Priority to CN201510508629.1A priority Critical patent/CN105138932B/en
Publication of CN105138932A publication Critical patent/CN105138932A/en
Application granted granted Critical
Publication of CN105138932B publication Critical patent/CN105138932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Abstract

The invention discloses a text display method, a text display device, and a mobile terminal. The method comprises the following steps: acquiring the display color value of a text to be displayed and the display area of the text to be displayed; generating a plurality of interference color blocks, wherein the difference between the display color value of each of the interference color blocks and the display color value of the text to be displayed is within a threshold range and is not zero; and displaying the interference color blocks in the display area. According to the invention, as the interference color blocks of which the color values are similar to the color value of the text to be displayed are added to the text to be displayed, visual interference color can be added to the text to be displayed, and t is difficult for other people to visually distinguish the display content of the text to be displayed when seeing the display screen of the text to be displayed. Therefore, the content of the text to be displayed can be prevented from being exposed and leaked.

Description

Text display method, device and mobile terminal
Technical field
The present invention relates to a kind of text display method, device and mobile terminal.
Background technology
Along with the development of mobile communication, function integrated on mobile terminal gets more and more, very multiple services complete be all complete on mobile terminals mutual.But, inevitably mobile terminal does not have reasonable leakage-preventing measure for private information, in prior art, normally some application on mobile terminal is arranged access rights, to prevent the leakage of private information in the starting stage.But after completing purview certification, private information is also inevitably shown in the external world, be difficult to the leakage preventing private information all the time.
Summary of the invention
The technical problem to be solved in the present invention be in order to overcome private information of the prior art be shown in the external world time, without any the defect that leakage-preventing measure prevents private information from revealing, provide a kind of text display method, device and mobile terminal.
The present invention is solved the problems of the technologies described above by following technical proposals:
A kind of text display method, comprising:
Obtain the display colour of a text to be shown and the viewing area of described text to be shown;
Generate some interference color lumps, the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
Those interference color lumps are shown in described viewing area.
In this programme, text to be shown adds the interference color lump close with its colour, visual interference colour can be increased on text to be shown, when other people see the display screen of text to be shown, because the color of interference color lump and text to be shown is close, therefore for the more difficult displaying contents of text to be shown of telling of other people, therefore, it is possible to the leakage of displaying contents when preventing from using in public.
Preferably, also comprising and judge whether text to be shown is sensitive information, when confirming as sensitive information, then obtaining the display colour etc. of text to be shown further.
Here sensitive information can be bank account information, the account password information of individual and the privacy information etc. of others' chat.The judgement of sensitive information, existing any means can be adopted, such as bank account information is by Bank Account Number detection technique, or utilizing keyword spotting technology (such as keyword is account and code expression), privacy information can utilize keyword spotting technology (if setting keyword is dear etc.) equally.By being whether the judgement of sensitive information.This programme can carry out leakage-preventing operation to private information pointedly, and during for non-private information, without the need to adding interference color lump.This programme when only confirming as sensitive information, can carry out the increase disturbing color lump, ensures, while increase privacy, farthest not hinder again the routine use of user.
Preferably, the area of each interference color lump is less than the display area of each font in described text to be shown.
When disturbing the area of color lump to be less than the area of font, can increase the distribution density of interference color lump, improve interference color lump to the vision interference effect of display font, the display that more effectively prevent the content of text to be shown is revealed.
Preferably, described display colour is the rgb value under RGB color mode, and described threshold range formed by R value scope, G value scope and the B value scope preset respectively.And show colour and also can characterize with other color mode, as CMYK pattern, HSB pattern, Lab color mode, pattern bitmap, grayscale mode, Indexed Color mode, duotone mode and multi-channel mode, as long as under this color mode, text to be shown can be made to there is colour difference with interference color lump.Due to RGB pattern almost include human eyesight can all colours of perception, therefore it prevents from showing the better effects if revealed.
Preferably, those interference color lumps are shown in the background of described viewing area.
Wherein, background refers to except the position at the font place of text to be shown, and the region in viewing area.When interference color lump is shown in background, color addition can not be produced in font, both add interference colour, also can not affect the identification to font.
Preferably, the some interference color lumps of described generation comprise:
Some interference color lumps are generated by the mode of drawing or the mode of importing template.
When adopting the mode of drawing to generate interference color lump, can drawing function be called, for Android system, draw function plotting can be called, and during for other system, the drawing function that can call in corresponding developing instrument is drawn.And the mode importing template generate interference color lump time, the graphic template completed can be imported.
Preferably, according to the word quantity of described text to be shown, the display density of those interference color lumps is set.
Preferably, each interference color lump is the color lump that some continuous or discrete pixels are formed.
For continuous print pixel, can be the pure color color lump concentrated and formed, and for discrete pixel, can be such as alabastrine look district, thickly dotted loose point etc.
The present invention also provides a kind of textual display device, comprises acquisition module, interference color lump generation module and display module;
Described acquisition module is for the viewing area of the display colour and described text to be shown that obtain a text to be shown;
Described interference color lump generation module is for generating some interference color lumps, and the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
Described display module is used for those interference color lumps to be shown in described viewing area.
Preferably, also comprise judge module, for judging whether described text to be shown is sensitive information.
Preferably, described interference color lump generation module comprises graphics module and template importing module;
Described graphics module is used for drawing to generate some interference color lumps;
Described template imports module for importing template to generate some interference color lumps.
The present invention also provides a kind of mobile terminal, comprises textual display device as above.
Wherein, mobile terminal can be mobile phone, panel computer etc. some with display screen to show the electronic equipment of word.
Positive progressive effect of the present invention is: the present invention by adding the interference color lump close with its colour on text to be shown, visual interference colour can be increased on text to be shown, when other people see the display screen of text to be shown, visually be difficult to the displaying contents telling text to be shown, therefore, it is possible to the leakage of displaying contents when preventing from using in public.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the text display method of the embodiment of the present invention 1.
Fig. 2 is the text display effect schematic diagram after adding interference color lump in the embodiment of the present invention 1.
Fig. 3 is the text display effect schematic diagram after filtering out interference color lump in the embodiment of the present invention 1.
Fig. 4 is the process flow diagram of the text display method of the embodiment of the present invention 2.
Fig. 5 is the structural representation of the textual display device of the embodiment of the present invention 3.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
Embodiment 1
The present embodiment provides a kind of text display method, described text display is on the display screen of mobile phone, user is in public as subway or bus used the account balance in bank's card number of mobile phones enquiring self, and obviously such operation is need to be keep secret, in case other people peep.
The present embodiment arranges the switch of anti-peeping pattern, and when also opening by this pattern, the content of text on mobile phone, or even private content, will disturbedly show, and when this pattern being closed, the content of text on mobile phone can not do interference display.As shown in Figure 1, this display packing comprises:
Step 101, the acquisition display colour of one text to be shown and the viewing area of described text to be shown;
Suppose that text to be shown is " my bank's card number is 6022013423452453 ", this text to be shown must belong to private information, therefore needs to carry out interference display.The display colour of this text to be shown can be the colour arranged when anti-peeping pattern is opened, and also can be the acquiescence colour of display.
The display colour of the present embodiment is the rgb value under RGB color mode, and the rgb value getting this text to be shown is respectively 0,0,255, and also namely the color of this text to be shown is blue.And the viewing area of this text to be shown is wide height 100px*50px respectively, wherein px represents pixel, and this viewing area is positioned at 1/3 wide and 1/10 high position of the screen coordinate of mobile terminal.
Step 102, generate some interference color lumps, the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
The present embodiment generates interference color lump by the mode importing graphic template, and the mode also by drawing generates interference color lump.And threshold range formed by R value scope, G value scope and the B value scope preset respectively.Also namely, on the basis of the colour of text to be shown, increase or reduce corresponding colour, and the scope formed all can become this threshold range.Particularly, 0, on the basis of 0,255, R value increase by setting range, B value increase by setting range, G value minimizing one setting range, and the set that the combination of those scopes is formed jointly are then this threshold range.
Visible, the colour of interference color lump is close with the color of the font of text to be shown all the time, and this close color exactly, can cause interference to the display of text to be shown.And the interference color lump of the present embodiment is set to red color lump or green color lump.And disturb color lump to can be polychrome color lump, as long as the difference of the colour of the colour of those color lumps and text to be shown is in described threshold range.
Step 103, by those interference color lumps be shown in described viewing area.
Particularly, those interference color lumps are shown in the background of described viewing area, are also, except the position at word place, be then the viewing area of interference color lump, in fact also can be shown in font, when being just shown in font, the identification of user to font can be affected to a certain extent.
In order to form high density with word and be difficult to point other interference colour district, the area of each interference color lump is less than the display area of each font in described text to be shown.Suppose that the wide of each character script and height are respectively 8px*8px, text to be shown " my bank's card number is 6022113423452453 " point work two row display, " my bank's card number is " shows in a line, " 6022113423452453 " show at next line, then disturb the wide and high of color lump to be taken as in 1/3 to the 1/2 wide and high scope of word all as far as possible, disturb color lump to disturb the display of text to be shown to the full extent like this.
In addition, each interference color lump can be the color lump that some continuous or discrete pixels are formed.For continuous print pixel, can be the pure color color lump concentrated and formed, and for discrete pixel, can be such as alabastrine look district, thickly dotted loose point, and disturb the layout density size of color lump, according to the word quantity of described text to be shown, the display density of those interference color lumps can be set.Can be fewer according to word quantity, interference color lump is more, and the mode that its density is larger carries out the layout disturbing color lump.And the display effect of adding the text after interference color lump can be as shown in Figure 2.
And user is when checking text information, undertaken checking the text by filter goggle, this filter goggle can filter interference colour, the i.e. redness of the present embodiment and green color lump, after filtering interference colour, only the color of remaining text to be shown is projected in filter goggle, user then can check text information safely relievedly, and without the need to worrying that other people peep text information, its display effect can be as shown in Figure 3.And other people are when seeing the display screen of text to be shown, due to the existence of interference colour, it is visually the very difficult displaying contents of text to be shown of telling, therefore, it is possible to prevent the open of the content of text to be shown and reveal.
Embodiment 2
The display packing of the present embodiment, as shown in Figure 4, comprising:
Step 201, judge whether text to be shown is sensitive information, when for sensitive information, carries out next step; When confirming as non-sensitive information, directly show in a conventional way.
The sensitive information of the present embodiment middle finger can be bank account information, the account password information of individual and the privacy information of others' chat and any user and thinks the information etc. being inconvenient to allow stranger know.The judgement of sensitive information, existing any means can be adopted, such as bank account information is by Bank Account Number detection technique, or utilizing keyword spotting technology (such as keyword is account and code expression), privacy information can utilize keyword spotting technology (if setting keyword is dear etc.) equally.
Step 202, obtain the display colour of described text to be shown and the viewing area of described text to be shown;
Suppose that text to be shown is bank account information, as " my bank's card number is 6022013423452453 ", confirm as sensitive information, therefore need to be treated to interference display.
Rgb value under the display colour of the present embodiment is RGB color mode, the rgb value getting this text to be shown is respectively 0,0,255, and also namely the color of this text to be shown is blue.And the viewing area of this text to be shown is wide height 100px*50px respectively, wherein px represents pixel, and this viewing area is positioned at 1/3 wide and 1/10 high position of the screen coordinate of mobile terminal.
Step 203, generate some interference color lumps, the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
The present embodiment generates interference color lump by the mode importing graphic template, and the mode also by drawing generates interference color lump.And threshold range formed by R value scope, G value scope and the B value scope preset respectively.Also namely, on the basis of the colour of text to be shown, increase or reduce corresponding colour, and the scope formed all can become this threshold range.Particularly, 0, on the basis of 0,255, R value increase by setting range, B value increase by setting range, G value minimizing one setting range, and the set that the combination of those scopes is formed jointly are then this threshold range.
Visible, the colour of interference color lump is close with the color of the font of text to be shown all the time, and this close color exactly, can cause interference to the display of text to be shown.And the interference color lump of the present embodiment is set to red color lump or green color lump.And disturb color lump to can be polychrome color lump, as long as the difference of the colour of the colour of those color lumps and text to be shown is in described threshold range.
Step 204, by those interference color lumps be shown in described viewing area.
Particularly, those interference color lumps are shown in the background of described viewing area, are also, except the position at word place, be then the viewing area of interference color lump, in fact also can be shown in font, when being just shown in font, the identification of user to font can be affected to a certain extent.
In order to form high density with word and be difficult to point other interference colour district, the area of each interference color lump is less than the display area of each font in described text to be shown.Suppose that the wide of each character script and height are respectively 8px*8px, text to be shown " my bank's card number is 6022113423452453 " point work two row display, " my bank's card number is " shows in a line, " 6022113423452453 " show at next line, then disturb the wide and high of color lump to be taken as in 1/3 to the 1/2 wide and high scope of word all as far as possible, disturb color lump to disturb the display of text to be shown to the full extent like this.
By the method for the present embodiment, this programme when only confirming as sensitive information, can carry out the increase display disturbing color lump, ensures, while increase privacy, farthest not hinder again the routine use of user.
Embodiment 3
The present embodiment provides a kind of textual display device, and text display device is arranged in a mobile terminal, as shown in Figure 5, comprises acquisition module 1, interference color lump generation module 2 and display module 3;
Described acquisition module 1 is for the viewing area of the display colour and described text to be shown that obtain a text to be shown;
Described interference color lump generation module 2 is for generating some interference color lumps, and the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
Described display module 3 is for being shown in those interference color lumps in described viewing area.
Wherein, described interference color lump generation module 2 comprises graphics module 20 and template importing module 21;
Described graphics module 20 is for drawing to generate some interference color lumps;
Described template imports module 21 for importing template to generate some interference color lumps.
The textual display device of the present embodiment can carry out the display of text according to the text display method described in embodiment 1, also the display of text can be carried out according to the text display method described in embodiment 2, when adopting the display packing of embodiment 2 to show, the judge module that sensitive information is judged can be increased, thus only carry out anti-leak operation for sensitive information.The present embodiment owing to the addition of interference color lump, is visually difficult to the displaying contents telling text to be shown, therefore, it is possible to the leakage of displaying contents when preventing from using in public.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.

Claims (12)

1. a text display method, is characterized in that, comprising:
Obtain the display colour of a text to be shown and the viewing area of described text to be shown;
Generate some interference color lumps, the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
Those interference color lumps are shown in described viewing area.
2. text display method as claimed in claim 1, is characterized in that, also comprising and judges that whether described text to be shown is the step of sensitive information, when being judged as sensitive information, obtaining the display colour of text to be shown.
3. text display method as claimed in claim 2, is characterized in that, the area of each interference color lump is less than the display area of each font in described text to be shown.
4. text display method as claimed in claim 2, it is characterized in that, described display colour is the rgb value under RGB color mode, and described threshold range formed by R value scope, G value scope and the B value scope preset respectively.
5. text display method as claimed in claim 2, is characterized in that, those interference color lumps are shown in the background of described viewing area.
6. text display method as claimed in claim 1, it is characterized in that, the some interference color lumps of described generation comprise:
Some interference color lumps are generated by the mode of drawing or the mode of importing template.
7. text display method as claimed in claim 1, is characterized in that, according to the word quantity of described text to be shown, arranges the display density of those interference color lumps.
8. as the text display method in claim 1-7 as described in any one, it is characterized in that, each interference color lump is the color lump that some continuous or discrete pixels are formed.
9. a textual display device, is characterized in that, comprises acquisition module, interference color lump generation module and display module;
Described acquisition module is for the viewing area of the display colour and described text to be shown that obtain a text to be shown;
Described interference color lump generation module is for generating some interference color lumps, and the difference of those interference display colours of color lump and the display colour of described text to be shown is in a threshold range, and described difference is not 0;
Described display module is used for those interference color lumps to be shown in described viewing area.
10. textual display device as claimed in claim 9, is characterized in that: also comprise judge module, for judging whether described text to be shown is sensitive information.
11. textual display device as described in claim 9 or 10, is characterized in that, described interference color lump generation module comprises graphics module and template imports module;
Described graphics module is used for drawing to generate some interference color lumps;
Described template imports module for importing template to generate some interference color lumps.
12. 1 kinds of mobile terminals, is characterized in that, comprise the textual display device as described in claim 9 or 10.
CN201510508629.1A 2015-08-18 2015-08-18 Text display method, device and mobile terminal Active CN105138932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510508629.1A CN105138932B (en) 2015-08-18 2015-08-18 Text display method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510508629.1A CN105138932B (en) 2015-08-18 2015-08-18 Text display method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105138932A true CN105138932A (en) 2015-12-09
CN105138932B CN105138932B (en) 2018-11-20

Family

ID=54724276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510508629.1A Active CN105138932B (en) 2015-08-18 2015-08-18 Text display method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105138932B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105627194A (en) * 2016-01-20 2016-06-01 京东方科技集团股份有限公司 Backlight source, backlight module, display device and display system
CN105930736A (en) * 2016-04-29 2016-09-07 宇龙计算机通信科技(深圳)有限公司 Display method, display apparatus, display terminal and descrambling terminal
CN110515892A (en) * 2019-07-15 2019-11-29 平安普惠企业管理有限公司 Text conversion method, device, equipment and storage medium based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805459A (en) * 2005-01-14 2006-07-19 Lg电子株式会社 Message display unit and message display method for mobile communication terminal
US20080141123A1 (en) * 2006-12-07 2008-06-12 Canon Kabushiki Kaisha Editing apparatus and editing method
CN102654898A (en) * 2011-03-04 2012-09-05 董建飞 Method for displaying key information of transaction data by digital signing equipment
CN102439559B (en) * 2011-09-16 2014-08-06 华为终端有限公司 Character display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805459A (en) * 2005-01-14 2006-07-19 Lg电子株式会社 Message display unit and message display method for mobile communication terminal
US20080141123A1 (en) * 2006-12-07 2008-06-12 Canon Kabushiki Kaisha Editing apparatus and editing method
CN102654898A (en) * 2011-03-04 2012-09-05 董建飞 Method for displaying key information of transaction data by digital signing equipment
CN102439559B (en) * 2011-09-16 2014-08-06 华为终端有限公司 Character display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105627194A (en) * 2016-01-20 2016-06-01 京东方科技集团股份有限公司 Backlight source, backlight module, display device and display system
WO2017124782A1 (en) * 2016-01-20 2017-07-27 京东方科技集团股份有限公司 Backlight source, backlight module, display device, and display system
CN105930736A (en) * 2016-04-29 2016-09-07 宇龙计算机通信科技(深圳)有限公司 Display method, display apparatus, display terminal and descrambling terminal
CN110515892A (en) * 2019-07-15 2019-11-29 平安普惠企业管理有限公司 Text conversion method, device, equipment and storage medium based on artificial intelligence

Also Published As

Publication number Publication date
CN105138932B (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN104536771B (en) According to the icon sequencing display method and system of Icon Color
CN101739720B (en) Method and device for generating three-dimensional dynamic verification code
CN101512625A (en) Image processing apparatus, image processing method, program thereof, display device, and image display system
CN104658030B (en) The method and apparatus of secondary image mixing
CN105045554B (en) A kind of image display method and user terminal
CN106127069A (en) Thumbnail treating method and apparatus and methods for interface management and device
CN105138932A (en) Text display method, text display device, and mobile terminal
CN103151022A (en) Method for automatically changing font colors according to background color and system
JP2019139121A (en) Circuit device, electronic apparatus, and error detection method
CN105955754A (en) Method and device for displaying characters of user interface
US7545389B2 (en) Encoding ClearType text for use on alpha blended textures
CN114399437A (en) Image processing method and device, electronic equipment and storage medium
CN104504350A (en) Display device, watching device, display method and watching method
CN106445501A (en) Display method of notification bar, and terminal
CN110880164A (en) Image processing method, device and equipment and computer storage medium
CN103854020A (en) Character recognition method and device
CN112199137A (en) Display method and device of login interface, electronic equipment and storage medium
CN110457098B (en) Page local image sharing method, device, equipment and storage medium
CN106210233A (en) A kind of terminal called book management method and device
CN106951138B (en) Icon fuzzification method and device
CN110176207A (en) Image data determination method and device and electronic equipment
KR102625935B1 (en) Apparatus and method for validating image data in a display device
CN114527950A (en) Picture color adjusting method, device, equipment and storage medium
KR20190021724A (en) Security improved method and electronic device performing the same for displaying image
CN113918253A (en) System bar icon display method and device

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