CN108845785A - A kind of display methods and terminal - Google Patents

A kind of display methods and terminal Download PDF

Info

Publication number
CN108845785A
CN108845785A CN201810523447.5A CN201810523447A CN108845785A CN 108845785 A CN108845785 A CN 108845785A CN 201810523447 A CN201810523447 A CN 201810523447A CN 108845785 A CN108845785 A CN 108845785A
Authority
CN
China
Prior art keywords
picture
terminal
pictures
display screen
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810523447.5A
Other languages
Chinese (zh)
Other versions
CN108845785B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810523447.5A priority Critical patent/CN108845785B/en
Publication of CN108845785A publication Critical patent/CN108845785A/en
Application granted granted Critical
Publication of CN108845785B publication Critical patent/CN108845785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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 embodiment of the present invention provides a kind of display methods and terminal, is related to field of terminal technology, the display effect to solve the problems, such as terminal is poor.Terminal includes the first display screen and second display screen, and this method includes:In the case where showing the first picture in first display screen, the brightness of light is detected, the light is the light of the terminal local environment;In the case where the brightness is lower than preset threshold, if first picture meets the first preset condition, the first picture is determined according to first picture;First picture is shown in the second display screen;Wherein, first preset condition includes at least one of following conditions:First picture is the picture of the first preset kind and first picture is the picture shown by the application program of the second preset kind.

Description

