CN107330347A - A kind of display methods, terminal and computer-readable recording medium - Google Patents
A kind of display methods, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107330347A CN107330347A CN201710381170.2A CN201710381170A CN107330347A CN 107330347 A CN107330347 A CN 107330347A CN 201710381170 A CN201710381170 A CN 201710381170A CN 107330347 A CN107330347 A CN 107330347A
- Authority
- CN
- China
- Prior art keywords
- display
- visibility region
- screen
- layer
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses a kind of display methods, terminal and computer-readable recording medium; this method is applied to terminal; the screen of terminal includes glass cover-plate, touch sensitive layer, protective layer and the display layer set gradually from top to bottom, and glass cover-plate is located at outermost layer, and display methods includes:When terminal needs to open privacy protection mode, the direction of user's viewing terminal screen and the distance with screen are obtained, with this determination display properties parameter, and masked images are shown according to the parameter on the protection layer;According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen; display layer is divided into visibility region and invisible area; and determine the display properties parameter of visibility region; default processing is carried out to the former display content of display layer according to the parameter; and shown all the elements after processing in visibility region according to the second preset rules; allow users to check privacy content, the content is can't see at other visual angles, protect privacy of user.
Description
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of display methods, terminal and computer-readable deposit
Storage media.
Background technology
At present, the use of mobile terminal is increasingly frequent, and people need to check mobile terminal often in all cases.When
When user is among crowd, if user is using mobile terminal, the screen content of the mobile terminal of user may be by it
Other people see that the privacy of user cannot be protected, poor user experience.
The content of the invention
It is a primary object of the present invention to propose a kind of display methods, terminal and computer-readable recording medium, it is intended to solve
Certainly in the prior art, user is in using terminal, the problem of privacy of user cannot be protected.
In order to solve the above technical problems, the present invention provides a kind of display methods, applied to terminal, the screen of terminal include from
Glass cover-plate, touch sensitive layer, protective layer and display layer that top to bottm is set gradually, glass cover-plate are located at outermost layer, display
Method comprises the following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;
If so, then obtaining the direction of user's viewing terminal screen and the distance with screen;
According to the direction of user's viewing terminal screen and the distance with screen, the display of masked images on protective layer is determined
Property parameters, and masked images are shown according to display properties parameter on the protection layer;
According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen, it will show
Layer is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
According to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will processing
All the elements afterwards are shown according to the second preset rules in visibility region.
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;The display of masked images
Property parameters include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion.
Wherein, according to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will
All the elements after processing carry out display according to the second preset rules in visibility region to be included:
When masked images are vertical bar, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, from left to right carry out dividing processing successively to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
When masked images are horizontal stripe, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, carry out dividing processing successively from top to bottom to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer is reduced and cutting process, and all the elements after processing are completely shown in visibility region.
Wherein, all the elements after by processing according to the second preset rules after visibility region is shown, display
Method also includes:
When detecting the direction of user's viewing terminal screen, and/or the distance of user and screen changes, then again
The display properties parameter of masked images on protective layer is determined, and is shown on the protection layer according to the display properties parameter redefined
Masked images;
And the direction according to user's viewing terminal screen after the masked images and change shown again and and screen
Distance, display layer is divided into visibility region and invisible area again, and redefine the display properties ginseng of visibility region
Number;
And according to the display properties parameter of the visibility region redefined, the former display content to display layer carries out default place
Reason, and all the elements after processing are shown according to the second preset rules in visibility region.
Wherein, judge whether terminal needs unlatching privacy protection mode to include according to the first preset rules:
In the case where receiving the unlatching operation of user, in the case where meeting the unlocking condition of user preset, at end
It is more than given threshold in the case that the residing surrounding environment in end meets preparatory condition or in the privacy class of current operation application
In the case of, then judge that terminal needs to open privacy protection mode.
Further, the present invention provides a kind of terminal, glass cover-plate that the screen of terminal includes setting gradually from top to bottom,
Touch sensitive layer, protective layer and display layer, glass cover-plate are located at outermost layer, and terminal includes memory and processor;
Processor is used to perform the display program stored in memory, to realize following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;
If so, then obtaining the direction of user's viewing terminal screen and the distance with screen;
According to the direction of user's viewing terminal screen and the distance with screen, the display of masked images on protective layer is determined
Property parameters, and masked images are shown according to display properties parameter on the protection layer;
According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen, it will show
Layer is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
According to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will processing
All the elements afterwards are shown according to the second preset rules in visibility region.
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;Display properties parameter bag
Include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion.
Wherein, according to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will
All the elements after processing carry out display according to the second preset rules in visibility region to be included:
When masked images are vertical bar, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, from left to right carry out dividing processing successively to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
When masked images are horizontal stripe, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, carry out dividing processing successively from top to bottom to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer is reduced and cutting process, and all the elements after processing are completely shown in visibility region.
Further, the present invention provides a kind of computer-readable recording medium, and computer-readable recording medium storage has one
Individual or multiple programs, one or more program can be by one or more computing device, to realize following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;The screen of terminal include on to
Under the glass cover-plate, touch sensitive layer, protective layer and the display layer that set gradually, glass cover-plate is located at outermost layer;
If so, then obtaining the direction of user's viewing terminal screen and the distance with screen;
According to the direction of user's viewing terminal screen and the distance with screen, the display of masked images on protective layer is determined
Property parameters, and masked images are shown according to display properties parameter on the protection layer;
According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen, it will show
Layer is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
According to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will processing
All the elements afterwards are shown according to the second preset rules in visibility region.
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;Display properties parameter bag
Include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion;
According to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will processing
All the elements afterwards carry out display according to the second preset rules in visibility region to be included:
When masked images are vertical bar, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, from left to right carry out dividing processing successively to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
When masked images are horizontal stripe, then according to the quantity of each visible subregion, width and adjacent visible subregion
Between spacing, carry out dividing processing successively from top to bottom to the former display content of display layer, and by all the elements after processing
According to segmentation order Pagination Display is carried out in visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer is reduced and cutting process, and all the elements after processing are completely shown in visibility region.
Beneficial effect
The invention provides a kind of display methods, terminal and computer-readable recording medium, the display methods is applied to eventually
End, the screen of terminal includes the glass cover-plate, touch sensitive layer, protective layer and the display layer that set gradually from top to bottom, glass
Cover plate is located at outermost layer, and display methods comprises the following steps:Judge whether terminal needs to open privacy according to the first preset rules
Protected mode;If so, then obtaining the direction of user's viewing terminal screen and the distance with screen;According to user's viewing terminal screen
The direction of curtain and the distance with screen, determine the display properties parameter of masked images on protective layer, and join according to display properties
Number shows masked images on the protection layer;According to the direction of the masked images of display and user's viewing terminal screen and with
The distance of screen, is divided into visibility region and invisible area, and determine the display properties parameter of visibility region by display layer;Root
According to the display properties parameter of visibility region, the former display content to display layer carries out default processing, and will be all interior after processing
Appearance is shown according to the second preset rules in visibility region;Using such scheme, set above terminal screen display layer
One protective layer, shows masked images on the protection layer, and according to the masked images and the sight of user, display layer is divided into can
See region and invisible area, and determine the display properties parameter of visibility region, it is right according to the display properties parameter of visibility region
The former display content of display layer carries out default processing, and by all the elements after processing according to the second preset rules in visibility region
Shown so that user can check privacy content, and the content is can't see at other visual angles, conveniently protects user
Privacy, be greatly improved the usage experience of user.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing the optional terminal of each embodiment one of the invention;
A kind of flow chart for display methods that Fig. 2 provides for first embodiment of the invention;
A kind of schematic diagram for terminal screen composition that Fig. 3 provides for prior art;
A kind of schematic diagram for terminal screen composition that Fig. 4 provides for each embodiment of the invention;
A kind of schematic diagram for terminating circuit framework that Fig. 5 provides for each embodiment of the invention;
The schematic diagram that Fig. 6 shows for a kind of masked images that each embodiment of the invention is provided;
A kind of schematic diagram for display that Fig. 7 provides for each embodiment of the invention;
A kind of schematic diagram for terminal that Fig. 8 provides for second embodiment of the invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, using for
The suffix of such as " module ", " part " or " unit " of element is represented only for being conducive to the explanation of the present invention, itself is not
There is specific meaning.Therefore, " module " can be used mixedly with " part ".
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be appreciated by those skilled in the art that in addition to being used in particular for moving the element of purpose, according to the present invention's
The construction of embodiment can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for the optional terminal of realization each embodiment one of the invention, the end
End 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
Device 109 and the grade part of processor 110.It will be understood by those skilled in the art that the terminal structure shown in Fig. 1 is not constituted pair
The restriction of terminal, terminal can be included than illustrating more or less parts, either combine some parts or different parts
Arrangement.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA1000 (Code
Division Multiple Access 1000, CDMA 1000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 102
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The voice data stored in reservoir 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 may be used also
With the specific function provided to terminal 100 is performed, related audio output is (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity transducer can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add
The size of speed, can detect that size and the direction of gravity when static, application (the such as horizontal/vertical screen available for identification mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the user with terminal 100
Set and the relevant key signals of function control are inputted.Specifically, user input unit 107 may include contact panel 1071 and
Other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing terminal of display panel 1061 and output function, not limit specifically herein
It is fixed.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with terminal 100.For example, outside
Device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless number
According to port, memory card port, for connecting the port of device with identification module, audio input/output (I/O) port, regarding
Frequency I/O ports, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal 100, utilizes each of various interfaces and the whole terminal 100 of connection
Part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in memory
Data in 109, perform the various functions and processing data of terminal 100, so as to carry out integral monitoring to terminal 100.Processor
110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modem processor,
Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Although Fig. 1 is not shown, terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
A kind of display methods is present embodiments provided, referring to Fig. 2, a kind of display methods that Fig. 2 provides for the present embodiment
Flow chart, the display methods is applied to terminal, referring to Fig. 3, a kind of signal for terminal screen composition that Fig. 3 provides for prior art
Figure, the terminal screen of prior art includes glass cover-plate 301, touch sensitive layer 302 and the display set gradually from top to bottom
Layer 303, glass cover-plate 301 is located at outermost layer;
And referring to the schematic diagram of Fig. 4, Fig. 4 a kind of terminal screen composition provided for the present embodiment, the screen bag of the terminal
Include the glass cover-plate 301 set gradually from top to bottom, touch sensitive layer 302, protective layer 304 and display layer 303, glass cover-plate
301 are located at outermost layer, the terminal of the present embodiment compared to prior art terminal touch sensitive layer 302 and display layer 303 it
Between increase by a protective layer 304;Wherein, display layer 303 further may include optical filter, backboard etc.;Protective layer 304 can also be face
Plate;
Referring to Fig. 5, a kind of schematic diagram for terminating circuit framework that Fig. 5 provides for the present embodiment, the memory 109 of terminal with
Processor 110 is connected, and processor 110 connects display circuit 305 and drive circuit 306 respectively, wherein, display circuit 305 is connected
Display layer 303, the connection protective layer 304 of drive circuit 306;Display layer 303 is accordingly schemed under the control of display circuit 305
The display of picture, and control the content of display;Protective layer 304 can also carry out respective image under the control of drive circuit 306
It has been shown that, and control the content of display;
The display methods comprises the following steps:
S201:Judge whether terminal needs to open privacy protection mode according to the first preset rules, if so, then entering
S202, if it is not, then entering S206;
Wherein, S201 judges whether terminal needs unlatching privacy protection mode to include according to the first preset rules:
In the case where the unlatching for receiving user is operated, then judge that terminal needs to open privacy protection mode, also
To open privacy protection mode by the manual shortcut of user;
Or, in the case where meeting the unlocking condition of user preset, then judge that terminal needs to open privacy protection mode,
Namely unlocking condition, such as period, place etc. are pre-set by user;
Or, in the case where the surrounding environment residing for terminal meets preparatory condition, then judge that terminal needs to open privacy
Protected mode;The number of terminal surrounding can be for example detected by camera, when the number of terminal surrounding is more than the first setting threshold
During value, then judge that terminal needs to open privacy protection mode;Or, ambient noise is gathered by microphone, when ambient noise is super
When crossing the second given threshold, then judge that terminal needs to open privacy protection mode;
Or, in the case where the privacy class of current operation application is more than given threshold, then judge that terminal needs unlatching
Privacy protection mode;Such as only in entering part application:When comparing the application of secret such as paying class, social class, short message,
Just judge that terminal needs this function of unlatching privacy protection mode, the function can also be automatically exited from after using completion.
S202:Obtain the direction of user's viewing terminal screen and the distance with screen;
When judging that terminal needs to open this function of privacy protection mode, then user can be detected by front camera
Sight and position, to calculate the distance of the user now direction of viewing terminal screen and user and screen.
S203:According to the direction of user's viewing terminal screen and the distance with screen, shielding figure on protective layer 304 is determined
The display properties parameter of picture, and masked images are shown on protective layer 304 according to display properties parameter;
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;Display properties parameter bag
Include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
Referring to Fig. 6, the schematic diagram that Fig. 6 shows for a kind of masked images that the present embodiment is provided, in Fig. 6, at terminal screen
In portrait layout state, masked images are multiple opaque vertical bars across screen;
According to the direction of user's viewing terminal screen and the distance with screen, it can adjust opaque on protective layer 304
Horizontal stripe or the quantity of vertical bar, width and adjacent horizontal stripe or vertical bar between spacing.Such as, the terminal of user is in portrait layout shape
State, user is located on the left of terminal, then the vertical bar on protective layer 304 shows corresponding deviation left side;User's head be it is inclined, then
Vertical bar is also inclined;The width of vertical bar can also be adjusted, general, user distance screen is nearer, and vertical bar width is smaller.
S204:, will according to the direction of the masked images of display and user's viewing terminal screen and the distance with screen
Display layer 303 is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion;
Referring to Fig. 7, the schematic diagram for a kind of display that Fig. 7 provides for the present embodiment, in Fig. 7, in the masked images of protective layer 304
In the presence of, user's sight is blocked, namely display layer 303 is divided into visibility region and invisible area, works as masked images
Including multiple horizontal stripes or during vertical bar, then, it is seen that region includes multiple visible subregions, invisible area includes multiple invisible sons
Region.
S205:According to the display properties parameter of visibility region, the former display content to display layer 303 carries out default processing,
And shown all the elements after processing in visibility region according to the second preset rules.
Wherein, S205 is according to the display properties parameter of visibility region, and the former display content to display layer 303 carries out default place
Reason, and all the elements after processing are included according to the second preset rules in visibility region progress display:
When terminal is in portrait layout state, when masked images are vertical bar, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 from left to right carries out dividing processing successively,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, from left to right carry out dividing processing successively, then should
Picture has been divided into two parts of area equation, and the left-hand component of picture is shown in visibility region and in current page, figure
The right-hand component of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Left-hand component, user needs click to check next pictures, can just show the right-hand component of picture;
When terminal is in portrait layout state, when masked images are horizontal stripe, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 carries out dividing processing successively from top to bottom,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, carry out dividing processing successively from top to bottom, then should
Picture has been divided into two parts of area equation, and the upper rim portion of picture is shown in visibility region and in current page, figure
The lower portion of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Upper rim portion, user needs click to check next pictures, can just show the lower portion of picture;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer 303 is reduced and cutting process, and all the elements after processing are completely shown in visibility region
Show;
For example, the former display content of display layer 303 is the picture of a full screen display, the size of the picture is 6, can
See that subregion there are 3, and the area of each visible subregion is 1, invisible subregion has 2, and an invisible subregion
Area be 1, the area of another invisible subregion is 2, then picture need to reduce one times, and each visible subregion need to accommodate original
Picture area is 2 content.
So, looked over from the visual angle of user, it is possible to see the complete image of splicing.And positioned at the people at other visual angles,
Corresponding image can not then be seen or parts of images is can only see.
Optionally, all the elements after by processing according to the second preset rules after visibility region is shown, should
Display methods also includes:
When detecting the direction of user's viewing terminal screen, and/or the distance of user and screen changes, then again
The display properties parameter of masked images on protective layer is determined, and according to the display properties parameter redefined on protective layer 304
Show masked images;
And the direction according to user's viewing terminal screen after the masked images and change shown again and and screen
Distance, display layer is divided into visibility region and invisible area again, and redefine the display properties ginseng of visibility region
Number;
And according to the display properties parameter of the visibility region redefined, the former display content to display layer 303 is carried out in advance
If processing, and all the elements after processing are shown according to the second preset rules in visibility region.
That is, when detecting the direction of user's viewing terminal screen, and/or the distance of user and screen changes,
The step of then repeating S202-S205.
In one embodiment, according to the difference of user present position, the screen of protective layer 304 can also further be adjusted
Cover the display picture of image and display layer 303 so that multiple users positioned at different positions can be seen in different displays
Hold.
S206:Terminate.
By the implementation of the present embodiment, a protective layer 304 is increased newly above terminal screen display layer 303, in protective layer
Masked images are shown on 304, according to the masked images and the sight of user, display layer 303 is divided into visibility region and not
Visibility region, and the display properties parameter of visibility region is determined, according to the display properties parameter of visibility region, to display layer 303
Former display content carry out default processing, and all the elements after processing are shown according to the second preset rules in visibility region
Show so that user can check privacy content, and the content is can't see at other visual angles, conveniently protect user's hidden
Private, is greatly improved the usage experience of user.
Second embodiment
The present embodiment provides a kind of terminal, referring to Fig. 8, a kind of schematic diagram for terminal that Fig. 8 provides for the present embodiment, referring to
A kind of schematic diagram for terminal screen composition that Fig. 3, Fig. 3 are provided for prior art, the terminal screen of prior art include on to
Under the glass cover-plate 301, touch sensitive layer 302 and the display layer 303 that set gradually, glass cover-plate 301 is located at outermost layer;
And referring to the schematic diagram of Fig. 4, Fig. 4 a kind of terminal screen composition provided for the present embodiment, the screen bag of the terminal
Include the glass cover-plate 301 set gradually from top to bottom, touch sensitive layer 302, protective layer 304 and display layer 303, glass cover-plate
301 are located at outermost layer, the terminal of the present embodiment compared to prior art terminal touch sensitive layer 302 and display layer 303 it
Between increase by a protective layer 304;Wherein, display layer 303 further may include optical filter, backboard etc.;Protective layer 304 can also be face
Plate;
Referring to Fig. 5, a kind of schematic diagram for terminating circuit framework that Fig. 5 provides for the present embodiment, the memory 109 of terminal with
Processor 110 is connected, and processor 110 connects display circuit 305 and drive circuit 306 respectively, wherein, display circuit 305 is connected
Display layer 303, the connection protective layer 304 of drive circuit 306;Display layer 303 is accordingly schemed under the control of display circuit 305
The display of picture, and control the content of display;Protective layer 304 can also carry out respective image under the control of drive circuit 306
It has been shown that, and control the content of display;
The terminal includes the memory 109 and processor 110 in Fig. 1;
Processor 110 is used to perform the display program stored in memory 109, to realize following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;
If terminal need not open privacy protection mode, terminate;
Wherein, judge whether terminal needs unlatching privacy protection mode to include according to the first preset rules:
In the case where the unlatching for receiving user is operated, then judge that terminal needs to open privacy protection mode, also
To open privacy protection mode by the manual shortcut of user;
Or, in the case where meeting the unlocking condition of user preset, then judge that terminal needs to open privacy protection mode,
Namely unlocking condition, such as period, place etc. are pre-set by user;
Or, in the case where the surrounding environment residing for terminal meets preparatory condition, then judge that terminal needs to open privacy
Protected mode;The number of terminal surrounding can be for example detected by camera, when the number of terminal surrounding is more than the first setting threshold
During value, then judge that terminal needs to open privacy protection mode;Or, ambient noise is gathered by microphone, when ambient noise is super
When crossing the second given threshold, then judge that terminal needs to open privacy protection mode;
Or, in the case where the privacy class of current operation application is more than given threshold, then judge that terminal needs unlatching
Privacy protection mode;Such as only in entering part application:When comparing the application of secret such as paying class, social class, short message,
Just judge that terminal needs this function of unlatching privacy protection mode, the function can also be automatically exited from after using completion.
If terminal need open privacy protection mode, obtain user's viewing terminal screen direction and with screen away from
From;
When judging that terminal needs to open this function of privacy protection mode, then user can be detected by front camera
Sight and position, to calculate the distance of the user now direction of viewing terminal screen and user and screen.
According to the direction of user's viewing terminal screen and the distance with screen, masked images on protective layer 304 are determined
Display properties parameter, and masked images are shown according to display properties parameter on the protection layer;
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;Display properties parameter bag
Include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
Referring to Fig. 6, the schematic diagram that Fig. 6 shows for a kind of masked images that the present embodiment is provided, in Fig. 6, at terminal screen
In portrait layout state, masked images are multiple opaque vertical bars across screen;
According to the direction of user's viewing terminal screen and the distance with screen, it can adjust opaque on protective layer 304
Horizontal stripe or the quantity of vertical bar, width and adjacent horizontal stripe or vertical bar between spacing.Such as, the terminal of user is in portrait layout shape
State, user is located on the left of terminal, then the vertical bar on protective layer 304 shows corresponding deviation left side;User's head be it is inclined, then
Vertical bar is also inclined;The width of vertical bar can also be adjusted, general, user distance screen is nearer, and vertical bar width is smaller.
According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen, it will show
Layer 303 is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion;
Referring to Fig. 7, the schematic diagram for a kind of display that Fig. 7 provides for the present embodiment, in Fig. 7, in protective layer masked images
Under effect, user's sight is blocked, namely display layer 303 is divided into visibility region and invisible area, when masked images bag
When including multiple horizontal stripes or vertical bar, then, it is seen that region includes multiple visible subregions, invisible area includes multiple invisible sub-districts
Domain.
According to the display properties parameter of visibility region, the former display content to display layer 303 carries out default processing, and will place
All the elements after reason are shown according to the second preset rules in visibility region.
Wherein, according to the display properties parameter of visibility region, the former display content to display layer 303 carries out default processing,
And include all the elements after processing in visibility region progress display according to the second preset rules:
When terminal is in portrait layout state, when masked images are vertical bar, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 from left to right carries out dividing processing successively,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, from left to right carry out dividing processing successively, then should
Picture has been divided into two parts of area equation, and the left-hand component of picture is shown in visibility region and in current page, figure
The right-hand component of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Left-hand component, user needs click to check next pictures, can just show the right-hand component of picture;
When terminal is in portrait layout state, when masked images are horizontal stripe, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 carries out dividing processing successively from top to bottom,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, carry out dividing processing successively from top to bottom, then should
Picture has been divided into two parts of area equation, and the upper rim portion of picture is shown in visibility region and in current page, figure
The lower portion of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Upper rim portion, user needs click to check next pictures, can just show the lower portion of picture;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer 303 is reduced and cutting process, and all the elements after processing are completely shown in visibility region
Show;
For example, the former display content of display layer 303 is the picture of a full screen display, the size of the picture is 6, can
See that subregion there are 3, and the area of each visible subregion is 1, invisible subregion has 2, and an invisible subregion
Area be 1, the area of another invisible subregion is 2, then picture need to reduce one times, and each visible subregion need to accommodate original
Picture area is 2 content.
So, looked over from the visual angle of user, it is possible to see the complete image of splicing.And positioned at the people at other visual angles,
Corresponding image can not then be seen or parts of images is can only see.
Optionally, all the elements after by processing according to the second preset rules after visibility region is shown, place
Reason device 110 is additionally operable to perform the display program stored in memory 109, to realize following steps:
When detecting the direction of user's viewing terminal screen, and/or the distance of user and screen changes, then again
The display properties parameter of masked images on protective layer is determined, and according to the display properties parameter redefined on protective layer 304
Show masked images;
And the direction according to user's viewing terminal screen after the masked images and change shown again and and screen
Distance, display layer 303 is divided into visibility region and invisible area again, and redefine the display properties of visibility region
Parameter;
And according to the display properties parameter of the visibility region redefined, the former display content to display layer 303 is carried out in advance
If processing, and all the elements after processing are shown according to the second preset rules in visibility region.
In one embodiment, according to the difference of user present position, the screen of protective layer 304 can also further be adjusted
Cover the display picture of image and display layer so that multiple users positioned at different positions can see different display contents.
By the implementation of the present embodiment, a protective layer 304 is increased newly above terminal screen display layer 303, in protective layer
Masked images are shown on 304, according to the masked images and the sight of user, display layer 303 is divided into visibility region and not
Visibility region, and the display properties parameter of visibility region is determined, according to the display properties parameter of visibility region, to display layer 303
Former display content carry out default processing, and all the elements after processing are shown according to the second preset rules in visibility region
Show so that user can check privacy content, and the content is can't see at other visual angles, conveniently protect user's hidden
Private, is greatly improved the usage experience of user.
3rd embodiment
The present embodiment provides a kind of computer-readable recording medium, and computer-readable recording medium storage has one or many
Individual program, one or more program can be by one or more computing device, to realize following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;If terminal need not open privacy
Protected mode, then terminate;
Referring to Fig. 3, a kind of schematic diagram for terminal screen composition that Fig. 3 provides for prior art, the end panel of prior art
Curtain includes glass cover-plate 301, touch sensitive layer 302 and the display layer 303 set gradually from top to bottom, glass cover-plate 301
In outermost layer;
And referring to the schematic diagram of Fig. 4, Fig. 4 a kind of terminal screen composition provided for the present embodiment, the screen bag of the terminal
Include the glass cover-plate 301 set gradually from top to bottom, touch sensitive layer 302, protective layer 304 and display layer 303, glass cover-plate
301 are located at outermost layer, the terminal of the present embodiment compared to prior art terminal touch sensitive layer 302 and display layer 303 it
Between increase by a protective layer 304;Wherein, display layer 303 further may include optical filter, backboard etc.;Protective layer 304 can also be face
Plate;
Referring to Fig. 5, a kind of schematic diagram for terminating circuit framework that Fig. 5 provides for the present embodiment, the memory 109 of terminal with
Processor 110 is connected, and processor 110 connects display circuit 305 and drive circuit 306 respectively, wherein, display circuit 305 is connected
Display layer 303, the connection protective layer 304 of drive circuit 306;Display layer 303 is accordingly schemed under the control of display circuit 305
The display of picture, and control the content of display;Protective layer 304 can also carry out respective image under the control of drive circuit 306
It has been shown that, and control the content of display;
Wherein, judge whether terminal needs unlatching privacy protection mode to include according to the first preset rules:
In the case where the unlatching for receiving user is operated, then judge that terminal needs to open privacy protection mode, also
To open privacy protection mode by the manual shortcut of user;
Or, in the case where meeting the unlocking condition of user preset, then judge that terminal needs to open privacy protection mode,
Namely unlocking condition, such as period, place etc. are pre-set by user;
Or, in the case where the surrounding environment residing for terminal meets preparatory condition, then judge that terminal needs to open privacy
Protected mode;The number of terminal surrounding can be for example detected by camera, when the number of terminal surrounding is more than the first setting threshold
During value, then judge that terminal needs to open privacy protection mode;Or, ambient noise is gathered by microphone, when ambient noise is super
When crossing the second given threshold, then judge that terminal needs to open privacy protection mode;
Or, in the case where the privacy class of current operation application is more than given threshold, then judge that terminal needs unlatching
Privacy protection mode;Such as only in entering part application:When comparing the application of secret such as paying class, social class, short message,
Just judge that terminal needs this function of unlatching privacy protection mode, the function can also be automatically exited from after using completion.
If terminal need open privacy protection mode, obtain user's viewing terminal screen direction and with screen away from
From;
When judging that terminal needs to open this function of privacy protection mode, then user can be detected by front camera
Sight and position, to calculate the distance of the user now direction of viewing terminal screen and user and screen.
According to the direction of user's viewing terminal screen and the distance with screen, masked images on protective layer 304 are determined
Display properties parameter, and masked images are shown according to display properties parameter on the protection layer;
Wherein, masked images include at least one opaque horizontal stripe or vertical bar across screen;Display properties parameter bag
Include the spacing between horizontal stripe or quantity, width and adjacent horizontal stripe or the vertical bar of vertical bar;
Referring to Fig. 6, the schematic diagram that Fig. 6 shows for a kind of masked images that the present embodiment is provided, in Fig. 6, at terminal screen
In portrait layout state, masked images are multiple opaque vertical bars across screen;
According to the direction of user's viewing terminal screen and the distance with screen, it can adjust opaque on protective layer 304
Horizontal stripe or the quantity of vertical bar, width and adjacent horizontal stripe or vertical bar between spacing.Such as, the terminal of user is in portrait layout shape
State, user is located on the left of terminal, then the vertical bar on protective layer 304 shows corresponding deviation left side;User's head be it is inclined, then
Vertical bar is also inclined;The width of vertical bar can also be adjusted, general, user distance screen is nearer, and vertical bar width is smaller.
According to the direction of the masked images of display and user's viewing terminal screen and the distance with screen, it will show
Layer 303 is divided into visibility region and invisible area, and determines the display properties parameter of visibility region;
The display properties parameter of visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and adjacent visible subregion;
Referring to Fig. 7, the schematic diagram for a kind of display that Fig. 7 provides for the present embodiment, in Fig. 7, in the masked images of protective layer 304
In the presence of, user's sight is blocked, namely display layer 303 is divided into visibility region and invisible area, works as masked images
Including multiple horizontal stripes or during vertical bar, then, it is seen that region includes multiple visible subregions, invisible area includes multiple invisible sons
Region.
According to the display properties parameter of visibility region, the former display content to display layer 303 carries out default processing, and will place
All the elements after reason are shown according to the second preset rules in visibility region.
Wherein, according to the display properties parameter of visibility region, the former display content to display layer 303 carries out default processing,
And include all the elements after processing in visibility region progress display according to the second preset rules:
When terminal is in portrait layout state, when masked images are vertical bar, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 from left to right carries out dividing processing successively,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, from left to right carry out dividing processing successively, then should
Picture has been divided into two parts of area equation, and the left-hand component of picture is shown in visibility region and in current page, figure
The right-hand component of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Left-hand component, user needs click to check next pictures, can just show the right-hand component of picture;
When terminal is in portrait layout state, when masked images are horizontal stripe, then according to the quantity of each visible subregion, width
And the spacing between adjacent visible subregion, the former display content to display layer 303 carries out dividing processing successively from top to bottom,
And all the elements after processing are subjected to Pagination Display according to segmentation order in visibility region;
For example, the former display content of display layer 303 is the picture of a full screen display, it is seen that region and invisible area
Area equation, then by the picture according to corresponding visible subregion size, carry out dividing processing successively from top to bottom, then should
Picture has been divided into two parts of area equation, and the upper rim portion of picture is shown in visibility region and in current page, figure
The lower portion of piece is shown in visibility region and in next page;Also that is, picture is shown in current page
Upper rim portion, user needs click to check next pictures, can just show the lower portion of picture;
Or, according to the spacing between the quantity of each visible subregion, width and adjacent visible subregion, to display
The former display content of layer 303 is reduced and cutting process, and all the elements after processing are completely shown in visibility region
Show;
For example, the former display content of display layer 303 is the picture of a full screen display, the size of the picture is 6, can
See that subregion there are 3, and the area of each visible subregion is 1, invisible subregion has 2, and an invisible subregion
Area be 1, the area of another invisible subregion is 2, then picture need to reduce one times, and each visible subregion need to accommodate original
Picture area is 2 content.
So, looked over from the visual angle of user, it is possible to see the complete image of splicing.And positioned at the people at other visual angles,
Corresponding image can not then be seen or parts of images is can only see.
Optionally, all the elements after by processing according to the second preset rules after visibility region is shown, one
Individual or multiple programs can also be by one or more computing device, to realize following steps:
When detecting the direction of user's viewing terminal screen, and/or the distance of user and screen changes, then again
The display properties parameter of masked images on protective layer 304 is determined, and according to the display properties parameter redefined in protective layer 304
Upper display masked images;
And the direction according to user's viewing terminal screen after the masked images and change shown again and and screen
Distance, display layer is divided into visibility region and invisible area again, and redefine the display properties ginseng of visibility region
Number;
And according to the display properties parameter of the visibility region redefined, the former display content to display layer 303 is carried out in advance
If processing, and all the elements after processing are shown according to the second preset rules in visibility region.
In one embodiment, according to the difference of user present position, the screen of protective layer 304 can also further be adjusted
Cover the display picture of image and display layer so that multiple users positioned at different positions can see different display contents.
By the implementation of the present embodiment, a protective layer is increased newly above terminal screen display layer 303, in protective layer 304
Upper display masked images, according to the masked images and the sight of user, visibility region is divided into and invisible by display layer 303
Region, and the display properties parameter of visibility region is determined, according to the display properties parameter of visibility region, to the original of display layer 303
Display content carries out default processing, and all the elements after processing are shown according to the second preset rules in visibility region,
Allow users to check privacy content, and the content is can't see at other visual angles, conveniently protects the privacy of user, pole
The big usage experience for improving user.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of display methods, it is characterised in that applied to terminal, the screen of the terminal includes what is set gradually from top to bottom
Glass cover-plate, touch sensitive layer, protective layer and display layer, the glass cover-plate are located at outermost layer, and the display methods includes
Following steps:
Judge whether the terminal needs to open privacy protection mode according to the first preset rules;
If so, then obtaining the direction of user's viewing terminal screen and the distance with the screen;
According to the direction of user's viewing terminal screen and the distance with the screen, shielding figure on the protective layer is determined
The display properties parameter of picture, and masked images are shown on the protective layer according to the display properties parameter;
According to the direction of the masked images of display and user's viewing terminal screen and with the screen away from
From the display layer being divided into visibility region and invisible area, and determine the display properties parameter of the visibility region;
According to the display properties parameter of the visibility region, the former display content to the display layer carries out default processing, and will
All the elements after processing are shown according to the second preset rules in the visibility region.
2. display methods as claimed in claim 1, it is characterised in that the masked images include at least one opaque horizontal stroke
Across the horizontal stripe or vertical bar of screen;The display properties parameter of the masked images include the quantity of the horizontal stripe or vertical bar, width with
And the spacing between the adjacent horizontal stripe or vertical bar;
The display properties parameter of the visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and the adjacent visible subregion.
3. display methods as claimed in claim 2, it is characterised in that described to be joined according to the display properties of the visibility region
Number, the former display content to the display layer carries out default processing, and by all the elements after processing according to the second preset rules
Carrying out display in the visibility region includes:
When the masked images are vertical bar, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer from left to right carries out dividing processing successively, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
When the masked images are horizontal stripe, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer carries out dividing processing successively from top to bottom, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and the adjacent visible subregion, to described
The former display content of display layer is reduced and cutting process, and all the elements after processing have been carried out in the visibility region
Whole display.
4. the display methods as described in any one of claims 1 to 3, it is characterised in that in described all the elements by after processing
According to the second preset rules after the visibility region is shown, the display methods also includes:
When the direction, and/or user for detecting user's viewing terminal screen and the distance of the screen change, then again
The display properties parameter of masked images on the protective layer is determined, and according to the display properties parameter redefined in the protection
Masked images are shown on layer;
And direction according to user's viewing terminal screen after the masked images that show again and change and with it is described
The distance of screen, is divided into visibility region and invisible area, and redefine the visibility region by the display layer again
Display properties parameter;
And according to the display properties parameter of the visibility region redefined, the former display content to the display layer is carried out in advance
If processing, and all the elements after processing are shown according to the second preset rules in the visibility region.
5. the display methods as described in any one of claims 1 to 3, it is characterised in that described to be judged according to the first preset rules
Whether the terminal needs unlatching privacy protection mode to include:
In the case where receiving the unlatching operation of user, in the case where meeting the unlocking condition of user preset, at the end
It is more than given threshold in the case that the residing surrounding environment in end meets preparatory condition or in the privacy class of current operation application
In the case of, then judge that the terminal needs to open privacy protection mode.
6. a kind of terminal, it is characterised in that the screen of the terminal includes glass cover-plate, the touch sense set gradually from top to bottom
Layer, protective layer and display layer are answered, the glass cover-plate is located at outermost layer, and the terminal includes memory and processor;
The processor is used to perform the display program stored in memory, to realize following steps:
Judge whether the terminal needs to open privacy protection mode according to the first preset rules;
If so, then obtaining the direction of user's viewing terminal screen and the distance with the screen;
According to the direction of user's viewing terminal screen and the distance with the screen, shielding figure on the protective layer is determined
The display properties parameter of picture, and masked images are shown on the protective layer according to the display properties parameter;
According to the direction of the masked images of display and user's viewing terminal screen and with the screen away from
From the display layer being divided into visibility region and invisible area, and determine the display properties parameter of the visibility region;
According to the display properties parameter of the visibility region, the former display content to the display layer carries out default processing, and will
All the elements after processing are shown according to the second preset rules in the visibility region.
7. terminal as claimed in claim 6, it is characterised in that it is opaque across screen that the masked images include at least one
The horizontal stripe or vertical bar of curtain;The display properties parameter includes quantity, width and the adjacent horizontal stripe of the horizontal stripe or vertical bar
Or the spacing between vertical bar;
The display properties parameter of the visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and the adjacent visible subregion.
8. terminal as claimed in claim 7, it is characterised in that the display properties parameter according to the visibility region, right
The former display content of the display layer carries out default processing, and by all the elements after processing according to the second preset rules described
Visibility region, which carries out display, to be included:
When the masked images are vertical bar, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer from left to right carries out dividing processing successively, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
When the masked images are horizontal stripe, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer carries out dividing processing successively from top to bottom, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and the adjacent visible subregion, to described
The former display content of display layer is reduced and cutting process, and all the elements after processing have been carried out in the visibility region
Whole display.
9. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
Judge whether terminal needs to open privacy protection mode according to the first preset rules;The screen of the terminal include on to
Under the glass cover-plate, touch sensitive layer, protective layer and the display layer that set gradually, the glass cover-plate is located at outermost layer;
If so, then obtaining the direction of user's viewing terminal screen and the distance with the screen;
According to the direction of user's viewing terminal screen and the distance with the screen, shielding figure on the protective layer is determined
The display properties parameter of picture, and masked images are shown on the protective layer according to the display properties parameter;
According to the direction of the masked images of display and user's viewing terminal screen and with the screen away from
From the display layer being divided into visibility region and invisible area, and determine the display properties parameter of the visibility region;
According to the display properties parameter of the visibility region, the former display content to the display layer carries out default processing, and will
All the elements after processing are shown according to the second preset rules in the visibility region.
10. computer-readable recording medium as claimed in claim 9, it is characterised in that the masked images include at least one
Individual opaque horizontal stripe or vertical bar across screen;The display properties parameter includes quantity, the width of the horizontal stripe or vertical bar
And the spacing between the adjacent horizontal stripe or vertical bar;
The display properties parameter of the visibility region includes the quantity for the visible subregion being divided into by each horizontal stripe or vertical bar, width
Spacing between degree and the adjacent visible subregion;
The display properties parameter according to the visibility region, the former display content to the display layer carries out default processing,
And include all the elements after processing in visibility region progress display according to the second preset rules:
When the masked images are vertical bar, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer from left to right carries out dividing processing successively, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
When the masked images are horizontal stripe, then according to the quantity of each visible subregion, width and the adjacent visible son
Spacing between region, the former display content to the display layer carries out dividing processing successively from top to bottom, and by after processing
All the elements carry out Pagination Display according to segmentation order in the visibility region;
Or, according to the spacing between the quantity of each visible subregion, width and the adjacent visible subregion, to described
The former display content of display layer is reduced and cutting process, and all the elements after processing have been carried out in the visibility region
Whole display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710381170.2A CN107330347B (en) | 2017-05-25 | 2017-05-25 | Display method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710381170.2A CN107330347B (en) | 2017-05-25 | 2017-05-25 | Display method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107330347A true CN107330347A (en) | 2017-11-07 |
CN107330347B CN107330347B (en) | 2020-06-16 |
Family
ID=60193764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710381170.2A Active CN107330347B (en) | 2017-05-25 | 2017-05-25 | Display method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107330347B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322596A (en) * | 2017-12-26 | 2018-07-24 | 努比亚技术有限公司 | A kind of display control method, terminal and computer readable storage medium |
CN109165535A (en) * | 2018-09-04 | 2019-01-08 | 北京小米移动软件有限公司 | screen protection method, device and storage medium |
CN111046448A (en) * | 2019-12-16 | 2020-04-21 | 联想(北京)有限公司 | Information processing method and electronic device |
CN111274618A (en) * | 2020-01-13 | 2020-06-12 | Oppo广东移动通信有限公司 | Display control method and related product |
CN111273881A (en) * | 2020-01-15 | 2020-06-12 | Oppo广东移动通信有限公司 | Display control method and related product |
WO2021022404A1 (en) * | 2019-08-02 | 2021-02-11 | 北京小米移动软件有限公司南京分公司 | Terminal device |
CN113515225A (en) * | 2020-04-10 | 2021-10-19 | Oppo广东移动通信有限公司 | Display control method, device and storage medium |
CN114691257A (en) * | 2020-12-30 | 2022-07-01 | 中兴通讯股份有限公司 | Screen display method, terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211032A (en) * | 2006-12-29 | 2008-07-02 | 群康科技(深圳)有限公司 | LCD device and its display method |
JP2010128778A (en) * | 2008-11-27 | 2010-06-10 | Sony Ericsson Mobilecommunications Japan Inc | Information display device, peep prevention method for the information display device and peep prevention program |
CN102201182A (en) * | 2010-03-23 | 2011-09-28 | 宏碁股份有限公司 | Shelter device and display system |
KR20120054750A (en) * | 2010-11-22 | 2012-05-31 | 삼성전자주식회사 | Method and apparatus for selective display |
CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method of graphical user interface, and mobile terminal |
-
2017
- 2017-05-25 CN CN201710381170.2A patent/CN107330347B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211032A (en) * | 2006-12-29 | 2008-07-02 | 群康科技(深圳)有限公司 | LCD device and its display method |
JP2010128778A (en) * | 2008-11-27 | 2010-06-10 | Sony Ericsson Mobilecommunications Japan Inc | Information display device, peep prevention method for the information display device and peep prevention program |
CN102201182A (en) * | 2010-03-23 | 2011-09-28 | 宏碁股份有限公司 | Shelter device and display system |
KR20120054750A (en) * | 2010-11-22 | 2012-05-31 | 삼성전자주식회사 | Method and apparatus for selective display |
CN105808040A (en) * | 2014-12-30 | 2016-07-27 | 华为终端(东莞)有限公司 | Display method of graphical user interface, and mobile terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322596A (en) * | 2017-12-26 | 2018-07-24 | 努比亚技术有限公司 | A kind of display control method, terminal and computer readable storage medium |
CN109165535A (en) * | 2018-09-04 | 2019-01-08 | 北京小米移动软件有限公司 | screen protection method, device and storage medium |
WO2021022404A1 (en) * | 2019-08-02 | 2021-02-11 | 北京小米移动软件有限公司南京分公司 | Terminal device |
CN111046448A (en) * | 2019-12-16 | 2020-04-21 | 联想(北京)有限公司 | Information processing method and electronic device |
CN111274618A (en) * | 2020-01-13 | 2020-06-12 | Oppo广东移动通信有限公司 | Display control method and related product |
CN111274618B (en) * | 2020-01-13 | 2022-10-21 | Oppo广东移动通信有限公司 | Display control method and related product |
CN111273881A (en) * | 2020-01-15 | 2020-06-12 | Oppo广东移动通信有限公司 | Display control method and related product |
CN111273881B (en) * | 2020-01-15 | 2023-08-08 | Oppo广东移动通信有限公司 | Display control method and related product |
CN113515225A (en) * | 2020-04-10 | 2021-10-19 | Oppo广东移动通信有限公司 | Display control method, device and storage medium |
CN114691257A (en) * | 2020-12-30 | 2022-07-01 | 中兴通讯股份有限公司 | Screen display method, terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107330347B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107330347A (en) | A kind of display methods, terminal and computer-readable recording medium | |
CN108196741A (en) | Application split screen method, terminal and computer readable storage medium based on flexible screen | |
CN107145293A (en) | A kind of screenshot method, mobile terminal and storage medium | |
CN108227833A (en) | Control method, terminal and the computer readable storage medium of flexible screen terminal | |
CN107665697A (en) | The adjusting method and mobile terminal of a kind of screen intensity | |
CN107729298A (en) | Screen occlusion area processing method, mobile terminal and computer-readable recording medium | |
CN108073343A (en) | A kind of display interface method of adjustment and mobile terminal | |
CN107831891A (en) | A kind of brightness adjusting method and mobile terminal | |
CN109901809A (en) | A kind of display control method, equipment and computer readable storage medium | |
CN109391853A (en) | Barrage display methods, device, mobile terminal and readable storage medium storing program for executing | |
CN107844232A (en) | A kind of screen operator control method and mobile terminal, computer-readable recording medium | |
CN108664203A (en) | Control method, equipment and the computer storage media of wearable device | |
CN107580350A (en) | A kind of signal intensity switching method, equipment and computer-readable recording medium | |
CN107730460A (en) | A kind of image processing method and mobile terminal | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN109471571A (en) | Display methods, mobile terminal and the computer readable storage medium of suspension control | |
CN108196776A (en) | A kind of terminal split screen method, terminal and computer readable storage medium | |
CN108449513A (en) | A kind of interaction regulation and control method, equipment and computer readable storage medium | |
CN109799912A (en) | A kind of display control method, equipment and computer readable storage medium | |
CN107450796A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107153500A (en) | It is a kind of to realize the method and apparatus that image is shown | |
CN109543474A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN107729104A (en) | A kind of display methods, mobile terminal and computer-readable storage medium | |
CN107566608A (en) | A kind of system air navigation aid, equipment and computer-readable recording medium | |
CN109995391A (en) | A kind of image display method, intelligently wearing terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |