CN110609599A - Display method and device of double-screen terminal, storage medium and terminal - Google Patents

Display method and device of double-screen terminal, storage medium and terminal Download PDF

Info

Publication number
CN110609599A
CN110609599A CN201910769056.6A CN201910769056A CN110609599A CN 110609599 A CN110609599 A CN 110609599A CN 201910769056 A CN201910769056 A CN 201910769056A CN 110609599 A CN110609599 A CN 110609599A
Authority
CN
China
Prior art keywords
display screen
terminal
state
user
screen
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.)
Pending
Application number
CN201910769056.6A
Other languages
Chinese (zh)
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 CN201910769056.6A priority Critical patent/CN110609599A/en
Publication of CN110609599A publication Critical patent/CN110609599A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display method and device of a double-screen terminal, a storage medium and a terminal, and belongs to the technical field of computers. The method comprises the following steps: starting a double-screen display mode; judging whether the first display screen is in a state of being viewed by a user; if so, the brightness value of the second display screen is reduced, so that the brightness of the display screen which is not viewed by the user is reduced, the power consumption of the terminal equipment can be reduced under the condition that the use of the user is not influenced, and the standby time of the terminal is prolonged.

Description

Display method and device of double-screen terminal, storage medium and terminal
Technical Field
The present application relates to the field of computers, and in particular, to a display method and apparatus for a dual-screen terminal, a storage medium, and a terminal.
Background
At present, terminals such as smart phones, tablet computers, notebook computers, and smart appliances have become essential terminals in daily life. Along with the continuous intellectualization of terminal equipment, an operating system is installed in most terminal equipment, so that the terminal equipment can install rich and diverse application programs and meet different requirements of users. In the correlation technique, the appearance of double screen terminal provides bigger display area and more diversified application scene with the user, and the double screen terminal provides double screen display mode, and under double screen display mode, two display screens need show content simultaneously, and the display screen is as the great part of terminal power consumption, and when two display screens were shown simultaneously, the power consumption of terminal further increased.
Disclosure of Invention
The display method, the display device, the storage medium and the terminal of the dual-screen terminal provided by the embodiment of the application can solve the problem that the power consumption of the terminal in a dual-screen display mode is large in the related art. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a display method of a dual-screen terminal, which is applied to a terminal including a first display screen and a second display screen, and the method includes:
starting a double-screen display mode;
judging whether the first display screen is in a state of being viewed by a user;
if so, reducing the brightness value of the second display screen.
In a second aspect, an embodiment of the present application provides a display device of a dual-screen terminal, where the display device is provided with a first display screen and a second display screen, and the device further includes:
the starting unit is used for starting the double-screen display mode;
the judging unit is used for judging whether the first display screen is in a state of being viewed by a user;
and the adjusting unit is used for reducing the brightness value of the second display screen if the judgment result of the judging unit is positive.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
when the terminal provided with the first display screen and the second display screen is in a double-screen display mode, and the terminal determines that the first display screen is in a state of being checked by a user, the terminal can determine that the second display screen is in a state of not being checked by the user due to the fact that the first display screen and the second display screen are arranged on two sides of the terminal relatively, and the brightness value of the second display screen is reduced. The problem of terminal equipment power consumption is big under being in double screen display mode among the prior art is solved, and the luminance of the display screen that the user did not look over is adjusted down to this application embodiment, can adjust down terminal equipment's power consumption under the condition that does not influence the user and use, prolongs the standby time of terminal.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative work.
Fig. 1 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 3 is an architectural diagram of the android operating system of FIG. 1;
FIG. 4 is an architecture diagram of the IOS operating system of FIG. 1;
fig. 5 is a schematic flowchart of a display method of a dual-screen terminal according to an embodiment of the present application;
fig. 6 is another schematic flowchart of a display method of a dual-screen terminal according to an embodiment of the present application;
fig. 7 is another schematic flowchart of a display method of a dual-screen terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire terminal 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 display content; 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 communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). 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 program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing 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, and the operating system may be an Android (Android) system (including a system based on Android system depth development), an IOS system developed by apple inc (including a system based on IOS system depth development), or other systems. The storage data area may also store data created by the terminal in use, such as a phonebook, audio-video data, chat log data, and the like.
Referring to fig. 2, the memory 120 may be divided into an operating system space, in which an operating system runs, and a user space, in which native and third-party applications run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 3, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340 and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal, 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 340 provides a 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 library layer 340 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 360 provides various APIs that may be used in building applications, and developers may also 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 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a shopping 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. 4, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel os layer 420 includes an os kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program framework located in the kernel services layer 440. The core services layer 440 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, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the terminal. 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. 4, the framework associated with most applications includes, but is not limited to: a base frame in the core service layer 440 and a UIKit frame in the touchable layer 480. 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 classes provided by the UIKit framework are 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 Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input commands or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiments of the present application.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures do not constitute limitations on the terminals, as the terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal 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.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. The user can view information such as displayed text, pictures, videos, and the like using the display device on the terminal 101. The terminal may be a smart phone, a tablet computer, a game device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the terminal shown in fig. 1, the processor 110 may be configured to call an application program stored in the memory 120 and specifically execute the display method according to the embodiment of the present application.
In the technical scheme provided by the embodiment of the application.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
The following describes in detail a display method of a dual-screen terminal according to an embodiment of the present application with reference to fig. 5 to 7. The processing device for the advertisement in the application program in the embodiment of the present application may be the terminal shown in fig. 5 to 7.
Referring to fig. 5, a schematic flowchart of a display method of a dual-screen terminal is provided in an embodiment of the present application. As shown in fig. 5, the method of the embodiment of the present application may include the steps of:
and S501, starting a double-screen display mode.
The terminal of the embodiment of the application is a double-screen terminal which comprises a first display screen and a second display screen, wherein the first display screen and the second display screen are arranged on two opposite sides. When the terminal is a non-folding terminal, the first display screen can be a display screen arranged on the front side of the terminal, and the second display screen is a display screen arranged on the back side of the terminal; or the first display screen is a display screen arranged on the back side of the terminal, and the second display screen is a display screen arranged on the front side of the terminal. When the terminal is a folding terminal, the terminal is provided with a flexible display screen, and when the terminal is in a folding state, the flexible display screen is divided into a first display screen and a second display screen, wherein the first display screen can be a display screen arranged on the front side of the terminal, and the second display screen can be a display screen arranged on the back side of the terminal; or the first display screen is a display screen arranged on the back side of the terminal, and the second display screen is a display screen arranged on the front side of the terminal.
The dual-screen display mode indicates a mode in which the terminal simultaneously displays content on the first display screen and the second display screen, and in the dual-screen display mode, the terminal may select which display screen to display on according to the type of data to be displayed, and a specific selection policy is not limited in the embodiment of the present application. For example: the terminal plays the video on the first display screen and displays the instant communication message on the second display screen. The double-screen display mode of the terminal can be opened by default or can be opened based on an opening instruction of a user; for example: the terminal can generate a starting instruction according to the starting operation of a user, and start the dual-screen display mode based on the starting instruction, wherein the types of the starting operation include but are not limited to: one or more of key operation, touch operation, voice control operation and body sensing operation, for example: and displaying a virtual switch on a setting interface of the terminal, and controlling the on or off of the double-screen display function by controlling the on or off of the virtual switch.
S502, judging whether the first display screen is in a state of being checked by a user.
The display screen mainly has a display function and provides display contents for a user to view. Because the first display screen and the second display screen setting of terminal are in relative both sides, the user can only look over a display screen at the same moment, promptly: when the first display screen is in a state of being viewed by a user, correspondingly, the second display screen is in a state of being viewed by the user; when the second display screen is in a state of being viewed by the user, correspondingly, the first display screen is in a state of not being viewed by the user. Of course, the first display screen and the second display screen may be simultaneously in a state of not being viewed by the user.
In one or more embodiments, determining whether the first display screen is in a state of being viewed by a user includes:
the first display screen and the first camera are arranged on the same side, and images to be processed are collected through the first camera; and judging whether a face exists in the image to be processed based on a face detection algorithm, if so, determining that the first display screen is in a state of being viewed by the user, and if not, determining that the first display screen is in a state of being viewed by the user.
For example: when the first display screen is arranged on the front display screen of the terminal, the first camera is a front camera, and the human face is detected based on the image to be processed acquired by the front camera. When the first display screen is the display screen arranged on the back face of the terminal, the first camera is a rear camera, and the human face is detected based on the to-be-processed image collected by the rear camera.
In one or more embodiments, determining whether the first display screen is in a state of being viewed by the user includes:
acquiring an image to be processed through a first camera, detecting whether the image to be processed comprises human eyes, if so, judging whether a gaze coordinate of the human eyes is located in a designated area of a first display screen based on an eyeball tracking algorithm, and if so, determining that the first display screen is in a state of being checked by a user; otherwise, it is determined that the first display screen is in a state not viewed by the user.
S503, if so, reducing the brightness value of the second display screen.
The terminal determines that the first display screen is in a state of being viewed by a user, and then the second display screen is in a state of not being viewed by the user, and the terminal acquires a current brightness value of the second display screen, and schedules the current brightness value of the second display screen according to a preset brightness adjustment strategy, for example: the brightness value of the display screen is represented by 1-10, the larger the brightness value is, the brighter the display screen is, the preset adjustment step length is prestored in the terminal and is 2, when the terminal determines that the first display screen is in a state of being checked by a user, the current brightness value of the second display screen is acquired to be 5, the preset adjustment step length 2 is subtracted from the current brightness value to obtain 3, and the brightness value of the second display screen is adjusted to be 3 by the terminal.
When the scheme of the embodiment of the application is executed, when the terminal provided with the first display screen and the second display screen is in the double-screen display mode, the terminal determines that the first display screen is in the state of being checked by a user, and the terminal can determine that the second display screen is in the state of not being checked by the user and reduce the brightness value of the second display screen due to the fact that the first display screen and the second display screen are arranged on the two sides of the terminal relatively. The problem of among the prior art terminal equipment power consumption is big under the double screen display mode is solved, the luminance of the display screen that the user did not look over is adjusted down to this application embodiment, can not influence the power consumption of adjusting down terminal equipment under the condition that the user used, prolongs the stand-by time at terminal.
Referring to fig. 6, a schematic flowchart of a display method of a dual-screen terminal is provided in an embodiment of the present application. The present embodiment is illustrated by applying the display method to the terminal. The display method of the dual-screen terminal may include the steps of:
and S601, starting a double-screen display mode.
The terminal of the embodiment of the application is a double-screen terminal which comprises a first display screen and a second display screen, wherein the first display screen and the second display screen are arranged on two opposite sides. When the terminal is a non-folding terminal, the first display screen can be a display screen arranged on the front side of the terminal, and the second display screen is a display screen arranged on the back side of the terminal; or the first display screen is a display screen arranged on the back side of the terminal, and the second display screen is a display screen arranged on the front side of the terminal. When the terminal is a folding terminal, the terminal is provided with a flexible display screen, and when the terminal is in a folding state, the flexible display screen is divided into a first display screen and a second display screen, wherein the first display screen can be a display screen arranged on the front side of the terminal, and the second display screen can be a display screen arranged on the back side of the terminal; or the first display screen is a display screen arranged on the back side of the terminal, and the second display screen is a display screen arranged on the front side of the terminal.
The dual-screen display mode indicates a mode in which the terminal simultaneously displays content on the first display screen and the second display screen, and in the dual-screen display mode, the terminal may select which display screen to display on according to the type of data to be displayed, and a specific selection policy is not limited in the embodiment of the present application. For example: the terminal plays the video on the first display screen and displays the instant communication message on the second display screen. The double-screen display mode of the terminal can be opened by default or can be opened based on an opening instruction of a user; for example: the terminal can generate a starting instruction according to the starting operation of a user, and start the dual-screen display mode based on the starting instruction, wherein the types of the starting operation include but are not limited to: one or more of key operation, touch operation, voice control operation and body sensing operation, for example: and displaying a virtual switch on a setting interface of the terminal, and controlling the on or off of the double-screen display function by controlling the on or off of the virtual switch.
S602, judging whether the first display screen is in an upward state.
When the first display screen is in an upward state, the user may be viewing the first display screen, and the terminal needs to further determine whether the first display screen is in a state viewed by the user through other auxiliary information.
In one or more embodiments, the terminal may acquire, by the geomagnetic intensity sensor, a geomagnetic deviation angle in an x-axis direction, a geomagnetic deviation angle in a y-axis direction, and a geomagnetic deviation angle in a z-axis direction, and determine whether the first display screen is in an upward state based on the geomagnetic deviation angle.
In one or more embodiments, the first display screen and the second display screen are both touch display screens, and when the terminal detects that the terminal is in a holding state, for example: the method comprises the steps of detecting that the edges of a first display screen and a second display screen simultaneously generate a touch event, determining that the area of a touch area on the first display screen and the area of a touch area on the second display screen are larger than a preset value, determining that a terminal is in a holding state, then further calculating a first area of the holding area on the first display screen and a second area of the holding area on the second display screen, wherein the holding area is an area where a palm of a user contacts the touch screen, determining that the first display screen is in a downward state when the first area is larger than the second area, and determining that the first display screen is in an upward state when the first area is smaller than the second area.
And S603, keeping the closing state of the first camera.
When the first display screen is not in an upward state, the closed state of the first camera is kept. For example: when the first display screen is arranged on the front side of the terminal, the first camera is a front camera; when the first display screen is arranged on the back of the terminal, the first camera is a rear camera.
S604, starting the first camera.
And S605, acquiring an image to be processed through the first camera.
The terminal can acquire a plurality of images to be processed through the first camera, and the terminal can also periodically acquire the images to be processed through the first camera, and the acquisition period is not limited in the embodiment of the application.
And S606, detecting whether the image to be processed comprises a human face.
The face corresponds to a pixel region in the image, the terminal detects whether the face exists in the processed image based on a face detection algorithm, and if the face exists, the terminal can mark the face in the image to be processed, for example: and adding a frame selection mark to a pixel area representing the human face in the image to be processed.
S607, the first display screen is determined to be in a state of not being viewed by the user.
And S608, keeping the brightness value of the second display screen unchanged.
And S609, determining that the first display screen is in a state of being viewed by a user.
The terminal determines that the first display screen is in a state of being viewed by a user, and correspondingly, the second display screen is in a state of not being viewed by the user.
S610, switching the second display screen to the screen-off state.
And the second display screen is switched to the screen-off state because the user cannot look up the second display screen, so that the power consumption of the terminal is further saved.
In one or more embodiments, in order to avoid frequent switching, the terminal may switch the second display screen to the screen-off state when the first display screen is continuously in a state that is viewed by the user for longer than a preset duration, and the preset duration may be set according to an actual requirement, which is not limited in the embodiments of the present application.
S611, detecting that the second display screen is in a state of being viewed by a user.
The terminal may determine the second display screen according to whether the first display screen is in a state of being viewed by the user, and details of the specific process are not repeated here.
And S612, restoring the brightness value of the second display screen to a default brightness value.
The terminal stores default brightness values, and when the terminal detects that the second display screen is in a state of being checked by a user, the current screen-off state is switched to the default brightness values.
When the scheme of the embodiment of the application is executed, when the terminal provided with the first display screen and the second display screen is in the double-screen display mode, the terminal determines that the first display screen is in the state of being checked by a user, and the terminal can determine that the second display screen is in the state of not being checked by the user and reduce the brightness value of the second display screen due to the fact that the first display screen and the second display screen are arranged on the two sides of the terminal relatively. The problem of among the prior art terminal equipment power consumption is big under the double screen display mode is solved, the luminance of the display screen that the user did not look over is adjusted down to this application embodiment, can not influence the power consumption of adjusting down terminal equipment under the condition that the user used, prolongs the stand-by time at terminal.
Referring to fig. 7, a schematic flow chart of a display method of a dual-screen terminal provided in an embodiment of the present application is shown, where in the embodiment of the present application, the method includes:
and S701, starting a double-screen display mode.
The specific process of S701 may refer to the description of S601, and is not described herein again.
S702, judging whether the first display screen is in an upward state.
The specific process of S702 may refer to the description of S602, and is not described herein again.
S703, starting the first camera.
And S704, keeping the closing state of the first camera.
S705, acquiring an image to be processed through the first camera.
The specific process of S705 may refer to the description of S605, and is not described herein again.
S706, detecting whether the image to be processed comprises human eyes.
The terminal identifies whether the image to be processed comprises the human eye or not according to a pre-trained human eye detection model, or identifies whether the image to be processed comprises the human eye or not based on a template matching method.
And S707, judging whether the gaze coordinate of the human eye is positioned in the designated area of the first display screen.
The terminal determines a gaze coordinate of human eyes based on an eyeball tracking algorithm, the terminal prestores a specified area of a first display screen, the shape of the self-defined area is generally a rectangular area and represents an area where the gaze coordinate is likely to be located when the terminal is used for checking the first display screen, and the terminal judges whether the gaze coordinate of the human eyes is located in the specified area of the first display screen.
S708, determining that the first display screen is in a state of not being viewed by the user.
When the judgment result in S707 is yes, it is determined that the first display screen is in a state of not being viewed by the user.
And S709, keeping the brightness value of the second display screen unchanged.
And S710, determining that the first display screen is in a state of being viewed by a user.
Wherein, if the determination result in S707 is yes, it is determined that the first display screen is in a state of being viewed by the user.
And S711, switching the second display screen to the screen-off state.
When the first display screen is in a state of being viewed by a user, the brightness of the second display screen is adjusted to be the lowest, namely the second display screen is switched to a screen-off state.
And S712, detecting that the second display screen is in a state of being viewed by a user.
When the second display screen is in the screen-off state, it is detected that the second display screen is in the state of being viewed by the user, and whether the second display screen is in the state of being viewed by the user can be detected by referring to the state of detecting whether the first display screen is viewed by the user, which is not described herein again.
And S713, restoring the brightness value of the second display screen to the default brightness value.
The terminal stores default brightness values, and when the terminal detects that the second display screen is in a state of being checked by a user, the current screen-off state is switched to the default brightness values.
When the scheme of the embodiment of the application is executed, when the terminal provided with the first display screen and the second display screen is in the double-screen display mode, the terminal determines that the first display screen is in the state of being checked by a user, and the terminal can determine that the second display screen is in the state of not being checked by the user and reduce the brightness value of the second display screen due to the fact that the first display screen and the second display screen are arranged on the two sides of the terminal relatively. The problem of among the prior art terminal equipment power consumption is big under the double screen display mode is solved, the luminance of the display screen that the user did not look over is adjusted down to this application embodiment, can not influence the power consumption of adjusting down terminal equipment under the condition that the user used, prolongs the stand-by time at terminal.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 8, a schematic diagram of a display device according to an exemplary embodiment of the present disclosure is shown, which is hereinafter referred to as device 8. The apparatus 8 may be implemented as all or part of a terminal by software, hardware or a combination of both. Device 8 is provided with first display screen and second display screen, and device 8 includes: an opening unit 801, a judgment unit 802, and an adjustment unit 803.
And a starting unit 801 for starting the dual-screen display mode.
A determining unit 802, configured to determine whether the first display screen is in a state of being viewed by a user.
An adjusting unit 803, configured to reduce the brightness value of the second display screen if the determination result of the determining unit 802 is yes.
In one or more embodiments, the detecting whether the first display screen is in a state of being viewed by a user includes:
acquiring an image to be processed through a first camera; the first camera and the first display screen are arranged on the same side of the terminal;
detecting whether the image to be processed comprises a human face;
if so, determining that the first display screen is in a state of being viewed by a user;
if not, determining that the first display screen is in a state of not being viewed by the user.
In one or more embodiments, the detecting whether the first display screen is in a state of being viewed by a user includes:
acquiring an image to be processed through a first camera; the first camera and the first display screen are arranged on the same side of the terminal;
detecting whether the image to be processed comprises human eyes;
if so, determining whether the gaze coordinate of the human eye is positioned on the first display screen based on an eyeball tracking algorithm;
if so, determining that the first display screen is in a state of being viewed by a user;
if not, determining that the first display screen is in a state of not being viewed by the user.
In one or more embodiments, the enabling unit 801 is further configured to:
detecting whether the first display screen is in an upward state;
if yes, the first camera is started.
In one or more embodiments, the detecting whether the first display screen is in an upward facing state includes:
when the terminal is detected to be in a holding state, determining a first area of a holding area on the first display screen and a second area of the holding area on the second display screen;
if the first area is larger than the second area, determining that the second display screen is in an upward state;
and if the first area is smaller than the second area, determining that the first display screen is in a downward state.
In one or more embodiments, the dimming the brightness value of the first display screen includes:
and switching the second display screen to an off-screen state.
In one or more embodiments, the adjusting unit 803 is further configured to:
when the second display screen is detected to be in a state of being viewed by a user, restoring the brightness value of the second display screen to a default brightness value;
and reducing the brightness value of the first display screen.
It should be noted that, when the device 8 provided in the foregoing embodiment executes the display method, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. In addition, the processing device for the advertisement in the application program provided by the above embodiment and the embodiment of the display method of the dual-screen terminal belong to the same concept, and the embodiment of the method for implementing the advertisement in the application program is detailed and will not be described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
When the terminal provided with the first display screen and the second display screen is in a double-screen display mode, and the terminal determines that the first display screen is in a state of being checked by a user, the terminal can determine that the second display screen is in a state of not being checked by the user due to the fact that the first display screen and the second display screen are arranged on two sides of the terminal relatively, and the brightness value of the second display screen is reduced. The problem of terminal equipment power consumption is big under being in double screen display mode among the prior art is solved, and the luminance of the display screen that the user did not look over is adjusted down to this application embodiment, can adjust down terminal equipment's power consumption under the condition that does not influence the user and use, prolongs the standby time of terminal.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 2 to 7, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to 7, which is not described herein again.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the display method of the dual-screen terminal according to the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A display method is applied to a terminal comprising a first display screen and a second display screen, and the method comprises the following steps:
starting a double-screen display mode;
judging whether the first display screen is in a state of being viewed by a user;
if so, reducing the brightness value of the second display screen.
2. The method of claim 1, wherein detecting whether the first display screen is in a state of being viewed by a user comprises:
acquiring an image to be processed through a first camera; the first camera and the first display screen are arranged on the same side of the terminal;
detecting whether the image to be processed comprises a human face;
if so, determining that the first display screen is in a state of being viewed by a user;
if not, determining that the first display screen is in a state of not being viewed by the user.
3. The method of claim 1, wherein detecting whether the first display screen is in a state of being viewed by a user comprises:
acquiring an image to be processed through a first camera; the first camera and the first display screen are arranged on the same side of the terminal;
detecting whether the image to be processed comprises human eyes;
if so, determining whether the gaze coordinate of the human eye is positioned on the first display screen based on an eyeball tracking algorithm;
if so, determining that the first display screen is in a state of being viewed by a user;
if not, determining that the first display screen is in a state of not being viewed by the user.
4. The method according to claim 2 or 3, wherein before the acquiring the image to be processed by the first camera, the method further comprises:
detecting whether the first display screen is in an upward state;
if yes, the first camera is started.
5. The method of claim 4, wherein the detecting whether the first display screen is in an upward facing state comprises:
when the terminal is detected to be in a holding state, determining a first area of a holding area on the first display screen and a second area of the holding area on the second display screen;
if the first area is larger than the second area, determining that the second display screen is in an upward state;
and if the first area is smaller than the second area, determining that the first display screen is in a downward state.
6. The method according to any one of claims 1-5, wherein the dimming the brightness value of the first display screen comprises:
and switching the second display screen to an off-screen state.
7. The method of claim 6, wherein after the reducing the brightness value of the first display screen, further comprising:
when the second display screen is detected to be in a state of being viewed by a user, restoring the brightness value of the second display screen to a default brightness value;
and reducing the brightness value of the first display screen.
8. A display device, characterized in that, display device is provided with first display screen and second display screen, the device still includes:
the starting unit is used for starting the double-screen display mode;
the judging unit is used for judging whether the first display screen is in a state of being viewed by a user;
and the adjusting unit is used for reducing the brightness value of the second display screen if the judgment result of the judging unit is positive.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: the display device comprises a first display screen, a second display screen, a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN201910769056.6A 2019-08-20 2019-08-20 Display method and device of double-screen terminal, storage medium and terminal Pending CN110609599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910769056.6A CN110609599A (en) 2019-08-20 2019-08-20 Display method and device of double-screen terminal, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910769056.6A CN110609599A (en) 2019-08-20 2019-08-20 Display method and device of double-screen terminal, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN110609599A true CN110609599A (en) 2019-12-24

