CN107330347B - Display method, terminal and computer readable storage medium - Google Patents

Display method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107330347B
CN107330347B CN201710381170.2A CN201710381170A CN107330347B CN 107330347 B CN107330347 B CN 107330347B CN 201710381170 A CN201710381170 A CN 201710381170A CN 107330347 B CN107330347 B CN 107330347B
Authority
CN
China
Prior art keywords
display
visible
screen
terminal
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710381170.2A
Other languages
Chinese (zh)
Other versions
CN107330347A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710381170.2A priority Critical patent/CN107330347B/en
Publication of CN107330347A publication Critical patent/CN107330347A/en
Application granted granted Critical
Publication of CN107330347B publication Critical patent/CN107330347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital 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 invention discloses a display method, a terminal and a computer readable storage medium, wherein the method is applied to the terminal, a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, the glass cover plate is positioned on the outermost layer, and the display method comprises the following steps: when the terminal needs to start a privacy protection mode, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen, determining display attribute parameters, and displaying a shielding image on the protective layer according to the parameters; according to the displayed shielding image, the direction of a user watching the terminal screen and the distance between the user watching the terminal screen and the screen, a display layer is divided into a visible area and an invisible area, display attribute parameters of the visible area are determined, the original display content of the display layer is subjected to preset processing according to the parameters, all the processed content is displayed in the visible area according to a second preset rule, the user can check the privacy content, other visual angles cannot see the content, and the privacy of the user is protected.

Description

Display method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a display method, a terminal, and a computer-readable storage medium.
Background
At present, mobile terminals are used increasingly frequently, and people often need to check the mobile terminals in various occasions. When a user is in a crowd, if the user uses the mobile terminal, the screen content of the mobile terminal of the user may be seen by other people, the privacy of the user cannot be protected, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a display method, a terminal and a computer readable storage medium, and aims to solve the problem that in the prior art, when a user uses a terminal, the privacy of the user cannot be protected.
In order to solve the technical problem, the invention provides a display method, which is applied to a terminal, wherein a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, the glass cover plate is positioned on the outermost layer, and the display method comprises the following steps:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule;
if so, acquiring the direction of the user watching the terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of the shielding image on the protective layer according to the direction of a user watching the terminal screen and the distance between the user watching the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing a display layer into a visible region and an invisible region according to the displayed shielding image, the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen, and determining display attribute parameters of the visible region;
and according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule.
Wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters of the shielding image comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region include the number, width, and spacing between adjacent visible sub-regions divided by the respective horizontal or vertical bars.
The method comprises the following steps of presetting original display contents of a display layer according to display attribute parameters of a visible region, and displaying all the processed contents in the visible region according to a second preset rule, wherein the preset processing comprises the following steps:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation sequence;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
After all the processed contents are displayed in the visible area according to a second preset rule, the display method further comprises the following steps:
when the direction of a user watching the terminal screen and/or the distance between the user and the screen are/is detected to be changed, the display attribute parameters of the shielding image on the protective layer are determined again, and the shielding image is displayed on the protective layer according to the determined display attribute parameters;
dividing the display layer into a visible area and an invisible area again according to the redisplayed shielding image, the changed direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and redetermining the display attribute parameters of the visible area;
and according to the re-determined display attribute parameters of the visible region, performing preset processing on the original display content of the display layer, and displaying all the processed contents in the visible region according to a second preset rule.
Wherein, judging whether the terminal needs to open the privacy protection mode according to a first preset rule comprises:
the method comprises the steps of judging that the terminal needs to start a privacy protection mode under the condition that a starting operation of a user is received, under the condition that a starting condition preset by the user is met, under the condition that the surrounding environment where the terminal is located meets a preset condition, or under the condition that the privacy level of a currently running application is larger than a set threshold value.
Furthermore, the invention provides a terminal, wherein a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, the glass cover plate is positioned on the outermost layer, and the terminal comprises a memory and a processor;
the processor is used for executing the display program stored in the memory to realize the following steps:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule;
if so, acquiring the direction of the user watching the terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of the shielding image on the protective layer according to the direction of a user watching the terminal screen and the distance between the user watching the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing a display layer into a visible region and an invisible region according to the displayed shielding image, the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen, and determining display attribute parameters of the visible region;
and according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule.
Wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region include the number, width, and spacing between adjacent visible sub-regions divided by the respective horizontal or vertical bars.
The method comprises the following steps of presetting original display contents of a display layer according to display attribute parameters of a visible region, and displaying all the processed contents in the visible region according to a second preset rule, wherein the preset processing comprises the following steps:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation sequence;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
Further, the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule; the screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, wherein the glass cover plate is positioned on the outermost layer;
if so, acquiring the direction of the user watching the terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of the shielding image on the protective layer according to the direction of a user watching the terminal screen and the distance between the user watching the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing a display layer into a visible region and an invisible region according to the displayed shielding image, the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen, and determining display attribute parameters of the visible region;
and according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule.
Wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
the method comprises the following steps of presetting original display contents of a display layer according to display attribute parameters of a visible area, and displaying all the processed contents in the visible area according to a second preset rule, wherein the preset processing comprises the following steps:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation sequence;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
Advantageous effects
The invention provides a display method, a terminal and a computer readable storage medium, wherein the display method is applied to the terminal, a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, the glass cover plate is positioned on the outermost layer, and the display method comprises the following steps: judging whether the terminal needs to start a privacy protection mode according to a first preset rule; if so, acquiring the direction of the user watching the terminal screen and the distance between the user watching the terminal screen and the screen; determining display attribute parameters of the shielding image on the protective layer according to the direction of a user watching the terminal screen and the distance between the user watching the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters; dividing a display layer into a visible region and an invisible region according to the displayed shielding image, the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen, and determining display attribute parameters of the visible region; according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule; adopt above-mentioned scheme, set up a protective layer on terminal screen display layer, show the mask image on the protective layer, according to this mask image and user's sight, divide the display layer into visible region and invisible region, and confirm the display attribute parameter in visible region, according to the display attribute parameter in visible region, the original display content to the display layer is predetermine the processing, and all contents after will handling are predetermine the rule according to the second and are shown in visible region, make the user can look over the privacy content, and other visual angles can not see this content, very convenient protection user's privacy, very big promotion user's use experience.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional terminal for implementing various embodiments of the present invention;
FIG. 2 is a flowchart of a display method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal screen composition provided by the prior art;
fig. 4 is a schematic diagram of a terminal screen composition according to various embodiments of the present invention;
fig. 5 is a schematic diagram of a terminal circuit architecture according to various embodiments of the present invention;
FIG. 6 is a schematic diagram of a mask image display according to various embodiments of the present invention;
FIG. 7 is a schematic diagram of a display provided by various embodiments of the present invention;
fig. 8 is a schematic diagram of a terminal according to a second embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
It will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an optional terminal for implementing various embodiments of the present invention, the terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and the like. Those skilled in the art will appreciate that the terminal configuration shown in fig. 1 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes the various components of the terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA1000(Code Division Multiple Access 1000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal 100. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal 100, connects various parts of the entire terminal 100 using various interfaces and lines, performs various functions of the terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal 100. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the above terminal hardware structure, the present invention is described in detail below by specific embodiments.
First embodiment
Referring to fig. 2, fig. 2 is a flowchart of a display method provided in this embodiment, the display method is applied to a terminal, referring to fig. 3, fig. 3 is a schematic diagram of a terminal screen provided in the prior art, the terminal screen in the prior art includes a glass cover plate 301, a touch sensing layer 302 and a display layer 303, which are sequentially arranged from top to bottom, and the glass cover plate 301 is located at the outermost layer;
referring to fig. 4, fig. 4 is a schematic diagram of a terminal screen composition provided in this embodiment, the terminal screen includes a glass cover 301, a touch sensing layer 302, a protection layer 304, and a display layer 303 sequentially arranged from top to bottom, the glass cover 301 is located at an outermost layer, and compared with a terminal in the prior art, the terminal in this embodiment adds a protection layer 304 between the touch sensing layer 302 and the display layer 303; the display layer 303 may further include a filter, a back plate, and the like; the protective layer 304 may also be a panel;
referring to fig. 5, fig. 5 is a schematic diagram of a circuit architecture of a terminal according to this embodiment, a memory 109 of the terminal is connected to a processor 110, the processor 110 is respectively connected to a display circuit 305 and a driving circuit 306, wherein the display circuit 305 is connected to a display layer 303, and the driving circuit 306 is connected to a protection layer 304; the display layer 303 performs display of a corresponding image and controls the displayed content under the control of the display circuit 305; the protective layer 304 can also display corresponding images and control the displayed content under the control of the driving circuit 306;
the display method comprises the following steps:
s201: judging whether the terminal needs to start a privacy protection mode according to a first preset rule, if so, entering S202, and if not, entering S206;
wherein, the step S201 of determining whether the terminal needs to start the privacy protection mode according to the first preset rule includes:
under the condition that the opening operation of the user is received, the terminal is judged to need to open the privacy protection mode, namely the privacy protection mode can be opened by a user manual shortcut key;
or, under the condition that the preset starting condition of the user is met, judging that the terminal needs to start the privacy protection mode, that is, the user presets the starting condition, such as time period, place and the like;
or, under the condition that the surrounding environment of the terminal meets the preset condition, judging that the terminal needs to start the privacy protection mode; for example, the number of people around the terminal can be detected through a camera, and when the number of people around the terminal exceeds a first set threshold, it is determined that the terminal needs to start a privacy protection mode; or, collecting background noise through a microphone, and judging that the terminal needs to start a privacy protection mode when the background noise exceeds a second set threshold;
or, under the condition that the privacy level of the current running application is greater than a set threshold, judging that the terminal needs to start a privacy protection mode; such as only in the entry portion: for example, when a payment application, a social application, a short message application and other relatively private applications are used, the function that the terminal needs to start the privacy protection mode is judged, and the function can be automatically quitted after the terminal is used.
S202: acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
when the function that the terminal needs to start the privacy protection mode is judged, the sight line and the position of the user can be detected through the front-facing camera, so that the direction of the user watching the terminal screen and the distance between the user and the screen can be calculated.
S203: determining display attribute parameters of the shielding image on the protective layer 304 according to the direction of a user viewing the terminal screen and the distance between the user and the screen, and displaying the shielding image on the protective layer 304 according to the display attribute parameters;
wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
referring to fig. 6, fig. 6 is a schematic diagram of a display of a shielding image according to this embodiment, in fig. 6, a terminal screen is in a vertical screen state, and the shielding image is a plurality of opaque vertical bars crossing the screen;
the number, width, and spacing between adjacent bars or columns on the protective layer 304 may be adjusted depending on the direction in which the user views the terminal screen and the distance from the screen. For example, if the terminal of the user is in a vertical screen state and the user is located on the left side of the terminal, the vertical bar on the protection layer 304 displays a corresponding deviation to the left side; the head of the user is inclined, and then the vertical bar is also inclined; the width of the vertical bar can also be adjusted, and generally, the closer the user is to the screen, the smaller the width of the vertical bar is.
S204: dividing the display layer 303 into a visible region and an invisible region according to the displayed mask image, the direction of the user viewing the terminal screen and the distance from the screen, and determining the display attribute parameters of the visible region;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
referring to fig. 7, fig. 7 is a schematic diagram of a display provided by this embodiment, in fig. 7, under the effect of the protective layer 304 shielding an image, a user's sight is blocked, that is, the display layer 303 is divided into a visible region and an invisible region, when the shielding image includes a plurality of horizontal bars or vertical bars, the visible region includes a plurality of visible sub-regions, and the invisible region includes a plurality of invisible sub-regions.
S205: and according to the display attribute parameters of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
Wherein, in step S205, performing preset processing on the original display content of the display layer 303 according to the display attribute parameter of the visible region, and displaying all the processed contents in the visible region according to a second preset rule includes:
when the terminal is in a vertical screen state, when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer 303 from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from left to right according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the left part of the picture is displayed in the visible area and on the current page, and the right part of the picture is displayed in the visible area and on the next page; that is, the current page displays the left part of the picture, and the user needs to click to view the next picture to display the right part of the picture;
when the terminal is in a vertical screen state, when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer 303 from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from top to bottom according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the upper part of the picture is displayed in the visible area and on the current page, and the lower part of the picture is displayed in the visible area and on the next page; that is, the current page displays the upper part of the picture, and the user needs to click to view the next picture to display the lower part of the picture;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, the original display content of the display layer 303 is reduced and cut, and all the processed content is completely displayed in the visible areas;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the area of the picture is 6, there are 3 visible sub-regions, the area of each visible sub-region is 1, there are 2 invisible sub-regions, the area of one invisible sub-region is 1, and the area of the other invisible sub-region is 2, then the picture needs to be reduced by one time, and each visible sub-region needs to accommodate the content of the original picture with the area of 2.
In this way, from the user's perspective, the stitched complete image can be seen. And people at other visual angles cannot see the corresponding images or only can see partial images.
Optionally, after displaying all the processed contents in the visible area according to a second preset rule, the display method further includes:
when detecting that the direction of the user watching the terminal screen and/or the distance between the user and the screen are changed, re-determining the display attribute parameters of the shielding image on the protective layer, and displaying the shielding image on the protective layer 304 according to the re-determined display attribute parameters;
dividing the display layer into a visible area and an invisible area again according to the redisplayed shielding image, the changed direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and redetermining the display attribute parameters of the visible area;
and according to the re-determined display attribute parameter of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
That is, when it is detected that the direction in which the user views the screen of the terminal and/or the distance from the user to the screen is changed, the steps of S202-S205 are repeatedly performed.
In one embodiment, the mask image of the protection layer 304 and the display screen of the display layer 303 may be further adjusted according to the position of the user, so that a plurality of users at different positions can see different display contents.
S206: and (6) ending.
Through the implementation of the embodiment, a protection layer 304 is newly added on the terminal screen display layer 303, a shielding image is displayed on the protection layer 304, according to the shielding image and the sight of the user, the display layer 303 is divided into a visible region and an invisible region, the display attribute parameters of the visible region are determined, according to the display attribute parameters of the visible region, the original display content of the display layer 303 is subjected to preset processing, all the processed content is displayed in the visible region according to a second preset rule, the user can check the private content, and the content cannot be seen from other visual angles, the privacy of the user is protected very conveniently, and the use experience of the user is greatly improved.
Second embodiment
The present embodiment provides a terminal, referring to fig. 8, fig. 8 is a schematic diagram of a terminal provided in the present embodiment, referring to fig. 3, fig. 3 is a schematic diagram of a terminal screen provided in the prior art, the terminal screen in the prior art includes a glass cover plate 301, a touch sensing layer 302 and a display layer 303, which are sequentially arranged from top to bottom, and the glass cover plate 301 is located at the outermost layer;
referring to fig. 4, fig. 4 is a schematic diagram of a terminal screen composition provided in this embodiment, the terminal screen includes a glass cover 301, a touch sensing layer 302, a protection layer 304, and a display layer 303 sequentially arranged from top to bottom, the glass cover 301 is located at an outermost layer, and compared with a terminal in the prior art, the terminal in this embodiment adds a protection layer 304 between the touch sensing layer 302 and the display layer 303; the display layer 303 may further include a filter, a back plate, and the like; the protective layer 304 may also be a panel;
referring to fig. 5, fig. 5 is a schematic diagram of a circuit architecture of a terminal according to this embodiment, a memory 109 of the terminal is connected to a processor 110, the processor 110 is respectively connected to a display circuit 305 and a driving circuit 306, wherein the display circuit 305 is connected to a display layer 303, and the driving circuit 306 is connected to a protection layer 304; the display layer 303 performs display of a corresponding image and controls the displayed content under the control of the display circuit 305; the protective layer 304 can also display corresponding images and control the displayed content under the control of the driving circuit 306;
the terminal includes the memory 109 and the processor 110 of fig. 1;
the processor 110 is configured to execute the display program stored in the memory 109 to implement the following steps:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule;
if the terminal does not need to start the privacy protection mode, ending the process;
wherein, judging whether the terminal needs to open the privacy protection mode according to a first preset rule comprises:
under the condition that the opening operation of the user is received, the terminal is judged to need to open the privacy protection mode, namely the privacy protection mode can be opened by a user manual shortcut key;
or, under the condition that the preset starting condition of the user is met, judging that the terminal needs to start the privacy protection mode, that is, the user presets the starting condition, such as time period, place and the like;
or, under the condition that the surrounding environment of the terminal meets the preset condition, judging that the terminal needs to start the privacy protection mode; for example, the number of people around the terminal can be detected through a camera, and when the number of people around the terminal exceeds a first set threshold, it is determined that the terminal needs to start a privacy protection mode; or, collecting background noise through a microphone, and judging that the terminal needs to start a privacy protection mode when the background noise exceeds a second set threshold;
or, under the condition that the privacy level of the current running application is greater than a set threshold, judging that the terminal needs to start a privacy protection mode; such as only in the entry portion: for example, when a payment application, a social application, a short message application and other relatively private applications are used, the function that the terminal needs to start the privacy protection mode is judged, and the function can be automatically quitted after the terminal is used.
If the terminal needs to start the privacy protection mode, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
when the function that the terminal needs to start the privacy protection mode is judged, the sight line and the position of the user can be detected through the front-facing camera, so that the direction of the user watching the terminal screen and the distance between the user and the screen can be calculated.
Determining display attribute parameters of the shielding image on the protective layer 304 according to the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
referring to fig. 6, fig. 6 is a schematic diagram of a display of a shielding image according to this embodiment, in fig. 6, a terminal screen is in a vertical screen state, and the shielding image is a plurality of opaque vertical bars crossing the screen;
the number, width, and spacing between adjacent bars or columns on the protective layer 304 may be adjusted depending on the direction in which the user views the terminal screen and the distance from the screen. For example, if the terminal of the user is in a vertical screen state and the user is located on the left side of the terminal, the vertical bar on the protection layer 304 displays a corresponding deviation to the left side; the head of the user is inclined, and then the vertical bar is also inclined; the width of the vertical bar can also be adjusted, and generally, the closer the user is to the screen, the smaller the width of the vertical bar is.
Dividing the display layer 303 into a visible region and an invisible region according to the displayed mask image, the direction of the user viewing the terminal screen and the distance from the screen, and determining the display attribute parameters of the visible region;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
referring to fig. 7, fig. 7 is a schematic diagram of a display provided in this embodiment, in fig. 7, under the effect of the shielding image of the protection layer, the line of sight of the user is shielded, that is, the display layer 303 is divided into a visible region and an invisible region, when the shielding image includes a plurality of horizontal bars or vertical bars, the visible region includes a plurality of visible sub-regions, and the invisible region includes a plurality of invisible sub-regions.
And according to the display attribute parameters of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
The preset processing of the original display content of the display layer 303 is performed according to the display attribute parameter of the visible region, and the displaying of all the processed contents in the visible region according to the second preset rule includes:
when the terminal is in a vertical screen state, when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer 303 from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from left to right according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the left part of the picture is displayed in the visible area and on the current page, and the right part of the picture is displayed in the visible area and on the next page; that is, the current page displays the left part of the picture, and the user needs to click to view the next picture to display the right part of the picture;
when the terminal is in a vertical screen state, when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer 303 from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from top to bottom according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the upper part of the picture is displayed in the visible area and on the current page, and the lower part of the picture is displayed in the visible area and on the next page; that is, the current page displays the upper part of the picture, and the user needs to click to view the next picture to display the lower part of the picture;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, the original display content of the display layer 303 is reduced and cut, and all the processed content is completely displayed in the visible areas;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the area of the picture is 6, there are 3 visible sub-regions, the area of each visible sub-region is 1, there are 2 invisible sub-regions, the area of one invisible sub-region is 1, and the area of the other invisible sub-region is 2, then the picture needs to be reduced by one time, and each visible sub-region needs to accommodate the content of the original picture with the area of 2.
In this way, from the user's perspective, the stitched complete image can be seen. And people at other visual angles cannot see the corresponding images or only can see partial images.
Optionally, after displaying all the processed contents in the visible area according to the second preset rule, the processor 110 is further configured to execute the display program stored in the memory 109 to implement the following steps:
when detecting that the direction of the user watching the terminal screen and/or the distance between the user and the screen are changed, re-determining the display attribute parameters of the shielding image on the protective layer, and displaying the shielding image on the protective layer 304 according to the re-determined display attribute parameters;
dividing the display layer 303 into a visible area and an invisible area again according to the redisplayed shielding image, the changed direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and redetermining the display attribute parameters of the visible area;
and according to the re-determined display attribute parameter of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
In one embodiment, the mask image of the protection layer 304 and the display screen of the display layer may be further adjusted according to the position of the user, so that a plurality of users at different positions can see different display contents.
Through the implementation of the embodiment, a protection layer 304 is newly added on the terminal screen display layer 303, a shielding image is displayed on the protection layer 304, according to the shielding image and the sight of the user, the display layer 303 is divided into a visible region and an invisible region, the display attribute parameters of the visible region are determined, according to the display attribute parameters of the visible region, the original display content of the display layer 303 is subjected to preset processing, all the processed content is displayed in the visible region according to a second preset rule, the user can check the private content, and the content cannot be seen from other visual angles, the privacy of the user is protected very conveniently, and the use experience of the user is greatly improved.
Third embodiment
The present embodiments provide a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule; if the terminal does not need to start the privacy protection mode, ending the process;
referring to fig. 3, fig. 3 is a schematic diagram of a terminal screen assembly provided in the prior art, where the terminal screen in the prior art includes a glass cover plate 301, a touch sensing layer 302, and a display layer 303, which are sequentially arranged from top to bottom, and the glass cover plate 301 is located at the outermost layer;
referring to fig. 4, fig. 4 is a schematic diagram of a terminal screen composition provided in this embodiment, the terminal screen includes a glass cover 301, a touch sensing layer 302, a protection layer 304, and a display layer 303 sequentially arranged from top to bottom, the glass cover 301 is located at an outermost layer, and compared with a terminal in the prior art, the terminal in this embodiment adds a protection layer 304 between the touch sensing layer 302 and the display layer 303; the display layer 303 may further include a filter, a back plate, and the like; the protective layer 304 may also be a panel;
referring to fig. 5, fig. 5 is a schematic diagram of a circuit architecture of a terminal according to this embodiment, a memory 109 of the terminal is connected to a processor 110, the processor 110 is respectively connected to a display circuit 305 and a driving circuit 306, wherein the display circuit 305 is connected to a display layer 303, and the driving circuit 306 is connected to a protection layer 304; the display layer 303 performs display of a corresponding image and controls the displayed content under the control of the display circuit 305; the protective layer 304 can also display corresponding images and control the displayed content under the control of the driving circuit 306;
wherein, judging whether the terminal needs to open the privacy protection mode according to a first preset rule comprises:
under the condition that the opening operation of the user is received, the terminal is judged to need to open the privacy protection mode, namely the privacy protection mode can be opened by a user manual shortcut key;
or, under the condition that the preset starting condition of the user is met, judging that the terminal needs to start the privacy protection mode, that is, the user presets the starting condition, such as time period, place and the like;
or, under the condition that the surrounding environment of the terminal meets the preset condition, judging that the terminal needs to start the privacy protection mode; for example, the number of people around the terminal can be detected through a camera, and when the number of people around the terminal exceeds a first set threshold, it is determined that the terminal needs to start a privacy protection mode; or, collecting background noise through a microphone, and judging that the terminal needs to start a privacy protection mode when the background noise exceeds a second set threshold;
or, under the condition that the privacy level of the current running application is greater than a set threshold, judging that the terminal needs to start a privacy protection mode; such as only in the entry portion: for example, when a payment application, a social application, a short message application and other relatively private applications are used, the function that the terminal needs to start the privacy protection mode is judged, and the function can be automatically quitted after the terminal is used.
If the terminal needs to start the privacy protection mode, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
when the function that the terminal needs to start the privacy protection mode is judged, the sight line and the position of the user can be detected through the front-facing camera, so that the direction of the user watching the terminal screen and the distance between the user and the screen can be calculated.
Determining display attribute parameters of the shielding image on the protective layer 304 according to the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
wherein the mask image comprises at least one opaque bar or vertical bar across the screen; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
referring to fig. 6, fig. 6 is a schematic diagram of a display of a shielding image according to this embodiment, in fig. 6, a terminal screen is in a vertical screen state, and the shielding image is a plurality of opaque vertical bars crossing the screen;
the number, width, and spacing between adjacent bars or columns on the protective layer 304 may be adjusted depending on the direction in which the user views the terminal screen and the distance from the screen. For example, if the terminal of the user is in a vertical screen state and the user is located on the left side of the terminal, the vertical bar on the protection layer 304 displays a corresponding deviation to the left side; the head of the user is inclined, and then the vertical bar is also inclined; the width of the vertical bar can also be adjusted, and generally, the closer the user is to the screen, the smaller the width of the vertical bar is.
Dividing the display layer 303 into a visible region and an invisible region according to the displayed mask image, the direction of the user viewing the terminal screen and the distance from the screen, and determining the display attribute parameters of the visible region;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
referring to fig. 7, fig. 7 is a schematic diagram of a display provided by this embodiment, in fig. 7, under the effect of the protective layer 304 shielding an image, a user's sight is blocked, that is, the display layer 303 is divided into a visible region and an invisible region, when the shielding image includes a plurality of horizontal bars or vertical bars, the visible region includes a plurality of visible sub-regions, and the invisible region includes a plurality of invisible sub-regions.
And according to the display attribute parameters of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
The preset processing of the original display content of the display layer 303 is performed according to the display attribute parameter of the visible region, and the displaying of all the processed contents in the visible region according to the second preset rule includes:
when the terminal is in a vertical screen state, when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer 303 from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from left to right according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the left part of the picture is displayed in the visible area and on the current page, and the right part of the picture is displayed in the visible area and on the next page; that is, the current page displays the left part of the picture, and the user needs to click to view the next picture to display the right part of the picture;
when the terminal is in a vertical screen state, when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer 303 from top to bottom according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to a segmentation order;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the areas of the visible area and the invisible area are equal, the picture is sequentially divided from top to bottom according to the size of the corresponding visible sub-area, the picture is divided into two parts with equal areas, the upper part of the picture is displayed in the visible area and on the current page, and the lower part of the picture is displayed in the visible area and on the next page; that is, the current page displays the upper part of the picture, and the user needs to click to view the next picture to display the lower part of the picture;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, the original display content of the display layer 303 is reduced and cut, and all the processed content is completely displayed in the visible areas;
for example, the original display content of the display layer 303 is a full-screen displayed picture, the area of the picture is 6, there are 3 visible sub-regions, the area of each visible sub-region is 1, there are 2 invisible sub-regions, the area of one invisible sub-region is 1, and the area of the other invisible sub-region is 2, then the picture needs to be reduced by one time, and each visible sub-region needs to accommodate the content of the original picture with the area of 2.
In this way, from the user's perspective, the stitched complete image can be seen. And people at other visual angles cannot see the corresponding images or only can see partial images.
Optionally, after displaying all the processed contents in the visible area according to the second preset rule, the one or more programs may be further executable by the one or more processors to implement the following steps:
when detecting that the direction of the user watching the terminal screen and/or the distance between the user and the screen are changed, re-determining the display attribute parameters of the shielding image on the protective layer 304, and displaying the shielding image on the protective layer 304 according to the re-determined display attribute parameters;
dividing the display layer into a visible area and an invisible area again according to the redisplayed shielding image, the changed direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and redetermining the display attribute parameters of the visible area;
and according to the re-determined display attribute parameter of the visible region, performing preset processing on the original display content of the display layer 303, and displaying all the processed contents in the visible region according to a second preset rule.
In one embodiment, the mask image of the protection layer 304 and the display screen of the display layer may be further adjusted according to the position of the user, so that a plurality of users at different positions can see different display contents.
Through the implementation of the embodiment, a protection layer is newly added on the terminal screen display layer 303, a shielding image is displayed on the protection layer 304, according to the shielding image and the sight of the user, the display layer 303 is divided into a visible region and an invisible region, the display attribute parameters of the visible region are determined, according to the display attribute parameters of the visible region, the original display content of the display layer 303 is subjected to preset processing, all the processed content is displayed in the visible region according to the second preset rule, so that the user can check the privacy content, and other visual angles cannot see the content, the privacy of the user is protected very conveniently, and the use experience of the user is greatly improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (5)

1. The display method is characterized by being applied to a terminal, wherein a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, the glass cover plate is positioned on the outermost layer, and the display method comprises the following steps:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule;
if so, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of a shielding image on the protective layer according to the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing the display layer into a visible area and an invisible area according to the displayed shielding image, the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and determining display attribute parameters of the visible area;
according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule;
wherein the masking image comprises at least one opaque cross-screen bar or vertical bar; the display attribute parameters of the shielding image comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
the preset processing of the original display content of the display layer according to the display attribute parameter of the visible region, and the display of all the processed contents in the visible region according to a second preset rule includes:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subregion and the distance between adjacent visible subregions, and performing paging display on all the processed contents in the visible region according to a segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
2. The display method according to claim 1, wherein after the displaying all the processed contents in the visible area according to a second preset rule, the display method further comprises:
when detecting that the direction of a user watching a terminal screen and/or the distance between the user and the screen changes, re-determining the display attribute parameters of the shielding image on the protective layer, and displaying the shielding image on the protective layer according to the re-determined display attribute parameters;
dividing the display layer into a visible area and an invisible area again according to the redisplayed shielding image, the changed direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and redetermining the display attribute parameters of the visible area;
and according to the re-determined display attribute parameters of the visible region, performing preset processing on the original display content of the display layer, and displaying all the processed contents in the visible region according to a second preset rule.
3. The display method according to any one of claims 1 to 2, wherein the determining whether the terminal needs to turn on the privacy protection mode according to a first preset rule comprises:
the method comprises the steps of judging that the terminal needs to start a privacy protection mode under the condition that a starting operation of a user is received, under the condition that a starting condition preset by the user is met, under the condition that the surrounding environment where the terminal is located meets a preset condition, or under the condition that the privacy level of a currently running application is larger than a set threshold value.
4. A terminal is characterized in that a screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, wherein the glass cover plate is positioned on the outermost layer, and the terminal comprises a memory and a processor;
the processor is configured to execute a display program stored in the memory to implement the steps of:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule;
if so, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of a shielding image on the protective layer according to the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing the display layer into a visible area and an invisible area according to the displayed shielding image, the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and determining display attribute parameters of the visible area;
according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule;
wherein the masking image comprises at least one opaque cross-screen bar or vertical bar; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
the preset processing of the original display content of the display layer according to the display attribute parameter of the visible region, and the display of all the processed contents in the visible region according to a second preset rule includes:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subregion and the distance between adjacent visible subregions, and performing paging display on all the processed contents in the visible region according to a segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
5. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for performing the steps of:
judging whether the terminal needs to start a privacy protection mode according to a first preset rule; the screen of the terminal comprises a glass cover plate, a touch sensing layer, a protective layer and a display layer which are sequentially arranged from top to bottom, wherein the glass cover plate is positioned on the outermost layer;
if so, acquiring the direction of a user watching a terminal screen and the distance between the user watching the terminal screen and the screen;
determining display attribute parameters of a shielding image on the protective layer according to the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and displaying the shielding image on the protective layer according to the display attribute parameters;
dividing the display layer into a visible area and an invisible area according to the displayed shielding image, the direction of the user viewing the terminal screen and the distance between the user viewing the terminal screen and the screen, and determining display attribute parameters of the visible area;
according to the display attribute parameters of the visible area, carrying out preset processing on the original display content of the display layer, and displaying all the processed contents in the visible area according to a second preset rule;
wherein the masking image comprises at least one opaque cross-screen bar or vertical bar; the display attribute parameters comprise the number and the width of the horizontal bars or the vertical bars and the space between the adjacent horizontal bars or the vertical bars;
the display attribute parameters of the visible region comprise the number and the width of the visible sub-regions divided by each horizontal bar or vertical bar and the space between the adjacent visible sub-regions;
the preset processing of the original display content of the display layer according to the display attribute parameter of the visible region, and the display of all the processed contents in the visible region according to a second preset rule includes:
when the shielding image is a vertical bar, sequentially segmenting original display contents of the display layer from left to right according to the number and width of each visible subarea and the distance between adjacent visible subareas, and performing paging display on all the processed contents in the visible areas according to the segmentation order;
when the shielding image is a horizontal bar, sequentially segmenting original display contents of the display layer from top to bottom according to the number and width of each visible subregion and the distance between adjacent visible subregions, and performing paging display on all the processed contents in the visible region according to a segmentation order;
or, according to the number and width of each visible subarea and the distance between adjacent visible subareas, reducing and cutting the original display content of the display layer, and completely displaying all the processed content in the visible areas.
CN201710381170.2A 2017-05-25 2017-05-25 Display method, terminal and computer readable storage medium Active CN107330347B (en)

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 CN107330347A (en) 2017-11-07
CN107330347B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
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
US11368569B2 (en) * 2019-08-02 2022-06-21 Beijing Xiaomi Mobile Software Co., Ltd. Nanjing Branch Terminal device
CN111046448A (en) * 2019-12-16 2020-04-21 联想(北京)有限公司 Information processing method and electronic device
CN111274618B (en) * 2020-01-13 2022-10-21 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

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107330347A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107330347B (en) Display method, terminal and computer readable storage medium
CN110995923B (en) Screen projection control method and electronic equipment
CN108536365B (en) Image sharing method and terminal
CN107977132B (en) Information display method and mobile terminal
CN109032445B (en) Screen display control method and terminal equipment
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN107707953B (en) Resource data display method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN111562896B (en) Screen projection method and electronic equipment
CN108920226B (en) Screen recording method and device
CN107704185B (en) Split screen desktop display method, terminal and computer readable storage medium
CN107765941B (en) Icon display method, terminal and computer readable storage medium
CN107613095B (en) Incoming call processing method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN111045591A (en) Display method of virtual keyboard and electronic equipment
CN107741814B (en) Display control method and mobile terminal
CN107153500B (en) Method and equipment for realizing image display
CN110138967B (en) Terminal operation control method and terminal
CN109445653B (en) Icon processing method and mobile terminal
CN109388324B (en) Display control method and terminal
CN108600498B (en) Information prompting method and device
CN110795002A (en) Screenshot method and terminal equipment
CN111031178A (en) Video stream clipping method and electronic equipment
CN109992192B (en) Interface display method and terminal equipment
CN108984062B (en) Content display method and terminal

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