CN110351418B - Screen control method and device, mobile terminal and computer readable medium - Google Patents

Screen control method and device, mobile terminal and computer readable medium Download PDF

Info

Publication number
CN110351418B
CN110351418B CN201810283964.XA CN201810283964A CN110351418B CN 110351418 B CN110351418 B CN 110351418B CN 201810283964 A CN201810283964 A CN 201810283964A CN 110351418 B CN110351418 B CN 110351418B
Authority
CN
China
Prior art keywords
screen
displayed
state
duration
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810283964.XA
Other languages
Chinese (zh)
Other versions
CN110351418A (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 CN201810283964.XA priority Critical patent/CN110351418B/en
Publication of CN110351418A publication Critical patent/CN110351418A/en
Application granted granted Critical
Publication of CN110351418B publication Critical patent/CN110351418B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a screen control method and device, a mobile terminal and a computer readable medium, and belongs to the technical field of mobile terminals. The method comprises the following steps: when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state, detecting whether the power key is pressed down; confirming the pressed duration when the power key is detected to be pressed; and when the duration meets a preset condition, turning off the second screen. Therefore, when the first screen is in the using state and the second screen is switched from the screen off state to the screen on state, the second screen can be switched by pressing the power key for a certain time, so that a user does not need to specially operate the second screen, the second screen can be conveniently closed by using the power key, and the influence on the use of the first screen by the user is reduced.

Description

Screen control method and device, mobile terminal and computer readable medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a screen control method and apparatus, a mobile terminal, and a computer readable medium.
Background
With the development of mobile terminals, some mobile terminals now have two screens in order to meet the requirement of a user to operate multiple screens simultaneously, so that when the user uses a first screen, a second screen can display some contents such as push messages. And the user needs to operate the second screen to close the second screen, which affects the user to use the first screen, resulting in low user experience.
Disclosure of Invention
The application provides a screen control method, a screen control device, a mobile terminal and a computer readable medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides a screen control method, which is applied to a mobile terminal, where the mobile terminal includes a first screen, a second screen, and a power key. The method comprises the following steps: when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state, detecting whether the power key is pressed down; confirming the pressed duration when the power key is detected to be pressed; and when the duration meets a preset condition, turning off the second screen.
In a second aspect, an embodiment of the present application further provides a screen control device, which is applied to a mobile terminal, where the mobile terminal includes a first screen, a second screen, and a power key. The screen control device includes: the device comprises a detection unit, a confirmation unit and a screen-off unit. And the detection unit is used for detecting whether the power key is pressed down or not when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state. And the confirming unit is used for confirming the pressed duration when the power key is detected to be pressed. And the screen extinguishing unit is used for extinguishing the second screen when the duration time meets a preset condition.
In a third aspect, an embodiment of the present application further provides a mobile terminal, which includes a first screen, a second screen, a power key, a memory, and a processor, where the memory is coupled with the processor. The memory stores instructions that, when executed by the processor, cause the processor to: when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state, detecting whether the power key is pressed down; confirming the pressed duration when the power key is detected to be pressed; and when the duration meets a preset condition, turning off the second screen.
In a fourth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
According to the screen control method, the screen control device, the mobile terminal and the computer readable medium, when the first screen is in the use state and the second screen is switched from the screen-off state to the screen-on state, whether the power key is pressed is detected. And if the power key is detected to be pressed, counting the time for which the power key is pressed, namely the duration, and if the duration meets a preset condition, turning off the second screen. Therefore, when the first screen is in the using state and the second screen is switched from the screen off state to the screen on state, the second screen can be switched by pressing the power key for a certain time, so that a user does not need to specially operate the second screen, the second screen can be conveniently closed by using the power key, and the influence on the use of the first screen by the user is reduced.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 illustrates a schematic structural diagram of a mobile terminal according to an embodiment of the present application from a first viewing angle;
fig. 2a illustrates a front view of a mobile terminal provided by an embodiment of the present application;
fig. 2b illustrates a rear view of a mobile terminal provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a mobile terminal according to another embodiment of the present application;
FIG. 4 is a flow chart of a method of controlling a screen according to an embodiment of the present application;
FIG. 5 is a diagram illustrating operation of a screen control provided by an embodiment of the present application;
FIG. 6 is a flow chart illustrating a method of a screen control method according to another embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a presentation interface for closing confirmation information provided by an embodiment of the present application;
FIG. 8 is a flow chart illustrating a method of a screen control method according to another embodiment of the present application;
FIG. 9 shows a block diagram of a screen control device provided by the present application;
fig. 10 illustrates a block diagram of a mobile terminal according to an embodiment of the present application for performing the method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1 and 2, a mobile terminal 100 according to an embodiment of the present application is shown, where fig. 1 is a side view of the mobile terminal 100, fig. 2a is a front view of the mobile terminal 100, and fig. 2b is a rear view of the mobile terminal 100. The mobile terminal 100 includes a first screen 120, a second screen 130, and a power key 140. The first screen 120, the second screen 130 and the power key 140 are disposed on the housing 12 of the mobile terminal 100, and the first screen 120 and the second screen 130 are two relatively independent display screens, as an embodiment, the first screen 120 is disposed on a first side 101 of the housing 12, and the second screen 130 is disposed on a second side 102 of the housing 12, wherein the first side 101 and the second side 102 are two opposite surfaces facing away from each other, in some embodiments, the first side 101 is a front surface of the mobile terminal 100, and the second side 102 is a back surface of the mobile terminal 100, so that the mobile terminal 100 shown in fig. 1 and 2 is a double-sided mobile terminal. In addition, the size of the first screen 120 and the second screen 130 is not limited, and may be similar.
Referring to fig. 3, a mobile terminal 200 according to another embodiment of the present application is shown, where the mobile terminal 200 includes: the first casing 22, the second casing 23, the first screen 220 that sets up on the first side 201 of first casing 22, and the second screen 230 that sets up on the second side 202 of second casing 23, first side 201 and second side 202 are two opposite faces, and first casing 22 and second casing 23 rotate through the rotation piece 240 and connect, and first side 201 and second side 202 can be close to each other or keep away from each other under the drive of rotation piece 240. The rotating member 240 may include a rotating shaft, and the extension portion of the first housing 22 and the extension portion of the second housing 23 are sleeved on the rotating shaft to realize the rotating connection between the first housing 22 and the second housing 23. The mobile terminal 200 illustrated in fig. 3 is a folding screen. In addition, the mobile terminal 200 shown in fig. 3 further includes a power key 250 disposed on the first housing 22 or the second housing 23, and as an embodiment, the power key 250 is disposed on the first housing 22.
The user can use the first screen or the second screen, as an implementation mode, the first screen can be used as a screen mainly used by the user, namely, the application icon can be displayed on the first screen, and the second screen is used as an auxiliary screen. However, when the second screen is in the off-screen state and the user is using the first screen, some push messages may light the second screen, which may not only affect the user, but also waste the battery power of the mobile terminal when the second screen is on for a long time.
Therefore, in order to solve the technical defect, an embodiment of the present application provides a screen control method, and in particular, refer to fig. 4, which illustrates a screen control method provided by an embodiment of the present application, and the method applies to the mobile terminal, and in particular, the method includes: s401 to S403.
S401: and when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state, detecting whether the power key is pressed down.
The states of the first screen and the second screen may each include a use state, a screen-off state, and a screen-on state. The screen-off state represents that the screen is closed, the screen-on state represents that the screen is opened, wherein the screen-off state and the screen-on state are two opposite states, the screen can be understood as being in the screen-on state as long as the screen is not in the screen-off state, and the use state is a specific state in the screen-on state, and specifically represents an interface after the current screen is lighted and is unlocked, wherein the interface after the unlocking may be a system desktop or an interface of a certain application, and in some embodiments, the use state may also be defined as that the screen is lighted and an application is run on the screen, wherein the run application is not a system desktop, that is, when the interface of a certain application is displayed on the screen, but not in a screen-locking or screen-unlocking interface, and not a system desktop, the screen is in the use state.
The screen-off state and the screen-on state of the screen can be monitored by a module in a system of the mobile terminal, and specifically, whether the first screen and the second screen are in the screen-off state or the screen-on state can be acquired through an issscreen on function. And if the monitor screen is in the use state, obtaining whether an application program runs on the first screen according to the application program running record, for example, searching for an activity currently running on the first screen, and determining a target application program corresponding to the activity, and if the target application program is not the screen locking application, or does not belong to the screen locking application and does not belong to the system desktop application, determining that the screen is in the use state.
When the first screen is in the using state, the user uses the first screen, and if the second screen is switched from the screen-off state to the screen-on state due to a triggering event such as some push messages at the moment, the mobile terminal detects whether the power key is pressed.
Specifically, whether the power key is pressed or not may be monitored by a monitoring module within the system, for example, using an onKeyDown () function to detect whether the power key is pressed or not. Of course, the monitoring sensor may also be used to detect whether the power key is pressed, for example, a pressure sensor is disposed on the power key, when a user presses the power key, the pressure sensor can acquire a current pressure value, the mobile terminal determines whether the current pressure value is greater than a preset value, and if so, determines that the power key is pressed, where the preset value is a value set by the user according to actual requirements, and is used to indicate that the power key is pressed, and the value is large enough to avoid misjudging that the power key is pressed when the power key is slightly touched. As another embodiment, a proximity light sensor may be further disposed on the power key, and the proximity light sensor collects a light intensity value of a received preset light signal, where the preset light signal is emitted by the proximity light sensor. And judging whether the light intensity value is greater than a preset intensity, and if so, judging that the power key is pressed, wherein the preset intensity is a numerical value set by a user according to actual requirements and used for indicating that the power key is pressed, and the numerical value is large enough to avoid being mistakenly judged that the power key is pressed when slight shielding occurs.
S402: confirming a duration of being pressed when it is detected that the power key is pressed.
Specifically, the time length when the power supply is in a pressed state is counted as the duration time, with the time point at which the pressing of the power supply key is detected as the time starting point. For example, when the user presses the power key, the mobile terminal detects the action of pressing the power key by the user, takes the system time of the action as the time starting point, starts the timing module to start timing by the time starting point, and when the user releases the power key, namely does not press the power key, the mobile terminal detects that the key of the power key is changed from the pressed state to the non-pressed state, ends timing, counts the time length, and takes the time length as the duration of the pressed power key, and resets the timing module.
S403: and when the duration meets a preset condition, turning off the second screen.
As an implementation manner, the preset condition may be a preset time length value, and specifically, the implementation manner that the duration satisfies the preset condition may be: and judging whether the duration is greater than a preset time length value or not, if so, judging that the duration meets a preset condition, and if not, judging that the duration does not meet the preset condition.
As another embodiment, the preset condition may be a preset time interval, where the preset time interval includes a first time length and a second time length, and the embodiment where the duration satisfies the preset condition may be: judging whether the duration is greater than a first time length and less than a second time length; if the duration is longer than a first time length and shorter than a second time length, judging that the duration meets a preset condition, and executing the operation of turning off the second screen, wherein the first time length is the duration for switching the first screen from the screen-off state to the screen-on state, and the second time length is the duration for turning off the mobile terminal.
And if the duration is less than or equal to the first time length or the duration is greater than or equal to the second time length, judging that the duration does not meet the preset condition, and executing other operations. Specifically, switching of the first screen between the screen-out state and the screen-on state is performed if the duration is less than or equal to the first length of time, for example, if the current state of the first screen is the screen-on state, the first screen is screen-out if the duration is less than or equal to the first length of time, and if the current state of the first screen is the screen-out state, the first screen is screen-on if the duration is less than or equal to the first length of time. And if the duration is greater than or equal to the second time length, the mobile terminal is powered off.
For example, the first time length is 0.1 second and the second time length is 3 seconds, and if the duration is between 0.1 second and 3 seconds, the second screen is turned off. If the duration is greater than or equal to 3 seconds, the mobile terminal is powered off, and if the duration is less than or equal to 0.1 second, the mobile terminal is switched between screen-off and screen-on.
As another embodiment, the preset condition may be the third time length, and in particular, the embodiment that the duration satisfies the preset condition may be: judging whether the duration is equal to a third time length, and if so, judging that the duration meets a preset condition, wherein the meaning that the duration is equal to the third time length is that the absolute value of the time difference between the duration and the third time length is smaller than a preset value, specifically, the preset value can be set according to actual use, for example, the preset value is 0.2 seconds, and although the duration is not exactly the same as the third time length, the absolute value of the time difference between the duration and the third time length is less than 0.2 seconds, and the duration is considered to be equal to the third time length within a normal error range. For example, if the first time length is 0.1 second, the second time length is 3 seconds, and the third time length is 1 second, the second screen is turned off if the time difference between the duration and 1 second is less than 0.2 seconds.
Therefore, when the user uses the first screen and the second screen is switched from the screen-off state to the screen-on state due to some push messages, the user presses the power key for a certain time to turn off the second screen. As shown in fig. 5, the user holds the mobile terminal with the first screen 120 facing the user, and the user uses the first screen 120, and at this time, the second screen lights up, and the user can keep the action of the mobile terminal held in fig. 5, and press the power key 140 with a finger, so that the second screen can be quickly turned off, and the operation of using the first screen by the user is not influenced too much.
In addition, in order to avoid frequent lighting of the second screen, and the user needs to continuously turn off the second screen through the power key, the second screen may be no longer responded to cause the second screen to be switched from the off-screen state to the on-screen state due to the content to be displayed within a preset time period after the second screen is turned off. The display screen corresponding to the content to be displayed is the second screen, and the content to be displayed is used for indicating the mobile terminal to light the second screen when detecting that the second screen is in a screen-off state, and displaying the content to be displayed on the second screen. Specifically, the setting of the preset time period may be set according to the use state of the first screen, and as an implementation manner, the currently displayed interface of the application program running on the first screen is acquired, the content corresponding to the interface is acquired, and the preset time period is set for the content corresponding to the interface.
For example, if it is detected that the content corresponding to the currently displayed interface of the application running on the first screen is a video, and the time length corresponding to the video is obtained, the preset time period is set to be greater than or equal to the time length corresponding to the video. For example, if the time length corresponding to the video is 45 minutes, the preset time period is 50 minutes. The time length of the video may be obtained when the application opens the playing interface corresponding to the video.
For another example, a content game scene corresponding to a currently displayed interface of an application program running on the first screen is detected, a duration length corresponding to the game scene is obtained, for example, if the game scene is a segment match glowing by a queen, an average time length corresponding to the segment match is obtained through big data analysis, and then, a preset time period is set to be greater than or equal to the average time length.
Referring to fig. 6, a screen control method provided by another embodiment of the present application is shown, where the method is applied to the mobile terminal, and specifically, the method includes: s601 to S605.
S601: and when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state, detecting whether the power key is pressed down.
S602: confirming a duration of being pressed when it is detected that the power key is pressed.
S603: and judging whether the duration meets a preset condition or not.
S604: and turning off the second screen.
Additionally, before the second screen is turned off, the method further comprises: and displaying closing confirmation information on the first screen, wherein the closing confirmation information is used for confirming whether the user agrees to turn off the second screen.
Specifically, a close confirmation popup is displayed on the first screen, as shown in fig. 7. If closing confirmation information is displayed in the pop-up window, the closing confirmation information includes an operation key and a reminder text, and the reminder text is "whether to turn off the second screen" as shown in fig. 7. The operation keys include a cancel key, a confirm key and a timing close key shown in fig. 7, where the cancel key is used to input a cancel close instruction, that is, the mobile terminal obtains the cancel close instruction input by the user based on the cancel key, and cancels the operation of closing the second screen this time. The determining key is used for inputting a determining closing instruction, namely the mobile terminal acquires the determining closing instruction input by the user based on the determining key, and then the operation of closing the second screen is executed. The timing closing key is used for inputting a timing closing instruction, that is, the mobile terminal obtains the timing closing instruction input by the user based on the determination key, where the timing closing instruction carries a preset time period, where the preset time period is the preset time period described in the above embodiment, after the mobile terminal obtains the timing closing instruction, the instruction is analyzed to obtain the preset time period, the second screen is turned off, and the operation that the second screen is switched from the off-screen state to the on-screen state due to the content to be displayed is not responded any more in the preset time period, but the user may still light the second screen in other manners, for example, by operating the power key. The preset time period carried in the timing close instruction may be a time input frame displayed after the user clicks the timing close key, and the time is input in the time input frame.
In addition, the closing confirmation information may be between S603 and S604, that is, when it is determined that the duration satisfies the preset condition, the closing confirmation information is displayed on the first screen, a confirmation closing instruction input by the user based on the closing confirmation information is acquired, and the second screen is turned off based on the confirmation closing instruction.
S605: and displaying closing reminding information on the first screen, wherein the closing reminding information is used for reminding a user that the second screen is turned off.
And after the user closes the second screen, displaying closing reminding information on the first screen, wherein the closing reminding information is used for reminding the user that the second screen is turned off.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein.
Referring to fig. 8, a screen control method provided by another embodiment of the present application is shown, where the method is applied to the mobile terminal, and specifically, the method includes: s801 to S808.
S801: and acquiring content to be displayed, wherein the display screen corresponding to the content to be displayed is the second screen.
Specifically, the detailed implementation of the content to be displayed may refer to the foregoing embodiments, and is not described herein again. The display screen corresponding to the content to be displayed is set, specifically, the content to be displayed belongs to a preset content category, and the display screens of the preset content category are all the second screens.
S802: and judging whether the second screen is in a screen-off state or not.
S803: and lightening the second screen, and displaying the content to be displayed on the second screen.
After the mobile terminal acquires the content to be displayed, the mobile terminal lightens the second screen when the second screen is determined to be in the screen-off state, the content to be displayed is displayed on the second screen, and if the second screen is in the screen-on state, the content to be displayed is directly displayed on the second screen, or the content to be displayed is omitted and displayed according to other strategies.
S804: and judging whether the first screen is in a use state.
S805: detecting whether the power key is pressed.
S806: confirming a duration of being pressed when it is detected that the power key is pressed.
S807: and when the duration meets a preset condition, turning off the second screen.
S808: and displaying the content to be displayed in a preset interface of the first screen.
After the user turns off the second screen, considering that the user may only temporarily have no time to refer to the content to be displayed on the second screen, the content to be displayed may be displayed within the preset interface of the first screen after the second screen is turned off. The display mode may be displaying in a preset interface of the first screen, where the preset interface may be a current interface of the first screen, and the specific display mode may be displaying the content to be displayed in a pop-up window or toast mode on the current interface of the first screen, or displaying a piece of viewing information on the current interface of the first screen, where the piece of viewing information may be a button, and when a user clicks the piece of viewing information, the current interface jumps to the display interface of the content to be displayed, and the display interface of the content to be displayed displays the content to be displayed.
Considering that if the user is not suitable for displaying the content to be displayed on the first screen in the immersive scene while using the first screen, before displaying the content to be displayed on the first screen, it may be determined whether a current interface of the first screen is suitable for displaying the content to be displayed, and specifically, displaying the content to be displayed in a preset interface of the first screen, including: acquiring the category of the interface currently displayed on the first screen; judging whether the category of the interface currently displayed on the first screen belongs to a preset category or not; and if the content belongs to the preset category, displaying the content to be displayed at a preset position in the currently displayed interface of the first screen.
Specifically, the preset category is a category defined by a user according to a requirement, the interface belonging to the preset category can display some contents such as push content or information and popup on the interface, and the interface not belonging to the preset category does not allow the contents such as the push content or information and popup not belonging to the display content corresponding to the interface to be displayed on the interface corresponding to the category, that is, does not allow the contents to be displayed.
As an embodiment, the preset category is a non-immersive category, and the applications that do not belong to the preset category are immersive categories, where an immersive interface refers to an interface displayed in a full screen, that is, a status bar at the top and a system bar at the bottom of a display screen are cancelled in the interface. The interfaces corresponding to each application program in the mobile terminal are classified in advance, for example, all interfaces of the game class are set to be an immersive class, the main page of the video software is a non-immersive class, and the interface of the video software when the video is played in a full screen mode is an immersive class.
It should be noted that, the above steps are parts of detailed description, and reference may be made to the foregoing embodiments, which are not repeated herein.
Referring to fig. 9, a screen control apparatus 900 according to another embodiment of the present application is shown, where the apparatus is applied to the mobile terminal, and specifically, the apparatus 900 includes: a detection unit 901, a confirmation unit 902 and a screen-off unit 903.
A detecting unit 901, configured to detect whether the power key is pressed when the first screen is in a use state and the second screen is switched from a screen-off state to a screen-on state.
A confirming unit 902, configured to confirm a duration of the pressing when the power key is detected to be pressed.
And a screen-off unit 903, configured to turn off the second screen when the duration meets a preset condition. Specifically, the screen-off unit 903 is configured to determine whether the duration is greater than a first time length and less than a second time length; and if the duration is longer than a first time length and shorter than a second time length, turning off the screen of the second screen, wherein the first time length is the duration for switching the screen-off state of the first screen into the screen-on state, and the second time length is the duration for turning off the mobile terminal.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 1 and 2 again, based on the above method and apparatus, an embodiment of the present application further provides a mobile terminal 100, which includes an electronic body 10, where the electronic body 10 includes a housing 12, and a first screen 120 and a second screen 130 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the first screen 120 generally includes the first display screen 121, and may also include a circuit for responding to a touch operation performed on the first display screen 121, and the second screen 130 also generally includes the second display screen 131, and may also include a circuit for responding to a touch operation performed on the second display screen 131. The Display may be a Liquid Crystal Display (LCD), which in some embodiments is also a touch screen.
Referring to fig. 10, in an actual application scenario, the mobile terminal 100 may be used as a smart phone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 10 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 10, or have a different correspondence than shown in FIG. 10.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: the Universal Asynchronous Receiver/Transmitter 200 (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but is not limited to the above standard. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other components, such as one or more controllers, for example, a display controller for interfacing with the display screen, including the first display screen and the second display screen, or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory remotely located from the processor 102, which may be connected to the electronic body portion 10 or display screen via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless Communication), Wi-11 Wireless Access (wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuit 110, the earpiece 101, the sound jack 103, and the microphone 105 collectively provide an audio interface between a user and the electronics body portion 10. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the earpiece 101. The earpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the first screen 120 or the second screen 130, and examples of the sensor 114 include, but are not limited to: acceleration sensor 114F, gyroscope 114G, magnetometer, and other sensors.
Specifically, the gyroscope 114G may detect the attitude of the mobile terminal, thereby determining the orientation of various components, determining the orientation of the display screen, determining the orientation of the screen, and the like. The acceleration sensor 114F can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal. In addition, the electronic body 10 may also correspond to other sensors such as a gyroscope, a magnetometer, a barometer, a hygrometer, and a thermometer, which are not described herein again.
In this embodiment, the input module 118 may include the touch screen 109 disposed on the main screen 120, and the touch screen 109 may collect a touch operation of the user (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) on or near the touch screen 109, so that the touch gesture of the user may be obtained and the corresponding connection device may be driven according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys 107. The keys 107 may include, for example, character keys for inputting characters, and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The first screen 120 and the second screen 130 are used for displaying information input by the user, information provided to the user, and various graphical user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof, and in one example, the touch screen 109 may be disposed on the display screen so as to be integrated with the display screen, wherein one or both of the first display screen and the second display screen may be disposed with the touch screen.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronics body portion 10 or display module.
The mobile terminal further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal. In this embodiment, the locator 119 implements the positioning of the mobile terminal by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the above-described mobile terminal is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the mobile terminal refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
Referring to fig. 3 again, based on the above method and apparatus, another embodiment of the present application further provides a mobile terminal 200, which includes an electronic body portion, where the electronic body portion includes a first housing 22 and a second housing 23, a first screen 220 disposed on the first housing 22, and a second screen 130 disposed on the second housing 23. The first housing 22 and the second housing 23 can be made of metal, such as steel or aluminum alloy. In this embodiment, the first screen 220 generally includes a first display 221, and may also include a circuit for responding to a touch operation performed on the first display 221, and the second screen 230 generally includes a second display 231, and may also include a circuit for responding to a touch operation performed on the second display 231, and the like. The Display may be a Liquid Crystal Display (LCD), which in some embodiments is also a touch screen.
In addition, in an actual application scenario, the mobile terminal 200 may be used as a smartphone terminal, where the descriptions of the first screen 220 and the second screen 230 may refer to the first screen 120 and the second screen 130 in fig. 10, and the remaining devices may also refer to fig. 10, which is not described herein again.
To sum up, according to the screen control method, the screen control device, the mobile terminal and the computer readable medium provided by the embodiments of the present application, when the first screen is in the use state and the second screen is switched from the screen-off state to the screen-on state, it is detected whether the power key is pressed. And if the power key is detected to be pressed, counting the time for which the power key is pressed, namely the duration, and if the duration meets a preset condition, turning off the second screen. Therefore, when the first screen is in the using state and the second screen is switched from the screen off state to the screen on state, the second screen can be switched by pressing the power key for a certain time, so that a user does not need to specially operate the second screen, the second screen can be conveniently closed by using the power key, and the influence on the use of the first screen by the user is reduced.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A screen control method is applied to a mobile terminal, wherein the mobile terminal comprises a first screen, a second screen and a power key, and the method comprises the following steps:
acquiring content to be displayed, wherein the display screen corresponding to the content to be displayed is the second screen;
judging whether the second screen is in a screen-off state or not;
if the first screen is in the screen off state, the second screen is lightened, the content to be displayed is displayed on the second screen, and whether the first screen is in the use state or not is judged;
if the first screen is in a use state, detecting whether the power key is pressed down;
confirming the pressed duration when the power key is detected to be pressed;
when the duration time meets a preset condition, turning off the second screen;
acquiring a currently displayed interface of an application program running on the first screen, and acquiring content corresponding to the interface;
determining a playing time length of the content displayed on the first screen;
setting a preset time period according to the playing time length, wherein the time length of the preset time period is greater than or equal to the playing time length;
and the operation of switching the second screen from the screen-off state to the screen-on state based on the content to be displayed is not performed within a preset time period.
2. The method according to claim 1, wherein the turning off the second screen when the duration satisfies a preset condition comprises:
judging whether the duration is greater than a first time length and less than a second time length;
and if the duration is longer than a first time length and shorter than a second time length, turning off the screen of the second screen, wherein the first time length is the duration for switching the screen-off state of the first screen into the screen-on state, and the second time length is the duration for turning off the mobile terminal.
3. The method according to claim 1, wherein after the turning off the second screen when the duration satisfies a preset condition, the method further comprises:
and displaying closing reminding information on the first screen, wherein the closing reminding information is used for reminding a user that the second screen is turned off.
4. The method according to claim 1, wherein before the turning off the second screen when the duration satisfies a preset condition, the method further comprises:
and displaying closing confirmation information on the first screen, wherein the closing confirmation information is used for confirming whether the user agrees to turn off the second screen.
5. The method according to claim 1, wherein after the turning off the second screen when the duration satisfies a preset condition, the method further comprises:
and displaying the content to be displayed in a preset interface of the first screen.
6. The method according to claim 5, wherein the displaying the content to be displayed in a preset interface of the first screen comprises:
acquiring the category of the interface currently displayed on the first screen;
judging whether the category of the interface currently displayed on the first screen belongs to a preset category or not;
and if the content belongs to the preset category, displaying the content to be displayed at a preset position in the currently displayed interface of the first screen.
7. A screen control apparatus applied to a mobile terminal including a first screen, a second screen, and a power key, the apparatus comprising:
the detection unit is used for acquiring a content to be displayed, wherein a display screen corresponding to the content to be displayed is the second screen, judging whether the second screen is in a screen-off state, if so, lightening the second screen, displaying the content to be displayed on the second screen, judging whether the first screen is in a use state, and if so, detecting whether the power key is pressed down;
a confirming unit for confirming a duration of being pressed when it is detected that the power key is pressed;
the screen-off unit is used for turning off the second screen when the duration meets a preset condition; acquiring a currently displayed interface of an application program running on the first screen, and acquiring content corresponding to the interface; determining a playing time length of the content displayed on the first screen; setting a preset time period according to the playing time length, wherein the time length of the preset time period is greater than or equal to the playing time length; and the operation of switching the second screen from the screen-off state to the screen-on state based on the content to be displayed is not performed within a preset time period.
8. A mobile terminal comprising a first screen, a second screen, a power key, a memory and a processor, the memory coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-6.
9. A computer-readable medium having program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1-6.
CN201810283964.XA 2018-04-02 2018-04-02 Screen control method and device, mobile terminal and computer readable medium Expired - Fee Related CN110351418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810283964.XA CN110351418B (en) 2018-04-02 2018-04-02 Screen control method and device, mobile terminal and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810283964.XA CN110351418B (en) 2018-04-02 2018-04-02 Screen control method and device, mobile terminal and computer readable medium

Publications (2)

Publication Number Publication Date
CN110351418A CN110351418A (en) 2019-10-18
CN110351418B true CN110351418B (en) 2021-07-13

Family

ID=68172544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810283964.XA Expired - Fee Related CN110351418B (en) 2018-04-02 2018-04-02 Screen control method and device, mobile terminal and computer readable medium

Country Status (1)

Country Link
CN (1) CN110351418B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077468A (en) * 2020-08-18 2022-02-22 华为技术有限公司 Screen window redrawing method, electronic equipment and computer-readable storage medium
CN114285935B (en) * 2020-09-17 2023-09-15 南京酷派软件技术有限公司 Terminal control method and device, storage medium and electronic equipment
CN114296860B (en) * 2021-12-31 2024-04-16 飞天诚信科技股份有限公司 Method and apparatus for preventing disruption of processing by a secure processor
CN114979356A (en) * 2022-05-13 2022-08-30 维沃移动通信有限公司 Display method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092816A (en) * 2014-06-09 2014-10-08 联想(北京)有限公司 Information processing method and apparatus
CN106168891B (en) * 2016-06-30 2020-06-16 努比亚技术有限公司 Screen content switching device, double-screen terminal and screen content switching method
KR20180015845A (en) * 2016-08-04 2018-02-14 엘지전자 주식회사 Terminal and method for controlling the same
CN106354360B (en) * 2016-08-22 2019-12-27 青岛海信电器股份有限公司 Content display method and device
CN106383639A (en) * 2016-08-31 2017-02-08 青岛海信移动通信技术股份有限公司 Method and terminal for controlling screen
CN106961526B (en) * 2017-04-13 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Notification message display method and device and electronic equipment
CN107463243B (en) * 2017-06-30 2020-02-11 极品影视设备科技(深圳)有限公司 Screen control method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110351418A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US11237703B2 (en) Method for user-operation mode selection and terminals
CN108710456B (en) Application icon processing method and device and mobile terminal
CN110351418B (en) Screen control method and device, mobile terminal and computer readable medium
US20140160045A1 (en) Terminal and method for providing user interface using a pen
WO2019105227A1 (en) Application icon display method, terminal, and computer readable storage medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
US9431983B2 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN110221795B (en) Screen recording method and terminal
CN109032491B (en) Data processing method and device and mobile terminal
CN108932102B (en) Data processing method and device and mobile terminal
CN108804005B (en) Terminal control method and device and mobile terminal
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN108512997B (en) Display method, display device, mobile terminal and storage medium
CN112423138A (en) Search result display method and terminal equipment
CN111357006A (en) Fatigue prompting method and terminal
CN107896256B (en) Information pushing method and device, mobile terminal, server and readable storage medium
CN108881979B (en) Information processing method and device, mobile terminal and storage medium
CN108804894B (en) Screen unlocking method and device, mobile terminal and computer readable medium
CN107613139B (en) Schedule reminding method and mobile terminal
CN108647070B (en) Information reminding method and device, mobile terminal and computer readable medium
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium
CN109032465B (en) Data processing method and device and mobile terminal
CN108600807B (en) Video playing control method, device, terminal and computer readable medium
CN108170360B (en) Control method of gesture function and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210713