WO2023240451A1 - Screen control method and apparatus, electronic device and storage medium - Google Patents

Screen control method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2023240451A1
WO2023240451A1 PCT/CN2022/098702 CN2022098702W WO2023240451A1 WO 2023240451 A1 WO2023240451 A1 WO 2023240451A1 CN 2022098702 W CN2022098702 W CN 2022098702W WO 2023240451 A1 WO2023240451 A1 WO 2023240451A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
posture information
screen
information
Prior art date
Application number
PCT/CN2022/098702
Other languages
French (fr)
Chinese (zh)
Inventor
张逸帆
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/098702 priority Critical patent/WO2023240451A1/en
Priority to CN202280004501.XA priority patent/CN117643110A/en
Publication of WO2023240451A1 publication Critical patent/WO2023240451A1/en

Links

Images

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
    • 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/725Cordless telephones

Definitions

  • the present disclosure relates to the field of terminals, and in particular, to a screen control method and device, electronic equipment, and storage media.
  • This type of terminal device is usually equipped with two screens, a main screen and a secondary screen, to meet the needs of users in different scenarios.
  • the area of the main screen is usually larger, so that the user can get a large-screen experience when the terminal is in the unfolded state; while the area of the secondary screen is smaller than that of the main screen, and is installed on the outside of the terminal in the folded state. , so that when the terminal is in the folded state, the user can still obtain messages and perform operations through the secondary screen.
  • the present disclosure provides a screen control method and device, electronic equipment, and storage media, which can reduce the power consumption of a secondary screen when the terminal is not in use.
  • a screen control method which is applied to a terminal.
  • the terminal includes a main screen and a secondary screen, and displays a picture through the main screen when in an unfolded state, and displays a picture through the main screen when in a folded state.
  • the picture is displayed through the secondary screen; the method includes:
  • the user's usage status of the terminal is determined based on the obtained current posture information, and when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to a low power consumption mode.
  • a screen control device which is applied to a terminal.
  • the terminal includes a main screen and a secondary screen, and displays a picture through the main screen when in an unfolded state, and displays a picture through the main screen when in a folded state.
  • the picture is displayed through the secondary screen; the method includes:
  • the display unit when detecting that the terminal switches from the unfolded state to the folded state, displays the screen content through the secondary screen and obtains the current posture information of the terminal;
  • the determination unit determines the user's usage status of the terminal based on the obtained current posture information, and adjusts the secondary screen to low power consumption when the usage status indicates that the user is not using the terminal. model.
  • an electronic device including:
  • Memory used to store instructions executable by the processor
  • the processor implements the method described in the first aspect by running the executable instructions.
  • a computer-readable storage medium is provided, computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
  • the screen content when the terminal switches from the unfolded state to the folded state, the screen content can continue to be displayed on the secondary screen.
  • the current posture information of the terminal can be further obtained to determine the user's attitude toward the terminal based on the current posture information.
  • the usage status wherein, when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to the low power consumption mode.
  • the present disclosure can immediately perform the above-mentioned operations of obtaining gesture information, determining usage status, etc. after the terminal is changed to the folded state. In other words, it can be determined in time whether the user is still using the terminal, and after determining that the user is not using the terminal. When the user is not using the terminal, the power consumption of the secondary screen is reduced, and the problem of wasted power consumption caused by the inability of the related technology to promptly adjust the display mode of the secondary screen when the user is not using the terminal is avoided.
  • Figure 1 is a flow chart of a screen control method according to an exemplary embodiment of the present disclosure
  • Figure 2 is a flow chart of another screen control method according to an exemplary embodiment of the present disclosure.
  • Figure 3A is a schematic diagram of a folding screen mobile phone in an unfolded state according to an exemplary embodiment of the present disclosure
  • Figure 3B is a schematic diagram of a folding screen mobile phone in another unfolded state according to an exemplary embodiment of the present disclosure
  • Figure 4 is a schematic diagram of a folding screen mobile phone in a folded state according to an exemplary embodiment of the present disclosure
  • Figure 5 is a block diagram of a screen control device illustrating an exemplary embodiment of the present disclosure
  • Figure 6 is a block diagram of another screen control device according to an exemplary embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
  • first, second, third, etc. may be used in this disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • word “if” as used herein may be interpreted as "when” or “when” or “in response to determining.”
  • a terminal similar to a folding screen mobile phone it is usually equipped with two screens: a main screen and a secondary screen.
  • the area of the main screen is usually larger, so that when the terminal is in the unfolded state, it can provide the user with a large-screen experience; while the area of the secondary screen is smaller than that of the main screen, so that when the terminal is in the folded state, the user can still Can view information and perform operations.
  • this type of terminal will continue to display the screen content on the secondary screen when switching from the unfolded state to the folded state.
  • the content that continues to be displayed on the secondary screen is usually the content originally displayed on the secondary screen.
  • the terminal will start a timer. If no operation on the secondary screen is detected after a certain period of time, it will be determined that the user is not using the terminal, and the secondary screen will enter the screen-off state.
  • the present disclosure proposes a screen control method to avoid the problem in the related art that power consumption is wasted due to the normal display of screen content on the secondary screen when the user does not continue to use the terminal switched to the folded state.
  • FIG. 1 is a flow chart of a screen control method according to an exemplary embodiment of the present disclosure. This method is applied to a terminal, which includes a main screen and a secondary screen, and displays the image through the main screen when it is in the unfolded state, and displays the image through the secondary screen when it is in the folded state. As shown in Figure 1, the method may include the following steps:
  • Step 102 When it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen and obtain the current posture information of the terminal.
  • the reason why the related technology cannot promptly adjust the display of the secondary screen according to the user's use of the terminal after the terminal is switched to the folded state is because it uses a timing mechanism to determine whether the user is still using the terminal. caused.
  • this disclosure no longer uses timing to determine whether the user is still using the terminal. Instead, the judgment is made based on the posture information after the terminal switches to the folded state.
  • the posture of the terminal is usually different when the user is using the terminal and when the user is not using the terminal.
  • a user when a user is using a terminal, he usually holds the terminal so that the terminal has a large inclination angle with the horizontal plane, and there may be a certain change in posture.
  • the user When the user is not using the terminal, he usually places it somewhere. , the inclination angle between the terminal and the horizontal plane is usually small, and there will be no change in attitude.
  • whether the user is still using the terminal can be determined more accurately based on the posture of the terminal after it is switched to the folded state.
  • there is no delay in this method so that the present disclosure can adjust the display of the secondary screen in a timely manner according to the user's use of the terminal.
  • Step 104 Determine the user's usage status of the terminal based on the obtained current posture information, and adjust the secondary screen to low power consumption when the usage status indicates that the user is not using the terminal. model.
  • the posture information obtained after the terminal is switched to the folded state may be called current posture information.
  • the present disclosure can determine the user's usage status of the terminal based on the current posture information in various ways.
  • the terminal may record its own posture information when it is in the unfolded state. Then, after the terminal switches from the expanded state to the folded state, the posture information recorded when it is in the expanded state can be regarded as the original posture information of the current posture. On this basis, the recorded original posture information and the obtained current posture information can be compared to determine whether the user is still using the terminal based on the comparison result. For example, the judgment can be made based on the similarity between the current posture information and the original posture information. If the similarity between the two is higher than the preset similarity, it is determined that the user is still using the terminal. Otherwise, it is determined that the user is not continuing to use the terminal. terminal.
  • the terminal may record gesture information of the terminal every time the user uses it. Then, when the terminal switches from the unfolded state to the folded state this time, the posture information recorded in the past use process can be regarded as historical posture information. On this basis, the historical posture information recorded in the past can be compared with the current posture information obtained to determine whether the user is still using the terminal based on the comparison result. For example, similar to the previous embodiment, the judgment can be made based on the similarity between the current posture information and the historical posture information. If the similarity between the two is higher than the preset similarity, it is determined that the user is still using the terminal. , otherwise, it is deemed that the user is not continuing to use the terminal.
  • the above-mentioned original posture information and historical posture information can be obtained at the same time, and the original posture information and historical posture information are compared with the obtained current posture information respectively, so as to determine whether the user is still using the method according to the comparison result. terminal.
  • the comparison result shows that the similarity between the current posture information and at least one of the original posture information and the historical posture information is higher than the preset similarity, it can be determined that the user is still using the terminal. In other words, the user can still use the terminal only after the original posture information.
  • the similarity between both the information and the historical posture information and the current posture information is less than the preset similarity, it is determined that the terminal is not in use.
  • the above method of determining whether the user is still using the terminal based on at least one of the historical posture information and the original posture information is only illustrative. Specifically, how to determine whether the user is still using the terminal based on the posture information of the terminal at different times, It can be determined by those skilled in the art, and this disclosure does not limit this.
  • the attitude information may include an inclination angle.
  • a preset tilt angle range can be recorded in the terminal. When the tilt angle difference between the terminal postures at different times is within the preset tilt angle range, it can be regarded that the similarity between the two is higher than the preset tilt angle range. Set the similarity, otherwise it is regarded as not higher than the preset similarity.
  • the terminal can further obtain preset auxiliary information to assist in determining the user's usage status.
  • the usage status of the terminal after obtaining the preset auxiliary information, the user's use of the terminal can be jointly determined based on the preset auxiliary information and the current posture information.
  • the camera installed on one side of the secondary screen can be further called to collect images, and the collected images can be used as the above-mentioned preset auxiliary information.
  • the above-mentioned operation of obtaining the current posture information and the operation of calling the camera to obtain an image can be performed asynchronously, and whether the user is still using the terminal is determined based on the current posture information and the obtained image respectively.
  • it can be comprehensively determined based on the two results obtained by the judgment whether the user is still using the terminal. For example, when either of the two results indicates that the user is still using the terminal, it can be determined that the user is still using the terminal.
  • the terminal can also determine that the user is still using the terminal when both results indicate that the user is still using the terminal. How to determine whether the user is still using the terminal based on the two judgment results can be determined by those skilled in the art based on actual needs. This disclosure does not limit this.
  • the above-mentioned operation of obtaining current posture information and the operation of calling the camera to obtain images can also be performed progressively.
  • the camera can be further called to obtain an image, and it can be determined based on the obtained image whether the user is still using the terminal.
  • the conclusion obtained based on the acquired image can be directly used as the user's usage status of the terminal.
  • the camera can be further called to further determine the user. Whether the terminal is indeed not in use, thereby improving the accuracy of the judgment. At the same time, it can also avoid the problem of further judging the terminal in all postures based on the image, which leads to the problem of occupying more processing resources.
  • various methods can be used to determine whether the user is still using the terminal based on the collected images. For example, face recognition can be performed on the collected images. When the face is recognized, it can be determined that the user is still using the terminal; for another example, gaze sensing can be performed on the collected images. When it is sensed that the user is looking at the secondary screen , it is determined that the user is still using the terminal.
  • face recognition can be performed on the collected images.
  • gaze sensing can be performed on the collected images.
  • it is sensed that the user is looking at the secondary screen it is determined that the user is still using the terminal.
  • the distance sensor after detecting that the terminal switches from the unfolded state to the folded state, the distance sensor can be further called to detect the distance between the user and the terminal, and the detected distance is used as the above-mentioned preset auxiliary information.
  • this embodiment can also asynchronously perform the above-mentioned operation of obtaining the current posture information and the operation of calling the distance sensor to detect the distance, and determine whether the user is still using the terminal based on the two, to further integrate the two Judge the result and ultimately determine whether the user is still using the terminal.
  • the comprehensive determination method is similar to the previous embodiment and will not be described again here.
  • this embodiment can also progressively perform the above-mentioned operation of obtaining the current posture information and the operation of calling the distance sensor to detect the distance.
  • the progressive execution method is also similar to the previous embodiment and will not be described again here.
  • different distance sensors can be used according to actual needs.
  • any one of SAR (Synthetic Aperture Radar, synthetic aperture radar), infrared sensor, and ToF (Time of Light) sensor can be used.
  • SAR Synthetic Aperture Radar, synthetic aperture radar
  • infrared sensor infrared sensor
  • ToF Time of Light
  • This disclosure is suitable for This is not a limitation.
  • the corresponding relationship between the auxiliary policy and the status information of the terminal can also be preset, so that when the terminal is in different states, different auxiliary policies are used to determine the user's use of the terminal.
  • the target auxiliary policy corresponding to the current status information of the terminal can be determined first, and then the preset auxiliary information can be obtained according to the requirements of the target auxiliary policy.
  • the terminal can determine the user's use of the terminal according to the target assistance strategy and based on the current posture information and the acquired preset assistance information.
  • the status information included in the above correspondence relationship can be set by those skilled in the art according to actual needs.
  • it can be the current resource occupancy rate of the terminal or the tilt angle range of the terminal.
  • the current resource occupancy rate and the tilt angle range of the terminal may also be included at the same time, and this disclosure does not limit this.
  • an occupancy threshold can be set. If the resource occupancy rate of the terminal is lower than the occupancy threshold, then corresponding to "according to the acquired image
  • the auxiliary strategy "determine the user's usage of the terminal”; if the resource occupancy rate of the terminal is not lower than the occupancy threshold, it corresponds to the auxiliary strategy "determine the user's usage of the terminal based on the distance detected by the distance sensor” Strategy.
  • the target auxiliary strategy to be adopted can be determined based on the current resource occupancy rate of the terminal. It should be understood that the reason why this example is set up in this way is because determining the user's use of the terminal based on image assistance involves operations such as face recognition.
  • the accuracy is high, it also takes up more resources. Therefore, it is only used in It is used when the terminal's current resource occupancy is low, which can avoid the impact of this operation on the normal operation of the terminal. Determining the user's usage of the terminal based on distance is simpler and takes up less resources. Therefore, even if the terminal's current resources are When the occupancy rate is low, it will not affect the normal operation of the terminal.
  • auxiliary strategies corresponding to each tilt angle range may include but are not limited to the above-mentioned "determining the usage status based on the collected images" and "determining the usage status based on the acquired distance".
  • the tilt angle range to which the current tilt angle of the terminal belongs can be determined, and the auxiliary strategy corresponding to the determined tilt angle range is determined as the target auxiliary strategy.
  • the above examples are only illustrative, and the corresponding relationship between the tilt angle range and the auxiliary strategy can be set by those skilled in the art according to actual needs, and the present disclosure does not limit this.
  • the display of the secondary screen of the terminal can be adjusted to reduce the power consumption of the secondary screen.
  • the secondary screen can be directly adjusted to the idle state according to related technologies; for another example, the brightness of the secondary screen can be reduced to reduce power consumption; for another example, the refresh rate of the secondary screen or the picture output frame rate can be reduced to reduce power consumption.
  • any adjustment method that can reduce power consumption can be regarded as adjusting the secondary screen to a low power consumption mode, and the present disclosure does not limit this.
  • the execution subject of the technical solution of the present disclosure can be any foldable terminal that has a screen that can display images to the user in both the unfolded state and the folded state.
  • the terminal can be a folding screen mobile phone or other foldable terminals.
  • the specific form of the terminal can be determined by those skilled in the art according to actual needs, and this disclosure does not limit this.
  • the folding screen mobile phone can be either an outward-folding type (that is, after being folded, the main screen is exposed) or an in-folding type (that is, after being folded, the main screen is exposed) Home screen is covered).
  • the secondary screen can be part of the main screen.
  • the main screen on one side can be used as a secondary screen to continue displaying the screen; when it is an inside-folding type, the secondary screen can be a part of the main screen.
  • the main screen is completely covered when the terminal is in the folded state. Therefore, if one side of the main screen in the unfolded state is called the front, then a secondary screen can be installed on the back to display the screen to the user in the folded state.
  • the present disclosure can continue to display the screen content on the secondary screen.
  • the current posture information of the terminal can be further obtained to determine the user's attitude toward the terminal based on the current posture information.
  • the usage status wherein, when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to the low power consumption mode.
  • the present disclosure can immediately perform the above-mentioned operations of obtaining posture information and determining usage status after the terminal is changed to the folded state. In other words, it can be determined in time whether the user is still using the terminal, and then when it is determined that the user is not using the terminal. , reduce the power consumption of the secondary screen in a timely manner. It can be seen that through the technical solution of the present disclosure, the related technology avoids the problem that the display of the secondary screen of the terminal cannot be adjusted in time due to the inability to determine in time whether the user is still using the terminal after the terminal is switched to the folded state, thereby causing waste of power consumption. .
  • the present disclosure can further obtain image information, distance information, etc. as auxiliary information for judging whether the user is still using the terminal, so as to further improve the accuracy of judgment and avoid misjudgment.
  • folding screen mobile phones will be referred to as mobile phones in the following text.
  • FIG. 2 is a flowchart of another screen control method according to an exemplary embodiment of the present disclosure. As shown in Figure 2, the method includes the following steps:
  • Step 201 Record the tilt angle of the mobile phone in the unfolded state.
  • the folding screen mobile phone in this embodiment can be an inward-folding mobile phone as shown in Figures 3A and 3B (Figure 3A is the front in the unfolded state, Figure 3B is the back in the unfolded state, the solid line represents the current side , the dotted line indicates that it is located on the other side of the current face).
  • the front contains a foldable main screen (can be folded along the dotted line in the figure), while the back is only equipped with a secondary screen on one side.
  • the area of the secondary screen is about half of the main screen, so that the user can view information through the secondary screen after folding the mobile phone to the folded state shown in Figure 4.
  • the tilt angle of the mobile phone in the unfolded state can be temporarily recorded.
  • the tilt angle detected within the preset time before the switch can be recorded.
  • the tilt angle can be filtered out The tilt angle information detected during the switching process. For example, if the above preset time is 30 seconds, when it is detected that the phone is switched to the folded state, the tilt angle information detected in the subsequent 10 seconds will not be recorded, that is, only 30 seconds will be recorded. The tilt angle information detected in the last 20 seconds.
  • this example is only illustrative. You can also detect the movement of the mobile phone and delete the tilt angle information recorded when the mobile phone moves due to folding. No recording is performed. Only the stable state of the mobile phone before moving due to folding is recorded. How to eliminate the influence of the state switching process on the recorded tilt angle information according to the detected tilt angle information can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.
  • Step 202 It is detected that the mobile phone is switched to a folded state.
  • the mobile phone when the mobile phone is in the unfolded state, it can be monitored whether the mobile phone switches to the folded state.
  • the sensor installed in the main screen can be used to monitor whether the main screen is bent.
  • the main screen When the main screen is bent, it can be determined that the mobile phone is switched to the folded state.
  • Step 203 Display the screen content through the secondary screen.
  • the screen content originally displayed on the main screen can be displayed on the secondary screen so that the user can continue to view information and operate through the secondary screen.
  • Step 204 Obtain the current tilt angle of the mobile phone.
  • the current tilt angle of the mobile phone can be obtained, and the obtained current tilt angle and the tilt angle recorded before switching to the folded state can be calculated. angular deviation value, and then determine whether the user is still using the mobile phone based on the angular deviation value.
  • Step 205 Calculate the angle deviation between the current tilt angle and the recorded tilt angle.
  • Step 206 Determine whether the angle deviation is within the preset deviation range; if so, jump to step 207; otherwise, jump to step 210.
  • the deviation range of the tilt angle can be preset. If the calculated angle deviation value is within the preset deviation range, the camera can be called to confirm whether the user is actually using the mobile phone. Otherwise, it is determined that the user is not in the mobile phone. Use your mobile phone to adjust the secondary screen to the screen-off state.
  • Step 207 Call the secondary screen side camera to collect images.
  • the camera actually called may be the camera on the side of the secondary screen as shown in Figure 4, to ensure that if the user is still using the mobile phone, images containing human faces can be collected.
  • Step 208 Perform face recognition on the collected images; if a face is recognized, jump to step 209; otherwise, jump to step 210.
  • face recognition can be performed on the image to determine whether the user is still using the mobile phone. If the face is recognized, it is determined that the user is still using the mobile phone and can continue to be displayed on the secondary screen. Screen content; if no face is recognized, it is deemed that the user is not continuing to use the phone, and the secondary screen can be adjusted to the screen-off state.
  • Step 209 Continue to display the screen content on the secondary screen.
  • Step 210 Adjust the secondary screen to a screen-off state.
  • the tilt angle of the folding screen mobile phone before switching to the folded state can be compared with the tilt angle of the folding screen mobile phone before switching to the folded state.
  • the tilt angle after the status is compared to determine whether the user is still using the phone.
  • the comparison result indicates that the difference between the two is within the preset deviation range
  • FIG. 5 is a block diagram of a screen control device according to an exemplary embodiment of the present disclosure.
  • the device includes a display unit 501 and a determination unit 502 .
  • the display unit 501 when detecting that the terminal switches from the unfolded state to the folded state, displays the screen content through the secondary screen and obtains the current posture information of the terminal;
  • the determination unit 502 determines the user's usage status of the terminal based on the acquired current posture information, and adjusts the secondary screen to low power when the usage status indicates that the user is not using the terminal. consumption mode.
  • the determining unit 502 is further used to:
  • the current posture information is compared with the original posture information or the historical posture information to determine whether the user is still using the terminal based on the comparison result.
  • the comparison result shows that the similarity between the current posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal.
  • the determining unit 502 is further used to:
  • the original posture information and the historical posture information are respectively compared with the current posture information to determine whether the user is still using the terminal according to the comparison result.
  • the determining unit 502 is further used to:
  • the comparison result shows that the similarity between the current posture information of the terminal and at least one of the original posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal. the terminal.
  • the determining unit 502 is further used to:
  • FIG. 6 is a block diagram of another screen control device according to an exemplary embodiment of the present disclosure. Based on the aforementioned embodiment shown in FIG. 5 , this embodiment further includes: an acquisition unit 503 .
  • Optional also includes:
  • Obtaining unit 503 obtains preset auxiliary information
  • the determining unit 502 is further configured to determine the user's usage status of the terminal based on the acquired current posture information and the preset auxiliary information.
  • the acquisition unit 503 is further used for:
  • a distance sensor is called to detect the distance between the user and the terminal, and the collected distance is used as the obtained preset auxiliary information.
  • the acquisition unit 503 is further configured to: determine the current status information of the terminal, to determine the target auxiliary strategy corresponding to the current status information from the preset correspondence relationship between the auxiliary strategy and the status information, and determine the target auxiliary strategy according to the target
  • the auxiliary policy requires obtaining preset auxiliary information.
  • the determining unit 502 is further configured to determine the user's usage status of the terminal according to the target auxiliary strategy and the acquired current posture information and the preset auxiliary information.
  • the status information contained in the corresponding relationship includes at least one of the following:
  • the current resource occupancy rate of the terminal and the tilt angle range of the terminal are the current resource occupancy rate of the terminal and the tilt angle range of the terminal.
  • the device embodiment since it basically corresponds to the method embodiment, please refer to the partial description of the method embodiment for relevant details.
  • the device embodiments described above are only illustrative.
  • the units described as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. Persons of ordinary skill in the art can understand and implement it without any creative effort.
  • the present disclosure also provides a screen control device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the screen as described in any of the above embodiments.
  • the control method for example, the method may include: when it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen, and obtain the current posture information of the terminal; according to the obtained current posture information Determine the user's usage status of the terminal, and adjust the secondary screen to a low power consumption mode when the usage status indicates that the user is not using the terminal.
  • the present disclosure also provides an electronic device.
  • the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by one or more processors.
  • Executing the one or more programs includes instructions for implementing the screen control method as described in any of the above embodiments.
  • the method may include: when it is detected that the terminal switches from an expanded state to a folded state. , display the screen content through the secondary screen, and obtain the current posture information of the terminal; determine the user's usage status of the terminal based on the obtained current posture information, and indicate that the user is not using the terminal when the usage status indicates that the user is not using the terminal.
  • adjust the secondary screen to a low power consumption mode.
  • FIG. 7 is a block diagram of a device 700 for implementing a screen control method according to an exemplary embodiment.
  • the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • the device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and communications component 716.
  • Processing component 702 generally controls the overall operations of device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method.
  • processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components.
  • processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
  • Memory 704 is configured to store various types of data to support operations at device 700 . Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 704 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 706 provides power to the various components of device 700 .
  • Power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 700 .
  • Multimedia component 708 includes a screen that provides an output interface between the device 700 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 708 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 710 is configured to output and/or input audio signals.
  • audio component 710 includes a microphone (MIC) configured to receive external audio signals when device 700 is in operating modes, such as call mode, recording mode, and speech recognition mode. The received audio signal may be further stored in memory 704 or sent via communication component 716 .
  • audio component 710 also includes a speaker for outputting audio signals.
  • the I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 714 includes one or more sensors that provide various aspects of status assessment for device 700 .
  • sensor component 714 can detect the open/closed state of device 700, the relative positioning of components, such as the display and keypad of device 700, and sensor component 714 can also detect a change in position of device 700 or a component of device 700. , the presence or absence of user contact with device 700 , device 700 orientation or acceleration/deceleration and temperature changes of device 700 .
  • Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 716 is configured to facilitate wired or wireless communication between apparatus 700 and other devices.
  • the device 700 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio) or a combination thereof.
  • communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 716 also includes a near field communications (NFC) module to facilitate short-range communications.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 704 including instructions, which are executable by the processor 720 of the device 700 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

A screen control method and apparatus, an electronic device and a storage medium. The method comprises: when it is detected that a terminal is switched from an unfolded state to a folded state, displaying picture content by means of a secondary screen, and obtaining current attitude information of the terminal; and determining usage of the terminal by a user according to the obtained current attitude information, and adjusting the secondary screen to a low-power-consumption mode when the usage indicates that the terminal is not being used by the user.

Description

屏幕控制方法及装置、电子设备、存储介质Screen control method and device, electronic equipment, storage medium 技术领域Technical field
本公开涉及终端领域,尤其涉及一种屏幕控制方法及装置、电子设备、存储介质。The present disclosure relates to the field of terminals, and in particular, to a screen control method and device, electronic equipment, and storage media.
背景技术Background technique
为了同时满足用户对便携性和大屏体验的要求,类似于折叠屏手机的终端设备应运而生。此类终端设备通常装配有主屏幕和副屏幕两块屏幕,以满足用户在不同场景下的需求。In order to meet users' requirements for portability and large-screen experience at the same time, terminal devices similar to foldable screen mobile phones have emerged. This type of terminal device is usually equipped with two screens, a main screen and a secondary screen, to meet the needs of users in different scenarios.
其中,主屏幕的面积通常较大,使得用户可以在该终端处于展开状态下时获得大屏体验;而副屏幕的面积相较于主屏幕较小,且装配于处于折叠状态下的终端的外侧,使得终端处于折叠状态下时,用户仍可以通过副屏幕获取消息和进行操作。Among them, the area of the main screen is usually larger, so that the user can get a large-screen experience when the terminal is in the unfolded state; while the area of the secondary screen is smaller than that of the main screen, and is installed on the outside of the terminal in the folded state. , so that when the terminal is in the folded state, the user can still obtain messages and perform operations through the secondary screen.
发明内容Contents of the invention
本公开提供一种屏幕控制方法及装置、电子设备、存储介质,能够在终端未被使用的情况下,减少副屏幕的功耗。The present disclosure provides a screen control method and device, electronic equipment, and storage media, which can reduce the power consumption of a secondary screen when the terminal is not in use.
根据本公开的第一方面,提供一种屏幕控制方法,应用于终端,所述终端包含主屏幕和副屏幕,且在处于展开状态下时通过所述主屏幕显示画面、在处于折叠状态下时通过所述副屏幕显示画面;所述方法包括:According to a first aspect of the present disclosure, a screen control method is provided, which is applied to a terminal. The terminal includes a main screen and a secondary screen, and displays a picture through the main screen when in an unfolded state, and displays a picture through the main screen when in a folded state. The picture is displayed through the secondary screen; the method includes:
在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;When it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen and obtain the current posture information of the terminal;
根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。The user's usage status of the terminal is determined based on the obtained current posture information, and when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to a low power consumption mode.
根据本公开的第二方面,提供一种屏幕控制装置,应用于终端,所述终端包含主屏幕和副屏幕,且在处于展开状态下时通过所述主屏幕显示画面、在处于折叠状态下时通过所述副屏幕显示画面;所述方法包括:According to a second aspect of the present disclosure, a screen control device is provided, which is applied to a terminal. The terminal includes a main screen and a secondary screen, and displays a picture through the main screen when in an unfolded state, and displays a picture through the main screen when in a folded state. The picture is displayed through the secondary screen; the method includes:
展示单元,在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;The display unit, when detecting that the terminal switches from the unfolded state to the folded state, displays the screen content through the secondary screen and obtains the current posture information of the terminal;
确定单元,根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。The determination unit determines the user's usage status of the terminal based on the obtained current posture information, and adjusts the secondary screen to low power consumption when the usage status indicates that the user is not using the terminal. model.
根据本公开的第三方面,提供一种电子设备,包括:According to a third aspect of the present disclosure, an electronic device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器通过运行所述可执行指令以实现如第一方面所述的方法。Wherein, the processor implements the method described in the first aspect by running the executable instructions.
根据本公开的第四方面,提供一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现如第一方面所述方法的步骤。According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
在本公开的技术方案中,当终端由展开状态切换为折叠状态时,可以继续在副屏幕中展示画面内容,同时,可以进一步获取终端的当前姿态信息,以根据该当前姿态信息确定用户对终端的使用状态,其中,在该使用状况表明用户未在使用终端的情况下,将副屏幕调整为低功耗模式。In the technical solution of the present disclosure, when the terminal switches from the unfolded state to the folded state, the screen content can continue to be displayed on the secondary screen. At the same time, the current posture information of the terminal can be further obtained to determine the user's attitude toward the terminal based on the current posture information. The usage status, wherein, when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to the low power consumption mode.
应当理解的是,本公开在终端变更为折叠状态后,可以即刻执行上述获取姿态信息、确定使用状况等操作,换言之,可以及时确定出用户是否仍在使用终端,并在确定用户未在使用终端时,降低副屏幕的功耗,避免了相关技术中无法在用户未使用终端时,及时调整副屏幕的显示方式,而导致的功耗浪费问题。It should be understood that the present disclosure can immediately perform the above-mentioned operations of obtaining gesture information, determining usage status, etc. after the terminal is changed to the folded state. In other words, it can be determined in time whether the user is still using the terminal, and after determining that the user is not using the terminal. When the user is not using the terminal, the power consumption of the secondary screen is reduced, and the problem of wasted power consumption caused by the inability of the related technology to promptly adjust the display mode of the secondary screen when the user is not using the terminal is avoided.
附图说明Description of the drawings
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1是本公开一示例性实施例示出的一种屏幕控制方法的流程图;Figure 1 is a flow chart of a screen control method according to an exemplary embodiment of the present disclosure;
图2是本公开一示例性实施例示出的另一种屏幕控制方法的流程图;Figure 2 is a flow chart of another screen control method according to an exemplary embodiment of the present disclosure;
图3A是本公开一示例性实施例示出的一种展开状态下的折叠屏手机示意图;Figure 3A is a schematic diagram of a folding screen mobile phone in an unfolded state according to an exemplary embodiment of the present disclosure;
图3B是本公开一示例性实施例示出的另一种展开状态下的折叠屏手机示意图;Figure 3B is a schematic diagram of a folding screen mobile phone in another unfolded state according to an exemplary embodiment of the present disclosure;
图4是本公开一示例性实施例示出的一种折叠状态下的折叠屏手机示意图;Figure 4 is a schematic diagram of a folding screen mobile phone in a folded state according to an exemplary embodiment of the present disclosure;
图5是本公开一示例性实施例示出的一种屏幕控制装置的框图;Figure 5 is a block diagram of a screen control device illustrating an exemplary embodiment of the present disclosure;
图6是本公开一示例性实施例示出的另一种屏幕控制装置的框图;Figure 6 is a block diagram of another screen control device according to an exemplary embodiment of the present disclosure;
图7是本公开一示例性实施例中一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the present disclosure, the first information may also be called second information, and similarly, the second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining."
在类似于折叠屏手机的终端中,通常装配有主屏幕和副屏幕两块屏幕。其中,主屏幕面积通常较大,以便终端在处于展开状态下时,能够为用户提供大屏体验;而副屏幕的面积相较于主屏幕较小,使得终端在处于折叠状态下时,用户仍可以查看信息和进行操作。In a terminal similar to a folding screen mobile phone, it is usually equipped with two screens: a main screen and a secondary screen. Among them, the area of the main screen is usually larger, so that when the terminal is in the unfolded state, it can provide the user with a large-screen experience; while the area of the secondary screen is smaller than that of the main screen, so that when the terminal is in the folded state, the user can still Can view information and perform operations.
在相关技术中,该类终端在由展开状态切换为折叠状态时,会在副屏幕中继续展示画面内容,通常情况下,为保证使用的连续性,副屏幕中继续显示的通常为原先显示于主屏幕中的画面内容。与此同时,终端会启动计时器,若在若干时长后仍未检测到对副屏幕进行操作,则确定用户未在使用该终端,使副屏幕进入息屏状态。In related technologies, this type of terminal will continue to display the screen content on the secondary screen when switching from the unfolded state to the folded state. Normally, in order to ensure the continuity of use, the content that continues to be displayed on the secondary screen is usually the content originally displayed on the secondary screen. The content of the home screen. At the same time, the terminal will start a timer. If no operation on the secondary screen is detected after a certain period of time, it will be determined that the user is not using the terminal, and the secondary screen will enter the screen-off state.
不难看出,相关技术在终端切换为折叠状态后,即便用户未继续使用终端,终端仍会以常规方式在副屏幕中显示画面内容,存在功耗浪费的问题。It is not difficult to see that with the related technology, after the terminal is switched to the folded state, even if the user does not continue to use the terminal, the terminal will still display the screen content on the secondary screen in a conventional manner, causing a waste of power consumption.
为此,本公开提出了一种屏幕控制方法,以避免相关技术中由于用户未继续使用切换为折叠状态的终端时,仍在副屏幕中正常显示画面内容,而导致功耗浪费的问题。To this end, the present disclosure proposes a screen control method to avoid the problem in the related art that power consumption is wasted due to the normal display of screen content on the secondary screen when the user does not continue to use the terminal switched to the folded state.
图1为本公开一示例性实施例示出的一种屏幕控制方法的流程图。该方法应用于终端,该终端包含主屏幕和副屏幕,且在处于展开状态下时通过主屏幕显示画面、在处于折叠状态下时通过副屏幕显示画面。如图1所示,该方法可以包括以下步骤:FIG. 1 is a flow chart of a screen control method according to an exemplary embodiment of the present disclosure. This method is applied to a terminal, which includes a main screen and a secondary screen, and displays the image through the main screen when it is in the unfolded state, and displays the image through the secondary screen when it is in the folded state. As shown in Figure 1, the method may include the following steps:
步骤102,在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息。Step 102: When it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen and obtain the current posture information of the terminal.
由上述介绍可知,相关技术之所以无法在终端切换为折叠状态后,及时根据用户对终端的使用状况,对副屏幕的显示进行调整,是由于其采用计时机制判断用户是否仍在继续使用终端而导致的。As can be seen from the above introduction, the reason why the related technology cannot promptly adjust the display of the secondary screen according to the user's use of the terminal after the terminal is switched to the folded state is because it uses a timing mechanism to determine whether the user is still using the terminal. caused.
有鉴于此,本公开不再通过计时的方式,判断用户是否仍在使用终端。而是通过终端切换为折叠状态后的姿态信息进行判断。In view of this, this disclosure no longer uses timing to determine whether the user is still using the terminal. Instead, the judgment is made based on the posture information after the terminal switches to the folded state.
应当理解的是,用户在使用和未使用终端时,终端所处的姿态通常是不同的。例如,用户在使用终端时,通常会握持终端,使得终端与水平面存在较大的倾斜角度,且可能存在一定的姿态变化,而在用户未使用终端时,则通常会将其放置于某处,终端与水平面的倾斜角度通常较小,且不会产生姿态的变化。显然,通过终端切换为折叠状态后所处的姿态,能够较为准确地确定出用户是否仍在使用终端。且该方式不存在延时,致使本公开能够及时地根据用户对终端的使用状况,对副屏幕的显示进行调整。It should be understood that the posture of the terminal is usually different when the user is using the terminal and when the user is not using the terminal. For example, when a user is using a terminal, he usually holds the terminal so that the terminal has a large inclination angle with the horizontal plane, and there may be a certain change in posture. When the user is not using the terminal, he usually places it somewhere. , the inclination angle between the terminal and the horizontal plane is usually small, and there will be no change in attitude. Obviously, whether the user is still using the terminal can be determined more accurately based on the posture of the terminal after it is switched to the folded state. Moreover, there is no delay in this method, so that the present disclosure can adjust the display of the secondary screen in a timely manner according to the user's use of the terminal.
步骤104,根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。Step 104: Determine the user's usage status of the terminal based on the obtained current posture information, and adjust the secondary screen to low power consumption when the usage status indicates that the user is not using the terminal. model.
在本公开中,可以将终端切换为折叠状态后获取到的姿态信息称作当前姿态信息。本公开可以通过多种方式根据该当前姿态信息确定用户对终端的使用状况。In the present disclosure, the posture information obtained after the terminal is switched to the folded state may be called current posture information. The present disclosure can determine the user's usage status of the terminal based on the current posture information in various ways.
在一实施例中,终端可以在处于展开状态时,记录自身的姿态信息。那么,在终端由展开状态切换为折叠状态之后,可以将处于展开状态时记录的姿态信息视为是当前姿态的原先姿态信息。在此基础上,即可将记录的原先姿态信息和获取到的当前姿态信息进行比较,以根据比较结果确定用户是否仍在使用终端。例如,可以根据当 前姿态信息与原先姿态信息的相似度进行判断,其中,在两者相似度高于预设相似度的情况下,则认定用户仍在使用终端,否则,认定用户未在继续使用终端。In an embodiment, the terminal may record its own posture information when it is in the unfolded state. Then, after the terminal switches from the expanded state to the folded state, the posture information recorded when it is in the expanded state can be regarded as the original posture information of the current posture. On this basis, the recorded original posture information and the obtained current posture information can be compared to determine whether the user is still using the terminal based on the comparison result. For example, the judgment can be made based on the similarity between the current posture information and the original posture information. If the similarity between the two is higher than the preset similarity, it is determined that the user is still using the terminal. Otherwise, it is determined that the user is not continuing to use the terminal. terminal.
在另一实施例中,终端可以在用户每一次使用时,均记录终端的姿态信息。那么,当终端在本次由展开状态切换为折叠状态之后,可以将以往使用过程中记录的姿态信息视为是历史姿态信息。在此基础上,即可将以往记录的历史姿态信息和获取到的当前姿态信息进行比较,以根据比较结果确定用户是否仍在使用终端。例如,可以与上一实施例相类似的,根据当前姿态信息与历史姿态信息的相似度进行判断,其中,在两者相似度高于预设相似度的情况下,则认定用户仍在使用终端,否则,认定用户未在继续使用终端。In another embodiment, the terminal may record gesture information of the terminal every time the user uses it. Then, when the terminal switches from the unfolded state to the folded state this time, the posture information recorded in the past use process can be regarded as historical posture information. On this basis, the historical posture information recorded in the past can be compared with the current posture information obtained to determine whether the user is still using the terminal based on the comparison result. For example, similar to the previous embodiment, the judgment can be made based on the similarity between the current posture information and the historical posture information. If the similarity between the two is higher than the preset similarity, it is determined that the user is still using the terminal. , otherwise, it is deemed that the user is not continuing to use the terminal.
在又一实施例中,可以同时获取上述原先姿态信息和历史姿态信息,并将原先姿态信息和历史姿态信息,分别与获取到的当前姿态信息进行比较,以根据比较结果判断用户是否仍在使用终端。例如,可以在比较结果表明当前姿态信息与原先姿态信息、历史姿态信息两者中的至少一者的相似度高于预设相似度时,确定用户仍在使用终端,换言之,唯有在原先姿态信息、历史姿态信息两者与当前姿态信息的相似度均小于预设相似度时,确定终端未在使用终端。In another embodiment, the above-mentioned original posture information and historical posture information can be obtained at the same time, and the original posture information and historical posture information are compared with the obtained current posture information respectively, so as to determine whether the user is still using the method according to the comparison result. terminal. For example, when the comparison result shows that the similarity between the current posture information and at least one of the original posture information and the historical posture information is higher than the preset similarity, it can be determined that the user is still using the terminal. In other words, the user can still use the terminal only after the original posture information. When the similarity between both the information and the historical posture information and the current posture information is less than the preset similarity, it is determined that the terminal is not in use.
当然,上述基于历史姿态信息和原先姿态信息中的至少一者确定用户是否仍在使用终端的方式仅是示意性的,具体如何根据终端处于不同时刻的姿态信息,确定用户是否仍在使用终端,可由本领域技术人员确定,本公开对此不作限制。Of course, the above method of determining whether the user is still using the terminal based on at least one of the historical posture information and the original posture information is only illustrative. Specifically, how to determine whether the user is still using the terminal based on the posture information of the terminal at different times, It can be determined by those skilled in the art, and this disclosure does not limit this.
需要声明的是,本公开可以通过多种方式确定不同时刻终端姿态的相似度。例如,姿态信息中可以包含倾斜角度,当不同时刻的姿态信息的倾斜角差值越小则证明相似度越高。或者,终端中可以记录一预设的倾斜角度范围,当不同时刻的终端姿态的倾斜角度差值在该预设倾斜角度范围内时,即可视为是两者之间的相似度高于预设相似度,否则视为是不高于预设相似度。It should be noted that this disclosure can determine the similarity of terminal postures at different moments in a variety of ways. For example, the attitude information may include an inclination angle. The smaller the inclination angle difference between the attitude information at different moments is, the higher the similarity is. Alternatively, a preset tilt angle range can be recorded in the terminal. When the tilt angle difference between the terminal postures at different times is within the preset tilt angle range, it can be regarded that the similarity between the two is higher than the preset tilt angle range. Set the similarity, otherwise it is regarded as not higher than the preset similarity.
在本公开中,由于仅凭借切换为折叠状态后的当前姿态信息确定用户对终端的使用状况,可能存在一定的偏差,因此,终端还可以进一步获取预设的辅助信息,以用于辅助确定用户对终端的使用状况。换言之,在获得预设辅助信息后,可以根据预设辅助信息和当前姿态信息,共同确定用户对终端的使用状况。In this disclosure, since only the current posture information after switching to the folded state is used to determine the user's use of the terminal, there may be a certain deviation. Therefore, the terminal can further obtain preset auxiliary information to assist in determining the user's usage status. The usage status of the terminal. In other words, after obtaining the preset auxiliary information, the user's use of the terminal can be jointly determined based on the preset auxiliary information and the current posture information.
在一实施例中,在检测到终端由展开状态切换为折叠状态后,可以进一步调用装配于副屏幕一侧的摄像头,以进行图像采集,并将采集到的图像作为上述预设辅助 信息。In one embodiment, after detecting that the terminal switches from the unfolded state to the folded state, the camera installed on one side of the secondary screen can be further called to collect images, and the collected images can be used as the above-mentioned preset auxiliary information.
在本实施例中,可以异步执行上述获取当前姿态信息的操作和调用摄像头获取图像的操作,并分别基于当前姿态信息和获取到的图像判断用户是否仍在使用终端。在此基础上,即可基于判断得到的两个结果,综合确定用户是否仍在使用终端,例如,可以在两个结果中的任一者表明用户仍在使用终端时,便确定用户仍在使用终端,也可以在两个结果均表明用户仍在使用终端时,才确定用户仍在使用终端,具体如何基于两个判断结果确定用户是否仍在使用终端,可由本领域技术人员根据实际需求确定,本公开对此不作限制。In this embodiment, the above-mentioned operation of obtaining the current posture information and the operation of calling the camera to obtain an image can be performed asynchronously, and whether the user is still using the terminal is determined based on the current posture information and the obtained image respectively. On this basis, it can be comprehensively determined based on the two results obtained by the judgment whether the user is still using the terminal. For example, when either of the two results indicates that the user is still using the terminal, it can be determined that the user is still using the terminal. The terminal can also determine that the user is still using the terminal when both results indicate that the user is still using the terminal. How to determine whether the user is still using the terminal based on the two judgment results can be determined by those skilled in the art based on actual needs. This disclosure does not limit this.
在本实施例中,还可以递进执行上述获取当前姿态信息的操作和调用摄像头获取图像的操作。换言之,可以仅在根据当前姿态信息确定用户未在使用终端时,进一步调用摄像头获取图像,并根据获取到的图像确定用户是否仍在使用终端。在该情况下,可以直接将根据获取到的图像得到的结论作为用户对终端的使用状况。应当理解的是,由于用户可能采用非常规的姿势使用终端,因此,在根据当前姿态信息确定用户未在使用终端时,可能存在误判的情况,此时,可以进一步调用摄像头,以进一步确定用户是否确实未在使用终端,进而提高判断准确率,同时,也可以避免对所有姿态下的终端均根据图像进行进一步判断,而导致占用处理资源较多的问题。In this embodiment, the above-mentioned operation of obtaining current posture information and the operation of calling the camera to obtain images can also be performed progressively. In other words, only when it is determined that the user is not using the terminal based on the current posture information, the camera can be further called to obtain an image, and it can be determined based on the obtained image whether the user is still using the terminal. In this case, the conclusion obtained based on the acquired image can be directly used as the user's usage status of the terminal. It should be understood that since the user may use the terminal in unconventional postures, when it is determined that the user is not using the terminal based on the current posture information, there may be a misjudgment. In this case, the camera can be further called to further determine the user. Whether the terminal is indeed not in use, thereby improving the accuracy of the judgment. At the same time, it can also avoid the problem of further judging the terminal in all postures based on the image, which leads to the problem of occupying more processing resources.
在本实施例中,可以采用多种方式根据采集到的图像确定用户是否仍在使用终端。例如,可以对采集到的图像进行人脸识别,当识别到人脸时,即可确定用户仍在使用终端;再例如,可以对采集到的图像进行注视感知,当感知到用户在注视副屏幕时,则确定用户仍在使用终端。当然,上述举例仅是示意性的,具体如何根据采集到的图像确定用户是否仍在使用终端,可由本领域技术人员确定,本公开对此不作限制。In this embodiment, various methods can be used to determine whether the user is still using the terminal based on the collected images. For example, face recognition can be performed on the collected images. When the face is recognized, it can be determined that the user is still using the terminal; for another example, gaze sensing can be performed on the collected images. When it is sensed that the user is looking at the secondary screen , it is determined that the user is still using the terminal. Of course, the above examples are only illustrative. How to determine whether the user is still using the terminal based on the collected images can be determined by those skilled in the art, and this disclosure does not limit this.
在另一实施例中,在检测到终端由展开状态切换为折叠状态后,可以进一步调用距离传感器,以检测用户与终端的距离,并将检测到的距离作为上述预设辅助信息。In another embodiment, after detecting that the terminal switches from the unfolded state to the folded state, the distance sensor can be further called to detect the distance between the user and the terminal, and the detected distance is used as the above-mentioned preset auxiliary information.
与上一实施例相类似的,本实施例也可以异步执行上述获取当前姿态信息的操作和调用距离传感器检测距离的操作,并分别基于两者判断用户是否仍在使用终端,以进一步综合两个判断结果,最终确定用户是否仍在使用终端。综合确定的方式与上一实施例相类似,在此不再赘述。Similar to the previous embodiment, this embodiment can also asynchronously perform the above-mentioned operation of obtaining the current posture information and the operation of calling the distance sensor to detect the distance, and determine whether the user is still using the terminal based on the two, to further integrate the two Judge the result and ultimately determine whether the user is still using the terminal. The comprehensive determination method is similar to the previous embodiment and will not be described again here.
与上一实施例相类似的,本实施例也可以递进执行上述获取当前姿态信息的操作和调用距离传感器检测距离的操作。递进执行的方式也与上一实施例相类似,在此 不再赘述。Similar to the previous embodiment, this embodiment can also progressively perform the above-mentioned operation of obtaining the current posture information and the operation of calling the distance sensor to detect the distance. The progressive execution method is also similar to the previous embodiment and will not be described again here.
在本实施例中,可以根据实际需求采用不同的距离传感器,例如,可以采用SAR(Synthetic Aperture Radar,合成孔径雷达)、红外传感器、ToF(Time of Lighet)传感器中的任一种,本公开对此不作限制。In this embodiment, different distance sensors can be used according to actual needs. For example, any one of SAR (Synthetic Aperture Radar, synthetic aperture radar), infrared sensor, and ToF (Time of Light) sensor can be used. This disclosure is suitable for This is not a limitation.
在本公开中,还可以预设辅助策略与终端的状态信息的对应关系,以在终端处于不同状态下时,采用不同的辅助策略确定用户对终端的使用状况。换言之,在获取预设辅助信息之前,可以优先确定与终端的当前状态信息对应的目标辅助策略,再根据目标辅助策略的要求获取预设辅助信息。在此基础上,终端即可按照目标辅助策略,根据当前姿态信息和获取到的预设辅助信息,确定用户对终端的使用状况。In the present disclosure, the corresponding relationship between the auxiliary policy and the status information of the terminal can also be preset, so that when the terminal is in different states, different auxiliary policies are used to determine the user's use of the terminal. In other words, before obtaining the preset auxiliary information, the target auxiliary policy corresponding to the current status information of the terminal can be determined first, and then the preset auxiliary information can be obtained according to the requirements of the target auxiliary policy. On this basis, the terminal can determine the user's use of the terminal according to the target assistance strategy and based on the current posture information and the acquired preset assistance information.
在本公开中,上述对应关系中包含的状态信息可以由本领域技术人员根据实际需求设置,例如,可以为终端的当前资源占用率,也可以为终端的倾斜角度范围。当然,也可以同时包含终端的当前资源占用率和倾斜角度范围,本公开对此不作限制。In the present disclosure, the status information included in the above correspondence relationship can be set by those skilled in the art according to actual needs. For example, it can be the current resource occupancy rate of the terminal or the tilt angle range of the terminal. Of course, the current resource occupancy rate and the tilt angle range of the terminal may also be included at the same time, and this disclosure does not limit this.
举例而言,假设上述对应关系中的状态信息为终端的资源占用率,那么,可以设置一占用率阈值,若终端的资源占用率低于该占用率阈值,则对应于“根据获取到的图像确定用户对终端的使用状况”这一辅助策略;若终端的资源占用率不低于该占用率阈值,则对应于“根据距离传感器检测到的距离,确定用户对终端的使用状况”这一辅助策略。在此基础上,即可根据终端的当前资源占用率确定采用的目标辅助策略。应当理解的是,该举例之所以如此设置,是由于基于图像辅助确定用户对终端的使用状况,涉及到人脸识别等操作,尽管准确度较高,但占用资源也较多,因此,仅在终端当前资源占用率较低时采用,可以避免该操作对终端的正常运行造成影响;而基于距离确定用户对终端的使用状况,操作较为简单,占用资源较少,因此,即便在终端的当前资源占用率较低时,也不会影响终端的正常运行。For example, assuming that the status information in the above corresponding relationship is the resource occupancy rate of the terminal, then an occupancy threshold can be set. If the resource occupancy rate of the terminal is lower than the occupancy threshold, then corresponding to "according to the acquired image The auxiliary strategy "determine the user's usage of the terminal"; if the resource occupancy rate of the terminal is not lower than the occupancy threshold, it corresponds to the auxiliary strategy "determine the user's usage of the terminal based on the distance detected by the distance sensor" Strategy. On this basis, the target auxiliary strategy to be adopted can be determined based on the current resource occupancy rate of the terminal. It should be understood that the reason why this example is set up in this way is because determining the user's use of the terminal based on image assistance involves operations such as face recognition. Although the accuracy is high, it also takes up more resources. Therefore, it is only used in It is used when the terminal's current resource occupancy is low, which can avoid the impact of this operation on the normal operation of the terminal. Determining the user's usage of the terminal based on distance is simpler and takes up less resources. Therefore, even if the terminal's current resources are When the occupancy rate is low, it will not affect the normal operation of the terminal.
再举例,假设上述对应关系中的状态信息为终端的倾斜角度范围,那么,可以设置若干倾斜角度范围,例如0~30、30~60、60~90等,并每一倾斜角度范围均对应有相应的辅助策略,例如,各个倾斜角度范围对应的辅助策略可以包括但不限于上述“根据采集到的图像确定使用状况”和“根据获取到的距离确定使用状况”。在此基础上,即可确定终端的当前倾斜角度所属的倾斜角度范围,并将与确定的倾斜角度范围对应的辅助策略确定为目标辅助策略。当然,上述举例仅是示意性的,倾斜角度范围与辅助策略之间的对应关系,可以由本领域技术人员根据实际需求设定,本公开对此不作限制。For another example, assuming that the status information in the above correspondence is the tilt angle range of the terminal, several tilt angle ranges can be set, such as 0 to 30, 30 to 60, 60 to 90, etc., and each tilt angle range corresponds to Corresponding auxiliary strategies, for example, auxiliary strategies corresponding to each tilt angle range may include but are not limited to the above-mentioned "determining the usage status based on the collected images" and "determining the usage status based on the acquired distance". On this basis, the tilt angle range to which the current tilt angle of the terminal belongs can be determined, and the auxiliary strategy corresponding to the determined tilt angle range is determined as the target auxiliary strategy. Of course, the above examples are only illustrative, and the corresponding relationship between the tilt angle range and the auxiliary strategy can be set by those skilled in the art according to actual needs, and the present disclosure does not limit this.
在本公开中,当确定用户未在使用终端的情况下,即可对终端的副屏幕进行显示调整,以降低副屏幕的功耗。例如,可以如相关技术直接将副屏幕调整至息屏状态;再例如,可以降低副屏幕的亮度,以降低功耗;又例如,可以降低副屏幕的刷新率,或者画面输出帧率,以降低功耗。应当理解的是,任何可以降低功耗的调整方式,均可视为是将副屏幕调整为低功耗模式,本公开对此不作限制。In the present disclosure, when it is determined that the user is not using the terminal, the display of the secondary screen of the terminal can be adjusted to reduce the power consumption of the secondary screen. For example, the secondary screen can be directly adjusted to the idle state according to related technologies; for another example, the brightness of the secondary screen can be reduced to reduce power consumption; for another example, the refresh rate of the secondary screen or the picture output frame rate can be reduced to reduce power consumption. It should be understood that any adjustment method that can reduce power consumption can be regarded as adjusting the secondary screen to a low power consumption mode, and the present disclosure does not limit this.
本公开技术方案的执行主体可以为任何可以折叠的、且在展开状态下和折叠状态下均存在屏幕可以向用户展示画面的终端。例如,该终端可以为折叠屏手机,以及其他可折叠的终端,该终端的具体形式可以由本领域技术人员根据实际需求确定,本公开对此不作限制。The execution subject of the technical solution of the present disclosure can be any foldable terminal that has a screen that can display images to the user in both the unfolded state and the folded state. For example, the terminal can be a folding screen mobile phone or other foldable terminals. The specific form of the terminal can be determined by those skilled in the art according to actual needs, and this disclosure does not limit this.
需要声明的是,在本公开的执行主体为折叠屏手机时,该折叠屏手机既可以是外折型(即被折叠后,主屏幕暴露在外)也可以是内折型(即被折叠后,主屏幕被覆盖)。其中,在为外折型时,副屏幕可以为主屏幕的一部分,例如,在将主屏幕外折后,处于一侧的主屏幕可以作为副屏幕,继续显示画面;而在为内折型时,终端处于折叠状态下时主屏幕被完全覆盖,因此,若展开状态下主屏幕一侧称作正面,那么,可以在背面装配副屏幕,以用于在折叠状态下向用户显示画面。It should be noted that when the execution subject of the present disclosure is a folding screen mobile phone, the folding screen mobile phone can be either an outward-folding type (that is, after being folded, the main screen is exposed) or an in-folding type (that is, after being folded, the main screen is exposed) Home screen is covered). Among them, when it is an outward-folding type, the secondary screen can be part of the main screen. For example, after the main screen is folded outward, the main screen on one side can be used as a secondary screen to continue displaying the screen; when it is an inside-folding type, the secondary screen can be a part of the main screen. , the main screen is completely covered when the terminal is in the folded state. Therefore, if one side of the main screen in the unfolded state is called the front, then a secondary screen can be installed on the back to display the screen to the user in the folded state.
由上述技术方案可知,本公开在终端由展开状态切换为折叠状态时,可以继续在副屏幕中展示画面内容,同时,可以进一步获取终端的当前姿态信息,以根据该当前姿态信息确定用户对终端的使用状态,其中,在该使用状况表明用户未在使用终端的情况下,将副屏幕调整为低功耗模式。It can be seen from the above technical solution that when the terminal switches from the unfolded state to the folded state, the present disclosure can continue to display the screen content on the secondary screen. At the same time, the current posture information of the terminal can be further obtained to determine the user's attitude toward the terminal based on the current posture information. The usage status, wherein, when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to the low power consumption mode.
应当理解的是,本公开在终端变更为折叠状态后,可以即刻执行上述获取姿态信息、确定使用状况等操作,换言之,可以及时确定出用户是否仍在使用终端,进而在确定用户未使用终端时,及时降低副屏幕的功耗。可见,通过本公开的技术方案,避免了相关技术在终端切换为折叠状态后,由于无法及时确定用户是否仍在使用终端,而导致无法及时调整终端副屏幕的显示,进而造成功耗浪费的问题。It should be understood that the present disclosure can immediately perform the above-mentioned operations of obtaining posture information and determining usage status after the terminal is changed to the folded state. In other words, it can be determined in time whether the user is still using the terminal, and then when it is determined that the user is not using the terminal. , reduce the power consumption of the secondary screen in a timely manner. It can be seen that through the technical solution of the present disclosure, the related technology avoids the problem that the display of the secondary screen of the terminal cannot be adjusted in time due to the inability to determine in time whether the user is still using the terminal after the terminal is switched to the folded state, thereby causing waste of power consumption. .
进一步的,本公开可以进一步获取图像信息、距离信息等作为判断用户是否仍在使用终端的辅助信息,以进一步提高判断的准确性,避免误判。Furthermore, the present disclosure can further obtain image information, distance information, etc. as auxiliary information for judging whether the user is still using the terminal, so as to further improve the accuracy of judgment and avoid misjudgment.
下面,以折叠屏手机为例,对本公开的技术方案进行介绍。为方便介绍,在后文中将折叠屏手机简称为手机。Next, taking a folding screen mobile phone as an example, the technical solution of the present disclosure is introduced. For the convenience of introduction, folding screen mobile phones will be referred to as mobile phones in the following text.
图2为本公开一示例性实施例示出的另一种屏幕控制方法的流程图。如图2所 示,该方法包括以下步骤:FIG. 2 is a flowchart of another screen control method according to an exemplary embodiment of the present disclosure. As shown in Figure 2, the method includes the following steps:
步骤201,记录手机处于展开状态下的倾斜角度。Step 201: Record the tilt angle of the mobile phone in the unfolded state.
本实施例中的折叠屏手机可以为如图3A和3B所示的内折型手机(图3A为处于展开状态下的正面,图3B为处于展开状态下的背面,实线表征位于当前所在面、虚线表征位于当前所在面的另一面),其正面包含一块可折叠的主屏幕(可沿图中点虚线折叠),而背面则仅在一侧装配有一块副屏幕。该副屏幕的面积约为主屏幕的一半,以使用户在将该手机折叠,使手机处于图4所示的折叠状态后,可以通过副屏幕查看信息。The folding screen mobile phone in this embodiment can be an inward-folding mobile phone as shown in Figures 3A and 3B (Figure 3A is the front in the unfolded state, Figure 3B is the back in the unfolded state, the solid line represents the current side , the dotted line indicates that it is located on the other side of the current face). The front contains a foldable main screen (can be folded along the dotted line in the figure), while the back is only equipped with a secondary screen on one side. The area of the secondary screen is about half of the main screen, so that the user can view information through the secondary screen after folding the mobile phone to the folded state shown in Figure 4.
用户在长时间使用该手机时,通常会将手机打开至图3A所示的展开状态,以通过主屏幕进行信息查看和操作,此时,手机可以记录自身相较于水平面的倾斜角度,以用于后续切换为折叠状态后对手机的使用状态作出判断。When users use the phone for a long time, they usually open the phone to the unfolded state shown in Figure 3A to view and operate information through the home screen. At this time, the phone can record its tilt angle relative to the horizontal plane for use. After the subsequent switch to the folded state, the usage status of the mobile phone is judged.
当然,为了节省存储空间和处理资源,可以在检测到手机切换为折叠状态时,再临时记录手机处于展开状态下的倾斜角度。例如,在检测到手机切换为折叠状态下时,可以记录切换之前预设时间内检测到的倾斜角度,值得注意的是,为了避免切换过程中姿态变化对记录的倾斜角度的影响,可以过滤掉切换过程中检测到的倾斜角度信息,譬如,若上述预设时间为30秒,则可以在检测到手机切换为折叠状态时,不记录后续10秒检测到的倾斜角度信息,即仅记录30秒中前20秒检测到的倾斜角度信息。当然,该举例仅是示意性的,还可以检测手机的运动状况,并将手机由于折叠而进行运动时记录的倾斜角度信息删除,不进行记录,仅记录手机在因折叠而运动之前的稳定状态下检测到的倾斜角度信息,具体如何排除状态切换过程对记录的倾斜角度信息的影响,可由本领域技术人员根据实际需求确定,本实施例对此不作限制。Of course, in order to save storage space and processing resources, when it is detected that the mobile phone is switched to the folded state, the tilt angle of the mobile phone in the unfolded state can be temporarily recorded. For example, when it is detected that the mobile phone is switched to the folded state, the tilt angle detected within the preset time before the switch can be recorded. It is worth noting that in order to avoid the impact of posture changes on the recorded tilt angle during the switching process, the tilt angle can be filtered out The tilt angle information detected during the switching process. For example, if the above preset time is 30 seconds, when it is detected that the phone is switched to the folded state, the tilt angle information detected in the subsequent 10 seconds will not be recorded, that is, only 30 seconds will be recorded. The tilt angle information detected in the last 20 seconds. Of course, this example is only illustrative. You can also detect the movement of the mobile phone and delete the tilt angle information recorded when the mobile phone moves due to folding. No recording is performed. Only the stable state of the mobile phone before moving due to folding is recorded. How to eliminate the influence of the state switching process on the recorded tilt angle information according to the detected tilt angle information can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.
步骤202,检测到手机切换为折叠状态。Step 202: It is detected that the mobile phone is switched to a folded state.
在本实施例中,手机在展开状态下时,可以监测手机是否切换为折叠状态。例如,由于主屏幕为可弯折屏幕,因此,可以通过主屏幕中装配的传感器监测主屏幕是否发生弯折,当主屏幕发生弯折时,即可确定手机切换为折叠状态。In this embodiment, when the mobile phone is in the unfolded state, it can be monitored whether the mobile phone switches to the folded state. For example, since the main screen is a bendable screen, the sensor installed in the main screen can be used to monitor whether the main screen is bent. When the main screen is bent, it can be determined that the mobile phone is switched to the folded state.
当然,该举例仅是示意性的,具体如何判断手机由展开状态切换为折叠状态,可由本领域技术人员根据实际需求确定,本实施例对此不作限制。Of course, this example is only illustrative. How to specifically determine whether the mobile phone is switched from the unfolded state to the folded state can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.
步骤203,通过副屏幕展示画面内容。Step 203: Display the screen content through the secondary screen.
在本实施例中,在确定手机由展开状态切换为折叠状态后,可以将原先展示于 主屏幕中的画面内容,展示于副屏幕中,以便用户通过副屏幕继续查看信息和操作。In this embodiment, after it is determined that the mobile phone is switched from the unfolded state to the folded state, the screen content originally displayed on the main screen can be displayed on the secondary screen so that the user can continue to view information and operate through the secondary screen.
步骤204,获取手机的当前倾斜角度。Step 204: Obtain the current tilt angle of the mobile phone.
在本实施例中,在将原先展示于主屏幕中的画面内容调整至副屏幕的同时,可以获取手机的当前倾斜角度,并计算获取到的当前倾斜角度与切换为折叠状态之前记录的倾斜角度的角度偏差值,进而根据该角度偏差值确定用户是否仍在使用该手机。In this embodiment, while adjusting the screen content originally displayed on the main screen to the secondary screen, the current tilt angle of the mobile phone can be obtained, and the obtained current tilt angle and the tilt angle recorded before switching to the folded state can be calculated. angular deviation value, and then determine whether the user is still using the mobile phone based on the angular deviation value.
步骤205,计算当前倾斜角度与记录的倾斜角度的角度偏差。Step 205: Calculate the angle deviation between the current tilt angle and the recorded tilt angle.
步骤206,判断角度偏差是否在预设偏差范围;若是,则跳转至步骤207,否则,跳转至步骤210。Step 206: Determine whether the angle deviation is within the preset deviation range; if so, jump to step 207; otherwise, jump to step 210.
在本实施例中,可以预设倾斜角度的偏差范围,若计算得到的角度偏差值在预设的偏差范围内,则可以调用摄像头二次确认用户是否确实在使用手机,否则,确定用户未在使用手机,将副屏幕调整为息屏状态。In this embodiment, the deviation range of the tilt angle can be preset. If the calculated angle deviation value is within the preset deviation range, the camera can be called to confirm whether the user is actually using the mobile phone. Otherwise, it is determined that the user is not in the mobile phone. Use your mobile phone to adjust the secondary screen to the screen-off state.
步骤207,调用副屏幕侧摄像头采集图像。Step 207: Call the secondary screen side camera to collect images.
在本实施例中,实际调用的摄像头可以为如图4所示处于副屏幕一侧的摄像头,以保证若用户仍在使用手机,可以采集到包含人脸的图像。In this embodiment, the camera actually called may be the camera on the side of the secondary screen as shown in Figure 4, to ensure that if the user is still using the mobile phone, images containing human faces can be collected.
步骤208,对采集到的图像进行人脸识别;若识别到人脸,则跳转到步骤209;否则,跳转至步骤210。Step 208: Perform face recognition on the collected images; if a face is recognized, jump to step 209; otherwise, jump to step 210.
在本实施例中,在采集到图像后,即可对图像进行人脸识别,以确定用户是否仍在使用手机,若识别到人脸,则认定用户仍在使用手机,可以继续通过副屏幕显示画面内容;若未识别到人脸,则认定用户未继续使用手机,则可以将副屏幕调整为息屏状态。In this embodiment, after the image is collected, face recognition can be performed on the image to determine whether the user is still using the mobile phone. If the face is recognized, it is determined that the user is still using the mobile phone and can continue to be displayed on the secondary screen. Screen content; if no face is recognized, it is deemed that the user is not continuing to use the phone, and the secondary screen can be adjusted to the screen-off state.
步骤209,继续通过副屏幕显示画面内容。Step 209: Continue to display the screen content on the secondary screen.
步骤210,将副屏幕调整为息屏状态。Step 210: Adjust the secondary screen to a screen-off state.
由上述技术方案可知,通过本实施例的技术方案,可以在折叠屏手机因用户操作而由展开状态切换为折叠状态时,将折叠屏手机在切换为折叠状态之前的倾斜角度,与切换为折叠状态之后的倾斜角度进行对比,以确定用户是否仍在使用手机。其中,若对比结果表征两者差值在预设偏差范围内,则进一步通过副屏幕侧的摄像头进一步确认用户是否确实在使用手机,否则,确定用户未使用手机,将副屏幕调整为息屏状态。通过该方式,能够及时且准确地判断用户是否在继续使用折叠状态下的手机,避 免了相关技术中由于判断不及时,而导致浪费功耗的问题。It can be seen from the above technical solution that through the technical solution of this embodiment, when the folding screen mobile phone switches from the unfolded state to the folded state due to user operation, the tilt angle of the folding screen mobile phone before switching to the folded state can be compared with the tilt angle of the folding screen mobile phone before switching to the folded state. The tilt angle after the status is compared to determine whether the user is still using the phone. Among them, if the comparison result indicates that the difference between the two is within the preset deviation range, then further confirm whether the user is actually using the mobile phone through the camera on the side of the secondary screen; otherwise, it is determined that the user is not using the mobile phone, and the secondary screen is adjusted to the screen-off state. . In this way, it can be timely and accurately judged whether the user continues to use the mobile phone in the folded state, avoiding the problem of wasted power consumption due to untimely judgment in related technologies.
图5是本公开一示例性实施例示出的一种屏幕控制装置的框图。参照图5,该装置包括展示单元501和确定单元502。FIG. 5 is a block diagram of a screen control device according to an exemplary embodiment of the present disclosure. Referring to FIG. 5 , the device includes a display unit 501 and a determination unit 502 .
展示单元501,在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;The display unit 501, when detecting that the terminal switches from the unfolded state to the folded state, displays the screen content through the secondary screen and obtains the current posture information of the terminal;
确定单元502,根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。The determination unit 502 determines the user's usage status of the terminal based on the acquired current posture information, and adjusts the secondary screen to low power when the usage status indicates that the user is not using the terminal. consumption mode.
可选的,确定单元502进一步用于:Optionally, the determining unit 502 is further used to:
获取所述终端在切换为折叠状态之前的原先姿态信息,或在以往使用过程中记录的历史姿态信息;Obtain the original posture information of the terminal before switching to the folded state, or historical posture information recorded during previous use;
将所述当前姿态信息,与所述原先姿态信息、或所述历史姿态信息进行比较,以根据比较结果判断所述用户是否仍在使用所述终端。The current posture information is compared with the original posture information or the historical posture information to determine whether the user is still using the terminal based on the comparison result.
可选的,optional,
在比较结果表明所述当前姿态信息与所述原先姿态信息的相似度,高于预设相似度的情况下,确定所述用户仍在使用所述终端;或者,If the comparison result shows that the similarity between the current posture information and the original posture information is higher than the preset similarity, it is determined that the user is still using the terminal; or,
在比较结果表明所述当前姿态信息与所述历史姿态信息的相似度,高于预设相似度的情况下,确定所述用户仍在使用所述终端。If the comparison result shows that the similarity between the current posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal.
可选的,确定单元502进一步用于:Optionally, the determining unit 502 is further used to:
获取所述终端在切换为折叠状态之前的原先姿态信息,以及在以往使用过程中记录的历史姿态信息;Obtain the original posture information of the terminal before switching to the folded state, as well as the historical posture information recorded during previous use;
将所述原先姿态信息和所述历史姿态信息,分别与所述当前姿态信息进行比较,以根据比较结果判断所述用户是否仍在使用所述终端。The original posture information and the historical posture information are respectively compared with the current posture information to determine whether the user is still using the terminal according to the comparison result.
可选的,确定单元502进一步用于:Optionally, the determining unit 502 is further used to:
在所述比较结果表明所述终端的当前姿态信息,与所述原先姿态信息、所述历史姿态信息中的至少一者的相似度高于预设相似度时,确定所述用户仍在使用所述终端。When the comparison result shows that the similarity between the current posture information of the terminal and at least one of the original posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal. the terminal.
可选的,确定单元502进一步用于:Optionally, the determining unit 502 is further used to:
对所述副屏幕进行息屏处理;或者,Perform screen pause processing on the secondary screen; or,
降低所述副屏幕的显示亮度,以降低所述副屏幕的功耗。Reduce the display brightness of the secondary screen to reduce the power consumption of the secondary screen.
如图6所示,图6是本公开一示例性实施例示出的另一种屏幕控制装置的框图,该实施例在前述图5所示实施例的基础上,还包括:获取单元503。As shown in FIG. 6 , FIG. 6 is a block diagram of another screen control device according to an exemplary embodiment of the present disclosure. Based on the aforementioned embodiment shown in FIG. 5 , this embodiment further includes: an acquisition unit 503 .
可选的,还包括:Optional, also includes:
获取单元503,获取预设辅助信息;Obtaining unit 503 obtains preset auxiliary information;
可选的,确定单元502进一步用于:根据获取到的当前姿态信息和所述预设辅助信息,确定用户对所述终端的使用状况。Optionally, the determining unit 502 is further configured to determine the user's usage status of the terminal based on the acquired current posture information and the preset auxiliary information.
可选的,获取单元503进一步用于:Optionally, the acquisition unit 503 is further used for:
调用装配于所述副屏幕一侧的摄像头进行图像采集,并将采集到的图像作为获取到的预设辅助信息;或者,Call the camera installed on one side of the secondary screen to collect images, and use the collected images as the acquired preset auxiliary information; or,
调用距离传感器检测所述用户与所述终端的距离,并将采集到的距离作为获取到的预设辅助信息。A distance sensor is called to detect the distance between the user and the terminal, and the collected distance is used as the obtained preset auxiliary information.
可选的,optional,
获取单元503进一步用于:确定所述终端的当前状态信息,以从预先设置的辅助策略与状态信息的对应关系中,确定出与所述当前状态信息对应的目标辅助策略,并根据所述目标辅助策略的要求获取预设辅助信息。The acquisition unit 503 is further configured to: determine the current status information of the terminal, to determine the target auxiliary strategy corresponding to the current status information from the preset correspondence relationship between the auxiliary strategy and the status information, and determine the target auxiliary strategy according to the target The auxiliary policy requires obtaining preset auxiliary information.
确定单元502进一步用于:按照所述目标辅助策略,根据获取到的当前姿态信息和所述预设辅助信息,确定用户对所述终端的使用状况。The determining unit 502 is further configured to determine the user's usage status of the terminal according to the target auxiliary strategy and the acquired current posture information and the preset auxiliary information.
可选的,所述对应关系中包含的状态信息包括下述至少之一:Optionally, the status information contained in the corresponding relationship includes at least one of the following:
所述终端的当前资源占用率、所述终端的倾斜角度范围。The current resource occupancy rate of the terminal and the tilt angle range of the terminal.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域 普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, please refer to the partial description of the method embodiment for relevant details. The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. Persons of ordinary skill in the art can understand and implement it without any creative effort.
相应的,本公开还提供一种屏幕控制装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为实现如上述实施例中任一所述的屏幕控制方法,比如该方法可以包括:在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。Correspondingly, the present disclosure also provides a screen control device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the screen as described in any of the above embodiments. The control method, for example, the method may include: when it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen, and obtain the current posture information of the terminal; according to the obtained current posture information Determine the user's usage status of the terminal, and adjust the secondary screen to a low power consumption mode when the usage status indicates that the user is not using the terminal.
相应的,本公开还提供一种电子设备,所述电子设备包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于实现如上述实施例中任一所述的屏幕控制方法的指令,比如该方法可以包括:在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。Correspondingly, the present disclosure also provides an electronic device. The electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by one or more processors. Executing the one or more programs includes instructions for implementing the screen control method as described in any of the above embodiments. For example, the method may include: when it is detected that the terminal switches from an expanded state to a folded state. , display the screen content through the secondary screen, and obtain the current posture information of the terminal; determine the user's usage status of the terminal based on the obtained current posture information, and indicate that the user is not using the terminal when the usage status indicates that the user is not using the terminal. In the case of a terminal, adjust the secondary screen to a low power consumption mode.
图7是根据一示例性实施例示出的一种用于实现屏幕控制方法的装置700的框图。例如,装置700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 7 is a block diagram of a device 700 for implementing a screen control method according to an exemplary embodiment. For example, the device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。Referring to Figure 7, the device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and communications component 716.
处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。 Processing component 702 generally controls the overall operations of device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
存储器704被配置为存储各种类型的数据以支持在装置700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读 存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 704 is configured to store various types of data to support operations at device 700 . Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件706为装置700的各种组件提供电力。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。 Power supply component 706 provides power to the various components of device 700 . Power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 700 .
多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当装置700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 708 includes a front-facing camera and/or a rear-facing camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。 Audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when device 700 is in operating modes, such as call mode, recording mode, and speech recognition mode. The received audio signal may be further stored in memory 704 or sent via communication component 716 . In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到装置700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 714 includes one or more sensors that provide various aspects of status assessment for device 700 . For example, sensor component 714 can detect the open/closed state of device 700, the relative positioning of components, such as the display and keypad of device 700, and sensor component 714 can also detect a change in position of device 700 or a component of device 700. , the presence or absence of user contact with device 700 , device 700 orientation or acceleration/deceleration and temperature changes of device 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,4G LTE、5G NR(New Radio)或它们的组合。在一个示例性实施例中,通信组件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 716 is configured to facilitate wired or wireless communication between apparatus 700 and other devices. The device 700 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio) or a combination thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 716 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 704 including instructions, which are executable by the processor 720 of the device 700 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. The present disclosure is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common common sense or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in this disclosure. within the scope of protection.

Claims (13)

  1. 一种屏幕控制方法,其特征在于,应用于终端,所述终端包含主屏幕和副屏幕,且在处于展开状态下时通过所述主屏幕显示画面、在处于折叠状态下时通过所述副屏幕显示画面;所述方法包括:A screen control method, characterized in that it is applied to a terminal, the terminal includes a main screen and a secondary screen, and the screen is displayed through the main screen when it is in the unfolded state, and the picture is displayed through the secondary screen when it is in the folded state. display screen; the method includes:
    在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;When it is detected that the terminal switches from the unfolded state to the folded state, display the screen content through the secondary screen and obtain the current posture information of the terminal;
    根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。The user's usage status of the terminal is determined based on the obtained current posture information, and when the usage status indicates that the user is not using the terminal, the secondary screen is adjusted to a low power consumption mode.
  2. 根据权利要求1所述的方法,其特征在于,所述根据获取到的当前姿态信息确定用户对所述终端的使用状况,包括:The method of claim 1, wherein determining the user's use of the terminal based on the acquired current posture information includes:
    获取所述终端在切换为折叠状态之前的原先姿态信息,或在以往使用过程中记录的历史姿态信息;Obtain the original posture information of the terminal before switching to the folded state, or historical posture information recorded during previous use;
    将所述当前姿态信息,与所述原先姿态信息、或所述历史姿态信息进行比较,以根据比较结果判断所述用户是否仍在使用所述终端。The current posture information is compared with the original posture information or the historical posture information to determine whether the user is still using the terminal based on the comparison result.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that:
    在比较结果表明所述当前姿态信息与所述原先姿态信息的相似度,高于预设相似度的情况下,确定所述用户仍在使用所述终端;或者,If the comparison result shows that the similarity between the current posture information and the original posture information is higher than the preset similarity, it is determined that the user is still using the terminal; or,
    在比较结果表明所述当前姿态信息与所述历史姿态信息的相似度,高于预设相似度的情况下,确定所述用户仍在使用所述终端。If the comparison result shows that the similarity between the current posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal.
  4. 根据权利要求1所述的方法,其特征在于,所述根据获取到的当前姿态信息确定用户对所述终端的使用状况,包括:The method of claim 1, wherein determining the user's use of the terminal based on the acquired current posture information includes:
    获取所述终端在切换为折叠状态之前的原先姿态信息,以及在以往使用过程中记录的历史姿态信息;Obtain the original posture information of the terminal before switching to the folded state, as well as the historical posture information recorded during previous use;
    将所述原先姿态信息和所述历史姿态信息,分别与所述当前姿态信息进行比较,以根据比较结果判断所述用户是否仍在使用所述终端。The original posture information and the historical posture information are respectively compared with the current posture information to determine whether the user is still using the terminal according to the comparison result.
  5. 根据权利要求4所述的方法,其特征在于,所述根据比较结果判断所述用户是否仍在使用所述终端,包括:The method of claim 4, wherein determining whether the user is still using the terminal based on the comparison result includes:
    在所述比较结果表明所述终端的当前姿态信息,与所述原先姿态信息、所述历史姿态信息中的至少一者的相似度高于预设相似度时,确定所述用户仍在使用所述终端。When the comparison result shows that the similarity between the current posture information of the terminal and at least one of the original posture information and the historical posture information is higher than the preset similarity, it is determined that the user is still using the terminal. the terminal.
  6. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that:
    还包括:获取预设辅助信息;Also includes: obtaining preset auxiliary information;
    所述根据获取到的当前姿态信息确定用户对所述终端的使用状况,包括:根据获取到的当前姿态信息和所述预设辅助信息,确定用户对所述终端的使用状况。Determining the usage status of the terminal by the user based on the obtained current posture information includes: determining the usage status of the terminal by the user based on the obtained current posture information and the preset auxiliary information.
  7. 根据权利要求6所述的方法,其特征在于,所述获取预设辅助信息,包括:The method according to claim 6, characterized in that said obtaining preset auxiliary information includes:
    调用装配于所述副屏幕一侧的摄像头进行图像采集,并将采集到的图像作为获取到的预设辅助信息;或者,Call the camera installed on one side of the secondary screen to collect images, and use the collected images as the acquired preset auxiliary information; or,
    调用距离传感器检测所述用户与所述终端的距离,并将采集到的距离作为获取到的预设辅助信息。A distance sensor is called to detect the distance between the user and the terminal, and the collected distance is used as the obtained preset auxiliary information.
  8. 根据权利要求6所述的方法,其特征在于,The method according to claim 6, characterized in that:
    所述获取预设辅助信息,包括:确定所述终端的当前状态信息,以从预先设置的辅助策略与状态信息的对应关系中,确定出与所述当前状态信息对应的目标辅助策略,并根据所述目标辅助策略的要求获取预设辅助信息;The obtaining the preset auxiliary information includes: determining the current status information of the terminal, so as to determine the target auxiliary strategy corresponding to the current status information from the corresponding relationship between the preset auxiliary strategy and the status information, and based on The target auxiliary strategy requires obtaining preset auxiliary information;
    所述根据获取到的当前姿态信息和所述预设辅助信息,确定用户对所述终端的使用状况,包括:按照所述目标辅助策略,根据获取到的当前姿态信息和所述预设辅助信息,确定用户对所述终端的使用状况。Determining the user's use of the terminal based on the obtained current posture information and the preset auxiliary information includes: according to the target auxiliary strategy, based on the obtained current posture information and the preset auxiliary information , determine the user's use of the terminal.
  9. 根据权利要求8所述的方法,其特征在于,所述对应关系中包含的状态信息包括下述至少之一:The method according to claim 8, characterized in that the status information contained in the corresponding relationship includes at least one of the following:
    所述终端的当前资源占用率、所述终端的倾斜角度范围。The current resource occupancy rate of the terminal and the tilt angle range of the terminal.
  10. 根据权利要求1所述的方法,其特征在于,所述将所述副屏幕调整为低功耗模式,包括:The method of claim 1, wherein adjusting the secondary screen to a low power consumption mode includes:
    对所述副屏幕进行息屏处理;或者,Perform screen pause processing on the secondary screen; or,
    降低所述副屏幕的显示亮度,以降低所述副屏幕的功耗。Reduce the display brightness of the secondary screen to reduce the power consumption of the secondary screen.
  11. 一种屏幕控制装置,其特征在于,应用于终端,所述终端包含主屏幕和副屏幕,且在处于展开状态下时通过所述主屏幕显示画面、在处于折叠状态下时通过所述副屏幕显示画面;所述装置包括:A screen control device, characterized in that it is applied to a terminal. The terminal includes a main screen and a secondary screen, and displays images through the main screen when in an unfolded state, and displays images through the secondary screen when in a folded state. display screen; the device includes:
    展示单元,在检测到所述终端由展开状态切换为折叠状态的情况下,通过副屏幕展示画面内容,并获取所述终端的当前姿态信息;The display unit, when detecting that the terminal switches from the unfolded state to the folded state, displays the screen content through the secondary screen and obtains the current posture information of the terminal;
    确定单元,根据获取到的当前姿态信息确定用户对所述终端的使用状况,并在所述使用状况表明所述用户未在使用所述终端的情况下,将所述副屏幕调整为低功耗模式。The determination unit determines the user's usage status of the terminal based on the obtained current posture information, and adjusts the secondary screen to low power consumption when the usage status indicates that the user is not using the terminal. model.
  12. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
    其中,所述处理器通过运行所述可执行指令以实现如权利要求1-10中任一项所述的方法。Wherein, the processor implements the method according to any one of claims 1-10 by running the executable instructions.
  13. 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现如权利要求1-10中任一项所述方法的步骤。A computer-readable storage medium on which computer instructions are stored, characterized in that when the instructions are executed by a processor, the steps of the method according to any one of claims 1-10 are implemented.
PCT/CN2022/098702 2022-06-14 2022-06-14 Screen control method and apparatus, electronic device and storage medium WO2023240451A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/098702 WO2023240451A1 (en) 2022-06-14 2022-06-14 Screen control method and apparatus, electronic device and storage medium
CN202280004501.XA CN117643110A (en) 2022-06-14 2022-06-14 Screen control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/098702 WO2023240451A1 (en) 2022-06-14 2022-06-14 Screen control method and apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2023240451A1 true WO2023240451A1 (en) 2023-12-21

Family

ID=89192957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098702 WO2023240451A1 (en) 2022-06-14 2022-06-14 Screen control method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN117643110A (en)
WO (1) WO2023240451A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120235963A1 (en) * 2011-03-16 2012-09-20 Kyocera Corporation Electronic device, control method, and storage medium storing control program
CN106527658A (en) * 2016-10-24 2017-03-22 北京金山安全软件有限公司 Mobile terminal control method and device and mobile terminal
CN108388414A (en) * 2018-02-05 2018-08-10 广东欧珀移动通信有限公司 Go out screen control method and device, computer readable storage medium, the terminal of terminal
CN109981839A (en) * 2019-02-02 2019-07-05 华为技术有限公司 A kind of display methods and electronic equipment of the electronic equipment with flexible screen
CN111373725A (en) * 2017-09-01 2020-07-03 深圳传音通讯有限公司 Screen-off control method and device for mobile terminal and computer storage medium
CN111600998A (en) * 2020-05-21 2020-08-28 北京小米移动软件有限公司 Display screen control method and device, terminal equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120235963A1 (en) * 2011-03-16 2012-09-20 Kyocera Corporation Electronic device, control method, and storage medium storing control program
CN106527658A (en) * 2016-10-24 2017-03-22 北京金山安全软件有限公司 Mobile terminal control method and device and mobile terminal
CN111373725A (en) * 2017-09-01 2020-07-03 深圳传音通讯有限公司 Screen-off control method and device for mobile terminal and computer storage medium
CN108388414A (en) * 2018-02-05 2018-08-10 广东欧珀移动通信有限公司 Go out screen control method and device, computer readable storage medium, the terminal of terminal
CN109981839A (en) * 2019-02-02 2019-07-05 华为技术有限公司 A kind of display methods and electronic equipment of the electronic equipment with flexible screen
CN111600998A (en) * 2020-05-21 2020-08-28 北京小米移动软件有限公司 Display screen control method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN117643110A (en) 2024-03-01

Similar Documents

Publication Publication Date Title
JP7005646B2 (en) Shooting method and terminal
JP6199510B2 (en) Method and apparatus for switching display modes
US20180284981A1 (en) Method and apparatus for screen capture processing
US20170344192A1 (en) Method and device for playing live videos
EP3575937A1 (en) Methods, electronic devices, and storage mediums for waking up an icon
EP3182716A1 (en) Method and device for video display
EP3786778A1 (en) Method and device for screen projection, terminal and storage medium
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
WO2017088260A1 (en) Sleep state detection method, apparatus, and system
US10824844B2 (en) Fingerprint acquisition method, apparatus and computer-readable storage medium
EP3361369B1 (en) Method and device for displaying time on mobile device
CN108073328B (en) Touch response method and device
US20160117088A1 (en) Method and device for displaying descriptive information
CN106547462B (en) Photographing control method and device and mobile terminal
CN111488098B (en) Method and device for adjusting parameters of touch screen, electronic equipment and storage medium
CN112799522A (en) Mobile terminal control method and device, mobile terminal and storage medium
WO2023240451A1 (en) Screen control method and apparatus, electronic device and storage medium
CN111176601B (en) Processing method and device
CN112905027A (en) Timing method and device, mobile terminal and storage medium
CN111766918A (en) Folding screen posture detection method and device, electronic equipment and computer readable storage medium
EP4053675A1 (en) Method and apparatus for controlling mobile terminal, and storage medium
WO2023245334A1 (en) Screen brightness adjustment method and apparatus, and device and storage medium
US20240094782A1 (en) Display control method and device, and storage medium
WO2023230829A1 (en) Touch detection method, apparatus, and storage medium
CN113518149B (en) Screen display method and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22946150

Country of ref document: EP

Kind code of ref document: A1