Family

ID=68890440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910769056.6A Pending CN110609599A (en) 2019-08-20 2019-08-20 Display method and device of double-screen terminal, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110609599A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655978A (en) * 2021-08-31 2021-11-16 深圳市威耀光电有限公司 Switching method, system, terminal and storage medium of double-sided display screen

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155325A (en) * 2016-07-22 2016-11-23 努比亚技术有限公司 A kind of shuangping san Rouser and method
CN106681505A (en) * 2016-12-22 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for dual-screen display control
CN106843786A (en) * 2017-01-23 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The open method of display screen, the opening device of display screen and terminal
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN206542462U (en) * 2017-03-29 2017-10-03 张厚浩 A kind of double-screen intelligent mobile phone
WO2018089483A1 (en) * 2016-11-09 2018-05-17 Microsoft Technology Licensing, Llc Detecting user focus on hinged multi-screen device
CN109842721A (en) * 2018-12-25 2019-06-04 努比亚技术有限公司 Screen luminance adjustment method, mobile terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155325A (en) * 2016-07-22 2016-11-23 努比亚技术有限公司 A kind of shuangping san Rouser and method
WO2018089483A1 (en) * 2016-11-09 2018-05-17 Microsoft Technology Licensing, Llc Detecting user focus on hinged multi-screen device
CN106681505A (en) * 2016-12-22 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for dual-screen display control
CN106843786A (en) * 2017-01-23 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The open method of display screen, the opening device of display screen and terminal
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN206542462U (en) * 2017-03-29 2017-10-03 张厚浩 A kind of double-screen intelligent mobile phone
CN109842721A (en) * 2018-12-25 2019-06-04 努比亚技术有限公司 Screen luminance adjustment method, mobile terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655978A (en) * 2021-08-31 2021-11-16 深圳市威耀光电有限公司 Switching method, system, terminal and storage medium of double-sided display screen

Similar Documents

Publication Publication Date Title
US10635379B2 (en) Method for sharing screen between devices and device using the same
US11301131B2 (en) Method for split-screen display, terminal, and non-transitory computer readable storage medium
WO2020147666A1 (en) User interface display method and apparatus, terminal and storage medium
US10863213B2 (en) Method and device for controlling frame rate of electronic device, storage medium, and electronic device
CN106933328B (en) Method and device for controlling frame rate of mobile terminal and mobile terminal
US20210173549A1 (en) Method for icon display, terminal, and storage medium
CN106657681B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
CN111225138A (en) Camera control method and device, storage medium and terminal
CN107608550B (en) Touch operation response method and device
EP3454199A1 (en) Method for responding to touch operation and electronic device
CN110442267B (en) Touch operation response method and device, mobile terminal and storage medium
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN112905280B (en) Page display method, device, equipment and storage medium
CN111124668A (en) Memory release method and device, storage medium and terminal
CN113141537A (en) Video frame insertion method, device, storage medium and terminal
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN111176533A (en) Wallpaper switching method, device, storage medium and terminal
WO2019047234A1 (en) Touch operation response method and apparatus
CN110609599A (en) Display method and device of double-screen terminal, storage medium and terminal
CN114285936A (en) Screen brightness adjusting method and device, storage medium and terminal
CN113126859A (en) Contextual model control method, contextual model control device, storage medium and terminal
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113010078A (en) Touch method and device, storage medium and electronic equipment
CN112148409A (en) Window image effect realization method and device and storage medium
KR20170098637A (en) Image processing device and Image display apparatus including the same

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191224