A kind of display methods and terminal
Technical field
The present embodiments relate to field of terminal technology more particularly to a kind of display methods and terminal.
Background technique
With the development of terminal technology, the utilization rate of terminal is higher and higher, user to the experience requirements of terminal also increasingly It is high.
Currently, the display of terminal display screen can be adaptively adjusted in terminal by detecting the bright and dark light of terminal local environment Brightness.For example, when user night use terminal watch video when, if a terminal detects that the light of terminal local environment compared with Secretly, then the display brightness for turning down display screen of terminal meeting adaptability.
However, when user's using terminal watches video, if the dark of terminal local environment, and in the video Certain pictures color it is darker (for example, picture primary color be black), then bright in the display that terminal has turned down display screen After degree, it may be such that terminal can not clearly illustrate the content in these pictures or these pictures, so as to cause terminal Display effect is poor.
Summary of the invention
The embodiment of the present invention provides a kind of display methods and terminal, the display effect to solve the problems, such as terminal are poor.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of display methods, the first picture is shown in first display screen In the case of, the brightness of light is detected, which is the light of the terminal local environment;The case where the brightness is lower than preset threshold Under, if first picture meets the first preset condition, the first picture is determined according to first picture;In the second display screen Show first picture;Wherein, which includes at least one of following conditions:First picture is first pre- If the picture of type and first picture are the picture shown by the application program of the second preset kind.
Second aspect, the embodiment of the invention provides a kind of terminal, which includes:The terminal include detection module, really Cover half block and display module;The detection module, for detecting light in the case where first display screen shows the first picture Brightness, the light are the light of the terminal local environment;The determining module, the brightness for detecting in the detection module are low In the case where preset threshold, if first picture meets the first preset condition, the first picture is determined according to first picture; The display module, the first picture determined for showing the determining module in the second display screen;Wherein, the first default item Part includes at least one of following conditions:First picture is the picture of the first preset kind and first picture is logical Cross the picture that the application program of the second preset kind is shown.
The third aspect the embodiment of the invention provides a kind of terminal, including processor, memory and is stored in the memory Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor The step of described display methods.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and the step of display methods as described in relation to the first aspect is realized when which is executed by processor Suddenly.
In embodiments of the present invention, in the case that terminal shows the first picture in the first display screen, the bright of light is detected Degree, light are the light of terminal local environment;In the case where brightness is lower than preset threshold, preset if the first picture meets first Condition then determines the first picture according to the first picture;The first picture is shown in second display screen;Wherein, the first preset condition Including at least one of following conditions:First picture is the picture of the first preset kind and the first picture is to pass through second The picture that the application program of preset kind is shown.It, can be according to the first of display since second display screen shows the first picture Picture provides light source for the first display screen, to improve the light luminance of terminal local environment, therefore, terminal is in local environment light When line intensity is lower, terminal is not necessarily to the display brightness by reducing the first display screen to avoid the first display screen display brightness higher To sense of discomfort caused by user security risk, so that the display effect of terminal is preferable.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of display methods provided in an embodiment of the present invention;
Fig. 3 is a kind of possible structural schematic diagram one of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of possible structural schematic diagram two of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware structural diagram of terminal of each embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein "and/or" is only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can To indicate:Individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, software applied by display methods provided in an embodiment of the present invention is introduced Environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of display methods provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that this is aobvious Show that method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can be by Androids The software program is run in operating system realizes display methods provided in an embodiment of the present invention.
The display methods of the embodiment of the present invention is illustrated below with reference in Fig. 2.Fig. 2 is provided in an embodiment of the present invention A kind of flow diagram of display methods, as shown in Fig. 2, the display methods includes S201-S203:
S201, in the case where show the first picture in the first display screen, terminal detects the brightness of light, and light is terminal The light of local environment.
Optionally, the terminal in the embodiment of the present invention can be the terminal with double-sided screen, the terminal with Folding screen.When One display screen of terminal in the front of terminal, a display screen at the back side of terminal, the first display screen be terminal user just In the display screen used, second display screen is the display screen with the first display screen backwards;When two display screens of terminal are in simultaneously When the state of row, the first display screen is apart from the closer display screen of user, and second display screen is apart from the farther away display screen of user. The present invention is not especially limit this.
S202, brightness be lower than preset threshold in the case where, if the first picture meet the first preset condition, terminal according to First picture determines the first picture.
Wherein, the first preset condition includes at least one of following conditions:First picture is the picture of the first preset kind Face and the first picture are the picture shown by the application program of the second preset kind.
Optionally, the picture of the first preset kind can be the picture of e-book class, the picture of game class or video class Picture etc. (such as user by the application programs of some non-electrical philosophical works application programs open e-book class picture or according to The picture for playing video is opened in some push, the application of instant messaging class);The application program of second preset kind can be video class Application program, game class application program or e-book class application program etc., naturally it is also possible to which picture is determined according to the setting of user The first preset condition (such as oneself is set in the application program that night common application program is the second preset kind) met, The present invention is not especially limit this.
S203, terminal show the first picture in second display screen.
Optionally, before the first picture is shown in second display screen, second display screen can show content, can also not It shows content (putting out screen), the present invention is not especially limit this.
It is appreciated that terminal is not necessarily to turn down the first of terminal according to environment after showing the first picture in second display screen The display brightness of display screen can increase light according to the first picture shown in second display screen for environment locating for terminal.
Display methods provided in an embodiment of the present invention, firstly, in the case where showing the first picture in the first display screen, eventually The brightness of end detection light, light are the light of terminal local environment;In the case where brightness is lower than preset threshold, if first draws Face meets the first preset condition, then terminal determines the first picture according to the first picture.Finally, terminal is shown in second display screen First picture.Wherein, the first preset condition includes at least one of following conditions:First picture is the picture of the first preset kind Face and the first picture are the picture shown by the application program of the second preset kind.Since second display screen shows One picture can provide light source according to the first picture of display for the first display screen, to improve the light of terminal local environment Brightness, therefore, when local environment light intensity is lower, terminal is not necessarily to the display brightness by reducing the first display screen to avoid First display screen display brightness is higher to sense of discomfort caused by user security risk, so that the display effect of terminal is preferable.
A kind of possible implementation, when showing changing picture, the present invention implement provide display methods S203 it It afterwards, can also include S204:
If the first screen switching shown in S204, the first display screen is the third picture for meeting the first preset condition, Terminal determines second picture according to third picture, and the first picture shown in second display screen is switched to second picture.
It is appreciated that the picture shown in the first display screen of terminal can show different pictures with the variation of time Face, can also according to operation show different picture, when the picture that the first display screen show changes, terminal can basis The picture shown in screen switching second display screen is shown in first display screen, so that figure of second screen by display The increased light of piece more meets the demand of user, therefore the usage experience of user can be improved.
A kind of possible implementation, when showing changing picture, the present invention implement provide display methods S204 it It afterwards, further include S205:
If the first screen switching shown in S205, the first display screen is the second picture for not meeting the first preset condition, Then terminal cancels the first picture of display in second display screen or terminal control second display screen extinguishes.
It is understood that the second picture can be terminal, to exit after the picture of the first preset kind non-second shown pre- If picture or be switched to desktop that the application program of type is shown, after the application program of the second preset kind can also being switched to Platform shows the picture of other types application program, or user's operation terminal, so that the first display screen of terminal control extinguishes, The present invention is not especially limit this.
Based on the program, when showing changing picture, the first screen switching for showing in the first display screen is not meet the When the second picture of one preset condition, if terminal cancels the first picture of display in second display screen, can terminal be continued Continue to be shown in the display picture before the first picture in second display screen;It, can be with if terminal control second display screen extinguishes Controlling terminal rationally utilizes the resource in terminal, avoids the waste of resource.
Optionally, the present invention implements the display methods provided, " determining the first picture according to the first picture " tool in S202 Body can be realized by S202a1:
S202a1, terminal carry out virtualization and mirror image processing to the first picture, and to obtain first object picture, the first picture is First object picture.
It should be noted that can be by the corresponding display pattern of the first picture obtained in S202a1 in the embodiment of the present invention Referred to as " immerse mode ".In the environment of dark, the second display screen of terminal can use if using " immersing mode " The feeling of immersion for improving user, to improve the viewing experience of user.
Illustratively, terminal can first determine the picture 1 (that is, first picture) shown in the first display screen, then terminal Virtualization and mirror image processing are carried out further according to picture 1, is obtained picture 1 (i.e. the first picture), picture 1 is shown show second again by terminal In display screen.
Optionally, the present invention is implemented in the display methods provided, " determining the first picture according to the first picture " in S202 It can also be realized by S202a2:
S202a2, terminal determine first object figure according to the brightness of the first picture from the multiple pictures prestored in terminal Piece.
Optionally, the multiple pictures prestored in terminal are the brighter picture of color, can may be list for multicolor pictures Chromatic graph piece, during actual use, terminal can choose warm-toned monochromatic picture and show in the second display screen of terminal.
It should be noted that can be by the corresponding display pattern of the first picture obtained in S202a2 in the embodiment of the present invention Referred to as " eyeshield mode ".In the environment of dark, the second display screen of terminal can use if using " eyeshield mode " It shows that the first picture had not only improved the feeling of immersion of user, but also increases the light of terminal local environment, can not only reduce dark Environment in using terminal sense of discomfort caused by the eyes of user, the viewing experience of user can also be improved.
Illustratively, terminal can first determine the picture 1 shown in the first display screen, and then terminal is according to 1 brightness of picture, The picture 2 (that is, first picture) determined from the multiple pictures prestored in terminal.Such as the picture 2 of one yellow of selection, then Terminal shows the picture 2 in second display screen.
Optionally, the present invention is implemented in the display methods provided, " determining the first picture according to the first picture " in S202 It can also be realized by S202b1-S202b3:
S202b1, terminal carry out virtualization and mirror image processing to the first picture, to obtain the first sub-pictures.
It is understood that the virtualization in the embodiment of the present invention refers to the first picture carrying out Fuzzy Processing or filtering Processing is so that the obscure disclosure that the first picture is shown.
S202b2, terminal determine the second sub-pictures according to the brightness of the first picture from the multiple pictures prestored in terminal.
Illustratively, the second sub-pictures can choose the picture of warm colour, when the brightness of the first picture is lower (such as picture For the picture of black), then can choose brighter picture is the second sub-pictures.
It should be noted that size of the size of the second sub-pictures less than the first picture.
Optionally, user can select to need the second sub-pictures to be used in the terminal in advance.
Second sub-pictures are superimposed upon the central area of the first sub-pictures by S202b3, terminal, to obtain the first picture.
Illustratively, terminal can first determine the picture 1 shown in the first display screen first, then terminal to picture 1 into The picture 3 (that is, first sub-pictures) that row virtualization and mirror image processing obtain, terminal determine figure from the multiple pictures prestored in terminal Piece 4 (that is, second sub-pictures), later, (i.e. the first figure of picture 5 that terminal obtains the central area that picture 4 is superimposed upon picture 3 Piece), final terminal shows picture 5 in second display screen is shown.
Based on the program, terminal first can carry out virtualization to the first picture and mirror image processing obtains the first sub-pictures, then root The second sub-pictures are determined from the multiple pictures prestored in terminal according to the brightness of the first picture, are finally superimposed upon the second sub-pictures The central area of first sub-pictures obtains the first picture.
Optionally, the present invention is implemented in the display methods provided, " determining the first picture according to the first picture " in S202 It can also be realized by S202c1-S202c3:
S202c1, terminal determine the second sub-pictures according to the brightness of the first picture from the multiple pictures prestored in terminal.
Second sub-pictures are superimposed upon the central area of the first picture by S202c2, terminal, to obtain third sub-pictures.
It should be noted that the central area of the first picture is the first picture diagonal line intersection point shown in the first display screen For the region where the diagonal line intersection point of the second sub-pictures, wherein size of the size of the second sub-pictures less than the first picture, The size of two sub-pictures can be preset size, or the size of user's selection, the embodiment of the present invention do not make this to have Body limits.
Third sub-pictures are carried out virtualization and mirror image processing by S202c3, terminal, to obtain the first picture.
Illustratively, terminal can first determine the picture 1 shown in the first display screen first, and then terminal is according to picture 1 Brightness, from the multiple pictures prestored in terminal determine picture 6 (that is, second sub-pictures);Terminal to picture 1 carry out virtualization and Mirror image processing obtains picture 7 (that is, first sub-pictures);The picture 8 that terminal obtains the central area that picture 6 is superimposed upon picture 7 (that is, first picture), final terminal show picture 8 in second display screen is shown.
Based on the program, terminal can first determine the according to the brightness of the first picture from the multiple pictures prestored in terminal Two sub-pictures, the brightness further according to the first picture determines the second sub-pictures from the multiple pictures prestored in terminal, finally by the Three sub-pictures carry out virtualization and mirror image processing obtains the first picture.
It should be noted that can will be obtained in S202b1-S202b3 or S202c1-S202c3 in the embodiment of the present invention The corresponding display pattern of first picture is known as " mixed mode ".If in the environment of dark, if using " mixed mode " The second display screen that can use terminal increases the light of terminal local environment, makes in the environment so as to reduce dark With terminal sense of discomfort caused by the eyes of user.
It is appreciated that can also be with reference to the different modes reality of " determining second picture according to the first picture " in above-mentioned S202 " second picture is determined according to third picture " in existing above-mentioned S204.Specifically include following several implementations.
Optionally, the present invention implements " to determine the second figure according to third picture in above-mentioned S204 in the display methods provided Piece " can specifically be realized by S204a1:
S204a1, terminal carry out virtualization and mirror image processing to third picture, and to obtain the second Target Photo, second picture is Second Target Photo.
Optionally, the present invention implements " to determine the second figure according to third picture in above-mentioned S204 in the display methods provided Piece " can also be realized by S204a2:
S204a2, terminal determine the second Target Photo according to the brightness of third picture from multiple pictures.
Optionally, the present invention implements " to determine the second figure according to third picture in above-mentioned S204 in the display methods provided Piece " can also be realized by S204b1-S204b3:
S204b1, terminal carry out virtualization and mirror image processing to third picture, to obtain the 4th sub-pictures.
S204b2, terminal determine the 5th sub-pictures according to the brightness of third picture from the multiple pictures prestored in terminal.
4th sub-pictures are superimposed by S204b3, terminal with the 5th sub-pictures, to obtain second picture.
Optionally, the present invention implements " to determine the second figure according to third picture in above-mentioned S204 in the display methods provided Piece " can also be realized by S204c1-S204c3:
S204c1, terminal determine the 5th sub-pictures according to the brightness of third picture from the multiple pictures prestored in terminal.
Third picture and the 5th sub-pictures are superimposed by S204c2, terminal, to obtain the 6th sub-pictures.
6th sub-pictures are carried out virtualization and mirror image processing by S204c3, terminal, to obtain second picture.
Based on above scheme, terminal can choose a variety of methods of determination and determine second picture, to increase user's selection The flexibility that terminal is shown improves the experience of user.
Optionally, the mode of displaying target picture can be to show or gradually show immediately in the second screen;In the second screen The middle mode for cancelling Target Photo can show or gradually cancel display to cancel immediately;Wherein, Target Photo is the first picture Or second picture.
It is appreciated that can configure above-mentioned display method in the terminal the function of " atmosphere lamp ".Wherein, picture is obtained Different modes may be considered three kinds of operating modes of atmosphere lamp, be followed successively by " immersing mode ", " eyeshield mode " and " hybrid guided mode Formula ".Terminal can provide a user the interface of selection, and user can choose different operating modes, and certainly, user can also set Turning on atmosphere lamp when setting ambient light intensity locating for terminal lower than preset threshold (can choose any one mode second The first picture is shown in display screen).
Display methods based on the embodiment of the present invention, terminal can determine that second is aobvious according to the picture that the first screen is shown The picture that display screen is shown provides light according to the picture that second display screen is shown for the first display screen, can make the first display Screen avoids the reduction of display effect without turning down display brightness according to light.
Fig. 3 is a kind of possible structural schematic diagram of terminal provided in an embodiment of the present invention, as shown in figure 3, terminal 300 is wrapped It includes:Detection module 301, determining module 302 and display module 303;Detection module 301, for showing first in the first display screen In the case where picture, the brightness of light is detected, light is the light of terminal local environment;Determining module 302, in detection mould In the case that the brightness that block 301 detects is lower than preset threshold, if the first picture meets the first preset condition, drawn according to first Face determines the first picture;Display module 303, the first picture determined for showing determining module 302 in second display screen;Its In, the first preset condition includes at least one of following conditions:First picture is the picture and first of the first preset kind Picture is the picture shown by the application program of the second preset kind.
Optionally, in conjunction with Fig. 3, as shown in figure 4, terminal 300 further includes switching module 304;Determining module 302, is also used to If the first screen switching shown in the first display screen is the third picture for meeting the first preset condition, true according to third picture Determine second picture;Switching module 304, the first picture for will show in second display screen are switched to determining module 302 and determine Second picture.
Optionally, display module 303 is also used to:The first picture that determining module 302 determines is shown in second display screen Later, if the first screen switching shown in the first display screen is the second picture for not meeting the first preset condition, second Cancel the first picture that display determining module 302 determines in display screen, or control second display screen extinguishes.
Optionally, determining module 302 is specifically used for:Virtualization and mirror image processing are carried out to the first picture, to obtain the first mesh It marks on a map piece;Alternatively, determining first object picture from the multiple pictures prestored in terminal according to the brightness of the first picture;First Picture is first object picture.
Optionally, determining module 302 is specifically used for:Virtualization and mirror image processing are carried out to the first picture, to obtain the first son Picture;According to the brightness of the first picture, the second sub-pictures are determined from the multiple pictures prestored in terminal;Second sub-pictures are folded It is added in the central area of the first sub-pictures, to obtain the first picture.
Optionally, determining module 302 is specifically used for:According to the brightness of the first picture, multiple pictures for being prestored from terminal Middle the second sub-pictures of determination;Second sub-pictures are superimposed upon to the central area of the first picture, to obtain third sub-pictures;To third Sub-pictures carry out virtualization and mirror image processing, to obtain the first picture.
Optionally, determining module 302 is specifically used for:Virtualization and mirror image processing are carried out to third picture, to obtain the second mesh It marks on a map piece;Alternatively, determining the second Target Photo from the multiple pictures prestored in terminal according to the brightness of third picture;Second Picture is the second Target Photo.
Optionally, determining module 302 is specifically used for:Virtualization and mirror image processing are carried out to third picture, to obtain the second mesh It marks on a map piece;Alternatively, determining the second Target Photo from multiple pictures according to the brightness of third picture;Second picture is the second mesh It marks on a map piece.
Optionally, determining module 302 is specifically used for:Virtualization and mirror image processing are carried out to third picture, to obtain the 4th son Picture;According to the brightness of third picture, the 5th sub-pictures are determined from the multiple pictures prestored in terminal;By the 4th sub-pictures with 5th sub-pictures superposition, to obtain second picture.
Optionally, determining module 302 is specifically used for:According to the brightness of third picture, multiple pictures for being prestored from terminal Middle the 4th sub-pictures of determination;Third picture and the 4th sub-pictures are superimposed, to obtain the 6th sub-pictures, the 6th sub-pictures are carried out Virtualization and mirror image processing, to obtain two pictures.
Terminal 300 provided in an embodiment of the present invention can be realized each mistake that terminal is realized in above-mentioned display method embodiment Journey, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 5 terminal of each embodiment to realize the present invention, the terminal 100 include but not It is limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, the components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 5, and terminal may include than illustrating more More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, the brightness of light in the case where for showing the first picture in the first display screen, is detected in sensor 105, Light is the light of terminal local environment;Processor 110 is used in the case where brightness is lower than preset threshold, if the first picture Meet the first preset condition, then the first picture is determined according to the first picture;Display unit 106, for being shown in second display screen Show the first picture;Wherein, the first preset condition includes at least one of following conditions:First picture is the first preset kind Picture and the first picture are the picture shown by the application program of the second preset kind.
Terminal provided in an embodiment of the present invention detects light in the case where showing the first picture in the first display screen Brightness, light are the light of terminal local environment;In the case where brightness is lower than preset threshold, if the first picture meets first in advance If condition, then the first picture is determined according to the first picture;The first picture is shown in second display screen;Wherein, the first default item Part includes at least one of following conditions:First picture is the picture of the first preset kind and the first picture is by the The picture that the application program of two preset kinds is shown.It, can be according to the of display since second display screen shows the first picture One picture provides light source for the first display screen, to improve the light luminance of terminal local environment, therefore, terminal is in local environment When light intensity is lower, terminal be not necessarily to by reduce the first display screen display brightness come avoid the first display screen display brightness compared with Height is to sense of discomfort caused by user security risk, so that the display effect of terminal is preferable.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 100 executes.Sound Frequency output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 include touch panel 1071 and other Input equipment 1072.Touch panel 1071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072. Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Fig. 5, touch panel 1071 and display Panel 1061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically It is fixed.
Interface unit 108 is the interface that external device (ED) is connect with terminal 100.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 100 or can be used for terminal 100 and external device (ED) it Between transmit data.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 100 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, and in conjunction with Fig. 5, including processor 110, memory 109 is deposited The computer program that can be run on memory 109 and on processor 110 is stored up, which is executed by processor 110 Each process of Shi Shixian above-mentioned display method embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of display methods, is applied to terminal, the terminal includes the first display screen and second display screen, which is characterized in that The method includes:
In the case where showing the first picture in first display screen, the brightness of light is detected, the light is the terminal The light of local environment;
In the case where the brightness is lower than preset threshold, if first picture meets the first preset condition, according to First picture determines the first picture;
First picture is shown in the second display screen;
Wherein, first preset condition includes at least one of following conditions:First picture is the first preset kind Picture and first picture be the picture shown by the application program of the second preset kind.
2. the method according to claim 1, wherein described show first figure in the second display screen After piece, the method also includes:
If first screen switching shown in first display screen is not meet the second of first preset condition to draw Face then cancels in the second display screen and shows first picture, or the control second display screen extinguishes.
3. method according to claim 1 or 2, which is characterized in that it is described that first picture is determined according to first picture, Including:
Virtualization and mirror image processing are carried out to first picture, to obtain first object picture;Alternatively, according to first picture Brightness, from the multiple pictures prestored in the terminal determine first object picture;First picture is first mesh It marks on a map piece.
4. method according to claim 1 or 2, which is characterized in that it is described that first picture is determined according to first picture, Including:
Virtualization and mirror image processing are carried out to first picture, to obtain the first sub-pictures;
According to the brightness of first picture, the second sub-pictures are determined from the multiple pictures prestored in the terminal;
Second sub-pictures are superimposed upon to the central area of first sub-pictures, to obtain first picture.
5. method according to claim 1 or 2, which is characterized in that it is described that first picture is determined according to first picture, Including:
According to the brightness of first picture, the second sub-pictures are determined from the multiple pictures prestored in the terminal;
Second sub-pictures are superimposed upon to the central area of first picture, to obtain third sub-pictures;
Virtualization and mirror image processing are carried out to the third sub-pictures, to obtain first picture.
6. a kind of terminal, the terminal includes the first display screen and second display screen, which is characterized in that the terminal includes detection Module, determining module and display module;
The detection module, it is described for detecting the brightness of light in the case where first display screen shows the first picture Light is the light of the terminal local environment;
The determining module, in the case that the brightness for detecting in the detection module is lower than preset threshold, if institute It states the first picture and meets the first preset condition, then the first picture is determined according to first picture;
The display module, first picture determined for showing the determining module in the second display screen;
Wherein, first preset condition includes at least one of following conditions:First picture is the first preset kind Picture and first picture be the picture shown by the application program of the second preset kind.
7. terminal according to claim 6, which is characterized in that the display module is also used to:
After showing first picture that the determining module determines in the second display screen, if first display screen First screen switching of middle display is the second picture for not meeting first preset condition, then in the second display screen It is middle to cancel first picture for showing that the determining module determines, or the control second display screen extinguishing.
8. terminal according to claim 6 or 7, which is characterized in that the determining module is specifically used for:
Virtualization and mirror image processing are carried out to first picture, to obtain first object picture;Alternatively, according to first picture Brightness, from the multiple pictures prestored in the terminal determine first object picture;First picture is first mesh It marks on a map piece.
9. terminal according to claim 6 or 7, which is characterized in that the determining module is specifically used for:
Virtualization and mirror image processing are carried out to first picture, to obtain the first sub-pictures;
According to the brightness of first picture, the second sub-pictures are determined from the multiple pictures prestored in the terminal;
Second sub-pictures are superimposed upon to the central area of first sub-pictures, to obtain first picture.
10. terminal according to claim 6 or 7, which is characterized in that the determining module is specifically used for:
According to the brightness of first picture, the second sub-pictures are determined from the multiple pictures prestored in the terminal;
Second sub-pictures are superimposed upon to the central area of first picture, to obtain third sub-pictures;
Virtualization and mirror image processing are carried out to the third sub-pictures, to obtain first picture.
11. a kind of terminal, which is characterized in that the terminal includes processor, memory and is stored on the memory and can The computer program run on the processor realizes such as claim when the computer program is executed by the processor The step of display methods described in any one of 1-5.
CN201810523447.5A 2018-05-28 2018-05-28 Display method and terminal Active CN108845785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810523447.5A CN108845785B (en) 2018-05-28 2018-05-28 Display method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810523447.5A CN108845785B (en) 2018-05-28 2018-05-28 Display method and terminal

Publications (2)

Publication Number Publication Date
CN108845785A true CN108845785A (en) 2018-11-20
CN108845785B CN108845785B (en) 2021-06-15

Family

ID=64207885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810523447.5A Active CN108845785B (en) 2018-05-28 2018-05-28 Display method and terminal

Country Status (1)

Country Link
CN (1) CN108845785B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110444181A (en) * 2019-08-19 2019-11-12 Oppo广东移动通信有限公司 Display methods, device, terminal and computer readable storage medium
CN110737323A (en) * 2019-10-21 2020-01-31 Oppo(重庆)智能科技有限公司 Screen display method, device, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158577A (en) * 2011-02-21 2011-08-17 惠州Tcl移动通信有限公司 Mobile phone
CN104595792A (en) * 2013-11-01 2015-05-06 上海炯歌电子科技有限公司 Electronic book light source compensating device
CN105657267A (en) * 2016-04-22 2016-06-08 上海斐讯数据通信技术有限公司 Light-supplementing device and method for self-photography
US9622326B1 (en) * 2015-12-18 2017-04-11 Amazon Technologies, Inc. Method and device for determining emitted light intensity level
CN107277388A (en) * 2017-07-27 2017-10-20 青岛海信移动通信技术股份有限公司 Mobile terminal and its light compensation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158577A (en) * 2011-02-21 2011-08-17 惠州Tcl移动通信有限公司 Mobile phone
CN104595792A (en) * 2013-11-01 2015-05-06 上海炯歌电子科技有限公司 Electronic book light source compensating device
US9622326B1 (en) * 2015-12-18 2017-04-11 Amazon Technologies, Inc. Method and device for determining emitted light intensity level
CN105657267A (en) * 2016-04-22 2016-06-08 上海斐讯数据通信技术有限公司 Light-supplementing device and method for self-photography
CN107277388A (en) * 2017-07-27 2017-10-20 青岛海信移动通信技术股份有限公司 Mobile terminal and its light compensation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110444181A (en) * 2019-08-19 2019-11-12 Oppo广东移动通信有限公司 Display methods, device, terminal and computer readable storage medium
CN110444181B (en) * 2019-08-19 2021-01-08 Oppo广东移动通信有限公司 Display method, display device, terminal and computer-readable storage medium
CN110737323A (en) * 2019-10-21 2020-01-31 Oppo(重庆)智能科技有限公司 Screen display method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN108845785B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN108255378A (en) A kind of display control method and mobile terminal
CN108628565A (en) A kind of mobile terminal operating method and mobile terminal
CN109814975A (en) A kind of notification message display methods and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN110058649A (en) A kind of interface display method and terminal device
CN109379484A (en) A kind of information processing method and terminal
CN109085963A (en) A kind of interface display method and terminal device
CN109597551A (en) A kind of display control method and terminal device
CN109257505A (en) A kind of screen control method and mobile terminal
CN109857289A (en) Display control method and terminal device
CN110233933A (en) A kind of call method and terminal device
CN110162241A (en) A kind of message treatment method and terminal
CN110069180A (en) A kind of function control method and terminal device
CN109067949A (en) A kind of electronic equipment and its control method
CN109117037A (en) A kind of method and terminal device of image procossing
CN108681427A (en) A kind of method and terminal device of access privilege control
CN109194818A (en) A kind of information processing method and terminal
CN108845785A (en) A kind of display methods and terminal
CN110493451A (en) A kind of data transmission method and equipment
CN110049187A (en) A kind of display methods and terminal device
CN110058836A (en) A kind of output method and terminal device of audio signal
CN110225180A (en) A kind of content input method and terminal device
CN109889654A (en) A kind of information display method and terminal device
CN109656437A (en) A kind of information display method and terminal device
CN109117054A (en) A kind of display control 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