CN107766027B - Terminal display control method, terminal and computer readable storage medium - Google Patents

Terminal display control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107766027B
CN107766027B CN201710900851.5A CN201710900851A CN107766027B CN 107766027 B CN107766027 B CN 107766027B CN 201710900851 A CN201710900851 A CN 201710900851A CN 107766027 B CN107766027 B CN 107766027B
Authority
CN
China
Prior art keywords
terminal
film
display area
display
content
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
CN201710900851.5A
Other languages
Chinese (zh)
Other versions
CN107766027A (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.)
Beijing Panshi Advertising Co., Ltd
Original Assignee
Beijing Panshi Advertising 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 Beijing Panshi Advertising Co Ltd filed Critical Beijing Panshi Advertising Co Ltd
Priority to CN201710900851.5A priority Critical patent/CN107766027B/en
Publication of CN107766027A publication Critical patent/CN107766027A/en
Application granted granted Critical
Publication of CN107766027B publication Critical patent/CN107766027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The invention discloses a terminal display control method, a terminal and a computer readable storage medium, wherein the method comprises the steps of judging whether a terminal screen is pasted with a film or not before contents to be displayed are displayed on a first display area of the terminal screen, wherein the first display area is a default display area when the terminal screen is not pasted with the film, and controlling the contents to be displayed in a second display area when the terminal screen is judged to be pasted with the film, wherein the second display area is determined based on the refractive index of the film, and the display area of the second display area is smaller than that of the first display area; by implementing the scheme, the visual angle movement of the eyes of the user is reduced, the visual angle fatigue is reduced to a certain extent, the user can view a real display effect which is closer to that of the user without film pasting, and the use experience of the user is improved.

Description

