CN107864332A - Method for displaying image and device - Google Patents

Method for displaying image and device Download PDF

Info

Publication number
CN107864332A
CN107864332A CN201711081594.3A CN201711081594A CN107864332A CN 107864332 A CN107864332 A CN 107864332A CN 201711081594 A CN201711081594 A CN 201711081594A CN 107864332 A CN107864332 A CN 107864332A
Authority
CN
China
Prior art keywords
display screen
terminal
housing
image
front camera
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
CN201711081594.3A
Other languages
Chinese (zh)
Other versions
CN107864332B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711081594.3A priority Critical patent/CN107864332B/en
Publication of CN107864332A publication Critical patent/CN107864332A/en
Application granted granted Critical
Publication of CN107864332B publication Critical patent/CN107864332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method for displaying image and device, belong to electronic technology field.Methods described is used for the terminal with folding display screen and front camera, and methods described includes:Detect whether the display screen is in preset state, wherein, state of the preset state between deployed condition and folded state;When detecting that the display screen is in the preset state, the front camera collection image is controlled;The display screen is controlled to show described image.The present invention can solve the problem that the problem of operating procedure of terminal is relatively complicated, simplify the operating procedure of terminal, and the present invention is shown for image.

Description

Method for displaying image and device
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method for displaying image and device.
Background technology
With the development of electronic technology, the display screen of electronic equipment is increasing, for the ease of the carrying of electronic equipment, tool The terminal for having folding display screen is arisen at the historic moment, and the terminal is referred to as folding terminal.
In correlation technique, front camera is provided with terminal, and the front camera is arranged on terminal with display screen Same surface.User can click on the camera button of the display screen display of terminal, to control the front camera in terminal to adopt Collect the image of user, and control the display screen in terminal to show the image that front camera collects, enable a user to Looked in the mirror on the display screen of terminal.It should be noted that when the display screen of terminal is in folded state, if user needs Looked in the mirror on the display screen of terminal, then user needs to be first turned on terminal so that the display screen of terminal is changed into opening up from folded state Open state, need to click on the camera button on display screen afterwards.
Due in correlation technique, being in folded state in the display screen of terminal, and user is needed on the display screen of terminal When looking in the mirror, user needs to open a terminal and click on camera button, and terminal can just control front camera to gather image, and Control display screen shows the image, and therefore, the operating procedure of terminal is relatively complicated.
The content of the invention
This application provides a kind of method for displaying image and device, the operating procedure that can solve terminal relatively complicated is asked Topic.The technical scheme is as follows:
First aspect, there is provided a kind of method for displaying image, for folding display screen and front camera Terminal, methods described includes:
Detect whether the display screen is in preset state, wherein, the preset state is deployed condition and folded state Between state;
When detecting that the display screen is in the preset state, the front camera collection image is controlled;
The display screen is controlled to show described image.
Second aspect, there is provided a kind of image display device, for folding display screen and front camera Terminal, described image display device includes:
First detection module, for detecting whether the display screen is in preset state, wherein, the preset state is exhibition State between open state and folded state;
First control module, for when detecting that the display screen is in the preset state, control is described preposition to take the photograph As head collection image;
Second control module, for controlling the display screen to show described image.
The third aspect, there is provided a kind of terminal, the terminal include:
Processor;
For the memory for the executable instruction for storing the processor;
Front camera and folding display screen;
Wherein, the processor is configured as:
Detect whether the display screen is in preset state, wherein, the preset state is deployed condition and folded state Between state;
When detecting that the display screen is in the preset state, the front camera collection image is controlled;
The display screen is controlled to show described image.
A kind of fourth aspect, there is provided computer-readable recording medium, it is characterised in that the computer-readable storage medium Instruction is stored with matter, when the instruction is being run on the processor of computer so that the processor is able to carry out first Method for displaying image described in aspect.
5th aspect, there is provided a kind of computer program product for including instruction, when the computer program product is being counted When being run on calculation machine so that computer performs method for displaying image as described in relation to the first aspect.
The beneficial effect brought of technical scheme that the application provides is:
In summary, due in terminal control method provided in an embodiment of the present invention, terminal is detecting that display screen is in During preset state, front camera collection image and control display screen is just controlled to show the image, to realize looking in the mirror for terminal Subfunction.It that is to say, when user needs to look in the mirror on display screen in the terminal, directly can break display screen to preset shape State, without clicking on the camera button on display screen after display screen is moved, therefore, simplify the operating procedure of terminal.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of block diagram of terminal provided in an embodiment of the present invention;
Fig. 2 is the block diagram of another terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of method flow diagram of method for displaying image provided in an embodiment of the present invention;
Fig. 8 is a kind of deployed condition schematic diagram of display screen provided in an embodiment of the present invention;
Fig. 9 is a kind of folding process schematic diagram of display screen provided in an embodiment of the present invention;
Figure 10 is the folding process schematic diagram of another display screen provided in an embodiment of the present invention;
Figure 11 is the method flow diagram of another method for displaying image provided in an embodiment of the present invention;
Figure 12 is the method flow diagram of another method for displaying image provided in an embodiment of the present invention;
Figure 13 is a kind of structural representation of image display device provided in an embodiment of the present invention;
Figure 14 is the structural representation of another image display device provided in an embodiment of the present invention;
Figure 15 is the structural representation of another image display device provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Due to the less Portable belt of the terminal with big display screen, therefore, terminal can be made of flexible material so that Terminal is foldable, and then the terminal with big display screen is convenient for carrying.
Incorporated by reference to Fig. 1 and Fig. 2, it illustrates a kind of block diagram of terminal 100 provided in an embodiment of the present invention.The end End 100 can be smart mobile phone, tablet personal computer and e-book etc..Terminal 100 in the application can include one or more Such as lower component:Processor 110, memory 120 and touch display screen 130.
Processor 110 can include one or more processing core.Processor 110 utilizes various interfaces and connection Various pieces in whole terminal 100, by running or performing the instruction being stored in memory 120, program, code set or refer to Order collection, and the data being stored in memory 120 are called, perform the various functions and processing data of terminal 100.Alternatively, Processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, CPU mainly handles operating system, user interface and application program etc.;GPU is used to be responsible for The content of display rendering and drawing required for touch display screen 130;Modem is used to handle radio communication.It is appreciated that , above-mentioned modem can not also be integrated into processor 110, be realized separately through chip piece.
Memory 120 can include random access memory (RandomAccess Memory, RAM), can also include read-only deposit Reservoir (Read-Only Memory).Alternatively, the memory 120 includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 120 can be used for store instruction, program, generation Code, code set or instruction set.Memory 120 may include storing program area and storage data field, wherein, storing program area can store For realizing the instruction of operating system, instruction (such as touch controllable function, sound-playing function, image at least one function Playing function etc.), instruction for realizing following each embodiments of the method etc.;Storage data field can be stored according to terminal 100 Use created data (such as voice data, phone directory) etc..
So that operating system is Android (Android) system as an example, program and the data such as Fig. 1 institutes that are stored in memory 120 Show, Linux inner core 220, system operation storehouse layer 240, application framework layer 260 and application layer 280 are stored with memory 120. Linux inner core 220 provides the driving of bottom for the various hardware of terminal 100, such as shows driving, audio driven, camera Driving, bluetooth driving, Wi-Fi drivings, power management etc..System operation storehouse layer 240 is by some C/C++ storehouses come for Android System provides main characteristic and supported.As SQLite storehouses provide the support of database, OpenGL/ES storehouses provide 3D drawing Support, Webkit storehouses provide support of browser kernel etc..When Android operation is also provided with system operation storehouse layer 240 Storehouse (AndroidRuntime), it mainly provides some core libraries, can allow for developer using Java language to write Android is applied.Application framework layer 260 provides the various API that may be used during structure application program, and developer can also lead to Cross using these API to build the application program of oneself, for example activity management, window management, view management, notice manage, are interior Hold supplier, assure reason, call management, resource management, orientation management.Operation has at least one application program in application layer 280, These application programs can be contact person's program, short message program, timing routine, the camera applications etc. that operating system carries;Also may be used To be application program that third party developer is developed, such as instant messaging program, photograph pretty program etc..
So that operating system is IOS systems as an example, the program and data stored in memory 120 is as shown in Fig. 2 IOS systems Including:Kernel operating system layer 320 (Core OS layer), kernel service layer 340 (Core Services layer), media 360 (Media layer) of layer, tangible layer 380 (Cocoa Touch Layer).Kernel operating system layer 320 includes operation System kernel, driver and underlying programs framework, these underlying programs frameworks provide the function closer to hardware, for position Used in the program frame of kernel service layer 340.Kernel service layer 340 is supplied to the system service required for application program And/or program frame, such as basic (Foundation) framework, account framework, advertising framework, data storage framework, network company Connect framework, geographical position framework, moving frame etc..Media layer 360 provided for application program about audiovisual in terms of interface, such as The related interface of the related interface of the related interface of graph image, Audiotechnica, video technique, audio video transmission technology it is wireless Play (AirPlay) interface etc..Tangible layer 380 provides the related framework in various conventional interfaces for application development, Tangible layer 380 is responsible for the touch interactive operation of user on the terminal 100.Such as local notice service, long-range Push Service, extensively Accuse framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit frames Frame, map frame etc..
In framework illustrated in fig. 2, the framework relevant with major applications program includes but is not limited to:Kernel service layer The UIKit frameworks in basic framework and tangible layer 380 in 340.Basic framework provides many basic object class and data Type, provides most basic system service for all application programs, and UI unrelated.And the class that UIKit frameworks provide is basic UI class libraries, for creating the user interface based on touch, iOS application programs can provide UI based on UIKit frameworks, so it The architecture of application program is provided, for building user interface, drawing, processing and user mutual event, response gesture etc. Deng.
Touch display screen 130 is used to receive user using any suitable objects such as finger, felt pens on or near it Touch operation, and the user interface of each application program of display.Before touch display screen 130 is generally arranged at terminal 100 Panel.
As shown in figure 3, terminal 100 includes the first housing 41, the second housing 42 and is connected to the first housing 41 and second Connection component 43 between housing 42, the first housing 41 and the second housing 42 realize that upset folds by connection component 43.
First housing 41 includes the first supporting surface being connected with the touch display screen back side, and relative with the first supporting surface First back side, the second housing 42 include the second supporting surface being connected with the touch display screen back side, and relative with the second supporting surface Second back side.Accordingly, touch display screen includes the first viewing area 131, the second viewing area 132 and the 3rd viewing area 133, wherein, the position correspondence of the first viewing area 131 and the first housing 41, the second viewing area 132 and the second housing 42 Position correspondence, the 3rd viewing area 133 and the position correspondence of connection component 43.In one implementation, the first viewing area 131st, the second viewing area 132 and the 3rd viewing area 133 are made of flexible material, have certain flexible ductility; In another implementation, only the 3rd viewing area 133 is made of flexible material, and the first viewing area 131 and second is aobvious Show that region 132 is made of non-flexible material.
In a kind of optional implementation, the connection component 43 of terminal 100 uses Manual structure.User's manual separation When one housing 41 and the second housing 42, terminal 100 is changed into deployed condition from folded state;User closes up the He of the first housing 41 manually During the second housing 42, terminal 100 is changed into folded state from deployed condition.
In another optional implementation, the connection component 43 of terminal 100 uses electric structure, such as, connection group A kind of electronic rotation part of electro-motor is provided with part 43.Under the drive of electronic rotation part, the first housing 41 and Two housings 42 are realized automatically to be closed up or separates, so that terminal 100 possesses expansion and folds two states.
Divided according to whether touch display screen under folded state is exposed, terminal 100 can be divided into outer folding screen Terminal and interior folding screen terminal.Wherein:
Outer folding screen terminal
Outer folding screen terminal refers to that foldable angle is 180 °, and in a folded configuration, touch display screen is all exposed Terminal.As shown in figure 3, terminal 100 is outer folding screen terminal.Under deployed condition, the first support of the first housing 41 of terminal 100 Face and the second supporting surface of the second housing 42 are flush (i.e. angle is 180 °), and the first viewing area 131 of touch display screen, Second viewing area 132 and the 3rd viewing area 133 are generally aligned in the same plane;Terminal 100 is changed into folded state mistake from deployed condition Cheng Zhong, as shown in figure 3, first back side of the first housing 41 and second back side of the second housing 42 are mutually drawn close, the first supporting surface with The angle of second supporting surface is changed into 0 ° from 180 °;Under folded state, as shown in figure 4, first of the first housing 41 of terminal 100 Support face is parallel with the second supporting surface of the second housing 42 (angle of the first housing 41 and the second housing 42 is 0 °) so that touches Display screen is in U-shaped folded state, wherein, the 3rd viewing area 133 of touch display screen forms exposed U-shaped cambered surface.
In a kind of optional implementation, in a folded configuration, all or part of viewing area of touch display screen is used In display user interface.For example as shown in figure 4, under folded state, only the second viewing area 132 is used to show user interface, Or, only the 3rd viewing area 133 is used to show user interface.
Interior folding screen terminal
Interior folding screen terminal refers to that foldable angle is 180 °, and in a folded configuration, touch display screen (whole or portion Point) containing terminal.As shown in figure 5, terminal 100 is interior folding screen terminal.Under deployed condition, the first housing 41 of terminal 100 The first supporting surface and the second supporting surface of the second housing 42 be flush (i.e. angle is 180 °) so that touch display screen is in flat Face deployed condition (the first viewing area 131, the second viewing area 132 and the 3rd viewing area 133 are generally aligned in the same plane);Terminal During 100 are changed into folded state from deployed condition, as shown in figure 5, the first supporting surface of the first housing 41 and the second housing 42 The second supporting surface mutually draw close, i.e., the angle of the first supporting surface and the second supporting surface is changed into 0 ° from 180 °;Under folded state, terminal First supporting surface of 100 the first housing 41 is parallel with the second supporting surface of the second housing 42 so that touch display screen is in U Type folded state, wherein, the 3rd viewing area 133 of touch display screen forms containing U-shaped cambered surface.In a kind of optional realization In mode, in a folded configuration, whole viewing areas of touch display screen do not show user interface.
In addition to touch display screen is set on the supporting surface in housing, first back side of the first housing 41 and/or second shell Touch display screen can also be set on second back side of body 42.When interior folding screen terminal is in folded state, the housing back of the body is arranged on The touch display screen in face is used to show user interface, the user interface that the user interface is shown with touch display screen under deployed condition It is identical or different.
In other possible implementations, the foldable angle of terminal 100 can also be 360 ° (both can with infolding or With rolled over), and in a folded configuration, the exposed or containing terminal of touch display screen, the present embodiment is not limited to this.
In terminal 100 shown in Fig. 3 to Fig. 5, the first housing 41 and the size of the second housing 42 are same or like, terminal 100 Folding mode be referred to as symmetrical fold.In other possible implementations, the folding mode of terminal 100 can also be non-right Claim to fold.During using asymmetric folding, the size of the first housing 41 and the second housing 42 can different or size differ by more than threshold It is worth (such as 50% or 60% or 70%), accordingly, the area of the first viewing area 131 and the second viewing area in touch display screen The area in domain 132 differs by more than threshold value.
Schematically, as shown in fig. 6, terminal 100 is the outer folding screen terminal of asymmetric folding, the size of the first housing 41 More than the size of the second housing 42.Under folded state, the area of the first viewing area 131 is more than the face of the second viewing area 132 Product.
Fig. 3 into Fig. 6, only using terminal 100 include two housing sections and one be used to connecting the connection component of housing as Example is schematically illustrated (terminal is two folded structures), and in other possible implementations, terminal 100 can include n portions Housing parts and n-1 connection component, accordingly, 2n-1 blocks viewing area is included in the touch display screen of terminal 100, with being connected N-1 blocks viewing area is made of flexible material corresponding to component, so as to realize the terminal of n folded structures, the present embodiment to this not It is limited.
At least one miscellaneous part is additionally provided with terminal 100, at least one miscellaneous part includes:Camera, fingerprint Sensor, close to optical sensor, range sensor etc..In certain embodiments, at least one miscellaneous part is arranged on terminal 100 Front, side or the back side, for example fingerprint sensor is arranged on the back side of housing or side, (namely preposition taken the photograph camera As head) it is arranged on the top of touch display screen 130.
In further embodiments, at least one miscellaneous part can be integrated in inside or the lower floor of touch display screen 130. In certain embodiments, the receiver of osteoacusis formula is arranged on to the inside of terminal 100;By other on the front panel of conventional terminal Part is integrated in Zone Full or the subregion of touch display screen 130, for example the photo-sensitive cell in camera is split as After multiple photosensitive pixels, each photosensitive pixel is integrated in the black region in touch display screen 130 in each display pixel, So that touch display screen 130 possesses image collecting function.Due at least one miscellaneous part has been integrated in into touch display screen 130 Inside or lower floor, therefore terminal 100 has higher screen accounting.
In some optional embodiments, the single side of the center of terminal 100, or two sides (such as left and right two Side), or edge touch sensing is provided with four sides (such as four, upper and lower, left and right side), the edge touch-control passes Sensor is used to detect at least one of touch operation, clicking operation, pressing operation and the slide of user on center etc. Operation.The edge touch sensing can be any one in touch sensor, heating power sensor, pressure sensor etc..With Family can apply operation on edge touch sensing, and the application program in terminal 100 is controlled.
In addition, it will be understood by those skilled in the art that the structure of the terminal 100 shown by above-mentioned accompanying drawing is not formed Restriction to terminal 100, terminal can be included than illustrating more or less parts, either combine some parts or difference Part arrangement.For example also include radio circuit, input block, sensor, voicefrequency circuit, Wireless Fidelity in terminal 100 The parts such as (Wireless Fidelity, WiFi) module, power supply, bluetooth module, will not be repeated here.
Fig. 7 is a kind of method flow diagram of method for displaying image provided in an embodiment of the present invention, for folding The terminal of display screen and front camera, as shown in fig. 7, the method for displaying image can include:
Whether step 701, detection display screen are in preset state, and preset state is between deployed condition and folded state State.If display screen is in preset state, step 702 is performed;If display screen is not in preset state, step is performed 701。
Optionally, the method for displaying image can be used for terminal, and the terminal has folding display screen, and preposition Camera.Incorporated by reference to Fig. 3, Fig. 4 and Fig. 5, the terminal can include the first housing 131, the second housing 132 and be connected to first Connection component 133 between the housing 132 of housing 131 and second, the first housing 131 and the second housing 132 pass through connection component 133 Realize that upset folds.Fig. 8 is a kind of deployed condition schematic diagram of display screen provided in an embodiment of the present invention, and shown in Fig. 8 is aobvious The terminal schematic diagram that display screen is under deployed condition.As shown in figure 8, the first housing 131 can include connecting with the display screen X back side The the first supporting surface Y1 connect, the second housing 132 include the second supporting surface Y2 being connected with the display screen X back sides.Before in the terminal Put camera Z and display screen X and be arranged at the display side of terminal.
Terminal can detect the angle folding that the first supporting surface Y1 and the second supporting surface Y2 are formed in display side in step 701 Degree.Example, please continue to refer to Fig. 8, when the display screen X of terminal is in deployed condition, the supports of the first supporting surface Y1 and second Face Y2 is 180 degree in the folding angles that display side is formed.As shown in figure 9, when display screen X is to interior folding, first supporting surface The scope for the folding angles that Y1 and the second supporting surface Y2 is formed in display side is 180 degree to 0 degree (such as 90 degree).As shown in Figure 10, When display screen X is foldable outwardly, the scope for the folding angles that the first supporting surface Y1 and the second supporting surface Y2 are formed in display side It is 180 degree to 360 degree.
Predetermined angle scope can be previously stored with terminal, when the folding angles detected are located in the range of predetermined angle When, terminal can determine that the display screen in terminal is now in preset state.Wherein, 0 degree, 180 degree and 360 degree are respectively positioned on default Outside angular range.Example, when the display screen of terminal can be to interior folding, (such as terminal is interior folding screen terminal, or terminal To be capable of the terminal of 360 degree of foldings) when, the predetermined angle may range from:[90 degree~180 degree).When the display screen energy of terminal When being enough foldable outwardly when (such as terminal is outer folding screen terminal, or terminal is to be capable of the terminals of 360 degree of foldings), the predetermined angle It may range from:(180 degree~270 degree], or the predetermined angle may range from:[90 degree~180 degree) and [90 degree~ 180 degree).That is to say, the preset state for terminal state of the display screen between deployed condition to folded state, or from folding Overlapping state is to the state between deployed condition.
Step 702, control front camera collection image.Perform step 703.
Terminal is when detecting that display screen is in preset state, it may be determined that user is now needed on the display screen of terminal Look in the mirror, now, terminal can control the image (face image of such as user) of front camera collection user.
Step 703, control display screen display image.
Terminal can show what the front camera collected after control front camera collection image with control display screen Image, enable a user to see the image of oneself on the display screen, realize what is looked in the mirror on the display screen of terminal Effect.
Optionally, the front camera in terminal can be arranged on the first housing of terminal, and terminal is in control display screen During the image that display front camera collects, the image can be shown to be located at the region on first shell body in control display screen. Example, as shown in fig. 9 or 10, when the display screen of terminal is to interior folding, the second housing 132 can be placed on placed side, And first housing 131 can be with face user, front camera Z can be arranged on first housing 131.Now, terminal to Control display screen shows the images that collect of front camera Z, then terminal can be to be located on first shell body 131 in control display screen Region A show the image.
In method for displaying image provided in an embodiment of the present invention, when user needs to look in the mirror on display screen in end, And the display screen of terminal is when being in folded state, user can break the display screen of terminal as preset state, such as move display screen So that the first supporting surface and the second supporting surface of terminal are located in the range of predetermined angle in the angle that the display side of terminal is formed, with Triggering terminal controls front camera and display screen to realize mirror function.
In summary, due in terminal control method provided in an embodiment of the present invention, terminal is detecting that display screen is in During preset state, front camera collection image and control display screen is just controlled to show the image, to realize looking in the mirror for terminal Subfunction.It that is to say, when user needs to look in the mirror on display screen in the terminal, directly can break display screen to preset shape State, without clicking on the camera button on display screen after display screen is moved, therefore, simplify the operating procedure of terminal.
Figure 11 is the method flow diagram of another method for displaying image provided in an embodiment of the present invention, for foldable Display screen and front camera terminal, as shown in figure 11, the method for displaying image can include:
Whether step 1101, detection display screen are in preset state, and preset state is between deployed condition and folded state State.If display screen is in preset state, step 1102 is performed;If display screen is not in preset state, step is performed Rapid 1101.
It should be noted that step 1101 may be referred to step 701, the embodiment of the present invention will not be described here.
Step 1102, detection display screen keep the holding duration of preset state.
When terminal is detecting that display screen is in preset state, in order to further determine that user is now needed in terminal Display screen on look in the mirror, now terminal need further detection display screen keep preset state holding duration.
Step 1103, keep duration be more than preset duration when, control front camera gather image.
If terminal is detecting that display screen is in preset state, and the holding duration detected is more than preset duration, then eventually End can accurately determine that user now needs to look in the mirror on the display screen of terminal, and now, terminal can control preposition shooting The image (face image of such as user) of head collection user.Example, the preset duration can be 1 second.
Step 1104, control display screen display image.
It should be noted that step 1104 may be referred to step 703, the embodiment of the present invention will not be described here.
In method for displaying image provided in an embodiment of the present invention, when user needs to look in the mirror on display screen in end, And the display screen of terminal is when being in folded state, user can break the display screen of terminal as preset state, and control the display Holding duration of the screen in preset state is more than preset duration, controls front camera and display screen to realize mirror with triggering terminal Function.
In summary, due in terminal control method provided in an embodiment of the present invention, terminal is detecting that display screen is in Preset state, and when the holding duration of preset state is more than preset duration, just control front camera collection image and control Display screen shows the image, to realize the subfunction of looking in the mirror of terminal.That is, need to look in the mirror on display screen in the terminal in user The period of the day from 11 p.m. to 1 a.m, directly display screen can be broken as preset state, and be remained above the holding duration of preset duration, without breaking The camera button on display screen is clicked on after dynamic display screen, therefore, simplifies the operating procedure of terminal.
Figure 12 is the method flow diagram of another method for displaying image provided in an embodiment of the present invention, for foldable Display screen and front camera terminal, as shown in figure 12, the method for displaying image can include:
Whether step 1201, detection display screen are in preset state, and preset state is between deployed condition and folded state State.If display screen is in preset state, step 1202 is performed;If display screen is not in preset state, step is performed Rapid 1201.
It should be noted that step 1201 may be referred to step 701, the embodiment of the present invention will not be described here.
Step 1202, detection display screen keep the holding duration of preset state.
It should be noted that step 1202 may be referred to step 1102, the embodiment of the present invention will not be described here.
Step 1203, keep duration be more than preset duration when, the light intensity of the surrounding environment of detection terminal.
Because the premise that user looks in the mirror on the display screen of terminal is stronger for the light intensity of the surrounding environment of terminal, therefore, When detecting that display screen is in preset state, and keeping the duration to be more than preset duration, in order to further determine user now Need to look in the mirror on the display screen of terminal, now terminal also needs to the light intensity of the surrounding environment of further detection terminal.
Step 1204, when the light intensity of surrounding environment is more than default light intensity, control front camera collection image.
Detecting that display screen is in preset state, and keeping duration to be more than preset duration, and the surrounding environment light of terminal Powerful terminal can accurately determine that user now needs to look in the mirror on the display screen of terminal when default light intensity, now, eventually End can control the image of front camera collection user.
Step 1205, control display screen display image.
It should be noted that step 1205 may be referred to step 703, the embodiment of the present invention will not be described here.
In method for displaying image provided in an embodiment of the present invention, when user needs to look in the mirror on display screen in end, And the display screen of terminal, when being in folded state, user can be when the surrounding environment light of terminal be powerful stronger, by the aobvious of terminal Display screen is broken as preset state, and is controlled the display screen to be in the holding duration of preset state and be more than preset duration, with triggering terminal Control front camera and display screen realize mirror function.
It should be noted that in embodiments of the present invention, when terminal detects that display screen is in preset state, it is also necessary to Detection display screen maintains the light intensity of the surrounding environment for keeping duration and terminal of the preset state.In practical application, in terminal When detecting that display screen is in preset state, it can not also detect the holding duration, but the only surrounding environment of detection terminal Light intensity, and when detecting that display screen is in the light intensity of the surrounding environment of preset state and terminal more than default light intensity, before control Camera collection image is put, and control display screen display image, the embodiment of the present invention are not limited this.
In summary, due in terminal control method provided in an embodiment of the present invention, terminal is detecting that display screen is in Preset state, and the holding duration of preset state is more than preset duration, and the light intensity of the surrounding environment of terminal is more than default light intensity When, just control front camera collection image and control display screen to show the image, to realize the subfunction of looking in the mirror of terminal. It is that, when user needs to look in the mirror on display screen in the terminal, if the light intensity of the surrounding environment of terminal is stronger, user can Directly to break display screen for preset state, and the holding duration of preset duration is remained above, without moving display The camera button on display screen is clicked on after screen, therefore, simplifies the operating procedure of terminal.
Figure 13 is a kind of structural representation of image display device provided in an embodiment of the present invention, and the image display device can For the terminal with folding display screen and front camera, as shown in figure 13, the image display device 130 can be with Including:
First detection module 1301, for detecting whether display screen is in preset state, wherein, preset state is expansion shape State between state and folded state;
First control module 1302, for when detecting that display screen is in preset state, control front camera to gather Image;
Second control module 1303, for control display screen display image.
In summary, due in terminal control mechanism provided in an embodiment of the present invention, first detection module detect it is aobvious When display screen is in preset state, the first control module just controls front camera to gather image, and the second control module just controls aobvious Display screen shows the image, to realize the subfunction of looking in the mirror of terminal.It that is to say, need to look in the mirror on display screen in the terminal in user The period of the day from 11 p.m. to 1 a.m, directly display screen can be broken as preset state, without clicking on the camera on display screen after display screen is moved Button, therefore, simplify the operating procedure of terminal.
Optionally, terminal includes the first housing, the second housing and the company being connected between the first housing and the second housing Connected components, the first housing and the second housing realize that upset folds by connection component, and the first housing includes the back side with display screen First supporting surface of connection, the second housing include the second supporting surface being connected with the display screen back side, front camera and display screen The display side of terminal is arranged at, first detection module 1301 can be used for:
Detect the folding angles that the first supporting surface and the second supporting surface are formed in display side;
When the folding angles detected are located in the range of predetermined angle, determine that display screen is in preset state, wherein, 0 Degree, 180 degree and 360 degree are respectively positioned on outside predetermined angle scope.
Optionally, predetermined angle scope includes:[90 degree~180 degree).
Optionally, predetermined angle scope includes:(180 degree~270 degree].
Optionally, Figure 14 be another image display device provided in an embodiment of the present invention structural representation, such as Figure 14 Shown, on the basis of Figure 13, the image display device 130 can also include:
Second detection module 1304, the holding duration of preset state is kept for detecting display screen;
First control module 1302 can be used for:When keeping duration to be more than preset duration, control front camera collection Image.
Optionally, Figure 15 is the structural representation of another image display device provided in an embodiment of the present invention, such as Fig. 5 institutes Show, on the basis of Figure 14, the image display device 130 can also include:
3rd detection module 1305, the light intensity for the surrounding environment of detection terminal;
First control module 1302 can be used for:When the light intensity of surrounding environment is more than default light intensity, preposition shooting is controlled Head collection image.
Optionally, front camera is arranged on the first housing, and the second control module 1303 can be used for:Control display screen In with the region display image on the first housing.
In summary, due in terminal control mechanism provided in an embodiment of the present invention, first detection module detect it is aobvious Display screen is in preset state, and the second detection module is more than preset duration, and the 3rd in the holding duration for detecting preset state For detection module when detecting that the light intensity of surrounding environment of terminal is more than default light intensity, the first control module just controls preposition shooting Head collection image, the second control module shows the image with regard to control display screen, to realize the subfunction of looking in the mirror of terminal.It that is to say, When user needs to look in the mirror on display screen in the terminal, if the light intensity of the surrounding environment of terminal is stronger, user can be straight Connect and break display screen for preset state, and be remained above the holding duration of preset duration, without after display screen is moved The camera button on display screen is clicked on, therefore, simplifies the operating procedure of terminal.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When implemented in software, can realize in the form of a computer program product whole or in part, the computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or Partly produce according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, computer Network or other programmable devices.The computer instruction can be stored in the readable storage medium storing program for executing of computer, Huo Zhecong One computer-readable recording medium transmits to another computer-readable recording medium, for example, the computer instruction can Pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line) from a web-site, computer, server or data center Or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center. The computer-readable recording medium can be any usable medium that computer can access or can comprising one or more With data storage devices such as the integrated server of medium, data centers.The usable medium can be magnetic medium (for example, soft Disk, hard disk, tape), optical medium, or semiconductor medium (such as solid state hard disc) etc..
It should be noted that embodiment of the method provided in an embodiment of the present invention can mutually join with corresponding device embodiment Examine, the embodiment of the present invention is not limited this.The sequencing of embodiment of the method step provided in an embodiment of the present invention can enter The appropriate adjustment of row, step also according to circumstances can accordingly be increased and decreased, and any one skilled in the art is in this hair In the technical scope of bright exposure, the method that can readily occur in change should be all included within the scope of the present invention, therefore not Repeat again.
The foregoing is only the present invention alternative embodiment, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

  1. A kind of 1. method for displaying image, it is characterised in that for the terminal with folding display screen and front camera, Methods described includes:
    Detect whether the display screen is in preset state, wherein, the preset state is between deployed condition and folded state State;
    When detecting that the display screen is in the preset state, the front camera collection image is controlled;
    The display screen is controlled to show described image.
  2. 2. according to the method for claim 1, it is characterised in that the terminal includes the first housing, the second housing and company The connection component being connected between first housing and second housing, first housing pass through institute with second housing State connection component and realize that upset folds, first housing includes the first supporting surface being connected with the back side of the display screen, institute The second supporting surface that the second housing includes being connected with the display screen back side is stated, the front camera is all provided with the display screen Put whether the display side of the terminal, the detection display screen are in preset state, including:
    Detect the folding angles that first supporting surface and second supporting surface are formed in the display side;
    When the folding angles detected are located in the range of predetermined angle, determine that the display screen is in the default shape State, wherein, 0 degree, 180 degree and 360 degree are respectively positioned on outside the predetermined angle scope.
  3. 3. according to the method for claim 2, it is characterised in that
    The predetermined angle scope includes:[90 degree~180 degree).
  4. 4. according to the method in claim 2 or 3, it is characterised in that
    The predetermined angle scope includes:(180 degree~270 degree].
  5. 5. according to the method for claim 1, it is characterised in that
    Before the control front camera collection image, methods described also includes:
    Detect the holding duration that the display screen keeps the preset state;
    The control front camera collection image, including:
    When the holding duration is more than preset duration, the front camera collection image is controlled.
  6. 6. method according to claim 1 or 5, it is characterised in that
    Before the control front camera collection image, methods described also includes:
    Detect the light intensity of the surrounding environment of the terminal;
    The control front camera collection image, including:
    When the light intensity of the surrounding environment is more than default light intensity, the front camera collection image is controlled.
  7. 7. according to the method for claim 2, it is characterised in that the front camera is arranged on first housing, The control display screen shows described image, including:
    Control in the display screen and show described image with the region on first housing.
  8. A kind of 8. image display device, it is characterised in that for the terminal with folding display screen and front camera, Described image display device includes:
    First detection module, for detecting whether the display screen is in preset state, wherein, the preset state is expansion shape State between state and folded state;
    First control module, for when detecting that the display screen is in the preset state, controlling the front camera Gather image;
    Second control module, for controlling the display screen to show described image.
  9. 9. image display device according to claim 8, it is characterised in that the terminal includes the first housing, second shell Body and the connection component being connected between first housing and second housing, first housing and the second shell Body realizes that upset folds by the connection component, and first housing includes first be connected with the back side of the display screen Support face, second housing include the second supporting surface being connected with the display screen back side, and the front camera shows with described Display screen is arranged at the display side of the terminal, and the first detection module is used for:
    Detect the folding angles that first supporting surface and second supporting surface are formed in the display side;
    When the folding angles detected are located in the range of predetermined angle, determine that the display screen is in the default shape State, wherein, 0 degree, 180 degree and 360 degree are respectively positioned on outside the predetermined angle scope.
  10. 10. image display device according to claim 8, it is characterised in that
    Described image display device also includes:
    Second detection module, the holding duration of the preset state is kept for detecting the display screen;
    First control module is used for:
    When the holding duration is more than preset duration, the front camera collection image is controlled.
  11. 11. a kind of terminal, it is characterised in that the terminal includes:
    Processor;
    For the memory for the executable instruction for storing the processor;
    Front camera and folding display screen;
    Wherein, the processor is configured as:
    Detect whether the display screen is in preset state, wherein, the preset state is between deployed condition and folded state State;
    When detecting that the display screen is in the preset state, the front camera collection image is controlled;
    The display screen is controlled to show described image.
  12. A kind of 12. computer-readable recording medium, it is characterised in that instruction is stored with the computer-readable recording medium, When the instruction is being run on the processor of computer so that it is any described that the processor is able to carry out claim 1 to 7 Method for displaying image.
CN201711081594.3A 2017-11-07 2017-11-07 Image display method, device, terminal and computer readable storage medium Active CN107864332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711081594.3A CN107864332B (en) 2017-11-07 2017-11-07 Image display method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711081594.3A CN107864332B (en) 2017-11-07 2017-11-07 Image display method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107864332A true CN107864332A (en) 2018-03-30
CN107864332B CN107864332B (en) 2020-01-14

Family

ID=61701002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711081594.3A Active CN107864332B (en) 2017-11-07 2017-11-07 Image display method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107864332B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365910A (en) * 2019-08-06 2019-10-22 珠海格力电器股份有限公司 A kind of self-timer method, device and electronic equipment
CN110602406A (en) * 2019-09-29 2019-12-20 珠海格力电器股份有限公司 Countdown photographing method and device and image acquisition equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130124122A (en) * 2012-05-03 2013-11-13 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
CN105324807A (en) * 2013-06-19 2016-02-10 Lg电子株式会社 Foldable display device and method of controlling therefor
CN105511562A (en) * 2015-12-31 2016-04-20 京东方科技集团股份有限公司 Foldable display device, electronic equipment with same and control method of foldable display device
CN106101309A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of double-sided screen switching device and method, mobile terminal
CN107155004A (en) * 2017-04-26 2017-09-12 上海斐讯数据通信技术有限公司 A kind of terminal adjusting method and terminal
CN107168620A (en) * 2017-04-21 2017-09-15 北京小米移动软件有限公司 Method, device, terminal device and the computer-readable recording medium of control terminal
CN107247535A (en) * 2017-05-31 2017-10-13 北京小米移动软件有限公司 Intelligent mirror adjusting method, device and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130124122A (en) * 2012-05-03 2013-11-13 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
CN105324807A (en) * 2013-06-19 2016-02-10 Lg电子株式会社 Foldable display device and method of controlling therefor
CN105511562A (en) * 2015-12-31 2016-04-20 京东方科技集团股份有限公司 Foldable display device, electronic equipment with same and control method of foldable display device
CN106101309A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of double-sided screen switching device and method, mobile terminal
CN107168620A (en) * 2017-04-21 2017-09-15 北京小米移动软件有限公司 Method, device, terminal device and the computer-readable recording medium of control terminal
CN107155004A (en) * 2017-04-26 2017-09-12 上海斐讯数据通信技术有限公司 A kind of terminal adjusting method and terminal
CN107247535A (en) * 2017-05-31 2017-10-13 北京小米移动软件有限公司 Intelligent mirror adjusting method, device and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365910A (en) * 2019-08-06 2019-10-22 珠海格力电器股份有限公司 A kind of self-timer method, device and electronic equipment
CN110602406A (en) * 2019-09-29 2019-12-20 珠海格力电器股份有限公司 Countdown photographing method and device and image acquisition equipment

Also Published As

Publication number Publication date
CN107864332B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN107770477B (en) Video call method, device, terminal and storage medium
CN107765952B (en) Screen capturing method and device and terminal
CN107765971A (en) Method for displaying user interface and equipment
CN107844228A (en) Message display method, device and terminal
CN107728901A (en) interface display method, device and terminal
CN107766023A (en) Method for information display, device, terminal and storage medium
CN107770440A (en) Shoot interface display method, device and terminal
CN107678661A (en) The method and apparatus of display data content
CN107870724A (en) Display screen method of deploying, device and terminal
CN107589903A (en) The method and apparatus for showing more page number displaying information
CN107770312A (en) Method for information display, device and terminal
CN107704177A (en) interface display method, device and terminal
CN107765835A (en) Light the method, apparatus and terminal of screen
CN107846515A (en) shooting parameter adjustment method, device and terminal
CN107831999A (en) Screen control method, device and terminal
CN107870716A (en) The method and apparatus for calling background application
CN107728810A (en) Terminal control method, device, terminal and storage medium
CN107807773A (en) One kind is using attend to anything else method, apparatus, terminal and storage medium
CN107831993A (en) Control method for playing back, device, terminal and computer-readable recording medium
CN107682635A (en) Image capturing method, device, terminal and storage medium
CN107656578A (en) terminal control method, device, terminal and storage medium
CN107728885A (en) Control method, device, mobile terminal and the storage medium of multitask
CN107566579A (en) Image pickup method, device, terminal and storage medium
CN107807760A (en) Screen display method and device
CN107678826A (en) interface display method, device, mobile terminal and 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant