CN107864332B - Image display method, device, terminal and computer readable storage medium - Google Patents

Image display method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107864332B
CN107864332B CN201711081594.3A CN201711081594A CN107864332B CN 107864332 B CN107864332 B CN 107864332B CN 201711081594 A CN201711081594 A CN 201711081594A CN 107864332 B CN107864332 B CN 107864332B
Authority
CN
China
Prior art keywords
display screen
terminal
state
preset
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711081594.3A
Other languages
Chinese (zh)
Other versions
CN107864332A (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

Images

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

Abstract

The invention discloses an image display method and device, and belongs to the technical field of electronics. The method is used for a terminal with a foldable display screen and a front camera, and comprises the following steps: detecting whether the display screen is in a preset state or not, wherein the preset state is a state between an unfolded state and a folded state; when the display screen is detected to be in the preset state, controlling the front-facing camera to acquire an image; and controlling the display screen to display the image. The invention can solve the problem that the operation steps of the terminal are more complicated, simplifies the operation steps of the terminal and is used for image display.

Description

Image display method, device, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an image display method and apparatus.
Background
With the development of electronic technology, the display screen of electronic equipment is becoming larger and larger, and in order to facilitate carrying of the electronic equipment, a terminal with a foldable display screen is produced, and the terminal can also be called a foldable terminal.
In the related art, a front camera is disposed on a terminal, and the front camera and a display screen are disposed on the same surface of the terminal. The user can click the camera button that shows on the display screen of terminal to the leading camera on the control terminal gathers user's image, and the display screen on the control terminal shows the image that leading camera gathered, thereby makes the user can shine the mirror on the display screen of terminal. It should be noted that, when the display screen of the terminal is in the folded state, if the user needs to look into a mirror on the display screen of the terminal, the user needs to open the terminal first, so that the display screen of the terminal is changed from the folded state to the unfolded state, and then needs to click a camera button on the display screen.
Because in the correlation technique, the display screen at the terminal is in fold condition, and when the user need take a mirror on the display screen at the terminal, the user need open the terminal and click the camera button, and the terminal just can control leading camera and gather the image to and control the display screen and show this image, consequently, the operating procedure at terminal is comparatively loaded down with trivial details.
Disclosure of Invention
The application provides an image display method and device, which can solve the problem that the operation steps of a terminal are complicated. The technical scheme is as follows:
in a first aspect, an image display method is provided for a terminal having a foldable display screen and a front camera, the method including:
detecting whether the display screen is in a preset state or not, wherein the preset state is a state between an unfolded state and a folded state;
when the display screen is detected to be in the preset state, controlling the front-facing camera to acquire an image;
and controlling the display screen to display the image.
In a second aspect, there is provided an image display device for a terminal having a foldable display screen and a front camera, the image display device comprising:
the display screen comprises a first detection module, a second detection module and a display module, wherein the first detection module is used for detecting whether the display screen is in a preset state or not, and the preset state is a state between an unfolded state and a folded state;
the first control module is used for controlling the front camera to acquire images when the display screen is detected to be in the preset state;
and the second control module is used for controlling the display screen to display the image.
In a third aspect, a terminal is provided, where the terminal includes:
a processor;
a memory for storing executable instructions of the processor;
the device comprises a front camera and a foldable display screen;
wherein the processor is configured to:
detecting whether the display screen is in a preset state or not, wherein the preset state is a state between an unfolded state and a folded state;
when the display screen is detected to be in the preset state, controlling the front-facing camera to acquire an image;
and controlling the display screen to display the image.
In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a processor of a computer, the processor is enabled to execute the image display method according to the first aspect.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the image display method according to the first aspect.
The beneficial effect that technical scheme that this application provided brought is:
in summary, in the terminal control method provided in the embodiment of the present invention, when the terminal detects that the display screen is in the preset state, the front-facing camera is controlled to collect an image and the display screen is controlled to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, the display screen can be directly broken into a preset state without clicking a camera button on the display screen after the display screen is broken, so that the operation steps of the terminal are simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 2 is a block diagram of another terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal provided in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
FIG. 7 is a flowchart of a method of displaying an image according to an embodiment of the present invention;
fig. 8 is a schematic view illustrating an unfolded state of a display screen according to an embodiment of the present invention;
fig. 9 is a schematic view illustrating a folding process of a display screen according to an embodiment of the present invention;
FIG. 10 is a schematic view of another display screen folding process provided by the embodiment of the invention;
FIG. 11 is a flowchart of another method for displaying images according to an embodiment of the present invention;
FIG. 12 is a flowchart of a method of displaying an image according to another embodiment of the present invention;
fig. 13 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of another image display device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of another image display device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Because the terminal with the large display screen is inconvenient to carry, the terminal can be made of flexible materials, so that the terminal can be folded, and the terminal with the large display screen is convenient to carry.
Referring to fig. 1 and fig. 2, a block diagram of a terminal 100 according to an embodiment of the present invention is shown. The terminal 100 may be a smart phone, a tablet computer, an e-book, and the like. The terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed by the touch display screen 130; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a single chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 100, and the like.
Taking an operating system as an Android (Android) system as an example, programs and data stored in the memory 120 are shown in fig. 1, and a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260, and an application layer 280 are stored in the memory 120. The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 240 provides the main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime layer 240 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 260 provides various APIs that may be used in building applications, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 280, and the application programs may be a contact program, a short message program, a clock program, a camera application, etc. of the operating system; or an application program developed by a third-party developer, such as an instant messaging program, a photo beautification program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 2, and the IOS system includes: a Core operating system Layer 320(Core OS Layer), a Core Services Layer 340(Core Services Layer), a Media Layer 360(Media Layer), and a touchable Layer 380(Cocoa Touch Layer). The kernel operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the kernel services layer 340. The core services layer 340 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, that are needed by the application. The media layer 360 provides audiovisual interfaces for applications, such as graphics-related interfaces, audio-related interfaces, video-related interfaces, and audio/video transmission technology wireless broadcast (AirPlay) interfaces. The touchable layer 380 provides various common interface-related frameworks for application development, and the touchable layer 380 is responsible for user touch interaction operations on the terminal 100. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 2, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 340 and a UIKit framework in the touchable layer 380. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The touch display screen 130 is used for receiving a touch operation of a user on or near the touch display screen using any suitable object such as a finger, a touch pen, or the like, and displaying a user interface of each application program. The touch display 130 is generally provided at a front panel of the terminal 100.
As shown in fig. 3, the terminal 100 includes a first housing 41, a second housing 42, and a connecting assembly 43 connected between the first housing 41 and the second housing 42, and the first housing 41 and the second housing 42 are folded upside down by the connecting assembly 43.
The first housing 41 includes a first supporting surface connected to the back surface of the touch display screen and a first back surface opposite to the first supporting surface, and the second housing 42 includes a second supporting surface connected to the back surface of the touch display screen and a second back surface opposite to the second supporting surface. Accordingly, the touch display screen includes a first display area 131, a second display area 132 and a third display area 133, wherein the first display area 131 corresponds to the position of the first housing 41, the second display area 132 corresponds to the position of the second housing 42, and the third display area 133 corresponds to the position of the connecting assembly 43. In one implementation, the first display region 131, the second display region 132 and the third display region 133 are made of flexible materials and have a certain expansion and contraction ductility; in another implementation, only the third display region 133 is made of a flexible material, and the first and second display regions 131 and 132 are made of a non-flexible material.
In an alternative implementation, the connection assembly 43 of the terminal 100 is of a manual construction. When the user manually separates the first casing 41 and the second casing 42, the terminal 100 is changed from the folded state to the unfolded state; when the user manually closes the first housing 41 and the second housing 42, the terminal 100 changes from the unfolded state to the folded state.
In an alternative implementation, the connection assembly 43 of the terminal 100 is of an electric construction, for example, the connection assembly 43 is provided with an electric rotating member such as an electric motor. Under the driving of the electric rotating component, the first housing 41 and the second housing 42 automatically close or separate, so that the terminal 100 has two states of unfolding and folding.
The terminal 100 may be divided into an outer folder terminal and an inner folder terminal according to whether the touch display screen is exposed in a folded state. Wherein:
external folding screen terminal
The outer folding screen terminal is a terminal which has a folding angle of 180 degrees and is completely exposed out of the touch display screen in a folding state. As shown in fig. 3, the terminal 100 is an outer folder screen terminal. In the unfolded state, the first supporting surface of the first casing 41 of the terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle is 180 °), and the first display area 131, the second display area 132 and the third display area 133 of the touch display screen are located on the same plane; in the process of the terminal 100 changing from the unfolded state to the folded state, as shown in fig. 3, the first back surface of the first housing 41 and the second back surface of the second housing 42 are close to each other, and the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °; in the folded state, as shown in fig. 4, the first supporting surface of the first casing 41 of the terminal 100 is parallel to the second supporting surface of the second casing 42 (the included angle between the first casing 41 and the second casing 42 is 0 °), so that the touch display screen is in a U-shaped folded state, in which the third display area 133 of the touch display screen forms an exposed U-shaped arc surface.
In an alternative implementation, in the folded state, all or part of the display area of the touch display screen is used for displaying the user interface. For example, as shown in fig. 4, in the folded state, only the second display region 132 is used to display the user interface, or only the third display region 133 is used to display the user interface.
Terminal with internal folding screen
The inner-folding-screen terminal refers to a terminal that can be folded at an angle of 180 ° and in a folded state, the touch display screen is (entirely or partially) converged. As shown in fig. 5, the terminal 100 is an inner folder screen terminal. In the unfolded state, the first supporting surface of the first casing 41 of the terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle is 180 °), so that the touch display screen is in a planar unfolded state (the first display area 131, the second display area 132 and the third display area 133 are located on the same plane); in the process of the terminal 100 changing from the unfolded state to the folded state, as shown in fig. 5, the first supporting surface of the first housing 41 and the second supporting surface of the second housing 42 are close to each other, that is, the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °; in the folded state, the first supporting surface of the first housing 41 of the terminal 100 is parallel to the second supporting surface of the second housing 42, so that the touch display screen is in a U-shaped folded state in which the third display area 133 of the touch display screen forms a U-shaped arc surface that is inwardly converged. In an alternative implementation, in the folded state, no user interface is displayed in all display areas of the touch display screen.
In addition to providing a touch display screen on the support surface of the housing, a touch display screen may also be provided on the first back surface of the first housing 41 and/or the second back surface of the second housing 42. When the inner folding screen terminal is in a folding state, the touch display screen arranged on the back face of the shell is used for displaying a user interface, and the user interface is the same as or different from the user interface displayed by the touch display screen in an unfolding state.
In other possible implementations, the foldable angle of the terminal 100 may also be 360 ° (both inward and outward), and in the folded state, the touch display screen is exposed or converged on the terminal, which is not limited in this embodiment.
In the terminal 100 shown in fig. 3 to 5, the first housing 41 and the second housing 42 have the same or similar size, and the folding manner of the terminal 100 is called symmetrical folding. In other possible implementations, the terminal 100 may also be folded asymmetrically. When the asymmetric folding is adopted, the sizes of the first casing 41 and the second casing 42 may be different or different by more than a threshold (for example, 50% or 60% or 70%), and accordingly, the area of the first display region 131 in the touch display screen is different from the area of the second display region 132 by more than a threshold.
Illustratively, as shown in fig. 6, the terminal 100 is an asymmetrically folded outer folded screen terminal, and the first housing 41 has a size larger than that of the second housing 42. In the folded state, the area of the first display region 131 is larger than that of the second display region 132.
In fig. 3 to 6, only taking the terminal 100 as an example that includes two parts of a housing and a connecting assembly for connecting the housing (the terminal is in a two-fold structure), in other possible implementations, the terminal 100 may include n parts of the housing and n-1 connecting assemblies, and accordingly, the touch display screen of the terminal 100 includes 2n-1 display areas, and the n-1 display areas corresponding to the connecting assemblies are made of a flexible material, so as to implement the terminal in the n-fold structure, which is not limited in this embodiment.
At least one other component is also provided in the terminal 100, the at least one other component including: cameras, fingerprint sensors, proximity light sensors, distance sensors, etc. In some embodiments, at least one other component is disposed on the front, side, or back of the terminal 100, such as a fingerprint sensor disposed on the back or side of the housing, a camera (i.e., a front facing camera) disposed above the touch display screen 130.
In other embodiments, at least one other component may be integrated within or below the touch screen display 130. In some embodiments, a bone conduction earpiece is provided inside the terminal 100; other components on the front panel of the conventional terminal are integrated in the whole area or a partial area of the touch display screen 130, for example, after a photosensitive element in the camera is split into a plurality of photosensitive pixels, each photosensitive pixel is integrated in a black area in each display pixel in the touch display screen 130, so that the touch display screen 130 has an image capturing function. The terminal 100 has a higher screen occupation ratio due to the integration of at least one other component within or under the touch display screen 130.
In some optional embodiments, an edge touch sensor is disposed on a single side, or two sides (e.g., two left and right sides), or four sides (e.g., four upper, lower, left and right sides) of the middle frame of the terminal 100, and is configured to detect at least one of a touch operation, a click operation, a press operation, a slide operation, and the like of a user on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user may apply operations on the edge touch sensor to control the application in the terminal 100.
In addition, those skilled in the art will appreciate that the configuration of terminal 100 as illustrated in the above-described figures is not intended to be limiting of terminal 100, and that terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 100 further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
Fig. 7 is a flowchart of an image display method according to an embodiment of the present invention, for a terminal having a foldable display screen and a front camera, as shown in fig. 7, the image display method may include:
step 701, detecting whether the display screen is in a preset state, wherein the preset state is a state between an unfolding state and a folding state. If the display screen is in the preset state, executing step 702; if the display screen is not in the preset state, step 701 is executed.
Alternatively, the image display method may be applied to a terminal having a foldable display screen and a front camera. Referring to fig. 3, 4 and 5, the terminal may include a first housing 131, a second housing 132 and a connecting assembly 133 connected between the first housing 131 and the second housing 132, wherein the first housing 131 and the second housing 132 are folded by the connecting assembly 133. Fig. 8 is a schematic view of an expanded state of a display screen according to an embodiment of the present invention, and fig. 8 is a schematic view of a terminal in which the display screen is in the expanded state. As shown in fig. 8, the first housing 131 may include a first supporting surface Y1 connected to the rear surface of the display screen X, and the second housing 132 includes a second supporting surface Y2 connected to the rear surface of the display screen X. A front camera Z and a display screen X in the terminal are both arranged on the display side of the terminal.
The terminal may detect a folding angle formed by the first support plane Y1 and the second support plane Y2 at the display side in step 701. For example, with continuing reference to fig. 8, when the display screen X of the terminal is in the unfolded state, the folding angle formed by the first supporting plane Y1 and the second supporting plane Y2 on the display side is 180 degrees. As shown in fig. 9, when the display screen X is folded inward, the folding angle formed by the first supporting surface Y1 and the second supporting surface Y2 on the display side ranges from 180 degrees to 0 degrees (e.g., 90 degrees). As shown in fig. 10, when the display screen X is folded outward, the folding angle formed by the first supporting surface Y1 and the second supporting surface Y2 on the display side ranges from 180 degrees to 360 degrees.
The terminal can be prestored with a preset angle range, and when the detected folding angle is within the preset angle range, the terminal can determine that the display screen in the terminal is in a preset state at the moment. Wherein, 0 degree, 180 degrees and 360 degrees are all located outside the preset angle range. For example, when the display screen of the terminal can be folded inward (e.g., the terminal is an inward-folding screen terminal, or the terminal is a terminal capable of being folded by 360 degrees), the preset angle range may be: [ 90-180 degrees ]. When the display screen at terminal can be outwards folded (if the terminal is outer folding screen terminal, or the terminal is terminal that can 360 degrees foldings), this preset angle scope can be: (180-270 degrees), or the preset angle range can be [ 90-180 degrees ] and [ 90-180 degrees ]. That is, the preset state is a state in which the display screen of the terminal is between the unfolded state and the folded state, or a state between the folded state and the unfolded state.
And step 702, controlling the front camera to acquire an image. Step 703 is performed.
When the terminal detects that the display screen is in the preset state, it can be determined that the user needs to look into a mirror on the display screen of the terminal at the moment, and at the moment, the terminal can control the front camera to collect images of the user (such as face images of the user).
And step 703, controlling the display screen to display the image.
The terminal can control the display screen to display the image collected by the front camera after controlling the front camera to collect the image, so that a user can see the image on the display screen, and the mirror-looking effect on the display screen of the terminal is realized.
Optionally, a front-facing camera in the terminal may be disposed on a first housing of the terminal, and when the terminal controls the display screen to display an image collected by the front-facing camera, the terminal may control an area on the first housing in the display screen to display the image. For example, as shown in fig. 9 or 10, when the display screen of the terminal is folded inward, the second housing 132 may be placed on the placement surface, the first housing 131 may face the user, and the front camera Z may be disposed on the first housing 131. At this time, if the terminal wants to control the display screen to display the image collected by the front camera Z, the terminal may control the area a on the first housing 131 in the display screen to display the image.
In the image display method provided by the embodiment of the invention, when a user needs to look a mirror on a display screen in a terminal and the display screen of the terminal is in a folded state, the user can turn the display screen of the terminal into a preset state, for example, the display screen is turned off so that an included angle formed by a first supporting surface and a second supporting surface of the terminal on a display side of the terminal is within a preset angle range, so as to trigger the terminal to control a front camera and the display screen to realize the mirror function.
In summary, in the terminal control method provided in the embodiment of the present invention, when the terminal detects that the display screen is in the preset state, the front-facing camera is controlled to collect an image and the display screen is controlled to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, the display screen can be directly broken into a preset state without clicking a camera button on the display screen after the display screen is broken, so that the operation steps of the terminal are simplified.
Fig. 11 is a flowchart of another image display method provided in an embodiment of the present invention, for a terminal having a foldable display screen and a front camera, as shown in fig. 11, the image display method may include:
step 1101, detecting whether the display screen is in a preset state, wherein the preset state is a state between an unfolding state and a folding state. If the display screen is in the preset state, executing step 1102; if the display screen is not in the preset state, step 1101 is executed.
It should be noted that step 1101 may refer to step 701, and details of the embodiment of the present invention are not described herein.
Step 1102, detecting a holding time length of the display screen in a preset state.
When the terminal detects that the display screen is in the preset state, the terminal needs to further detect the holding duration of the display screen in the preset state for further determining that the user needs to look into a mirror on the display screen of the terminal at the moment.
And 1103, controlling the front camera to acquire an image when the holding time is longer than the preset time.
If the terminal detects that the display screen is in a preset state and the detected holding time is longer than the preset time, the terminal can accurately determine that the user needs to look into a mirror on the display screen of the terminal at the moment, and at the moment, the terminal can control the front camera to collect images of the user (such as face images of the user). For example, the preset time period may be 1 second.
And step 1104, controlling the display screen to display the image.
It should be noted that step 1104 may refer to step 703, and details of the embodiment of the present invention are not described herein.
In the image display method provided by the embodiment of the invention, when a user needs to look a mirror on a display screen in a terminal and the display screen of the terminal is in a folded state, the user can break the display screen of the terminal into a preset state and control the holding time of the display screen in the preset state to be longer than the preset time so as to trigger the terminal to control the front camera and the display screen to realize the mirror function.
In summary, in the terminal control method provided in the embodiment of the present invention, when the terminal detects that the display screen is in the preset state and the holding time of the preset state is longer than the preset time, the front-facing camera is controlled to collect an image and the display screen is controlled to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, the display screen can be directly broken into a preset state, the holding time longer than the preset time is kept, and a camera button on the display screen does not need to be clicked after the display screen is broken, so that the operation steps of the terminal are simplified.
Fig. 12 is a flowchart of a method of another image display method according to an embodiment of the present invention, for a terminal having a foldable display screen and a front camera, as shown in fig. 12, the image display method may include:
step 1201, detecting whether the display screen is in a preset state, wherein the preset state is a state between an unfolding state and a folding state. If the display screen is in the preset state, step 1202 is executed; if the display screen is not in the preset state, step 1201 is executed.
It should be noted that step 701 may be referred to in step 1201, and details of the embodiment of the present invention are not described herein.
And 1202, detecting the holding time of the display screen in the preset state.
It should be noted that step 1202 may refer to step 1102, and details of the embodiment of the present invention are not described herein.
Step 1203, detecting light intensity of the surrounding environment of the terminal when the keeping time length is longer than the preset time length.
Because the prerequisite that the user looked at the mirror on the display screen at terminal is that the light intensity of the surrounding environment at terminal is stronger, consequently, when detecting that the display screen is in the preset state, and keep for a long time and be greater than when presetting for a long time, need look at the mirror on the display screen at terminal this moment for further definite user, the terminal still need further detect the light intensity of the surrounding environment at terminal this moment.
And 1204, controlling the front camera to collect the image when the light intensity of the surrounding environment is greater than the preset light intensity.
When the display screen is detected to be in a preset state, the holding time is longer than the preset time, and the light intensity of the surrounding environment of the terminal is larger than the preset light intensity, the terminal can accurately determine that a user needs to look into a mirror on the display screen of the terminal at the moment, and at the moment, the terminal can control the front camera to collect images of the user.
And step 1205, controlling the display screen to display the image.
It should be noted that, in step 1205, reference may be made to step 703, and details of the embodiment of the present invention are not described herein.
In the image display method provided by the embodiment of the invention, when a user needs to look a mirror on a display screen in a terminal and the display screen of the terminal is in a folded state, the user can break the display screen of the terminal into a preset state when the ambient light intensity of the terminal is strong, and control the holding time of the display screen in the preset state to be longer than the preset time so as to trigger the terminal to control the front camera and the display screen to realize the mirror function.
It should be noted that, in the embodiment of the present invention, when the terminal detects that the display screen is in the preset state, it is further required to detect a holding time period for the display screen to maintain the preset state and a light intensity of an ambient environment of the terminal. In practical application, when the terminal detects that the display screen is in the preset state, the holding time duration may not be detected, but only the light intensity of the surrounding environment of the terminal is detected, and when the terminal detects that the display screen is in the preset state and the light intensity of the surrounding environment of the terminal is greater than the preset light intensity, the front-facing camera is controlled to acquire an image, and the display screen is controlled to display the image.
In summary, in the terminal control method provided in the embodiment of the present invention, when the terminal detects that the display screen is in the preset state, the holding time of the preset state is longer than the preset time, and the light intensity of the ambient environment of the terminal is greater than the preset light intensity, the front-facing camera is controlled to collect an image and the display screen is controlled to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, if the light intensity of the surrounding environment of the terminal is strong, the user can directly break the display screen into a preset state and keep the duration of the holding time longer than the preset duration, and does not need to click a camera button on the display screen after the display screen is broken, so that the operation steps of the terminal are simplified.
Fig. 13 is a schematic structural diagram of an image display apparatus according to an embodiment of the present invention, where the image display apparatus may be used in a terminal having a foldable display screen and a front camera, as shown in fig. 13, the image display apparatus 130 may include:
the first detection module 1301 is configured to detect whether the display screen is in a preset state, where the preset state is a state between an unfolded state and a folded state;
the first control module 1302 is configured to control the front-facing camera to acquire an image when detecting that the display screen is in a preset state;
and the second control module 1303 is used for controlling the display screen to display the image.
In summary, in the terminal control device provided in the embodiment of the present invention, when the first detection module detects that the display screen is in the preset state, the first control module controls the front-facing camera to collect an image, and the second control module controls the display screen to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, the display screen can be directly broken into a preset state without clicking a camera button on the display screen after the display screen is broken, so that the operation steps of the terminal are simplified.
Optionally, the terminal includes first casing, second casing and connects the coupling assembling between first casing and second casing, and first casing passes through the coupling assembling with the second casing and realizes that the upset is folding, and first casing includes the first holding surface with the back connection of display screen, and the second casing includes the second holding surface with the back connection of display screen, and leading camera all sets up the demonstration side at the terminal with the display screen, and first detection module 1301 can be used for:
detecting a folding angle formed by the first supporting surface and the second supporting surface on the display side;
when the detected folding angle is within a preset angle range, determining that the display screen is in a preset state, wherein 0 degree, 180 degrees and 360 degrees are all located outside the preset angle range.
Optionally, the preset angle range includes: [ 90-180 degrees ].
Optionally, the preset angle range includes: (180-270 degrees).
Optionally, fig. 14 is a schematic structural diagram of another image display device according to an embodiment of the present invention, as shown in fig. 14, on the basis of fig. 13, the image display device 130 may further include:
a second detecting module 1304, configured to detect a holding duration of the display screen in the preset state;
the first control module 1302 may be configured to: and when the holding time is longer than the preset time, controlling the front-facing camera to acquire the image.
Optionally, fig. 15 is a schematic structural diagram of another image display device according to an embodiment of the present invention, as shown in fig. 5, on the basis of fig. 14, the image display device 130 may further include:
a third detecting module 1305, configured to detect light intensity of an environment around the terminal;
the first control module 1302 may be configured to: and when the light intensity of the surrounding environment is greater than the preset light intensity, controlling the front-facing camera to acquire an image.
Optionally, the front camera is disposed on the first housing, and the second control module 1303 may be configured to: and controlling the area of the display screen positioned on the first shell to display images.
In summary, in the terminal control device provided in the embodiment of the present invention, when the first detection module detects that the display screen is in the preset state, and the holding time of the second detection module when detecting that the preset state is longer than the preset time, and the third detection module detects that the light intensity of the environment around the terminal is longer than the preset light intensity, the first control module controls the front camera to collect an image, and the second control module controls the display screen to display the image, so as to implement the mirror viewing function of the terminal. That is, when a user needs to look into a mirror on a display screen in the terminal, if the light intensity of the surrounding environment of the terminal is strong, the user can directly break the display screen into a preset state and keep the duration of the holding time longer than the preset duration, and does not need to click a camera button on the display screen after the display screen is broken, so that the operation steps of the terminal are simplified.
In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, can be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer can be a general purpose computer, a network of computers, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid state disk), among others.
It should be noted that, the method embodiment provided in the embodiment of the present invention can be mutually referred to a corresponding apparatus embodiment, and the embodiment of the present invention does not limit this. The sequence of the steps of the method embodiments provided by the embodiments of the present invention can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the situation, and any method that can be easily conceived by those skilled in the art within the technical scope disclosed by the present invention shall be covered by the protection scope of the present invention, and therefore, the detailed description thereof shall not be repeated.
The invention is not to be considered as limited to the particular embodiments shown and described, but is to be understood that various modifications, equivalents, improvements and the like can be made without departing from the spirit and scope of the invention.

Claims (8)

1. The utility model provides an image display method, its characterized in that for having terminal of folding display screen and leading camera, the display screen has expansion state and fold condition, the terminal include first casing, second casing and connect in first casing with coupling assembling between the second casing, first casing with the second casing passes through coupling assembling realizes that the upset is folding, leading camera with the display screen all sets up the demonstration side at terminal, leading camera sets up on the first casing, the method includes:
detecting whether the display screen is in a preset state or not, wherein the preset state is a state between the unfolding state and the folding state;
when the display screen is detected to be in the preset state, detecting the holding time of the display screen in the preset state;
detecting the light intensity of the surrounding environment of the terminal when the holding time is longer than the preset time;
when the light intensity of the surrounding environment is greater than the preset light intensity, controlling the front-facing camera to acquire an image;
and controlling the area of the display screen and the area on the first shell to display the image.
2. The method of claim 1, wherein the first housing includes a first support surface coupled to a back surface of the display screen, wherein the second housing includes a second support surface coupled to the back surface of the display screen, and wherein detecting whether the display screen is in a predetermined state comprises:
detecting a folding angle formed by the first supporting surface and the second supporting surface on the display side;
and when the detected folding angle is within a preset angle range, determining that the display screen is in the preset state, wherein 0 degree, 180 degrees and 360 degrees are all located outside the preset angle range.
3. The method of claim 2,
the preset angle range includes: [ 90-180 degrees ].
4. The method according to claim 2 or 3,
the preset angle range includes: (180-270 degrees).
5. The utility model provides an image display device, its characterized in that for have the terminal of folding display screen and leading camera, the display screen has expansion state and fold condition, the terminal include first casing, second casing and connect in first casing with coupling assembling between the second casing, first casing with the second casing passes through coupling assembling realizes that the upset is folding, leading camera with the display screen all sets up the demonstration side at terminal, leading camera sets up on the first casing, image display device includes:
the first detection module is used for detecting whether the display screen is in a preset state or not, wherein the preset state is a state between the unfolding state and the folding state;
the second detection module is used for detecting the holding time of the display screen in the preset state when the display screen is detected to be in the preset state;
the third detection module is used for detecting the light intensity of the surrounding environment of the terminal when the holding time length is longer than the preset time length;
the first control module is used for controlling the front camera to acquire images when the light intensity of the surrounding environment is greater than preset light intensity;
and the second control module is used for controlling the area in the display screen and on the first shell to display the image.
6. The image display device of claim 5, wherein the first housing comprises a first support surface coupled to a back surface of the display screen, wherein the second housing comprises a second support surface coupled to the back surface of the display screen, and wherein the first detection module is configured to:
detecting a folding angle formed by the first supporting surface and the second supporting surface on the display side;
and when the detected folding angle is within a preset angle range, determining that the display screen is in the preset state, wherein 0 degree, 180 degrees and 360 degrees are all located outside the preset angle range.
7. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing executable instructions of the processor;
the terminal comprises a front camera and a foldable display screen, wherein the display screen has an unfolding state and a folding state, the terminal comprises a first shell, a second shell and a connecting assembly connected between the first shell and the second shell, the first shell and the second shell are turned and folded through the connecting assembly, the front camera and the display screen are both arranged on the display side of the terminal, and the front camera is arranged on the first shell;
wherein the processor is configured to:
detecting whether the display screen is in a preset state or not, wherein the preset state is a state between the unfolding state and the folding state;
when the display screen is detected to be in the preset state, detecting the holding time of the display screen in the preset state;
detecting the light intensity of the surrounding environment of the terminal when the holding time is longer than the preset time;
when the light intensity of the surrounding environment is greater than the preset light intensity, controlling the front-facing camera to acquire an image;
and controlling the area of the display screen and the area on the first shell to display the image.
8. A computer-readable storage medium having stored therein instructions which, when run on a processor of a computer, enable the processor to execute the image display method of any one of claims 1 to 4.
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 CN107864332A (en) 2018-03-30
CN107864332B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365910B (en) * 2019-08-06 2020-12-25 珠海格力电器股份有限公司 Self-photographing method and device and electronic equipment
CN110602406A (en) * 2019-09-29 2019-12-20 珠海格力电器股份有限公司 Countdown photographing method and device and image acquisition equipment

Citations (1)

* 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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102081931B1 (en) * 2013-06-19 2020-02-26 엘지전자 주식회사 Foldable display device and method for controlling thereof
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
CN107247535B (en) * 2017-05-31 2021-11-30 北京小米移动软件有限公司 Intelligent mirror adjusting method and device and computer readable storage medium

Patent Citations (1)

* 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

Also Published As

Publication number Publication date
CN107864332A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN107765952B (en) Screen capturing method and device and terminal
CN107844228B (en) Message display method and device and terminal
CN107870716B (en) Method and device for calling background application program
CN107870724B (en) Display screen unfolding method and device and terminal
CN109710206B (en) Method, device, terminal and storage medium for displaying information
CN107770440B (en) Shooting interface display method and device and terminal
CN107728885B (en) Multitask control method and device, mobile terminal and storage medium
CN107765959B (en) Background application program display method and terminal
CN107704177B (en) Interface display method and device and terminal
WO2020147666A1 (en) User interface display method and apparatus, terminal and storage medium
CN107831999B (en) Screen control method and device and terminal
CN109782976B (en) File processing method, device, terminal and storage medium
CN107807773B (en) Application body distinguishing method, device, terminal and storage medium
CN107728901B (en) Interface display method and device and terminal
CN107765775B (en) Terminal control method, device and storage medium
CN107623793B (en) Image shooting processing method and device
CN107770477B (en) Video call method, device, terminal and storage medium
CN107656792B (en) User interface display method and device and terminal
CN107566579B (en) Shooting method, shooting device, shooting terminal and storage medium
CN107770442B (en) Method, device and terminal for shooting image
CN107888769B (en) Scene mode starting method and device and terminal
CN107678826B (en) Interface display method and device, mobile terminal and storage medium
CN107871121B (en) Fingerprint identification method and device
CN107831993B (en) Play control method, device, terminal and computer readable storage medium
CN107728810B (en) Terminal control method, device, 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
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.

GR01 Patent grant
GR01 Patent grant