Terminal display control method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of screen display technologies, and in particular, to a terminal display control method, a terminal, and a computer-readable storage medium.
Background
The terminal screen is protected to reduce the risk of screen breakage, and the terminal screen is pasted with a film in a normal state, however, people do not notice that the normal state can affect the display effect of the screen, and further, the health of a user can be damaged to a certain extent. It is known that light rays are generally refracted when propagating through two transparent substances with different refractive indexes. For the terminal after the film is pasted, the phenomenon also exists, in the process that the user uses the terminal, light is emitted from the terminal screen, the light is refracted between the terminal screen and the film, please refer to fig. 1, the refraction effect is different based on the refraction index of the film and the screen, however, generally speaking, the virtual display picture (Y) refracted by the film has a certain amplification effect relative to the real display picture (X), and the amplification effect is realized on the premise of sacrificing the picture quality, so the user viewing experience is influenced; on the other hand, when a user views a virtual display screen formed after refraction, the user's view angle rotation is required to be larger than that required by a real display screen, and especially when the user reads characters, the larger view angle rotation and the reduction of the picture quality become important factors influencing the user experience. The current terminal display technology does not notice the problem.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the screen display effect is influenced when the terminal is pasted with the film, and further the use experience of a user is influenced. In view of the technical problem, the invention provides a terminal display control method, a terminal and a computer readable storage medium.
In order to solve the above technical problem, the present invention provides a terminal display control method, including:
before content to be displayed is displayed on a first display area of a terminal screen, judging whether the terminal screen is provided with a film or not; the first display area is a default display area when the terminal is not pasted with the film;
when the terminal screen is judged to have the film, controlling the content to be displayed in the second display area; the second display region is determined based on a refractive index of the adhesive film, and a display area of the second display region is smaller than the first display region.
Optionally, the second display region is determined based on a refractive index of the adhesive film, and includes:
after the content to be displayed on the second display area is refracted by the adhesive film, the display area of the virtual display content formed on the surface of the adhesive film is equal to the display area of the first display area.
Optionally, the virtual display content and the second display area have the following relationship:
y=x+2hsinα/√(n^2-(sinα)^2);
y is the display width of the virtual display content, x is the display width of the second display area, h is the thickness of the adhesive film, alpha is an included angle between the light of the terminal screen and a normal line when the light is emitted outwards, and n is the refractive index of the adhesive film relative to the terminal screen.
Optionally, before the step of judging whether the terminal screen has the film, the method further includes the step of judging that the content to be displayed is the target display content:
and acquiring the application program of the content to be displayed according to the content to be displayed, and determining the content to be displayed as target display content when the application program is judged to be a preset application program.
Optionally, the step of judging whether the terminal screen has the film comprises:
taking a central line in the vertical direction of the terminal screen as a center, acquiring a first angle value of the terminal moving along the central line, and judging that the terminal screen is provided with a film when the first angle value is larger than a preset first angle threshold; otherwise, judging that the terminal screen is not pasted with the film.
Optionally, the step of judging whether the terminal screen has the film comprises:
acquiring an eye sight movement angle when a user watches a screen, and judging that a film is stuck on the terminal screen when the eye sight movement angle reaches a preset second angle threshold; otherwise, judging that the terminal screen is not pasted with the film.
Optionally, the step of judging whether the terminal screen has the film comprises:
when an external input instruction is received and the external input instruction comprises at least one of film sticking refractive index information and film sticking thickness information, judging that a film is stuck on the terminal screen; otherwise, judging that the terminal screen is not pasted with the film.
Optionally, the first display area is a full-screen display area of the terminal.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the terminal display control method according to any one of the above.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the terminal display control method according to any one of the above.
Advantageous effects
The invention provides a terminal display control method, a terminal and a computer readable storage medium; the problem that the display effect is influenced by a film attached to a screen is not noticed by the existing terminal display mode is solved; specifically, after light rays in the terminal screen are refracted by the film, a virtual display picture formed on the surface of the film and seen by a user is amplified to a certain extent relative to a real display picture, and the visual angle of eyes of the user needs to be moved greatly, so that the defect is overcome; judging whether a terminal screen is pasted with a film or not before contents to be displayed are displayed on a first display area of the terminal screen, wherein the first display area is a default display area when the terminal screen is not pasted with the film, and controlling the contents to be displayed in a second display area when the terminal screen is judged to be pasted with the film, the second display area is determined based on the refractive index of the film, and the display area of the second display area is smaller than that of the first display area; that is to say, when detecting that the terminal screen has the pad pasting, the default display region of terminal when not pad pasting is switched into the second display region that the area is relatively less to show the control of target display content in this second display region, reduced the visual angle of user's eyes and removed, also reduced visual angle fatigue to a certain extent, make the user can watch with not the true display effect that more is close when pad pasting, promoted user and used experience.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic view of light refraction after a terminal is pasted with a film;
fig. 2 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
fig. 3 is a schematic flowchart of a terminal display control method according to a first embodiment of the present invention;
fig. 4 is a schematic view of a first display region structure according to a first embodiment of the present invention;
FIG. 5 is a schematic view of another first display region structure according to the first embodiment of the present invention;
fig. 6 is a schematic diagram of a rotating terminal screen for analyzing the content viewed by the user according to the first embodiment of the present invention;
fig. 7 is a schematic diagram of another exemplary rotating terminal screen for analyzing the content viewed by the user according to the first embodiment of the present invention;
FIG. 8 is a diagram illustrating a first embodiment of a method for analyzing rotation of a viewing angle of a user viewing a display;
FIG. 9 is a schematic diagram of a structure for analyzing light refraction according to a first embodiment of the present invention;
fig. 10 is a flowchart illustrating a terminal display control method according to a second embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to a third 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.
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 itself. Thus, "module", "component" or "unit" may be used mixedly.
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.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 2, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile 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 power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 2:
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), CDMA2000(Code Division Multiple Access 2000), 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 mobile 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. Although fig. 2 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
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 mobile 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 mobile 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 mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a 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 mobile 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 mobile terminal. 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 mobile 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 mobile 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 external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating 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 mobile terminal. 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.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 2, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
First embodiment
In order to solve the problem that the existing terminal display mode does not notice that the film pasting on the screen has an influence on the screen display effect, specifically, after light rays in the terminal screen are refracted by the film pasting, a virtual display picture formed on the surface of the film pasting and seen by a user is amplified to a certain extent relative to a real display picture, and the visual angle of eyes of the user needs to be moved greatly, aiming at the defect, the embodiment of the invention provides a terminal display control method, please refer to fig. 3, fig. 3 is a flow schematic diagram of the terminal display control method provided by the embodiment, and the method comprises the following steps:
s31, before the content to be displayed is displayed on the first display area of the terminal screen, judging whether the terminal screen is provided with a film or not; the first display area is a default display area when the terminal is not pasted with the film.
In this embodiment, before the terminal displays the content to be displayed, it is first required to determine whether a film is on the terminal screen, and only when it is determined that the film is currently on the terminal screen, step S302 is executed again to control the content to be displayed in the second display area. Of course, when the terminal screen is judged not to be pasted with the film currently, the terminal screen can be processed in the existing mode. For example, the content to be displayed is directly displayed in the first display area.
It should be noted that the first display area refers to a default display area of the terminal when the terminal is not attached with a film, for example, a full screen display area of the terminal, please refer to fig. 4, that is, when the terminal is in a full screen display state, the first display area refers to the full screen display area 41. In addition, when the terminal is in the split-screen state, all display areas of the split screens, specifically, see fig. 5, for example, the left split screen 51 and the right split screen 52 may be both regarded as the first display area.
In some examples, it may also be determined whether the terminal has a film during the process of displaying the target display content by the terminal, and then the corresponding process is executed according to the determination result. And will not be described in detail herein. That is, there are mainly processes of determining whether the terminal screen has the adhesive film, and controlling the display area of the target display content when it is determined that the adhesive film exists, all of which belong to the protection scope of the present invention. Here, the present embodiment provides the following detection methods for determining whether the terminal screen is attached with the film:
the method comprises the steps that in a first detection mode, a center line in the vertical direction of a terminal screen is taken as a center, a first angle value of the terminal moving along the center line is obtained, and when the first angle value is larger than a preset first angle threshold value, the fact that a film is attached to the terminal screen is judged; otherwise, judging that the terminal screen is not pasted with the film.
When a user watches display contents on a mobile phone screen, especially display contents of characters, the user reads from left to right in sequence line by line, for the best viewing experience, the user usually moves left and right to adjust when holding the terminal, and under two conditions of terminal film pasting and non-film pasting, because a virtual display picture watched by the user after film pasting is larger than a real display picture without film pasting, the angle of the user moving the terminal is also enlarged accordingly, so as to ensure the best line of sight to view, for easy understanding, refer to fig. 6, fig. 6 is a cross-sectional schematic view of the user rotating terminal, wherein the real display picture is 61, the virtual display picture is assumed to be 62 (the display area of the virtual display picture 62 is larger than the display area of the real display picture 61, or the bandwidth is larger than the width of the real display picture 61), a user eye 64, wherein when the user watches the left part of the real display picture 61, in order to achieve a relatively good watching sight (usually, the user sight is 90 degrees from the screen), the user needs to rotate the terminal clockwise along a central line 63 in the vertical direction of the screen, and the angle is assumed to be ≦ 1, correspondingly, when the user needs to watch the right part of the content of the real display picture 61, the user needs to rotate counterclockwise along the central line 63, and the angle is ≦ 2, if the user eye is between the left and right sides of the terminal, that is, at the intermediate position, the angle 1 is usually equal to ≦ 2 degrees, then the value of the angle 3 that the user can theoretically rotate in the process of watching the real display picture 61 is 2 ≦ 1, or 2 ≦ 2 (the angle 1 is equal to ≦ 2); when the user watches the refracted virtual display picture 62, based on the above process, the angle of the user required to rotate the terminal is ≤ 4, obviously, the angle 4 is greater than ≤ 3, that is, the angle of the user required to rotate the terminal becomes large, so that the user can achieve a better watching effect.
Therefore, the terminal can automatically detect the adjusted angle, when the fact that the moved angle of the terminal is obviously larger than the angle of the terminal moved when the terminal is not pasted with the film is detected, the fact that the terminal is pasted with the film currently is indicated, and if the detected angle of the terminal moved is consistent with the angle of the terminal moved when the terminal is not pasted with the film, the fact that the terminal is not pasted with the film currently is indicated.
Specifically, for better understanding of the first detection method, please refer to fig. 7, the central line 71 in the vertical direction of the terminal screen is taken as the center, the angle value (i.e. the first angle value) of the angle 72 formed by the terminal rotating along the central line 71 is obtained, and the angle value is compared with the preset first angle threshold, and when the angle value is judged to be greater than the preset first angle threshold, it is judged that the terminal screen has the adhesive film. The preset first angle threshold may be an angle at which a user usually moves the terminal when the user watches a real display when the terminal is not filmed.
It should be understood that the distance from the user's eye to the screen on which the first angle value and the first angle threshold are based should be the same when the first angle value is detected in comparison to the first angle threshold. The method for detecting the distance between the eyes of the user and the terminal screen can adopt any available method, and is not described herein again.
The second detection mode is that the eye sight movement angle when the user watches the screen is obtained, and when the eye sight movement angle reaches a preset second angle threshold value, the fact that the terminal screen is provided with the film is judged; otherwise, judging that the terminal screen is not pasted with the film.
Referring to fig. 8, when a user needs to read or watch all display contents on a terminal, assuming that a terminal screen is still, the user needs to scan a sight line from the left side of the terminal to the right side of the terminal, and the scanning is repeated continuously, and a sight line movement angle is inevitably present in the scanning process, in fig. 8, when the user's eyes 81 watch the real display contents 82 on the screen, that is, when the terminal screen is not filmed, the sight line movement angle of the user's eyes is ═ c; after the terminal screen is pasted with the film, the real display content 82 is refracted by the film, virtual display content 83 is formed on the film, and when a user watches the virtual display content 83, the sight line moving angle ≦ is obviously larger than the sight line moving angle ≦ for watching the real display content.
Therefore, the terminal can acquire the eye sight movement angle when the user watches the screen, compares the detected eye sight movement angle with a preset second angle threshold value, and when the eye sight movement angle is judged to reach the preset second angle threshold value, the user sight movement angle is indicated to be larger, so that the fact that the terminal screen is provided with the film at present is determined; on the contrary, when the fact that the movement angle of the eye sight line does not reach the preset second angle threshold value is judged, the fact that the movement angle of the eye sight line is smaller when the user watches the screen indicates that the display content is not refracted through the film pasting, and therefore it is determined that the terminal screen is not pasted with the film currently.
When an external input instruction is received and the external input instruction comprises at least one of film sticking refractive index information and film sticking thickness information, judging that a film is stuck on the terminal screen; otherwise, judging that the terminal screen is not pasted with the film.
The third detection method for detecting whether the terminal screen is filmed is mainly implemented in a manner of manual setting by a user, and the terminal can directly receive an instruction input by the user and determine that the terminal screen is filmed according to the instruction. In this embodiment, the external input instruction may further include refractive index information, film thickness information, and the like of a film attached to the screen.
The above three ways of detecting whether the terminal screen is pasted with the film or not provided by this embodiment can be flexibly adopted according to actual conditions, for example, any of them is adopted for detection, or at least two of them are adopted for detection at the same time, so as to improve the accuracy of detection. It should be understood that the present solution is not limited to the above three ways of detecting whether the terminal is attached with the film, and any existing way may be adopted, which is not described herein again.
In this embodiment, before determining whether the terminal screen has the film, it may also be determined whether the current content to be displayed is the target display content, if so, the subsequent process is executed, otherwise, the existing display mode is adopted to perform display processing on the content to be displayed that does not belong to the target display content, for example, the content to be displayed is directly displayed in the first display area.
Specifically, the manner of determining whether the content to be displayed belongs to the target display content includes: and acquiring an application program to which the content to be displayed belongs, and determining that the content to be displayed is target display content when the application program is judged to be a preset application program. The preset application program may be set according to an actual requirement of a user, for example, a preset application program list is generated according to an application program selected by the user, for example, in a form shown in the following table (table 1):
TABLE 1
Serial number Presetting an application program
1 iReader
2 Daily newspaper for people
3 Today's headwear
And in the process of judging whether the content to be displayed belongs to the target display content, matching the obtained application program to which the content to be displayed belongs with the preset application program list, and when the application program is matched in the preset application program list, indicating that the content to be displayed is the target display content. The content to be displayed is preprocessed in the mode, on one hand, the practical use requirements of users can be more met, the users generally only need to apply the application with higher display requirements, the display control processing of the scheme needs to be carried out, the existing mode can be adopted for flexibly processing other applications, and therefore the processing load of the terminal is also reduced on the other hand.
S32, when the terminal screen is judged to have the film, controlling the content to be displayed in a second display area; wherein the second display region is determined based on the refractive index of the adhesive film, and the display area of the second display region is smaller than that of the first display region.
And when the terminal screen is judged to have the adhesive film, controlling the content to be displayed in a second display area for displaying.
The display area of the virtual display content formed on the surface of the adhesive film is equal to the display area of the first display area after the content to be displayed on the second display area is refracted by the adhesive film. According to the scheme, when the terminal screen is judged to have the film, the display of the content to be displayed is controlled, namely the second display area is used for compensating the amplification influence of the film refraction on the real display content, specifically, the display area of the second display area is smaller than that of the first display area, so that the size of the virtual display content seen by a user is reduced as much as possible to be equal to the size of the real display content, and therefore the watching or reading experience of the user is improved.
It should be understood that the display area of the second display region should not be reduced too much, and the size of the virtual display content formed by the refraction of the content displayed in the second display region through the terminal screen should be equal to the size of the virtual display content displayed in the first display region of the terminal directly when the terminal is not attached with the film.
For better understanding of the present invention, please refer to fig. 9, where h is the thickness of the terminal screen film, α is the angle between the light emitted from the terminal screen and the normal, and n is the refractive index of the film relative to the terminal screen, so that the display width y of the virtual display content formed on the surface of the film after refraction by the film has the following relationship with the second display region:
y +2hsin α/√ n (n ^2- (sin α) ^2), where x is the display width of the second display areaThe display area of the virtual display content formed later is equal to the display area of the first display area (assuming that the first display area is a terminal full-screen area, the width is a, and the length is not considered), then the width y of the virtual display content only needs to be replaced by the width a of the first display area, that is, a is x1+2hsin α/√ n 2- (sin α) ^2), thereby obtaining the actual display width x of the second display area at that time1=a-2hsinα/√(n^2-(sinα)^2)。
The embodiment of the invention provides a terminal display control method, which comprises the steps of judging whether a terminal screen is provided with a film or not before target display content is displayed on a first display area of the terminal screen, wherein the first display area is a default display area when the terminal screen is not provided with the film, controlling the target display content to be displayed in a second display area when the terminal screen is judged to be provided with the film, the second display area is determined based on the refractive index of the film, and the display area of the second display area is smaller than that of the first display area; that is to say, when detecting that the terminal screen has the pad pasting, the default display region of terminal when not pad pasting is switched into the second display region that the area is relatively less to show the control of target display content in this second display region, reduced the visual angle of user's eyes and removed, also reduced visual angle fatigue to a certain extent, make the user can watch with not the true display effect that more is close when pad pasting, promoted user and used experience.
Second embodiment
The present embodiment provides a terminal display control method based on the first embodiment, please refer to fig. 10, where fig. 10 is a schematic flow chart of the terminal display control method according to the second embodiment of the present invention, the method includes:
s101, starting.
And S102, acquiring the content to be displayed.
S103, judging whether a terminal screen is provided with a film or not; if yes, go to step S104, if no, go to step S106.
In this embodiment, when acquiring the content to be displayed, the terminal may first determine whether the screen thereof has a film, and when determining that the screen has a film, determine whether the content to be displayed is the target display content; of course, it may also be determined whether the content to be displayed belongs to the target display content, and then whether the terminal screen has the film or not. That is, in this embodiment, the processing sequence of the two can be flexibly selected, and is not limited herein.
In this embodiment, the manner for determining whether the terminal is attached with the film may be the manner described in the first embodiment, and details are not repeated herein.
S104, judging whether the content to be displayed belongs to target display content; if yes, the process proceeds to step S105, and if no, the process proceeds to step S106.
It should be noted that the target display content refers to display content in a specific application program, and the specific manner for determining whether the content to be displayed belongs to the target display content is as follows: when the corresponding content to be displayed is obtained, the corresponding application program is obtained according to the content to be displayed, whether the application program is a preset application program is judged, and if the application program belongs to the preset application program, the content to be displayed is judged to be target display content.
It should be understood that when it is determined that the terminal screen is not filmed, step S104 is not executed, and the content to be displayed is directly controlled to be displayed in the first display area; similarly, when it is determined whether the content to be displayed is the target display content, and it is determined that the content to be displayed does not belong to the target display content, the step of determining whether the terminal has a film is not required to be executed, and the step S106 is directly executed.
And S105, displaying the control target display content in the second display area.
In this embodiment, only when it is determined that the above conditions (the terminal screen has the film, and the content to be displayed belongs to the target display content) are simultaneously satisfied, the target display content is controlled to be displayed in the second display area. In this embodiment, the second display region is determined based on the refractive index of the film to which the terminal screen is attached, and the display area of the second display region is smaller than that of the first display region. It should be noted that the first display area is a default display area when the terminal is not pasted with a film, for example, a full screen display area of the terminal. Of course, when the terminal is in the split screen state, the first display area may also refer to the entire display area for each split screen.
And S106, controlling the content to be displayed in the first display area.
When the terminal screen is judged not to be pasted with the film or when the current content to be displayed is judged not to belong to the target display content, the terminal can control the content to be displayed in the first display area.
And S107, ending.
In the terminal display control method provided by the embodiment, by acquiring the current content to be displayed, and when it is determined that the content to be displayed belongs to the target display content and the terminal screen has the film, the content to be displayed is controlled to be displayed in the second display area, otherwise, the content to be displayed is directly controlled to be displayed in the first display area, wherein the second display area is determined based on the refractive index of the film, and the display area of the second display area is smaller than that of the second display area; when the user watches the terminal screen, the moving amplitude of the visual angle of eyes is reduced, and even though the terminal is in the film pasting state, the size of virtual display content seen by the user can be equal to the size of actual display content as far as possible, so that the use experience of the user is improved.
Third embodiment
The present embodiment provides a terminal, as shown in fig. 11, which includes a processor 11, a memory 12 and a communication bus 13, wherein:
the communication bus 13 is used for realizing connection communication between the processor 11 and the memory 12;
the processor 12 is configured to execute one or more programs stored in the memory 12 to implement the steps of the terminal display control method in the first embodiment X and/or the second embodiment described above.
An embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps of the terminal display control method in the first embodiment X and/or the second embodiment.
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 (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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A terminal display control method is characterized by comprising the following steps:
before content to be displayed is displayed on a first display area of a terminal screen, judging whether the terminal screen is provided with a film or not; the first display area is a default display area when the terminal is not pasted with the film;
when the terminal screen is judged to have the film, controlling the content to be displayed in a second display area; after the content to be displayed on the second display area is refracted by the adhesive film, the display area of the virtual display content formed on the surface of the adhesive film is equal to that of the first display area, and the display area of the second display area is smaller than that of the first display area.
2. The terminal display control method according to claim 1, wherein the virtual display content and the second display area have a relationship as follows:
Figure FDA0002487529060000011
y is the display width of the virtual display content, x is the display width of the second display area, h is the thickness of the adhesive film, alpha is an included angle between the light of the terminal screen and a normal line when the light is emitted outwards, and n is the refractive index of the adhesive film relative to the terminal screen.
3. The terminal display control method according to claim 1, wherein before the step of determining whether the terminal screen has the film, further comprising determining that the content to be displayed is a target display content:
and acquiring the application program of the content to be displayed according to the content to be displayed, and determining the content to be displayed as target display content when the application program is judged to be a preset application program.
4. The terminal display control method of any one of claims 1 to 3, wherein the judging whether the terminal screen has a sticker comprises:
taking a central line in the vertical direction of the terminal screen as a center, acquiring a first angle value of the terminal moving along the central line, and judging that the terminal screen is provided with a film when the first angle value is larger than a preset first angle threshold; otherwise, judging that the terminal screen is not pasted with the film.
5. The terminal display control method of any one of claims 1 to 3, wherein the judging whether the terminal screen has a sticker comprises:
acquiring an eye sight movement angle when a user watches a screen, and judging that a film is stuck on the terminal screen when the eye sight movement angle reaches a preset second angle threshold; otherwise, judging that the terminal screen is not pasted with the film.
6. The terminal display control method of any one of claims 1 to 3, wherein the judging whether the terminal screen has a sticker comprises:
when an external input instruction is received and the external input instruction comprises at least one of film sticking refractive index information and film sticking thickness information, judging that a film is stuck on the terminal screen; otherwise, judging that the terminal screen is not pasted with the film.
7. The terminal display control method according to claim 6, wherein the first display area is a full screen display area of the terminal.
8. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the terminal display control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the terminal display control method according to any one of claims 1 to 7.
CN201710900851.5A 2017-09-28 2017-09-28 Terminal display control method, terminal and computer readable storage medium Active CN107766027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710900851.5A CN107766027B (en) 2017-09-28 2017-09-28 Terminal display control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710900851.5A CN107766027B (en) 2017-09-28 2017-09-28 Terminal display control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107766027A CN107766027A (en) 2018-03-06
CN107766027B true CN107766027B (en) 2020-09-22

Family

ID=61266828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710900851.5A Active CN107766027B (en) 2017-09-28 2017-09-28 Terminal display control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107766027B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157082A (en) * 2020-01-22 2021-07-23 华为技术有限公司 Method and device for adjusting equipment operation mode and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893934A (en) * 2010-06-25 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method and device for intelligently adjusting screen display
CN103217831A (en) * 2013-03-29 2013-07-24 京东方科技集团股份有限公司 Display device
CN104423917A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104461312A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Display control method and electronic equipment
CN204695275U (en) * 2015-05-19 2015-10-07 赵国强 Anti-dazzle and reflective electric touch screen
JP2016015086A (en) * 2014-07-03 2016-01-28 ファナック株式会社 Resistance film type touch panel
CN106528034A (en) * 2016-12-23 2017-03-22 维沃移动通信有限公司 Adjustment method for interface display content and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893934A (en) * 2010-06-25 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method and device for intelligently adjusting screen display
CN103217831A (en) * 2013-03-29 2013-07-24 京东方科技集团股份有限公司 Display device
CN104423917A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104461312A (en) * 2013-09-17 2015-03-25 联想(北京)有限公司 Display control method and electronic equipment
JP2016015086A (en) * 2014-07-03 2016-01-28 ファナック株式会社 Resistance film type touch panel
CN204695275U (en) * 2015-05-19 2015-10-07 赵国强 Anti-dazzle and reflective electric touch screen
CN106528034A (en) * 2016-12-23 2017-03-22 维沃移动通信有限公司 Adjustment method for interface display content and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《A new world of display application produced by a super-large-area Luminous Array Film based on the film and plasma technologies》;Kenji Awamoto等;《IEEE》;20121231;第1-5页 *
《特定折射率材料及光学薄膜制备》;申振峰;《中国光学》;20131231;第900-905页 *

Also Published As

Publication number Publication date
CN107766027A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN109639879B (en) Screen display control method, foldable terminal and computer readable storage medium
CN110719402B (en) Image processing method and terminal equipment
CN108073343B (en) display interface adjusting method and mobile terminal
CN108319338B (en) Display screen determining method, mobile terminal and computer readable storage medium
US20200280628A1 (en) Method for prompting notification message and mobile terminal
CN107248137B (en) Method for realizing image processing and mobile terminal
CN108196775B (en) Screenshot control method, flexible screen terminal and computer-readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN109257505B (en) Screen control method and mobile terminal
CN107153500B (en) Method and equipment for realizing image display
CN108196776B (en) Terminal screen splitting method, terminal and computer readable storage medium
CN109348019B (en) Display method and device
CN111562896B (en) Screen projection method and electronic equipment
CN107818038B (en) Information prompting method and mobile terminal
CN110830713A (en) Zooming method and electronic equipment
CN110933494A (en) Picture sharing method and electronic equipment
CN109782992B (en) Video playing method, double-screen terminal and computer readable storage medium
CN109992192B (en) Interface display method and terminal equipment
CN110138967B (en) Terminal operation control method and terminal
CN109995391B (en) Picture display method, intelligent wearable terminal and computer readable storage medium
CN109669656B (en) Information display method and terminal equipment
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN108304033B (en) Flexible screen terminal, folding control method thereof and computer readable storage medium
CN109799937B (en) Input control method, input control equipment 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
TA01 Transfer of patent application right

Effective date of registration: 20200828

Address after: 901, 8 / F, building 3, 93 Jianguo Road, Chaoyang District, Beijing 100020

Applicant after: Beijing Panshi Advertising Co., Ltd

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant